Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
40 lines
1.2 KiB
JavaScript
40 lines
1.2 KiB
JavaScript
// Module ID: 10638
|
|
// Function ID: 10639
|
|
// Dependencies: [41, 42, 10630, 10587]
|
|
|
|
// Module 10638
|
|
import alphaNum from "alphaNum" /* 10630 */;
|
|
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(10630).WEEKDAY_OFFSET[arg1.groups.weekday];
|
|
let parsingComponentsAtWeekday = null;
|
|
if (undefined !== tmp3) {
|
|
parsingComponentsAtWeekday = JPWeekdayWithParenthesesParser(10587).createParsingComponentsAtWeekday(reference.reference, tmp3);
|
|
}
|
|
return parsingComponentsAtWeekday;
|
|
}
|
|
}
|
|
];
|
|
|
|
export default _createClass(JPWeekdayWithParenthesesParser, items);
|