/**
* @license
* Video.js 7.8.4 <http://videojs.com/>
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
* Available under Apache License Version 2.0
* <https://github.com/videojs/video.js/blob/master/LICENSE>
*
* Includes vtt.js <https://github.com/mozilla/vtt.js>
* Available under Apache License Version 2.0
* <https://github.com/mozilla/vtt.js/blob/master/LICENSE>
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('global/window'), require('global/document')) :
typeof define === 'function' && define.amd ? define(['global/window', 'global/document'], factory) :
(global = global || self, global.videojs = factory(global.window, global.document));
}(this, (function (window$3, document) { 'use strict';
window$3 = window$3 && Object.prototype.hasOwnProperty.call(window$3, 'default') ? window$3['default'] : window$3;
document = document && Object.prototype.hasOwnProperty.call(document, 'default') ? document['default'] : document;
var version = "7.8.4";
/**
* @file create-logger.js
* @module create-logger
*/
var history = [];
/**
* Log messages to the console and history based on the type of message
*
* @private
* @param {string} type
* The name of the console method to use.
*
* @param {Array} args
* The arguments to be passed to the matching console method.
*/
var LogByTypeFactory = function LogByTypeFactory(name, log) {
return function (type, level, args) {
var lvl = log.levels[level];
var lvlRegExp = new RegExp("^(" + lvl + ")$");
if (type !== 'log') {
// Add the type to the front of the message when it's not "log".
args.unshift(type.toUpperCase() + ':');
} // Add console prefix after adding to history.
args.unshift(name + ':'); // Add a clone of the args at this point to history.
if (history) {
history.push([].concat(args)); // only store 1000 history entries
var splice = history.length - 1000;
history.splice(0, splice > 0 ? splice : 0);
} // If there's no console then don't try to output messages, but they will
// still be stored in history.
if (!window$3.console) {
return;
} // Was setting these once outside of this function, but containing them
// in the function makes it easier to test cases where console doesn't exist
// when the module is executed.
var fn = window$3.console[type];
if (!fn && type === 'debug') {
// Certain browsers don't have support for console.debug. For those, we
// should default to the closest comparable log.
fn = window$3.console.info || window$3.console.log;
} // Bail out if there's no console or if this type is not allowed by the
// current logging level.
if (!fn || !lvl || !lvlRegExp.test(type)) {
return;
}
fn[Array.isArray(args) ? 'apply' : 'call'](window$3.console, args);
};
};
function createLogger(name) {
// This is the private tracking variable for logging level.
var level = 'info'; // the curried logByType bound to the specific log and history
var logByType;
/**
* Logs plain debug messages. Similar to `console.log`.
*
* Due to [limitations](https://github.com/jsdoc3/jsdoc/issues/955#issuecomment-313829149)
* of our JSDoc template, we cannot properly document this as both a function
* and a namespace, so its function signature is documented here.
*
* #### Arguments
* ##### *args
* Mixed[]
*
* Any combination of values that could be passed to `console.log()`.
*
* #### Return Value
*
* `undefined`
*
* @namespace
* @param {Mixed[]} args
* One or more messages or objects that should be logged.
*/
var log = function log() {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
logByType('log', level, args);
}; // This is the logByType helper that the logging methods below use
logByType = LogByTypeFactory(name, log);
/**
* Create a new sublogger which chains the old name to the new name.
*
* For example, doing `videojs.log.createLogger('player')` and then using that logger will log the following:
* ```js
* mylogger('foo');
* // > VIDEOJS: player: foo
* ```
*
* @param {string} name
* The name to add call the new logger
* @return {Object}
*/
log.createLogger = function (subname) {
return createLogger(name + ': ' + subname);
};
/**
* Enumeration of available logging levels, where the keys are the level names
* and the values are `|`-separated strings containing logging methods allowed
* in that logging level. These strings are used to create a regular expression
* matching the function name being called.
*
* Levels provided by Video.js are:
*
* - `off`: Matches no calls. Any value that can be cast to `false` will have
* this effect. The most restrictive.
* - `all`: Matches only Video.js-provided functions (`debug`, `log`,
* `log.warn`, and `log.error`).
* - `debug`: Matches `log.debug`, `log`, `log.warn`, and `log.error` calls.
* - `info` (default): Matches `log`, `log.warn`, and `log.error` calls.
* - `warn`: Matches `log.warn` and `log.error` calls.
* - `error`: Matches only `log.error` calls.
*
* @type {Object}
*/
log.levels = {
all: 'debug|log|warn|error',
off: '',
debug: 'debug|log|warn|error',
info: 'log|warn|error',
warn: 'warn|error',
error: 'error',
DEFAULT: level
};
/**
* Get or set the current logging level.
*
* If a string matching a key from {@link module:log.levels} is provided, acts
* as a setter.
*
* @param {string} [lvl]
* Pass a valid level to set a new logging level.
*
* @return {string}
* The current logging level.
*/
log.level = function (lvl) {
if (typeof lvl === 'string') {
if (!log.levels.hasOwnProperty(lvl)) {
throw new Error("\"" + lvl + "\" in not a valid log level");
}
level = lvl;
}
return level;
};
/**
* Returns an array containing everything that has been logged to the history.
*
* This array is a shallow clone of the internal history record. However, its
* contents are _not_ cloned; so, mutating objects inside this array will
* mutate them in history.
*
* @return {Array}
*/
log.history = function () {
return history ? [].concat(history) : [];
};
/**
* Allows you to filter the history by the given logger name
*
* @param {string} fname
* The name to filter by
*
* @return {Array}
* The filtered list to return
*/
log.history.filter = function (fname) {
return (history || []).filter(function (historyItem) {
// if the first item in each historyItem includes `fname`, then it's a match
return new RegExp(".*" + fname + ".*").test(historyItem[0]);
});
};
/**
* Clears the internal history tracking, but does not prevent further history
* tracking.
*/
log.history.clear = function () {
if (history) {
history.length = 0;
}
};
/**
* Disable history tracking if it is currently enabled.
*/
log.history.disable = function () {
if (history !== null) {
history.length = 0;
history = null;
}
};
/**
* Enable history tracking if it is currently disabled.
*/
log.history.enable = function () {
if (history === null) {
history = [];
}
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
SSM项目陆丰市医院分诊管理系统是一款基于Spring、SpringMVC和MyBatis框架的Java企业级应用,旨在为陆丰市医院的医务人员、患者及行政管理人员提供一套高效、智能的分诊管理解决方案。 以下是关于该系统的详细介绍: 1. **系统功能**:本系统可能包含患者信息登记、初步病情评估、智能分诊推荐、医生接诊记录、候诊实时监控、医疗资源调度、病历管理、数据统计与分析等功能模块。通过这一平台,医务人员可以快速进行患者分诊,优化资源分配,并提高医院服务效率。 2. **技术实现**:利用SSM框架中的Spring进行整体业务逻辑管理,SpringMVC负责前后端交互与页面渲染,MyBatis处理数据库交互。这种分层架构不仅确保了系统的稳定性和可维护性,也方便了未来的扩展和升级。 3. **前后端分离**:前端可能采用了HTML5、CSS3和JavaScript等技术,以创建响应式用户界面,后端则使用Java开发,并通过RESTful API与前端交换数据,这样的设计提升了系统可维护性和用户体验。 4. **数据库设计**:后端可能使用了MySQL或其他关系型数据库来存储
资源推荐
资源详情
资源评论
收起资源包目录
SSM项目陆丰市医院分诊管理系统.zip (2000个子文件)
summernote-bs2.css 149KB
summernote-bs2.css 149KB
summernote-bs3.css 144KB
summernote-bs3.css 144KB
bootstrap.css 138KB
bootstrap.min.css 118KB
style.css 95KB
materialdesignicons.css 93KB
styleLR.css 91KB
animate.css 70KB
ionicons.css 57KB
video-js-cdn.css 44KB
video-js.css 44KB
video-js-cdn.css 44KB
video-js.css 44KB
video-js-cdn.css 44KB
video-js.css 44KB
video-js-cdn.css 44KB
video-js.css 44KB
style.css 40KB
video-js-cdn.min.css 39KB
video-js.min.css 39KB
video-js-cdn.min.css 39KB
video-js.min.css 39KB
video-js-cdn.min.css 39KB
video-js.min.css 39KB
video-js-cdn.min.css 39KB
video-js.min.css 39KB
font-awesome.css 36KB
jquery-ui-1.9.2.custom.css 30KB
jquery-ui.min.css 29KB
jquery-ui.min.css 29KB
jquery-ui-1.9.2.custom.min.css 26KB
fullcalendar.css 25KB
fullcalendar.css 25KB
default.css 21KB
sweetalert.css 21KB
sweetalert.css 21KB
bootstrap-editable.css 21KB
bootstrap-editable.css 21KB
themify-icons.css 16KB
bootstrap-datepicker.min.css 15KB
bootstrap-datepicker.min.css 15KB
jquery.dataTables-custom.css 14KB
jquery.dataTables-custom.css 14KB
simple-line-icons.css 13KB
jquery.datatables.min.css 13KB
jquery.datatables.min.css 13KB
dropzone.css 12KB
dropzone.css 12KB
videojs-icons.css 11KB
videojs-icons.css 11KB
summernote.css 10KB
summernote.css 10KB
main.css 9KB
daterangepicker.css 8KB
daterangepicker.css 8KB
jquery-jvectormap-2.0.2.css 6KB
jquery-jvectormap-2.0.2.css 6KB
ie7.css 6KB
jquery.steps.css 6KB
jquery.steps.css 6KB
responsive.css 6KB
jquery.toast.min.css 5KB
jquery.toast.min.css 5KB
swipebox.css 4KB
bootstrap-colorpicker.min.css 4KB
bootstrap-colorpicker.min.css 4KB
cropper.min.css 4KB
cropper.min.css 4KB
datepicker.css 4KB
datepicker.css 4KB
bootstrap-timepicker.min.css 3KB
bootstrap-timepicker.min.css 3KB
icons.css 3KB
bootstrap-clockpicker.min.css 3KB
bootstrap-clockpicker.min.css 3KB
qq.css 3KB
mocha.css 3KB
mocha.css 3KB
global.css 3KB
CssAdmin.css 3KB
multi-select.css 2KB
multi-select.css 2KB
simple.css 2KB
bootstrap-wysihtml5.css 1KB
bootstrap-wysihtml5.css 1KB
index.css 979B
prettify.css 973B
jquery.bootstrap-touchspin.min.css 899B
jquery.bootstrap-touchspin.min.css 899B
jquery.bootstrap-touchspin.min.css 899B
jquery.bootstrap-touchspin.min.css 899B
page.css 780B
zoom.css 750B
style.css 628B
style.css 628B
morris.css 536B
morris.css 536B
webuploader.css 515B
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
程序媛小刘
- 粉丝: 2593
- 资源: 1323
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功