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C,EAAUC,YAAY,cAAcC,eAC1CC,EAAsBH,EAAUC,YAAY,aAAaC,eAC/D,OAAO,IAAIhD,EAAiBE,EAAK+C,EAAmB,GAExD,SAASC,IACL,MAAMC,EAAmB,CACrBC,UAAWpD,EACXqD,SAAUA,KACVC,YAAaA,KAEbrC,aAEJsC,IAASC,SAASC,kBAAkB,IAAIC,KAAU,mBAAoBb,EAAS,UAC1Ec,gBAAgBR,GAChBS,sBAAqB,GAC9B,EACAV,GACAK,IAASM,gBAzII,6BACG","names":["AnalyticsService","constructor","app","_delegate","this","logEvent","eventName","eventParams","options","setCurrentScreen","screenName","setUserId","id","setUserProperties","properties","setAnalyticsCollectionEnabled","enabled","EventName","ADD_SHIPPING_INFO","ADD_PAYMENT_INFO","ADD_TO_CART","ADD_TO_WISHLIST","BEGIN_CHECKOUT","CHECKOUT_PROGRESS","EXCEPTION","GENERATE_LEAD","LOGIN","PAGE_VIEW","PURCHASE","REFUND","REMOVE_FROM_CART","SCREEN_VIEW","SEARCH","SELECT_CONTENT","SELECT_ITEM","SELECT_PROMOTION","SET_CHECKOUT_OPTION","SHARE","SIGN_UP","TIMING_COMPLETE","VIEW_CART","VIEW_ITEM","VIEW_ITEM_LIST","VIEW_PROMOTION","VIEW_SEARCH_RESULTS","factory","container","getProvider","getImmediate","analyticsServiceExp","registerAnalytics","namespaceExports","Analytics","settings","isSupported","firebase","INTERNAL","registerComponent","Component","setServiceProps","setMultipleInstances","registerVersion"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./node_modules/@angular/fire/node_modules/@firebase/analytics-compat/dist/esm/index.esm2017.js"],"sourcesContent":["import firebase from '@firebase/app-compat';\nimport { logEvent, setCurrentScreen, setUserId, setUserProperties, setAnalyticsCollectionEnabled, settings, isSupported } from '@firebase/analytics';\nimport { Component } from '@firebase/component';\n\nconst name = \"@firebase/analytics-compat\";\nconst version = \"0.2.10\";\n\n/**\r\n * @license\r\n * Copyright 2020 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nclass AnalyticsService {\r\n constructor(app, _delegate) {\r\n this.app = app;\r\n this._delegate = _delegate;\r\n }\r\n logEvent(eventName, eventParams, options) {\r\n logEvent(this._delegate, eventName, eventParams, options);\r\n }\r\n /**\r\n * @deprecated Use {@link logEvent} with `eventName` as 'screen_view' and add relevant `eventParams`.\r\n * See {@link https://firebase.google.com/docs/analytics/screenviews | Track Screenviews}.\r\n */\r\n setCurrentScreen(screenName, options) {\r\n setCurrentScreen(this._delegate, screenName, options);\r\n }\r\n setUserId(id, options) {\r\n setUserId(this._delegate, id, options);\r\n }\r\n setUserProperties(properties, options) {\r\n setUserProperties(this._delegate, properties, options);\r\n }\r\n setAnalyticsCollectionEnabled(enabled) {\r\n setAnalyticsCollectionEnabled(this._delegate, enabled);\r\n }\r\n}\n\n/**\r\n * @license\r\n * Copyright 2021 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n/**\r\n * Officially recommended event names for gtag.js\r\n * Any other string is also allowed.\r\n */\r\nvar EventName;\r\n(function (EventName) {\r\n EventName[\"ADD_SHIPPING_INFO\"] = \"add_shipping_info\";\r\n EventName[\"ADD_PAYMENT_INFO\"] = \"add_payment_info\";\r\n EventName[\"ADD_TO_CART\"] = \"add_to_cart\";\r\n EventName[\"ADD_TO_WISHLIST\"] = \"add_to_wishlist\";\r\n EventName[\"BEGIN_CHECKOUT\"] = \"begin_checkout\";\r\n /**\r\n * @deprecated\r\n * This event name is deprecated and is unsupported in updated\r\n * Enhanced Ecommerce reports.\r\n */\r\n EventName[\"CHECKOUT_PROGRESS\"] = \"checkout_progress\";\r\n EventName[\"EXCEPTION\"] = \"exception\";\r\n EventName[\"GENERATE_LEAD\"] = \"generate_lead\";\r\n EventName[\"LOGIN\"] = \"login\";\r\n EventName[\"PAGE_VIEW\"] = \"page_view\";\r\n EventName[\"PURCHASE\"] = \"purchase\";\r\n EventName[\"REFUND\"] = \"refund\";\r\n EventName[\"REMOVE_FROM_CART\"] = \"remove_from_cart\";\r\n EventName[\"SCREEN_VIEW\"] = \"screen_view\";\r\n EventName[\"SEARCH\"] = \"search\";\r\n EventName[\"SELECT_CONTENT\"] = \"select_content\";\r\n EventName[\"SELECT_ITEM\"] = \"select_item\";\r\n EventName[\"SELECT_PROMOTION\"] = \"select_promotion\";\r\n /** @deprecated */\r\n EventName[\"SET_CHECKOUT_OPTION\"] = \"set_checkout_option\";\r\n EventName[\"SHARE\"] = \"share\";\r\n EventName[\"SIGN_UP\"] = \"sign_up\";\r\n EventName[\"TIMING_COMPLETE\"] = \"timing_complete\";\r\n EventName[\"VIEW_CART\"] = \"view_cart\";\r\n EventName[\"VIEW_ITEM\"] = \"view_item\";\r\n EventName[\"VIEW_ITEM_LIST\"] = \"view_item_list\";\r\n EventName[\"VIEW_PROMOTION\"] = \"view_promotion\";\r\n EventName[\"VIEW_SEARCH_RESULTS\"] = \"view_search_results\";\r\n})(EventName || (EventName = {}));\n\n/**\r\n * @license\r\n * Copyright 2021 Google LLC\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\nconst factory = (container) => {\r\n // Dependencies\r\n const app = container.getProvider('app-compat').getImmediate();\r\n const analyticsServiceExp = container.getProvider('analytics').getImmediate();\r\n return new AnalyticsService(app, analyticsServiceExp);\r\n};\r\nfunction registerAnalytics() {\r\n const namespaceExports = {\r\n Analytics: AnalyticsService,\r\n settings: settings,\r\n isSupported: isSupported,\r\n // We removed this enum in exp so need to re-create it here for compat.\r\n EventName\r\n };\r\n firebase.INTERNAL.registerComponent(new Component('analytics-compat', factory, \"PUBLIC\" /* ComponentType.PUBLIC */)\r\n .setServiceProps(namespaceExports)\r\n .setMultipleInstances(true));\r\n}\r\nregisterAnalytics();\r\nfirebase.registerVersion(name, version);\n\nexport { registerAnalytics };\n"],"x_google_ignoreList":[0]}