decord/source/__polyfill/10xxx/module_10601.js
github-actions 4f02868c60 chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
2026-09-11 10:30:06 +00:00

40 lines
1.2 KiB
JavaScript

// Module ID: 10601
// Function ID: 10602
// Dependencies: [41, 42, 10593, 10550]
// Module 10601
import alphaNum from "alphaNum" /* 10593 */;
import _classCallCheck from "_classCallCheck" /* 41 */;
import _createClass from "_createClass" /* 42 */;
const JPWeekdayWithParenthesesParser = require;
const keys = Object.keys(alphaNum.WEEKDAY_OFFSET);
const regExp = new RegExp("(?:\\(|\\\uFF08)(?<weekday>" + keys.join("|") + ")(?:\\)|\\\uFF09)", "i");
class JPWeekdayWithParenthesesParser {
constructor() {
tmp = c2(this, JPWeekdayWithParenthesesParser);
return;
}
}
const entry = {
key: "pattern",
value: function pattern() {
return regExp;
}
};
const items = [
entry,
{
key: "extract",
value: function extract(reference, arg1) {
const tmp3 = JPWeekdayWithParenthesesParser(10593).WEEKDAY_OFFSET[arg1.groups.weekday];
let parsingComponentsAtWeekday = null;
if (undefined !== tmp3) {
parsingComponentsAtWeekday = JPWeekdayWithParenthesesParser(10550).createParsingComponentsAtWeekday(reference.reference, tmp3);
}
return parsingComponentsAtWeekday;
}
}
];
export default _createClass(JPWeekdayWithParenthesesParser, items);