summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@firebase/logger/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/logger/dist
parent893c388d4e99442a36005e5971a87730623f946e (diff)
sdk, del
Diffstat (limited to 'frontend-old/node_modules/@firebase/logger/dist')
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/esm/index.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/esm/index.esm.js219
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/esm/index.esm.js.map1
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/esm/package.json1
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/esm/src/logger.d.ts96
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/esm/test/custom-logger.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/esm/test/logger.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/index.cjs.js225
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/index.cjs.js.map1
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/index.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/src/logger.d.ts96
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/test/custom-logger.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/logger/dist/test/logger.test.d.ts17
13 files changed, 0 insertions, 741 deletions
diff --git a/frontend-old/node_modules/@firebase/logger/dist/esm/index.d.ts b/frontend-old/node_modules/@firebase/logger/dist/esm/index.d.ts
deleted file mode 100644
index 35f2155..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/esm/index.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * @license
- * Copyright 2017 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 { setLogLevel, Logger, LogLevel, LogHandler, setUserLogHandler, LogCallback, LogLevelString, LogOptions } from './src/logger';
diff --git a/frontend-old/node_modules/@firebase/logger/dist/esm/index.esm.js b/frontend-old/node_modules/@firebase/logger/dist/esm/index.esm.js
deleted file mode 100644
index 078e952..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/esm/index.esm.js
+++ /dev/null
@@ -1,219 +0,0 @@
-/**
- * @license
- * Copyright 2017 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.
- */
-/**
- * A container for all of the Logger instances
- */
-const instances = [];
-/**
- * The JS SDK supports 5 log levels and also allows a user the ability to
- * silence the logs altogether.
- *
- * The order is a follows:
- * DEBUG < VERBOSE < INFO < WARN < ERROR
- *
- * All of the log types above the current log level will be captured (i.e. if
- * you set the log level to `INFO`, errors will still be logged, but `DEBUG` and
- * `VERBOSE` logs will not)
- */
-var LogLevel;
-(function (LogLevel) {
- LogLevel[LogLevel["DEBUG"] = 0] = "DEBUG";
- LogLevel[LogLevel["VERBOSE"] = 1] = "VERBOSE";
- LogLevel[LogLevel["INFO"] = 2] = "INFO";
- LogLevel[LogLevel["WARN"] = 3] = "WARN";
- LogLevel[LogLevel["ERROR"] = 4] = "ERROR";
- LogLevel[LogLevel["SILENT"] = 5] = "SILENT";
-})(LogLevel || (LogLevel = {}));
-const levelStringToEnum = {
- 'debug': LogLevel.DEBUG,
- 'verbose': LogLevel.VERBOSE,
- 'info': LogLevel.INFO,
- 'warn': LogLevel.WARN,
- 'error': LogLevel.ERROR,
- 'silent': LogLevel.SILENT
-};
-/**
- * The default log level
- */
-const defaultLogLevel = LogLevel.INFO;
-/**
- * By default, `console.debug` is not displayed in the developer console (in
- * chrome). To avoid forcing users to have to opt-in to these logs twice
- * (i.e. once for firebase, and once in the console), we are sending `DEBUG`
- * logs to the `console.log` function.
- */
-const ConsoleMethod = {
- [LogLevel.DEBUG]: 'log',
- [LogLevel.VERBOSE]: 'log',
- [LogLevel.INFO]: 'info',
- [LogLevel.WARN]: 'warn',
- [LogLevel.ERROR]: 'error'
-};
-/**
- * The default log handler will forward DEBUG, VERBOSE, INFO, WARN, and ERROR
- * messages on to their corresponding console counterparts (if the log method
- * is supported by the current log level)
- */
-const defaultLogHandler = (instance, logType, ...args) => {
- if (logType < instance.logLevel) {
- return;
- }
- const now = new Date().toISOString();
- const method = ConsoleMethod[logType];
- if (method) {
- console[method](`[${now}] ${instance.name}:`, ...args);
- }
- else {
- throw new Error(`Attempted to log a message with an invalid logType (value: ${logType})`);
- }
-};
-class Logger {
- /**
- * Gives you an instance of a Logger to capture messages according to
- * Firebase's logging scheme.
- *
- * @param name The name that the logs will be associated with
- */
- constructor(name) {
- this.name = name;
- /**
- * The log level of the given Logger instance.
- */
- this._logLevel = defaultLogLevel;
- /**
- * The main (internal) log handler for the Logger instance.
- * Can be set to a new function in internal package code but not by user.
- */
- this._logHandler = defaultLogHandler;
- /**
- * The optional, additional, user-defined log handler for the Logger instance.
- */
- this._userLogHandler = null;
- /**
- * Capture the current instance for later use
- */
- instances.push(this);
- }
- get logLevel() {
- return this._logLevel;
- }
- set logLevel(val) {
- if (!(val in LogLevel)) {
- throw new TypeError(`Invalid value "${val}" assigned to \`logLevel\``);
- }
- this._logLevel = val;
- }
- // Workaround for setter/getter having to be the same type.
- setLogLevel(val) {
- this._logLevel = typeof val === 'string' ? levelStringToEnum[val] : val;
- }
- get logHandler() {
- return this._logHandler;
- }
- set logHandler(val) {
- if (typeof val !== 'function') {
- throw new TypeError('Value assigned to `logHandler` must be a function');
- }
- this._logHandler = val;
- }
- get userLogHandler() {
- return this._userLogHandler;
- }
- set userLogHandler(val) {
- this._userLogHandler = val;
- }
- /**
- * The functions below are all based on the `console` interface
- */
- debug(...args) {
- this._userLogHandler && this._userLogHandler(this, LogLevel.DEBUG, ...args);
- this._logHandler(this, LogLevel.DEBUG, ...args);
- }
- log(...args) {
- this._userLogHandler &&
- this._userLogHandler(this, LogLevel.VERBOSE, ...args);
- this._logHandler(this, LogLevel.VERBOSE, ...args);
- }
- info(...args) {
- this._userLogHandler && this._userLogHandler(this, LogLevel.INFO, ...args);
- this._logHandler(this, LogLevel.INFO, ...args);
- }
- warn(...args) {
- this._userLogHandler && this._userLogHandler(this, LogLevel.WARN, ...args);
- this._logHandler(this, LogLevel.WARN, ...args);
- }
- error(...args) {
- this._userLogHandler && this._userLogHandler(this, LogLevel.ERROR, ...args);
- this._logHandler(this, LogLevel.ERROR, ...args);
- }
-}
-function setLogLevel(level) {
- instances.forEach(inst => {
- inst.setLogLevel(level);
- });
-}
-function setUserLogHandler(logCallback, options) {
- for (const instance of instances) {
- let customLogLevel = null;
- if (options && options.level) {
- customLogLevel = levelStringToEnum[options.level];
- }
- if (logCallback === null) {
- instance.userLogHandler = null;
- }
- else {
- instance.userLogHandler = (instance, level, ...args) => {
- const message = args
- .map(arg => {
- if (arg == null) {
- return null;
- }
- else if (typeof arg === 'string') {
- return arg;
- }
- else if (typeof arg === 'number' || typeof arg === 'boolean') {
- return arg.toString();
- }
- else if (arg instanceof Error) {
- return arg.message;
- }
- else {
- try {
- return JSON.stringify(arg);
- }
- catch (ignored) {
- return null;
- }
- }
- })
- .filter(arg => arg)
- .join(' ');
- if (level >= (customLogLevel ?? instance.logLevel)) {
- logCallback({
- level: LogLevel[level].toLowerCase(),
- message,
- args,
- type: instance.name
- });
- }
- };
- }
- }
-}
-
-export { LogLevel, Logger, setLogLevel, setUserLogHandler };
-//# sourceMappingURL=index.esm.js.map
diff --git a/frontend-old/node_modules/@firebase/logger/dist/esm/index.esm.js.map b/frontend-old/node_modules/@firebase/logger/dist/esm/index.esm.js.map
deleted file mode 100644
index cac2e41..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/esm/index.esm.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.esm.js","sources":["../../src/logger.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2017 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\nexport type LogLevelString =\n | 'debug'\n | 'verbose'\n | 'info'\n | 'warn'\n | 'error'\n | 'silent';\n\nexport interface LogOptions {\n level: LogLevelString;\n}\n\nexport type LogCallback = (callbackParams: LogCallbackParams) => void;\n\nexport interface LogCallbackParams {\n level: LogLevelString;\n message: string;\n args: unknown[];\n type: string;\n}\n\n/**\n * A container for all of the Logger instances\n */\nexport const instances: Logger[] = [];\n\n/**\n * The JS SDK supports 5 log levels and also allows a user the ability to\n * silence the logs altogether.\n *\n * The order is a follows:\n * DEBUG < VERBOSE < INFO < WARN < ERROR\n *\n * All of the log types above the current log level will be captured (i.e. if\n * you set the log level to `INFO`, errors will still be logged, but `DEBUG` and\n * `VERBOSE` logs will not)\n */\nexport enum LogLevel {\n DEBUG,\n VERBOSE,\n INFO,\n WARN,\n ERROR,\n SILENT\n}\n\nconst levelStringToEnum: { [key in LogLevelString]: LogLevel } = {\n 'debug': LogLevel.DEBUG,\n 'verbose': LogLevel.VERBOSE,\n 'info': LogLevel.INFO,\n 'warn': LogLevel.WARN,\n 'error': LogLevel.ERROR,\n 'silent': LogLevel.SILENT\n};\n\n/**\n * The default log level\n */\nconst defaultLogLevel: LogLevel = LogLevel.INFO;\n\n/**\n * We allow users the ability to pass their own log handler. We will pass the\n * type of log, the current log level, and any other arguments passed (i.e. the\n * messages that the user wants to log) to this function.\n */\nexport type LogHandler = (\n loggerInstance: Logger,\n logType: LogLevel,\n ...args: unknown[]\n) => void;\n\n/**\n * By default, `console.debug` is not displayed in the developer console (in\n * chrome). To avoid forcing users to have to opt-in to these logs twice\n * (i.e. once for firebase, and once in the console), we are sending `DEBUG`\n * logs to the `console.log` function.\n */\nconst ConsoleMethod = {\n [LogLevel.DEBUG]: 'log',\n [LogLevel.VERBOSE]: 'log',\n [LogLevel.INFO]: 'info',\n [LogLevel.WARN]: 'warn',\n [LogLevel.ERROR]: 'error'\n};\n\n/**\n * The default log handler will forward DEBUG, VERBOSE, INFO, WARN, and ERROR\n * messages on to their corresponding console counterparts (if the log method\n * is supported by the current log level)\n */\nconst defaultLogHandler: LogHandler = (instance, logType, ...args): void => {\n if (logType < instance.logLevel) {\n return;\n }\n const now = new Date().toISOString();\n const method = ConsoleMethod[logType as keyof typeof ConsoleMethod];\n if (method) {\n console[method as 'log' | 'info' | 'warn' | 'error'](\n `[${now}] ${instance.name}:`,\n ...args\n );\n } else {\n throw new Error(\n `Attempted to log a message with an invalid logType (value: ${logType})`\n );\n }\n};\n\nexport class Logger {\n /**\n * Gives you an instance of a Logger to capture messages according to\n * Firebase's logging scheme.\n *\n * @param name The name that the logs will be associated with\n */\n constructor(public name: string) {\n /**\n * Capture the current instance for later use\n */\n instances.push(this);\n }\n\n /**\n * The log level of the given Logger instance.\n */\n private _logLevel = defaultLogLevel;\n\n get logLevel(): LogLevel {\n return this._logLevel;\n }\n\n set logLevel(val: LogLevel) {\n if (!(val in LogLevel)) {\n throw new TypeError(`Invalid value \"${val}\" assigned to \\`logLevel\\``);\n }\n this._logLevel = val;\n }\n\n // Workaround for setter/getter having to be the same type.\n setLogLevel(val: LogLevel | LogLevelString): void {\n this._logLevel = typeof val === 'string' ? levelStringToEnum[val] : val;\n }\n\n /**\n * The main (internal) log handler for the Logger instance.\n * Can be set to a new function in internal package code but not by user.\n */\n private _logHandler: LogHandler = defaultLogHandler;\n get logHandler(): LogHandler {\n return this._logHandler;\n }\n set logHandler(val: LogHandler) {\n if (typeof val !== 'function') {\n throw new TypeError('Value assigned to `logHandler` must be a function');\n }\n this._logHandler = val;\n }\n\n /**\n * The optional, additional, user-defined log handler for the Logger instance.\n */\n private _userLogHandler: LogHandler | null = null;\n get userLogHandler(): LogHandler | null {\n return this._userLogHandler;\n }\n set userLogHandler(val: LogHandler | null) {\n this._userLogHandler = val;\n }\n\n /**\n * The functions below are all based on the `console` interface\n */\n\n debug(...args: unknown[]): void {\n this._userLogHandler && this._userLogHandler(this, LogLevel.DEBUG, ...args);\n this._logHandler(this, LogLevel.DEBUG, ...args);\n }\n log(...args: unknown[]): void {\n this._userLogHandler &&\n this._userLogHandler(this, LogLevel.VERBOSE, ...args);\n this._logHandler(this, LogLevel.VERBOSE, ...args);\n }\n info(...args: unknown[]): void {\n this._userLogHandler && this._userLogHandler(this, LogLevel.INFO, ...args);\n this._logHandler(this, LogLevel.INFO, ...args);\n }\n warn(...args: unknown[]): void {\n this._userLogHandler && this._userLogHandler(this, LogLevel.WARN, ...args);\n this._logHandler(this, LogLevel.WARN, ...args);\n }\n error(...args: unknown[]): void {\n this._userLogHandler && this._userLogHandler(this, LogLevel.ERROR, ...args);\n this._logHandler(this, LogLevel.ERROR, ...args);\n }\n}\n\nexport function setLogLevel(level: LogLevelString | LogLevel): void {\n instances.forEach(inst => {\n inst.setLogLevel(level);\n });\n}\n\nexport function setUserLogHandler(\n logCallback: LogCallback | null,\n options?: LogOptions\n): void {\n for (const instance of instances) {\n let customLogLevel: LogLevel | null = null;\n if (options && options.level) {\n customLogLevel = levelStringToEnum[options.level];\n }\n if (logCallback === null) {\n instance.userLogHandler = null;\n } else {\n instance.userLogHandler = (\n instance: Logger,\n level: LogLevel,\n ...args: unknown[]\n ) => {\n const message = args\n .map(arg => {\n if (arg == null) {\n return null;\n } else if (typeof arg === 'string') {\n return arg;\n } else if (typeof arg === 'number' || typeof arg === 'boolean') {\n return arg.toString();\n } else if (arg instanceof Error) {\n return arg.message;\n } else {\n try {\n return JSON.stringify(arg);\n } catch (ignored) {\n return null;\n }\n }\n })\n .filter(arg => arg)\n .join(' ');\n if (level >= (customLogLevel ?? instance.logLevel)) {\n logCallback({\n level: LogLevel[level].toLowerCase() as LogLevelString,\n message,\n args,\n type: instance.name\n });\n }\n };\n }\n }\n}\n"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;AAeG;AAuBH;;AAEG;AACI,MAAM,SAAS,GAAa,EAAE,CAAC;AAEtC;;;;;;;;;;AAUG;IACS,SAOX;AAPD,CAAA,UAAY,QAAQ,EAAA;AAClB,IAAA,QAAA,CAAA,QAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAK,CAAA;AACL,IAAA,QAAA,CAAA,QAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO,CAAA;AACP,IAAA,QAAA,CAAA,QAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAI,CAAA;AACJ,IAAA,QAAA,CAAA,QAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAI,CAAA;AACJ,IAAA,QAAA,CAAA,QAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAK,CAAA;AACL,IAAA,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAM,CAAA;AACR,CAAC,EAPW,QAAQ,KAAR,QAAQ,GAOnB,EAAA,CAAA,CAAA,CAAA;AAED,MA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,CAAC,GAAG,CAAC,CAAC;yBAC5B;wBAAC,OAAO,OAAO,EAAE;AAChB,4BAAA,OAAO,IAAI,CAAC;yBACb;qBACF;AACH,iBAAC,CAAC;AACD,qBAAA,MAAM,CAAC,GAAG,IAAI,GAAG,CAAC;qBAClB,IAAI,CAAC,GAAG,CAAC,CAAC;gBACb,IAAI,KAAK,KAAK,cAAc,IAAI,QAAQ,CAAC,QAAQ,CAAC,EAAE;AAClD,oBAAA,WAAW,CAAC;AACV,wBAAA,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,WAAW,EAAoB;wBACtD,OAAO;wBACP,IAAI;wBACJ,IAAI,EAAE,QAAQ,CAAC,IAAI;AACpB,qBAAA,CAAC,CAAC;iBACJ;AACH,aAAC,CAAC;SACH;KACF;AACH;;;;"} \ No newline at end of file
diff --git a/frontend-old/node_modules/@firebase/logger/dist/esm/package.json b/frontend-old/node_modules/@firebase/logger/dist/esm/package.json
deleted file mode 100644
index 7c34deb..0000000
--- a/frontend-old/node_modules/@firebase/logger/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/logger/dist/esm/src/logger.d.ts b/frontend-old/node_modules/@firebase/logger/dist/esm/src/logger.d.ts
deleted file mode 100644
index a2df808..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/esm/src/logger.d.ts
+++ /dev/null
@@ -1,96 +0,0 @@
-/**
- * @license
- * Copyright 2017 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 type LogLevelString = 'debug' | 'verbose' | 'info' | 'warn' | 'error' | 'silent';
-export interface LogOptions {
- level: LogLevelString;
-}
-export type LogCallback = (callbackParams: LogCallbackParams) => void;
-export interface LogCallbackParams {
- level: LogLevelString;
- message: string;
- args: unknown[];
- type: string;
-}
-/**
- * A container for all of the Logger instances
- */
-export declare const instances: Logger[];
-/**
- * The JS SDK supports 5 log levels and also allows a user the ability to
- * silence the logs altogether.
- *
- * The order is a follows:
- * DEBUG < VERBOSE < INFO < WARN < ERROR
- *
- * All of the log types above the current log level will be captured (i.e. if
- * you set the log level to `INFO`, errors will still be logged, but `DEBUG` and
- * `VERBOSE` logs will not)
- */
-export declare enum LogLevel {
- DEBUG = 0,
- VERBOSE = 1,
- INFO = 2,
- WARN = 3,
- ERROR = 4,
- SILENT = 5
-}
-/**
- * We allow users the ability to pass their own log handler. We will pass the
- * type of log, the current log level, and any other arguments passed (i.e. the
- * messages that the user wants to log) to this function.
- */
-export type LogHandler = (loggerInstance: Logger, logType: LogLevel, ...args: unknown[]) => void;
-export declare class Logger {
- name: string;
- /**
- * Gives you an instance of a Logger to capture messages according to
- * Firebase's logging scheme.
- *
- * @param name The name that the logs will be associated with
- */
- constructor(name: string);
- /**
- * The log level of the given Logger instance.
- */
- private _logLevel;
- get logLevel(): LogLevel;
- set logLevel(val: LogLevel);
- setLogLevel(val: LogLevel | LogLevelString): void;
- /**
- * The main (internal) log handler for the Logger instance.
- * Can be set to a new function in internal package code but not by user.
- */
- private _logHandler;
- get logHandler(): LogHandler;
- set logHandler(val: LogHandler);
- /**
- * The optional, additional, user-defined log handler for the Logger instance.
- */
- private _userLogHandler;
- get userLogHandler(): LogHandler | null;
- set userLogHandler(val: LogHandler | null);
- /**
- * The functions below are all based on the `console` interface
- */
- debug(...args: unknown[]): void;
- log(...args: unknown[]): void;
- info(...args: unknown[]): void;
- warn(...args: unknown[]): void;
- error(...args: unknown[]): void;
-}
-export declare function setLogLevel(level: LogLevelString | LogLevel): void;
-export declare function setUserLogHandler(logCallback: LogCallback | null, options?: LogOptions): void;
diff --git a/frontend-old/node_modules/@firebase/logger/dist/esm/test/custom-logger.test.d.ts b/frontend-old/node_modules/@firebase/logger/dist/esm/test/custom-logger.test.d.ts
deleted file mode 100644
index c53048a..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/esm/test/custom-logger.test.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * @license
- * Copyright 2018 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/logger/dist/esm/test/logger.test.d.ts b/frontend-old/node_modules/@firebase/logger/dist/esm/test/logger.test.d.ts
deleted file mode 100644
index c53048a..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/esm/test/logger.test.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * @license
- * Copyright 2018 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/logger/dist/index.cjs.js b/frontend-old/node_modules/@firebase/logger/dist/index.cjs.js
deleted file mode 100644
index 30dbcd2..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/index.cjs.js
+++ /dev/null
@@ -1,225 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, '__esModule', { value: true });
-
-/**
- * @license
- * Copyright 2017 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.
- */
-/**
- * A container for all of the Logger instances
- */
-const instances = [];
-/**
- * The JS SDK supports 5 log levels and also allows a user the ability to
- * silence the logs altogether.
- *
- * The order is a follows:
- * DEBUG < VERBOSE < INFO < WARN < ERROR
- *
- * All of the log types above the current log level will be captured (i.e. if
- * you set the log level to `INFO`, errors will still be logged, but `DEBUG` and
- * `VERBOSE` logs will not)
- */
-exports.LogLevel = void 0;
-(function (LogLevel) {
- LogLevel[LogLevel["DEBUG"] = 0] = "DEBUG";
- LogLevel[LogLevel["VERBOSE"] = 1] = "VERBOSE";
- LogLevel[LogLevel["INFO"] = 2] = "INFO";
- LogLevel[LogLevel["WARN"] = 3] = "WARN";
- LogLevel[LogLevel["ERROR"] = 4] = "ERROR";
- LogLevel[LogLevel["SILENT"] = 5] = "SILENT";
-})(exports.LogLevel || (exports.LogLevel = {}));
-const levelStringToEnum = {
- 'debug': exports.LogLevel.DEBUG,
- 'verbose': exports.LogLevel.VERBOSE,
- 'info': exports.LogLevel.INFO,
- 'warn': exports.LogLevel.WARN,
- 'error': exports.LogLevel.ERROR,
- 'silent': exports.LogLevel.SILENT
-};
-/**
- * The default log level
- */
-const defaultLogLevel = exports.LogLevel.INFO;
-/**
- * By default, `console.debug` is not displayed in the developer console (in
- * chrome). To avoid forcing users to have to opt-in to these logs twice
- * (i.e. once for firebase, and once in the console), we are sending `DEBUG`
- * logs to the `console.log` function.
- */
-const ConsoleMethod = {
- [exports.LogLevel.DEBUG]: 'log',
- [exports.LogLevel.VERBOSE]: 'log',
- [exports.LogLevel.INFO]: 'info',
- [exports.LogLevel.WARN]: 'warn',
- [exports.LogLevel.ERROR]: 'error'
-};
-/**
- * The default log handler will forward DEBUG, VERBOSE, INFO, WARN, and ERROR
- * messages on to their corresponding console counterparts (if the log method
- * is supported by the current log level)
- */
-const defaultLogHandler = (instance, logType, ...args) => {
- if (logType < instance.logLevel) {
- return;
- }
- const now = new Date().toISOString();
- const method = ConsoleMethod[logType];
- if (method) {
- console[method](`[${now}] ${instance.name}:`, ...args);
- }
- else {
- throw new Error(`Attempted to log a message with an invalid logType (value: ${logType})`);
- }
-};
-class Logger {
- /**
- * Gives you an instance of a Logger to capture messages according to
- * Firebase's logging scheme.
- *
- * @param name The name that the logs will be associated with
- */
- constructor(name) {
- this.name = name;
- /**
- * The log level of the given Logger instance.
- */
- this._logLevel = defaultLogLevel;
- /**
- * The main (internal) log handler for the Logger instance.
- * Can be set to a new function in internal package code but not by user.
- */
- this._logHandler = defaultLogHandler;
- /**
- * The optional, additional, user-defined log handler for the Logger instance.
- */
- this._userLogHandler = null;
- /**
- * Capture the current instance for later use
- */
- instances.push(this);
- }
- get logLevel() {
- return this._logLevel;
- }
- set logLevel(val) {
- if (!(val in exports.LogLevel)) {
- throw new TypeError(`Invalid value "${val}" assigned to \`logLevel\``);
- }
- this._logLevel = val;
- }
- // Workaround for setter/getter having to be the same type.
- setLogLevel(val) {
- this._logLevel = typeof val === 'string' ? levelStringToEnum[val] : val;
- }
- get logHandler() {
- return this._logHandler;
- }
- set logHandler(val) {
- if (typeof val !== 'function') {
- throw new TypeError('Value assigned to `logHandler` must be a function');
- }
- this._logHandler = val;
- }
- get userLogHandler() {
- return this._userLogHandler;
- }
- set userLogHandler(val) {
- this._userLogHandler = val;
- }
- /**
- * The functions below are all based on the `console` interface
- */
- debug(...args) {
- this._userLogHandler && this._userLogHandler(this, exports.LogLevel.DEBUG, ...args);
- this._logHandler(this, exports.LogLevel.DEBUG, ...args);
- }
- log(...args) {
- this._userLogHandler &&
- this._userLogHandler(this, exports.LogLevel.VERBOSE, ...args);
- this._logHandler(this, exports.LogLevel.VERBOSE, ...args);
- }
- info(...args) {
- this._userLogHandler && this._userLogHandler(this, exports.LogLevel.INFO, ...args);
- this._logHandler(this, exports.LogLevel.INFO, ...args);
- }
- warn(...args) {
- this._userLogHandler && this._userLogHandler(this, exports.LogLevel.WARN, ...args);
- this._logHandler(this, exports.LogLevel.WARN, ...args);
- }
- error(...args) {
- this._userLogHandler && this._userLogHandler(this, exports.LogLevel.ERROR, ...args);
- this._logHandler(this, exports.LogLevel.ERROR, ...args);
- }
-}
-function setLogLevel(level) {
- instances.forEach(inst => {
- inst.setLogLevel(level);
- });
-}
-function setUserLogHandler(logCallback, options) {
- for (const instance of instances) {
- let customLogLevel = null;
- if (options && options.level) {
- customLogLevel = levelStringToEnum[options.level];
- }
- if (logCallback === null) {
- instance.userLogHandler = null;
- }
- else {
- instance.userLogHandler = (instance, level, ...args) => {
- const message = args
- .map(arg => {
- if (arg == null) {
- return null;
- }
- else if (typeof arg === 'string') {
- return arg;
- }
- else if (typeof arg === 'number' || typeof arg === 'boolean') {
- return arg.toString();
- }
- else if (arg instanceof Error) {
- return arg.message;
- }
- else {
- try {
- return JSON.stringify(arg);
- }
- catch (ignored) {
- return null;
- }
- }
- })
- .filter(arg => arg)
- .join(' ');
- if (level >= (customLogLevel ?? instance.logLevel)) {
- logCallback({
- level: exports.LogLevel[level].toLowerCase(),
- message,
- args,
- type: instance.name
- });
- }
- };
- }
- }
-}
-
-exports.Logger = Logger;
-exports.setLogLevel = setLogLevel;
-exports.setUserLogHandler = setUserLogHandler;
-//# sourceMappingURL=index.cjs.js.map
diff --git a/frontend-old/node_modules/@firebase/logger/dist/index.cjs.js.map b/frontend-old/node_modules/@firebase/logger/dist/index.cjs.js.map
deleted file mode 100644
index c94b470..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/index.cjs.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.cjs.js","sources":["../src/logger.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2017 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\nexport type LogLevelString =\n | 'debug'\n | 'verbose'\n | 'info'\n | 'warn'\n | 'error'\n | 'silent';\n\nexport interface LogOptions {\n level: LogLevelString;\n}\n\nexport type LogCallback = (callbackParams: LogCallbackParams) => void;\n\nexport interface LogCallbackParams {\n level: LogLevelString;\n message: string;\n args: unknown[];\n type: string;\n}\n\n/**\n * A container for all of the Logger instances\n */\nexport const instances: Logger[] = [];\n\n/**\n * The JS SDK supports 5 log levels and also allows a user the ability to\n * silence the logs altogether.\n *\n * The order is a follows:\n * DEBUG < VERBOSE < INFO < WARN < ERROR\n *\n * All of the log types above the current log level will be captured (i.e. if\n * you set the log level to `INFO`, errors will still be logged, but `DEBUG` and\n * `VERBOSE` logs will not)\n */\nexport enum LogLevel {\n DEBUG,\n VERBOSE,\n INFO,\n WARN,\n ERROR,\n SILENT\n}\n\nconst levelStringToEnum: { [key in LogLevelString]: LogLevel } = {\n 'debug': LogLevel.DEBUG,\n 'verbose': LogLevel.VERBOSE,\n 'info': LogLevel.INFO,\n 'warn': LogLevel.WARN,\n 'error': LogLevel.ERROR,\n 'silent': LogLevel.SILENT\n};\n\n/**\n * The default log level\n */\nconst defaultLogLevel: LogLevel = LogLevel.INFO;\n\n/**\n * We allow users the ability to pass their own log handler. We will pass the\n * type of log, the current log level, and any other arguments passed (i.e. the\n * messages that the user wants to log) to this function.\n */\nexport type LogHandler = (\n loggerInstance: Logger,\n logType: LogLevel,\n ...args: unknown[]\n) => void;\n\n/**\n * By default, `console.debug` is not displayed in the developer console (in\n * chrome). To avoid forcing users to have to opt-in to these logs twice\n * (i.e. once for firebase, and once in the console), we are sending `DEBUG`\n * logs to the `console.log` function.\n */\nconst ConsoleMethod = {\n [LogLevel.DEBUG]: 'log',\n [LogLevel.VERBOSE]: 'log',\n [LogLevel.INFO]: 'info',\n [LogLevel.WARN]: 'warn',\n [LogLevel.ERROR]: 'error'\n};\n\n/**\n * The default log handler will forward DEBUG, VERBOSE, INFO, WARN, and ERROR\n * messages on to their corresponding console counterparts (if the log method\n * is supported by the current log level)\n */\nconst defaultLogHandler: LogHandler = (instance, logType, ...args): void => {\n if (logType < instance.logLevel) {\n return;\n }\n const now = new Date().toISOString();\n const method = ConsoleMethod[logType as keyof typeof ConsoleMethod];\n if (method) {\n console[method as 'log' | 'info' | 'warn' | 'error'](\n `[${now}] ${instance.name}:`,\n ...args\n );\n } else {\n throw new Error(\n `Attempted to log a message with an invalid logType (value: ${logType})`\n );\n }\n};\n\nexport class Logger {\n /**\n * Gives you an instance of a Logger to capture messages according to\n * Firebase's logging scheme.\n *\n * @param name The name that the logs will be associated with\n */\n constructor(public name: string) {\n /**\n * Capture the current instance for later use\n */\n instances.push(this);\n }\n\n /**\n * The log level of the given Logger instance.\n */\n private _logLevel = defaultLogLevel;\n\n get logLevel(): LogLevel {\n return this._logLevel;\n }\n\n set logLevel(val: LogLevel) {\n if (!(val in LogLevel)) {\n throw new TypeError(`Invalid value \"${val}\" assigned to \\`logLevel\\``);\n }\n this._logLevel = val;\n }\n\n // Workaround for setter/getter having to be the same type.\n setLogLevel(val: LogLevel | LogLevelString): void {\n this._logLevel = typeof val === 'string' ? levelStringToEnum[val] : val;\n }\n\n /**\n * The main (internal) log handler for the Logger instance.\n * Can be set to a new function in internal package code but not by user.\n */\n private _logHandler: LogHandler = defaultLogHandler;\n get logHandler(): LogHandler {\n return this._logHandler;\n }\n set logHandler(val: LogHandler) {\n if (typeof val !== 'function') {\n throw new TypeError('Value assigned to `logHandler` must be a function');\n }\n this._logHandler = val;\n }\n\n /**\n * The optional, additional, user-defined log handler for the Logger instance.\n */\n private _userLogHandler: LogHandler | null = null;\n get userLogHandler(): LogHandler | null {\n return this._userLogHandler;\n }\n set userLogHandler(val: LogHandler | null) {\n this._userLogHandler = val;\n }\n\n /**\n * The functions below are all based on the `console` interface\n */\n\n debug(...args: unknown[]): void {\n this._userLogHandler && this._userLogHandler(this, LogLevel.DEBUG, ...args);\n this._logHandler(this, LogLevel.DEBUG, ...args);\n }\n log(...args: unknown[]): void {\n this._userLogHandler &&\n this._userLogHandler(this, LogLevel.VERBOSE, ...args);\n this._logHandler(this, LogLevel.VERBOSE, ...args);\n }\n info(...args: unknown[]): void {\n this._userLogHandler && this._userLogHandler(this, LogLevel.INFO, ...args);\n this._logHandler(this, LogLevel.INFO, ...args);\n }\n warn(...args: unknown[]): void {\n this._userLogHandler && this._userLogHandler(this, LogLevel.WARN, ...args);\n this._logHandler(this, LogLevel.WARN, ...args);\n }\n error(...args: unknown[]): void {\n this._userLogHandler && this._userLogHandler(this, LogLevel.ERROR, ...args);\n this._logHandler(this, LogLevel.ERROR, ...args);\n }\n}\n\nexport function setLogLevel(level: LogLevelString | LogLevel): void {\n instances.forEach(inst => {\n inst.setLogLevel(level);\n });\n}\n\nexport function setUserLogHandler(\n logCallback: LogCallback | null,\n options?: LogOptions\n): void {\n for (const instance of instances) {\n let customLogLevel: LogLevel | null = null;\n if (options && options.level) {\n customLogLevel = levelStringToEnum[options.level];\n }\n if (logCallback === null) {\n instance.userLogHandler = null;\n } else {\n instance.userLogHandler = (\n instance: Logger,\n level: LogLevel,\n ...args: unknown[]\n ) => {\n const message = args\n .map(arg => {\n if (arg == null) {\n return null;\n } else if (typeof arg === 'string') {\n return arg;\n } else if (typeof arg === 'number' || typeof arg === 'boolean') {\n return arg.toString();\n } else if (arg instanceof Error) {\n return arg.message;\n } else {\n try {\n return JSON.stringify(arg);\n } catch (ignored) {\n return null;\n }\n }\n })\n .filter(arg => arg)\n .join(' ');\n if (level >= (customLogLevel ?? instance.logLevel)) {\n log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AC,CAAC,WAAW,EAAoB;wBACtD,OAAO;wBACP,IAAI;wBACJ,IAAI,EAAE,QAAQ,CAAC,IAAI;AACpB,qBAAA,CAAC,CAAC;iBACJ;AACH,aAAC,CAAC;SACH;KACF;AACH;;;;;;"} \ No newline at end of file
diff --git a/frontend-old/node_modules/@firebase/logger/dist/index.d.ts b/frontend-old/node_modules/@firebase/logger/dist/index.d.ts
deleted file mode 100644
index 35f2155..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/index.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * @license
- * Copyright 2017 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 { setLogLevel, Logger, LogLevel, LogHandler, setUserLogHandler, LogCallback, LogLevelString, LogOptions } from './src/logger';
diff --git a/frontend-old/node_modules/@firebase/logger/dist/src/logger.d.ts b/frontend-old/node_modules/@firebase/logger/dist/src/logger.d.ts
deleted file mode 100644
index a2df808..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/src/logger.d.ts
+++ /dev/null
@@ -1,96 +0,0 @@
-/**
- * @license
- * Copyright 2017 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 type LogLevelString = 'debug' | 'verbose' | 'info' | 'warn' | 'error' | 'silent';
-export interface LogOptions {
- level: LogLevelString;
-}
-export type LogCallback = (callbackParams: LogCallbackParams) => void;
-export interface LogCallbackParams {
- level: LogLevelString;
- message: string;
- args: unknown[];
- type: string;
-}
-/**
- * A container for all of the Logger instances
- */
-export declare const instances: Logger[];
-/**
- * The JS SDK supports 5 log levels and also allows a user the ability to
- * silence the logs altogether.
- *
- * The order is a follows:
- * DEBUG < VERBOSE < INFO < WARN < ERROR
- *
- * All of the log types above the current log level will be captured (i.e. if
- * you set the log level to `INFO`, errors will still be logged, but `DEBUG` and
- * `VERBOSE` logs will not)
- */
-export declare enum LogLevel {
- DEBUG = 0,
- VERBOSE = 1,
- INFO = 2,
- WARN = 3,
- ERROR = 4,
- SILENT = 5
-}
-/**
- * We allow users the ability to pass their own log handler. We will pass the
- * type of log, the current log level, and any other arguments passed (i.e. the
- * messages that the user wants to log) to this function.
- */
-export type LogHandler = (loggerInstance: Logger, logType: LogLevel, ...args: unknown[]) => void;
-export declare class Logger {
- name: string;
- /**
- * Gives you an instance of a Logger to capture messages according to
- * Firebase's logging scheme.
- *
- * @param name The name that the logs will be associated with
- */
- constructor(name: string);
- /**
- * The log level of the given Logger instance.
- */
- private _logLevel;
- get logLevel(): LogLevel;
- set logLevel(val: LogLevel);
- setLogLevel(val: LogLevel | LogLevelString): void;
- /**
- * The main (internal) log handler for the Logger instance.
- * Can be set to a new function in internal package code but not by user.
- */
- private _logHandler;
- get logHandler(): LogHandler;
- set logHandler(val: LogHandler);
- /**
- * The optional, additional, user-defined log handler for the Logger instance.
- */
- private _userLogHandler;
- get userLogHandler(): LogHandler | null;
- set userLogHandler(val: LogHandler | null);
- /**
- * The functions below are all based on the `console` interface
- */
- debug(...args: unknown[]): void;
- log(...args: unknown[]): void;
- info(...args: unknown[]): void;
- warn(...args: unknown[]): void;
- error(...args: unknown[]): void;
-}
-export declare function setLogLevel(level: LogLevelString | LogLevel): void;
-export declare function setUserLogHandler(logCallback: LogCallback | null, options?: LogOptions): void;
diff --git a/frontend-old/node_modules/@firebase/logger/dist/test/custom-logger.test.d.ts b/frontend-old/node_modules/@firebase/logger/dist/test/custom-logger.test.d.ts
deleted file mode 100644
index c53048a..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/test/custom-logger.test.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * @license
- * Copyright 2018 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/logger/dist/test/logger.test.d.ts b/frontend-old/node_modules/@firebase/logger/dist/test/logger.test.d.ts
deleted file mode 100644
index c53048a..0000000
--- a/frontend-old/node_modules/@firebase/logger/dist/test/logger.test.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * @license
- * Copyright 2018 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 {};