www/category-category-module-es5.js
/**
     * @license
     * Copyright 2019 Google Inc.
     *
     * 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.
     */
@license
Copyright 2019 Google Inc.

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



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.
@license Copyright 2019 Google Inc . 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 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 registerRemoteConfig(firebaseInstance) {
      firebaseInstance.INTERNAL.registerComponent(new component.Component('remoteConfig', remoteConfigFactory, "PUBLIC"
      ).setMultipleInstances(true));
      firebaseInstance.registerVersion(name, version);
      function remoteConfigFactory(container, namespace) {
        var app = container.getProvider('app').getImmediate(); 
        var installations = container.getProvider('installations').getImmediate(); 
        if (typeof window === 'undefined') {
          throw ERROR_FACTORY.create("registration-window"
          );
        } 
        var _a = app.options,
            projectId = _a.projectId,
            apiKey = _a.apiKey,
            appId = _a.appId;
        if (!projectId) {
          throw ERROR_FACTORY.create("registration-project-id"
          );
        }
        if (!apiKey) {
          throw ERROR_FACTORY.create("registration-api-key"
          );
        }
        if (!appId) {
          throw ERROR_FACTORY.create("registration-app-id"
          );
        }
        namespace = namespace || 'firebase';
        var storage = new Storage(appId, app.name, namespace);
        var storageCache = new StorageCache(storage);
        var logger$1 = new logger.Logger(name); 
        logger$1.logLevel = logger.LogLevel.ERROR;
        var restClient = new RestClient(installations, 
        firebaseInstance.SDK_VERSION, namespace, projectId, apiKey, appId);
        var retryingClient = new RetryingClient(restClient, storage);
        var cachingClient = new CachingClient(retryingClient, storage, storageCache, logger$1);
        var remoteConfigInstance = new RemoteConfig(app, cachingClient, storageCache, storage, logger$1); 
        remoteConfigInstance.ensureInitialized();
        return remoteConfigInstance;
      }
    }
function registerRemoteConfig ( firebaseInstance ) { firebaseInstance . INTERNAL . registerComponent ( new component . Component ( 'remoteConfig' , remoteConfigFactory , "PUBLIC" ) . setMultipleInstances ( true ) ) ; firebaseInstance . registerVersion ( name , version ) ; function remoteConfigFactory ( container , namespace ) { var app = container . getProvider ( 'app' ) . getImmediate ( ) ; var installations = container . getProvider ( 'installations' ) . getImmediate ( ) ; if ( typeof window === 'undefined' ) { throw ERROR_FACTORY . create ( "registration-window" ) ; } var _a = app . options , projectId = _a . projectId , apiKey = _a . apiKey , appId = _a . appId ; if ( ! projectId ) { throw ERROR_FACTORY . create ( "registration-project-id" ) ; } if ( ! apiKey ) { throw ERROR_FACTORY . create ( "registration-api-key" ) ; } if ( ! appId ) { throw ERROR_FACTORY . create ( "registration-app-id" ) ; } namespace = namespace || 'firebase' ; var storage = new Storage ( appId , app . name , namespace ) ; var storageCache = new StorageCache ( storage ) ; var logger$1 = new logger . Logger ( name ) ; logger$1 . logLevel = logger . LogLevel . ERROR ; var restClient = new RestClient ( installations , firebaseInstance . SDK_VERSION , namespace , projectId , apiKey , appId ) ; var retryingClient = new RetryingClient ( restClient , storage ) ; var cachingClient = new CachingClient ( retryingClient , storage , storageCache , logger$1 ) ; var remoteConfigInstance = new RemoteConfig ( app , cachingClient , storageCache , storage , logger$1 ) ; remoteConfigInstance . ensureInitialized ( ) ; return remoteConfigInstance ; } }
@license
 Copyright 2019 Google Inc.
@license Copyright 2019 Google Inc .
/* PUBLIC */ /* Dependencies */ // getImmediate for FirebaseApp will always succeed // The following call will always succeed because rc has `import '@firebase/installations'` // Guards against the SDK being used in non-browser environments. /* REGISTRATION_WINDOW */ // Normalizes optional inputs. /* REGISTRATION_PROJECT_ID */ /* REGISTRATION_API_KEY */ /* REGISTRATION_APP_ID */ // Sets ERROR as the default log level. // See RemoteConfig#setLogLevel for corresponding normalization to ERROR log level. // Uses the JS SDK version, by which the RC package version can be deduced, if necessary. // Starts warming cache. // eslint-disable-next-line @typescript-eslint/no-floating-promises