feat(es/minifier): Enable conditionals by default (#4687)

This commit is contained in:
Donny/강동윤 2022-05-17 16:34:47 +09:00 committed by GitHub
parent b467432b9b
commit c01476d9ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
40 changed files with 454 additions and 398 deletions

View File

@ -1,10 +1,13 @@
/*.output.js /*.output.js
/input.js /input.js
*.orig *.orig
input.new.js
input.orig.js
*.txt *.txt
/.input /.input
/.compare
# creduce # creduce
creduce_bug* creduce_bug*

View File

@ -1,14 +1,11 @@
use std::{ use std::{path::PathBuf, process::Command, sync::Arc};
path::{Path, PathBuf},
process::{Command, Stdio},
sync::Arc,
};
use anyhow::{bail, Context, Result}; use anyhow::{Context, Result};
use clap::Args; use clap::Args;
use swc_common::SourceMap; use swc_common::SourceMap;
use crate::util::{ use crate::util::{
make_pretty,
minifier::{get_esbuild_output, get_minified}, minifier::{get_esbuild_output, get_minified},
print_js, print_js,
}; };
@ -54,17 +51,3 @@ impl CompareCommand {
Ok(()) Ok(())
} }
} }
fn make_pretty(f: &Path) -> Result<()> {
let mut c = Command::new("npx");
c.stderr(Stdio::inherit());
c.arg("js-beautify").arg("--replace").arg(f);
let output = c.output().context("failed to run prettier")?;
if !output.status.success() {
bail!("prettier failed");
}
Ok(())
}

View File

@ -0,0 +1,122 @@
use std::{
fs,
path::{Path, PathBuf},
process::Command,
sync::Arc,
};
use anyhow::{Context, Result};
use clap::Args;
use rayon::prelude::*;
use swc_common::{SourceMap, GLOBALS};
use swc_ecma_minifier::option::{CompressOptions, MinifyOptions};
use swc_ecma_transforms_base::fixer::fixer;
use swc_ecma_visit::VisitMutWith;
use tracing::info;
use crate::util::{all_js_files, make_pretty, parse_js, print_js};
/// Useful for checking if the minifier is working correctly, even with the new
/// option.
#[derive(Debug, Args)]
pub struct DiffOptionCommand {
pub path: PathBuf,
#[clap(long)]
pub open: bool,
}
impl DiffOptionCommand {
pub fn run(self, cm: Arc<SourceMap>) -> Result<()> {
let js_files = all_js_files(&self.path)?;
let inputs = js_files
.into_iter()
.filter(|p| p.file_name() == Some("input.js".as_ref()))
.collect::<Vec<_>>();
let files = GLOBALS.with(|globals| {
inputs
.into_par_iter()
.map(|f| GLOBALS.set(globals, || self.process_file(cm.clone(), &f)))
.collect::<Result<Vec<_>>>()
})?;
for (orig_path, new_path) in files.into_iter().flatten() {
if self.open {
let mut c = Command::new("code");
c.arg("--diff").arg("--wait");
c.arg(&orig_path);
c.arg(&new_path);
c.output().context("failed to run vscode")?;
}
}
Ok(())
}
fn process_file(&self, cm: Arc<SourceMap>, f: &Path) -> Result<Option<(PathBuf, PathBuf)>> {
info!("Processing `{}`", f.display());
let fm = cm.load_file(f)?;
let m = parse_js(fm)?;
let orig = {
let m = m.clone();
let mut m = swc_ecma_minifier::optimize(
m.module,
cm.clone(),
Some(&m.comments),
None,
&MinifyOptions {
compress: Some(Default::default()),
mangle: None,
..Default::default()
},
&swc_ecma_minifier::option::ExtraOptions {
unresolved_mark: m.unresolved_mark,
top_level_mark: m.top_level_mark,
},
);
m.visit_mut_with(&mut fixer(None));
print_js(cm.clone(), &m, false)?
};
let new = {
let mut m = swc_ecma_minifier::optimize(
m.module,
cm.clone(),
Some(&m.comments),
None,
&MinifyOptions {
compress: Some(CompressOptions {
conditionals: true,
..Default::default()
}),
mangle: None,
..Default::default()
},
&swc_ecma_minifier::option::ExtraOptions {
unresolved_mark: m.unresolved_mark,
top_level_mark: m.top_level_mark,
},
);
m.visit_mut_with(&mut fixer(None));
print_js(cm, &m, false)?
};
if orig == new {
fs::remove_file(f)?;
return Ok(None);
}
let orig_path = f.with_extension("orig.js");
fs::write(&orig_path, orig)?;
make_pretty(&orig_path)?;
let new_path = f.with_extension("new.js");
fs::write(&new_path, new)?;
make_pretty(&new_path)?;
Ok(Some((orig_path, new_path)))
}
}

View File

@ -4,9 +4,13 @@ use anyhow::Result;
use clap::Subcommand; use clap::Subcommand;
use swc_common::SourceMap; use swc_common::SourceMap;
use self::{compare::CompareCommand, ensure_size::EnsureSize, reduce::ReduceCommand}; use self::{
compare::CompareCommand, diff_options::DiffOptionCommand, ensure_size::EnsureSize,
reduce::ReduceCommand,
};
mod compare; mod compare;
mod diff_options;
mod ensure_size; mod ensure_size;
mod reduce; mod reduce;
@ -15,6 +19,7 @@ mod reduce;
pub enum MinifyCommand { pub enum MinifyCommand {
Reduce(ReduceCommand), Reduce(ReduceCommand),
Compare(CompareCommand), Compare(CompareCommand),
DiffOption(DiffOptionCommand),
EnsureSize(EnsureSize), EnsureSize(EnsureSize),
} }
@ -24,6 +29,7 @@ impl MinifyCommand {
MinifyCommand::Reduce(cmd) => cmd.run(cm), MinifyCommand::Reduce(cmd) => cmd.run(cm),
MinifyCommand::EnsureSize(cmd) => cmd.run(cm), MinifyCommand::EnsureSize(cmd) => cmd.run(cm),
MinifyCommand::Compare(cmd) => cmd.run(cm), MinifyCommand::Compare(cmd) => cmd.run(cm),
MinifyCommand::DiffOption(cmd) => cmd.run(cm),
} }
} }
} }

View File

@ -1,5 +1,6 @@
use std::{ use std::{
path::{Path, PathBuf}, path::{Path, PathBuf},
process::{Command, Stdio},
sync::Arc, sync::Arc,
}; };
@ -21,6 +22,20 @@ where
op() op()
} }
pub fn make_pretty(f: &Path) -> Result<()> {
let mut c = Command::new("npx");
c.stderr(Stdio::inherit());
c.arg("js-beautify").arg("--replace").arg(f);
let output = c.output().context("failed to run prettier")?;
if !output.status.success() {
bail!("prettier failed");
}
Ok(())
}
pub fn parse_js(fm: Arc<SourceFile>) -> Result<ModuleRecord> { pub fn parse_js(fm: Arc<SourceFile>) -> Result<ModuleRecord> {
let unresolved_mark = Mark::new(); let unresolved_mark = Mark::new();
let top_level_mark = Mark::new(); let top_level_mark = Mark::new();
@ -80,7 +95,7 @@ pub fn print_js(cm: Arc<SourceMap>, m: &Module, minify: bool) -> Result<String>
String::from_utf8(buf).context("swc emitted non-utf8 output") String::from_utf8(buf).context("swc emitted non-utf8 output")
} }
#[derive(Debug)] #[derive(Debug, Clone)]
pub struct ModuleRecord { pub struct ModuleRecord {
pub module: Module, pub module: Module,
pub comments: SingleThreadedComments, pub comments: SingleThreadedComments,

View File

@ -1,5 +1,5 @@
foo({ foo({
bar: function(data, baz) { bar: function(data, baz) {
!(!(baz ? data.quxA : data.quxB) && !(baz ? data.corgeA : data.corgeB) && (baz ? data.get("waldo") : data.waldo)) ? (baz ? data.quxA : data.quxB) || (baz ? data.get("waldo") : data.waldo) || (baz ? !data.corgeA : !data.corgeB) || pass() : pass(); !(!(baz ? data.quxA : data.quxB) && !(baz ? data.corgeA : data.corgeB) && (baz ? data.get("waldo") : data.waldo)) && ((baz ? data.quxA : data.quxB) || (baz ? data.get("waldo") : data.waldo) || (baz ? !data.corgeA : !data.corgeB)) || pass();
} }
}); });

View File

@ -12,8 +12,7 @@ var Formatting;
} }
GetIndentationEditsWorker(token, nextToken, node, sameLineIndent) { GetIndentationEditsWorker(token, nextToken, node, sameLineIndent) {
var result = new List_TextEditInfo(), indentationInfo = null; var result = new List_TextEditInfo(), indentationInfo = null;
if (this.AdjustStartOffsetIfNeeded(token, node), this.scriptBlockBeginLineNumber == token.lineNumber()) return result; if (this.AdjustStartOffsetIfNeeded(token, node), this.scriptBlockBeginLineNumber == token.lineNumber() || !sameLineIndent && this.IsMultiLineString(token)) return result;
if (!sameLineIndent && this.IsMultiLineString(token)) return result;
if (null == (indentationInfo = this.GetSpecialCaseIndentation(token, node))) { if (null == (indentationInfo = this.GetSpecialCaseIndentation(token, node))) {
for(; !node.CanIndent() && null != node.Parent && token.Span.span.start() == node.Parent.AuthorNode.Details.StartOffset;)node = node.Parent; for(; !node.CanIndent() && null != node.Parent && token.Span.span.start() == node.Parent.AuthorNode.Details.StartOffset;)node = node.Parent;
indentationInfo = node.CanIndent() && token.Span.span.start() == node.AuthorNode.Details.StartOffset ? node.GetEffectiveIndentation(this) : token.Token == AuthorTokenKind.atkIdentifier && null != nextToken && nextToken.Token == AuthorTokenKind.atkColon ? node.GetEffectiveChildrenIndentation(this) : this.ApplyIndentationDeltaFromParent(token, node); indentationInfo = node.CanIndent() && token.Span.span.start() == node.AuthorNode.Details.StartOffset ? node.GetEffectiveIndentation(this) : token.Token == AuthorTokenKind.atkIdentifier && null != nextToken && nextToken.Token == AuthorTokenKind.atkColon ? node.GetEffectiveChildrenIndentation(this) : this.ApplyIndentationDeltaFromParent(token, node);

View File

@ -17,8 +17,7 @@ import * as swcHelpers from "@swc/helpers";
return result; return result;
}, _proto.GetIndentationEditsWorker = function(token, nextToken, node, sameLineIndent) { }, _proto.GetIndentationEditsWorker = function(token, nextToken, node, sameLineIndent) {
var result = new List_TextEditInfo(), indentationInfo = null; var result = new List_TextEditInfo(), indentationInfo = null;
if (this.AdjustStartOffsetIfNeeded(token, node), this.scriptBlockBeginLineNumber == token.lineNumber()) return result; if (this.AdjustStartOffsetIfNeeded(token, node), this.scriptBlockBeginLineNumber == token.lineNumber() || !sameLineIndent && this.IsMultiLineString(token)) return result;
if (!sameLineIndent && this.IsMultiLineString(token)) return result;
if (null == (indentationInfo = this.GetSpecialCaseIndentation(token, node))) { if (null == (indentationInfo = this.GetSpecialCaseIndentation(token, node))) {
for(; !node.CanIndent() && null != node.Parent && token.Span.span.start() == node.Parent.AuthorNode.Details.StartOffset;)node = node.Parent; for(; !node.CanIndent() && null != node.Parent && token.Span.span.start() == node.Parent.AuthorNode.Details.StartOffset;)node = node.Parent;
indentationInfo = node.CanIndent() && token.Span.span.start() == node.AuthorNode.Details.StartOffset ? node.GetEffectiveIndentation(this) : token.Token == AuthorTokenKind.atkIdentifier && null != nextToken && nextToken.Token == AuthorTokenKind.atkColon ? node.GetEffectiveChildrenIndentation(this) : this.ApplyIndentationDeltaFromParent(token, node); indentationInfo = node.CanIndent() && token.Span.span.start() == node.AuthorNode.Details.StartOffset ? node.GetEffectiveIndentation(this) : token.Token == AuthorTokenKind.atkIdentifier && null != nextToken && nextToken.Token == AuthorTokenKind.atkColon ? node.GetEffectiveChildrenIndentation(this) : this.ApplyIndentationDeltaFromParent(token, node);

File diff suppressed because one or more lines are too long

View File

@ -97,8 +97,7 @@ var ItemsList = function(_Component) {
var Derived, Constructor1, protoProps, staticProps, _super = (Derived = ItemsList1, function() { var Derived, Constructor1, protoProps, staticProps, _super = (Derived = ItemsList1, function() {
var self, call, result, Super = _getPrototypeOf(Derived); var self, call, result, Super = _getPrototypeOf(Derived);
if (function() { if (function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Date.prototype.toString.call(Reflect.construct(Date, [], function() {})), !0; return Date.prototype.toString.call(Reflect.construct(Date, [], function() {})), !0;

View File

@ -116,7 +116,10 @@ where
stmts stmts
.windows(2) .windows(2)
.any(|stmts| match (&stmts[0].as_stmt(), &stmts[1].as_stmt()) { .any(|stmts| match (&stmts[0].as_stmt(), &stmts[1].as_stmt()) {
(Some(Stmt::If(l)), Some(Stmt::If(r))) => l.cons.eq_ignore_span(&r.cons), (
Some(Stmt::If(l @ IfStmt { alt: None, .. })),
Some(Stmt::If(r @ IfStmt { alt: None, .. })),
) => l.cons.eq_ignore_span(&r.cons),
_ => false, _ => false,
}); });
if !has_work { if !has_work {
@ -132,7 +135,7 @@ where
match stmt.try_into_stmt() { match stmt.try_into_stmt() {
Ok(stmt) => { Ok(stmt) => {
match stmt { match stmt {
Stmt::If(mut stmt) => { Stmt::If(mut stmt @ IfStmt { alt: None, .. }) => {
// //
match &mut cur { match &mut cur {

View File

@ -1914,8 +1914,15 @@ where
} }
} }
#[cfg_attr(feature = "debug", tracing::instrument(skip_all))]
fn visit_mut_fn_decl(&mut self, f: &mut FnDecl) { fn visit_mut_fn_decl(&mut self, f: &mut FnDecl) {
#[cfg(feature = "debug")]
let _tracing = tracing::span!(
Level::ERROR,
"visit_mut_fn_decl",
id = tracing::field::display(&f.ident)
)
.entered();
self.functions self.functions
.entry(f.ident.to_id()) .entry(f.ident.to_id())
.or_insert_with(|| FnMetadata::from(&f.function)); .or_insert_with(|| FnMetadata::from(&f.function));

View File

@ -385,6 +385,18 @@ impl VisitMut for Pure<'_> {
self.visit_par(exprs); self.visit_par(exprs);
} }
fn visit_mut_fn_decl(&mut self, n: &mut FnDecl) {
#[cfg(feature = "debug")]
let _tracing = tracing::span!(
Level::ERROR,
"visit_mut_fn_decl",
id = tracing::field::display(&n.ident)
)
.entered();
n.visit_mut_children_with(self);
}
fn visit_mut_for_in_stmt(&mut self, n: &mut ForInStmt) { fn visit_mut_for_in_stmt(&mut self, n: &mut ForInStmt) {
n.right.visit_mut_with(self); n.right.visit_mut_with(self);

View File

@ -139,7 +139,7 @@ pub struct CompressOptions {
#[serde(alias = "computed_props")] #[serde(alias = "computed_props")]
pub computed_props: bool, pub computed_props: bool,
#[serde(default)] #[serde(default = "true_by_default")]
#[serde(alias = "conditionals")] #[serde(alias = "conditionals")]
pub conditionals: bool, pub conditionals: bool,

View File

@ -259,8 +259,7 @@ impl TerserCompressorOptions {
collapse_vars: self.collapse_vars.unwrap_or(self.defaults), collapse_vars: self.collapse_vars.unwrap_or(self.defaults),
comparisons: self.comparisons.unwrap_or(self.defaults), comparisons: self.comparisons.unwrap_or(self.defaults),
computed_props: self.computed_props.unwrap_or(self.defaults), computed_props: self.computed_props.unwrap_or(self.defaults),
// TODO: Use self.defaults conditionals: self.conditionals.unwrap_or(self.defaults),
conditionals: self.conditionals.unwrap_or(false),
dead_code: self.dead_code.unwrap_or(self.defaults), dead_code: self.dead_code.unwrap_or(self.defaults),
directives: self.directives.unwrap_or(self.defaults), directives: self.directives.unwrap_or(self.defaults),
drop_console: self.drop_console, drop_console: self.drop_console,

View File

@ -953,7 +953,7 @@
return Object.keys(descriptor).forEach(function(key) { return Object.keys(descriptor).forEach(function(key) {
desc1[key] = descriptor[key]; desc1[key] = descriptor[key];
}), desc1.enumerable = !!desc1.enumerable, desc1.configurable = !!desc1.configurable, ("value" in desc1 || desc1.initializer) && (desc1.writable = !0), desc1 = decorators.slice().reverse().reduce(function(desc, decorator) { }), desc1.enumerable = !!desc1.enumerable, desc1.configurable = !!desc1.configurable, ("value" in desc1 || desc1.initializer) && (desc1.writable = !0), desc1 = decorators.slice().reverse().reduce(function(desc, decorator) {
return decorator ? decorator(target, property, desc) || desc : desc; return decorator && decorator(target, property, desc) || desc;
}, desc1), context && void 0 !== desc1.initializer && (desc1.value = desc1.initializer ? desc1.initializer.call(context) : void 0, desc1.initializer = void 0), void 0 === desc1.initializer && (Object.defineProperty(target, property, desc1), desc1 = null), desc1; }, desc1), context && void 0 !== desc1.initializer && (desc1.value = desc1.initializer ? desc1.initializer.call(context) : void 0, desc1.initializer = void 0), void 0 === desc1.initializer && (Object.defineProperty(target, property, desc1), desc1 = null), desc1;
} }
function _arrayWithHoles(arr) { function _arrayWithHoles(arr) {
@ -1045,10 +1045,7 @@
} }
function _asyncIterator(iterable) { function _asyncIterator(iterable) {
var method; var method;
if ("function" == typeof Symbol) { if ("function" == typeof Symbol && (Symbol.asyncIterator && null != (method = iterable[Symbol.asyncIterator]) || Symbol.iterator && null != (method = iterable[Symbol.iterator]))) return method.call(iterable);
if (Symbol.asyncIterator && null != (method = iterable[Symbol.asyncIterator])) return method.call(iterable);
if (Symbol.iterator && null != (method = iterable[Symbol.iterator])) return method.call(iterable);
}
throw new TypeError("Object is not async iterable"); throw new TypeError("Object is not async iterable");
} }
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
@ -1116,8 +1113,7 @@
} }
function construct(Parent1, args1, Class1) { function construct(Parent1, args1, Class1) {
return (construct = !function() { return (construct = !function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Date.prototype.toString.call(Reflect.construct(Date, [], function() {})), !0; return Date.prototype.toString.call(Reflect.construct(Date, [], function() {})), !0;
@ -3495,7 +3491,7 @@
return function() { return function() {
return new IteratorConstructor(this); return new IteratorConstructor(this);
}; };
}, TO_STRING_TAG = NAME + " Iterator", INCORRECT_VALUES_NAME = !1, IterablePrototype = Iterable.prototype, nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype["@@iterator"] || DEFAULT && IterablePrototype[DEFAULT], defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT), anyNativeIterator = "Array" == NAME ? IterablePrototype.entries || nativeIterator : nativeIterator; }, TO_STRING_TAG = NAME + " Iterator", INCORRECT_VALUES_NAME = !1, IterablePrototype = Iterable.prototype, nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype["@@iterator"] || DEFAULT && IterablePrototype[DEFAULT], defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT), anyNativeIterator = "Array" == NAME && IterablePrototype.entries || nativeIterator;
if (anyNativeIterator && (CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()))) !== Object.prototype && CurrentIteratorPrototype.next && (IS_PURE || getPrototypeOf(CurrentIteratorPrototype) === IteratorPrototype || (setPrototypeOf ? setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype) : isCallable(CurrentIteratorPrototype[ITERATOR]) || redefine(CurrentIteratorPrototype, ITERATOR, returnThis)), setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, !0, !0), IS_PURE && (Iterators[TO_STRING_TAG] = returnThis)), PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES && (!IS_PURE && CONFIGURABLE_FUNCTION_NAME ? createNonEnumerableProperty(IterablePrototype, "name", VALUES) : (INCORRECT_VALUES_NAME = !0, defaultIterator = function() { if (anyNativeIterator && (CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()))) !== Object.prototype && CurrentIteratorPrototype.next && (IS_PURE || getPrototypeOf(CurrentIteratorPrototype) === IteratorPrototype || (setPrototypeOf ? setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype) : isCallable(CurrentIteratorPrototype[ITERATOR]) || redefine(CurrentIteratorPrototype, ITERATOR, returnThis)), setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, !0, !0), IS_PURE && (Iterators[TO_STRING_TAG] = returnThis)), PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES && (!IS_PURE && CONFIGURABLE_FUNCTION_NAME ? createNonEnumerableProperty(IterablePrototype, "name", VALUES) : (INCORRECT_VALUES_NAME = !0, defaultIterator = function() {
return nativeIterator.call(this); return nativeIterator.call(this);
})), DEFAULT) { })), DEFAULT) {
@ -4452,9 +4448,7 @@
var isCallable = __webpack_require__(67106), isObject = __webpack_require__(39817); var isCallable = __webpack_require__(67106), isObject = __webpack_require__(39817);
module.exports = function(input, pref) { module.exports = function(input, pref) {
var fn, val; var fn, val;
if ("string" === pref && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val; if ("string" === pref && isCallable(fn = input.toString) && !isObject(val = fn.call(input)) || isCallable(fn = input.valueOf) && !isObject(val = fn.call(input)) || "string" !== pref && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val;
if (isCallable(fn = input.valueOf) && !isObject(val = fn.call(input))) return val;
if ("string" !== pref && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val;
throw TypeError("Can't convert object to primitive value"); throw TypeError("Can't convert object to primitive value");
}; };
}, },
@ -4960,8 +4954,7 @@
buffer = data, byteOffset = toOffset(offset, BYTES); buffer = data, byteOffset = toOffset(offset, BYTES);
var $len = data.byteLength; var $len = data.byteLength;
if (void 0 === $length) { if (void 0 === $length) {
if ($len % BYTES) throw RangeError(WRONG_LENGTH); if ($len % BYTES || (byteLength = $len - byteOffset) < 0) throw RangeError(WRONG_LENGTH);
if ((byteLength = $len - byteOffset) < 0) throw RangeError(WRONG_LENGTH);
} else if ((byteLength = toLength($length) * BYTES) + byteOffset > $len) throw RangeError(WRONG_LENGTH); } else if ((byteLength = toLength($length) * BYTES) + byteOffset > $len) throw RangeError(WRONG_LENGTH);
length = byteLength / BYTES; length = byteLength / BYTES;
} else if (isTypedArray(data)) return fromList(TypedArrayConstructor, data); } else if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);
@ -6059,7 +6052,7 @@
s = "" === s ? t : s + repeat.call("0", 7 - t.length) + t; s = "" === s ? t : s + repeat.call("0", 7 - t.length) + t;
} }
return s; return s;
}, FORCED = nativeToFixed && !0 || !fails(function() { }, FORCED = !!nativeToFixed || !fails(function() {
nativeToFixed.call({}); nativeToFixed.call({});
}); });
$({ $({
@ -6546,8 +6539,7 @@
"use strict"; "use strict";
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen, $ = __webpack_require__(35437), IS_PURE = __webpack_require__(80627), global = __webpack_require__(19514), getBuiltIn = __webpack_require__(44990), NativePromise = __webpack_require__(91591), redefine = __webpack_require__(78109), redefineAll = __webpack_require__(59855), setPrototypeOf = __webpack_require__(59057), setToStringTag = __webpack_require__(77875), setSpecies = __webpack_require__(53988), aCallable = __webpack_require__(74618), isCallable = __webpack_require__(67106), isObject = __webpack_require__(39817), anInstance = __webpack_require__(51819), inspectSource = __webpack_require__(71975), iterate = __webpack_require__(7261), checkCorrectnessOfIteration = __webpack_require__(34124), speciesConstructor = __webpack_require__(94850), task = __webpack_require__(46660).set, microtask = __webpack_require__(50277), promiseResolve = __webpack_require__(56540), hostReportErrors = __webpack_require__(85033), newPromiseCapabilityModule = __webpack_require__(11098), perform = __webpack_require__(68275), InternalStateModule = __webpack_require__(44670), isForced = __webpack_require__(23736), wellKnownSymbol = __webpack_require__(81019), IS_BROWSER = __webpack_require__(23573), IS_NODE = __webpack_require__(96590), V8_VERSION = __webpack_require__(50661), SPECIES = wellKnownSymbol("species"), PROMISE = "Promise", getInternalState = InternalStateModule.get, setInternalState = InternalStateModule.set, getInternalPromiseState = InternalStateModule.getterFor(PROMISE), NativePromisePrototype = NativePromise && NativePromise.prototype, PromiseConstructor = NativePromise, PromiseConstructorPrototype = NativePromisePrototype, TypeError = global.TypeError, document = global.document, process = global.process, newPromiseCapability = newPromiseCapabilityModule.f, newGenericPromiseCapability = newPromiseCapability, DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent), NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent), UNHANDLED_REJECTION = "unhandledrejection", SUBCLASSING = !1, FORCED = isForced(PROMISE, function() { var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen, $ = __webpack_require__(35437), IS_PURE = __webpack_require__(80627), global = __webpack_require__(19514), getBuiltIn = __webpack_require__(44990), NativePromise = __webpack_require__(91591), redefine = __webpack_require__(78109), redefineAll = __webpack_require__(59855), setPrototypeOf = __webpack_require__(59057), setToStringTag = __webpack_require__(77875), setSpecies = __webpack_require__(53988), aCallable = __webpack_require__(74618), isCallable = __webpack_require__(67106), isObject = __webpack_require__(39817), anInstance = __webpack_require__(51819), inspectSource = __webpack_require__(71975), iterate = __webpack_require__(7261), checkCorrectnessOfIteration = __webpack_require__(34124), speciesConstructor = __webpack_require__(94850), task = __webpack_require__(46660).set, microtask = __webpack_require__(50277), promiseResolve = __webpack_require__(56540), hostReportErrors = __webpack_require__(85033), newPromiseCapabilityModule = __webpack_require__(11098), perform = __webpack_require__(68275), InternalStateModule = __webpack_require__(44670), isForced = __webpack_require__(23736), wellKnownSymbol = __webpack_require__(81019), IS_BROWSER = __webpack_require__(23573), IS_NODE = __webpack_require__(96590), V8_VERSION = __webpack_require__(50661), SPECIES = wellKnownSymbol("species"), PROMISE = "Promise", getInternalState = InternalStateModule.get, setInternalState = InternalStateModule.set, getInternalPromiseState = InternalStateModule.getterFor(PROMISE), NativePromisePrototype = NativePromise && NativePromise.prototype, PromiseConstructor = NativePromise, PromiseConstructorPrototype = NativePromisePrototype, TypeError = global.TypeError, document = global.document, process = global.process, newPromiseCapability = newPromiseCapabilityModule.f, newGenericPromiseCapability = newPromiseCapability, DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent), NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent), UNHANDLED_REJECTION = "unhandledrejection", SUBCLASSING = !1, FORCED = isForced(PROMISE, function() {
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor), GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor); var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor), GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
if (!GLOBAL_CORE_JS_PROMISE && 66 === V8_VERSION) return !0; if (!GLOBAL_CORE_JS_PROMISE && 66 === V8_VERSION || IS_PURE && !PromiseConstructorPrototype.finally) return !0;
if (IS_PURE && !PromiseConstructorPrototype.finally) return !0;
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return !1; if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return !1;
var promise = new PromiseConstructor(function(resolve) { var promise = new PromiseConstructor(function(resolve) {
resolve(1); resolve(1);
@ -7496,8 +7488,7 @@
} }
for(var results = [];;){ for(var results = [];;){
var result = regExpExec(rx, S); var result = regExpExec(rx, S);
if (null === result) break; if (null === result || (results.push(result), !global)) break;
if (results.push(result), !global) break;
"" === toString(result[0]) && (rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode)); "" === toString(result[0]) && (rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode));
} }
for(var accumulatedResult = "", nextSourcePosition = 0, i = 0; i < results.length; i++){ for(var accumulatedResult = "", nextSourcePosition = 0, i = 0; i < results.length; i++){
@ -8585,12 +8576,10 @@
var EOF, $ = __webpack_require__(35437), DESCRIPTORS = __webpack_require__(87122), USE_NATIVE_URL = __webpack_require__(62902), global = __webpack_require__(19514), defineProperties = __webpack_require__(68381), redefine = __webpack_require__(78109), anInstance = __webpack_require__(51819), has = __webpack_require__(1521), assign = __webpack_require__(59038), arrayFrom = __webpack_require__(83581), codeAt = __webpack_require__(88668).codeAt, toASCII = __webpack_require__(41075), $toString = __webpack_require__(72729), setToStringTag = __webpack_require__(77875), URLSearchParamsModule = __webpack_require__(79085), InternalStateModule = __webpack_require__(44670), NativeURL = global.URL, URLSearchParams = URLSearchParamsModule.URLSearchParams, getInternalSearchParamsState = URLSearchParamsModule.getState, setInternalState = InternalStateModule.set, getInternalURLState = InternalStateModule.getterFor("URL"), floor = Math.floor, pow = Math.pow, INVALID_SCHEME = "Invalid scheme", INVALID_HOST = "Invalid host", INVALID_PORT = "Invalid port", ALPHA = /[A-Za-z]/, ALPHANUMERIC = /[\d+-.A-Za-z]/, DIGIT = /\d/, HEX_START = /^0x/i, OCT = /^[0-7]+$/, DEC = /^\d+$/, HEX = /^[\dA-Fa-f]+$/, FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/, FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/, LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+|[\u0000-\u0020]+$/g, TAB_AND_NEW_LINE = /[\t\n\r]/g, parseHost = function(url, input) { var EOF, $ = __webpack_require__(35437), DESCRIPTORS = __webpack_require__(87122), USE_NATIVE_URL = __webpack_require__(62902), global = __webpack_require__(19514), defineProperties = __webpack_require__(68381), redefine = __webpack_require__(78109), anInstance = __webpack_require__(51819), has = __webpack_require__(1521), assign = __webpack_require__(59038), arrayFrom = __webpack_require__(83581), codeAt = __webpack_require__(88668).codeAt, toASCII = __webpack_require__(41075), $toString = __webpack_require__(72729), setToStringTag = __webpack_require__(77875), URLSearchParamsModule = __webpack_require__(79085), InternalStateModule = __webpack_require__(44670), NativeURL = global.URL, URLSearchParams = URLSearchParamsModule.URLSearchParams, getInternalSearchParamsState = URLSearchParamsModule.getState, setInternalState = InternalStateModule.set, getInternalURLState = InternalStateModule.getterFor("URL"), floor = Math.floor, pow = Math.pow, INVALID_SCHEME = "Invalid scheme", INVALID_HOST = "Invalid host", INVALID_PORT = "Invalid port", ALPHA = /[A-Za-z]/, ALPHANUMERIC = /[\d+-.A-Za-z]/, DIGIT = /\d/, HEX_START = /^0x/i, OCT = /^[0-7]+$/, DEC = /^\d+$/, HEX = /^[\dA-Fa-f]+$/, FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/, FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/, LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+|[\u0000-\u0020]+$/g, TAB_AND_NEW_LINE = /[\t\n\r]/g, parseHost = function(url, input) {
var result, codePoints, index; var result, codePoints, index;
if ("[" == input.charAt(0)) { if ("[" == input.charAt(0)) {
if ("]" != input.charAt(input.length - 1)) return INVALID_HOST; if ("]" != input.charAt(input.length - 1) || !(result = parseIPv6(input.slice(1, -1)))) return INVALID_HOST;
if (!(result = parseIPv6(input.slice(1, -1)))) return INVALID_HOST;
url.host = result; url.host = result;
} else if (isSpecial(url)) { } else if (isSpecial(url)) {
if (input = toASCII(input), FORBIDDEN_HOST_CODE_POINT.test(input)) return INVALID_HOST; if (input = toASCII(input), FORBIDDEN_HOST_CODE_POINT.test(input) || null === (result = parseIPv4(input))) return INVALID_HOST;
if (null === (result = parseIPv4(input))) return INVALID_HOST;
url.host = result; url.host = result;
} else { } else {
if (FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT.test(input)) return INVALID_HOST; if (FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT.test(input)) return INVALID_HOST;
@ -8640,8 +8629,7 @@
} }
for(value = length = 0; length < 4 && HEX.test(chr());)value = 16 * value + parseInt(chr(), 16), pointer++, length++; for(value = length = 0; length < 4 && HEX.test(chr());)value = 16 * value + parseInt(chr(), 16), pointer++, length++;
if ("." == chr()) { if ("." == chr()) {
if (0 == length) return; if (0 == length || (pointer -= length, pieceIndex > 6)) return;
if (pointer -= length, pieceIndex > 6) return;
for(numbersSeen = 0; chr();){ for(numbersSeen = 0; chr();){
if (ipv4Piece = null, numbersSeen > 0) { if (ipv4Piece = null, numbersSeen > 0) {
if ("." != chr() || !(numbersSeen < 4)) return; if ("." != chr() || !(numbersSeen < 4)) return;
@ -9792,8 +9780,7 @@
if (path !== encodedPath) replaceHashPath(encodedPath); if (path !== encodedPath) replaceHashPath(encodedPath);
else { else {
var a, b, location = getDOMLocation(), prevLocation = history.location; var a, b, location = getDOMLocation(), prevLocation = history.location;
if (!forceNextPop && (a = prevLocation, b = location, a.pathname === b.pathname && a.search === b.search && a.hash === b.hash)) return; if (!forceNextPop && (a = prevLocation, b = location, a.pathname === b.pathname && a.search === b.search && a.hash === b.hash) || ignorePath === createPath(location)) return;
if (ignorePath === createPath(location)) return;
ignorePath = null, handlePop(location); ignorePath = null, handlePop(location);
} }
} }
@ -10405,8 +10392,7 @@
}; };
} }
}(options3), ret = Object.create(null); }(options3), ret = Object.create(null);
if ("string" != typeof query) return ret; if ("string" != typeof query || !(query = query.trim().replace(/^[?#&]/, ""))) return ret;
if (!(query = query.trim().replace(/^[?#&]/, ""))) return ret;
for (const param of query.split("&")){ for (const param of query.split("&")){
if ("" === param) continue; if ("" === param) continue;
let [key, value] = splitOnFirst(options3.decode ? param.replace(/\+/g, " ") : param, "="); let [key, value] = splitOnFirst(options3.decode ? param.replace(/\+/g, " ") : param, "=");
@ -14549,8 +14535,7 @@
c = c.return; c = c.return;
} }
for(c.sibling.return = c.return, c = c.sibling; 5 !== c.tag && 6 !== c.tag && 18 !== c.tag;){ for(c.sibling.return = c.return, c = c.sibling; 5 !== c.tag && 6 !== c.tag && 18 !== c.tag;){
if (2 & c.flags) continue b; if (2 & c.flags || null === c.child || 4 === c.tag) continue b;
if (null === c.child || 4 === c.tag) continue b;
c.child.return = c, c = c.child; c.child.return = c, c = c.child;
} }
if (!(2 & c.flags)) { if (!(2 & c.flags)) {

View File

@ -1,5 +1,5 @@
foo({ foo({
bar: function(data, baz) { bar: function(data, baz) {
!(!(baz ? data.quxA : data.quxB) && !(baz ? data.corgeA : data.corgeB) && (baz ? data.get("waldo") : data.waldo)) ? (baz ? data.quxA : data.quxB) || (baz ? data.get("waldo") : data.waldo) || (baz ? !data.corgeA : !data.corgeB) || pass() : pass(); !(!(baz ? data.quxA : data.quxB) && !(baz ? data.corgeA : data.corgeB) && (baz ? data.get("waldo") : data.waldo)) && ((baz ? data.quxA : data.quxB) || (baz ? data.get("waldo") : data.waldo) || (baz ? !data.corgeA : !data.corgeB)) || pass();
} }
}); });

View File

@ -1243,7 +1243,7 @@
}, k.setRequestHeader = function(a, b) { }, k.setRequestHeader = function(a, b) {
this.v.append(a, b); this.v.append(a, b);
}, k.getResponseHeader = function(a) { }, k.getResponseHeader = function(a) {
return this.h ? this.h.get(a.toLowerCase()) || "" : ""; return this.h && this.h.get(a.toLowerCase()) || "";
}, k.getAllResponseHeaders = function() { }, k.getAllResponseHeaders = function() {
if (!this.h) return ""; if (!this.h) return "";
const a = [], b = this.h.entries(); const a = [], b = this.h.entries();
@ -1368,7 +1368,7 @@
}), b6), "string" == typeof a ? null != c8 && encodeURIComponent(String(c8)) : R(a, b, c8)); }), b6), "string" == typeof a ? null != c8 && encodeURIComponent(String(c8)) : R(a, b, c8));
} }
function Hd(a, b, c) { function Hd(a, b, c) {
return c && c.internalChannelParams ? c.internalChannelParams[a] || b : b; return c && c.internalChannelParams && c.internalChannelParams[a] || b;
} }
function Id(a) { function Id(a) {
this.za = 0, this.l = [], this.h = new Mb(), this.la = this.oa = this.F = this.W = this.g = this.sa = this.D = this.aa = this.o = this.P = this.s = null, this.Za = this.V = 0, this.Xa = Hd("failFast", !1, a), this.N = this.v = this.u = this.m = this.j = null, this.X = !0, this.I = this.ta = this.U = -1, this.Y = this.A = this.C = 0, this.Pa = Hd("baseRetryDelayMs", 5e3, a), this.$a = Hd("retryDelaySeedMs", 1e4, a), this.Ya = Hd("forwardChannelMaxRetries", 2, a), this.ra = Hd("forwardChannelRequestTimeoutMs", 2e4, a), this.qa = a && a.xmlHttpFactory || void 0, this.Ba = a && a.Yb || !1, this.K = void 0, this.H = a && a.supportsCrossDomainXhr || !1, this.J = "", this.i = new gd(a && a.concurrentRequestLimit), this.Ca = new ld(), this.ja = a && a.fastHandshake || !1, this.Ra = a && a.Wb || !1, a && a.Aa && this.h.Aa(), a && a.forceLongPolling && (this.X = !1), this.$ = !this.ja && this.X && a && a.detectBufferingProxy || !1, this.ka = void 0, this.O = 0, this.L = !1, this.B = null, this.Wa = !a || !1 !== a.Xb; this.za = 0, this.l = [], this.h = new Mb(), this.la = this.oa = this.F = this.W = this.g = this.sa = this.D = this.aa = this.o = this.P = this.s = null, this.Za = this.V = 0, this.Xa = Hd("failFast", !1, a), this.N = this.v = this.u = this.m = this.j = null, this.X = !0, this.I = this.ta = this.U = -1, this.Y = this.A = this.C = 0, this.Pa = Hd("baseRetryDelayMs", 5e3, a), this.$a = Hd("retryDelaySeedMs", 1e4, a), this.Ya = Hd("forwardChannelMaxRetries", 2, a), this.ra = Hd("forwardChannelRequestTimeoutMs", 2e4, a), this.qa = a && a.xmlHttpFactory || void 0, this.Ba = a && a.Yb || !1, this.K = void 0, this.H = a && a.supportsCrossDomainXhr || !1, this.J = "", this.i = new gd(a && a.concurrentRequestLimit), this.Ca = new ld(), this.ja = a && a.fastHandshake || !1, this.Ra = a && a.Wb || !1, a && a.Aa && this.h.Aa(), a && a.forceLongPolling && (this.X = !1), this.$ = !this.ja && this.X && a && a.detectBufferingProxy || !1, this.ka = void 0, this.O = 0, this.L = !1, this.B = null, this.Wa = !a || !1 !== a.Xb;

View File

@ -215,10 +215,8 @@
X.T = -1; X.T = -1;
class it { class it {
constructor(t, e){ constructor(t, e){
if (this.seconds = t, this.nanoseconds = e, e < 0) throw new j(K.INVALID_ARGUMENT, "Timestamp nanoseconds out of range: " + e); if (this.seconds = t, this.nanoseconds = e, e < 0 || e >= 1e9) throw new j(K.INVALID_ARGUMENT, "Timestamp nanoseconds out of range: " + e);
if (e >= 1e9) throw new j(K.INVALID_ARGUMENT, "Timestamp nanoseconds out of range: " + e); if (t < -62135596800 || t >= 253402300800) throw new j(K.INVALID_ARGUMENT, "Timestamp seconds out of range: " + t);
if (t < -62135596800) throw new j(K.INVALID_ARGUMENT, "Timestamp seconds out of range: " + t);
if (t >= 253402300800) throw new j(K.INVALID_ARGUMENT, "Timestamp seconds out of range: " + t);
} }
static now() { static now() {
return it.fromMillis(Date.now()); return it.fromMillis(Date.now());
@ -880,8 +878,7 @@
} }
function zt(t, e) { function zt(t, e) {
var n, s; var n, s;
if (t.limit !== e.limit) return !1; if (t.limit !== e.limit || t.orderBy.length !== e.orderBy.length) return !1;
if (t.orderBy.length !== e.orderBy.length) return !1;
for(let n5 = 0; n5 < t.orderBy.length; n5++)if (!ue(t.orderBy[n5], e.orderBy[n5])) return !1; for(let n5 = 0; n5 < t.orderBy.length; n5++)if (!ue(t.orderBy[n5], e.orderBy[n5])) return !1;
if (t.filters.length !== e.filters.length) return !1; if (t.filters.length !== e.filters.length) return !1;
for(let i = 0; i < t.filters.length; i++)if (n = t.filters[i], s = e.filters[i], n.op !== s.op || !n.field.isEqual(s.field) || !Vt(n.value, s.value)) return !1; for(let i = 0; i < t.filters.length; i++)if (n = t.filters[i], s = e.filters[i], n.op !== s.op || !n.field.isEqual(s.field) || !Vt(n.value, s.value)) return !1;
@ -1036,8 +1033,7 @@
} }
function le(t, e) { function le(t, e) {
if (null === t) return null === e; if (null === t) return null === e;
if (null === e) return !1; if (null === e || t.before !== e.before || t.position.length !== e.position.length) return !1;
if (t.before !== e.before || t.position.length !== e.position.length) return !1;
for(let n = 0; n < t.position.length; n++)if (!Vt(t.position[n], e.position[n])) return !1; for(let n = 0; n < t.position.length; n++)if (!Vt(t.position[n], e.position[n])) return !1;
return !0; return !0;
} }
@ -1120,7 +1116,7 @@
}(t34, e15) && function(t, e) { }(t34, e15) && function(t, e) {
for (const n of t.filters)if (!n.matches(e)) return !1; for (const n of t.filters)if (!n.matches(e)) return !1;
return !0; return !0;
}(t34, e15) && (t33 = t34, e14 = e15, (!t33.startAt || !!he(t33.startAt, Te(t33), e14)) && !(t33.endAt && he(t33.endAt, Te(t33), e14))); }(t34, e15) && (t33 = t34, e14 = e15, !(t33.startAt && !he(t33.startAt, Te(t33), e14) || t33.endAt && he(t33.endAt, Te(t33), e14)));
} }
function ve(t35) { function ve(t35) {
return (e, n)=>{ return (e, n)=>{
@ -1592,8 +1588,7 @@
return Math.pow(2, t) <= this.size + 1; return Math.pow(2, t) <= this.size + 1;
} }
check() { check() {
if (this.isRed() && this.left.isRed()) throw L(); if (this.isRed() && this.left.isRed() || this.right.isRed()) throw L();
if (this.right.isRed()) throw L();
const t = this.left.check(); const t = this.left.check();
if (t !== this.right.check()) throw L(); if (t !== this.right.check()) throw L();
return t + (this.isRed() ? 0 : 1); return t + (this.isRed() ? 0 : 1);
@ -1713,8 +1708,7 @@
}), e; }), e;
} }
isEqual(t) { isEqual(t) {
if (!(t instanceof gn)) return !1; if (!(t instanceof gn) || this.size !== t.size) return !1;
if (this.size !== t.size) return !1;
const e = this.data.getIterator(), n = t.data.getIterator(); const e = this.data.getIterator(), n = t.data.getIterator();
for(; e.hasNext();){ for(; e.hasNext();){
const t = e.getNext().key, s = n.getNext().key; const t = e.getNext().key, s = n.getNext().key;
@ -4808,8 +4802,7 @@
return e ? this.copy(this.keyedMap.remove(t), this.sortedSet.remove(e)) : this; return e ? this.copy(this.keyedMap.remove(t), this.sortedSet.remove(e)) : this;
} }
isEqual(t) { isEqual(t) {
if (!(t instanceof $o)) return !1; if (!(t instanceof $o) || this.size !== t.size) return !1;
if (this.size !== t.size) return !1;
const e = this.sortedSet.getIterator(), n = t.sortedSet.getIterator(); const e = this.sortedSet.getIterator(), n = t.sortedSet.getIterator();
for(; e.hasNext();){ for(; e.hasNext();){
const t = e.getNext().key, s = n.getNext().key; const t = e.getNext().key, s = n.getNext().key;
@ -5182,7 +5175,7 @@
if (a.approximateByteSize() > 0) { if (a.approximateByteSize() > 0) {
var t212, e116, n42; var t212, e116, n42;
const u = c.withResumeToken(a, s19).withSequenceNumber(t213.currentSequenceNumber); const u = c.withResumeToken(a, s19).withSequenceNumber(t213.currentSequenceNumber);
i = i.insert(r, u), t212 = c, e116 = u, n42 = e, ((e116.resumeToken.approximateByteSize() > 0 || L(), 0 === t212.resumeToken.approximateByteSize()) ? 0 : e116.snapshotVersion.toMicroseconds() - t212.snapshotVersion.toMicroseconds() >= 3e8 ? 0 : !(n42.addedDocuments.size + n42.modifiedDocuments.size + n42.removedDocuments.size > 0)) || o4.push(n43.ze.updateTargetData(t213, u)); i = i.insert(r, u), t212 = c, e116 = u, n42 = e, e116.resumeToken.approximateByteSize() > 0 || L(), (0 === t212.resumeToken.approximateByteSize() || e116.snapshotVersion.toMicroseconds() - t212.snapshotVersion.toMicroseconds() >= 3e8 || n42.addedDocuments.size + n42.modifiedDocuments.size + n42.removedDocuments.size > 0) && o4.push(n43.ze.updateTargetData(t213, u));
} }
}); });
let c2 = pn, r7; let c2 = pn, r7;

View File

@ -424,7 +424,7 @@
2000, 2000,
1 1
]).day(i), this._minWeekdaysParse[i] = this.weekdaysMin(mom, "").toLocaleLowerCase(), this._shortWeekdaysParse[i] = this.weekdaysShort(mom, "").toLocaleLowerCase(), this._weekdaysParse[i] = this.weekdays(mom, "").toLocaleLowerCase(); ]).day(i), this._minWeekdaysParse[i] = this.weekdaysMin(mom, "").toLocaleLowerCase(), this._shortWeekdaysParse[i] = this.weekdaysShort(mom, "").toLocaleLowerCase(), this._weekdaysParse[i] = this.weekdays(mom, "").toLocaleLowerCase();
return strict ? "dddd" === format ? -1 !== (ii = indexOf.call(this._weekdaysParse, llc)) ? ii : null : "ddd" === format ? -1 !== (ii = indexOf.call(this._shortWeekdaysParse, llc)) ? ii : null : -1 !== (ii = indexOf.call(this._minWeekdaysParse, llc)) ? ii : null : "dddd" === format ? -1 !== (ii = indexOf.call(this._weekdaysParse, llc)) ? ii : -1 !== (ii = indexOf.call(this._shortWeekdaysParse, llc)) ? ii : -1 !== (ii = indexOf.call(this._minWeekdaysParse, llc)) ? ii : null : "ddd" === format ? -1 !== (ii = indexOf.call(this._shortWeekdaysParse, llc)) ? ii : -1 !== (ii = indexOf.call(this._weekdaysParse, llc)) ? ii : -1 !== (ii = indexOf.call(this._minWeekdaysParse, llc)) ? ii : null : -1 !== (ii = indexOf.call(this._minWeekdaysParse, llc)) ? ii : -1 !== (ii = indexOf.call(this._weekdaysParse, llc)) ? ii : -1 !== (ii = indexOf.call(this._shortWeekdaysParse, llc)) ? ii : null; return strict ? "dddd" === format ? -1 !== (ii = indexOf.call(this._weekdaysParse, llc)) ? ii : null : "ddd" === format ? -1 !== (ii = indexOf.call(this._shortWeekdaysParse, llc)) ? ii : null : -1 !== (ii = indexOf.call(this._minWeekdaysParse, llc)) ? ii : null : "dddd" === format ? -1 !== (ii = indexOf.call(this._weekdaysParse, llc)) || -1 !== (ii = indexOf.call(this._shortWeekdaysParse, llc)) ? ii : -1 !== (ii = indexOf.call(this._minWeekdaysParse, llc)) ? ii : null : "ddd" === format ? -1 !== (ii = indexOf.call(this._shortWeekdaysParse, llc)) || -1 !== (ii = indexOf.call(this._weekdaysParse, llc)) ? ii : -1 !== (ii = indexOf.call(this._minWeekdaysParse, llc)) ? ii : null : -1 !== (ii = indexOf.call(this._minWeekdaysParse, llc)) || -1 !== (ii = indexOf.call(this._weekdaysParse, llc)) ? ii : -1 !== (ii = indexOf.call(this._shortWeekdaysParse, llc)) ? ii : null;
} }
function computeWeekdaysParse() { function computeWeekdaysParse() {
function cmpLenRev(a, b) { function cmpLenRev(a, b) {
@ -1244,8 +1244,7 @@
return new Moment(this); return new Moment(this);
}, proto.diff = function(input, units, asFloat) { }, proto.diff = function(input, units, asFloat) {
var that, zoneDelta, output; var that, zoneDelta, output;
if (!this.isValid()) return NaN; if (!this.isValid() || !(that = cloneWithOffset(input, this)).isValid()) return NaN;
if (!(that = cloneWithOffset(input, this)).isValid()) return NaN;
switch(zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4, units = normalizeUnits(units)){ switch(zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4, units = normalizeUnits(units)){
case "year": case "year":
output = monthDiff(this, that) / 12; output = monthDiff(this, that) / 12;
@ -1448,24 +1447,15 @@
}; };
}, proto.eraName = function() { }, proto.eraName = function() {
var i, l, val, eras = this.localeData().eras(); var i, l, val, eras = this.localeData().eras();
for(i = 0, l = eras.length; i < l; ++i){ for(i = 0, l = eras.length; i < l; ++i)if (val = this.clone().startOf("day").valueOf(), eras[i].since <= val && val <= eras[i].until || eras[i].until <= val && val <= eras[i].since) return eras[i].name;
if (val = this.clone().startOf("day").valueOf(), eras[i].since <= val && val <= eras[i].until) return eras[i].name;
if (eras[i].until <= val && val <= eras[i].since) return eras[i].name;
}
return ""; return "";
}, proto.eraNarrow = function() { }, proto.eraNarrow = function() {
var i, l, val, eras = this.localeData().eras(); var i, l, val, eras = this.localeData().eras();
for(i = 0, l = eras.length; i < l; ++i){ for(i = 0, l = eras.length; i < l; ++i)if (val = this.clone().startOf("day").valueOf(), eras[i].since <= val && val <= eras[i].until || eras[i].until <= val && val <= eras[i].since) return eras[i].narrow;
if (val = this.clone().startOf("day").valueOf(), eras[i].since <= val && val <= eras[i].until) return eras[i].narrow;
if (eras[i].until <= val && val <= eras[i].since) return eras[i].narrow;
}
return ""; return "";
}, proto.eraAbbr = function() { }, proto.eraAbbr = function() {
var i, l, val, eras = this.localeData().eras(); var i, l, val, eras = this.localeData().eras();
for(i = 0, l = eras.length; i < l; ++i){ for(i = 0, l = eras.length; i < l; ++i)if (val = this.clone().startOf("day").valueOf(), eras[i].since <= val && val <= eras[i].until || eras[i].until <= val && val <= eras[i].since) return eras[i].abbr;
if (val = this.clone().startOf("day").valueOf(), eras[i].since <= val && val <= eras[i].until) return eras[i].abbr;
if (eras[i].until <= val && val <= eras[i].since) return eras[i].abbr;
}
return ""; return "";
}, proto.eraYear = function() { }, proto.eraYear = function() {
var i, l, dir, val, eras = this.localeData().eras(); var i, l, dir, val, eras = this.localeData().eras();
@ -1640,14 +1630,10 @@
}, proto$1.monthsParse = function(monthName, format, strict) { }, proto$1.monthsParse = function(monthName, format, strict) {
var i, mom, regex; var i, mom, regex;
if (this._monthsParseExact) return handleStrictParse.call(this, monthName, format, strict); if (this._monthsParseExact) return handleStrictParse.call(this, monthName, format, strict);
for(this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), i = 0; i < 12; i++){ for(this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), i = 0; i < 12; i++)if (mom = createUTC([
if (mom = createUTC([ 2000,
2000, i
i ]), strict && !this._longMonthsParse[i] && (this._longMonthsParse[i] = new RegExp("^" + this.months(mom, "").replace(".", "") + "$", "i"), this._shortMonthsParse[i] = new RegExp("^" + this.monthsShort(mom, "").replace(".", "") + "$", "i")), strict || this._monthsParse[i] || (regex = "^" + this.months(mom, "") + "|^" + this.monthsShort(mom, ""), this._monthsParse[i] = new RegExp(regex.replace(".", ""), "i")), strict && "MMMM" === format && this._longMonthsParse[i].test(monthName) || strict && "MMM" === format && this._shortMonthsParse[i].test(monthName) || !strict && this._monthsParse[i].test(monthName)) return i;
]), strict && !this._longMonthsParse[i] && (this._longMonthsParse[i] = new RegExp("^" + this.months(mom, "").replace(".", "") + "$", "i"), this._shortMonthsParse[i] = new RegExp("^" + this.monthsShort(mom, "").replace(".", "") + "$", "i")), strict || this._monthsParse[i] || (regex = "^" + this.months(mom, "") + "|^" + this.monthsShort(mom, ""), this._monthsParse[i] = new RegExp(regex.replace(".", ""), "i")), strict && "MMMM" === format && this._longMonthsParse[i].test(monthName)) return i;
if (strict && "MMM" === format && this._shortMonthsParse[i].test(monthName)) return i;
if (!strict && this._monthsParse[i].test(monthName)) return i;
}
}, proto$1.monthsRegex = function(isStrict) { }, proto$1.monthsRegex = function(isStrict) {
return this._monthsParseExact ? (hasOwnProp(this, "_monthsRegex") || computeMonthsParse.call(this), isStrict) ? this._monthsStrictRegex : this._monthsRegex : (hasOwnProp(this, "_monthsRegex") || (this._monthsRegex = defaultMonthsRegex), this._monthsStrictRegex && isStrict ? this._monthsStrictRegex : this._monthsRegex); return this._monthsParseExact ? (hasOwnProp(this, "_monthsRegex") || computeMonthsParse.call(this), isStrict) ? this._monthsStrictRegex : this._monthsRegex : (hasOwnProp(this, "_monthsRegex") || (this._monthsRegex = defaultMonthsRegex), this._monthsStrictRegex && isStrict ? this._monthsStrictRegex : this._monthsRegex);
}, proto$1.monthsShortRegex = function(isStrict) { }, proto$1.monthsShortRegex = function(isStrict) {
@ -1668,15 +1654,10 @@
}, proto$1.weekdaysParse = function(weekdayName, format, strict) { }, proto$1.weekdaysParse = function(weekdayName, format, strict) {
var i, mom, regex; var i, mom, regex;
if (this._weekdaysParseExact) return handleStrictParse$1.call(this, weekdayName, format, strict); if (this._weekdaysParseExact) return handleStrictParse$1.call(this, weekdayName, format, strict);
for(this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), i = 0; i < 7; i++){ for(this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), i = 0; i < 7; i++)if (mom = createUTC([
if (mom = createUTC([ 2000,
2000, 1
1 ]).day(i), strict && !this._fullWeekdaysParse[i] && (this._fullWeekdaysParse[i] = new RegExp("^" + this.weekdays(mom, "").replace(".", "\\.?") + "$", "i"), this._shortWeekdaysParse[i] = new RegExp("^" + this.weekdaysShort(mom, "").replace(".", "\\.?") + "$", "i"), this._minWeekdaysParse[i] = new RegExp("^" + this.weekdaysMin(mom, "").replace(".", "\\.?") + "$", "i")), this._weekdaysParse[i] || (regex = "^" + this.weekdays(mom, "") + "|^" + this.weekdaysShort(mom, "") + "|^" + this.weekdaysMin(mom, ""), this._weekdaysParse[i] = new RegExp(regex.replace(".", ""), "i")), strict && "dddd" === format && this._fullWeekdaysParse[i].test(weekdayName) || strict && "ddd" === format && this._shortWeekdaysParse[i].test(weekdayName) || strict && "dd" === format && this._minWeekdaysParse[i].test(weekdayName) || !strict && this._weekdaysParse[i].test(weekdayName)) return i;
]).day(i), strict && !this._fullWeekdaysParse[i] && (this._fullWeekdaysParse[i] = new RegExp("^" + this.weekdays(mom, "").replace(".", "\\.?") + "$", "i"), this._shortWeekdaysParse[i] = new RegExp("^" + this.weekdaysShort(mom, "").replace(".", "\\.?") + "$", "i"), this._minWeekdaysParse[i] = new RegExp("^" + this.weekdaysMin(mom, "").replace(".", "\\.?") + "$", "i")), this._weekdaysParse[i] || (regex = "^" + this.weekdays(mom, "") + "|^" + this.weekdaysShort(mom, "") + "|^" + this.weekdaysMin(mom, ""), this._weekdaysParse[i] = new RegExp(regex.replace(".", ""), "i")), strict && "dddd" === format && this._fullWeekdaysParse[i].test(weekdayName)) return i;
if (strict && "ddd" === format && this._shortWeekdaysParse[i].test(weekdayName)) return i;
if (strict && "dd" === format && this._minWeekdaysParse[i].test(weekdayName)) return i;
if (!strict && this._weekdaysParse[i].test(weekdayName)) return i;
}
}, proto$1.weekdaysRegex = function(isStrict) { }, proto$1.weekdaysRegex = function(isStrict) {
return this._weekdaysParseExact ? (hasOwnProp(this, "_weekdaysRegex") || computeWeekdaysParse.call(this), isStrict) ? this._weekdaysStrictRegex : this._weekdaysRegex : (hasOwnProp(this, "_weekdaysRegex") || (this._weekdaysRegex = defaultWeekdaysRegex), this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex); return this._weekdaysParseExact ? (hasOwnProp(this, "_weekdaysRegex") || computeWeekdaysParse.call(this), isStrict) ? this._weekdaysStrictRegex : this._weekdaysRegex : (hasOwnProp(this, "_weekdaysRegex") || (this._weekdaysRegex = defaultWeekdaysRegex), this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex);
}, proto$1.weekdaysShortRegex = function(isStrict) { }, proto$1.weekdaysShortRegex = function(isStrict) {

View File

@ -24,8 +24,7 @@
value: !0 value: !0
}); });
}, __webpack_require__.t = function(value, mode) { }, __webpack_require__.t = function(value, mode) {
if (1 & mode && (value = __webpack_require__(value)), 8 & mode) return value; if (1 & mode && (value = __webpack_require__(value)), 8 & mode || 4 & mode && "object" == typeof value && value && value.__esModule) return value;
if (4 & mode && "object" == typeof value && value && value.__esModule) return value;
var ns = Object.create(null); var ns = Object.create(null);
if (__webpack_require__.r(ns), Object.defineProperty(ns, "default", { if (__webpack_require__.r(ns), Object.defineProperty(ns, "default", {
enumerable: !0, enumerable: !0,
@ -3089,8 +3088,7 @@
}, },
function(module, exports) { function(module, exports) {
module.exports = function() { module.exports = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -3367,8 +3365,7 @@
}(), barcode_reader = barcode_reader_BarcodeReader, code_128_reader = function(_BarcodeReader) { }(), barcode_reader = barcode_reader_BarcodeReader, code_128_reader = function(_BarcodeReader) {
inherits_default()(Code128Reader, _BarcodeReader); inherits_default()(Code128Reader, _BarcodeReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = Code128Reader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = Code128Reader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -4416,7 +4413,7 @@
else done = !0; else done = !0;
unshift && (codeset = codeset === this.CODE_A ? this.CODE_B : this.CODE_A); unshift && (codeset = codeset === this.CODE_A ? this.CODE_B : this.CODE_A);
} }
return null === code ? null : (code.end = this._nextUnset(this._row, code.end), this._verifyTrailingWhitespace(code)) ? (checksum -= multiplier * rawResult[rawResult.length - 1]) % 103 !== rawResult[rawResult.length - 1] ? null : result.length ? (removeLastCharacter && result.splice(result.length - 1, 1), { return null === code ? null : (code.end = this._nextUnset(this._row, code.end), this._verifyTrailingWhitespace(code) && (checksum -= multiplier * rawResult[rawResult.length - 1]) % 103 === rawResult[rawResult.length - 1] && result.length) ? (removeLastCharacter && result.splice(result.length - 1, 1), {
code: result.join(""), code: result.join(""),
start: startInfo.start, start: startInfo.start,
end: code.end, end: code.end,
@ -4425,7 +4422,7 @@
decodedCodes: decodedCodes, decodedCodes: decodedCodes,
endInfo: code, endInfo: code,
format: this.FORMAT format: this.FORMAT
}) : null : null; }) : null;
} }
}, },
{ {
@ -4614,8 +4611,7 @@
], ean_reader = function(_BarcodeReader) { ], ean_reader = function(_BarcodeReader) {
inherits_default()(EANReader, _BarcodeReader); inherits_default()(EANReader, _BarcodeReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = EANReader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = EANReader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -4788,13 +4784,10 @@
start: startInfo.start, start: startInfo.start,
end: startInfo.end end: startInfo.end
}; };
if (decodedCodes.push(code), !(code = this._decodePayload(code, result, decodedCodes))) return null; if (decodedCodes.push(code), !(code = this._decodePayload(code, result, decodedCodes)) || !(code = this._findEnd(code.end, !1)) || (decodedCodes.push(code), !this._checksum(result))) return null;
if (!(code = this._findEnd(code.end, !1))) return null;
if (decodedCodes.push(code), !this._checksum(result)) return null;
if (this.supplements.length > 0) { if (this.supplements.length > 0) {
var supplement = this._decodeExtensions(code.end); var supplement = this._decodeExtensions(code.end);
if (!supplement) return null; if (!supplement || !supplement.decodedCodes) return null;
if (!supplement.decodedCodes) return null;
var lastCode = supplement.decodedCodes[supplement.decodedCodes.length - 1], endInfo = { var lastCode = supplement.decodedCodes[supplement.decodedCodes.length - 1], endInfo = {
start: lastCode.start + ((lastCode.end - lastCode.start) / 2 | 0), start: lastCode.start + ((lastCode.end - lastCode.start) / 2 | 0),
end: lastCode.end end: lastCode.end
@ -4867,8 +4860,7 @@
]), code_39_reader = function(_BarcodeReader) { ]), code_39_reader = function(_BarcodeReader) {
inherits_default()(Code39Reader, _BarcodeReader); inherits_default()(Code39Reader, _BarcodeReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = Code39Reader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = Code39Reader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -4978,8 +4970,7 @@
do { do {
counters = this._toCounters(nextStart, counters); counters = this._toCounters(nextStart, counters);
var pattern = this._toPattern(counters); var pattern = this._toPattern(counters);
if (pattern < 0) return null; if (pattern < 0 || null === (decodedChar = this._patternToChar(pattern))) return null;
if (null === (decodedChar = this._patternToChar(pattern))) return null;
result.push(decodedChar), lastStart = nextStart, nextStart += array_helper.a.sum(counters), nextStart = this._nextSet(this._row, nextStart); result.push(decodedChar), lastStart = nextStart, nextStart += array_helper.a.sum(counters), nextStart = this._nextSet(this._row, nextStart);
}while ("*" !== decodedChar) }while ("*" !== decodedChar)
return (result.pop(), result.length && this._verifyTrailingWhitespace(lastStart, nextStart, counters)) ? { return (result.pop(), result.length && this._verifyTrailingWhitespace(lastStart, nextStart, counters)) ? {
@ -4999,8 +4990,7 @@
}, code_39_vin_reader = function(_Code39Reader) { }, code_39_vin_reader = function(_Code39Reader) {
inherits_default()(Code39VINReader, _Code39Reader); inherits_default()(Code39VINReader, _Code39Reader);
var Derived, hasNativeReflectConstruct, _super = (Derived = Code39VINReader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = Code39VINReader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -5090,8 +5080,7 @@
], codabar_reader = function(_BarcodeReader) { ], codabar_reader = function(_BarcodeReader) {
inherits_default()(NewCodabarReader, _BarcodeReader); inherits_default()(NewCodabarReader, _BarcodeReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = NewCodabarReader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = NewCodabarReader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -5262,9 +5251,7 @@
if (null === decodedChar) return null; if (null === decodedChar) return null;
if (result.push(decodedChar), nextStart += 8, result.length > 1 && this._isStartEnd(pattern)) break; if (result.push(decodedChar), nextStart += 8, result.length > 1 && this._isStartEnd(pattern)) break;
}while (nextStart < this._counters.length) }while (nextStart < this._counters.length)
if (result.length - 2 < 4 || !this._isStartEnd(pattern)) return null; if (result.length - 2 < 4 || !this._isStartEnd(pattern) || !this._verifyWhitespace(start.startCounter, nextStart - 8) || !this._validateResult(result, start.startCounter)) return null;
if (!this._verifyWhitespace(start.startCounter, nextStart - 8)) return null;
if (!this._validateResult(result, start.startCounter)) return null;
nextStart = nextStart > this._counters.length ? this._counters.length : nextStart; nextStart = nextStart > this._counters.length ? this._counters.length : nextStart;
var end = start.start + this._sumCounters(start.startCounter, nextStart - 8); var end = start.start + this._sumCounters(start.startCounter, nextStart - 8);
return { return {
@ -5281,8 +5268,7 @@
}(barcode_reader), upc_reader = function(_EANReader) { }(barcode_reader), upc_reader = function(_EANReader) {
inherits_default()(UPCReader, _EANReader); inherits_default()(UPCReader, _EANReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = UPCReader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = UPCReader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -5317,8 +5303,7 @@
}(ean_reader), ean_8_reader = function(_EANReader) { }(ean_reader), ean_8_reader = function(_EANReader) {
inherits_default()(EAN8Reader, _EANReader); inherits_default()(EAN8Reader, _EANReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = EAN8Reader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = EAN8Reader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -5362,8 +5347,7 @@
}(ean_reader), ean_2_reader = function(_EANReader) { }(ean_reader), ean_2_reader = function(_EANReader) {
inherits_default()(EAN2Reader, _EANReader); inherits_default()(EAN2Reader, _EANReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = EAN2Reader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = EAN2Reader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -5424,8 +5408,7 @@
], ean_5_reader = function(_EANReader) { ], ean_5_reader = function(_EANReader) {
inherits_default()(EAN5Reader, _EANReader); inherits_default()(EAN5Reader, _EANReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = EAN5Reader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = EAN5Reader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -5458,8 +5441,7 @@
if (!(code = this._decodeCode(offset))) return null; if (!(code = this._decodeCode(offset))) return null;
decodedCodes.push(code), result1.push(code.code % 10), code.code >= 10 && (codeFrequency1 |= 1 << 4 - i1), 4 !== i1 && (offset = this._nextSet(this._row, code.end), offset = this._nextUnset(this._row, offset)); decodedCodes.push(code), result1.push(code.code % 10), code.code >= 10 && (codeFrequency1 |= 1 << 4 - i1), 4 !== i1 && (offset = this._nextSet(this._row, code.end), offset = this._nextUnset(this._row, offset));
} }
if (5 !== result1.length) return null; if (5 !== result1.length || function(result) {
if (function(result) {
for(var length = result.length, sum = 0, i = length - 2; i >= 0; i -= 2)sum += result[i]; for(var length = result.length, sum = 0, i = length - 2; i >= 0; i -= 2)sum += result[i];
sum *= 3; sum *= 3;
for(var _i = length - 1; _i >= 0; _i -= 2)sum += result[_i]; for(var _i = length - 1; _i >= 0; _i -= 2)sum += result[_i];
@ -5494,8 +5476,7 @@
var upc_e_reader = function(_EANReader) { var upc_e_reader = function(_EANReader) {
inherits_default()(UPCEReader, _EANReader); inherits_default()(UPCEReader, _EANReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = UPCEReader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = UPCEReader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -5635,8 +5616,7 @@
}(ean_reader), i2of5_reader = function(_BarcodeReader) { }(ean_reader), i2of5_reader = function(_BarcodeReader) {
inherits_default()(I2of5Reader, _BarcodeReader); inherits_default()(I2of5Reader, _BarcodeReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = I2of5Reader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = I2of5Reader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -5880,7 +5860,7 @@
var endInfo = this._findEnd(); var endInfo = this._findEnd();
if (!endInfo) return null; if (!endInfo) return null;
var counters = this._fillCounters(startInfo.end, endInfo.start, !1); var counters = this._fillCounters(startInfo.end, endInfo.start, !1);
return this._verifyCounterLength(counters) && this._decodePayload(counters, result, decodedCodes) ? result.length % 2 != 0 || result.length < 6 ? null : (decodedCodes.push(endInfo), { return this._verifyCounterLength(counters) ? !this._decodePayload(counters, result, decodedCodes) || result.length % 2 != 0 || result.length < 6 ? null : (decodedCodes.push(endInfo), {
code: result.join(""), code: result.join(""),
start: startInfo.start, start: startInfo.start,
end: endInfo.end, end: endInfo.end,
@ -5980,8 +5960,7 @@
}, 0), _2of5_reader = function(_BarcodeReader) { }, 0), _2of5_reader = function(_BarcodeReader) {
inherits_default()(TwoOfFiveReader, _BarcodeReader); inherits_default()(TwoOfFiveReader, _BarcodeReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = TwoOfFiveReader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = TwoOfFiveReader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -6112,14 +6091,14 @@
var decodedCodes = []; var decodedCodes = [];
decodedCodes.push(startInfo); decodedCodes.push(startInfo);
var result = []; var result = [];
return this._decodePayload(counters, result, decodedCodes) ? result.length < 5 ? null : (decodedCodes.push(endInfo), { return !this._decodePayload(counters, result, decodedCodes) || result.length < 5 ? null : (decodedCodes.push(endInfo), {
code: result.join(""), code: result.join(""),
start: startInfo.start, start: startInfo.start,
end: endInfo.end, end: endInfo.end,
startInfo: startInfo, startInfo: startInfo,
decodedCodes: decodedCodes, decodedCodes: decodedCodes,
format: this.FORMAT format: this.FORMAT
}) : null; });
} }
}, },
]), TwoOfFiveReader; ]), TwoOfFiveReader;
@ -6177,8 +6156,7 @@
]), code_93_reader = function(_BarcodeReader) { ]), code_93_reader = function(_BarcodeReader) {
inherits_default()(Code93Reader, _BarcodeReader); inherits_default()(Code93Reader, _BarcodeReader);
var Derived, hasNativeReflectConstruct, _super = (Derived = Code93Reader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = Code93Reader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -6331,8 +6309,7 @@
do { do {
counters = this._toCounters(nextStart, counters); counters = this._toCounters(nextStart, counters);
var pattern = this._toPattern(counters); var pattern = this._toPattern(counters);
if (pattern < 0) return null; if (pattern < 0 || null === (decodedChar = this._patternToChar(pattern))) return null;
if (null === (decodedChar = this._patternToChar(pattern))) return null;
result.push(decodedChar), lastStart = nextStart, nextStart += array_helper.a.sum(counters), nextStart = this._nextSet(this._row, nextStart); result.push(decodedChar), lastStart = nextStart, nextStart += array_helper.a.sum(counters), nextStart = this._nextSet(this._row, nextStart);
}while ("*" !== decodedChar) }while ("*" !== decodedChar)
return (result.pop(), result.length && this._verifyEnd(lastStart, nextStart) && this._verifyChecksums(result)) ? (result = result.slice(0, result.length - 2), null === (result = this._decodeExtended(result))) ? null : { return (result.pop(), result.length && this._verifyEnd(lastStart, nextStart) && this._verifyChecksums(result)) ? (result = result.slice(0, result.length - 2), null === (result = this._decodeExtended(result))) ? null : {
@ -6352,8 +6329,7 @@
}, code_32_reader = function(_Code39Reader) { }, code_32_reader = function(_Code39Reader) {
inherits_default()(Code32Reader, _Code39Reader); inherits_default()(Code32Reader, _Code39Reader);
var Derived, hasNativeReflectConstruct, _super = (Derived = Code32Reader, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = Code32Reader, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;
@ -6398,8 +6374,7 @@
var result = get_default()(getPrototypeOf_default()(Code32Reader.prototype), "decode", this).call(this, row, start); var result = get_default()(getPrototypeOf_default()(Code32Reader.prototype), "decode", this).call(this, row, start);
if (!result) return null; if (!result) return null;
var code = result.code; var code = result.code;
if (!code) return null; if (!code || (code = code.replace(code_32_reader_patterns.AEIO, ""), !this._checkChecksum(code))) return null;
if (code = code.replace(code_32_reader_patterns.AEIO, ""), !this._checkChecksum(code)) return null;
var code32 = this._decodeCode32(code); var code32 = this._decodeCode32(code);
return code32 ? (result.code = code32, result) : null; return code32 ? (result.code = code32, result) : null;
} }
@ -6626,8 +6601,7 @@
}(), asyncToGenerator = __webpack_require__(20), asyncToGenerator_default = __webpack_require__.n(asyncToGenerator), regenerator = __webpack_require__(12), regenerator_default = __webpack_require__.n(regenerator), pick = __webpack_require__(85), pick_default = __webpack_require__.n(pick), wrapNativeSuper = __webpack_require__(86), wrapNativeSuper_default = __webpack_require__.n(wrapNativeSuper), Exception_Exception = function(_Error) { }(), asyncToGenerator = __webpack_require__(20), asyncToGenerator_default = __webpack_require__.n(asyncToGenerator), regenerator = __webpack_require__(12), regenerator_default = __webpack_require__.n(regenerator), pick = __webpack_require__(85), pick_default = __webpack_require__.n(pick), wrapNativeSuper = __webpack_require__(86), wrapNativeSuper_default = __webpack_require__.n(wrapNativeSuper), Exception_Exception = function(_Error) {
inherits_default()(Exception, _Error); inherits_default()(Exception, _Error);
var Derived, hasNativeReflectConstruct, _super = (Derived = Exception, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = Exception, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;

View File

@ -96,8 +96,7 @@ var ItemsList = function(_Component) {
var Derived, Constructor1, protoProps, staticProps, _super = (Derived = ItemsList1, function() { var Derived, Constructor1, protoProps, staticProps, _super = (Derived = ItemsList1, function() {
var self, call, result, Super = _getPrototypeOf(Derived); var self, call, result, Super = _getPrototypeOf(Derived);
if (function() { if (function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Date.prototype.toString.call(Reflect.construct(Date, [], function() {})), !0; return Date.prototype.toString.call(Reflect.construct(Date, [], function() {})), !0;

View File

@ -57,8 +57,7 @@
if (1 != parent.nodeType || hasBlockDesc(node) || atomElements.test(node.nodeName) || "false" == node.contentEditable) return !1; if (1 != parent.nodeType || hasBlockDesc(node) || atomElements.test(node.nodeName) || "false" == node.contentEditable) return !1;
off = domIndex(node) + (dir < 0 ? 0 : 1), node = parent; off = domIndex(node) + (dir < 0 ? 0 : 1), node = parent;
} else { } else {
if (1 != node.nodeType) return !1; if (1 != node.nodeType || "false" == (node = node.childNodes[off + (dir < 0 ? -1 : 0)]).contentEditable) return !1;
if ("false" == (node = node.childNodes[off + (dir < 0 ? -1 : 0)]).contentEditable) return !1;
off = dir < 0 ? nodeSize(node) : 0; off = dir < 0 ? nodeSize(node) : 0;
} }
} }
@ -1265,8 +1264,7 @@
} }
function selectVertically(view, dir, mods) { function selectVertically(view, dir, mods) {
var sel = view.state.selection; var sel = view.state.selection;
if (sel instanceof prosemirror_state__WEBPACK_IMPORTED_MODULE_0__.TextSelection && !sel.empty || mods.indexOf("s") > -1) return !1; if (sel instanceof prosemirror_state__WEBPACK_IMPORTED_MODULE_0__.TextSelection && !sel.empty || mods.indexOf("s") > -1 || result1.mac && mods.indexOf("m") > -1) return !1;
if (result1.mac && mods.indexOf("m") > -1) return !1;
var $from = sel.$from, $to = sel.$to; var $from = sel.$from, $to = sel.$to;
if (!$from.parent.inlineContent || view.endOfTextblock(dir < 0 ? "up" : "down")) { if (!$from.parent.inlineContent || view.endOfTextblock(dir < 0 ? "up" : "down")) {
var next = moveSelectionBlock(view.state, dir); var next = moveSelectionBlock(view.state, dir);
@ -1602,8 +1600,7 @@
}, DOMObserver.prototype.registerMutation = function(mut, added) { }, DOMObserver.prototype.registerMutation = function(mut, added) {
if (added.indexOf(mut.target) > -1) return null; if (added.indexOf(mut.target) > -1) return null;
var desc = this.view.docView.nearestDesc(mut.target); var desc = this.view.docView.nearestDesc(mut.target);
if ("attributes" == mut.type && (desc == this.view.docView || "contenteditable" == mut.attributeName || "style" == mut.attributeName && !mut.oldValue && !mut.target.getAttribute("style"))) return null; if ("attributes" == mut.type && (desc == this.view.docView || "contenteditable" == mut.attributeName || "style" == mut.attributeName && !mut.oldValue && !mut.target.getAttribute("style")) || !desc || desc.ignoreMutation(mut)) return null;
if (!desc || desc.ignoreMutation(mut)) return null;
if ("childList" == mut.type) { if ("childList" == mut.type) {
for(var i = 0; i < mut.addedNodes.length; i++)added.push(mut.addedNodes[i]); for(var i = 0; i < mut.addedNodes.length; i++)added.push(mut.addedNodes[i]);
if (desc.contentDOM && desc.contentDOM != desc.dom && !desc.contentDOM.contains(mut.target)) return { if (desc.contentDOM && desc.contentDOM != desc.dom && !desc.contentDOM.contains(mut.target)) return {
@ -2652,8 +2649,7 @@
var pos, elt1 = (view10.root.elementFromPoint ? view10.root : doc).elementFromPoint(coords3.left, coords3.top + 1); var pos, elt1 = (view10.root.elementFromPoint ? view10.root : doc).elementFromPoint(coords3.left, coords3.top + 1);
if (!elt1 || !view10.dom.contains(1 != elt1.nodeType ? elt1.parentNode : elt1)) { if (!elt1 || !view10.dom.contains(1 != elt1.nodeType ? elt1.parentNode : elt1)) {
var box = view10.dom.getBoundingClientRect(); var box = view10.dom.getBoundingClientRect();
if (!inRect(coords3, box)) return null; if (!inRect(coords3, box) || !(elt1 = elementFromPoint(view10.dom, coords3, box))) return null;
if (!(elt1 = elementFromPoint(view10.dom, coords3, box))) return null;
} }
if (result1.safari) for(var p = elt1; node1 && p; p = parentNode(p))p.draggable && (node1 = offset1 = null); if (result1.safari) for(var p = elt1; node1 && p; p = parentNode(p))p.draggable && (node1 = offset1 = null);
if (elt1 = (dom = elt1, coords1 = coords3, (parent = dom.parentNode) && /^li$/i.test(parent.nodeName) && coords1.left < dom.getBoundingClientRect().left ? parent : dom), node1) { if (elt1 = (dom = elt1, coords1 = coords3, (parent = dom.parentNode) && /^li$/i.test(parent.nodeName) && coords1.left < dom.getBoundingClientRect().left ? parent : dom), node1) {

View File

@ -2872,7 +2872,7 @@
}, _proto.enableInterval_ = function() { }, _proto.enableInterval_ = function() {
this.updateInterval || (this.updateInterval = this.setInterval(this.update, 30)); this.updateInterval || (this.updateInterval = this.setInterval(this.update, 30));
}, _proto.disableInterval_ = function(e) { }, _proto.disableInterval_ = function(e) {
this.player_.liveTracker && this.player_.liveTracker.isLive() && e && "ended" !== e.type || this.updateInterval && (this.clearInterval(this.updateInterval), this.updateInterval = null); this.player_.liveTracker && this.player_.liveTracker.isLive() && e && "ended" !== e.type || !this.updateInterval || (this.clearInterval(this.updateInterval), this.updateInterval = null);
}, _proto.createEl = function() { }, _proto.createEl = function() {
return _Slider.prototype.createEl.call(this, "div", { return _Slider.prototype.createEl.call(this, "div", {
className: "vjs-progress-holder" className: "vjs-progress-holder"
@ -6472,8 +6472,7 @@
return timeRangesList; return timeRangesList;
}, isRangeDifferent = function(a, b) { }, isRangeDifferent = function(a, b) {
if (a === b) return !1; if (a === b) return !1;
if (!a && b || !b && a) return !0; if (!a && b || !b && a || a.length !== b.length) return !0;
if (a.length !== b.length) return !0;
for(var i = 0; i < a.length; i++)if (a.start(i) !== b.start(i) || a.end(i) !== b.end(i)) return !0; for(var i = 0; i < a.length; i++)if (a.start(i) !== b.start(i) || a.end(i) !== b.end(i)) return !0;
return !1; return !1;
}, lastBufferedEnd = function(a) { }, lastBufferedEnd = function(a) {
@ -6900,8 +6899,7 @@
}, updateMaster$1 = function(master, newMedia, unchangedCheck) { }, updateMaster$1 = function(master, newMedia, unchangedCheck) {
void 0 === unchangedCheck && (unchangedCheck = isPlaylistUnchanged); void 0 === unchangedCheck && (unchangedCheck = isPlaylistUnchanged);
var result = mergeOptions$2(master, {}), oldMedia = result.playlists[newMedia.id]; var result = mergeOptions$2(master, {}), oldMedia = result.playlists[newMedia.id];
if (!oldMedia) return null; if (!oldMedia || unchangedCheck(oldMedia, newMedia)) return null;
if (unchangedCheck(oldMedia, newMedia)) return null;
newMedia.segments = getAllSegments(newMedia); newMedia.segments = getAllSegments(newMedia);
var mergedPlaylist = mergeOptions$2(oldMedia, newMedia); var mergedPlaylist = mergeOptions$2(oldMedia, newMedia);
if (mergedPlaylist.preloadSegment && !newMedia.preloadSegment && delete mergedPlaylist.preloadSegment, oldMedia.segments) { if (mergedPlaylist.preloadSegment && !newMedia.preloadSegment && delete mergedPlaylist.preloadSegment, oldMedia.segments) {
@ -7287,9 +7285,7 @@
return endRequestAndCallback(error, request, "", bytes); return endRequestAndCallback(error, request, "", bytes);
}); });
var type = (0, _videojs_vhs_utils_es_containers__WEBPACK_IMPORTED_MODULE_12__.Xm)(bytes); var type = (0, _videojs_vhs_utils_es_containers__WEBPACK_IMPORTED_MODULE_12__.Xm)(bytes);
return "ts" === type && bytes.length < 188 ? callbackOnCompleted(request, function() { return "ts" === type && bytes.length < 188 || !type && bytes.length < 376 ? callbackOnCompleted(request, function() {
return endRequestAndCallback(error, request, "", bytes);
}) : !type && bytes.length < 376 ? callbackOnCompleted(request, function() {
return endRequestAndCallback(error, request, "", bytes); return endRequestAndCallback(error, request, "", bytes);
}) : endRequestAndCallback(null, request, type, bytes); }) : endRequestAndCallback(null, request, type, bytes);
} }
@ -7307,18 +7303,14 @@
}); });
return request1; return request1;
}, EventTarget = videojs.EventTarget, mergeOptions = videojs.mergeOptions, dashPlaylistUnchanged = function(a, b) { }, EventTarget = videojs.EventTarget, mergeOptions = videojs.mergeOptions, dashPlaylistUnchanged = function(a, b) {
if (!isPlaylistUnchanged(a, b)) return !1; if (!isPlaylistUnchanged(a, b) || a.sidx && b.sidx && (a.sidx.offset !== b.sidx.offset || a.sidx.length !== b.sidx.length) || !a.sidx && b.sidx || a.sidx && !b.sidx || a.segments && !b.segments || !a.segments && b.segments) return !1;
if (a.sidx && b.sidx && (a.sidx.offset !== b.sidx.offset || a.sidx.length !== b.sidx.length)) return !1;
if (!a.sidx && b.sidx || a.sidx && !b.sidx) return !1;
if (a.segments && !b.segments || !a.segments && b.segments) return !1;
if (!a.segments && !b.segments) return !0; if (!a.segments && !b.segments) return !0;
for(var i = 0; i < a.segments.length; i++){ for(var i = 0; i < a.segments.length; i++){
var aSegment = a.segments[i], bSegment = b.segments[i]; var aSegment = a.segments[i], bSegment = b.segments[i];
if (aSegment.uri !== bSegment.uri) return !1; if (aSegment.uri !== bSegment.uri) return !1;
if (aSegment.byterange || bSegment.byterange) { if (aSegment.byterange || bSegment.byterange) {
var aByterange = aSegment.byterange, bByterange = bSegment.byterange; var aByterange = aSegment.byterange, bByterange = bSegment.byterange;
if (aByterange && !bByterange || !aByterange && bByterange) return !1; if (aByterange && !bByterange || !aByterange && bByterange || aByterange.offset !== bByterange.offset || aByterange.length !== bByterange.length) return !1;
if (aByterange.offset !== bByterange.offset || aByterange.length !== bByterange.length) return !1;
} }
} }
return !0; return !0;
@ -8834,7 +8826,7 @@
return result; return result;
}, },
parseUserData: function(sei) { parseUserData: function(sei) {
return 181 !== sei.payload[0] ? null : (sei.payload[1] << 8 | sei.payload[2]) != 49 ? null : "GA94" !== String.fromCharCode(sei.payload[3], sei.payload[4], sei.payload[5], sei.payload[6]) ? null : 0x03 !== sei.payload[7] ? null : sei.payload.subarray(8, sei.payload.length - 1); return 181 !== sei.payload[0] || (sei.payload[1] << 8 | sei.payload[2]) != 49 || "GA94" !== String.fromCharCode(sei.payload[3], sei.payload[4], sei.payload[5], sei.payload[6]) || 0x03 !== sei.payload[7] ? null : sei.payload.subarray(8, sei.payload.length - 1);
}, },
parseCaptionPackets: function(pts, userData) { parseCaptionPackets: function(pts, userData) {
var i, count, offset, data, results = []; var i, count, offset, data, results = [];
@ -9989,8 +9981,7 @@
var chunk, packet, tempLength, frameSize = 0, byteIndex = 0; var chunk, packet, tempLength, frameSize = 0, byteIndex = 0;
for(everything.length ? (tempLength = everything.length, (everything = new Uint8Array(bytes.byteLength + tempLength)).set(everything.subarray(0, tempLength)), everything.set(bytes, tempLength)) : everything = bytes; everything.length - byteIndex >= 3;){ for(everything.length ? (tempLength = everything.length, (everything = new Uint8Array(bytes.byteLength + tempLength)).set(everything.subarray(0, tempLength)), everything.set(bytes, tempLength)) : everything = bytes; everything.length - byteIndex >= 3;){
if (73 === everything[byteIndex] && 68 === everything[byteIndex + 1] && 51 === everything[byteIndex + 2]) { if (73 === everything[byteIndex] && 68 === everything[byteIndex + 1] && 51 === everything[byteIndex + 2]) {
if (everything.length - byteIndex < 10) break; if (everything.length - byteIndex < 10 || (frameSize = utils.parseId3TagSize(everything, byteIndex), byteIndex + frameSize > everything.length)) break;
if (frameSize = utils.parseId3TagSize(everything, byteIndex), byteIndex + frameSize > everything.length) break;
chunk = { chunk = {
type: "timed-metadata", type: "timed-metadata",
data: everything.subarray(byteIndex, byteIndex + frameSize) data: everything.subarray(byteIndex, byteIndex + frameSize)
@ -9998,8 +9989,7 @@
continue; continue;
} }
if ((0xff & everything[byteIndex]) == 0xff && (0xf0 & everything[byteIndex + 1]) == 0xf0) { if ((0xff & everything[byteIndex]) == 0xff && (0xf0 & everything[byteIndex + 1]) == 0xf0) {
if (everything.length - byteIndex < 7) break; if (everything.length - byteIndex < 7 || (frameSize = utils.parseAdtsSize(everything, byteIndex), byteIndex + frameSize > everything.length)) break;
if (frameSize = utils.parseAdtsSize(everything, byteIndex), byteIndex + frameSize > everything.length) break;
packet = { packet = {
type: "audio", type: "audio",
data: everything.subarray(byteIndex, byteIndex + frameSize), data: everything.subarray(byteIndex, byteIndex + frameSize),
@ -10187,8 +10177,7 @@
info: {} info: {}
}, timelineStartPts = 0; }, timelineStartPts = 0;
if (this.pendingTracks.length < this.numberOfTracks) { if (this.pendingTracks.length < this.numberOfTracks) {
if ("VideoSegmentStream" !== flushSource && "AudioSegmentStream" !== flushSource) return; if ("VideoSegmentStream" !== flushSource && "AudioSegmentStream" !== flushSource || this.remuxTracks) return;
if (this.remuxTracks) return;
if (0 === this.pendingTracks.length) { if (0 === this.pendingTracks.length) {
this.emittedTracks++, this.emittedTracks >= this.numberOfTracks && (this.trigger("done"), this.emittedTracks = 0); this.emittedTracks++, this.emittedTracks >= this.numberOfTracks && (this.trigger("done"), this.emittedTracks = 0);
return; return;
@ -10420,8 +10409,7 @@
return (!videoTrackIds || 0 !== videoTrackIds.length) && (!timescales || "object" != typeof timescales || 0 !== Object.keys(timescales).length) && (trackId !== videoTrackIds[0] || timescale !== timescales[trackId]); return (!videoTrackIds || 0 !== videoTrackIds.length) && (!timescales || "object" != typeof timescales || 0 !== Object.keys(timescales).length) && (trackId !== videoTrackIds[0] || timescale !== timescales[trackId]);
}, this.parse = function(segment, videoTrackIds, timescales) { }, this.parse = function(segment, videoTrackIds, timescales) {
var parsedData; var parsedData;
if (!this.isInitialized()) return null; if (!this.isInitialized() || !videoTrackIds || !timescales) return null;
if (!videoTrackIds || !timescales) return null;
if (this.isNewInit(videoTrackIds, timescales)) timescale = timescales[trackId = videoTrackIds[0]]; if (this.isNewInit(videoTrackIds, timescales)) timescale = timescales[trackId = videoTrackIds[0]];
else if (null === trackId || !timescale) return segmentCache.push(segment), null; else if (null === trackId || !timescale) return segmentCache.push(segment), null;
for(; segmentCache.length > 0;){ for(; segmentCache.length > 0;){
@ -10759,22 +10747,14 @@
var type = probe.aac.parseType(bytes, byteIndex); var type = probe.aac.parseType(bytes, byteIndex);
switch(type){ switch(type){
case "timed-metadata": case "timed-metadata":
if (bytes.length - byteIndex < 10) { if (bytes.length - byteIndex < 10 || (frameSize = probe.aac.parseId3TagSize(bytes, byteIndex)) > bytes.length) {
endLoop = !0;
break;
}
if ((frameSize = probe.aac.parseId3TagSize(bytes, byteIndex)) > bytes.length) {
endLoop = !0; endLoop = !0;
break; break;
} }
null === timestamp && (packet = bytes.subarray(byteIndex, byteIndex + frameSize), timestamp = probe.aac.parseAacTimestamp(packet)), byteIndex += frameSize; null === timestamp && (packet = bytes.subarray(byteIndex, byteIndex + frameSize), timestamp = probe.aac.parseAacTimestamp(packet)), byteIndex += frameSize;
break; break;
case "audio": case "audio":
if (bytes.length - byteIndex < 7) { if (bytes.length - byteIndex < 7 || (frameSize = probe.aac.parseAdtsSize(bytes, byteIndex)) > bytes.length) {
endLoop = !0;
break;
}
if ((frameSize = probe.aac.parseAdtsSize(bytes, byteIndex)) > bytes.length) {
endLoop = !0; endLoop = !0;
break; break;
} }
@ -11030,10 +11010,10 @@
if (transmuxer.onmessage = function(event) { if (transmuxer.onmessage = function(event) {
transmuxer.currentTransmux === options && ("data" === event.data.action && handleData_(event, transmuxedData, onData), "trackinfo" === event.data.action && onTrackInfo(event.data.trackInfo), "gopInfo" === event.data.action && handleGopInfo_(event, transmuxedData), "audioTimingInfo" === event.data.action && onAudioTimingInfo(event.data.audioTimingInfo), "videoTimingInfo" === event.data.action && onVideoTimingInfo(event.data.videoTimingInfo), "videoSegmentTimingInfo" === event.data.action && onVideoSegmentTimingInfo(event.data.videoSegmentTimingInfo), "audioSegmentTimingInfo" === event.data.action && onAudioSegmentTimingInfo(event.data.audioSegmentTimingInfo), "id3Frame" === event.data.action && onId3([ transmuxer.currentTransmux === options && ("data" === event.data.action && handleData_(event, transmuxedData, onData), "trackinfo" === event.data.action && onTrackInfo(event.data.trackInfo), "gopInfo" === event.data.action && handleGopInfo_(event, transmuxedData), "audioTimingInfo" === event.data.action && onAudioTimingInfo(event.data.audioTimingInfo), "videoTimingInfo" === event.data.action && onVideoTimingInfo(event.data.videoTimingInfo), "videoSegmentTimingInfo" === event.data.action && onVideoSegmentTimingInfo(event.data.videoSegmentTimingInfo), "audioSegmentTimingInfo" === event.data.action && onAudioSegmentTimingInfo(event.data.audioSegmentTimingInfo), "id3Frame" === event.data.action && onId3([
event.data.id3Frame event.data.id3Frame
], event.data.id3Frame.dispatchType), "caption" === event.data.action && onCaptions(event.data.caption), "endedtimeline" === event.data.action && (waitForEndedTimelineEvent = !1, onEndedTimeline()), "log" === event.data.action && onTransmuxerLog(event.data.log), "transmuxed" === event.data.type && (waitForEndedTimelineEvent || (transmuxer.onmessage = null, handleDone_({ ], event.data.id3Frame.dispatchType), "caption" === event.data.action && onCaptions(event.data.caption), "endedtimeline" === event.data.action && (waitForEndedTimelineEvent = !1, onEndedTimeline()), "log" === event.data.action && onTransmuxerLog(event.data.log), "transmuxed" !== event.data.type || waitForEndedTimelineEvent || (transmuxer.onmessage = null, handleDone_({
transmuxedData: transmuxedData, transmuxedData: transmuxedData,
callback: onDone callback: onDone
}), dequeue(transmuxer)))); }), dequeue(transmuxer)));
}, audioAppendStart && transmuxer.postMessage({ }, audioAppendStart && transmuxer.postMessage({
action: "setAudioAppendStart", action: "setAudioAppendStart",
appendStart: audioAppendStart appendStart: audioAppendStart
@ -11656,7 +11636,7 @@
return logFn1("could not choose a playlist with options", options), null; return logFn1("could not choose a playlist with options", options), null;
} }
}, lastBandwidthSelector = function() { }, lastBandwidthSelector = function() {
var pixelRatio = this.useDevicePixelRatio ? global_window__WEBPACK_IMPORTED_MODULE_0___default().devicePixelRatio || 1 : 1; var pixelRatio = this.useDevicePixelRatio && global_window__WEBPACK_IMPORTED_MODULE_0___default().devicePixelRatio || 1;
return simpleSelector(this.playlists.master, this.systemBandwidth, parseInt(safeGetComputedStyle(this.tech_.el(), "width"), 10) * pixelRatio, parseInt(safeGetComputedStyle(this.tech_.el(), "height"), 10) * pixelRatio, this.limitRenditionByPlayerDimensions, this.masterPlaylistController_); return simpleSelector(this.playlists.master, this.systemBandwidth, parseInt(safeGetComputedStyle(this.tech_.el(), "width"), 10) * pixelRatio, parseInt(safeGetComputedStyle(this.tech_.el(), "height"), 10) * pixelRatio, this.limitRenditionByPlayerDimensions, this.masterPlaylistController_);
}, minRebufferMaxBandwidthSelector = function(settings) { }, minRebufferMaxBandwidthSelector = function(settings) {
var master = settings.master, currentTime = settings.currentTime, bandwidth = settings.bandwidth, duration = settings.duration, segmentDuration = settings.segmentDuration, timeUntilRebuffer = settings.timeUntilRebuffer, currentTimeline = settings.currentTimeline, syncController = settings.syncController, compatiblePlaylists = master.playlists.filter(function(playlist) { var master = settings.master, currentTime = settings.currentTime, bandwidth = settings.bandwidth, duration = settings.duration, segmentDuration = settings.segmentDuration, timeUntilRebuffer = settings.timeUntilRebuffer, currentTimeline = settings.currentTimeline, syncController = settings.syncController, compatiblePlaylists = master.playlists.filter(function(playlist) {
@ -11798,8 +11778,7 @@
if (akeys.length !== bkeys.length) return !1; if (akeys.length !== bkeys.length) return !1;
for(var i = 0; i < akeys.length; i++){ for(var i = 0; i < akeys.length; i++){
var key = akeys[i]; var key = akeys[i];
if (key !== bkeys[i]) return !1; if (key !== bkeys[i] || a[key] !== b[key]) return !1;
if (a[key] !== b[key]) return !1;
} }
return !0; return !0;
}, getSyncSegmentCandidate = function(currentTimeline, segments, targetTime) { }, getSyncSegmentCandidate = function(currentTimeline, segments, targetTime) {
@ -12114,7 +12093,7 @@
}, _proto.timestampOffsetForSegment_ = function(options) { }, _proto.timestampOffsetForSegment_ = function(options) {
return timestampOffsetForSegment(options); return timestampOffsetForSegment(options);
}, _proto.earlyAbortWhenNeeded_ = function(stats) { }, _proto.earlyAbortWhenNeeded_ = function(stats) {
if (!this.vhs_.tech_.paused() && this.xhrOptions_.timeout && this.playlist_.attributes.BANDWIDTH && !(Date.now() - (stats.firstBytesReceivedAt || Date.now()) < 1000)) { if (!(this.vhs_.tech_.paused() || !this.xhrOptions_.timeout || !this.playlist_.attributes.BANDWIDTH || Date.now() - (stats.firstBytesReceivedAt || Date.now()) < 1000)) {
var buffered, currentTime, playbackRate, currentTime1 = this.currentTime_(), measuredBandwidth = stats.bandwidth, segmentDuration = this.pendingSegment_.duration, requestTimeRemaining = Playlist.estimateSegmentRequestTime(segmentDuration, measuredBandwidth, this.playlist_, stats.bytesReceived), timeUntilRebuffer$1 = (buffered = this.buffered_(), currentTime = currentTime1, void 0 === (playbackRate = this.vhs_.tech_.playbackRate()) && (playbackRate = 1), ((buffered.length ? buffered.end(buffered.length - 1) : 0) - currentTime) / playbackRate - 1); var buffered, currentTime, playbackRate, currentTime1 = this.currentTime_(), measuredBandwidth = stats.bandwidth, segmentDuration = this.pendingSegment_.duration, requestTimeRemaining = Playlist.estimateSegmentRequestTime(segmentDuration, measuredBandwidth, this.playlist_, stats.bytesReceived), timeUntilRebuffer$1 = (buffered = this.buffered_(), currentTime = currentTime1, void 0 === (playbackRate = this.vhs_.tech_.playbackRate()) && (playbackRate = 1), ((buffered.length ? buffered.end(buffered.length - 1) : 0) - currentTime) / playbackRate - 1);
if (!(requestTimeRemaining <= timeUntilRebuffer$1)) { if (!(requestTimeRemaining <= timeUntilRebuffer$1)) {
var switchCandidate = minRebufferMaxBandwidthSelector({ var switchCandidate = minRebufferMaxBandwidthSelector({
@ -12138,10 +12117,10 @@
}, _proto.handleProgress_ = function(event, simpleSegment) { }, _proto.handleProgress_ = function(event, simpleSegment) {
this.earlyAbortWhenNeeded_(simpleSegment.stats), this.checkForAbort_(simpleSegment.requestId) || this.trigger("progress"); this.earlyAbortWhenNeeded_(simpleSegment.stats), this.checkForAbort_(simpleSegment.requestId) || this.trigger("progress");
}, _proto.handleTrackInfo_ = function(simpleSegment, trackInfo) { }, _proto.handleTrackInfo_ = function(simpleSegment, trackInfo) {
this.earlyAbortWhenNeeded_(simpleSegment.stats), !this.checkForAbort_(simpleSegment.requestId) && (this.checkForIllegalMediaSwitch(trackInfo) || (trackInfo = trackInfo || {}, shallowEqual(this.currentMediaInfo_, trackInfo) || (this.appendInitSegment_ = { this.earlyAbortWhenNeeded_(simpleSegment.stats), this.checkForAbort_(simpleSegment.requestId) || this.checkForIllegalMediaSwitch(trackInfo) || (trackInfo = trackInfo || {}, shallowEqual(this.currentMediaInfo_, trackInfo) || (this.appendInitSegment_ = {
audio: !0, audio: !0,
video: !0 video: !0
}, this.startingMediaInfo_ = trackInfo, this.currentMediaInfo_ = trackInfo, this.logger_("trackinfo update", trackInfo), this.trigger("trackinfo")), !this.checkForAbort_(simpleSegment.requestId) && (this.pendingSegment_.trackInfo = trackInfo, this.hasEnoughInfoToAppend_() && this.processCallQueue_()))); }, this.startingMediaInfo_ = trackInfo, this.currentMediaInfo_ = trackInfo, this.logger_("trackinfo update", trackInfo), this.trigger("trackinfo")), !this.checkForAbort_(simpleSegment.requestId) && (this.pendingSegment_.trackInfo = trackInfo, this.hasEnoughInfoToAppend_() && this.processCallQueue_()));
}, _proto.handleTimingInfo_ = function(simpleSegment, mediaType, timeType, time) { }, _proto.handleTimingInfo_ = function(simpleSegment, mediaType, timeType, time) {
if (this.earlyAbortWhenNeeded_(simpleSegment.stats), !this.checkForAbort_(simpleSegment.requestId)) { if (this.earlyAbortWhenNeeded_(simpleSegment.stats), !this.checkForAbort_(simpleSegment.requestId)) {
var segmentInfo = this.pendingSegment_, timingInfoProperty = timingInfoPropertyForMedia(mediaType); var segmentInfo = this.pendingSegment_, timingInfoProperty = timingInfoPropertyForMedia(mediaType);
@ -12223,18 +12202,17 @@
}, _proto.getMediaInfo_ = function(segmentInfo) { }, _proto.getMediaInfo_ = function(segmentInfo) {
return void 0 === segmentInfo && (segmentInfo = this.pendingSegment_), this.getCurrentMediaInfo_(segmentInfo) || this.startingMediaInfo_; return void 0 === segmentInfo && (segmentInfo = this.pendingSegment_), this.getCurrentMediaInfo_(segmentInfo) || this.startingMediaInfo_;
}, _proto.hasEnoughInfoToAppend_ = function() { }, _proto.hasEnoughInfoToAppend_ = function() {
if (!this.sourceUpdater_.ready()) return !1; if (!this.sourceUpdater_.ready() || this.waitingOnRemove_ || this.quotaExceededErrorRetryTimeout_) return !1;
if (this.waitingOnRemove_ || this.quotaExceededErrorRetryTimeout_) return !1;
var segmentInfo = this.pendingSegment_, trackInfo = this.getCurrentMediaInfo_(); var segmentInfo = this.pendingSegment_, trackInfo = this.getCurrentMediaInfo_();
if (!segmentInfo || !trackInfo) return !1; if (!segmentInfo || !trackInfo) return !1;
var hasAudio = trackInfo.hasAudio, hasVideo = trackInfo.hasVideo, isMuxed = trackInfo.isMuxed; var hasAudio = trackInfo.hasAudio, hasVideo = trackInfo.hasVideo, isMuxed = trackInfo.isMuxed;
return (!hasVideo || !!segmentInfo.videoTimingInfo) && (!hasAudio || !!this.audioDisabled_ || !!isMuxed || !!segmentInfo.audioTimingInfo) && !shouldWaitForTimelineChange({ return !(hasVideo && !segmentInfo.videoTimingInfo || hasAudio && !this.audioDisabled_ && !isMuxed && !segmentInfo.audioTimingInfo || shouldWaitForTimelineChange({
timelineChangeController: this.timelineChangeController_, timelineChangeController: this.timelineChangeController_,
currentTimeline: this.currentTimeline_, currentTimeline: this.currentTimeline_,
segmentTimeline: segmentInfo.timeline, segmentTimeline: segmentInfo.timeline,
loaderType: this.loaderType_, loaderType: this.loaderType_,
audioDisabled: this.audioDisabled_ audioDisabled: this.audioDisabled_
}); }));
}, _proto.handleData_ = function(simpleSegment, result) { }, _proto.handleData_ = function(simpleSegment, result) {
if (this.earlyAbortWhenNeeded_(simpleSegment.stats), !this.checkForAbort_(simpleSegment.requestId)) { if (this.earlyAbortWhenNeeded_(simpleSegment.stats), !this.checkForAbort_(simpleSegment.requestId)) {
if (this.callQueue_.length || !this.hasEnoughInfoToAppend_()) { if (this.callQueue_.length || !this.hasEnoughInfoToAppend_()) {
@ -12595,7 +12573,7 @@
sourceUpdater.updating() || "closed" === sourceUpdater.mediaSource.readyState || (sourceUpdater.queue.shift(), queueEntry.action(sourceUpdater), queueEntry.doneFn && queueEntry.doneFn(), shiftQueue("audio", sourceUpdater), shiftQueue("video", sourceUpdater)); sourceUpdater.updating() || "closed" === sourceUpdater.mediaSource.readyState || (sourceUpdater.queue.shift(), queueEntry.action(sourceUpdater), queueEntry.doneFn && queueEntry.doneFn(), shiftQueue("audio", sourceUpdater), shiftQueue("video", sourceUpdater));
return; return;
} }
if ("mediaSource" !== type && !(!sourceUpdater.ready() || "closed" === sourceUpdater.mediaSource.readyState || _updating(type, sourceUpdater))) { if (!("mediaSource" === type || !sourceUpdater.ready() || "closed" === sourceUpdater.mediaSource.readyState || _updating(type, sourceUpdater))) {
if (queueEntry.type !== type) { if (queueEntry.type !== type) {
if (null === (queueIndex = nextQueueIndexOfType(type, sourceUpdater.queue))) return; if (null === (queueIndex = nextQueueIndexOfType(type, sourceUpdater.queue))) return;
queueEntry = sourceUpdater.queue[queueIndex]; queueEntry = sourceUpdater.queue[queueIndex];
@ -13639,10 +13617,7 @@
} }
} }
}, groupMatch1 = function groupMatch(list, media) { }, groupMatch1 = function groupMatch(list, media) {
for(var i = 0; i < list.length; i++){ for(var i = 0; i < list.length; i++)if (playlistMatch(media, list[i]) || list[i].playlists && groupMatch(list[i].playlists, media)) return !0;
if (playlistMatch(media, list[i])) return !0;
if (list[i].playlists && groupMatch(list[i].playlists, media)) return !0;
}
return !1; return !1;
}, activeTrack1 = { }, activeTrack1 = {
AUDIO: function(type, settings) { AUDIO: function(type, settings) {
@ -13695,9 +13670,9 @@
} }
else groups.main ? variants = groups.main : 1 === groupKeys.length && (variants = groups[groupKeys[0]]); else groups.main ? variants = groups.main : 1 === groupKeys.length && (variants = groups[groupKeys[0]]);
} }
return void 0 === track ? variants : null !== track && variants ? variants.filter(function(props) { return void 0 === track ? variants : null !== track && variants && variants.filter(function(props) {
return props.id === track.id; return props.id === track.id;
})[0] || null : null; })[0] || null;
}), mediaTypes[type].activeTrack = activeTrack1[type](type, settings4), mediaTypes[type].onGroupChanged = (type3 = type, settings1 = settings4, function() { }), mediaTypes[type].activeTrack = activeTrack1[type](type, settings4), mediaTypes[type].onGroupChanged = (type3 = type, settings1 = settings4, function() {
var _settings$segmentLoad = settings1.segmentLoaders, segmentLoader = _settings$segmentLoad[type3], mainSegmentLoader = _settings$segmentLoad.main, mediaType = settings1.mediaTypes[type3], activeTrack = mediaType.activeTrack(), activeGroup = mediaType.getActiveGroup(), previousActiveLoader = mediaType.activePlaylistLoader, lastGroup = mediaType.lastGroup_; var _settings$segmentLoad = settings1.segmentLoaders, segmentLoader = _settings$segmentLoad[type3], mainSegmentLoader = _settings$segmentLoad.main, mediaType = settings1.mediaTypes[type3], activeTrack = mediaType.activeTrack(), activeGroup = mediaType.getActiveGroup(), previousActiveLoader = mediaType.activePlaylistLoader, lastGroup = mediaType.lastGroup_;
if ((!activeGroup || !lastGroup || activeGroup.id !== lastGroup.id) && (mediaType.lastGroup_ = activeGroup, mediaType.lastTrack_ = activeTrack, stopLoaders(segmentLoader, mediaType), activeGroup && !activeGroup.isMasterPlaylist)) { if ((!activeGroup || !lastGroup || activeGroup.id !== lastGroup.id) && (mediaType.lastGroup_ = activeGroup, mediaType.lastTrack_ = activeTrack, stopLoaders(segmentLoader, mediaType), activeGroup && !activeGroup.isMasterPlaylist)) {
@ -13970,8 +13945,7 @@
_this3.loadOnPlay_ && _this3.tech_.off("play", _this3.loadOnPlay_); _this3.loadOnPlay_ && _this3.tech_.off("play", _this3.loadOnPlay_);
var selectedMedia, updatedPlaylist = _this3.masterPlaylistLoader_.media(); var selectedMedia, updatedPlaylist = _this3.masterPlaylistLoader_.media();
if (!updatedPlaylist) { if (!updatedPlaylist) {
if (_this3.excludeUnsupportedVariants_(), _this3.enableLowInitialPlaylist && (selectedMedia = _this3.selectInitialPlaylist()), selectedMedia || (selectedMedia = _this3.selectPlaylist()), !selectedMedia || !_this3.shouldSwitchToMedia_(selectedMedia)) return; if (_this3.excludeUnsupportedVariants_(), _this3.enableLowInitialPlaylist && (selectedMedia = _this3.selectInitialPlaylist()), selectedMedia || (selectedMedia = _this3.selectPlaylist()), !selectedMedia || !_this3.shouldSwitchToMedia_(selectedMedia) || (_this3.initialMedia_ = selectedMedia, _this3.switchMedia_(_this3.initialMedia_, "initial"), !("vhs-json" === _this3.sourceType_ && _this3.initialMedia_.segments))) return;
if (_this3.initialMedia_ = selectedMedia, _this3.switchMedia_(_this3.initialMedia_, "initial"), !("vhs-json" === _this3.sourceType_ && _this3.initialMedia_.segments)) return;
updatedPlaylist = _this3.initialMedia_; updatedPlaylist = _this3.initialMedia_;
} }
_this3.handleUpdatedMediaPlaylist(updatedPlaylist); _this3.handleUpdatedMediaPlaylist(updatedPlaylist);
@ -14263,18 +14237,12 @@
var expired = this.syncController_.getExpiredTime(media, this.duration()); var expired = this.syncController_.getExpiredTime(media, this.duration());
if (null !== expired) { if (null !== expired) {
var master = this.masterPlaylistLoader_.master, mainSeekable = Vhs$1.Playlist.seekable(media, expired, Vhs$1.Playlist.liveEdgeDelay(master, media)); var master = this.masterPlaylistLoader_.master, mainSeekable = Vhs$1.Playlist.seekable(media, expired, Vhs$1.Playlist.liveEdgeDelay(master, media));
if (0 !== mainSeekable.length) { 0 !== mainSeekable.length && (!this.mediaTypes_.AUDIO.activePlaylistLoader || (media = this.mediaTypes_.AUDIO.activePlaylistLoader.media(), null !== (expired = this.syncController_.getExpiredTime(media, this.duration())) && 0 !== (audioSeekable = Vhs$1.Playlist.seekable(media, expired, Vhs$1.Playlist.liveEdgeDelay(master, media))).length)) && (this.seekable_ && this.seekable_.length && (oldEnd = this.seekable_.end(0), oldStart = this.seekable_.start(0)), audioSeekable ? audioSeekable.start(0) > mainSeekable.end(0) || mainSeekable.start(0) > audioSeekable.end(0) ? this.seekable_ = mainSeekable : this.seekable_ = videojs.createTimeRanges([
if (this.mediaTypes_.AUDIO.activePlaylistLoader) { [
if (media = this.mediaTypes_.AUDIO.activePlaylistLoader.media(), null === (expired = this.syncController_.getExpiredTime(media, this.duration()))) return; audioSeekable.start(0) > mainSeekable.start(0) ? audioSeekable.start(0) : mainSeekable.start(0),
if (0 === (audioSeekable = Vhs$1.Playlist.seekable(media, expired, Vhs$1.Playlist.liveEdgeDelay(master, media))).length) return; audioSeekable.end(0) < mainSeekable.end(0) ? audioSeekable.end(0) : mainSeekable.end(0),
} ],
this.seekable_ && this.seekable_.length && (oldEnd = this.seekable_.end(0), oldStart = this.seekable_.start(0)), audioSeekable ? audioSeekable.start(0) > mainSeekable.end(0) || mainSeekable.start(0) > audioSeekable.end(0) ? this.seekable_ = mainSeekable : this.seekable_ = videojs.createTimeRanges([ ]) : this.seekable_ = mainSeekable, this.seekable_ && this.seekable_.length && this.seekable_.end(0) === oldEnd && this.seekable_.start(0) === oldStart || (this.logger_("seekable updated [" + printableRange(this.seekable_) + "]"), this.tech_.trigger("seekablechanged")));
[
audioSeekable.start(0) > mainSeekable.start(0) ? audioSeekable.start(0) : mainSeekable.start(0),
audioSeekable.end(0) < mainSeekable.end(0) ? audioSeekable.end(0) : mainSeekable.end(0),
],
]) : this.seekable_ = mainSeekable, this.seekable_ && this.seekable_.length && this.seekable_.end(0) === oldEnd && this.seekable_.start(0) === oldStart || (this.logger_("seekable updated [" + printableRange(this.seekable_) + "]"), this.tech_.trigger("seekablechanged"));
}
} }
} }
} }
@ -14692,7 +14660,7 @@
var average = -1, lastSystemBandwidth = -1; var average = -1, lastSystemBandwidth = -1;
if (decay < 0 || decay > 1) throw new Error("Moving average bandwidth decay must be between 0 and 1."); if (decay < 0 || decay > 1) throw new Error("Moving average bandwidth decay must be between 0 and 1.");
return function() { return function() {
var pixelRatio = this.useDevicePixelRatio ? global_window__WEBPACK_IMPORTED_MODULE_0___default().devicePixelRatio || 1 : 1; var pixelRatio = this.useDevicePixelRatio && global_window__WEBPACK_IMPORTED_MODULE_0___default().devicePixelRatio || 1;
return average < 0 && (average = this.systemBandwidth, lastSystemBandwidth = this.systemBandwidth), this.systemBandwidth > 0 && this.systemBandwidth !== lastSystemBandwidth && (average = decay * this.systemBandwidth + (1 - decay) * average, lastSystemBandwidth = this.systemBandwidth), simpleSelector(this.playlists.master, average, parseInt(safeGetComputedStyle(this.tech_.el(), "width"), 10) * pixelRatio, parseInt(safeGetComputedStyle(this.tech_.el(), "height"), 10) * pixelRatio, this.limitRenditionByPlayerDimensions, this.masterPlaylistController_); return average < 0 && (average = this.systemBandwidth, lastSystemBandwidth = this.systemBandwidth), this.systemBandwidth > 0 && this.systemBandwidth !== lastSystemBandwidth && (average = decay * this.systemBandwidth + (1 - decay) * average, lastSystemBandwidth = this.systemBandwidth), simpleSelector(this.playlists.master, average, parseInt(safeGetComputedStyle(this.tech_.el(), "width"), 10) * pixelRatio, parseInt(safeGetComputedStyle(this.tech_.el(), "height"), 10) * pixelRatio, this.limitRenditionByPlayerDimensions, this.masterPlaylistController_);
}; };
}, },

View File

@ -643,7 +643,7 @@
offset: 4 offset: 4
}) || (0, byte_helpers.G3)(bytes, CONSTANTS.fmp4, { }) || (0, byte_helpers.G3)(bytes, CONSTANTS.fmp4, {
offset: 4 offset: 4
})) || !!((0, byte_helpers.G3)(bytes, CONSTANTS.moof, { }) || (0, byte_helpers.G3)(bytes, CONSTANTS.moof, {
offset: 4 offset: 4
}) || (0, byte_helpers.G3)(bytes, CONSTANTS.moov, { }) || (0, byte_helpers.G3)(bytes, CONSTANTS.moov, {
offset: 4 offset: 4
@ -1198,8 +1198,7 @@
} }
function needNamespaceDefine(node, isHTML, visibleNamespaces) { function needNamespaceDefine(node, isHTML, visibleNamespaces) {
var prefix = node.prefix || "", uri = node.namespaceURI; var prefix = node.prefix || "", uri = node.namespaceURI;
if (!uri) return !1; if (!uri || "xml" === prefix && uri === NAMESPACE.XML || uri === NAMESPACE.XMLNS) return !1;
if ("xml" === prefix && uri === NAMESPACE.XML || uri === NAMESPACE.XMLNS) return !1;
for(var i = visibleNamespaces.length; i--;){ for(var i = visibleNamespaces.length; i--;){
var ns = visibleNamespaces[i]; var ns = visibleNamespaces[i];
if (ns.prefix === prefix) return ns.namespace !== uri; if (ns.prefix === prefix) return ns.namespace !== uri;
@ -4065,9 +4064,7 @@
continue; continue;
} }
var m2 = t.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/); var m2 = t.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);
if (!m2) continue; if (!m2 || !(node = createElement(m2[1], m2[3])) || !shouldAdd(current1, node)) continue;
if (!(node = createElement(m2[1], m2[3]))) continue;
if (!shouldAdd(current1, node)) continue;
if (m2[2]) { if (m2[2]) {
var classes = m2[2].split("."); var classes = m2[2].split(".");
classes.forEach(function(cl) { classes.forEach(function(cl) {
@ -5190,8 +5187,7 @@
if ("string" == typeof value) return fromString(value, encodingOrOffset); if ("string" == typeof value) return fromString(value, encodingOrOffset);
if (ArrayBuffer.isView(value)) return fromArrayLike(value); if (ArrayBuffer.isView(value)) return fromArrayLike(value);
if (null == value) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value); if (null == value) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value);
if (isInstance(value, ArrayBuffer) || value && isInstance(value.buffer, ArrayBuffer)) return fromArrayBuffer(value, encodingOrOffset, length); if (isInstance(value, ArrayBuffer) || value && isInstance(value.buffer, ArrayBuffer) || "undefined" != typeof SharedArrayBuffer && (isInstance(value, SharedArrayBuffer) || value && isInstance(value.buffer, SharedArrayBuffer))) return fromArrayBuffer(value, encodingOrOffset, length);
if ("undefined" != typeof SharedArrayBuffer && (isInstance(value, SharedArrayBuffer) || value && isInstance(value.buffer, SharedArrayBuffer))) return fromArrayBuffer(value, encodingOrOffset, length);
if ("number" == typeof value) throw new TypeError('The "value" argument must not be of type number. Received type number'); if ("number" == typeof value) throw new TypeError('The "value" argument must not be of type number. Received type number');
var valueOf = value.valueOf && value.valueOf(); var valueOf = value.valueOf && value.valueOf();
if (null != valueOf && valueOf !== value) return Buffer.from(valueOf, encodingOrOffset, length); if (null != valueOf && valueOf !== value) return Buffer.from(valueOf, encodingOrOffset, length);
@ -5263,9 +5259,7 @@
} }
function slowToString(encoding, start, end) { function slowToString(encoding, start, end) {
var loweredCase = !1; var loweredCase = !1;
if ((void 0 === start || start < 0) && (start = 0), start > this.length) return ""; if ((void 0 === start || start < 0) && (start = 0), start > this.length || ((void 0 === end || end > this.length) && (end = this.length), end <= 0 || (end >>>= 0) <= (start >>>= 0))) return "";
if ((void 0 === end || end > this.length) && (end = this.length), end <= 0) return "";
if ((end >>>= 0) <= (start >>>= 0)) return "";
for(encoding || (encoding = "utf8");;)switch(encoding){ for(encoding || (encoding = "utf8");;)switch(encoding){
case "hex": case "hex":
return hexSlice(this, start, end); return hexSlice(this, start, end);
@ -5422,8 +5416,7 @@
if (offset + ext > buf.length) throw new RangeError("Index out of range"); if (offset + ext > buf.length) throw new RangeError("Index out of range");
} }
function checkIEEE754(buf, value, offset, ext, max, min) { function checkIEEE754(buf, value, offset, ext, max, min) {
if (offset + ext > buf.length) throw new RangeError("Index out of range"); if (offset + ext > buf.length || offset < 0) throw new RangeError("Index out of range");
if (offset < 0) throw new RangeError("Index out of range");
} }
function writeFloat(buf, value, offset, littleEndian, noAssert) { function writeFloat(buf, value, offset, littleEndian, noAssert) {
return value = +value, offset >>>= 0, noAssert || checkIEEE754(buf, value, offset, 4, 3.4028234663852886e38, -340282346638528860000000000000000000000), ieee754.write(buf, value, offset, littleEndian, 23, 4), offset + 4; return value = +value, offset >>>= 0, noAssert || checkIEEE754(buf, value, offset, 4, 3.4028234663852886e38, -340282346638528860000000000000000000000), ieee754.write(buf, value, offset, littleEndian, 23, 4), offset + 4;
@ -5693,8 +5686,7 @@
return writeDouble(this, value, offset, !1, noAssert); return writeDouble(this, value, offset, !1, noAssert);
}, Buffer.prototype.copy = function(target, targetStart, start, end) { }, Buffer.prototype.copy = function(target, targetStart, start, end) {
if (!Buffer.isBuffer(target)) throw new TypeError("argument should be a Buffer"); if (!Buffer.isBuffer(target)) throw new TypeError("argument should be a Buffer");
if (start || (start = 0), end || 0 === end || (end = this.length), targetStart >= target.length && (targetStart = target.length), targetStart || (targetStart = 0), end > 0 && end < start && (end = start), end === start) return 0; if (start || (start = 0), end || 0 === end || (end = this.length), targetStart >= target.length && (targetStart = target.length), targetStart || (targetStart = 0), end > 0 && end < start && (end = start), end === start || 0 === target.length || 0 === this.length) return 0;
if (0 === target.length || 0 === this.length) return 0;
if (targetStart < 0) throw new RangeError("targetStart out of bounds"); if (targetStart < 0) throw new RangeError("targetStart out of bounds");
if (start < 0 || start >= this.length) throw new RangeError("Index out of range"); if (start < 0 || start >= this.length) throw new RangeError("Index out of range");
if (end < 0) throw new RangeError("sourceEnd out of bounds"); if (end < 0) throw new RangeError("sourceEnd out of bounds");
@ -5729,11 +5721,7 @@
for(var codePoint, length = string.length, leadSurrogate = null, bytes = [], i = 0; i < length; ++i){ for(var codePoint, length = string.length, leadSurrogate = null, bytes = [], i = 0; i < length; ++i){
if ((codePoint = string.charCodeAt(i)) > 0xd7ff && codePoint < 0xe000) { if ((codePoint = string.charCodeAt(i)) > 0xd7ff && codePoint < 0xe000) {
if (!leadSurrogate) { if (!leadSurrogate) {
if (codePoint > 0xdbff) { if (codePoint > 0xdbff || i + 1 === length) {
(units -= 3) > -1 && bytes.push(0xef, 0xbf, 0xbd);
continue;
}
if (i + 1 === length) {
(units -= 3) > -1 && bytes.push(0xef, 0xbf, 0xbd); (units -= 3) > -1 && bytes.push(0xef, 0xbf, 0xbd);
continue; continue;
} }
@ -5830,8 +5818,7 @@
var setPrototypeOf = __webpack_require__(9611); var setPrototypeOf = __webpack_require__(9611);
function _construct(Parent1, args1, Class1) { function _construct(Parent1, args1, Class1) {
return (_construct = !function() { return (_construct = !function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0; return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0;

View File

@ -847,10 +847,7 @@
function lineIsHidden(doc, line) { function lineIsHidden(doc, line) {
var sps = sawCollapsedSpans && line.markedSpans; var sps = sawCollapsedSpans && line.markedSpans;
if (sps) { if (sps) {
for(var sp = void 0, i = 0; i < sps.length; ++i)if ((sp = sps[i]).marker.collapsed) { for(var sp = void 0, i = 0; i < sps.length; ++i)if ((sp = sps[i]).marker.collapsed && (null == sp.from || !sp.marker.widgetNode && 0 == sp.from && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp))) return !0;
if (null == sp.from) return !0;
if (!sp.marker.widgetNode && 0 == sp.from && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp)) return !0;
}
} }
} }
function lineIsHiddenInner(doc, line, span) { function lineIsHiddenInner(doc, line, span) {
@ -1553,8 +1550,7 @@
return coords; return coords;
} }
function findViewIndex(cm, n) { function findViewIndex(cm, n) {
if (n >= cm.display.viewTo) return null; if (n >= cm.display.viewTo || (n -= cm.display.viewFrom) < 0) return null;
if ((n -= cm.display.viewFrom) < 0) return null;
for(var view = cm.display.view, i = 0; i < view.length; i++)if ((n -= view[i].size) < 0) return i; for(var view = cm.display.view, i = 0; i < view.length; i++)if ((n -= view[i].size) < 0) return i;
} }
function regChange(cm, from, to, lendiff) { function regChange(cm, from, to, lendiff) {
@ -3330,8 +3326,7 @@
lineInfo: function(line) { lineInfo: function(line) {
var n; var n;
if ("number" == typeof line) { if ("number" == typeof line) {
if (!isLine(this, line)) return null; if (!isLine(this, line) || (n = line, line = getLine(this, line), !line)) return null;
if (n = line, line = getLine(this, line), !line) return null;
} else if (null == (n = lineNo1(line))) return null; } else if (null == (n = lineNo1(line))) return null;
return { return {
line: n, line: n,
@ -4152,7 +4147,7 @@
16 == e.keyCode && (this.doc.sel.shift = !1), signalDOMEvent(this, e); 16 == e.keyCode && (this.doc.sel.shift = !1), signalDOMEvent(this, e);
} }
function onKeyPress(e) { function onKeyPress(e) {
if ((!e.target || e.target == this.display.input.getField()) && !(eventInWidget(this.display, e) || signalDOMEvent(this, e)) && (!e.ctrlKey || e.altKey) && (!mac || !e.metaKey)) { if (!(e.target && e.target != this.display.input.getField() || eventInWidget(this.display, e) || signalDOMEvent(this, e) || e.ctrlKey && !e.altKey || mac && e.metaKey)) {
var cm, keyCode = e.keyCode, charCode = e.charCode; var cm, keyCode = e.keyCode, charCode = e.charCode;
if (presto && keyCode == lastStoppedKey) { if (presto && keyCode == lastStoppedKey) {
lastStoppedKey = null, e_preventDefault(e); lastStoppedKey = null, e_preventDefault(e);
@ -4340,7 +4335,7 @@
return gutterEvent(cm, e, "gutterClick", !0); return gutterEvent(cm, e, "gutterClick", !0);
} }
function onContextMenu(cm, e) { function onContextMenu(cm, e) {
eventInWidget(cm.display, e) || contextMenuInGutter(cm, e) || !signalDOMEvent(cm, e, "contextmenu") && (captureRightClick || cm.display.input.onContextMenu(e)); !(eventInWidget(cm.display, e) || contextMenuInGutter(cm, e) || signalDOMEvent(cm, e, "contextmenu")) && (captureRightClick || cm.display.input.onContextMenu(e));
} }
function contextMenuInGutter(cm, e) { function contextMenuInGutter(cm, e) {
return !!hasHandler(cm, "gutterContextMenu") && gutterEvent(cm, e, "gutterContextMenu", !1); return !!hasHandler(cm, "gutterContextMenu") && gutterEvent(cm, e, "gutterContextMenu", !1);
@ -4638,8 +4633,7 @@
return moveInStorageOrder ? new Pos(start.line, mv(ch, 1), "before") : new Pos(start.line, ch, "after"); return moveInStorageOrder ? new Pos(start.line, mv(ch, 1), "before") : new Pos(start.line, ch, "after");
}; partPos >= 0 && partPos < bidi.length; partPos += dir){ }; partPos >= 0 && partPos < bidi.length; partPos += dir){
var part = bidi[partPos], moveInStorageOrder1 = dir > 0 == (1 != part.level), ch7 = moveInStorageOrder1 ? wrappedLineExtent.begin : mv(wrappedLineExtent.end, -1); var part = bidi[partPos], moveInStorageOrder1 = dir > 0 == (1 != part.level), ch7 = moveInStorageOrder1 ? wrappedLineExtent.begin : mv(wrappedLineExtent.end, -1);
if (part.from <= ch7 && ch7 < part.to) return getRes(ch7, moveInStorageOrder1); if (part.from <= ch7 && ch7 < part.to || (ch7 = moveInStorageOrder1 ? part.from : mv(part.to, -1), wrappedLineExtent.begin <= ch7 && ch7 < wrappedLineExtent.end)) return getRes(ch7, moveInStorageOrder1);
if (ch7 = moveInStorageOrder1 ? part.from : mv(part.to, -1), wrappedLineExtent.begin <= ch7 && ch7 < wrappedLineExtent.end) return getRes(ch7, moveInStorageOrder1);
} }
}, res = searchInVisualLine(partPos2 + dir2, dir2, wrappedLineExtent2); }, res = searchInVisualLine(partPos2 + dir2, dir2, wrappedLineExtent2);
if (res) return res; if (res) return res;

View File

@ -153,8 +153,7 @@
if ("string" == typeof e) return fromString(e, r); if ("string" == typeof e) return fromString(e, r);
if (ArrayBuffer.isView(e)) return fromArrayLike(e); if (ArrayBuffer.isView(e)) return fromArrayLike(e);
if (null == e) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e); if (null == e) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof e);
if (isInstance(e, ArrayBuffer) || e && isInstance(e.buffer, ArrayBuffer)) return fromArrayBuffer(e, r, t); if (isInstance(e, ArrayBuffer) || e && isInstance(e.buffer, ArrayBuffer) || "undefined" != typeof SharedArrayBuffer && (isInstance(e, SharedArrayBuffer) || e && isInstance(e.buffer, SharedArrayBuffer))) return fromArrayBuffer(e, r, t);
if ("undefined" != typeof SharedArrayBuffer && (isInstance(e, SharedArrayBuffer) || e && isInstance(e.buffer, SharedArrayBuffer))) return fromArrayBuffer(e, r, t);
if ("number" == typeof e) throw new TypeError('The "value" argument must not be of type number. Received type number'); if ("number" == typeof e) throw new TypeError('The "value" argument must not be of type number. Received type number');
var f = e.valueOf && e.valueOf(); var f = e.valueOf && e.valueOf();
if (null != f && f !== e) return Buffer.from(f, r, t); if (null != f && f !== e) return Buffer.from(f, r, t);
@ -226,9 +225,7 @@
} }
function slowToString(e, r, t) { function slowToString(e, r, t) {
var f = !1; var f = !1;
if ((void 0 === r || r < 0) && (r = 0), r > this.length) return ""; if ((void 0 === r || r < 0) && (r = 0), r > this.length || ((void 0 === t || t > this.length) && (t = this.length), t <= 0 || (t >>>= 0) <= (r >>>= 0))) return "";
if ((void 0 === t || t > this.length) && (t = this.length), t <= 0) return "";
if ((t >>>= 0) <= (r >>>= 0)) return "";
for(e || (e = "utf8");;)switch(e){ for(e || (e = "utf8");;)switch(e){
case "hex": case "hex":
return hexSlice(this, r, t); return hexSlice(this, r, t);
@ -385,8 +382,7 @@
if (t + f > e.length) throw new RangeError("Index out of range"); if (t + f > e.length) throw new RangeError("Index out of range");
} }
function checkIEEE754(e, r, t, f, n, i) { function checkIEEE754(e, r, t, f, n, i) {
if (t + f > e.length) throw new RangeError("Index out of range"); if (t + f > e.length || t < 0) throw new RangeError("Index out of range");
if (t < 0) throw new RangeError("Index out of range");
} }
function writeFloat(e, r, t, f, i) { function writeFloat(e, r, t, f, i) {
return r = +r, t >>>= 0, i || checkIEEE754(e, r, t, 4, 34028234663852886e22, -340282346638528860000000000000000000000), n2.write(e, r, t, f, 23, 4), t + 4; return r = +r, t >>>= 0, i || checkIEEE754(e, r, t, 4, 34028234663852886e22, -340282346638528860000000000000000000000), n2.write(e, r, t, f, 23, 4), t + 4;
@ -656,8 +652,7 @@
return writeDouble(this, e, r, !1, t); return writeDouble(this, e, r, !1, t);
}, Buffer.prototype.copy = function(e, r, t, f) { }, Buffer.prototype.copy = function(e, r, t, f) {
if (!Buffer.isBuffer(e)) throw new TypeError("argument should be a Buffer"); if (!Buffer.isBuffer(e)) throw new TypeError("argument should be a Buffer");
if (t || (t = 0), f || 0 === f || (f = this.length), r >= e.length && (r = e.length), r || (r = 0), f > 0 && f < t && (f = t), f === t) return 0; if (t || (t = 0), f || 0 === f || (f = this.length), r >= e.length && (r = e.length), r || (r = 0), f > 0 && f < t && (f = t), f === t || 0 === e.length || 0 === this.length) return 0;
if (0 === e.length || 0 === this.length) return 0;
if (r < 0) throw new RangeError("targetStart out of bounds"); if (r < 0) throw new RangeError("targetStart out of bounds");
if (t < 0 || t >= this.length) throw new RangeError("Index out of range"); if (t < 0 || t >= this.length) throw new RangeError("Index out of range");
if (f < 0) throw new RangeError("sourceEnd out of bounds"); if (f < 0) throw new RangeError("sourceEnd out of bounds");
@ -692,11 +687,7 @@
for(var t, f = e.length, n = null, i = [], o = 0; o < f; ++o){ for(var t, f = e.length, n = null, i = [], o = 0; o < f; ++o){
if ((t = e.charCodeAt(o)) > 55295 && t < 57344) { if ((t = e.charCodeAt(o)) > 55295 && t < 57344) {
if (!n) { if (!n) {
if (t > 56319) { if (t > 56319 || o + 1 === f) {
(r -= 3) > -1 && i.push(239, 191, 189);
continue;
}
if (o + 1 === f) {
(r -= 3) > -1 && i.push(239, 191, 189); (r -= 3) > -1 && i.push(239, 191, 189);
continue; continue;
} }
@ -901,8 +892,7 @@
901: function(r10) { 901: function(r10) {
r10.exports = function(r, e, o) { r10.exports = function(r, e, o) {
if (r.filter) return r.filter(e, o); if (r.filter) return r.filter(e, o);
if (null == r) throw new TypeError(); if (null == r || "function" != typeof e) throw new TypeError();
if ("function" != typeof e) throw new TypeError();
for(var n = [], i = 0; i < r.length; i++)if (t.call(r, i)) { for(var n = [], i = 0; i < r.length; i++)if (t.call(r, i)) {
var a = r[i]; var a = r[i];
e.call(o, a, i, r) && n.push(a); e.call(o, a, i, r) && n.push(a);
@ -1706,15 +1696,11 @@
if ("function" != typeof Symbol || "function" != typeof Object.getOwnPropertySymbols) return !1; if ("function" != typeof Symbol || "function" != typeof Object.getOwnPropertySymbols) return !1;
if ("symbol" == typeof Symbol.iterator) return !0; if ("symbol" == typeof Symbol.iterator) return !0;
var r = {}, t = Symbol("test"), e = Object(t); var r = {}, t = Symbol("test"), e = Object(t);
if ("string" == typeof t) return !1; if ("string" == typeof t || "[object Symbol]" !== Object.prototype.toString.call(t) || "[object Symbol]" !== Object.prototype.toString.call(e)) return !1;
if ("[object Symbol]" !== Object.prototype.toString.call(t)) return !1;
if ("[object Symbol]" !== Object.prototype.toString.call(e)) return !1;
for(t in r[t] = 42, r)return !1; for(t in r[t] = 42, r)return !1;
if ("function" == typeof Object.keys && 0 !== Object.keys(r).length) return !1; if ("function" == typeof Object.keys && 0 !== Object.keys(r).length || "function" == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(r).length) return !1;
if ("function" == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(r).length) return !1;
var n = Object.getOwnPropertySymbols(r); var n = Object.getOwnPropertySymbols(r);
if (1 !== n.length || n[0] !== t) return !1; if (1 !== n.length || n[0] !== t || !Object.prototype.propertyIsEnumerable.call(r, t)) return !1;
if (!Object.prototype.propertyIsEnumerable.call(r, t)) return !1;
if ("function" == typeof Object.getOwnPropertyDescriptor) { if ("function" == typeof Object.getOwnPropertyDescriptor) {
var i = Object.getOwnPropertyDescriptor(r, t); var i = Object.getOwnPropertyDescriptor(r, t);
if (42 !== i.value || !0 !== i.enumerable) return !1; if (42 !== i.value || !0 !== i.enumerable) return !1;

View File

@ -169,7 +169,7 @@
} }
if (!strictCSP) { if (!strictCSP) {
var container = target; var container = target;
target && target.getRootNode ? (container = target.getRootNode()) && container != target || (container = document) : container = document; target && target.getRootNode && (container = target.getRootNode()) && container != target || (container = document);
var doc = container.ownerDocument || container; var doc = container.ownerDocument || container;
if (id && exports.hasCssString(id, container)) return null; if (id && exports.hasCssString(id, container)) return null;
id && (cssText += "\n/*# sourceURL=ace/css/" + id + " */"); id && (cssText += "\n/*# sourceURL=ace/css/" + id + " */");
@ -3395,15 +3395,13 @@
var stringBefore = token && /string|escape/.test(token.type), stringAfter = !rightToken || /string|escape/.test(rightToken.type); var stringBefore = token && /string|escape/.test(token.type), stringAfter = !rightToken || /string|escape/.test(rightToken.type);
if (rightChar == quote) (pair = stringBefore !== stringAfter) && /string\.end/.test(rightToken.type) && (pair = !1); if (rightChar == quote) (pair = stringBefore !== stringAfter) && /string\.end/.test(rightToken.type) && (pair = !1);
else { else {
if (stringBefore && !stringAfter) return null; if (stringBefore && !stringAfter || stringBefore && stringAfter) return null;
if (stringBefore && stringAfter) return null;
var wordRe = session.$mode.tokenRe; var wordRe = session.$mode.tokenRe;
wordRe.lastIndex = 0; wordRe.lastIndex = 0;
var isWordBefore = wordRe.test(leftChar); var isWordBefore = wordRe.test(leftChar);
wordRe.lastIndex = 0; wordRe.lastIndex = 0;
var isWordAfter = wordRe.test(leftChar); var isWordAfter = wordRe.test(leftChar);
if (isWordBefore || isWordAfter) return null; if (isWordBefore || isWordAfter || rightChar && !/[\s;,.})\]\\]/.test(rightChar)) return null;
if (rightChar && !/[\s;,.})\]\\]/.test(rightChar)) return null;
var charBefore = line[cursor.column - 2]; var charBefore = line[cursor.column - 2];
if (leftChar == quote && (charBefore == quote || wordRe.test(charBefore))) return null; if (leftChar == quote && (charBefore == quote || wordRe.test(charBefore))) return null;
pair = !0; pair = !0;
@ -5161,8 +5159,7 @@
for(var folds = foldLine.folds, i = 0; i < folds.length; i++){ for(var folds = foldLine.folds, i = 0; i < folds.length; i++){
var range = folds[i].range; var range = folds[i].range;
if (range.contains(row, column)) { if (range.contains(row, column)) {
if (1 == side && range.isEnd(row, column) && !range.isEmpty()) continue; if (1 == side && range.isEnd(row, column) && !range.isEmpty() || -1 == side && range.isStart(row, column) && !range.isEmpty()) continue;
if (-1 == side && range.isStart(row, column) && !range.isEmpty()) continue;
return folds[i]; return folds[i];
} }
} }
@ -6654,9 +6651,7 @@
for(var i = command.length; i--;)if (this.exec(command[i], editor, args)) return !0; for(var i = command.length; i--;)if (this.exec(command[i], editor, args)) return !0;
return !1; return !1;
} }
if ("string" == typeof command && (command = this.commands[command]), !command) return !1; if ("string" == typeof command && (command = this.commands[command]), !command || editor && editor.$readOnly && !command.readOnly || !1 != this.$checkCommandState && command.isAvailable && !command.isAvailable(editor)) return !1;
if (editor && editor.$readOnly && !command.readOnly) return !1;
if (!1 != this.$checkCommandState && command.isAvailable && !command.isAvailable(editor)) return !1;
var e = { var e = {
editor: editor, editor: editor,
command: command, command: command,
@ -8472,8 +8467,7 @@
for(var first = (rows = this.$getSelectedRows(ranges[i])).first, last = rows.last; ++i < l;){ for(var first = (rows = this.$getSelectedRows(ranges[i])).first, last = rows.last; ++i < l;){
totalDiff && ranges[i].moveBy(totalDiff, 0); totalDiff && ranges[i].moveBy(totalDiff, 0);
var subRows = this.$getSelectedRows(ranges[i]); var subRows = this.$getSelectedRows(ranges[i]);
if (copy && subRows.first != last) break; if (copy && subRows.first != last || !copy && subRows.first > last + 1) break;
if (!copy && subRows.first > last + 1) break;
last = subRows.last; last = subRows.last;
} }
for(i--, diff = this.session.$moveLines(first, last, copy ? 0 : dir), copy && -1 == dir && (rangeIndex = i + 1); rangeIndex <= i;)ranges[rangeIndex].moveBy(diff, 0), rangeIndex++; for(i--, diff = this.session.$moveLines(first, last, copy ? 0 : dir), copy && -1 == dir && (rangeIndex = i + 1); rangeIndex <= i;)ranges[rangeIndex].moveBy(diff, 0), rangeIndex++;
@ -9262,8 +9256,7 @@
if (this.config = config, this.$updateCursorRow(), this.$lines.pageChanged(oldConfig, config)) return this.update(config); if (this.config = config, this.$updateCursorRow(), this.$lines.pageChanged(oldConfig, config)) return this.update(config);
this.$lines.moveContainer(config); this.$lines.moveContainer(config);
var lastRow = Math.min(config.lastRow + config.gutterOffset, this.session.getLength() - 1), oldLastRow = this.oldLastRow; var lastRow = Math.min(config.lastRow + config.gutterOffset, this.session.getLength() - 1), oldLastRow = this.oldLastRow;
if (this.oldLastRow = lastRow, !oldConfig || oldLastRow < config.firstRow) return this.update(config); if (this.oldLastRow = lastRow, !oldConfig || oldLastRow < config.firstRow || lastRow < oldConfig.firstRow) return this.update(config);
if (lastRow < oldConfig.firstRow) return this.update(config);
if (oldConfig.firstRow < config.firstRow) for(var row = this.session.getFoldedRowCount(oldConfig.firstRow, config.firstRow - 1); row > 0; row--)this.$lines.shift(); if (oldConfig.firstRow < config.firstRow) for(var row = this.session.getFoldedRowCount(oldConfig.firstRow, config.firstRow - 1); row > 0; row--)this.$lines.shift();
if (oldLastRow > lastRow) for(var row = this.session.getFoldedRowCount(lastRow + 1, oldLastRow); row > 0; row--)this.$lines.pop(); if (oldLastRow > lastRow) for(var row = this.session.getFoldedRowCount(lastRow + 1, oldLastRow); row > 0; row--)this.$lines.pop();
config.firstRow < oldConfig.firstRow && this.$lines.unshift(this.$renderLines(config, config.firstRow, oldConfig.firstRow - 1)), lastRow > oldLastRow && this.$lines.push(this.$renderLines(config, oldLastRow + 1, lastRow)), this.updateLineHighlight(), this._signal("afterRender"), this.$updateGutterWidth(config); config.firstRow < oldConfig.firstRow && this.$lines.unshift(this.$renderLines(config, config.firstRow, oldConfig.firstRow - 1)), lastRow > oldLastRow && this.$lines.push(this.$renderLines(config, oldLastRow + 1, lastRow)), this.updateLineHighlight(), this._signal("afterRender"), this.$updateGutterWidth(config);
@ -9484,10 +9477,7 @@
if (this.config = config, this.$lines.pageChanged(oldConfig, config)) return this.update(config); if (this.config = config, this.$lines.pageChanged(oldConfig, config)) return this.update(config);
this.$lines.moveContainer(config); this.$lines.moveContainer(config);
var lastRow = config.lastRow, oldLastRow = oldConfig ? oldConfig.lastRow : -1; var lastRow = config.lastRow, oldLastRow = oldConfig ? oldConfig.lastRow : -1;
if (!oldConfig || oldLastRow < config.firstRow) return this.update(config); if (!oldConfig || oldLastRow < config.firstRow || lastRow < oldConfig.firstRow || !oldConfig || oldConfig.lastRow < config.firstRow || config.lastRow < oldConfig.firstRow) return this.update(config);
if (lastRow < oldConfig.firstRow) return this.update(config);
if (!oldConfig || oldConfig.lastRow < config.firstRow) return this.update(config);
if (config.lastRow < oldConfig.firstRow) return this.update(config);
if (oldConfig.firstRow < config.firstRow) for(var row = this.session.getFoldedRowCount(oldConfig.firstRow, config.firstRow - 1); row > 0; row--)this.$lines.shift(); if (oldConfig.firstRow < config.firstRow) for(var row = this.session.getFoldedRowCount(oldConfig.firstRow, config.firstRow - 1); row > 0; row--)this.$lines.shift();
if (oldConfig.lastRow > config.lastRow) for(var row = this.session.getFoldedRowCount(config.lastRow + 1, oldConfig.lastRow); row > 0; row--)this.$lines.pop(); if (oldConfig.lastRow > config.lastRow) for(var row = this.session.getFoldedRowCount(config.lastRow + 1, oldConfig.lastRow); row > 0; row--)this.$lines.pop();
config.firstRow < oldConfig.firstRow && this.$lines.unshift(this.$renderLinesFragment(config, config.firstRow, oldConfig.firstRow - 1)), config.lastRow > oldConfig.lastRow && this.$lines.push(this.$renderLinesFragment(config, oldConfig.lastRow + 1, config.lastRow)); config.firstRow < oldConfig.firstRow && this.$lines.unshift(this.$renderLinesFragment(config, config.firstRow, oldConfig.firstRow - 1)), config.lastRow > oldConfig.lastRow && this.$lines.push(this.$renderLinesFragment(config, oldConfig.lastRow + 1, config.lastRow));
@ -10817,7 +10807,7 @@ margin: 0 10px;\
}, this.scrollBy = function(deltaX, deltaY) { }, this.scrollBy = function(deltaX, deltaY) {
deltaY && this.session.setScrollTop(this.session.getScrollTop() + deltaY), deltaX && this.session.setScrollLeft(this.session.getScrollLeft() + deltaX); deltaY && this.session.setScrollTop(this.session.getScrollTop() + deltaY), deltaX && this.session.setScrollLeft(this.session.getScrollLeft() + deltaX);
}, this.isScrollableBy = function(deltaX, deltaY) { }, this.isScrollableBy = function(deltaX, deltaY) {
return !!(deltaY < 0 && this.session.getScrollTop() >= 1 - this.scrollMargin.top) || !!(deltaY > 0 && this.session.getScrollTop() + this.$size.scrollerHeight - this.layerConfig.maxHeight < -1 + this.scrollMargin.bottom) || !!(deltaX < 0 && this.session.getScrollLeft() >= 1 - this.scrollMargin.left) || !!(deltaX > 0 && this.session.getScrollLeft() + this.$size.scrollerWidth - this.layerConfig.width < -1 + this.scrollMargin.right) || void 0; if (deltaY < 0 && this.session.getScrollTop() >= 1 - this.scrollMargin.top || deltaY > 0 && this.session.getScrollTop() + this.$size.scrollerHeight - this.layerConfig.maxHeight < -1 + this.scrollMargin.bottom || deltaX < 0 && this.session.getScrollLeft() >= 1 - this.scrollMargin.left || deltaX > 0 && this.session.getScrollLeft() + this.$size.scrollerWidth - this.layerConfig.width < -1 + this.scrollMargin.right) return !0;
}, this.pixelToScreenCoordinates = function(x, y) { }, this.pixelToScreenCoordinates = function(x, y) {
if (this.$hasCssTransforms) { if (this.$hasCssTransforms) {
canvasPos = { canvasPos = {
@ -12072,7 +12062,7 @@ background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZg
(function() { (function() {
this.getRowLength = function(row) { this.getRowLength = function(row) {
var h; var h;
return (h = this.lineWidgets ? this.lineWidgets[row] && this.lineWidgets[row].rowCount || 0 : 0, this.$useWrapMode && this.$wrapData[row]) ? this.$wrapData[row].length + 1 + h : 1 + h; return (h = this.lineWidgets && this.lineWidgets[row] && this.lineWidgets[row].rowCount || 0, this.$useWrapMode && this.$wrapData[row]) ? this.$wrapData[row].length + 1 + h : 1 + h;
}, this.$getWidgetScreenLength = function() { }, this.$getWidgetScreenLength = function() {
var screenRows = 0; var screenRows = 0;
return this.lineWidgets.forEach(function(w) { return this.lineWidgets.forEach(function(w) {

View File

@ -3930,8 +3930,7 @@
a = a.return; a = a.return;
} }
for(a.sibling.return = a.return, a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag;){ for(a.sibling.return = a.return, a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag;){
if (2 & a.flags) continue a; if (2 & a.flags || null === a.child || 4 === a.tag) continue a;
if (null === a.child || 4 === a.tag) continue a;
a.child.return = a, a = a.child; a.child.return = a, a = a.child;
} }
if (!(2 & a.flags)) return a.stateNode; if (!(2 & a.flags)) return a.stateNode;

View File

@ -438,8 +438,7 @@
var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8436), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8370), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2911), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3001), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7130), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2374), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9178), Welcome1 = function(_React$Component) { var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4512), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_classCallCheck__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8436), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_createClass__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8370), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(2911), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3001), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7130), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_getPrototypeOf__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2374), _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9178), Welcome1 = function(_React$Component) {
(0, _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__.Z)(Welcome, _React$Component); (0, _Users_timneutkens_projects_next_js_node_modules_babel_runtime_helpers_esm_inherits__WEBPACK_IMPORTED_MODULE_4__.Z)(Welcome, _React$Component);
var Derived, hasNativeReflectConstruct, _super = (Derived = Welcome, hasNativeReflectConstruct = function() { var Derived, hasNativeReflectConstruct, _super = (Derived = Welcome, hasNativeReflectConstruct = function() {
if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if ("undefined" == typeof Reflect || !Reflect.construct || Reflect.construct.sham) return !1;
if (Reflect.construct.sham) return !1;
if ("function" == typeof Proxy) return !0; if ("function" == typeof Proxy) return !0;
try { try {
return Date.prototype.toString.call(Reflect.construct(Date, [], function() {})), !0; return Date.prototype.toString.call(Reflect.construct(Date, [], function() {})), !0;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3371,8 +3371,7 @@
return comp(b, a); return comp(b, a);
} : comp; } : comp;
} }
if (!isArray(array)) return array; if (!isArray(array) || !sortPredicate) return array;
if (!sortPredicate) return array;
sortPredicate = function(obj, iterator, context) { sortPredicate = function(obj, iterator, context) {
var results = []; var results = [];
return forEach(obj, function(value, index, list) { return forEach(obj, function(value, index, list) {

View File

@ -560,7 +560,7 @@
}); });
}, },
delay: function(time, type) { delay: function(time, type) {
return time = jQuery.fx ? jQuery.fx.speeds[time] || time : time, type = type || "fx", this.queue(type, function(next, hooks) { return time = jQuery.fx && jQuery.fx.speeds[time] || time, type = type || "fx", this.queue(type, function(next, hooks) {
var timeout = setTimeout(next, time); var timeout = setTimeout(next, time);
hooks.stop = function() { hooks.stop = function() {
clearTimeout(timeout); clearTimeout(timeout);
@ -865,26 +865,24 @@
var handle, ontype, cur, bubbleType, special, tmp, i, eventPath = [ var handle, ontype, cur, bubbleType, special, tmp, i, eventPath = [
elem || document1 elem || document1
], type = core_hasOwn.call(event, "type") ? event.type : event, namespaces = core_hasOwn.call(event, "namespace") ? event.namespace.split(".") : []; ], type = core_hasOwn.call(event, "type") ? event.type : event, namespaces = core_hasOwn.call(event, "namespace") ? event.namespace.split(".") : [];
if (cur = tmp = elem = elem || document1, 3 !== elem.nodeType && 8 !== elem.nodeType) { if (cur = tmp = elem = elem || document1, !(3 === elem.nodeType || 8 === elem.nodeType || rfocusMorph.test(type + jQuery.event.triggered)) && (type.indexOf(".") >= 0 && (type = (namespaces = type.split(".")).shift(), namespaces.sort()), ontype = 0 > type.indexOf(":") && "on" + type, (event = event[jQuery.expando] ? event : new jQuery.Event(type, "object" == typeof event && event)).isTrigger = !0, event.namespace = namespaces.join("."), event.namespace_re = event.namespace ? new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, event.result = undefined, event.target || (event.target = elem), data = null == data ? [
if (!rfocusMorph.test(type + jQuery.event.triggered) && (type.indexOf(".") >= 0 && (type = (namespaces = type.split(".")).shift(), namespaces.sort()), ontype = 0 > type.indexOf(":") && "on" + type, (event = event[jQuery.expando] ? event : new jQuery.Event(type, "object" == typeof event && event)).isTrigger = !0, event.namespace = namespaces.join("."), event.namespace_re = event.namespace ? new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, event.result = undefined, event.target || (event.target = elem), data = null == data ? [ event
event ] : jQuery.makeArray(data, [
] : jQuery.makeArray(data, [ event
event ]), special = jQuery.event.special[type] || {}, onlyHandlers || !special.trigger || !1 !== special.trigger.apply(elem, data))) {
]), special = jQuery.event.special[type] || {}, onlyHandlers || !special.trigger || !1 !== special.trigger.apply(elem, data))) { if (!onlyHandlers && !special.noBubble && !jQuery.isWindow(elem)) {
if (!onlyHandlers && !special.noBubble && !jQuery.isWindow(elem)) { for(bubbleType = special.delegateType || type, rfocusMorph.test(bubbleType + type) || (cur = cur.parentNode); cur; cur = cur.parentNode)eventPath.push(cur), tmp = cur;
for(bubbleType = special.delegateType || type, rfocusMorph.test(bubbleType + type) || (cur = cur.parentNode); cur; cur = cur.parentNode)eventPath.push(cur), tmp = cur; tmp === (elem.ownerDocument || document1) && eventPath.push(tmp.defaultView || tmp.parentWindow || window1);
tmp === (elem.ownerDocument || document1) && eventPath.push(tmp.defaultView || tmp.parentWindow || window1);
}
for(i = 0; (cur = eventPath[i++]) && !event.isPropagationStopped();)event.type = i > 1 ? bubbleType : special.bindType || type, (handle = (jQuery._data(cur, "events") || {})[event.type] && jQuery._data(cur, "handle")) && handle.apply(cur, data), (handle = ontype && cur[ontype]) && jQuery.acceptData(cur) && handle.apply && !1 === handle.apply(cur, data) && event.preventDefault();
if (event.type = type, !onlyHandlers && !event.isDefaultPrevented() && (!special._default || !1 === special._default.apply(elem.ownerDocument, data)) && !("click" === type && jQuery.nodeName(elem, "a")) && jQuery.acceptData(elem) && ontype && elem[type] && !jQuery.isWindow(elem)) {
(tmp = elem[ontype]) && (elem[ontype] = null), jQuery.event.triggered = type;
try {
elem[type]();
} catch (e) {}
jQuery.event.triggered = undefined, tmp && (elem[ontype] = tmp);
}
return event.result;
} }
for(i = 0; (cur = eventPath[i++]) && !event.isPropagationStopped();)event.type = i > 1 ? bubbleType : special.bindType || type, (handle = (jQuery._data(cur, "events") || {})[event.type] && jQuery._data(cur, "handle")) && handle.apply(cur, data), (handle = ontype && cur[ontype]) && jQuery.acceptData(cur) && handle.apply && !1 === handle.apply(cur, data) && event.preventDefault();
if (event.type = type, !onlyHandlers && !event.isDefaultPrevented() && (!special._default || !1 === special._default.apply(elem.ownerDocument, data)) && !("click" === type && jQuery.nodeName(elem, "a")) && jQuery.acceptData(elem) && ontype && elem[type] && !jQuery.isWindow(elem)) {
(tmp = elem[ontype]) && (elem[ontype] = null), jQuery.event.triggered = type;
try {
elem[type]();
} catch (e) {}
jQuery.event.triggered = undefined, tmp && (elem[ontype] = tmp);
}
return event.result;
} }
}, },
dispatch: function(event) { dispatch: function(event) {

View File

@ -69,7 +69,7 @@
var removeData, orig2, uuid = 0, runiqueId = /^ui-id-\d+$/; var removeData, orig2, uuid = 0, runiqueId = /^ui-id-\d+$/;
function focusable(element, isTabIndexNotNaN) { function focusable(element, isTabIndexNotNaN) {
var map, mapName, img, nodeName = element.nodeName.toLowerCase(); var map, mapName, img, nodeName = element.nodeName.toLowerCase();
return "area" === nodeName ? (mapName = (map = element.parentNode).name, !!element.href && !!mapName && "map" === map.nodeName.toLowerCase() && !!(img = $("img[usemap=#" + mapName + "]")[0]) && visible(img)) : (/input|select|textarea|button|object/.test(nodeName) ? !element.disabled : "a" === nodeName ? element.href || isTabIndexNotNaN : isTabIndexNotNaN) && visible(element); return "area" === nodeName ? (mapName = (map = element.parentNode).name, !!element.href && !!mapName && "map" === map.nodeName.toLowerCase() && !!(img = $("img[usemap=#" + mapName + "]")[0]) && visible(img)) : (/input|select|textarea|button|object/.test(nodeName) ? !element.disabled : "a" === nodeName && element.href || isTabIndexNotNaN) && visible(element);
} }
function visible(element) { function visible(element) {
return $.expr.filters.visible(element) && !$(element).parents().addBack().filter(function() { return $.expr.filters.visible(element) && !$(element).parents().addBack().filter(function() {
@ -336,7 +336,7 @@
}, returnValue = value.apply(this, arguments), this._super = __super, this._superApply = __superApply, returnValue; }, returnValue = value.apply(this, arguments), this._super = __super, this._superApply = __superApply, returnValue;
}; };
}), constructor.prototype = $3.widget.extend(basePrototype, { }), constructor.prototype = $3.widget.extend(basePrototype, {
widgetEventPrefix: existingConstructor ? basePrototype.widgetEventPrefix || name : name widgetEventPrefix: existingConstructor && basePrototype.widgetEventPrefix || name
}, proxiedPrototype, { }, proxiedPrototype, {
constructor: constructor, constructor: constructor,
namespace: namespace, namespace: namespace,
@ -1585,7 +1585,7 @@
]); ]);
return; return;
} }
if (this._triggerPageBeforeChange(toPage, triggerData, settings) && !((beforeTransition = this._triggerWithDeprecated("beforetransition", triggerData)).deprecatedEvent.isDefaultPrevented() || beforeTransition.event.isDefaultPrevented())) { if (!(!this._triggerPageBeforeChange(toPage, triggerData, settings) || (beforeTransition = this._triggerWithDeprecated("beforetransition", triggerData)).deprecatedEvent.isDefaultPrevented() || beforeTransition.event.isDefaultPrevented())) {
if (isPageTransitioning = !0, toPage[0] !== $16.mobile.firstPage[0] || settings.dataUrl || (settings.dataUrl = $16.mobile.path.documentUrl.hrefNoHash), fromPage = settings.fromPage, url = settings.dataUrl && $16.mobile.path.convertUrlToDataUrl(settings.dataUrl) || toPage.jqmData("url"), pageUrl = url, $16.mobile.path.getFilePath(url), active = $16.mobile.navigate.history.getActive(), activeIsInitialPage = 0 === $16.mobile.navigate.history.activeIndex, historyDir = 0, pageTitle = document1.title, isDialog = ("dialog" === settings.role || "dialog" === toPage.jqmData("role")) && !0 !== toPage.jqmData("dialog"), fromPage && fromPage[0] === toPage[0] && !settings.allowSamePageTransition) { if (isPageTransitioning = !0, toPage[0] !== $16.mobile.firstPage[0] || settings.dataUrl || (settings.dataUrl = $16.mobile.path.documentUrl.hrefNoHash), fromPage = settings.fromPage, url = settings.dataUrl && $16.mobile.path.convertUrlToDataUrl(settings.dataUrl) || toPage.jqmData("url"), pageUrl = url, $16.mobile.path.getFilePath(url), active = $16.mobile.navigate.history.getActive(), activeIsInitialPage = 0 === $16.mobile.navigate.history.activeIndex, historyDir = 0, pageTitle = document1.title, isDialog = ("dialog" === settings.role || "dialog" === toPage.jqmData("role")) && !0 !== toPage.jqmData("dialog"), fromPage && fromPage[0] === toPage[0] && !settings.allowSamePageTransition) {
isPageTransitioning = !1, this._triggerWithDeprecated("transition", triggerData), this.element.trigger("pagechange", triggerData), settings.fromHashChange && $16.mobile.navigate.history.direct({ isPageTransitioning = !1, this._triggerWithDeprecated("transition", triggerData), this.element.trigger("pagechange", triggerData), settings.fromHashChange && $16.mobile.navigate.history.direct({
url: url url: url
@ -1678,10 +1678,7 @@
if ($lastVClicked = $(target), $.data(target, "mobile-button")) { if ($lastVClicked = $(target), $.data(target, "mobile-button")) {
if (!getAjaxFormData($(target).closest("form"), !0)) return; if (!getAjaxFormData($(target).closest("form"), !0)) return;
target.parentNode && (target = target.parentNode); target.parentNode && (target = target.parentNode);
} else { } else if (!((target = findClosestLink(target)) && "#" !== $.mobile.path.parseUrl(target.getAttribute("href") || "#").hash) || !$(target).jqmHijackable().length) return;
if (!((target = findClosestLink(target)) && "#" !== $.mobile.path.parseUrl(target.getAttribute("href") || "#").hash)) return;
if (!$(target).jqmHijackable().length) return;
}
~target.className.indexOf("ui-link-inherit") ? target.parentNode && (btnEls = $.data(target.parentNode, "buttonElements")) : btnEls = $.data(target, "buttonElements"), btnEls ? target = btnEls.outer : needClosest = !0, $btn = $(target), needClosest && ($btn = $btn.closest(".ui-btn")), $btn.length > 0 && !$btn.hasClass("ui-state-disabled") && ($.mobile.removeActiveLinkClass(!0), $.mobile.activeClickedLink = $btn, $.mobile.activeClickedLink.addClass($.mobile.activeBtnClass)); ~target.className.indexOf("ui-link-inherit") ? target.parentNode && (btnEls = $.data(target.parentNode, "buttonElements")) : btnEls = $.data(target, "buttonElements"), btnEls ? target = btnEls.outer : needClosest = !0, $btn = $(target), needClosest && ($btn = $btn.closest(".ui-btn")), $btn.length > 0 && !$btn.hasClass("ui-state-disabled") && ($.mobile.removeActiveLinkClass(!0), $.mobile.activeClickedLink = $btn, $.mobile.activeClickedLink.addClass($.mobile.activeBtnClass));
} }
}), $.mobile.document.bind("click", function(event) { }), $.mobile.document.bind("click", function(event) {

View File

@ -56,8 +56,7 @@
} }
} }
function shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag) { function shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag) {
if (null == value) return !0; if (null == value || shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) return !0;
if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) return !0;
if (isCustomComponentTag) return !1; if (isCustomComponentTag) return !1;
if (null !== propertyInfo) switch(propertyInfo.type){ if (null !== propertyInfo) switch(propertyInfo.type){
case 3: case 3:
@ -723,7 +722,7 @@
var didWarnSelectedSetOnOption = !1, didWarnInvalidChild = !1; var didWarnSelectedSetOnOption = !1, didWarnInvalidChild = !1;
function validateProps(element, props) { function validateProps(element, props) {
"object" == typeof props.children && null !== props.children && React.Children.forEach(props.children, function(child) { "object" == typeof props.children && null !== props.children && React.Children.forEach(props.children, function(child) {
if (null != child) "string" != typeof child && "number" != typeof child && "string" == typeof child.type && (didWarnInvalidChild || (didWarnInvalidChild = !0, error1("Only strings and numbers are supported as <option> children."))); null != child && "string" != typeof child && "number" != typeof child && "string" == typeof child.type && (didWarnInvalidChild || (didWarnInvalidChild = !0, error1("Only strings and numbers are supported as <option> children.")));
}), null == props.selected || didWarnSelectedSetOnOption || (error1("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), didWarnSelectedSetOnOption = !0); }), null == props.selected || didWarnSelectedSetOnOption || (error1("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."), didWarnSelectedSetOnOption = !0);
} }
function getHostProps$1(element, props) { function getHostProps$1(element, props) {
@ -3643,7 +3642,7 @@
} }
function getPossibleStandardName(propName) { function getPossibleStandardName(propName) {
var lowerCasedName = propName.toLowerCase(); var lowerCasedName = propName.toLowerCase();
return possibleStandardNames.hasOwnProperty(lowerCasedName) ? possibleStandardNames[lowerCasedName] || null : null; return possibleStandardNames.hasOwnProperty(lowerCasedName) && possibleStandardNames[lowerCasedName] || null;
} }
function warnForUnmatchedText(textNode, text) { function warnForUnmatchedText(textNode, text) {
warnForTextDifference(textNode.nodeValue, text); warnForTextDifference(textNode.nodeValue, text);
@ -3658,7 +3657,7 @@
didWarnInvalidHydration || (didWarnInvalidHydration = !0, error1("Expected server HTML to contain a matching <%s> in <%s>.", tag, parentNode.nodeName.toLowerCase())); didWarnInvalidHydration || (didWarnInvalidHydration = !0, error1("Expected server HTML to contain a matching <%s> in <%s>.", tag, parentNode.nodeName.toLowerCase()));
} }
function warnForInsertedHydratedText(parentNode, text) { function warnForInsertedHydratedText(parentNode, text) {
"" !== text && (didWarnInvalidHydration || (didWarnInvalidHydration = !0, error1('Expected server HTML to contain a matching text node for "%s" in <%s>.', text, parentNode.nodeName.toLowerCase()))); "" === text || didWarnInvalidHydration || (didWarnInvalidHydration = !0, error1('Expected server HTML to contain a matching text node for "%s" in <%s>.', text, parentNode.nodeName.toLowerCase()));
} }
normalizeMarkupForTextOrAttribute = function(markup) { normalizeMarkupForTextOrAttribute = function(markup) {
return ("string" == typeof markup ? markup : "" + markup).replace(NORMALIZE_NEWLINES_REGEX, "\n").replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, ""); return ("string" == typeof markup ? markup : "" + markup).replace(NORMALIZE_NEWLINES_REGEX, "\n").replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, "");
@ -4737,13 +4736,11 @@
} }
var warnForMissingKey = function(child, returnFiber) {}; var warnForMissingKey = function(child, returnFiber) {};
didWarnAboutMaps = !1, didWarnAboutGenerators = !1, didWarnAboutStringRefs = {}, ownerHasKeyUseWarning = {}, ownerHasFunctionTypeWarning = {}, warnForMissingKey = function(child, returnFiber) { didWarnAboutMaps = !1, didWarnAboutGenerators = !1, didWarnAboutStringRefs = {}, ownerHasKeyUseWarning = {}, ownerHasFunctionTypeWarning = {}, warnForMissingKey = function(child, returnFiber) {
if (null !== child && "object" == typeof child) { if (null !== child && "object" == typeof child && child._store && !child._store.validated && null == child.key) {
if (child._store && !child._store.validated && null == child.key) { if ("object" != typeof child._store) throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");
if ("object" != typeof child._store) throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."); child._store.validated = !0;
child._store.validated = !0; var componentName = getComponentName(returnFiber.type) || "Component";
var componentName = getComponentName(returnFiber.type) || "Component"; ownerHasKeyUseWarning[componentName] || (ownerHasKeyUseWarning[componentName] = !0, error1('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'));
ownerHasKeyUseWarning[componentName] || (ownerHasKeyUseWarning[componentName] = !0, error1('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'));
}
} }
}; };
var isArray$1 = Array.isArray; var isArray$1 = Array.isArray;
@ -7828,8 +7825,7 @@
node = node.return; node = node.return;
} }
for(node.sibling.return = node.return, node = node.sibling; 5 !== node.tag && 6 !== node.tag && 18 !== node.tag;){ for(node.sibling.return = node.return, node = node.sibling; 5 !== node.tag && 6 !== node.tag && 18 !== node.tag;){
if (node.flags & Placement) continue siblings; if (node.flags & Placement || null === node.child || 4 === node.tag) continue siblings;
if (null === node.child || 4 === node.tag) continue siblings;
node.child.return = node, node = node.child; node.child.return = node, node = node.child;
} }
if (!(node.flags & Placement)) return node.stateNode; if (!(node.flags & Placement)) return node.stateNode;
@ -8711,23 +8707,21 @@
} }
var didWarnStateUpdateForNotYetMountedComponent = null; var didWarnStateUpdateForNotYetMountedComponent = null;
function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) { function warnAboutUpdateOnNotYetMountedFiberInDEV(fiber) {
if ((16 & executionContext) == 0) { if ((16 & executionContext) == 0 && 6 & fiber.mode) {
if (6 & fiber.mode) { var tag = fiber.tag;
var tag = fiber.tag; if (2 === tag || 3 === tag || 1 === tag || 0 === tag || 11 === tag || 14 === tag || 15 === tag || 22 === tag) {
if (2 === tag || 3 === tag || 1 === tag || 0 === tag || 11 === tag || 14 === tag || 15 === tag || 22 === tag) { var componentName = getComponentName(fiber.type) || "ReactComponent";
var componentName = getComponentName(fiber.type) || "ReactComponent"; if (null !== didWarnStateUpdateForNotYetMountedComponent) {
if (null !== didWarnStateUpdateForNotYetMountedComponent) { if (didWarnStateUpdateForNotYetMountedComponent.has(componentName)) return;
if (didWarnStateUpdateForNotYetMountedComponent.has(componentName)) return; didWarnStateUpdateForNotYetMountedComponent.add(componentName);
didWarnStateUpdateForNotYetMountedComponent.add(componentName); } else didWarnStateUpdateForNotYetMountedComponent = new Set([
} else didWarnStateUpdateForNotYetMountedComponent = new Set([ componentName
componentName ]);
]); var previousFiber = current1;
var previousFiber = current1; try {
try { setCurrentFiber(fiber), error1("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.");
setCurrentFiber(fiber), error1("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead."); } finally{
} finally{ previousFiber ? setCurrentFiber(fiber) : resetCurrentFiber();
previousFiber ? setCurrentFiber(fiber) : resetCurrentFiber();
}
} }
} }
} }

View File

@ -5,8 +5,7 @@ export function Nj(a) {
a = a.return; a = a.return;
} }
for(a.sibling.return = a.return, a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag;){ for(a.sibling.return = a.return, a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag;){
if (2 & a.flags) continue a; if (2 & a.flags || null === a.child || 4 === a.tag) continue a;
if (null === a.child || 4 === a.tag) continue a;
a.child.return = a, a = a.child; a.child.return = a, a = a.child;
} }
if (!(2 & a.flags)) return a.stateNode; if (!(2 & a.flags)) return a.stateNode;

View File

@ -142,6 +142,8 @@ pub fn expand(callee: &Ident, attr: Config) -> Result<Vec<ItemFn>, Error> {
.to_string_lossy() .to_string_lossy()
.replace('\\', "__") .replace('\\', "__")
.replace(' ', "_") .replace(' ', "_")
.replace('[', "_")
.replace(']', "_")
.replace('/', "__") .replace('/', "__")
.replace('.', "_") .replace('.', "_")
.replace('-', "_") .replace('-', "_")

View File

@ -112,6 +112,7 @@
"expect": "^27.4.2", "expect": "^27.4.2",
"husky": "^7.0.2", "husky": "^7.0.2",
"jest": "^27.0.1", "jest": "^27.0.1",
"js-beautify": "^1.14.3",
"lint-staged": "^12.3.6", "lint-staged": "^12.3.6",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"mocha": "^9.1.3", "mocha": "^9.1.3",

View File

@ -1703,6 +1703,11 @@ abab@^2.0.3, abab@^2.0.5:
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a" resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a"
integrity sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q== integrity sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==
abbrev@1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
acorn-globals@^6.0.0: acorn-globals@^6.0.0:
version "6.0.0" version "6.0.0"
resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45" resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45"
@ -2228,7 +2233,7 @@ combined-stream@^1.0.8:
dependencies: dependencies:
delayed-stream "~1.0.0" delayed-stream "~1.0.0"
commander@^2.20.0: commander@^2.19.0, commander@^2.20.0:
version "2.20.3" version "2.20.3"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
@ -2259,6 +2264,14 @@ concat-map@0.0.1:
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
config-chain@^1.1.13:
version "1.1.13"
resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4"
integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==
dependencies:
ini "^1.3.4"
proto-list "~1.2.1"
configstore@^5.0.1: configstore@^5.0.1:
version "5.0.1" version "5.0.1"
resolved "https://registry.yarnpkg.com/configstore/-/configstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96" resolved "https://registry.yarnpkg.com/configstore/-/configstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96"
@ -2548,6 +2561,16 @@ eastasianwidth@^0.2.0:
resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb"
integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==
editorconfig@^0.15.3:
version "0.15.3"
resolved "https://registry.yarnpkg.com/editorconfig/-/editorconfig-0.15.3.tgz#bef84c4e75fb8dcb0ce5cee8efd51c15999befc5"
integrity sha512-M9wIMFx96vq0R4F+gRpY3o2exzb8hEj/n9S8unZtHSvYjibBp/iMufSzvmOcV/laG0ZtuTVGtiJggPOSW2r93g==
dependencies:
commander "^2.19.0"
lru-cache "^4.1.5"
semver "^5.6.0"
sigmund "^1.0.1"
electron-to-chromium@^1.3.723: electron-to-chromium@^1.3.723:
version "1.3.792" version "1.3.792"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.792.tgz#791b0d8fcf7411885d086193fb49aaef0c1594ca" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.792.tgz#791b0d8fcf7411885d086193fb49aaef0c1594ca"
@ -3768,6 +3791,16 @@ jest@^27.0.1:
import-local "^3.0.2" import-local "^3.0.2"
jest-cli "^27.0.6" jest-cli "^27.0.6"
js-beautify@^1.14.3:
version "1.14.3"
resolved "https://registry.yarnpkg.com/js-beautify/-/js-beautify-1.14.3.tgz#3dd11c949178de7f3bdf3f6f752778d3bed95150"
integrity sha512-f1ra8PHtOEu/70EBnmiUlV8nJePS58y9qKjl4JHfYWlFH6bo7ogZBz//FAZp7jDuXtYnGYKymZPlrg2I/9Zo4g==
dependencies:
config-chain "^1.1.13"
editorconfig "^0.15.3"
glob "^7.1.3"
nopt "^5.0.0"
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
version "4.0.0" version "4.0.0"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
@ -4013,6 +4046,14 @@ loose-envify@^1.1.0, loose-envify@^1.4.0:
dependencies: dependencies:
js-tokens "^3.0.0 || ^4.0.0" js-tokens "^3.0.0 || ^4.0.0"
lru-cache@^4.1.5:
version "4.1.5"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd"
integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==
dependencies:
pseudomap "^1.0.2"
yallist "^2.1.2"
lru-cache@^6.0.0: lru-cache@^6.0.0:
version "6.0.0" version "6.0.0"
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
@ -4173,6 +4214,13 @@ node-releases@^2.0.3:
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.4.tgz#f38252370c43854dc48aa431c766c6c398f40476" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.4.tgz#f38252370c43854dc48aa431c766c6c398f40476"
integrity sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ== integrity sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ==
nopt@^5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88"
integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==
dependencies:
abbrev "1"
normalize-package-data@^2.3.2: normalize-package-data@^2.3.2:
version "2.5.0" version "2.5.0"
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8"
@ -4491,6 +4539,16 @@ prop-types@^15.7.2:
object-assign "^4.1.1" object-assign "^4.1.1"
react-is "^16.8.1" react-is "^16.8.1"
proto-list@~1.2.1:
version "1.2.4"
resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849"
integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=
pseudomap@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM=
psl@^1.1.33: psl@^1.1.33:
version "1.8.0" version "1.8.0"
resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24" resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
@ -4712,7 +4770,7 @@ saxes@^5.0.1:
dependencies: dependencies:
xmlchars "^2.2.0" xmlchars "^2.2.0"
"semver@2 || 3 || 4 || 5", semver@^5.5.0: "semver@2 || 3 || 4 || 5", semver@^5.5.0, semver@^5.6.0:
version "5.7.1" version "5.7.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
@ -4779,6 +4837,11 @@ side-channel@^1.0.4:
get-intrinsic "^1.0.2" get-intrinsic "^1.0.2"
object-inspect "^1.9.0" object-inspect "^1.9.0"
sigmund@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590"
integrity sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=
signal-exit@^3.0.2, signal-exit@^3.0.3: signal-exit@^3.0.2, signal-exit@^3.0.3:
version "3.0.3" version "3.0.3"
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
@ -5419,6 +5482,11 @@ y18n@^5.0.5:
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"
integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==
yallist@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=
yallist@^4.0.0: yallist@^4.0.0:
version "4.0.0" version "4.0.0"
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"