This commit is contained in:
4DBug committed 2026-08-26 13:22:49 -05:00
commit 53b3c1da6c
96 files changed
+6210

No files matched your search

+67
View File
@@ -0,0 +1,67 @@
/**
* anime-sama - Built from src/anime-sama/
* Generated: 2026-05-20T23:01:52.298112258Z
*/
var __provider=(()=>{var Cb=Object.create;var ya=Object.defineProperty,Sb=Object.defineProperties,Tb=Object.getOwnPropertyDescriptor,qb=Object.getOwnPropertyDescriptors,Lb=Object.getOwnPropertyNames,su=Object.getOwnPropertySymbols,Bb=Object.getPrototypeOf,Da=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable;var _l=(t,n,i)=>n in t?ya(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i,gt=(t,n)=>{for(var i in n||(n={}))Da.call(n,i)&&_l(t,i,n[i]);if(su)for(var i of su(n))vl.call(n,i)&&_l(t,i,n[i]);return t},Nt=(t,n)=>Sb(t,qb(n));var ml=(t,n)=>{var i={};for(var s in t)Da.call(t,s)&&n.indexOf(s)<0&&(i[s]=t[s]);if(t!=null&&su)for(var s of su(t))n.indexOf(s)<0&&vl.call(t,s)&&(i[s]=t[s]);return i};var Un=(t,n)=>()=>(t&&(n=t(t=0)),n);var O=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports);var Fb=(t,n,i,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of Lb(n))!Da.call(t,o)&&o!==i&&ya(t,o,{get:()=>n[o],enumerable:!(s=Tb(n,o))||s.enumerable});return t};var Rb=(t,n,i)=>(i=t!=null?Cb(Bb(t)):{},Fb(n||!t||!t.__esModule?ya(i,"default",{value:t,enumerable:!0}):i,t));var J=(t,n,i)=>new Promise((s,o)=>{var c=d=>{try{g(i.next(d))}catch(v){o(v)}},l=d=>{try{g(i.throw(d))}catch(v){o(v)}},g=d=>d.done?s(d.value):Promise.resolve(d.value).then(c,l);g((i=i.apply(t,n)).next())});function wl(t,n){try{if(typeof process!="undefined"&&process.env&&process.env[t]){let i=parseInt(process.env[t],10);return isNaN(i)?n:i}}catch(i){}return n}function El(t,n,i="Operation"){return J(this,null,function*(){if(!n||n<=0||typeof setTimeout=="undefined")return t;let s,o=new Promise((c,l)=>{s=setTimeout(()=>l(new Error(`[Timeout] ${i} exceeded ${n}ms`)),n)});try{return yield Promise.race([t,o])}finally{clearTimeout(s)}})}function en(t){if(!t||typeof t!="string")return!0;let n=t.toLowerCase();return n.includes("test-videos.co.uk")||n.includes("big_buck_bunny")||n.includes("bigbuckbunny")||n.includes("sample-videos.com")||n.includes("example.com")||n.includes("localhost")}function Ob(t){if(!t||typeof t!="string")return!1;let n=t.toLowerCase();return en(n)?!1:/\.(mp4|m3u8|mkv|webm)(\?.*)?$/.test(n)||n.includes("/hls2/")||n.includes("/master.m3u8")}function xl(t){if(!Number.isFinite(t)||t<=0)return ou;let n=au[0],i=Math.abs(t-n);for(let s of au){let o=Math.abs(t-s);o<i&&(i=o,n=s)}return n}function ze(t){let n=String(t||"").trim().toLowerCase();if(!n)return`${ou}p`;if(n==="4k"||n==="uhd"||n.includes("2160"))return"2160p";if(n.includes("fhd")||n.includes("fullhd")||n.includes("1080"))return"1080p";if(n.includes("hd")||n.includes("720"))return"720p";let i=n.match(/(\d{3,4})\s*p?/i);return i?`${xl(Number(i[1]))}p`:`${ou}p`}function Nb(t){if(!t||typeof t!="string")return{video:null,audio:null};let n=t.split(",").map(o=>o.trim()),i=null,s=null;for(let o of n){let c=o.split(".")[0].toLowerCase(),l=Ib[c];l&&(["H.264","H.265","AV1","VP9"].includes(l)?i||(i={codec:l,raw:o}):["AAC","AC3","EAC3","Opus"].includes(l)&&(s||(s={codec:l,raw:o})))}return{video:i,audio:s}}function Mb(t){let n=Cl.get(t);return n&&Date.now()-n.ts<kb?n.data:null}function Pb(t,n){Cl.set(t,{data:n,ts:Date.now()})}function cu(t){let i=ze(t).toLowerCase().match(/(\d{3,4})p/),s=i?Number(i[1]):ou,o=xl(s);return au.length-1-au.indexOf(o)}function Ub(t,n,i,s){let o=[],c=ze(n);return c&&!(t||"").includes(c)&&o.push(c),i&&i!=="H.264"&&o.push(i),s&&s>30&&o.push(`${s}fps`),o.length===0?t:`${t} [${o.join(" ")}]`}function wa(t){if(!t||typeof t!="string")return null;let n=t.toLowerCase();return n.includes(".m3u8")||n.includes("/hls/")||n.includes("/hls2/")||n.includes("master.m3u8")?"hls":n.includes(".mp4")?"mp4":n.includes(".mkv")?"mkv":n.includes(".webm")?"webm":null}function Hb(t){if(t.language)return t.language;let i=(t.name||"").match(/\((\w+)\)/);if(i){let s=i[1].toUpperCase();if(["VF","VOSTFR","VO","VOSTF","VOA","VOST"].includes(s))return s}return null}function Gb(i){return J(this,arguments,function*(t,n={}){var L,B,P,Y,nt,ht,it;if(!t||!t.url||typeof t.url!="string")return[];let s=t.url,o=s.toLowerCase();if(!o.includes(".m3u8")&&!o.includes("/hls/"))return[Nt(gt({},t),{quality:ze(t.quality||"HD"),type:wa(s)})];let c=s;if(!n.forceRefresh){let $=Mb(c);if($)return $}let l=yield ot(s,{headers:t.headers||{}});if(!l)return[Nt(gt({},t),{quality:ze(t.quality||"HD"),type:"hls"})];let g=yield l.text();if(!/#EXT-X-STREAM-INF/i.test(g))return[Nt(gt({},t),{quality:ze(t.quality||"HD"),type:"hls"})];let d=g.split(/\r?\n/).map($=>$.trim()).filter(Boolean),v=[];for(let $=0;$<d.length;$++){let N=d[$];if(!N.startsWith("#EXT-X-STREAM-INF:"))continue;let W=d[$+1];if(!W||W.startsWith("#"))continue;let pt=(L=N.match(/RESOLUTION=\d+x(\d+)/i))==null?void 0:L[1],yt=(B=N.match(/FRAME-RATE=([0-9.]+)/i))==null?void 0:B[1],Rt=(P=N.match(/BANDWIDTH=(\d+)/i))==null?void 0:P[1],Qt=(Y=N.match(/CODECS="([^"]+)"/i))==null?void 0:Y[1],qt=pt?`${pt}p`:null;if(!qt&&Rt){let te=Number(Rt);te>=8e6?qt="2160p":te>=5e6?qt="1080p":te>=25e5?qt="720p":te>=12e5?qt="480p":qt="360p"}!qt&&yt&&(qt=`${zeLine truncated
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4 Line truncated
`||t===" "||t==="\f"||t==="\r"}function dy(t,n){return function(i){i===t&&(this._state=n)}}function Xt(t,n,i){var s=t.toLowerCase();return t===s?function(o){o===s?this._state=n:(this._state=i,this._index--)}:function(o){o===s||o===t?this._state=n:(this._state=i,this._index--)}}function Er(t,n){var i=t.toLowerCase();return function(s){s===i||s===t?this._state=n:(this._state=wr,this._index--)}}function R(t,n){this._state=lt,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=lt,this._special=nn,this._cbs=n,this._running=!0,this._ended=!1,this._xmlMode=!!(t&&t.xmlMode),this._decodeEntities=!!(t&&t.decodeEntities)}R.prototype._stateText=function(t){t==="<"?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=Rl,this._sectionStart=this._index):this._decodeEntities&&this._special===nn&&t==="&"&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=lt,this._state=Wn,this._sectionStart=this._index)};R.prototype._stateBeforeTagName=function(t){t==="/"?this._state=Il:t==="<"?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):t===">"||this._special!==nn||zt(t)?this._state=lt:t==="!"?(this._state=kl,this._sectionStart=this._index+1):t==="?"?(this._state=Ml,this._sectionStart=this._index+1):(this._state=!this._xmlMode&&(t==="s"||t==="S")?zl:wr,this._sectionStart=this._index)};R.prototype._stateInTagName=function(t){(t==="/"||t===">"||zt(t))&&(this._emitToken("onopentagname"),this._state=or,this._index--)};R.prototype._stateBeforeCloseingTagName=function(t){zt(t)||(t===">"?this._state=lt:this._special!==nn?t==="s"||t==="S"?this._state=Xl:(this._state=lt,this._index--):(this._state=Hn,this._sectionStart=this._index))};R.prototype._stateInCloseingTagName=function(t){(t===">"||zt(t))&&(this._emitToken("onclosetag"),this._state=Nl,this._index--)};R.prototype._stateAfterCloseingTagName=function(t){t===">"&&(this._state=lt,this._sectionStart=this._index+1)};R.prototype._stateBeforeAttributeName=function(t){t===">"?(this._cbs.onopentagend(),this._state=lt,this._sectionStart=this._index+1):t==="/"?this._state=Ol:zt(t)||(this._state=hu,this._sectionStart=this._index)};R.prototype._stateInSelfClosingTag=function(t){t===">"?(this._cbs.onselfclosingtag(),this._state=lt,this._sectionStart=this._index+1):zt(t)||(this._state=or,this._index--)};R.prototype._stateInAttributeName=function(t){(t==="="||t==="/"||t===">"||zt(t))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=Ta,this._index--)};R.prototype._stateAfterAttributeName=function(t){t==="="?this._state=qa:t==="/"||t===">"?(this._cbs.onattribend(),this._state=or,this._index--):zt(t)||(this._cbs.onattribend(),this._state=hu,this._sectionStart=this._index)};R.prototype._stateBeforeAttributeValue=function(t){t==='"'?(this._state=La,this._sectionStart=this._index+1):t==="'"?(this._state=Ba,this._sectionStart=this._index+1):zt(t)||(this._state=Fa,this._sectionStart=this._index,this._index--)};R.prototype._stateInAttributeValueDoubleQuotes=function(t){t==='"'?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=or):this._decodeEntities&&t==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=Wn,this._sectionStart=this._index)};R.prototype._stateInAttributeValueSingleQuotes=function(t){t==="'"?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=or):this._decodeEntities&&t==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=Wn,this._sectionStart=this._index)};R.prototype._stateInAttributeValueNoQuotes=function(t){zt(t)||t===">"?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=or,this._index--):this._decodeEntities&&t==="&"&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=Wn,this._sectionStart=this._index)};R.prototype._stateBeforeDeclaration=function(t){this._state=t==="["?Ul:t==="-"?Pl:Xe};R.prototype._stateInDeclaration=function(t){t===">"&&(this._cbs.ondeclaration(this._getSection()),this._state=lt,this._sectionStart=this._index+1)};R.prototype._stateInProcessingInstruction=function(t){t===">"&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=lt,this._sectionStart=this._index+1)};R.prototype._stateBeforeComment=function(t){t==="-"?(this._state=Gn,this._sectionStart=this._index+1):this._state=Xe};R.prototype._stateInComment=function(t){t==="-"&&(this._state=Ra)};R.prototype._stateAfterComment1=function(t){t==="-"?this._state=Oa:this._state=Gn};R.prototype._stateAfterComment2=function(t){t===">"?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=lt,this._sectionStart=this._index+1):t!=="-"&&(this._state=Gn)};R.prototype._stateBeforeCdata1=Xt("C",Hl,Xe);R.prototype._stateBeforeCdata2=Xt("D",Gl,Xe);R.prototype._stateBeforeCdata3=Xt("A",Wl,Xe);R.prototype._stateBeforeCdata4=Xt("T",$l,Xe);R.prototype._stateBeforeCdata5=Xt("A",Vl,Xe);R.prototype._stateBeforeCdata Line truncated
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4 Line truncated
`:Eu(t.children):t.type===eo.CDATA?Eu(t.children):t.type===eo.Text?t.data:""}});var lp=O(Sr=>{var eD=Sr.getChildren=function(t){return t.children},rD=Sr.getParent=function(t){return t.parent};Sr.getSiblings=function(t){var n=rD(t);return n?eD(n):[t]};Sr.getAttributeValue=function(t,n){return t.attribs&&t.attribs[n]};Sr.hasAttrib=function(t,n){return!!t.attribs&&hasOwnProperty.call(t.attribs,n)};Sr.getName=function(t){return t.name}});var hp=O(on=>{on.removeElement=function(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var n=t.parent.children;n.splice(n.lastIndexOf(t),1)}};on.replaceElement=function(t,n){var i=n.prev=t.prev;i&&(i.next=n);var s=n.next=t.next;s&&(s.prev=n);var o=n.parent=t.parent;if(o){var c=o.children;c[c.lastIndexOf(t)]=n}};on.appendChild=function(t,n){if(n.parent=t,t.children.push(n)!==1){var i=t.children[t.children.length-2];i.next=n,n.prev=i,n.next=null}};on.append=function(t,n){var i=t.parent,s=t.next;if(n.next=s,n.prev=t,t.next=n,n.parent=i,s){if(s.prev=n,i){var o=i.children;o.splice(o.lastIndexOf(s),0,n)}}else i&&i.children.push(n)};on.prepend=function(t,n){var i=t.parent;if(i){var s=i.children;s.splice(s.lastIndexOf(t),0,n)}t.prev&&(t.prev.next=n),n.parent=i,n.prev=t.prev,n.next=t,t.prev=n}});var _p=O((IE,gp)=>{var ro=sn().isTag;gp.exports={filter:nD,find:no,findOneChild:iD,findOne:pp,existsOne:dp,findAll:uD};function nD(t,n,i,s){return Array.isArray(n)||(n=[n]),(typeof s!="number"||!isFinite(s))&&(s=1/0),no(t,n,i!==!1,s)}function no(t,n,i,s){for(var o=[],c,l=0,g=n.length;l<g&&!(t(n[l])&&(o.push(n[l]),--s<=0)||(c=n[l].children,i&&c&&c.length>0&&(c=no(t,c,i,s),o=o.concat(c),s-=c.length,s<=0)));l++);return o}function iD(t,n){for(var i=0,s=n.length;i<s;i++)if(t(n[i]))return n[i];return null}function pp(t,n){for(var i=null,s=0,o=n.length;s<o&&!i;s++)if(ro(n[s]))t(n[s])?i=n[s]:n[s].children.length>0&&(i=pp(t,n[s].children));else continue;return i}function dp(t,n){for(var i=0,s=n.length;i<s;i++)if(ro(n[i])&&(t(n[i])||n[i].children.length>0&&dp(t,n[i].children)))return!0;return!1}function uD(t,n){for(var i=[],s=n.slice();s.length;){var o=s.shift();ro(o)&&(o.children&&o.children.length>0&&s.unshift.apply(s,o.children),t(o)&&i.push(o))}return i}});var mp=O(qr=>{var sD=sn(),Tr=qr.isTag=sD.isTag;qr.testElement=function(t,n){for(var i in t)if(t.hasOwnProperty(i)){if(i==="tag_name"){if(!Tr(n)||!t.tag_name(n.name))return!1}else if(i==="tag_type"){if(!t.tag_type(n.type))return!1}else if(i==="tag_contains"){if(Tr(n)||!t.tag_contains(n.data))return!1}else if(!n.attribs||!t[i](n.attribs[i]))return!1}return!0};var xu={tag_name:function(t){return typeof t=="function"?function(n){return Tr(n)&&t(n.name)}:t==="*"?Tr:function(n){return Tr(n)&&n.name===t}},tag_type:function(t){return typeof t=="function"?function(n){return t(n.type)}:function(n){return n.type===t}},tag_contains:function(t){return typeof t=="function"?function(n){return!Tr(n)&&t(n.data)}:function(n){return!Tr(n)&&n.data===t}}};function vp(t,n){return typeof n=="function"?function(i){return i.attribs&&n(i.attribs[t])}:function(i){return i.attribs&&i.attribs[t]===n}}function aD(t,n){return function(i){return t(i)||n(i)}}qr.getElements=function(t,n,i,s){var o=Object.keys(t).map(function(c){var l=t[c];return c in xu?xu[c](l):vp(c,l)});return o.length===0?[]:this.filter(o.reduce(aD),n,i,s)};qr.getElementById=function(t,n,i){return Array.isArray(n)||(n=[n]),this.findOne(vp("id",t),n,i!==!1)};qr.getElementsByTagName=function(t,n,i,s){return this.filter(xu.tag_name(t),n,i,s)};qr.getElementsByTagType=function(t,n,i,s){return this.filter(xu.tag_type(t),n,i,s)}});var Ap=O(Cu=>{Cu.removeSubsets=function(t){for(var n=t.length,i,s,o;--n>-1;){for(i=s=t[n],t[n]=null,o=!0;s;){if(t.indexOf(s)>-1){o=!1,t.splice(n,1);break}s=s.parent}o&&(t[n]=i)}return t};var Ye={DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16},oD=Cu.compareDocumentPosition=function(t,n){var i=[],s=[],o,c,l,g,d,v;if(t===n)return 0;for(o=t;o;)i.unshift(o),o=o.parent;for(o=n;o;)s.unshift(o),o=o.parent;for(v=0;i[v]===s[v];)v++;return v===0?Ye.DISCONNECTED:(c=i[v-1],l=c.children,g=i[v],d=s[v],l.indexOf(g)>l.indexOf(d)?c===n?Ye.FOLLOWING|Ye.CONTAINED_BY:Ye.FOLLOWING:c===t?Ye.PRECEDING|Ye.CONTAINS:Ye.PRECEDING)};Cu.uniqueSort=function(t){var n=t.length,i,s;for(t=t.slice();--n>-1;)i=t[n],s=t.indexOf(i),s>-1&&s<n&&t.splice(n,1);return t.sort(function(o,c){var l=oD(o,c);return l&Ye.PRECEDING?-1:l&Ye.FOLLOWING?1:0}),t}});var Dp=O((ME,yp)=>{var bp=yp.exports;[fp(),lp(),hp(),_p(),mp(),Ap()].forEach(function(t){Object.keys(t).forEach(function(n){bp[n]=t[n].bind(bp)})})});var Ep=O((PE,wp)=>{wp.exports=cn;function cn(t){this._cbs=t||{},this.events=[]}var Su=an().EVENTS;Object.keys(Su).forEach(function(t){if(Su[t]===0)t="on"+t,cn.prototype[t]=function(){this.events.push([t]),this._cbs[t]&&this._cbs[t]()};else if(Su[t]===1)t="on"+t,cn.prototype[t]=function(n){this.events.push([t,n]),this._cbs[t]&&this._cbs[t](n)};else if(Su[t]===2)t="on"+t,cn.prototype[t]=function(n Line truncated
/* [wrapped with `+r+`] */
`)}function uv(e){return z(e)||Dr(e)||!!(qc&&e&&e[qc])}function Ge(e,r){var u=typeof e;return r=r==null?Ze:r,!!r&&(u=="number"||u!="symbol"&&vg.test(e))&&e>-1&&e%1==0&&e<r}function Ut(e,r,u){if(!At(u))return!1;var a=typeof r;return(a=="number"?Wt(u)&&Ge(r,u.length):a=="string"&&r in u)?we(u[r],e):!1}function ea(e,r){if(z(e))return!1;var u=typeof e;return u=="number"||u=="symbol"||u=="boolean"||e==null||ue(e)?!0:ng.test(e)||!rg.test(e)||r!=null&&e in ft(r)}function sv(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}function ra(e){var r=ji(e),u=h[r];if(typeof u!="function"||!(r in et.prototype))return!1;if(e===u)return!0;var a=Js(u);return!!a&&e===a[0]}function av(e){return!!xc&&xc in e}var ov=Ci?We:ba;function kn(e){var r=e&&e.constructor,u=typeof r=="function"&&r.prototype||zr;return e===u}function Cf(e){return e===e&&!At(e)}function Sf(e,r){return function(u){return u==null?!1:u[e]===r&&(r!==t||e in ft(u))}}function cv(e){var r=ru(e,function(a){return u.size===d&&u.clear(),a}),u=r.cache;return r}function fv(e,r){var u=e[1],a=r[1],f=u|a,p=f<(B|P|N),_=a==N&&u==nt||a==N&&u==W&&e[7].length<=r[8]||a==(N|W)&&r[7].length<=r[8]&&u==nt;if(!(p||_))return e;a&B&&(e[2]=r[2],f|=u&B?0:Y);var m=r[3];if(m){var y=e[3];e[3]=y?cf(y,m,r[4]):m,e[4]=y?tr(e[3],v):r[4]}return m=r[5],m&&(y=e[5],e[5]=y?ff(y,m,r[6]):m,e[6]=y?tr(e[5],v):r[6]),m=r[7],m&&(e[7]=m),a&N&&(e[8]=e[8]==null?r[8]:Ot(e[8],r[8])),e[9]==null&&(e[9]=r[9]),e[0]=r[0],e[1]=f,e}function lv(e){var r=[];if(e!=null)for(var u in ft(e))r.push(u);return r}function hv(e){return Ti.call(e)}function Tf(e,r,u){return r=xt(r===t?e.length-1:r,0),function(){for(var a=arguments,f=-1,p=xt(a.length-r,0),_=D(p);++f<p;)_[f]=a[r+f];f=-1;for(var m=D(r+1);++f<r;)m[f]=a[f];return m[r]=u(_),ee(e,this,m)}}function qf(e,r){return r.length<2?e:Ar(e,pe(r,0,-1))}function pv(e,r){for(var u=e.length,a=Ot(r.length,u),f=Gt(e);a--;){var p=r[a];e[a]=Ge(p,u)?f[p]:t}return e}function na(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}var Lf=Ff(Jc),Mn=T0||function(e,r){return St.setTimeout(e,r)},ia=Ff(N_);function Bf(e,r,u){var a=r+"";return ia(e,iv(a,dv(ev(a),u)))}function Ff(e){var r=0,u=0;return function(){var a=F0(),f=qt-(a-u);if(u=a,f>0){if(++r>=Qt)return arguments[0]}else r=0;return e.apply(t,arguments)}}function Ji(e,r){var u=-1,a=e.length,f=a-1;for(r=r===t?a:r;++u<r;){var p=Us(u,f),_=e[p];e[p]=e[u],e[u]=_}return e.length=r,e}var Rf=cv(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(ig,function(u,a,f,p){r.push(f?p.replace(lg,"$1"):a||u)}),r});function De(e){if(typeof e=="string"||ue(e))return e;var r=e+"";return r=="0"&&1/e==-te?"-0":r}function yr(e){if(e!=null){try{return Si.call(e)}catch(r){}try{return e+""}catch(r){}}return""}function dv(e,r){return re(G2,function(u){var a="_."+u[0];r&u[1]&&!Di(e,a)&&e.push(a)}),e.sort()}function Of(e){if(e instanceof et)return e.clone();var r=new le(e.__wrapped__,e.__chain__);return r.__actions__=Gt(e.__actions__),r.__index__=e.__index__,r.__values__=e.__values__,r}function gv(e,r,u){(u?Ut(e,r,u):r===t)?r=1:r=xt(X(r),0);var a=e==null?0:e.length;if(!a||r<1)return[];for(var f=0,p=0,_=D(Oi(a/r));f<a;)_[p++]=pe(e,f,f+=r);return _}function _v(e){for(var r=-1,u=e==null?0:e.length,a=0,f=[];++r<u;){var p=e[r];p&&(f[a++]=p)}return f}function vv(){var e=arguments.length;if(!e)return[];for(var r=D(e-1),u=arguments[0],a=e;a--;)r[a-1]=arguments[a];return Qe(z(u)?Gt(u):[u],Lt(r,1))}var mv=Z(function(e,r){return Dt(e)?Fn(e,Lt(r,1,Dt,!0)):[]}),Av=Z(function(e,r){var u=de(r);return Dt(u)&&(u=t),Dt(e)?Fn(e,Lt(r,1,Dt,!0),H(u,2)):[]}),bv=Z(function(e,r){var u=de(r);return Dt(u)&&(u=t),Dt(e)?Fn(e,Lt(r,1,Dt,!0),t,u):[]});function yv(e,r,u){var a=e==null?0:e.length;return a?(r=u||r===t?1:X(r),pe(e,r<0?0:r,a)):[]}function Dv(e,r,u){var a=e==null?0:e.length;return a?(r=u||r===t?1:X(r),r=a-r,pe(e,0,r<0?0:r)):[]}function wv(e,r){return e&&e.length?$i(e,H(r,3),!0,!0):[]}function Ev(e,r){return e&&e.length?$i(e,H(r,3),!0):[]}function xv(e,r,u,a){var f=e==null?0:e.length;return f?(u&&typeof u!="number"&&Ut(e,r,u)&&(u=0,a=f),v_(e,r,u,a)):[]}function If(e,r,u){var a=e==null?0:e.length;if(!a)return-1;var f=u==null?0:X(u);return f<0&&(f=xt(a+f,0)),wi(e,H(r,3),f)}function Nf(e,r,u){var a=e==null?0:e.length;if(!a)return-1;var f=a-1;return u!==t&&(f=X(u),f=u<0?xt(a+f,0):Ot(f,a-1)),wi(e,H(r,3),f,!0)}function kf(e){var r=e==null?0:e.length;return r?Lt(e,1):[]}function Cv(e){var r=e==null?0:e.length;return r?Lt(e,te):[]}function Sv(e,r){var u=e==null?0:e.length;return u?(r=r===t?1:X(r),Lt(e,r)):[]}function Tv(e){for(var r=-1,u=e==null?0:e.length,a={};++r<u;){var f=e[r];Le(a,f[0],f[1])}return a}function Mf(e){return e&&e.length?e[0]:t}function qv(e,r,u){var a=e==null?0:e.length;if(!a)return-1;var f=u==null?0:X(u);return f<0&&(f=xt(a+f,0)),Wr(e,r,f)}function Lv(e){var r=e==null?0:e.length;return r?pe(e,0,-1):[]}var Bv=Z(function(e){var r=mt(e,Vs);return r.length&&r[0]===e[0]?Is(r):[]}),Fv=Z Line truncated
`;e.replace(F,function(U,tt,rt,se,Ht,ae){return rt||(rt=se),q+=e.slice(x,ae).replace(Ag,o0),tt&&(m=!0,q+=`' +
__e(`+tt+`) +
'`),Ht&&(y=!0,q+=`';
`+Ht+`;
__p += '`),rt&&(q+=`' +
((__t = (`+rt+`)) == null ? '' : __t) +
'`),x=ae+U.length,U}),q+=`';
`;var G=st.call(r,"variable")&&r.variable;if(!G)q=`with (obj) {
`+q+`
}
`;else if(Ho.test(G))throw new V(c);q=(y?q.replace(K2,""):q).replace(j2,"$1").replace(Z2,"$1;"),q="function("+(G||"obj")+`) {
`+(G?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(m?", __e = _.escape":"")+(y?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+q+`return __p
}`;var K=pl(function(){return ut(p,k+"return "+q).apply(t,_)});if(K.source=q,ca(K))throw K;return K}function RA(e){return at(e).toLowerCase()}function OA(e){return at(e).toUpperCase()}function IA(e,r,u){if(e=at(e),e&&(u||r===t))return bc(e);if(!e||!(r=ie(r)))return e;var a=be(e),f=be(r),p=yc(a,f),_=Dc(a,f)+1;return sr(a,p,_).join("")}function NA(e,r,u){if(e=at(e),e&&(u||r===t))return e.slice(0,Ec(e)+1);if(!e||!(r=ie(r)))return e;var a=be(e),f=Dc(a,be(r))+1;return sr(a,0,f).join("")}function kA(e,r,u){if(e=at(e),e&&(u||r===t))return e.replace(cs,"");if(!e||!(r=ie(r)))return e;var a=be(e),f=yc(a,be(r));return sr(a,f).join("")}function MA(e,r){var u=yt,a=Rt;if(At(r)){var f="separator"in r?r.separator:f;u="length"in r?X(r.length):u,a="omission"in r?ie(r.omission):a}e=at(e);var p=e.length;if($r(e)){var _=be(e);p=_.length}if(u>=p)return e;var m=u-Vr(a);if(m<1)return a;var y=_?sr(_,0,m).join(""):e.slice(0,m);if(f===t)return y+a;if(_&&(m+=y.length-m),fa(f)){if(e.slice(m).search(f)){var x,C=y;for(f.global||(f=Cs(f.source,at(Go.exec(f))+"g")),f.lastIndex=0;x=f.exec(C);)var q=x.index;y=y.slice(0,q===t?m:q)}}else if(e.indexOf(ie(f),m)!=m){var F=y.lastIndexOf(f);F>-1&&(y=y.slice(0,F))}return y+a}function PA(e){return e=at(e),e&&J2.test(e)?e.replace(Mo,g0):e}var UA=Zr(function(e,r,u){return e+(u?" ":"")+r.toUpperCase()}),da=pf("toUpperCase");function hl(e,r,u){return e=at(e),r=u?t:r,r===t?f0(e)?m0(e):e0(e):e.match(r)||[]}var pl=Z(function(e,r){try{return ee(e,t,r)}catch(u){return ca(u)?u:new V(u)}}),HA=He(function(e,r){return re(r,function(u){u=De(u),Le(e,u,aa(e[u],e))}),e});function GA(e){var r=e==null?0:e.length,u=H();return e=r?mt(e,function(a){if(typeof a[1]!="function")throw new fe(o);return[u(a[0]),a[1]]}):[],Z(function(a){for(var f=-1;++f<r;){var p=e[f];if(ee(p[0],this,a))return ee(p[1],this,a)}})}function WA(e){return g_(he(e,A))}function ga(e){return function(){return e}}function $A(e,r){return e==null||e!==e?r:e}var VA=gf(),zA=gf(!0);function Vt(e){return e}function _a(e){return $c(typeof e=="function"?e:he(e,A))}function XA(e){return zc(he(e,A))}function YA(e,r){return Xc(e,he(r,A))}var KA=Z(function(e,r){return function(u){return Rn(u,e,r)}}),jA=Z(function(e,r){return function(u){return Rn(e,u,r)}});function va(e,r,u){var a=Tt(r),f=Hi(r,a);u==null&&!(At(r)&&(f.length||!a.length))&&(u=r,r=e,e=this,f=Hi(r,Tt(r)));var p=!(At(u)&&"chain"in u)||!!u.chain,_=We(e);return re(f,function(m){var y=r[m];e[m]=y,_&&(e.prototype[m]=function(){var x=this.__chain__;if(p||x){var C=e(this.__wrapped__),q=C.__actions__=Gt(this.__actions__);return q.push({func:y,args:arguments,thisArg:e}),C.__chain__=x,C}return y.apply(e,Qe([this.value()],arguments))})}),e}function ZA(){return St._===this&&(St._=E0),this}function ma(){}function JA(e){return e=X(e),Z(function(r){return Yc(r,e)})}var QA=Ys(mt),tb=Ys(gc),eb=Ys(As);function dl(e){return ea(e)?bs(De(e)):F_(e)}function rb(e){return function(r){return e==null?t:Ar(e,r)}}var nb=vf(),ib=vf(!0);function Aa(){return[]}function ba(){return!1}function ub(){return{}}function sb(){return""}function ab(){return!0}function ob(e,r){if(e=X(e),e<1||e>Ze)return[];var u=qe,a=Ot(e,qe);r=H(r),e-=qe;for(var f=ws(a,r);++u<e;)r(u);return f}function cb(e){return z(e)?mt(e,De):ue(e)?[e]:Gt(Rf(at(e)))}function fb(e){var r=++D0;return at(e)+r}var lb=Xi(function(e,r){return e+r},0),hb=Ks("ceil"),pb=Xi(function(e,r){return e/r},1),db=Ks("floor");function gb(e){return e&&e.length?Ui(e,Vt,Os):t}function _b(e,r){return e&&e.length?Ui(e,H(r,2),Os):t}function vb(e){return mc(e,Vt)}function mb(e,r){return mc(e,H(r,2))}function Ab(e){return e&&e.length?Ui(e,Vt,Ms):t}function bb(e,r){return e&&e.length?Ui(e,H(r,2),Ms):t}var yb=Xi(function(e,r){return e*r},1),Db=Ks("round"),wb=Xi(function(e,r){return e-r},0);function Eb(e){return e&&e.length?Ds(e,Vt):0}function xb(e,r){return e&&e.length?Ds(e,H(r,2)):0}return h.after=Y1,h.ary=$f,h.assign=Im,h.assignIn=il,h.assignInWith=ul,h.assignWith=la,h.at=Nm,h.before=Vf,h.bind=aa,h.bindAll=HA,h.bindKey=zf,h.castArray=sm,h.chain=Hf,h.chunk=gv,h.compact=_v,h.concat=vv,h.cond=GA,h.conforms=WA,h.constant=ga,h.countBy=x1,h.create=km,h.curry=Xf,h.curryRight=Yf,h.debounce=Kf,h.defaults=Mm,h.defaultsDeep=Pm,h.defer=K1,h.delay=j1,h.difference=mv,h.differenceBy=Av,h.differenceWith=bv,h.drop=yv,h.dropRight=Dv,h.dropRightWhile=wv,h.dropWhile=Ev,h.fill=xv,h.filter=S1,h.flatMap=L1,h.flatMapDeep=B1,h.flatMapDepth=F1,h.flatten=kf,h.flattenDeep=Cv,h.flattenDepth=Sv,h.flip=Z1,h.flow=VA,h.flowRight=zA,h.fromPairs=Tv,h.functions=zm,h.functionsIn=Xm,h.groupBy=R1,h.initial=Lv,h.intersection=Bv,h.intersectionBy=Fv,h.intersectionWith=Rv,h.invert=Km,h.invertBy=jm,h.invokeMap=I1,h.iteratee=_a,h.keyBy=N1,h.keys=Tt,h.keysIn=$t,h.map=tu,h.mapKeys=Jm,h.mapValues=Qm,h.matches=XA,h.matchesProperty=YA,h.memoize=ru,h.merge=tA,h.mergeWith=sl,h.method=KA,h.methodOf=jA,h.mixin=va,h.negate=nu,h.nthArg=JA,h.omit=eA,h.omitBy=rA,h.once=J1,h.orderBy=k1,h.over=QA,h.overArgs=Q1,h.overEvery=tb,h.overSome=eb,h.partial=oa,h.parti Line truncated
`||t===" "||t==="\f"||t==="\r"}function ew(t,n){var i=[];if(t=qd(i,t+"",n),t!=="")throw new SyntaxError("Unmatched selector: "+t);return i}function qd(t,n,i){var s=[],o=!1,c,l,g,d;function v(){var B=n.match(Ed)[0];return n=n.substr(B.length),Uu(B)}function A(B){for(;Sd(n.charAt(B));)B++;n=n.substr(B)}function w(B){for(var P=0;n.charAt(--B)==="\\";)P++;return(P&1)===1}for(A(0);n!=="";)if(l=n.charAt(0),Sd(l))o=!0,A(1);else if(l in xd)s.push({type:xd[l]}),o=!1,A(1);else if(l===","){if(s.length===0)throw new SyntaxError("empty sub-selector");t.push(s),s=[],o=!1,A(1)}else if(o&&(s.length>0&&s.push({type:"descendant"}),o=!1),l==="*")n=n.substr(1),s.push({type:"universal"});else if(l in go)n=n.substr(1),s.push({type:"attribute",name:go[l][0],action:go[l][1],value:v(),ignoreCase:!1});else if(l==="["){if(n=n.substr(1),c=n.match(jD),!c)throw new SyntaxError("Malformed attribute selector: "+n);n=n.substr(c[0].length),g=Uu(c[1]),(!i||("lowerCaseAttributeNames"in i?i.lowerCaseAttributeNames:!i.xmlMode))&&(g=g.toLowerCase()),s.push({type:"attribute",name:g,action:ZD[c[2]],value:Uu(c[4]||c[5]||""),ignoreCase:!!c[6]})}else if(l===":"){if(n.charAt(1)===":"){n=n.substr(2),s.push({type:"pseudo-element",name:v().toLowerCase()});continue}if(n=n.substr(1),g=v().toLowerCase(),c=null,n.charAt(0)==="(")if(g in JD){d=n.charAt(1);var T=d in Cd;if(n=n.substr(T+1),c=[],n=qd(c,n,i),T){if(n.charAt(0)!==d)throw new SyntaxError("unmatched quotes in :"+g);n=n.substr(1)}if(n.charAt(0)!==")")throw new SyntaxError("missing closing parenthesis in :"+g+" "+n);n=n.substr(1)}else{for(var S=1,L=1;L>0&&S<n.length;S++)n.charAt(S)==="("&&!w(S)?L++:n.charAt(S)===")"&&!w(S)&&L--;if(L)throw new SyntaxError("parenthesis not matched");c=n.substr(1,S-2),n=n.substr(S),g in QD&&(d=c.charAt(0),d===c.slice(-1)&&d in Cd&&(c=c.slice(1,-1)),c=Uu(c))}s.push({type:"pseudo",name:g,data:c})}else if(Ed.test(n))g=v(),(!i||("lowerCaseTags"in i?i.lowerCaseTags:!i.xmlMode))&&(g=g.toLowerCase()),s.push({type:"tag",name:g});else return s.length&&s[s.length-1].type==="descendant"&&s.pop(),Td(t,s),n;return Td(t,s),n}function Td(t,n){if(t.length>0&&n.length===0)throw new SyntaxError("empty sub-selector");t.push(n)}});var Id=O((ax,Od)=>{var ei=pn(),_o=ei.isTag,Fd=ei.getParent,rw=ei.getChildren,Rd=ei.getSiblings,nw=ei.getName;Od.exports={__proto__:null,attribute:ho().compile,pseudo:Pu().compile,tag:function(t,n){var i=n.name;return function(o){return nw(o)===i&&t(o)}},descendant:function(t,n,i,s,o){return function(l){if(o&&t(l))return!0;for(var g=!1;!g&&(l=Fd(l));)g=t(l);return g}},parent:function(t,n,i){if(i&&i.strict)throw SyntaxError("Parent selector isn't part of CSS3");return function(c){return rw(c).some(s)};function s(o){return _o(o)&&t(o)}},child:function(t){return function(i){var s=Fd(i);return!!s&&t(s)}},sibling:function(t){return function(i){for(var s=Rd(i),o=0;o<s.length;o++)if(_o(s[o])){if(s[o]===i)break;if(t(s[o]))return!0}return!1}},adjacent:function(t){return function(i){for(var s=Rd(i),o,c=0;c<s.length;c++)if(_o(s[c])){if(s[c]===i)break;o=s[c]}return!!o&&t(o)}},universal:function(t){return t}}});var vo=O((ox,iw)=>{iw.exports={universal:50,tag:30,attribute:1,pseudo:0,descendant:-1,child:-1,parent:-1,sibling:-1,adjacent:-1}});var Pd=O((cx,Md)=>{Md.exports=uw;var mo=vo(),Nd={__proto__:null,exists:10,equals:8,not:7,start:6,end:6,any:5,hyphen:4,element:4};function uw(t){for(var n=t.map(kd),i=1;i<t.length;i++){var s=n[i];if(!(s<0))for(var o=i-1;o>=0&&s<n[o];o--){var c=t[o+1];t[o+1]=t[o],t[o]=c,n[o+1]=n[o],n[o]=s}}}function kd(t){var n=mo[t.type];if(n===mo.attribute)n=Nd[t.action],n===Nd.equals&&t.name==="id"&&(n=9),t.ignoreCase&&(n>>=1);else if(n===mo.pseudo)if(!t.data)n=3;else if(t.name==="has"||t.name==="contains")n=0;else if(t.name==="matches"||t.name==="not"){n=0;for(var i=0;i<t.data.length;i++)if(t.data[i].length===1){var s=kd(t.data[i][0]);if(s===0){n=0;break}s>n&&(n=s)}t.data.length>1&&n>0&&(n-=1)}else n=1;return n}});var Yd=O((fx,Hu)=>{Hu.exports=fw;Hu.exports.compileUnsafe=Wd;Hu.exports.compileToken=ii;var sw=Bd(),ni=pn(),yo=ni.isTag,aw=Id(),ow=Pd(),Hd=dn(),ri=Hd.trueFunc,hr=Hd.falseFunc,cw=vo();function fw(t,n,i){var s=Wd(t,n,i);return Gd(s)}function Gd(t){return function(i){return yo(i)&&t(i)}}function Wd(t,n,i){var s=sw(t,n);return ii(s,n,i)}function $d(t){return t.type==="pseudo"&&(t.name==="scope"||Array.isArray(t.data)&&t.data.some(function(n){return n.some($d)}))}var lw={type:"descendant"},hw={type:"pseudo",name:"scope"},Vd={},pw=ni.getParent;function dw(t,n){var i=!!n&&!!n.length&&n.every(function(s){return s===Vd||!!pw(s)});t.forEach(function(s){if(!(s.length>0&&zd(s[0])&&s[0].type!=="descendant"))if(i&&!$d(s))s.unshift(lw);else return;s.unshift(hw)})}function ii(t,n,i){t=t.filter(function(o){return o.length>0}),t.forEach(ow);var s=Array.isArray(i);return i=n&&n.context||i,i&&!s&&(i=[i]),dw(t,i),t.map(function(o){return gw(o,n,i,s)}).reduce(_w,hr)}function zd(t){return cw[t.type]<0}function gw(t,n,i,s){var o=s&&t[0].name==="scope"&&t[1].type==="desce Line truncated
`)}}):{name:o,value:c.replace(b2,`\r
`)}}).get()}});var $u=O((mx,E2)=>{var Lo=Xn(),w2=fn().isHtml,li=fr(),Hw=[u2(),f2(),d2(),m2(),D2()],Jt=E2.exports=function(t,n,i,s){return this instanceof Jt?(this.options=li.defaults(s||{},this.options),t?(i&&(typeof i=="string"&&(i=Lo(i,this.options)),this._root=Jt.call(this,i)),t.cheerio?t:(Gw(t)&&(t=[t]),Array.isArray(t)?(li.forEach(t,li.bind(function(o,c){this[c]=o},this)),this.length=t.length,this):typeof t=="string"&&w2(t)?Jt.call(this,Lo(t,this.options).children):(n?typeof n=="string"?w2(n)?(n=Lo(n,this.options),n=Jt.call(this,n)):(t=[n,t].join(" "),n=this._root):n.cheerio||(n=Jt.call(this,n)):n=this._root,n?n.find(t):this))):this):new Jt(t,n,i,s)};li.extend(Jt,Wu());Jt.prototype.cheerio="[cheerio object]";Jt.prototype.options={withDomLvl1:!0,normalizeWhitespace:!1,xmlMode:!1,decodeEntities:!0};Jt.prototype.length=0;Jt.prototype.splice=Array.prototype.splice;Jt.prototype._make=function(t,n){var i=new this.constructor(t,n,this._root,this.options);return i.prevObject=this,i};Jt.prototype.toArray=function(){return this.get()};Hw.forEach(function(t){li.extend(Jt.prototype,t)});var Gw=function(t){return t.name||t.type==="text"||t.type==="comment"}});var x2=O((Ax,Ww)=>{Ww.exports={name:"cheerio-without-node-native",version:"0.20.2",description:"Cheerio build that excludes node native modules so that you can use it in platforms like React Native.",license:"MIT",keywords:["htmlparser","jquery","selector","scraper","parser","html"],repository:{type:"git",url:"git://github.com/oyyd/cheerio-without-node-native"},main:"./index.js",files:["index.js","lib"],engines:{node:">= 0.6"},dependencies:{"css-select":"~1.2.0","dom-serializer":"~0.1.0",entities:"~1.1.1","htmlparser2-without-node-native":"^3.9.0",lodash:"^4.1.0"},devDependencies:{benchmark:"~1.0.0",coveralls:"~2.10","expect.js":"~0.3.1",istanbul:"~0.2",jshint:"~2.5.1",mocha:"*",xyz:"~0.5.0"},scripts:{test:"make test"},optionalDependencies:{jsdom:"^7.0.2"}}});var S2=O((Bo,C2)=>{Bo=C2.exports=$u();Bo.version=x2().version});function Oo(t){return/^[\x00-\x7F\u00C0-\u024F\s\-,:!.'?&()0-9]+$/.test(t)}function q2(s,o){return J(this,arguments,function*(t,n,i={}){var v,A,w,T,S,L;let c=n==="movie"?"movie":"tv",l=[];try{let B=`${Ro}/${c}/${t}?api_key=${Fo}&language=en-US`,P=yield ot(B);if(P){let $=yield P.json(),N=(v=c==="movie"?$.title:$.name)==null?void 0:v.trim(),W=(A=c==="movie"?$.original_title:$.original_name)==null?void 0:A.trim(),pt=$.number_of_seasons;if(N&&l.push(N),W&&W!==N&&Oo(W)&&l.push(W),n==="tv"&&i.season){let yt=parseInt(i.season,10);if(yt>0&&N)for(let Rt of T2){let Qt=`${N} ${Rt(yt)}`;l.includes(Qt)||l.push(Qt)}if(yt>0&&W&&W!==N&&Oo(W))for(let Rt of T2){let Qt=`${W} ${Rt(yt)}`;l.includes(Qt)||l.push(Qt)}}}let Y=`${Ro}/${c}/${t}/translations?api_key=${Fo}`,nt=yield ot(Y);if(nt){let N=((yield nt.json()).translations||[]).find(pt=>pt.iso_639_1==="fr"),W=((T=(w=N==null?void 0:N.data)==null?void 0:w.name)==null?void 0:T.trim())||((L=(S=N==null?void 0:N.data)==null?void 0:S.title)==null?void 0:L.trim());if(W&&!l.includes(W)&&l.push(W),n==="tv"&&i.season&&W){let pt=parseInt(i.season,10);if(pt>0){let yt=`${W} Saison ${pt}`;l.includes(yt)||l.push(yt)}}}let ht=`${Ro}/${c}/${t}/alternative_titles?api_key=${Fo}`,it=yield ot(ht);if(it){let $=yield it.json(),N=c==="movie"?$.titles:$.results;N&&Array.isArray(N)&&N.forEach(W=>{var yt;let pt=(yt=W.title)==null?void 0:yt.trim();pt&&!l.some(Rt=>Rt.toLowerCase()===pt.toLowerCase())&&Oo(pt)&&(W.type==="Romaji"||W.iso_3166_1==="US"||W.iso_3166_1==="FR"||W.type==="Search Tag"?l.splice(1,0,pt):l.push(pt))})}}catch(B){console.error(`[Metadata] TMDB API error: ${B.message}`)}let g=new Set,d=l.filter(B=>{let P=B.toLowerCase();return g.has(P)?!1:(g.add(P),!0)});return console.log(`[Metadata] Titles for ${t}: ${d.join(" | ")}`),d})}var Fo,Ro,T2,L2=Un(()=>{rn();Fo="8265bd1679663a7ea12ac168da84d2e8",Ro="https://api.themoviedb.org/3",T2=[t=>`Season ${t}`,t=>`Saison ${t}`,t=>`S${t}`]});function Io(i){return J(this,arguments,function*(t,n={}){try{return yield ot(t,n)}catch(s){return console.error(`[ArmSync] Fetch failed: ${t}`,s.message),null}})}function B2(t,n){return J(this,null,function*(){if(!t)return null;let i=yield Io(`${$w}/themoviedb?id=${t}`);if(i)try{let c=yield i.json(),l=Array.isArray(c)?c[0]:c;if(l&&l.imdb)return l.imdb}catch(c){}let s=`https://www.themoviedb.org/${n==="movie"?"movie":"tv"}/${t}`,o=yield Io(s);if(o){let l=(yield o.text()).match(/imdb\.com\/title\/(tt\d+)/);if(l)return l[1]}return null})}function F2(t,n,i){return J(this,null,function*(){var v;if(!t||n===0)return null;let s=yield Io(`${Vw}/meta/series/${t}.json`);if(!s)return null;let o=yield s.json();if(!((v=o==null?void 0:o.meta)!=null&&v.videos))return null;let c=o.meta.videos.filter(A=>A.season>0&&A.episode>0).sort((A,w)=>A.season-w.season||A.episode-w.episode),l=[],g=new Set;for(let A of c){let w=`${A.season}-${A.episode}`;g.has(w)||(g.add(w),l.push(A))}let d=l.findIndex(A=>A.season==n&&A.episode==i);if(d!==-1){let A=d+1;return console.log(`[ArmSync] Line truncated
/*! Bundled license information:
eventemitter2/lib/eventemitter2.js:
(*!
* EventEmitter2
* https://github.com/hij1nx/EventEmitter2
*
* Copyright (c) 2013 hij1nx
* Licensed under the MIT license.
*)
lodash/lodash.js:
(**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*)
*/
if (typeof module !== 'undefined' && module.exports) {
module.exports = __provider;
}
if (__provider && __provider.getStreams) {
if (typeof globalThis !== 'undefined') {
globalThis.getStreams = __provider.getStreams;
}
if (typeof global !== 'undefined') {
global.getStreams = __provider.getStreams;
}
if (typeof self !== 'undefined') {
self.getStreams = __provider.getStreams;
}
}