{"version":3,"sources":["jsdelivr-header.js","/npm/@eclipse-scout/karma-jasmine-scout@26.1.3/src/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACGA,IAAI,cAAgB,IAAQ,CAAE,QAAS,EAAM,UAAU,EAAM,QAAQ,EAAM,SAAS,IAEhF,mBAAqB,IACvB,GAAI,EAAM,QAAU,EAClB,OAAO,EAET,IAAK,IAAI,EAAQ,EAAG,EAAQ,EAAM,OAAQ,IAAS,CACjD,IAAI,EAAQ,EAAM,GAClB,GAAI,EAAM,SAAW,EAAM,QAAQ,SAAS,cAC1C,OAAO,EAAQ,CAEnB,CACA,OAAO,EAAM,OAAS,CAAC,EAGrB,kBAAoB,IACtB,IAAI,EAAO,QAAQ,QAEf,EAAY,mBAAmB,GACnC,EAAM,OAAO,EAAW,EACtB,cAAc,QAAQ,QAAQ,4BAC9B,cAAc,EAAK,KAAK,UAAW,wBACnC,cAAc,EAAK,KAAK,UAAW,qBAAqB,EAG5D,kBAAkB,QAAU,CAAC,gBAE7B,OAAO,QAAU,CACf,0BAA2B,CAAC,UAAW","file":"/npm/@eclipse-scout/karma-jasmine-scout@26.1.3/src/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@eclipse-scout/karma-jasmine-scout@26.1.3/src/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 * Copyright (c) 2010, 2023 BSI Business Systems Integration AG\n *\n * This program and the accompanying materials are made\n * available under the terms of the Eclipse Public License 2.0\n * which is available at https://www.eclipse.org/legal/epl-2.0/\n *\n * SPDX-License-Identifier: EPL-2.0\n */\nlet createPattern = path => ({pattern: path, included: true, served: true, watched: false});\n\nlet findJqueryPosition = files => {\n  if (files.length <= 1) {\n    return 0;\n  }\n  for (let index = 0; index < files.length; index++) {\n    let entry = files[index];\n    if (entry.pattern && entry.pattern.endsWith('/jquery.js')) {\n      return index + 1; // right after the jquery\n    }\n  }\n  return files.length - 1; // default: second last\n};\n\nlet initJasmine_scout = files => {\n  let path = require('path');\n  // jqueryExtensions must be loaded after the jquery file\n  let insertPos = findJqueryPosition(files);\n  files.splice(insertPos, 0,\n    createPattern(require.resolve('sourcemapped-stacktrace')),\n    createPattern(path.join(__dirname, 'stackTraceMapper.js')),\n    createPattern(path.join(__dirname, 'JasmineScout.css')));\n};\n\ninitJasmine_scout.$inject = ['config.files'];\n\nmodule.exports = {\n  'framework:jasmine-scout': ['factory', initJasmine_scout]\n};\n\n"]}