summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@firebase/performance-compat
diff options
context:
space:
mode:
Diffstat (limited to 'frontend-old/node_modules/@firebase/performance-compat')
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/README.md5
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/esm/index.esm.js73
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/esm/index.esm.js.map1
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/esm/package.json1
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/index.d.ts27
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/performance.d.ts29
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/performance.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/esm/test/setup.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/esm/test/util.d.ts21
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/index.cjs.js79
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/index.cjs.js.map1
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/src/index.d.ts35
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/src/performance.d.ts29
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/src/performance.test.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/test/setup.d.ts17
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/dist/test/util.d.ts21
-rw-r--r--frontend-old/node_modules/@firebase/performance-compat/package.json71
17 files changed, 461 insertions, 0 deletions
diff --git a/frontend-old/node_modules/@firebase/performance-compat/README.md b/frontend-old/node_modules/@firebase/performance-compat/README.md
new file mode 100644
index 0000000..eb4da06
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/README.md
@@ -0,0 +1,5 @@
+# @firebase/performance-compat
+
+This is the compat package that recreates the v8 APIs.
+
+**This package is not intended for direct usage, and should only be used via the officially supported [firebase](https://www.npmjs.com/package/firebase) package.**
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/esm/index.esm.js b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/index.esm.js
new file mode 100644
index 0000000..a850445
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/index.esm.js
@@ -0,0 +1,73 @@
+import firebase from '@firebase/app-compat';
+import { Component } from '@firebase/component';
+import { trace } from '@firebase/performance';
+
+/**
+ * @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.
+ */
+class PerformanceCompatImpl {
+ constructor(app, _delegate) {
+ this.app = app;
+ this._delegate = _delegate;
+ }
+ get instrumentationEnabled() {
+ return this._delegate.instrumentationEnabled;
+ }
+ set instrumentationEnabled(val) {
+ this._delegate.instrumentationEnabled = val;
+ }
+ get dataCollectionEnabled() {
+ return this._delegate.dataCollectionEnabled;
+ }
+ set dataCollectionEnabled(val) {
+ this._delegate.dataCollectionEnabled = val;
+ }
+ trace(traceName) {
+ return trace(this._delegate, traceName);
+ }
+}
+
+const name = "@firebase/performance-compat";
+const version = "0.2.22";
+
+/**
+ * @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 registerPerformanceCompat(firebaseInstance) {
+ firebaseInstance.INTERNAL.registerComponent(new Component('performance-compat', performanceFactory, "PUBLIC" /* ComponentType.PUBLIC */));
+ firebaseInstance.registerVersion(name, version);
+}
+function performanceFactory(container) {
+ const app = container.getProvider('app-compat').getImmediate();
+ // The following call will always succeed.
+ const performance = container.getProvider('performance').getImmediate();
+ return new PerformanceCompatImpl(app, performance);
+}
+registerPerformanceCompat(firebase);
+//# sourceMappingURL=index.esm.js.map
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/esm/index.esm.js.map b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/index.esm.js.map
new file mode 100644
index 0000000..c942a08
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/index.esm.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.esm.js","sources":["../../src/performance.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 trace,\n FirebasePerformance,\n // The PerformanceTrace type has not changed between modular and non-modular packages.\n PerformanceTrace\n} from '@firebase/performance';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\nimport { FirebaseApp, _FirebaseService } from '@firebase/app-compat';\n\nexport class PerformanceCompatImpl\n implements FirebasePerformanceCompat, _FirebaseService\n{\n constructor(\n public app: FirebaseApp,\n readonly _delegate: FirebasePerformance\n ) {}\n\n get instrumentationEnabled(): boolean {\n return this._delegate.instrumentationEnabled;\n }\n\n set instrumentationEnabled(val: boolean) {\n this._delegate.instrumentationEnabled = val;\n }\n\n get dataCollectionEnabled(): boolean {\n return this._delegate.dataCollectionEnabled;\n }\n\n set dataCollectionEnabled(val: boolean) {\n this._delegate.dataCollectionEnabled = val;\n }\n\n trace(traceName: string): PerformanceTrace {\n return trace(this._delegate, traceName);\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 firebase, { _FirebaseNamespace } from '@firebase/app-compat';\nimport {\n Component,\n ComponentContainer,\n ComponentType\n} from '@firebase/component';\nimport { PerformanceCompatImpl } from './performance';\nimport { name as packageName, version } from '../package.json';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\n\nfunction registerPerformanceCompat(firebaseInstance: _FirebaseNamespace): void {\n firebaseInstance.INTERNAL.registerComponent(\n new Component(\n 'performance-compat',\n performanceFactory,\n ComponentType.PUBLIC\n )\n );\n\n firebaseInstance.registerVersion(packageName, version);\n}\n\nfunction performanceFactory(\n container: ComponentContainer\n): PerformanceCompatImpl {\n const app = container.getProvider('app-compat').getImmediate();\n // The following call will always succeed.\n const performance = container.getProvider('performance').getImmediate();\n\n return new PerformanceCompatImpl(app, performance);\n}\n\nregisterPerformanceCompat(firebase as _FirebaseNamespace);\n\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n performance: {\n (app?: FirebaseApp): FirebasePerformanceCompat;\n };\n }\n interface FirebaseApp {\n performance(): FirebasePerformanceCompat;\n }\n}\n"],"names":["packageName"],"mappings":";;;;AAAA;;;;;;;;;;;;;;;AAeG;MAWU,qBAAqB,CAAA;IAGhC,WACS,CAAA,GAAgB,EACd,SAA8B,EAAA;QADhC,IAAG,CAAA,GAAA,GAAH,GAAG,CAAa;QACd,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;KACrC;AAEJ,IAAA,IAAI,sBAAsB,GAAA;AACxB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC;KAC9C;IAED,IAAI,sBAAsB,CAAC,GAAY,EAAA;AACrC,QAAA,IAAI,CAAC,SAAS,CAAC,sBAAsB,GAAG,GAAG,CAAC;KAC7C;AAED,IAAA,IAAI,qBAAqB,GAAA;AACvB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,qBAAqB,CAAC;KAC7C;IAED,IAAI,qBAAqB,CAAC,GAAY,EAAA;AACpC,QAAA,IAAI,CAAC,SAAS,CAAC,qBAAqB,GAAG,GAAG,CAAC;KAC5C;AAED,IAAA,KAAK,CAAC,SAAiB,EAAA;QACrB,OAAO,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;KACzC;AACF;;;;;ACrDD;;;;;;;;;;;;;;;AAeG;AAYH,SAAS,yBAAyB,CAAC,gBAAoC,EAAA;AACrE,IAAA,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB,CACzC,IAAI,SAAS,CACX,oBAAoB,EACpB,kBAAkB,EAAA,QAAA,4BAEnB,CACF,CAAC;AAEF,IAAA,gBAAgB,CAAC,eAAe,CAACA,IAAW,EAAE,OAAO,CAAC,CAAC;AACzD,CAAC;AAED,SAAS,kBAAkB,CACzB,SAA6B,EAAA;IAE7B,MAAM,GAAG,GAAG,SAAS,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,YAAY,EAAE,CAAC;;IAE/D,MAAM,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,YAAY,EAAE,CAAC;AAExE,IAAA,OAAO,IAAI,qBAAqB,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;AACrD,CAAC;AAED,yBAAyB,CAAC,QAA8B,CAAC"} \ No newline at end of file
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/esm/package.json b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/package.json
new file mode 100644
index 0000000..7c34deb
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/package.json
@@ -0,0 +1 @@
+{"type":"module"} \ No newline at end of file
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/index.d.ts b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/index.d.ts
new file mode 100644
index 0000000..c039bb4
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/index.d.ts
@@ -0,0 +1,27 @@
+/**
+ * @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 { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
+declare module '@firebase/app-compat' {
+ interface FirebaseNamespace {
+ performance: {
+ (app?: FirebaseApp): FirebasePerformanceCompat;
+ };
+ }
+ interface FirebaseApp {
+ performance(): FirebasePerformanceCompat;
+ }
+}
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/performance.d.ts b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/performance.d.ts
new file mode 100644
index 0000000..2824db9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/performance.d.ts
@@ -0,0 +1,29 @@
+/**
+ * @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 { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
+import { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
+import { FirebaseApp, _FirebaseService } from '@firebase/app-compat';
+export declare class PerformanceCompatImpl implements FirebasePerformanceCompat, _FirebaseService {
+ app: FirebaseApp;
+ readonly _delegate: FirebasePerformance;
+ constructor(app: FirebaseApp, _delegate: FirebasePerformance);
+ get instrumentationEnabled(): boolean;
+ set instrumentationEnabled(val: boolean);
+ get dataCollectionEnabled(): boolean;
+ set dataCollectionEnabled(val: boolean);
+ trace(traceName: string): PerformanceTrace;
+}
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/performance.test.d.ts b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/performance.test.d.ts
new file mode 100644
index 0000000..68eefa5
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/src/performance.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @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 '../test/setup';
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/esm/test/setup.d.ts b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/test/setup.d.ts
new file mode 100644
index 0000000..1c93d90
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/test/setup.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2019 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/performance-compat/dist/esm/test/util.d.ts b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/test/util.d.ts
new file mode 100644
index 0000000..b86d7e1
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/esm/test/util.d.ts
@@ -0,0 +1,21 @@
+/**
+ * @license
+ * Copyright 2019 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 { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
+export declare function getFakeApp(): FirebaseApp;
+export declare function getFakeModularPerformance(): FirebasePerformance;
+export declare function getFakeModularPerformanceTrace(): PerformanceTrace;
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/index.cjs.js b/frontend-old/node_modules/@firebase/performance-compat/dist/index.cjs.js
new file mode 100644
index 0000000..68af633
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/index.cjs.js
@@ -0,0 +1,79 @@
+'use strict';
+
+var firebase = require('@firebase/app-compat');
+var component = require('@firebase/component');
+var performance = require('@firebase/performance');
+
+function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
+
+var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
+
+/**
+ * @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.
+ */
+class PerformanceCompatImpl {
+ constructor(app, _delegate) {
+ this.app = app;
+ this._delegate = _delegate;
+ }
+ get instrumentationEnabled() {
+ return this._delegate.instrumentationEnabled;
+ }
+ set instrumentationEnabled(val) {
+ this._delegate.instrumentationEnabled = val;
+ }
+ get dataCollectionEnabled() {
+ return this._delegate.dataCollectionEnabled;
+ }
+ set dataCollectionEnabled(val) {
+ this._delegate.dataCollectionEnabled = val;
+ }
+ trace(traceName) {
+ return performance.trace(this._delegate, traceName);
+ }
+}
+
+const name = "@firebase/performance-compat";
+const version = "0.2.22";
+
+/**
+ * @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 registerPerformanceCompat(firebaseInstance) {
+ firebaseInstance.INTERNAL.registerComponent(new component.Component('performance-compat', performanceFactory, "PUBLIC" /* ComponentType.PUBLIC */));
+ firebaseInstance.registerVersion(name, version);
+}
+function performanceFactory(container) {
+ const app = container.getProvider('app-compat').getImmediate();
+ // The following call will always succeed.
+ const performance = container.getProvider('performance').getImmediate();
+ return new PerformanceCompatImpl(app, performance);
+}
+registerPerformanceCompat(firebase__default["default"]);
+//# sourceMappingURL=index.cjs.js.map
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/index.cjs.js.map b/frontend-old/node_modules/@firebase/performance-compat/dist/index.cjs.js.map
new file mode 100644
index 0000000..5854375
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/index.cjs.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.cjs.js","sources":["../src/performance.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 trace,\n FirebasePerformance,\n // The PerformanceTrace type has not changed between modular and non-modular packages.\n PerformanceTrace\n} from '@firebase/performance';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\nimport { FirebaseApp, _FirebaseService } from '@firebase/app-compat';\n\nexport class PerformanceCompatImpl\n implements FirebasePerformanceCompat, _FirebaseService\n{\n constructor(\n public app: FirebaseApp,\n readonly _delegate: FirebasePerformance\n ) {}\n\n get instrumentationEnabled(): boolean {\n return this._delegate.instrumentationEnabled;\n }\n\n set instrumentationEnabled(val: boolean) {\n this._delegate.instrumentationEnabled = val;\n }\n\n get dataCollectionEnabled(): boolean {\n return this._delegate.dataCollectionEnabled;\n }\n\n set dataCollectionEnabled(val: boolean) {\n this._delegate.dataCollectionEnabled = val;\n }\n\n trace(traceName: string): PerformanceTrace {\n return trace(this._delegate, traceName);\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 firebase, { _FirebaseNamespace } from '@firebase/app-compat';\nimport {\n Component,\n ComponentContainer,\n ComponentType\n} from '@firebase/component';\nimport { PerformanceCompatImpl } from './performance';\nimport { name as packageName, version } from '../package.json';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\n\nfunction registerPerformanceCompat(firebaseInstance: _FirebaseNamespace): void {\n firebaseInstance.INTERNAL.registerComponent(\n new Component(\n 'performance-compat',\n performanceFactory,\n ComponentType.PUBLIC\n )\n );\n\n firebaseInstance.registerVersion(packageName, version);\n}\n\nfunction performanceFactory(\n container: ComponentContainer\n): PerformanceCompatImpl {\n const app = container.getProvider('app-compat').getImmediate();\n // The following call will always succeed.\n const performance = container.getProvider('performance').getImmediate();\n\n return new PerformanceCompatImpl(app, performance);\n}\n\nregisterPerformanceCompat(firebase as _FirebaseNamespace);\n\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n performance: {\n (app?: FirebaseApp): FirebasePerformanceCompat;\n };\n }\n interface FirebaseApp {\n performance(): FirebasePerformanceCompat;\n }\n}\n"],"names":["trace","Component","packageName","firebase"],"mappings":";;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAWU,qBAAqB,CAAA;IAGhC,WACS,CAAA,GAAgB,EACd,SAA8B,EAAA;QADhC,IAAG,CAAA,GAAA,GAAH,GAAG,CAAa;QACd,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;KACrC;AAEJ,IAAA,IAAI,sBAAsB,GAAA;AACxB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC;KAC9C;IAED,IAAI,sBAAsB,CAAC,GAAY,EAAA;AACrC,QAAA,IAAI,CAAC,SAAS,CAAC,sBAAsB,GAAG,GAAG,CAAC;KAC7C;AAED,IAAA,IAAI,qBAAqB,GAAA;AACvB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,qBAAqB,CAAC;KAC7C;IAED,IAAI,qBAAqB,CAAC,GAAY,EAAA;AACpC,QAAA,IAAI,CAAC,SAAS,CAAC,qBAAqB,GAAG,GAAG,CAAC;KAC5C;AAED,IAAA,KAAK,CAAC,SAAiB,EAAA;QACrB,OAAOA,iBAAK,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;KACzC;AACF;;;;;ACrDD;;;;;;;;;;;;;;;AAeG;AAYH,SAAS,yBAAyB,CAAC,gBAAoC,EAAA;AACrE,IAAA,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB,CACzC,IAAIC,mBAAS,CACX,oBAAoB,EACpB,kBAAkB,EAAA,QAAA,4BAEnB,CACF,CAAC;AAEF,IAAA,gBAAgB,CAAC,eAAe,CAACC,IAAW,EAAE,OAAO,CAAC,CAAC;AACzD,CAAC;AAED,SAAS,kBAAkB,CACzB,SAA6B,EAAA;IAE7B,MAAM,GAAG,GAAG,SAAS,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,YAAY,EAAE,CAAC;;IAE/D,MAAM,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,YAAY,EAAE,CAAC;AAExE,IAAA,OAAO,IAAI,qBAAqB,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;AACrD,CAAC;AAED,yBAAyB,CAACC,4BAA8B,CAAC;;"} \ No newline at end of file
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/src/index.d.ts b/frontend-old/node_modules/@firebase/performance-compat/dist/src/index.d.ts
new file mode 100644
index 0000000..1a6098e
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/src/index.d.ts
@@ -0,0 +1,35 @@
+/**
+ * @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 { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
+declare module '@firebase/app-compat' {
+ interface FirebaseNamespace {
+ performance: {
+ (app?: FirebaseApp): FirebasePerformanceCompat;
+ };
+ }
+ interface FirebaseApp {
+ performance(): FirebasePerformanceCompat;
+ }
+}
+
+import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
+import { type FirebasePerformance, type PerformanceSettings, type PerformanceTrace } from "@firebase/performance";
+declare module "@firebase/performance" {
+ function getPerformance(app?: FirebaseAppCompat): FirebasePerformance;
+ function initializePerformance(app: FirebaseAppCompat, settings?: PerformanceSettings): FirebasePerformance;
+ function trace(performance: FirebasePerformanceCompat, name: string): PerformanceTrace;
+}
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/src/performance.d.ts b/frontend-old/node_modules/@firebase/performance-compat/dist/src/performance.d.ts
new file mode 100644
index 0000000..2824db9
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/src/performance.d.ts
@@ -0,0 +1,29 @@
+/**
+ * @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 { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
+import { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
+import { FirebaseApp, _FirebaseService } from '@firebase/app-compat';
+export declare class PerformanceCompatImpl implements FirebasePerformanceCompat, _FirebaseService {
+ app: FirebaseApp;
+ readonly _delegate: FirebasePerformance;
+ constructor(app: FirebaseApp, _delegate: FirebasePerformance);
+ get instrumentationEnabled(): boolean;
+ set instrumentationEnabled(val: boolean);
+ get dataCollectionEnabled(): boolean;
+ set dataCollectionEnabled(val: boolean);
+ trace(traceName: string): PerformanceTrace;
+}
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/src/performance.test.d.ts b/frontend-old/node_modules/@firebase/performance-compat/dist/src/performance.test.d.ts
new file mode 100644
index 0000000..68eefa5
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/src/performance.test.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @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 '../test/setup';
diff --git a/frontend-old/node_modules/@firebase/performance-compat/dist/test/setup.d.ts b/frontend-old/node_modules/@firebase/performance-compat/dist/test/setup.d.ts
new file mode 100644
index 0000000..1c93d90
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/test/setup.d.ts
@@ -0,0 +1,17 @@
+/**
+ * @license
+ * Copyright 2019 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/performance-compat/dist/test/util.d.ts b/frontend-old/node_modules/@firebase/performance-compat/dist/test/util.d.ts
new file mode 100644
index 0000000..b86d7e1
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/dist/test/util.d.ts
@@ -0,0 +1,21 @@
+/**
+ * @license
+ * Copyright 2019 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 { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
+export declare function getFakeApp(): FirebaseApp;
+export declare function getFakeModularPerformance(): FirebasePerformance;
+export declare function getFakeModularPerformanceTrace(): PerformanceTrace;
diff --git a/frontend-old/node_modules/@firebase/performance-compat/package.json b/frontend-old/node_modules/@firebase/performance-compat/package.json
new file mode 100644
index 0000000..3afbec6
--- /dev/null
+++ b/frontend-old/node_modules/@firebase/performance-compat/package.json
@@ -0,0 +1,71 @@
+{
+ "name": "@firebase/performance-compat",
+ "version": "0.2.22",
+ "description": "The compatibility package of Firebase Performance",
+ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
+ "main": "dist/index.cjs.js",
+ "browser": "dist/esm/index.esm.js",
+ "module": "dist/esm/index.esm.js",
+ "exports": {
+ ".": {
+ "types": "./dist/src/index.d.ts",
+ "require": "./dist/index.cjs.js",
+ "default": "./dist/esm/index.esm.js"
+ },
+ "./package.json": "./package.json"
+ },
+ "files": [
+ "dist"
+ ],
+ "scripts": {
+ "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
+ "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
+ "build": "rollup -c",
+ "build:release": "rollup -c rollup.config.release.js && yarn add-compat-overloads",
+ "build:deps": "lerna run --scope @firebase/performance-compat --include-dependencies build",
+ "dev": "rollup -c -w",
+ "test": "run-p --npm-path npm lint test:all",
+ "test:all": "run-p --npm-path npm test:browser",
+ "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
+ "test:browser": "karma start",
+ "test:browser:debug": "karma start --browsers Chrome --auto-watch",
+ "trusted-type-check": "tsec -p tsconfig.json --noEmit",
+ "prettier": "prettier --write '{src,test}/**/*.{js,ts}'",
+ "add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../performance/dist/src/index.d.ts -o dist/src/index.d.ts -a -r FirebasePerformance:FirebasePerformanceCompat -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/performance"
+ },
+ "license": "Apache-2.0",
+ "peerDependencies": {
+ "@firebase/app-compat": "0.x"
+ },
+ "dependencies": {
+ "@firebase/performance": "0.7.9",
+ "@firebase/performance-types": "0.2.3",
+ "@firebase/util": "1.13.0",
+ "@firebase/logger": "0.5.0",
+ "@firebase/component": "0.7.0",
+ "tslib": "^2.1.0"
+ },
+ "devDependencies": {
+ "rollup": "2.79.2",
+ "@rollup/plugin-json": "6.1.0",
+ "rollup-plugin-replace": "2.2.0",
+ "rollup-plugin-typescript2": "0.36.0",
+ "typescript": "5.5.4",
+ "@firebase/app-compat": "0.5.1"
+ },
+ "repository": {
+ "directory": "packages/performance-compat",
+ "type": "git",
+ "url": "git+https://github.com/firebase/firebase-js-sdk.git"
+ },
+ "bugs": {
+ "url": "https://github.com/firebase/firebase-js-sdk/issues"
+ },
+ "typings": "dist/src/index.d.ts",
+ "nyc": {
+ "extension": [
+ ".ts"
+ ],
+ "reportDir": "./coverage/node"
+ }
+}