guessit-js 4.9.1 → 4.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -11
- package/dist/guessit-js.cjs +2 -2
- package/dist/guessit-js.cjs.map +1 -1
- package/dist/guessit-js.js +211 -127
- package/dist/guessit-js.js.map +1 -1
- package/dist/schema.d.ts +14 -8
- package/package.json +1 -1
package/dist/guessit-js.js
CHANGED
|
@@ -914,7 +914,7 @@ const Mi = class Mi extends Ie {
|
|
|
914
914
|
}
|
|
915
915
|
};
|
|
916
916
|
p(Mi, "RePattern");
|
|
917
|
-
let
|
|
917
|
+
let Tt = Mi;
|
|
918
918
|
const Ei = class Ei extends Ie {
|
|
919
919
|
constructor(t, ...n) {
|
|
920
920
|
super(t);
|
|
@@ -954,7 +954,7 @@ const Ei = class Ei extends Ie {
|
|
|
954
954
|
}
|
|
955
955
|
};
|
|
956
956
|
p(Ei, "FunctionalPattern");
|
|
957
|
-
let
|
|
957
|
+
let Ht = Ei, jo = null;
|
|
958
958
|
function dc(d) {
|
|
959
959
|
jo = d;
|
|
960
960
|
}
|
|
@@ -1004,7 +1004,7 @@ const Ni = class Ni {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
buildRe(e, ...t) {
|
|
1006
1006
|
const n = { ...e }, [, s] = this._applyOverrides(n);
|
|
1007
|
-
return q(this._regexDefaults, n), q(this._defaults, n), Object.assign(n, s), new
|
|
1007
|
+
return q(this._regexDefaults, n), q(this._defaults, n), Object.assign(n, s), new Tt(n, ...t);
|
|
1008
1008
|
}
|
|
1009
1009
|
buildString(e, ...t) {
|
|
1010
1010
|
const n = { ...e }, [, s] = this._applyOverrides(n);
|
|
@@ -1013,7 +1013,7 @@ const Ni = class Ni {
|
|
|
1013
1013
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1014
1014
|
buildFunctional(e, ...t) {
|
|
1015
1015
|
const n = { ...e }, [, s] = this._applyOverrides(n);
|
|
1016
|
-
return q(this._functionalDefaults, n), q(this._defaults, n), Object.assign(n, s), new
|
|
1016
|
+
return q(this._functionalDefaults, n), q(this._defaults, n), Object.assign(n, s), new Ht(n, ...t);
|
|
1017
1017
|
}
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Fluent API: add a regex pattern and return `this`.
|
|
@@ -1201,7 +1201,7 @@ const $i = class $i extends Le {
|
|
|
1201
1201
|
};
|
|
1202
1202
|
p($i, "RemoveMatch");
|
|
1203
1203
|
let b = $i;
|
|
1204
|
-
const
|
|
1204
|
+
const Ti = class Ti extends Le {
|
|
1205
1205
|
constructor(t) {
|
|
1206
1206
|
super();
|
|
1207
1207
|
_(this, "matchName");
|
|
@@ -1220,9 +1220,9 @@ const Hi = class Hi extends Le {
|
|
|
1220
1220
|
return t.append(r), r;
|
|
1221
1221
|
}
|
|
1222
1222
|
};
|
|
1223
|
-
p(
|
|
1224
|
-
let $ =
|
|
1225
|
-
const
|
|
1223
|
+
p(Ti, "AppendMatch");
|
|
1224
|
+
let $ = Ti;
|
|
1225
|
+
const Hi = class Hi extends Le {
|
|
1226
1226
|
constructor(t) {
|
|
1227
1227
|
super();
|
|
1228
1228
|
_(this, "matchName");
|
|
@@ -1240,8 +1240,8 @@ const Ti = class Ti extends Le {
|
|
|
1240
1240
|
r.name = this.matchName, this._append.then(t, r, s);
|
|
1241
1241
|
}
|
|
1242
1242
|
};
|
|
1243
|
-
p(
|
|
1244
|
-
let le =
|
|
1243
|
+
p(Hi, "RenameMatch");
|
|
1244
|
+
let le = Hi;
|
|
1245
1245
|
const Fi = class Fi extends Le {
|
|
1246
1246
|
constructor(t) {
|
|
1247
1247
|
super();
|
|
@@ -1350,7 +1350,7 @@ function mc(d) {
|
|
|
1350
1350
|
return [...fc(e)];
|
|
1351
1351
|
}
|
|
1352
1352
|
p(mc, "toposortRules");
|
|
1353
|
-
const vc = "__default__",
|
|
1353
|
+
const vc = "__default__", Tr = 2048, O = -2048;
|
|
1354
1354
|
function xc(d, e) {
|
|
1355
1355
|
return e.initiator.length < d.initiator.length ? e : d.initiator.length < e.initiator.length ? d : null;
|
|
1356
1356
|
}
|
|
@@ -1358,7 +1358,7 @@ p(xc, "defaultConflictSolver");
|
|
|
1358
1358
|
const Xt = class Xt extends y {
|
|
1359
1359
|
constructor() {
|
|
1360
1360
|
super(...arguments);
|
|
1361
|
-
_(this, "priority",
|
|
1361
|
+
_(this, "priority", Tr);
|
|
1362
1362
|
_(this, "consequence", b);
|
|
1363
1363
|
}
|
|
1364
1364
|
get defaultConflictSolverFn() {
|
|
@@ -1390,8 +1390,8 @@ const Xt = class Xt extends y {
|
|
|
1390
1390
|
return s;
|
|
1391
1391
|
}
|
|
1392
1392
|
};
|
|
1393
|
-
p(Xt, "ConflictSolver"), _(Xt, "priority",
|
|
1394
|
-
let
|
|
1393
|
+
p(Xt, "ConflictSolver"), _(Xt, "priority", Tr);
|
|
1394
|
+
let Hr = Xt;
|
|
1395
1395
|
const Zt = class Zt extends y {
|
|
1396
1396
|
constructor() {
|
|
1397
1397
|
super(...arguments);
|
|
@@ -1511,7 +1511,7 @@ const wo = 256, yc = 256, _c = 128, Y = class Y extends Ie {
|
|
|
1511
1511
|
}
|
|
1512
1512
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1513
1513
|
regex(...t) {
|
|
1514
|
-
const n = t[t.length - 1], s = typeof n == "object" && n !== null && !Array.isArray(n) ? n : {}, r = typeof n == "object" && n !== null && !Array.isArray(n) ? t.slice(0, -1) : t, a = { ...this._regexDefaults, ...this._defaults, ...s }, i = new
|
|
1514
|
+
const n = t[t.length - 1], s = typeof n == "object" && n !== null && !Array.isArray(n) ? n : {}, r = typeof n == "object" && n !== null && !Array.isArray(n) ? t.slice(0, -1) : t, a = { ...this._regexDefaults, ...this._defaults, ...s }, i = new Tt(a, ...r);
|
|
1515
1515
|
return this.pattern(i);
|
|
1516
1516
|
}
|
|
1517
1517
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -1521,7 +1521,7 @@ const wo = 256, yc = 256, _c = 128, Y = class Y extends Ie {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1523
1523
|
functional(...t) {
|
|
1524
|
-
const n = t[0], s = t.length > 1 && typeof t[1] == "object" ? t[1] : {}, r = { ...this._functionalDefaults, ...this._defaults, ...s }, a = new
|
|
1524
|
+
const n = t[0], s = t.length > 1 && typeof t[1] == "object" ? t[1] : {}, r = { ...this._functionalDefaults, ...this._defaults, ...s }, a = new Ht(r, n);
|
|
1525
1525
|
return this.pattern(a);
|
|
1526
1526
|
}
|
|
1527
1527
|
chain(t = {}) {
|
|
@@ -1653,7 +1653,7 @@ const Vi = class Vi extends Ir {
|
|
|
1653
1653
|
/** Optional property customizer (guessit-specific). */
|
|
1654
1654
|
_(this, "customizeProperties");
|
|
1655
1655
|
const n = t.disabled;
|
|
1656
|
-
typeof n == "function" ? this._disabled = n : typeof n == "boolean" ? this._disabled = () => n : this._disabled = () => !1, this._rules = new Ut(), t.defaultRules !== !1 && this._rules.load(
|
|
1656
|
+
typeof n == "function" ? this._disabled = n : typeof n == "boolean" ? this._disabled = () => n : this._disabled = () => !1, this._rules = new Ut(), t.defaultRules !== !1 && this._rules.load(Hr, Fr);
|
|
1657
1657
|
}
|
|
1658
1658
|
pattern(...t) {
|
|
1659
1659
|
return this._patterns.push(...t), this;
|
|
@@ -1865,7 +1865,7 @@ function R(d) {
|
|
|
1865
1865
|
return "(?:" + d + ")?";
|
|
1866
1866
|
}
|
|
1867
1867
|
p(R, "optional");
|
|
1868
|
-
const Mc = /* @__PURE__ */ p((d) => d.rawStart !== void 0 && d.rawStart > d.start, "enlargedStart"), Ec = /* @__PURE__ */ p((d) => d.rawEnd !== void 0 && d.rawEnd < d.end, "enlargedEnd"), se = /* @__PURE__ */ p((d) => Mc(d) || ic(M, d), "sepsBefore"), ae = /* @__PURE__ */ p((d) => Ec(d) || oc(M, d), "sepsAfter"),
|
|
1868
|
+
const Mc = /* @__PURE__ */ p((d) => d.rawStart !== void 0 && d.rawStart > d.start, "enlargedStart"), Ec = /* @__PURE__ */ p((d) => d.rawEnd !== void 0 && d.rawEnd < d.end, "enlargedEnd"), se = /* @__PURE__ */ p((d) => Mc(d) || ic(M, d), "sepsBefore"), ae = /* @__PURE__ */ p((d) => Ec(d) || oc(M, d), "sepsAfter"), H = /* @__PURE__ */ p((d) => se(d) && ae(d), "sepsSurround");
|
|
1869
1869
|
function xe(d) {
|
|
1870
1870
|
return /^[+-]?\d+(?:_\d+)*$/.test(d.trim());
|
|
1871
1871
|
}
|
|
@@ -2856,7 +2856,7 @@ function Co(d, e) {
|
|
|
2856
2856
|
return !1;
|
|
2857
2857
|
}
|
|
2858
2858
|
p(Co, "episodesSeasonChainBreaker");
|
|
2859
|
-
function
|
|
2859
|
+
function Te(d, e) {
|
|
2860
2860
|
const t = /* @__PURE__ */ p((a) => !!(a?.tags?.includes("weak-episode") || ["weak_episode", "weak_duplicate"].includes(a?.initiator?.name) || ["weak_episode", "weak_duplicate"].includes(a?.name)), "weakFamily");
|
|
2861
2861
|
if (t(d) && t(e)) return null;
|
|
2862
2862
|
const n = /* @__PURE__ */ p((a) => a?.name ? null : [...a?.children ?? []].find((o) => o.name === "season" || o.name === "episode") ?? null, "famChild"), s = n(d), r = n(e);
|
|
@@ -2887,19 +2887,19 @@ function He(d, e) {
|
|
|
2887
2887
|
if (["season", "episode"].includes(d.name) && ["season", "episode"].includes(e.name) && d.initiator !== e.initiator) {
|
|
2888
2888
|
const a = /* @__PURE__ */ p((x) => !!(x.tags?.includes("weak-episode") || ["weak_episode", "weak_duplicate"].includes(x.initiator?.name)), "isWeak"), i = !!d.tags?.includes("numfirst"), o = !!e.tags?.includes("numfirst");
|
|
2889
2889
|
if (i !== o && !a(d) && !a(e) && d.start < e.end && e.start < d.end) {
|
|
2890
|
-
const x = i ? d : e, m = i ? e : d, v = d.inputString ?? "", C = /* @__PURE__ */ p((
|
|
2891
|
-
let S =
|
|
2890
|
+
const x = i ? d : e, m = i ? e : d, v = d.inputString ?? "", C = /* @__PURE__ */ p((T, L) => {
|
|
2891
|
+
let S = T;
|
|
2892
2892
|
for (; S >= 0 && S < v.length && M.includes(v[S]); ) S += L;
|
|
2893
2893
|
let j = "";
|
|
2894
2894
|
for (; S >= 0 && S < v.length && /\d/.test(v[S]); )
|
|
2895
2895
|
j = j + v[S], S += L;
|
|
2896
2896
|
return j;
|
|
2897
|
-
}, "digitToken"), w = /* @__PURE__ */ p((
|
|
2898
|
-
const
|
|
2899
|
-
return
|
|
2897
|
+
}, "digitToken"), w = /* @__PURE__ */ p((T) => T.length === 4 && +T >= 1900 && +T <= 2100, "isYearLike"), k = x.initiator ?? x, D = m.initiator ?? m, P = (() => {
|
|
2898
|
+
const T = C(k.end, 1);
|
|
2899
|
+
return T.length >= 1 && T.length <= 4 && !w(T);
|
|
2900
2900
|
})();
|
|
2901
2901
|
return (() => {
|
|
2902
|
-
const
|
|
2902
|
+
const T = v.slice(Math.max(0, D.start - 12), D.start), L = /(\d{1,3})(?:ª|º|°|a|o|-?(?:й|я|е|го|ая|ый|ое))?[\s.,_\-–]*$/iu.exec(T);
|
|
2903
2903
|
return !!(L && !w(L[1]));
|
|
2904
2904
|
})() && !P ? m : x;
|
|
2905
2905
|
}
|
|
@@ -2917,8 +2917,8 @@ function He(d, e) {
|
|
|
2917
2917
|
}
|
|
2918
2918
|
return "__default__";
|
|
2919
2919
|
}
|
|
2920
|
-
p(
|
|
2921
|
-
function
|
|
2920
|
+
p(Te, "seasonEpisodeConflictSolver");
|
|
2921
|
+
function He(d) {
|
|
2922
2922
|
const e = d.children?.toDict?.() ?? d.children?.to_dict?.(), t = e instanceof Map ? Object.fromEntries(e) : e || {};
|
|
2923
2923
|
if (t.season && Array.isArray(t.season)) {
|
|
2924
2924
|
const n = [...t.season].sort((s, r) => s - r);
|
|
@@ -2932,9 +2932,9 @@ function Te(d) {
|
|
|
2932
2932
|
}
|
|
2933
2933
|
return !0;
|
|
2934
2934
|
}
|
|
2935
|
-
p(
|
|
2935
|
+
p(He, "orderingValidator");
|
|
2936
2936
|
function Ot(d) {
|
|
2937
|
-
return xe(d.raw) ? !0 :
|
|
2937
|
+
return xe(d.raw) ? !0 : H(d);
|
|
2938
2938
|
}
|
|
2939
2939
|
p(Ot, "validateRoman");
|
|
2940
2940
|
function Mo(d) {
|
|
@@ -2952,7 +2952,7 @@ function $c(d) {
|
|
|
2952
2952
|
...d.range_separators,
|
|
2953
2953
|
...e,
|
|
2954
2954
|
...t
|
|
2955
|
-
], s =
|
|
2955
|
+
], s = He, r = /* @__PURE__ */ p((S) => {
|
|
2956
2956
|
if (!s(S)) return !1;
|
|
2957
2957
|
const j = /* @__PURE__ */ p((V) => {
|
|
2958
2958
|
let Q = null, pe = !0;
|
|
@@ -3025,7 +3025,7 @@ function $c(d) {
|
|
|
3025
3025
|
formatter: { season: /* @__PURE__ */ p((S) => parseInt(S, 10), "season"), episode: /* @__PURE__ */ p((S) => parseInt(S, 10), "episode"), version: /* @__PURE__ */ p((S) => parseInt(S, 10), "version"), count: /* @__PURE__ */ p((S) => parseInt(S, 10), "count") },
|
|
3026
3026
|
children: !0,
|
|
3027
3027
|
privateParent: !0,
|
|
3028
|
-
conflictSolver:
|
|
3028
|
+
conflictSolver: Te,
|
|
3029
3029
|
abbreviations: [Cc]
|
|
3030
3030
|
});
|
|
3031
3031
|
u.regex(`第(?<episode>${Ao})[話话集]`, { tags: ["SxxExx"], formatter: { episode: ko } }), u.regex(`第(?<season>${Ao})季`, { tags: ["SxxExx"], formatter: { season: ko } }), u.regex("(?:シーズン|シリーズ)(?<season>\\d{1,2})(?!\\d)", { tags: ["SxxExx"] }), u.regex("(?<!\\d)(?<season>\\d{1,2})期", {});
|
|
@@ -3041,7 +3041,7 @@ function $c(d) {
|
|
|
3041
3041
|
tags: ["SxxExx"],
|
|
3042
3042
|
validateAll: !0,
|
|
3043
3043
|
validator: {
|
|
3044
|
-
__parent__: ge(
|
|
3044
|
+
__parent__: ge(H, r)
|
|
3045
3045
|
},
|
|
3046
3046
|
chainBreaker: /* @__PURE__ */ p((S) => Co(S, d), "chainBreaker"),
|
|
3047
3047
|
disabled: l
|
|
@@ -3055,7 +3055,7 @@ function $c(d) {
|
|
|
3055
3055
|
tags: ["SxxExx"],
|
|
3056
3056
|
validateAll: !0,
|
|
3057
3057
|
validator: {
|
|
3058
|
-
__parent__: ge(
|
|
3058
|
+
__parent__: ge(H, He)
|
|
3059
3059
|
},
|
|
3060
3060
|
disabled: l
|
|
3061
3061
|
}).defaults({ tags: ["SxxExx"] }).regex(
|
|
@@ -3064,7 +3064,7 @@ function $c(d) {
|
|
|
3064
3064
|
tags: ["SxxExx"],
|
|
3065
3065
|
validateAll: !0,
|
|
3066
3066
|
validator: {
|
|
3067
|
-
__parent__: ge(
|
|
3067
|
+
__parent__: ge(H, He)
|
|
3068
3068
|
},
|
|
3069
3069
|
disabled: l
|
|
3070
3070
|
}).defaults({ tags: ["SxxExx"] }).regex("(?!0x[0-9a-fA-F])(?<season>\\d+)" + m + "@?" + x + "@?(?<episode>\\d+)").regex(
|
|
@@ -3095,7 +3095,7 @@ function $c(d) {
|
|
|
3095
3095
|
tags: ["SxxExx"],
|
|
3096
3096
|
validateAll: !0,
|
|
3097
3097
|
validator: {
|
|
3098
|
-
__parent__: ge(
|
|
3098
|
+
__parent__: ge(H, He)
|
|
3099
3099
|
},
|
|
3100
3100
|
disabled: l
|
|
3101
3101
|
}).defaults({ tags: ["SxxExx"] }).regex(f + "(?<season>\\d+)").regex("(?<other>Extras)", { name: "other", value: "Extras", tags: ["no-release-group-prefix"] }).repeater("?").regex(v + "(?<season>\\d+)").repeater("*");
|
|
@@ -3110,10 +3110,10 @@ function $c(d) {
|
|
|
3110
3110
|
const { words: C, numfirst: w } = Do(d.season_words), { words: k, numfirst: D } = Do(d.episode_words), P = I(C, "seasonMarker"), E = I(d.of_words);
|
|
3111
3111
|
u.chain({
|
|
3112
3112
|
validateAll: !0,
|
|
3113
|
-
conflictSolver:
|
|
3113
|
+
conflictSolver: Te,
|
|
3114
3114
|
formatter: { season: oe, season_count: oe },
|
|
3115
3115
|
validator: {
|
|
3116
|
-
__parent__: ge(
|
|
3116
|
+
__parent__: ge(H, He),
|
|
3117
3117
|
season: Mo,
|
|
3118
3118
|
season_count: Ot
|
|
3119
3119
|
},
|
|
@@ -3122,7 +3122,7 @@ function $c(d) {
|
|
|
3122
3122
|
}).defaults({
|
|
3123
3123
|
formatter: { season: oe, season_count: oe },
|
|
3124
3124
|
validator: { season: Mo, season_count: Ot },
|
|
3125
|
-
conflictSolver:
|
|
3125
|
+
conflictSolver: Te
|
|
3126
3126
|
}).regex(P + `@?(?P<season>${o})`).regex(E + `@?(?P<season_count>${c})`).repeater("?").regex(
|
|
3127
3127
|
// an optional comma before the separator covers list forms like ", & 6"
|
|
3128
3128
|
"(?:,@?)?@?" + I(
|
|
@@ -3131,16 +3131,16 @@ function $c(d) {
|
|
|
3131
3131
|
!0
|
|
3132
3132
|
) + "@?(?P<season>\\d+)"
|
|
3133
3133
|
).repeater("*");
|
|
3134
|
-
const
|
|
3134
|
+
const T = "(?:@?" + E + "@?(?<count>\\d+))?";
|
|
3135
3135
|
w.length > 0 && u.regex(
|
|
3136
|
-
"(?<season>\\d{1,2})" + d.ordinal_suffix + "@?@?" + I(w, "seasonMarker") + "(?![^\\W\\d_])" +
|
|
3136
|
+
"(?<season>\\d{1,2})" + d.ordinal_suffix + "@?@?" + I(w, "seasonMarker") + "(?![^\\W\\d_])" + T,
|
|
3137
3137
|
{
|
|
3138
3138
|
tags: ["SxxExx", "numfirst"],
|
|
3139
3139
|
formatter: { season: oe, count: /* @__PURE__ */ p((S) => parseInt(S, 10), "count") },
|
|
3140
3140
|
disabled: l
|
|
3141
3141
|
}
|
|
3142
3142
|
), D.length > 0 && u.regex(
|
|
3143
|
-
"(?<episode>\\d{1,3})" + d.ordinal_suffix + "@?@?" + I(D, "episodeMarker") + "(?![^\\W\\d_])" +
|
|
3143
|
+
"(?<episode>\\d{1,3})" + d.ordinal_suffix + "@?@?" + I(D, "episodeMarker") + "(?![^\\W\\d_])" + T,
|
|
3144
3144
|
{
|
|
3145
3145
|
tags: ["SxxExx", "numfirst"],
|
|
3146
3146
|
formatter: { episode: oe, count: /* @__PURE__ */ p((S) => parseInt(S, 10), "count") },
|
|
@@ -3212,7 +3212,7 @@ function $c(d) {
|
|
|
3212
3212
|
abbreviations: null
|
|
3213
3213
|
}).repeater("*"), u.chain({
|
|
3214
3214
|
validateAll: !0,
|
|
3215
|
-
validator: { __parent__:
|
|
3215
|
+
validator: { __parent__: H },
|
|
3216
3216
|
disabled: /* @__PURE__ */ p((S) => A(S, "episode"), "disabled")
|
|
3217
3217
|
}).defaults({ validator: null }).regex("(?<season>\\d{1,2})?(?<episodeMarker>e)(?<episode>\\d{1,4})").regex("v(?<version>\\d+)").repeater("?").regex("(?<episodeSeparator>e|x|-)(?<episode>\\d{1,4})", {
|
|
3218
3218
|
abbreviations: null
|
|
@@ -3226,13 +3226,13 @@ function $c(d) {
|
|
|
3226
3226
|
}).defaults({ validator: null, tags: ["see-pattern"] }).regex("(?<seasonMarker>cap)@?(?<season>\\d{1,2})(?<episode>\\d{2})(?!\\d)").regex("(?<episodeSeparator>[_-])(?<season>\\d{1,2})(?<episode>\\d{2})(?!\\d)").repeater("?"), u.chain({
|
|
3227
3227
|
tags: ["weak-episode", "weak-duplicate"],
|
|
3228
3228
|
name: "weak_duplicate",
|
|
3229
|
-
conflictSolver:
|
|
3229
|
+
conflictSolver: Te,
|
|
3230
3230
|
disabled: /* @__PURE__ */ p((S) => S?.episode_prefer_number === !0 || S?.type === "movie" || l(S), "disabled")
|
|
3231
3231
|
}).defaults({
|
|
3232
3232
|
tags: ["weak-episode", "weak-duplicate"],
|
|
3233
3233
|
name: "weak_duplicate",
|
|
3234
3234
|
validator: null,
|
|
3235
|
-
conflictSolver:
|
|
3235
|
+
conflictSolver: Te
|
|
3236
3236
|
}).regex("(?<![^\\W_])(?<season>0[1-9]|[1-9]\\d(?=[0-3]\\d)|\\d)(?<episode>\\d{2})(?!%)(?!(?![vV]\\d)[^\\W_])").regex("v(?<version>\\d+)").repeater("?").regex("(?<episodeSeparator>x|-)(?<episode>\\d{2})", {
|
|
3237
3237
|
abbreviations: null
|
|
3238
3238
|
}).repeater("*"), u.regex("v(?<version>\\d+)", {
|
|
@@ -3336,14 +3336,14 @@ const Jt = class Jt extends y {
|
|
|
3336
3336
|
};
|
|
3337
3337
|
p(Jt, "EventNumberAsTitleRule"), Jt.priority = 60;
|
|
3338
3338
|
let Wr = Jt;
|
|
3339
|
-
const
|
|
3339
|
+
const Tc = /^(?:ufc|bellator|pfl|rizin|ksw|glory|invicta[\W_]?fc|cage[\W_]?warriors|one[\W_]?(?:championship|fc))(?:[\W_]|$)/i, Qt = class Qt extends y {
|
|
3340
3340
|
constructor() {
|
|
3341
3341
|
super(...arguments), this.priority = 60, this.consequence = [b, $];
|
|
3342
3342
|
}
|
|
3343
3343
|
when(e, t) {
|
|
3344
3344
|
const n = e.inputString ?? "", s = [], r = [];
|
|
3345
3345
|
for (const a of e.markers.named("path") ?? []) {
|
|
3346
|
-
if (!
|
|
3346
|
+
if (!Tc.test(n.slice(a.start, a.end)) || e.range(a.start, a.end, (l) => !l.private && (l.name === "date" || l.tags?.includes("SxxExx")), 0)) continue;
|
|
3347
3347
|
const o = /* @__PURE__ */ p((l) => l.tags?.includes("weak-episode") || ["weak_episode", "weak_duplicate"].includes(l.initiator?.name), "isWeak"), c = e.range(
|
|
3348
3348
|
a.start,
|
|
3349
3349
|
a.end,
|
|
@@ -3367,7 +3367,7 @@ const Hc = /^(?:ufc|bellator|pfl|rizin|ksw|glory|invicta[\W_]?fc|cage[\W_]?warri
|
|
|
3367
3367
|
};
|
|
3368
3368
|
p(Qt, "SportsEventNumberIsOneNumber"), Qt.priority = 60;
|
|
3369
3369
|
let qr = Qt;
|
|
3370
|
-
const
|
|
3370
|
+
const Hc = /^(?:formula[\W_]?(?:1|e|one)|f1|motogp|moto2|moto3|nascar|indycar|wrc|wec|dtm|supercars|superbike|wsbk)(?:[\W_]|$)/i, en = class en extends y {
|
|
3371
3371
|
constructor() {
|
|
3372
3372
|
super(...arguments), this.priority = 60, this.consequence = [b, $];
|
|
3373
3373
|
}
|
|
@@ -3375,7 +3375,7 @@ const Tc = /^(?:formula[\W_]?(?:1|e|one)|f1|motogp|moto2|moto3|nascar|indycar|wr
|
|
|
3375
3375
|
const n = e.inputString ?? "", s = [], r = [];
|
|
3376
3376
|
for (const a of e.markers.named("path") ?? []) {
|
|
3377
3377
|
const i = n.slice(a.start, a.end);
|
|
3378
|
-
if (!
|
|
3378
|
+
if (!Hc.test(i) || e.range(a.start, a.end, (u) => !u.private && (u.name === "date" || u.tags?.includes("SxxExx")), 0)) continue;
|
|
3379
3379
|
const c = /(?:^|[\W_])round[\W_]?(\d{1,2})(?=[\W_]|$)/i.exec(i), l = /* @__PURE__ */ p((u) => u.tags?.includes("weak-episode") || ["weak_episode", "weak_duplicate"].includes(u.initiator?.name), "isWeak");
|
|
3380
3380
|
for (const u of e.range(a.start, a.end, (f) => !f.private && (f.name === "season" || f.name === "episode") && l(f)) ?? []) {
|
|
3381
3381
|
const f = u.initiator ?? u;
|
|
@@ -3999,7 +3999,7 @@ function Uc(d) {
|
|
|
3999
3999
|
}), e.defaults({
|
|
4000
4000
|
clear: !0,
|
|
4001
4001
|
name: "container",
|
|
4002
|
-
validator:
|
|
4002
|
+
validator: H,
|
|
4003
4003
|
formatter: /* @__PURE__ */ p((l) => l.toLowerCase(), "formatter"),
|
|
4004
4004
|
conflictSolver: /* @__PURE__ */ p((l, u) => u.name === "source" || u.name === "video_codec" || u.name === "container" && u.tags.includes("extension") ? l : "__default__", "conflictSolver")
|
|
4005
4005
|
});
|
|
@@ -4322,7 +4322,7 @@ function zc(d) {
|
|
|
4322
4322
|
}), e.defaults({
|
|
4323
4323
|
clear: !0,
|
|
4324
4324
|
name: "video_profile",
|
|
4325
|
-
validator:
|
|
4325
|
+
validator: H,
|
|
4326
4326
|
disabled: /* @__PURE__ */ p((t) => A(t, "video_profile"), "disabled")
|
|
4327
4327
|
}), e.string("BP", { value: "Baseline", tags: "video_profile.rule" }), e.string("XP", "EP", { value: "Extended", tags: "video_profile.rule" }), e.string("MP", { value: "Main", tags: "video_profile.rule" }), e.string("HP", "HiP", { value: "High", tags: "video_profile.rule" }), e.string("SC", "SVC", { value: "Scalable Video Coding", tags: "video_profile.rule" }), e.regex("AVC(?:HD)?", { value: "Advanced Video Codec High Definition", tags: "video_profile.rule" }), e.string("HEVC", { value: "High Efficiency Video Coding", tags: "video_profile.rule" }), e.regex("Hi422P", { value: "High 4:2:2" }), e.regex("Hi444PP", { value: "High 4:4:4 Predictive" }), e.regex("Hi10P?", { value: "High 10" }), e.string("DXVA", {
|
|
4328
4328
|
value: "DXVA",
|
|
@@ -4331,7 +4331,7 @@ function zc(d) {
|
|
|
4331
4331
|
}), e.defaults({
|
|
4332
4332
|
clear: !0,
|
|
4333
4333
|
name: "color_depth",
|
|
4334
|
-
validator:
|
|
4334
|
+
validator: H,
|
|
4335
4335
|
disabled: /* @__PURE__ */ p((t) => A(t, "color_depth"), "disabled")
|
|
4336
4336
|
}), e.regex("12.?bits?", { value: "12-bit" }), e.regex("10.?bits?", "YUV420P10", "Hi10P?", { value: "10-bit" }), e.regex("8.?bits?", { value: "8-bit" }), e.rules(fs, gs), e;
|
|
4337
4337
|
}
|
|
@@ -4380,7 +4380,7 @@ function Vc(d, e) {
|
|
|
4380
4380
|
p(Vc, "registerFunction");
|
|
4381
4381
|
Ct.set("seps_after", ae);
|
|
4382
4382
|
Ct.set("seps_before", se);
|
|
4383
|
-
Ct.set("seps_surround",
|
|
4383
|
+
Ct.set("seps_surround", H);
|
|
4384
4384
|
const Rc = {
|
|
4385
4385
|
// DTS-HD: remove the other audio_codec in favor of DTS-HD
|
|
4386
4386
|
"lambda match, other: other if other.name == 'audio_codec' else '__default__'": /* @__PURE__ */ p((d, e) => e.name === "audio_codec" ? e : "__default__", "lambda match, other: other if other.name == 'audio_codec' else '__default__'"),
|
|
@@ -4501,7 +4501,7 @@ function Zc(d) {
|
|
|
4501
4501
|
}), te(e, d.audio_codec), e.defaults({
|
|
4502
4502
|
clear: !0,
|
|
4503
4503
|
name: "audio_profile",
|
|
4504
|
-
validator:
|
|
4504
|
+
validator: H,
|
|
4505
4505
|
disabled: /* @__PURE__ */ p((n) => A(n, "audio_profile"), "disabled")
|
|
4506
4506
|
}), te(e, d.audio_profile), e.defaults({
|
|
4507
4507
|
clear: !0,
|
|
@@ -4789,7 +4789,7 @@ function Qc(d) {
|
|
|
4789
4789
|
const e = new Set(d.interlaced), t = new Set(d.progressive), n = t, s = d.frame_rates, r = d.min_ar, a = d.max_ar, i = new F();
|
|
4790
4790
|
i.stringDefaults({ ignoreCase: !0 }), i.regexDefaults({ flags: "i" }), i.defaults({
|
|
4791
4791
|
name: "screen_size",
|
|
4792
|
-
validator:
|
|
4792
|
+
validator: H,
|
|
4793
4793
|
abbreviations: [X],
|
|
4794
4794
|
disabled: /* @__PURE__ */ p((g) => A(g, "screen_size"), "disabled")
|
|
4795
4795
|
});
|
|
@@ -4904,7 +4904,7 @@ function tl(d) {
|
|
|
4904
4904
|
`(?:[^a-z0-9]|^)((?:${I(s)}\\.)*[a-z0-9-]+\\.(?:${I(r)}\\.)+(?:${I(t)}))(?:[^a-z0-9]|$)`,
|
|
4905
4905
|
{ children: !0 }
|
|
4906
4906
|
), e.string(...a, {
|
|
4907
|
-
validator:
|
|
4907
|
+
validator: H,
|
|
4908
4908
|
private: !0,
|
|
4909
4909
|
tags: ["website.prefix"]
|
|
4910
4910
|
});
|
|
@@ -5246,13 +5246,13 @@ const Pn = class Pn extends y {
|
|
|
5246
5246
|
p(Pn, "AbsorbBroadcastClockSuffix"), Pn.priority = 128;
|
|
5247
5247
|
let Is = Pn;
|
|
5248
5248
|
function ul(d) {
|
|
5249
|
-
const e = new F().defaults({ validator:
|
|
5249
|
+
const e = new F().defaults({ validator: H });
|
|
5250
5250
|
e.regex("\\d{4}", {
|
|
5251
5251
|
name: "year",
|
|
5252
5252
|
formatter: /* @__PURE__ */ p((r) => parseInt(r, 10), "formatter"),
|
|
5253
5253
|
disabled: /* @__PURE__ */ p((r) => A(r, "year"), "disabled"),
|
|
5254
5254
|
conflictSolver: /* @__PURE__ */ p((r, a) => (a.name === "episode" || a.name === "season") && a.raw && r.raw && a.raw.length < r.raw.length ? a : "__default__", "conflictSolver"),
|
|
5255
|
-
validator: /* @__PURE__ */ p((r) =>
|
|
5255
|
+
validator: /* @__PURE__ */ p((r) => H(r) && J(r.value), "validator")
|
|
5256
5256
|
});
|
|
5257
5257
|
const t = d.year_range_separators ?? ["-", "~", "to", "–"];
|
|
5258
5258
|
e.chain({
|
|
@@ -5262,7 +5262,7 @@ function ul(d) {
|
|
|
5262
5262
|
privateParent: !0,
|
|
5263
5263
|
validateAll: !0,
|
|
5264
5264
|
validator: {
|
|
5265
|
-
__parent__: ge(
|
|
5265
|
+
__parent__: ge(H, cl),
|
|
5266
5266
|
year: /* @__PURE__ */ p((r) => J(Number(r.value)), "year")
|
|
5267
5267
|
},
|
|
5268
5268
|
formatter: { year: /* @__PURE__ */ p((r) => parseInt(r, 10), "year") },
|
|
@@ -5279,7 +5279,7 @@ function ul(d) {
|
|
|
5279
5279
|
flags: "i",
|
|
5280
5280
|
abbreviations: [X],
|
|
5281
5281
|
conflictSolver: /* @__PURE__ */ p((a, i) => (i.name === "episode" || i.name === "season") && i.raw && a.raw && i.raw.length < a.raw.length ? i : "__default__", "conflictSolver"),
|
|
5282
|
-
validator: /* @__PURE__ */ p((a) =>
|
|
5282
|
+
validator: /* @__PURE__ */ p((a) => H(a) && rl(a.value), "validator")
|
|
5283
5283
|
});
|
|
5284
5284
|
}
|
|
5285
5285
|
const s = /* @__PURE__ */ p((r, a) => {
|
|
@@ -5817,8 +5817,8 @@ const Xe = class Xe extends y {
|
|
|
5817
5817
|
}
|
|
5818
5818
|
};
|
|
5819
5819
|
p(Xe, "TitleBaseRule"), Xe.priority = 0, Xe.properties = {};
|
|
5820
|
-
let
|
|
5821
|
-
const be = class be extends
|
|
5820
|
+
let Ts = Xe;
|
|
5821
|
+
const be = class be extends Ts {
|
|
5822
5822
|
constructor() {
|
|
5823
5823
|
super("title", ["title"], "alternative_title");
|
|
5824
5824
|
}
|
|
@@ -5851,7 +5851,7 @@ const Ze = class Ze extends y {
|
|
|
5851
5851
|
}
|
|
5852
5852
|
};
|
|
5853
5853
|
p(Ze, "PreferTitleWithYear"), Ze.priority = 32, Ze.dependency = [Rt];
|
|
5854
|
-
let
|
|
5854
|
+
let Hs = Ze;
|
|
5855
5855
|
const pl = /* @__PURE__ */ new Set([
|
|
5856
5856
|
"the",
|
|
5857
5857
|
"a",
|
|
@@ -6001,7 +6001,7 @@ const fl = /[\u0370-\u03FF\u0400-\u04FF\u0590-\u05FF\u0600-\u06FF\u0E00-\u0E7F\u
|
|
|
6001
6001
|
};
|
|
6002
6002
|
p($n, "SplitOriginalScriptTitle"), $n.priority = O;
|
|
6003
6003
|
let zs = $n;
|
|
6004
|
-
const
|
|
6004
|
+
const Tn = class Tn extends y {
|
|
6005
6005
|
constructor() {
|
|
6006
6006
|
super(...arguments), this.priority = O, this.consequence = [b, $];
|
|
6007
6007
|
}
|
|
@@ -6025,9 +6025,9 @@ const Hn = class Hn extends y {
|
|
|
6025
6025
|
return s.length || r.length ? [s, r] : !1;
|
|
6026
6026
|
}
|
|
6027
6027
|
};
|
|
6028
|
-
p(
|
|
6029
|
-
let Vs =
|
|
6030
|
-
const
|
|
6028
|
+
p(Tn, "TrimSeasonWordFromTitle"), Tn.priority = O;
|
|
6029
|
+
let Vs = Tn;
|
|
6030
|
+
const Hn = class Hn extends y {
|
|
6031
6031
|
constructor() {
|
|
6032
6032
|
super(...arguments), this.priority = O, this.consequence = b;
|
|
6033
6033
|
}
|
|
@@ -6050,8 +6050,8 @@ const Tn = class Tn extends y {
|
|
|
6050
6050
|
return s.length ? s : !1;
|
|
6051
6051
|
}
|
|
6052
6052
|
};
|
|
6053
|
-
p(
|
|
6054
|
-
let Rs =
|
|
6053
|
+
p(Hn, "PreBracketJunkTitle"), Hn.priority = O;
|
|
6054
|
+
let Rs = Hn;
|
|
6055
6055
|
const Fn = class Fn extends y {
|
|
6056
6056
|
constructor() {
|
|
6057
6057
|
super(...arguments), this.priority = O, this.consequence = [b, $];
|
|
@@ -6409,12 +6409,12 @@ function gl(d) {
|
|
|
6409
6409
|
const e = new F({
|
|
6410
6410
|
disabled: /* @__PURE__ */ p((n) => A(n, "title"), "disabled")
|
|
6411
6411
|
});
|
|
6412
|
-
e.rules(Us, Bs, js, Ks, Gs, zs, Rt,
|
|
6412
|
+
e.rules(Us, Bs, js, Ks, Gs, zs, Rt, Hs, Fs, Xs, Zs, Ys, Js, qs, Rs, Ws, Vs);
|
|
6413
6413
|
const t = ec("expected_title");
|
|
6414
6414
|
return e.functional(t, {
|
|
6415
6415
|
name: "title",
|
|
6416
6416
|
tags: ["expected", "title"],
|
|
6417
|
-
validator:
|
|
6417
|
+
validator: H,
|
|
6418
6418
|
formatter: St(B, zt),
|
|
6419
6419
|
conflictSolver: /* @__PURE__ */ p((n, s) => s, "conflictSolver"),
|
|
6420
6420
|
disabled: /* @__PURE__ */ p((n) => !n?.expected_title, "disabled")
|
|
@@ -6426,10 +6426,10 @@ function ue(d) {
|
|
|
6426
6426
|
}
|
|
6427
6427
|
p(ue, "hasmatch");
|
|
6428
6428
|
const hl = /^(the|a|an|le|la|les|l'|el|los|las|der|die|das)\s+/i;
|
|
6429
|
-
function
|
|
6429
|
+
function To(d) {
|
|
6430
6430
|
return d.toLowerCase().replace(hl, "").trim();
|
|
6431
6431
|
}
|
|
6432
|
-
p(
|
|
6432
|
+
p(To, "normalizeTitle");
|
|
6433
6433
|
const qn = class qn extends y {
|
|
6434
6434
|
constructor() {
|
|
6435
6435
|
super(...arguments), this.priority = O, this.consequence = [b, $];
|
|
@@ -6788,10 +6788,10 @@ const Qn = class Qn extends y {
|
|
|
6788
6788
|
return f.length > 0 ? f[f.length - 1] : void 0;
|
|
6789
6789
|
}, "findPrevEpisode"), o = /* @__PURE__ */ new Set();
|
|
6790
6790
|
for (const c of n)
|
|
6791
|
-
i(c) || o.add(
|
|
6791
|
+
i(c) || o.add(To(String(c.value)));
|
|
6792
6792
|
for (const c of n)
|
|
6793
6793
|
if (i(c)) {
|
|
6794
|
-
const u =
|
|
6794
|
+
const u = To(String(c.value));
|
|
6795
6795
|
o.has(u) || r.push(c);
|
|
6796
6796
|
}
|
|
6797
6797
|
return r;
|
|
@@ -6875,7 +6875,7 @@ const tr = class tr extends y {
|
|
|
6875
6875
|
if (g && e.range(
|
|
6876
6876
|
g.start,
|
|
6877
6877
|
g.end,
|
|
6878
|
-
(
|
|
6878
|
+
(T) => (T.name === "year" || T.name === "date") && !T.private,
|
|
6879
6879
|
0
|
|
6880
6880
|
))
|
|
6881
6881
|
continue;
|
|
@@ -6885,18 +6885,18 @@ const tr = class tr extends y {
|
|
|
6885
6885
|
let E = f.end;
|
|
6886
6886
|
for (; E > f.start && M.includes(u[E - 1]); ) E--;
|
|
6887
6887
|
if (E <= f.start) break;
|
|
6888
|
-
const
|
|
6889
|
-
if (
|
|
6890
|
-
f.end = Math.min(f.end,
|
|
6888
|
+
const T = m.find((L) => L.start <= E - 1 && L.end >= E);
|
|
6889
|
+
if (T && T.start < f.end)
|
|
6890
|
+
f.end = Math.min(f.end, T.start);
|
|
6891
6891
|
else break;
|
|
6892
6892
|
}
|
|
6893
6893
|
for (v = 0; v++ < 64; ) {
|
|
6894
6894
|
let E = f.start;
|
|
6895
6895
|
for (; E < f.end && M.includes(u[E]); ) E++;
|
|
6896
6896
|
if (E >= f.end) break;
|
|
6897
|
-
const
|
|
6898
|
-
if (
|
|
6899
|
-
f.start = Math.max(f.start,
|
|
6897
|
+
const T = m.find((L) => L.start <= E && L.end >= E + 1);
|
|
6898
|
+
if (T && T.end > f.start)
|
|
6899
|
+
f.start = Math.max(f.start, T.end);
|
|
6900
6900
|
else break;
|
|
6901
6901
|
}
|
|
6902
6902
|
for (; f.start < f.end && M.includes(u[f.start]); ) f.start++;
|
|
@@ -6909,8 +6909,8 @@ const tr = class tr extends y {
|
|
|
6909
6909
|
r.start,
|
|
6910
6910
|
f.start,
|
|
6911
6911
|
(L) => !L.private && L.name === "crc32"
|
|
6912
|
-
),
|
|
6913
|
-
P =
|
|
6912
|
+
), T = Array.isArray(E) ? E : E ? [E] : [];
|
|
6913
|
+
P = T.length > 0 ? T[T.length - 1] : void 0;
|
|
6914
6914
|
}
|
|
6915
6915
|
!D && !P || (f.name = "episode_title", n.push(f));
|
|
6916
6916
|
}
|
|
@@ -7365,7 +7365,7 @@ const _l = Sr("alpha3"), bl = Sr("alpha2"), wl = Sr("name"), Sl = Sr("opensubtit
|
|
|
7365
7365
|
};
|
|
7366
7366
|
p(ce, "Language");
|
|
7367
7367
|
let ne = ce;
|
|
7368
|
-
const
|
|
7368
|
+
const Ho = new ne("und"), Dl = new ne("mul");
|
|
7369
7369
|
function* _i(d) {
|
|
7370
7370
|
let e = null;
|
|
7371
7371
|
for (let t = 0; t <= d.length; t++) {
|
|
@@ -7415,7 +7415,7 @@ const eo = class eo {
|
|
|
7415
7415
|
const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
|
|
7416
7416
|
for (const i of this.iterLanguageMatches(e)) {
|
|
7417
7417
|
const o = i.propertyName;
|
|
7418
|
-
i.lang.equals(
|
|
7418
|
+
i.lang.equals(Ho) ? (n.has(o) || n.set(o, /* @__PURE__ */ new Set()), n.get(o).add(i)) : i.lang.equals(Dl) ? (s.has(o) || s.set(o, /* @__PURE__ */ new Set()), s.get(o).add(i)) : (t.has(o) || t.set(o, /* @__PURE__ */ new Set()), t.get(o).add(i));
|
|
7419
7419
|
}
|
|
7420
7420
|
const r = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ p((i) => {
|
|
7421
7421
|
const o = `${i.propertyName}:${i.word.start}-${i.word.end}:${i.lang.alpha3}`;
|
|
@@ -7445,7 +7445,7 @@ const eo = class eo {
|
|
|
7445
7445
|
*/
|
|
7446
7446
|
toRebulkMatch(e) {
|
|
7447
7447
|
const t = e.word, n = t.start, s = t.end, r = e.propertyName;
|
|
7448
|
-
if (e.lang.equals(
|
|
7448
|
+
if (e.lang.equals(Ho)) {
|
|
7449
7449
|
const i = ["weak-language"], o = (t.inputString ?? "").slice(n, s).toLowerCase();
|
|
7450
7450
|
return (this.commonWords.has(o) || this.commonWords.has(t.value.toLowerCase())) && i.push("common"), [
|
|
7451
7451
|
n,
|
|
@@ -7814,14 +7814,14 @@ function Cl(d, e) {
|
|
|
7814
7814
|
), i = [...r, ...d.language_suffixes].sort(
|
|
7815
7815
|
(l, u) => u.length - l.length
|
|
7816
7816
|
), o = new Set(d.weak_affixes), c = new F().stringDefaults({ ignoreCase: !0 }).defaults({
|
|
7817
|
-
validator:
|
|
7817
|
+
validator: H
|
|
7818
7818
|
});
|
|
7819
7819
|
for (const l of n)
|
|
7820
7820
|
c.string(l, {
|
|
7821
7821
|
name: "subtitle_language.prefix",
|
|
7822
7822
|
ignoreCase: !0,
|
|
7823
7823
|
private: !0,
|
|
7824
|
-
validator:
|
|
7824
|
+
validator: H,
|
|
7825
7825
|
tags: ["release-group-prefix"],
|
|
7826
7826
|
disabled: /* @__PURE__ */ p((u) => A(u, "subtitle_language"), "disabled")
|
|
7827
7827
|
});
|
|
@@ -7830,7 +7830,7 @@ function Cl(d, e) {
|
|
|
7830
7830
|
name: "subtitle_language.suffix",
|
|
7831
7831
|
ignoreCase: !0,
|
|
7832
7832
|
private: !0,
|
|
7833
|
-
validator:
|
|
7833
|
+
validator: H,
|
|
7834
7834
|
disabled: /* @__PURE__ */ p((u) => A(u, "subtitle_language"), "disabled")
|
|
7835
7835
|
});
|
|
7836
7836
|
for (const l of i)
|
|
@@ -7838,7 +7838,7 @@ function Cl(d, e) {
|
|
|
7838
7838
|
name: "language.suffix",
|
|
7839
7839
|
ignoreCase: !0,
|
|
7840
7840
|
private: !0,
|
|
7841
|
-
validator:
|
|
7841
|
+
validator: H,
|
|
7842
7842
|
tags: ["source-suffix"],
|
|
7843
7843
|
disabled: /* @__PURE__ */ p((u) => A(u, "language"), "disabled")
|
|
7844
7844
|
});
|
|
@@ -8053,7 +8053,7 @@ function Nl(d) {
|
|
|
8053
8053
|
r.functional(a, {
|
|
8054
8054
|
name: "release_group",
|
|
8055
8055
|
tags: ["expected"],
|
|
8056
|
-
validator:
|
|
8056
|
+
validator: H,
|
|
8057
8057
|
conflictSolver: /* @__PURE__ */ p(() => null, "conflictSolver"),
|
|
8058
8058
|
disabled: /* @__PURE__ */ p((o) => !o?.expected_group, "disabled")
|
|
8059
8059
|
});
|
|
@@ -8459,8 +8459,8 @@ const rt = class rt extends y {
|
|
|
8459
8459
|
h.end,
|
|
8460
8460
|
r.start,
|
|
8461
8461
|
(L) => L.name !== "streaming_service" && !L.private && L.name !== "other"
|
|
8462
|
-
) : null, E = D && D.length > 0,
|
|
8463
|
-
if ((!u || w || E || m !== null && m.length > 0 || !se(r)) && (!h || k ||
|
|
8462
|
+
) : null, E = D && D.length > 0, T = P && P.length > 0;
|
|
8463
|
+
if ((!u || w || E || m !== null && m.length > 0 || !se(r)) && (!h || k || T || v !== null && v.length > 0 || !ae(r))) {
|
|
8464
8464
|
process.env.DEBUG_SS && console.log(` [VS.when] pushing to toRemove: ${r.value}`), t.push(r);
|
|
8465
8465
|
continue;
|
|
8466
8466
|
}
|
|
@@ -8476,8 +8476,8 @@ p(rt, "ValidateStreamingService"), rt.priority = 128, rt.consequence = b;
|
|
|
8476
8476
|
let $a = rt;
|
|
8477
8477
|
function Ol(d) {
|
|
8478
8478
|
const e = new F({ disabled: /* @__PURE__ */ p((t) => A(t, "other"), "disabled") });
|
|
8479
|
-
return e.regexDefaults({ flags: "i", abbreviations: [X] }).stringDefaults({ ignoreCase: !0 }), e.defaults({ name: "other", validator:
|
|
8480
|
-
|
|
8479
|
+
return e.regexDefaults({ flags: "i", abbreviations: [X] }).stringDefaults({ ignoreCase: !0 }), e.defaults({ name: "other", validator: H }), te(e, d.other), Fl(e), e.rules(
|
|
8480
|
+
Ha,
|
|
8481
8481
|
Fa,
|
|
8482
8482
|
Ua,
|
|
8483
8483
|
Wa,
|
|
@@ -8493,7 +8493,7 @@ function Ol(d) {
|
|
|
8493
8493
|
Ra,
|
|
8494
8494
|
ei,
|
|
8495
8495
|
Qa,
|
|
8496
|
-
|
|
8496
|
+
Ta,
|
|
8497
8497
|
Ba,
|
|
8498
8498
|
za
|
|
8499
8499
|
), e;
|
|
@@ -8538,27 +8538,27 @@ const Il = {
|
|
|
8538
8538
|
}
|
|
8539
8539
|
};
|
|
8540
8540
|
p(dr, "ImageArtKeywordToOther"), dr.priority = O;
|
|
8541
|
-
let
|
|
8542
|
-
const Ll = "(?P<credits_number>\\d+(?:(?![vV]\\d)[^\\W\\d_])?)?", $l = "(?:-?[vV](?P<version>\\d+))?",
|
|
8543
|
-
function
|
|
8541
|
+
let Ta = dr;
|
|
8542
|
+
const Ll = "(?P<credits_number>\\d+(?:(?![vV]\\d)[^\\W\\d_])?)?", $l = "(?:-?[vV](?P<version>\\d+))?", Tl = Ll + $l;
|
|
8543
|
+
function Hl(d) {
|
|
8544
8544
|
const e = /^(\d+)(\w?)$/.exec(d);
|
|
8545
8545
|
return e ? String(parseInt(e[1], 10)) + e[2].toLowerCase() : d;
|
|
8546
8546
|
}
|
|
8547
|
-
p(
|
|
8547
|
+
p(Hl, "formatCreditsNumber");
|
|
8548
8548
|
function Fl(d) {
|
|
8549
8549
|
const e = /* @__PURE__ */ p((t, n, s) => {
|
|
8550
8550
|
d.regex(
|
|
8551
|
-
"(?P<other>" + t + ")" +
|
|
8551
|
+
"(?P<other>" + t + ")" + Tl,
|
|
8552
8552
|
{
|
|
8553
8553
|
flags: s ? "i" : "",
|
|
8554
8554
|
name: "other",
|
|
8555
8555
|
children: !0,
|
|
8556
8556
|
privateParent: !0,
|
|
8557
8557
|
validateAll: !0,
|
|
8558
|
-
validator: { __parent__:
|
|
8558
|
+
validator: { __parent__: H },
|
|
8559
8559
|
formatter: {
|
|
8560
8560
|
other: /* @__PURE__ */ p(() => n, "other"),
|
|
8561
|
-
credits_number:
|
|
8561
|
+
credits_number: Hl,
|
|
8562
8562
|
version: /* @__PURE__ */ p((r) => parseInt(r, 10), "version")
|
|
8563
8563
|
},
|
|
8564
8564
|
disabled: /* @__PURE__ */ p((r) => A(r, "other"), "disabled")
|
|
@@ -8586,7 +8586,7 @@ const st = class st extends y {
|
|
|
8586
8586
|
}
|
|
8587
8587
|
};
|
|
8588
8588
|
p(st, "AppendCreditless"), st.priority = O, st.properties = { other: ["Creditless"] };
|
|
8589
|
-
let
|
|
8589
|
+
let Ha = st;
|
|
8590
8590
|
const at = class at extends y {
|
|
8591
8591
|
constructor() {
|
|
8592
8592
|
super(...arguments), this.priority = O, this.consequence = $;
|
|
@@ -8650,7 +8650,7 @@ function zl(d, e) {
|
|
|
8650
8650
|
value: { other: "Complete" },
|
|
8651
8651
|
tags: ["release-group-prefix"],
|
|
8652
8652
|
validator: {
|
|
8653
|
-
__parent__: /* @__PURE__ */ p((i) =>
|
|
8653
|
+
__parent__: /* @__PURE__ */ p((i) => H(i) && a(i), "__parent__")
|
|
8654
8654
|
}
|
|
8655
8655
|
}
|
|
8656
8656
|
), d.regex(
|
|
@@ -8661,7 +8661,7 @@ function zl(d, e) {
|
|
|
8661
8661
|
validateAll: !0,
|
|
8662
8662
|
value: { other: "Complete" },
|
|
8663
8663
|
tags: ["release-group-prefix"],
|
|
8664
|
-
validator: { __parent__:
|
|
8664
|
+
validator: { __parent__: H }
|
|
8665
8665
|
}
|
|
8666
8666
|
), d.regex(
|
|
8667
8667
|
Fo + "(?P<completePrefix>" + I(e.completePrefixWords) + "-?)" + t,
|
|
@@ -8669,7 +8669,7 @@ function zl(d, e) {
|
|
|
8669
8669
|
privateNames: ["completePrefix"],
|
|
8670
8670
|
value: { other: "Complete" },
|
|
8671
8671
|
tags: ["release-group-prefix"],
|
|
8672
|
-
validator: { __parent__:
|
|
8672
|
+
validator: { __parent__: H }
|
|
8673
8673
|
}
|
|
8674
8674
|
);
|
|
8675
8675
|
}
|
|
@@ -8984,7 +8984,7 @@ p(mt, "ValidateReal"), mt.consequence = b, mt.priority = 64;
|
|
|
8984
8984
|
let ei = mt;
|
|
8985
8985
|
function Vl(d) {
|
|
8986
8986
|
const e = new F({ disabled: /* @__PURE__ */ p((t) => A(t, "size"), "disabled") });
|
|
8987
|
-
return e.regexDefaults({ flags: "i", abbreviations: [X] }), e.defaults({ name: "size", validator:
|
|
8987
|
+
return e.regexDefaults({ flags: "i", abbreviations: [X] }), e.defaults({ name: "size", validator: H }), e.regex("\\d+-?[mgt]b", "\\d+\\.\\d+-?[mgt]b", {
|
|
8988
8988
|
formatter: /* @__PURE__ */ p((t) => As.fromstring(t).toString(), "formatter"),
|
|
8989
8989
|
tags: ["release-group-prefix"]
|
|
8990
8990
|
}), e;
|
|
@@ -8998,7 +8998,7 @@ function Rl(d) {
|
|
|
8998
8998
|
const e = new F({
|
|
8999
8999
|
disabled: /* @__PURE__ */ p((t) => A(t, "audio_bit_rate") && A(t, "video_bit_rate"), "disabled")
|
|
9000
9000
|
});
|
|
9001
|
-
return e.regexDefaults({ flags: "i", abbreviations: [X] }), e.defaults({ name: "audio_bit_rate", validator:
|
|
9001
|
+
return e.regexDefaults({ flags: "i", abbreviations: [X] }), e.defaults({ name: "audio_bit_rate", validator: H }), te(e, d.bit_rate), e.rules(ti), e;
|
|
9002
9002
|
}
|
|
9003
9003
|
p(Rl, "bitRate");
|
|
9004
9004
|
const hr = class hr extends y {
|
|
@@ -9036,7 +9036,7 @@ p(hr, "BitRateTypeRule"), hr.consequence = [new le("video_bit_rate"), b];
|
|
|
9036
9036
|
let ti = hr;
|
|
9037
9037
|
function Wl(d) {
|
|
9038
9038
|
const e = new F({ disabled: /* @__PURE__ */ p((t) => A(t, "edition"), "disabled") });
|
|
9039
|
-
return e.regexDefaults({ flags: "i", abbreviations: [X] }).stringDefaults({ ignoreCase: !0 }), e.defaults({ name: "edition", validator:
|
|
9039
|
+
return e.regexDefaults({ flags: "i", abbreviations: [X] }).stringDefaults({ ignoreCase: !0 }), e.defaults({ name: "edition", validator: H }), te(e, d.edition), e;
|
|
9040
9040
|
}
|
|
9041
9041
|
p(Wl, "edition");
|
|
9042
9042
|
function ql(d) {
|
|
@@ -9151,7 +9151,7 @@ const Kl = /* @__PURE__ */ new Set([
|
|
|
9151
9151
|
const V = v.slice(s.end, P.start), Q = v.slice(P.end, w), pe = [...V].every((re) => /[\s._\-]/.test(re)), ye = [...Q].every((re) => /[\s._\-]/.test(re));
|
|
9152
9152
|
pe && ye && (D = P.end);
|
|
9153
9153
|
}
|
|
9154
|
-
const E = v.slice(k, D),
|
|
9154
|
+
const E = v.slice(k, D), T = B(E), L = [s], S = e.range(
|
|
9155
9155
|
k,
|
|
9156
9156
|
D,
|
|
9157
9157
|
(V) => !V.private && V.name !== "bonus" && V.name !== "container"
|
|
@@ -9160,7 +9160,7 @@ const Kl = /* @__PURE__ */ new Set([
|
|
|
9160
9160
|
L.includes(V) || L.push(V);
|
|
9161
9161
|
const j = new N(k, D, {
|
|
9162
9162
|
name: "bonus_title",
|
|
9163
|
-
value:
|
|
9163
|
+
value: T || B(String(s.value)),
|
|
9164
9164
|
inputString: v
|
|
9165
9165
|
});
|
|
9166
9166
|
return { toRemove: L, toAppend: [j] };
|
|
@@ -9216,7 +9216,7 @@ p(vt, "BonusTitleRule"), vt.dependency = ["TitleFromPosition"], vt.properties =
|
|
|
9216
9216
|
let si = vt;
|
|
9217
9217
|
function Gl(d) {
|
|
9218
9218
|
const e = new F({ disabled: /* @__PURE__ */ p((t) => A(t, "film"), "disabled") });
|
|
9219
|
-
return e.regexDefaults({ flags: "i", abbreviations: [X] }).stringDefaults({ ignoreCase: !0 }), e.defaults({ name: "film", validator:
|
|
9219
|
+
return e.regexDefaults({ flags: "i", abbreviations: [X] }).stringDefaults({ ignoreCase: !0 }), e.defaults({ name: "film", validator: H }), te(e, d.film), e.rules(ai, ii), e;
|
|
9220
9220
|
}
|
|
9221
9221
|
p(Gl, "film");
|
|
9222
9222
|
const xr = class xr extends y {
|
|
@@ -9278,11 +9278,11 @@ function Xl(d) {
|
|
|
9278
9278
|
e.regexDefaults({
|
|
9279
9279
|
flags: "i",
|
|
9280
9280
|
abbreviations: [X],
|
|
9281
|
-
validator: { __parent__:
|
|
9281
|
+
validator: { __parent__: H }
|
|
9282
9282
|
});
|
|
9283
9283
|
const t = d.prefixes, n = `(?:\\d+|[ivxlcdm]+|${Ac})`;
|
|
9284
9284
|
function s(r) {
|
|
9285
|
-
return xe(r.raw) ? !0 :
|
|
9285
|
+
return xe(r.raw) ? !0 : H(r);
|
|
9286
9286
|
}
|
|
9287
9287
|
return p(s, "validateRoman"), e.regex(
|
|
9288
9288
|
`${I(t)}-?(?P<part>${n})`,
|
|
@@ -9324,7 +9324,7 @@ function Ql(d) {
|
|
|
9324
9324
|
p(Ql, "guessIdnumber");
|
|
9325
9325
|
function eu(d) {
|
|
9326
9326
|
const e = new F({ disabled: /* @__PURE__ */ p((t) => A(t, "crc32"), "disabled") });
|
|
9327
|
-
return e.regexDefaults({ flags: "i" }), e.defaults({ validator:
|
|
9327
|
+
return e.regexDefaults({ flags: "i" }), e.defaults({ validator: H }), e.regex("(?:[a-fA-F]|[0-9]){8}", {
|
|
9328
9328
|
name: "crc32",
|
|
9329
9329
|
conflictSolver: /* @__PURE__ */ p((t, n) => ["episode", "season"].includes(n.name ?? "") ? n : "__default__", "conflictSolver")
|
|
9330
9330
|
}), e.regex("[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", {
|
|
@@ -9339,7 +9339,7 @@ function eu(d) {
|
|
|
9339
9339
|
p(eu, "crc");
|
|
9340
9340
|
function tu(d) {
|
|
9341
9341
|
const e = new F({ disabled: /* @__PURE__ */ p((t) => A(t, "imdb_id"), "disabled") });
|
|
9342
|
-
return e.regexDefaults({ flags: "i" }), e.defaults({ validator:
|
|
9342
|
+
return e.regexDefaults({ flags: "i" }), e.defaults({ validator: H }), e.regex("(?:imdb(?:id)?[-=]?)?(?<imdb_id>tt\\d{7,8})", {
|
|
9343
9343
|
name: "imdb_id",
|
|
9344
9344
|
privateParent: !0,
|
|
9345
9345
|
children: !0,
|
|
@@ -9361,7 +9361,7 @@ function nu(d) {
|
|
|
9361
9361
|
const e = new F({ disabled: /* @__PURE__ */ p((t) => A(t, "volume"), "disabled") });
|
|
9362
9362
|
return e.regexDefaults({ flags: "i" }), e.regex("vol(?:\\d{1,3}|(?:ume)?[-. ]{1,2}\\d{1,3})(?:v\\d)?(?:[&+]\\d{1,3})?", {
|
|
9363
9363
|
name: "volume",
|
|
9364
|
-
validator:
|
|
9364
|
+
validator: H,
|
|
9365
9365
|
formatter: /* @__PURE__ */ p((t) => parseInt(String(t).replace(/^vol(?:ume)?[-. ]*/i, "").replace(/[v&+].*$/i, ""), 10), "formatter"),
|
|
9366
9366
|
conflictSolver: /* @__PURE__ */ p((t, n) => n.name === "episode" || n.name === "season" ? n : "__default__", "conflictSolver")
|
|
9367
9367
|
}), e;
|
|
@@ -9457,15 +9457,15 @@ const Pe = class Pe extends y {
|
|
|
9457
9457
|
(U) => (U.tags.includes("weak-duplicate") || U.tags.includes("weak-episode")) && U.start < P
|
|
9458
9458
|
);
|
|
9459
9459
|
l.length;
|
|
9460
|
-
let
|
|
9460
|
+
let T = !1;
|
|
9461
9461
|
const L = c.filter((U) => U.tags.includes("weak-episode") || U.tags.includes("weak-duplicate"));
|
|
9462
9462
|
if (L.length >= 3)
|
|
9463
|
-
|
|
9463
|
+
T = !0;
|
|
9464
9464
|
else if (L.length === 2) {
|
|
9465
9465
|
const U = [...L].sort((ie, _e) => ie.start - _e.start), K = (e.inputString ?? "").slice(U[0].end, U[1].start).replace(/[\s._]/g, "");
|
|
9466
|
-
(K === "-" || K === "~" || K.toLowerCase() === "to") && (
|
|
9466
|
+
(K === "-" || K === "~" || K.toLowerCase() === "to") && (T = !0);
|
|
9467
9467
|
}
|
|
9468
|
-
const S = c.length > 0 && !
|
|
9468
|
+
const S = c.length > 0 && !T && c.every((U) => U.tags.includes("weak-episode") || U.tags.includes("weak-duplicate")), j = l.every((U) => {
|
|
9469
9469
|
if (!(U.tags.includes("weak-duplicate") || U.tags.includes("weak-episode"))) return !1;
|
|
9470
9470
|
if (U.start < P) return !0;
|
|
9471
9471
|
const Z = e.inputString ?? "", K = U.initiator;
|
|
@@ -9570,7 +9570,7 @@ const yr = class yr extends ee {
|
|
|
9570
9570
|
}
|
|
9571
9571
|
}
|
|
9572
9572
|
};
|
|
9573
|
-
p(yr, "EnlargeGroupMatches"), yr.priority =
|
|
9573
|
+
p(yr, "EnlargeGroupMatches"), yr.priority = Tr;
|
|
9574
9574
|
let li = yr;
|
|
9575
9575
|
function ou(d, e) {
|
|
9576
9576
|
return d === e || zo(d) && !zo(e) || !d.toUpperCase().startsWith(d) && e === e.toUpperCase() || !d.toUpperCase().startsWith(d) && d[0] === d[0].toUpperCase() && e[0] !== e[0].toUpperCase() || Vo(d) > Vo(e) ? d : e;
|
|
@@ -11907,6 +11907,8 @@ const yu = {
|
|
|
11907
11907
|
"tgz",
|
|
11908
11908
|
"torrent",
|
|
11909
11909
|
"ts",
|
|
11910
|
+
"Ts",
|
|
11911
|
+
"TS",
|
|
11910
11912
|
"txt",
|
|
11911
11913
|
"url",
|
|
11912
11914
|
"vob",
|
|
@@ -11933,6 +11935,13 @@ const yu = {
|
|
|
11933
11935
|
array: !1,
|
|
11934
11936
|
scalar: !0
|
|
11935
11937
|
},
|
|
11938
|
+
credits_number: {
|
|
11939
|
+
type: [
|
|
11940
|
+
"string"
|
|
11941
|
+
],
|
|
11942
|
+
array: !1,
|
|
11943
|
+
scalar: !0
|
|
11944
|
+
},
|
|
11936
11945
|
date: {
|
|
11937
11946
|
type: [
|
|
11938
11947
|
"object"
|
|
@@ -12026,7 +12035,7 @@ const yu = {
|
|
|
12026
12035
|
type: [
|
|
12027
12036
|
"string"
|
|
12028
12037
|
],
|
|
12029
|
-
array: !
|
|
12038
|
+
array: !0,
|
|
12030
12039
|
scalar: !0
|
|
12031
12040
|
},
|
|
12032
12041
|
film: {
|
|
@@ -12050,6 +12059,13 @@ const yu = {
|
|
|
12050
12059
|
array: !1,
|
|
12051
12060
|
scalar: !0
|
|
12052
12061
|
},
|
|
12062
|
+
imdb_id: {
|
|
12063
|
+
type: [
|
|
12064
|
+
"string"
|
|
12065
|
+
],
|
|
12066
|
+
array: !1,
|
|
12067
|
+
scalar: !0
|
|
12068
|
+
},
|
|
12053
12069
|
language: {
|
|
12054
12070
|
type: [
|
|
12055
12071
|
"Language"
|
|
@@ -12074,6 +12090,10 @@ const yu = {
|
|
|
12074
12090
|
"application/x-subrip",
|
|
12075
12091
|
"application/x-tar",
|
|
12076
12092
|
"application/zip",
|
|
12093
|
+
"audio/aac",
|
|
12094
|
+
"audio/flac",
|
|
12095
|
+
"audio/mpeg",
|
|
12096
|
+
"audio/ogg",
|
|
12077
12097
|
"image/bmp",
|
|
12078
12098
|
"image/gif",
|
|
12079
12099
|
"image/jpeg",
|
|
@@ -12112,6 +12132,7 @@ const yu = {
|
|
|
12112
12132
|
"CONVERT",
|
|
12113
12133
|
"Converted",
|
|
12114
12134
|
"Cover",
|
|
12135
|
+
"Creditless",
|
|
12115
12136
|
"Dirfix",
|
|
12116
12137
|
"Disc Art",
|
|
12117
12138
|
"DOCU",
|
|
@@ -12121,6 +12142,7 @@ const yu = {
|
|
|
12121
12142
|
"Dual",
|
|
12122
12143
|
"Dual Audio",
|
|
12123
12144
|
"East Coast Feed",
|
|
12145
|
+
"Ending Credits",
|
|
12124
12146
|
"Extras",
|
|
12125
12147
|
"Fan Subtitled",
|
|
12126
12148
|
"Fanart",
|
|
@@ -12170,6 +12192,7 @@ const yu = {
|
|
|
12170
12192
|
"Obfuscated",
|
|
12171
12193
|
"Ona",
|
|
12172
12194
|
"Open Matte",
|
|
12195
|
+
"Opening Credits",
|
|
12173
12196
|
"Original Animated Video",
|
|
12174
12197
|
"Original Animation DVD",
|
|
12175
12198
|
"Original Aspect Ratio",
|
|
@@ -12256,17 +12279,50 @@ const yu = {
|
|
|
12256
12279
|
enum: [
|
|
12257
12280
|
"1080i",
|
|
12258
12281
|
"1080p",
|
|
12282
|
+
"1094x576",
|
|
12283
|
+
"1198x900",
|
|
12284
|
+
"1368x720",
|
|
12285
|
+
"1438x1080",
|
|
12259
12286
|
"1440p",
|
|
12260
12287
|
"1444x866",
|
|
12288
|
+
"1710x900",
|
|
12289
|
+
"2050x1080",
|
|
12261
12290
|
"2160p",
|
|
12291
|
+
"250x360",
|
|
12292
|
+
"2878x2160",
|
|
12293
|
+
"360i",
|
|
12262
12294
|
"360p",
|
|
12263
12295
|
"368p",
|
|
12296
|
+
"4100x2160",
|
|
12297
|
+
"4320p",
|
|
12298
|
+
"450x360",
|
|
12299
|
+
"480i",
|
|
12264
12300
|
"480p",
|
|
12301
|
+
"490x368",
|
|
12265
12302
|
"4k",
|
|
12303
|
+
"500x1080",
|
|
12304
|
+
"500x2160",
|
|
12305
|
+
"500x4320",
|
|
12306
|
+
"500x480",
|
|
12307
|
+
"500x576",
|
|
12308
|
+
"500x720",
|
|
12309
|
+
"500x900",
|
|
12310
|
+
"540i",
|
|
12266
12311
|
"540p",
|
|
12312
|
+
"5758x2160",
|
|
12313
|
+
"576i",
|
|
12267
12314
|
"576p",
|
|
12315
|
+
"638x480",
|
|
12316
|
+
"684x360",
|
|
12317
|
+
"700x368",
|
|
12268
12318
|
"720p",
|
|
12269
12319
|
"720x432",
|
|
12320
|
+
"766x576",
|
|
12321
|
+
"8198x2160",
|
|
12322
|
+
"900i",
|
|
12323
|
+
"900p",
|
|
12324
|
+
"920x480",
|
|
12325
|
+
"950x720",
|
|
12270
12326
|
"960x544"
|
|
12271
12327
|
]
|
|
12272
12328
|
},
|
|
@@ -12295,7 +12351,7 @@ const yu = {
|
|
|
12295
12351
|
type: [
|
|
12296
12352
|
"string"
|
|
12297
12353
|
],
|
|
12298
|
-
array: !
|
|
12354
|
+
array: !0,
|
|
12299
12355
|
scalar: !0,
|
|
12300
12356
|
enum: [
|
|
12301
12357
|
"Analog HDTV",
|
|
@@ -12644,6 +12700,20 @@ const yu = {
|
|
|
12644
12700
|
type: [
|
|
12645
12701
|
"string"
|
|
12646
12702
|
],
|
|
12703
|
+
array: !0,
|
|
12704
|
+
scalar: !0
|
|
12705
|
+
},
|
|
12706
|
+
tmdb_id: {
|
|
12707
|
+
type: [
|
|
12708
|
+
"number"
|
|
12709
|
+
],
|
|
12710
|
+
array: !1,
|
|
12711
|
+
scalar: !0
|
|
12712
|
+
},
|
|
12713
|
+
tvdb_id: {
|
|
12714
|
+
type: [
|
|
12715
|
+
"number"
|
|
12716
|
+
],
|
|
12647
12717
|
array: !1,
|
|
12648
12718
|
scalar: !0
|
|
12649
12719
|
},
|
|
@@ -12742,6 +12812,13 @@ const yu = {
|
|
|
12742
12812
|
"XP"
|
|
12743
12813
|
]
|
|
12744
12814
|
},
|
|
12815
|
+
volume: {
|
|
12816
|
+
type: [
|
|
12817
|
+
"number"
|
|
12818
|
+
],
|
|
12819
|
+
array: !0,
|
|
12820
|
+
scalar: !0
|
|
12821
|
+
},
|
|
12745
12822
|
website: {
|
|
12746
12823
|
type: [
|
|
12747
12824
|
"string"
|
|
@@ -12749,12 +12826,19 @@ const yu = {
|
|
|
12749
12826
|
array: !1,
|
|
12750
12827
|
scalar: !0
|
|
12751
12828
|
},
|
|
12752
|
-
|
|
12829
|
+
week: {
|
|
12753
12830
|
type: [
|
|
12754
12831
|
"number"
|
|
12755
12832
|
],
|
|
12756
12833
|
array: !1,
|
|
12757
12834
|
scalar: !0
|
|
12835
|
+
},
|
|
12836
|
+
year: {
|
|
12837
|
+
type: [
|
|
12838
|
+
"number"
|
|
12839
|
+
],
|
|
12840
|
+
array: !0,
|
|
12841
|
+
scalar: !0
|
|
12758
12842
|
}
|
|
12759
12843
|
}, po = class po extends Error {
|
|
12760
12844
|
constructor(e, t, n) {
|
|
@@ -12897,7 +12981,7 @@ function Du() {
|
|
|
12897
12981
|
Et.reset();
|
|
12898
12982
|
}
|
|
12899
12983
|
p(Du, "reset");
|
|
12900
|
-
const _u = "4.
|
|
12984
|
+
const _u = "4.10.0", Cu = _u;
|
|
12901
12985
|
export {
|
|
12902
12986
|
yu as GUESSIT_SCHEMA,
|
|
12903
12987
|
yi as GuessItApi,
|