UNPKG

@acwink/movies-search-mcp

Version:

Smart MCP tool to find and validate movie/tv-show resources with multiple sources support

1,536 lines 70.2 kB
!(function (t, n) { "object" == typeof exports && "object" == typeof module ? (module.exports = n()) : "function" == typeof define && define.amd ? define([], n) : "object" == typeof exports ? (exports.devtoolsDetector = n()) : (t.devtoolsDetector = n()); })("undefined" != typeof self ? self : this, function () { return ( (e = [ function (t, n, e) { "use strict"; (e.d(n, "j", function () { return o; }), e.d(n, "e", function () { return i; }), e.d(n, "f", function () { return u; }), e.d(n, "d", function () { return c; }), e.d(n, "i", function () { return a; }), e.d(n, "g", function () { return f; }), e.d(n, "c", function () { return s; }), e.d(n, "h", function () { return l; }), (n.a = function () { for (var t, n = [], e = 0; e < arguments.length; e++) n[e] = arguments[e]; return null != r && r.document ? (t = r.document).createElement.apply(t, n) : {}; }), e.d(n, "b", function () { return d; })); var n = e(1), r = Object(n.a)(), o = (null == (e = null == r ? void 0 : r.navigator) ? void 0 : e.userAgent) || "unknown", i = "InstallTrigger" in ((null == r ? void 0 : r.window) || {}) || /firefox/i.test(o), u = /trident/i.test(o) || /msie/i.test(o), c = /edge/i.test(o), a = /webkit/i.test(o) && !c, f = /IqiyiApp/.test(o), s = void 0 !== (null == (n = null == r ? void 0 : r.window) ? void 0 : n.chrome) || /chrome/i.test(o) || /CriOS/i.test(o), l = "[object SafariRemoteNotification]" === ( (null == (n = null == (e = null == r ? void 0 : r.window) ? void 0 : e.safari) ? void 0 : n.pushNotification) || !1 ).toString() || (/safari/i.test(o) && !s), d = "function" == typeof (null == (e = r.document) ? void 0 : e.createElement); }, function (t, n, e) { "use strict"; !function (t) { ((n.c = function () { return ( "undefined" != typeof performance ? performance : Date ).now(); }), (n.b = function (t) { for ( var n = (t = void 0 === t ? {} : t).includes, t = t.excludes, t = void 0 === t ? [] : t, e = !1, r = !1, o = 0, i = void 0 === n ? [] : n; o < i.length; o++ ) if (!0 === i[o]) { e = !0; break; } for (var u = 0, c = t; u < c.length; u++) if (!0 === c[u]) { r = !0; break; } return e && !r; }), (n.d = function (t, n, e) { t = o.a[t]; return void 0 !== t && Object(r.compare)(t, n, e); }), (n.a = function () { return "undefined" != typeof self ? self : "undefined" != typeof window ? window : void 0 !== t ? t : this; })); var r = e(8), o = (e.n(r), e(4)); }.call(n, e(7)); }, function (t, n, e) { "use strict"; (e.d(n, "b", function () { return i; }), e.d(n, "c", function () { return u; }), e.d(n, "a", function () { return c; })); var r = e(0); function o(e) { if (console) { if (!r.f && !r.d) return console[e]; if ("log" === e || "clear" === e) return function () { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; console[e].apply(console, t); }; } return function () { for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n]; }; } var i = o("log"), u = o("table"), c = o("clear"); }, function (t, n, e) { "use strict"; (Object.defineProperty(n, "__esModule", { value: !0, }), (n.addListener = function (t) { // s.addListener(t) }), (n.removeListener = function (t) { s.removeListener(t); }), (n.isLaunch = function () { return s.isLaunch(); }), (n.launch = function () { s.launch(); }), (n.stop = function () { s.stop(); }), (n.setDetectDelay = function (t) { s.setDetectDelay(t); })); var r = e(6), o = e(9), i = (e.d(n, "DevtoolsDetector", function () { return r.a; }), e.d(n, "checkers", function () { return o; }), e(1)), u = (e.d(n, "match", function () { return i.b; }), e.d(n, "specificVersionMatch", function () { return i.d; }), e(0)), c = (e.d(n, "userAgent", function () { return u.j; }), e.d(n, "isFirefox", function () { return u.e; }), e.d(n, "isIE", function () { return u.f; }), e.d(n, "isEdge", function () { return u.d; }), e.d(n, "isWebkit", function () { return u.i; }), e.d(n, "isIqiyiApp", function () { return u.g; }), e.d(n, "isChrome", function () { return u.c; }), e.d(n, "isSafari", function () { return u.h; }), e.d(n, "createElement", function () { return u.a; }), e.d(n, "inBrowser", function () { return u.b; }), e(2)), a = (e.d(n, "log", function () { return c.b; }), e.d(n, "table", function () { return c.c; }), e.d(n, "clear", function () { return c.a; }), e(4)), f = (e.d(n, "versionMap", function () { return a.a; }), e(5)), s = (e.d(n, "isMac", function () { return f.d; }), e.d(n, "isIpad", function () { return f.b; }), e.d(n, "isIphone", function () { return f.c; }), e.d(n, "isAndroid", function () { return f.a; }), e.d(n, "isWindows", function () { return f.e; }), new r.a({ checkers: [ o.erudaChecker, o.elementIdChecker, o.regToStringChecker, o.functionToStringChecker, o.depRegToStringChecker, o.dateToStringChecker, o.performanceChecker, o.debuggerChecker, ], })); n.default = s; }, function (t, n, e) { "use strict"; e.d(n, "a", function () { return r; }); for ( var r = {}, o = 0, i = (e(0).j || "").match(/\w+\/(\d|\.)+(\s|$)/gi) || []; o < i.length; o++ ) { var u = i[o].split("/"), c = u[0], u = u[1]; r[c] = u; } }, function (t, n, e) { "use strict"; (e.d(n, "d", function () { return r; }), e.d(n, "b", function () { return o; }), e.d(n, "c", function () { return i; }), e.d(n, "a", function () { return u; }), e.d(n, "e", function () { return c; })); var n = e(0), r = /macintosh/i.test(n.j), o = /ipad/i.test(n.j) || (r && 1 < navigator.maxTouchPoints), i = /iphone/i.test(n.j), u = /android/i.test(n.j), c = /windows/i.test(n.j); }, function (t, n, e) { "use strict"; e.d(n, "a", function () { return i; }); var r = e(0), o = (this && this.__awaiter) || function (t, u, c, a) { return new (c = c || Promise)(function (e, n) { function r(t) { try { i(a.next(t)); } catch (t) { n(t); } } function o(t) { try { i(a.throw(t)); } catch (t) { n(t); } } function i(t) { var n; t.done ? e(t.value) : ((n = t.value) instanceof c ? n : new c(function (t) { t(n); }) ).then(r, o); } i((a = a.apply(t, u || [])).next()); }); }, c = (this && this.__generator) || function (r, o) { var i, u, c, a = { label: 0, sent: function () { if (1 & c[0]) throw c[1]; return c[1]; }, trys: [], ops: [], }, t = { next: n(0), throw: n(1), return: n(2), }; return ( "function" == typeof Symbol && (t[Symbol.iterator] = function () { return this; }), t ); function n(e) { return function (t) { var n = [e, t]; if (i) throw new TypeError("Generator is already executing."); for (; a; ) try { if ( ((i = 1), u && (c = 2 & n[0] ? u.return : n[0] ? u.throw || ((c = u.return) && c.call(u), 0) : u.next) && !(c = c.call(u, n[1])).done) ) return c; switch (((u = 0), (n = c ? [2 & n[0], c.value] : n)[0])) { case 0: case 1: c = n; break; case 4: return ( a.label++, { value: n[1], done: !1, } ); case 5: (a.label++, (u = n[1]), (n = [0])); continue; case 7: ((n = a.ops.pop()), a.trys.pop()); continue; default: if ( !(c = 0 < (c = a.trys).length && c[c.length - 1]) && (6 === n[0] || 2 === n[0]) ) { a = 0; continue; } if ( 3 === n[0] && (!c || (n[1] > c[0] && n[1] < c[3])) ) { a.label = n[1]; break; } if (6 === n[0] && a.label < c[1]) { ((a.label = c[1]), (c = n)); break; } if (c && a.label < c[2]) { ((a.label = c[2]), a.ops.push(n)); break; } (c[2] && a.ops.pop(), a.trys.pop()); continue; } n = o.call(r, a); } catch (t) { ((n = [6, t]), (u = 0)); } finally { i = c = 0; } if (5 & n[0]) throw n[1]; return { value: n[0] ? n[1] : void 0, done: !0, }; }; } }, i = ((u.prototype.launch = function () { r.b && (this._detectLoopDelay <= 0 && this.setDetectDelay(500), this._detectLoopStopped && ((this._detectLoopStopped = !1), this._detectLoop())); }), (u.prototype.stop = function () { this._detectLoopStopped || ((this._detectLoopStopped = !0), clearTimeout(this._timer)); }), (u.prototype.isLaunch = function () { return !this._detectLoopStopped; }), (u.prototype.setDetectDelay = function (t) { this._detectLoopDelay = t; }), (u.prototype.addListener = function (t) { // this._listeners.push(t) }), (u.prototype.removeListener = function (n) { this._listeners = this._listeners.filter(function (t) { return t !== n; }); }), (u.prototype._broadcast = function (t) { for (var n = 0, e = this._listeners; n < e.length; n++) { var r = e[n]; try { r(t.isOpen, t); } catch (t) {} } }), (u.prototype._detectLoop = function () { return o(this, void 0, void 0, function () { var n, e, r, o, i, u = this; return c(this, function (t) { switch (t.label) { case 0: ((n = !1), (e = ""), (r = 0), (o = this._checkers), (t.label = 1)); case 1: return r < o.length ? [4, (i = o[r]).isEnable()] : [3, 6]; case 2: return t.sent() ? ((e = i.name), [4, i.isOpen()]) : [3, 4]; case 3: ((n = t.sent()), (t.label = 4)); case 4: if (n) return [3, 6]; t.label = 5; case 5: return (r++, [3, 1]); case 6: return ( n != this._isOpen && ((this._isOpen = n), this._broadcast({ isOpen: n, checkerName: e, })), 0 < this._detectLoopDelay && !this._detectLoopStopped ? (this._timer = setTimeout(function () { return u._detectLoop(); }, this._detectLoopDelay)) : this.stop(), [2] ); } }); }); }), u); function u(t) { t = t.checkers; ((this._listeners = []), (this._isOpen = !1), (this._detectLoopStopped = !0), (this._detectLoopDelay = 500), (this._checkers = t.slice())); } }, function (t, n) { var e = (function () { return this; })(); try { e = e || Function("return this")() || (0, eval)("this"); } catch (t) { "object" == typeof window && (e = window); } t.exports = e; }, function (t, n, e) { var r; void 0 !== (n = "function" == typeof (r = function () { var n = /^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i; function l(t) { var n = t.replace(/^v/, "").replace(/\+.*$/, ""), e = (function (t, n) { return -1 === t.indexOf(n) ? t.length : t.indexOf(n); })(n, "-"), r = n.substring(0, e).split("."); return (r.push(n.substring(e + 1)), r); } function d(t) { return isNaN(Number(t)) ? t : Number(t); } function h(t) { if ("string" != typeof t) throw new TypeError("Invalid argument expected string"); if (!n.test(t)) throw new Error( "Invalid argument not valid semver ('" + t + "' received)" ); } function o(t, n) { [t, n].forEach(h); for ( var e = l(t), r = l(n), o = 0; o < Math.max(e.length - 1, r.length - 1); o++ ) { var i = parseInt(e[o] || 0, 10), u = parseInt(r[o] || 0, 10); if (i > u) return 1; if (u > i) return -1; } var c = e[e.length - 1], a = r[r.length - 1]; if (c && a) { var f = c.split(".").map(d), s = a.split(".").map(d); for (o = 0; o < Math.max(f.length, s.length); o++) { if ( void 0 === f[o] || ("string" == typeof s[o] && "number" == typeof f[o]) ) return -1; if ( void 0 === s[o] || ("string" == typeof f[o] && "number" == typeof s[o]) ) return 1; if (f[o] > s[o]) return 1; if (s[o] > f[o]) return -1; } } else if (c || a) return c ? -1 : 1; return 0; } var i = [">", ">=", "=", "<", "<="], u = { ">": [1], ">=": [0, 1], "=": [0], "<=": [-1, 0], "<": [-1], }; return ( (o.validate = function (t) { return "string" == typeof t && n.test(t); }), (o.compare = function (t, n, e) { !(function (t) { if ("string" != typeof t) throw new TypeError( "Invalid operator type, expected string but got " + typeof t ); if (-1 === i.indexOf(t)) throw new TypeError( "Invalid operator, expected one of " + i.join("|") ); })(e); var r = o(t, n); return u[e].indexOf(r) > -1; }), o ); }) ? r.apply(n, []) : r) && (t.exports = n); }, function (t, n, e) { "use strict"; Object.defineProperty(n, "__esModule", { value: !0, }); var r = e(10), o = (e.d(n, "depRegToStringChecker", function () { return r.a; }), e(11)), i = (e.d(n, "elementIdChecker", function () { return o.a; }), e(12)), u = (e.d(n, "functionToStringChecker", function () { return i.a; }), e(13)), c = (e.d(n, "regToStringChecker", function () { return u.a; }), e(14)), a = (e.d(n, "debuggerChecker", function () { return c.a; }), e(15)), f = (e.d(n, "dateToStringChecker", function () { return a.a; }), e(16)), s = (e.d(n, "performanceChecker", function () { return f.a; }), e(17)); e.d(n, "erudaChecker", function () { return s.a; }); }, function (t, n, e) { "use strict"; e.d(n, "a", function () { return s; }); var r = e(0), o = e(2), i = e(1), u = (this && this.__awaiter) || function (t, u, c, a) { return new (c = c || Promise)(function (e, n) { function r(t) { try { i(a.next(t)); } catch (t) { n(t); } } function o(t) { try { i(a.throw(t)); } catch (t) { n(t); } } function i(t) { var n; t.done ? e(t.value) : ((n = t.value) instanceof c ? n : new c(function (t) { t(n); }) ).then(r, o); } i((a = a.apply(t, u || [])).next()); }); }, c = (this && this.__generator) || function (r, o) { var i, u, c, a = { label: 0, sent: function () { if (1 & c[0]) throw c[1]; return c[1]; }, trys: [], ops: [], }, t = { next: n(0), throw: n(1), return: n(2), }; return ( "function" == typeof Symbol && (t[Symbol.iterator] = function () { return this; }), t ); function n(e) { return function (t) { var n = [e, t]; if (i) throw new TypeError("Generator is already executing."); for (; a; ) try { if ( ((i = 1), u && (c = 2 & n[0] ? u.return : n[0] ? u.throw || ((c = u.return) && c.call(u), 0) : u.next) && !(c = c.call(u, n[1])).done) ) return c; switch (((u = 0), (n = c ? [2 & n[0], c.value] : n)[0])) { case 0: case 1: c = n; break; case 4: return ( a.label++, { value: n[1], done: !1, } ); case 5: (a.label++, (u = n[1]), (n = [0])); continue; case 7: ((n = a.ops.pop()), a.trys.pop()); continue; default: if ( !(c = 0 < (c = a.trys).length && c[c.length - 1]) && (6 === n[0] || 2 === n[0]) ) { a = 0; continue; } if ( 3 === n[0] && (!c || (n[1] > c[0] && n[1] < c[3])) ) { a.label = n[1]; break; } if (6 === n[0] && a.label < c[1]) { ((a.label = c[1]), (c = n)); break; } if (c && a.label < c[2]) { ((a.label = c[2]), a.ops.push(n)); break; } (c[2] && a.ops.pop(), a.trys.pop()); continue; } n = o.call(r, a); } catch (t) { ((n = [6, t]), (u = 0)); } finally { i = c = 0; } if (5 & n[0]) throw n[1]; return { value: n[0] ? n[1] : void 0, done: !0, }; }; } }, a = / /, f = !1, s = ((a.toString = function () { return ((f = !0), s.name); }), { name: "dep-reg-to-string", isOpen: function () { return u(this, void 0, void 0, function () { return c(this, function (t) { return ( (f = !1), Object(o.c)({ dep: a, }), Object(o.a)(), [2, false] ); }); }); }, isEnable: function () { return u(this, void 0, void 0, function () { return c(this, function (t) { return [ 2, Object(i.b)({ includes: [!0], excludes: [r.e, r.f], }), ]; }); }); }, }); }, function (t, n, e) { "use strict"; e.d(n, "a", function () { return s; }); var r = e(0), o = e(2), i = e(1), u = (this && this.__awaiter) || function (t, u, c, a) { return new (c = c || Promise)(function (e, n) { function r(t) { try { i(a.next(t)); } catch (t) { n(t); } } function o(t) { try { i(a.throw(t)); } catch (t) { n(t); } } function i(t) { var n; t.done ? e(t.value) : ((n = t.value) instanceof c ? n : new c(function (t) { t(n); }) ).then(r, o); } i((a = a.apply(t, u || [])).next()); }); }, c = (this && this.__generator) || function (r, o) { var i, u, c, a = { label: 0, sent: function () { if (1 & c[0]) throw c[1]; return c[1]; }, trys: [], ops: [], }, t = { next: n(0), throw: n(1), return: n(2), }; return ( "function" == typeof Symbol && (t[Symbol.iterator] = function () { return this; }), t ); function n(e) { return function (t) { var n = [e, t]; if (i) throw new TypeError("Generator is already executing."); for (; a; ) try { if ( ((i = 1), u && (c = 2 & n[0] ? u.return : n[0] ? u.throw || ((c = u.return) && c.call(u), 0) : u.next) && !(c = c.call(u, n[1])).done) ) return c; switch (((u = 0), (n = c ? [2 & n[0], c.value] : n)[0])) { case 0: case 1: c = n; break; case 4: return ( a.label++, { value: n[1], done: !1, } ); case 5: (a.label++, (u = n[1]), (n = [0])); continue; case 7: ((n = a.ops.pop()), a.trys.pop()); continue; default: if ( !(c = 0 < (c = a.trys).length && c[c.length - 1]) && (6 === n[0] || 2 === n[0]) ) { a = 0; continue; } if ( 3 === n[0] && (!c || (n[1] > c[0] && n[1] < c[3])) ) { a.label = n[1]; break; } if (6 === n[0] && a.label < c[1]) { ((a.label = c[1]), (c = n)); break; } if (c && a.label < c[2]) { ((a.label = c[2]), a.ops.push(n)); break; } (c[2] && a.ops.pop(), a.trys.pop()); continue; } n = o.call(r, a); } catch (t) { ((n = [6, t]), (u = 0)); } finally { i = c = 0; } if (5 & n[0]) throw n[1]; return { value: n[0] ? n[1] : void 0, done: !0, }; }; } }, a = Object(r.a)("div"), f = !1, s = (Object.defineProperty(a, "id", { get: function () { return ((f = !0), s.name); }, configurable: !0, }), { name: "element-id", isOpen: function () { return u(this, void 0, void 0, function () { return c(this, function (t) { return ( (f = !1), Object(o.b)(a), Object(o.a)(), [2, false] ); }); }); }, isEnable: function () { return u(this, void 0, void 0, function () { return c(this, function (t) { return [ 2, Object(i.b)({ includes: [!0], excludes: [r.f, r.d, r.e], }), ]; }); }); }, }); }, function (t, n, e) { "use strict"; e.d(n, "a", function () { return l; }); var r = e(0), o = e(2), i = e(5), u = e(1), c = (this && this.__awaiter) || function (t, u, c, a) { return new (c = c || Promise)(function (e, n) { function r(t) { try { i(a.next(t)); } catch (t) { n(t); } } function o(t) { try { i(a.throw(t)); } catch (t) { n(t); } } function i(t) { var n; t.done ? e(t.value) : ((n = t.value) instanceof c ? n : new c(function (t) { t(n); }) ).then(r, o); } i((a = a.apply(t, u || [])).next()); }); }, a = (this && this.__generator) || function (r, o) { var i, u, c, a = { label: 0, sent: function () { if (1 & c[0]) throw c[1]; return c[1]; }, trys: [], ops: [], }, t = { next: n(0), throw: n(1), return: n(2), }; return ( "function" == typeof Symbol && (t[Symbol.iterator] = function () { return this; }), t ); function n(e) { return function (t) { var n = [e, t]; if (i) throw new TypeError("Generator is already executing."); for (; a; ) try { if ( ((i = 1), u && (c = 2 & n[0] ? u.return : n[0] ? u.throw || ((c = u.return) && c.call(u), 0) : u.next) && !(c = c.call(u, n[1])).done) ) return c; switch (((u = 0), (n = c ? [2 & n[0], c.value] : n)[0])) { case 0: case 1: c = n; break; case 4: return ( a.label++, { value: n[1], done: !1, } ); case 5: (a.label++, (u = n[1]), (n = [0])); continue; case 7: ((n = a.ops.pop()), a.trys.pop()); continue; default: if ( !(c = 0 < (c = a.trys).length && c[c.length - 1]) && (6 === n[0] || 2 === n[0]) ) { a = 0; continue; } if ( 3 === n[0] && (!c || (n[1] > c[0] && n[1] < c[3])) ) { a.label = n[1]; break; } if (6 === n[0] && a.label < c[1]) { ((a.label = c[1]), (c = n)); break; } if (c && a.label < c[2]) { ((a.label = c[2]), a.ops.push(n)); break; } (c[2] && a.ops.pop(), a.trys.pop()); continue; } n = o.call(r, a); } catch (t) { ((n = [6, t]), (u = 0)); } finally { i = c = 0; } if (5 & n[0]) throw n[1]; return { value: n[0] ? n[1] : void 0, done: !0, }; }; } }; function f() {} var s = 0, l = ((f.toString = function () { return (s++, ""); }), { name: "function-to-string", isOpen: function () { return c(this, void 0, void 0, function () { return a(this, function (t) { return ((s = 0), Object(o.b)(f), Object(o.a)(), [2, false]); }); }); }, isEnable: function () { return c(this, void 0, void 0, function () { return a(this, function (t) { return [ 2, Object(u.b)({ includes: [!0], excludes: [r.g, r.e, (i.b || i.c) && r.c], }), ]; }); }); }, }); }, function (t, n, e) { "use strict"; e.d(n, "a", function () { return s; }); var r = e(2), o = e(0), i = e(1), u = (this && this.__awaiter) || function (t, u, c, a) { return new (c = c || Promise)(function (e, n) { function r(t) { try { i(a.next(t)); } catch (t) { n(t); } } function o(t) { try { i(a.throw(t)); } catch (t) { n(t); } } function i(t) { var n; t.done ? e(t.value) : ((n = t.value) instanceof c ? n : new c(function (t) { t(n); }) ).then(r, o); } i((a = a.apply(t, u || [])).next()); }); }, c = (this && this.__generator) || function (r, o) { var i, u, c, a = { label: 0, sent: function () { if (1 & c[0]) throw c[1]; return c[1]; }, trys: [], ops: [], }, t = { next: n(0), throw: n(1), return: n(2), }; return ( "function" == typeof Symbol && (t[Symbol.iterator] = function () { return this; }), t ); function n(e) { return function (t) { var n = [e, t]; if (i) throw new TypeError("Generator is already executing."); for (; a; ) try { if ( ((i = 1), u && (c = 2 & n[0] ? u.return : n[0] ? u.throw || ((c = u.return) && c.call(u), 0) : u.next) && !(c = c.call(u, n[1])).done) ) return c; switch (((u = 0), (n = c ? [2 & n[0], c.value] : n)[0])) { case 0: case 1: c = n; break; case 4: return ( a.label++, { value: n[1], done: !1, } ); case 5: (a.label++, (u = n[1]), (n = [0])); continue; case 7: ((n = a.ops.pop()), a.trys.pop()); continue; default: if ( !(c = 0 < (c = a.trys).length && c[c.length - 1]) && (6 === n[0] || 2 === n[0]) ) { a = 0; continue; } if ( 3 === n[0] && (!c || (n[1] > c[0] && n[1] < c[3])) ) { a.label = n[1]; break; } if (6 === n[0] && a.label < c[1]) { ((a.label = c[1]), (c = n)); break; } if (c && a.label < c[2]) { ((a.label = c[2]), a.ops.push(n)); break; } (c[2] && a.ops.pop(), a.trys.pop()); continue; } n = o.call(r, a); } catch (t) { ((n = [6, t]), (u = 0)); } finally { i = c = 0; } if (5 & n[0]) throw n[1]; return { value: n[0] ? n[1] : void 0, done: !0, }; }; } }, a = / /, f = !1, s = ((a.toString = function () { return ((f = !0), s.name); }), { name: "reg-to-string", isOpen: function () { return u(this, void 0, void 0, function () { return c(this, function (t) { return ( (f = !1), Object(r.b)(a), Object(r.a)(), [2, false] ); }); }); }, isEnable: function () { return u(this, void 0, void 0, function () { return c(this, function (t) { return [ 2, Object(i.b)({ includes: [!0], excludes: [o.i], }), ]; }); }); }, }); }, function (t, n, e) { "use strict"; e.d(n, "a", function () { return u; }); var r = e(1), o = (this && this.__awaiter) || function (t, u, c, a) { return new (c = c || Promise)(function (e, n) { function r(t) { try { i(a.next(t)); } catch (t) { n(t); } } function o(t) { try { i(a.throw(t)); } catch (t) { n(t); } } function i(t) { var n; t.done ? e(t.value) : ((n = t.value) instanceof c ? n : new c(function (t) { t(n); }) ).then(r, o); } i((a = a.apply(t, u || [])).next()); }); }, i = (this && this.__generator) || function (r, o) { var i, u, c, a = { label: 0, sent: function () { if (1 & c[0]) throw c[1]; return c[1]; }, trys: [], ops: [], }, t = { next: n(0), throw: n(1), return: n(2), }; return ( "function" == typeof Symbol && (t[Symbol.iterator] = function () { return this; }), t ); function n(e) { return function (t) { var n = [e, t]; if (i) throw new TypeError("Generator is already executing."); for (; a; ) try { if ( ((i = 1), u && (c = 2 & n[0] ? u.return : n[0] ? u.throw || ((c = u.return) && c.call(u), 0) : u.next) && !(c = c.call(u, n[1])).done) ) return c; switch (((u = 0), (n = c ? [2 & n[0], c.value] : n)[0])) { case 0: case 1: c = n; break; case 4: return ( a.label++, { value: n[1], done: !1, } ); case 5: (a.label++, (u = n[1]), (n = [0])); continue; case 7: ((n = a.ops.pop()), a.trys.pop()); continue; default: if ( !(c = 0 < (c = a.trys).length && c[c.length - 1]) && (6 === n[0] || 2 === n[0]) ) { a = 0; continue; } if ( 3 === n[0] && (!c ||