{"version":3,"sources":["jsdelivr-header.js","/npm/fs-cdn@0.1.0/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACYA,IAAI,SAAW,QAAQ,gBACnB,QAAU,QAAQ,eAEtB,SAAS,OAAO,GACf,GAAI,GAAW,EAAQ,eAAe,aAAe,EAAQ,eAAe,YAE3E,OADA,KAAK,UAAY,SAAS,UACnB,IAAI,SAAS,GAEhB,GAAI,GAAW,EAAQ,eAAe,YAE1C,OADA,KAAK,UAAY,QAAQ,UAClB,IAAI,QAAQ,GAEf,MAAM,IAAI,MAAM,4CACtB,CAEA,OAAO,QAAU","file":"/npm/fs-cdn@0.1.0/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/fs-cdn@0.1.0/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/**\n *\n * Copyright (c) 2017 InterDigital, Inc. All Rights Reserved\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 */\n\nvar CDNProto = require('./src/cdn.js');\nvar FsProto = require('./src/fs.js');\n\nfunction Fs_Cdn(options) {\n\tif (options && options.hasOwnProperty(\"provider\") && options.hasOwnProperty(\"data_dir\")) {\n\t\tthis.prototype = CDNProto.prototype;\n\t\treturn new CDNProto(options);\n\t}\n\telse if (options && options.hasOwnProperty(\"data_dir\")) {\n\t\tthis.prototype = FsProto.prototype;\n\t\treturn new FsProto(options);\n\t}\n\telse throw new Error(\"Required options not specified in config.\")\n};\n\nmodule.exports = Fs_Cdn;\n"]}