www/category-category-module-es5.js
/**
     * Initialize the analytics instance in gtag.js by calling config command with fid.
     *
     * NOTE: We combine analytics initialization and setting fid together because we want fid to be
     * part of the `page_view` event that's sent during the initialization
     * @param app Firebase app
     * @param gtagCore The gtag function that's not wrapped.
     */
Initialize the analytics instance in gtag.js by calling config command with fid.

We combine analytics initialization and setting fid together because we want fid to be
part of the `page_view` event that's sent during the initialization
@param app Firebase app
@param gtagCore The gtag function that's not wrapped.
Initialize the analytics instance in gtag . js by calling config command with fid . We combine analytics initialization and setting fid together because we want fid to be part of the ` page_view ` event that ' s sent during the initialization @param app Firebase app @param gtagCore The gtag function that ' s not wrapped .
function initializeGAId(app, installations, gtagCore) {
      return Object(tslib__WEBPACK_IMPORTED_MODULE_2__["__awaiter"])(this, void 0, void 0, function () {
        var fid;
        var _a;
        return Object(tslib__WEBPACK_IMPORTED_MODULE_2__["__generator"])(this, function (_b) {
          switch (_b.label) {
            case 0:
              return [4
              , installations.getId()];
            case 1:
              fid = _b.sent(); 
              gtagCore('js', new Date()); 
              gtagCore(GtagCommand.CONFIG, app.options[ANALYTICS_ID_FIELD], (_a = {}, _a[GA_FID_KEY] = fid, 
              _a[ORIGIN_KEY] = 'firebase', _a.update = true, _a));
              return [2
              ];
          }
        });
      });
    }
function initializeGAId ( app , installations , gtagCore ) { return Object ( tslib__WEBPACK_IMPORTED_MODULE_2__ [ "__awaiter" ] ) ( this , void 0 , void 0 , function ( ) { var fid ; var _a ; return Object ( tslib__WEBPACK_IMPORTED_MODULE_2__ [ "__generator" ] ) ( this , function ( _b ) { switch ( _b . label ) { case 0 : return [ 4 , installations . getId ( ) ] ; case 1 : fid = _b . sent ( ) ; gtagCore ( 'js' , new Date ( ) ) ; gtagCore ( GtagCommand . CONFIG , app . options [ ANALYTICS_ID_FIELD ] , ( _a = { } , _a [ GA_FID_KEY ] = fid , _a [ ORIGIN_KEY ] = 'firebase' , _a . update = true , _a ) ) ; return [ 2 ] ; } } ) ; } ) ; }
Initialize the analytics instance in gtag.js by calling config command with fid.
Initialize the analytics instance in gtag . js by calling config command with fid .
/*yield*/ // This command initializes gtag.js and only needs to be called once for the entire web app, // but since it is idempotent, we can call it multiple times. // We keep it together with other initialization logic for better code structure. // eslint-disable-next-line @typescript-eslint/no-explicit-any // It should be the first config command called on this GA-ID // Initialize this GA-ID and set FID on it using the gtag config API. // guard against developers accidentally setting properties with prefix `firebase_` /*return*/