Files
plugins/JWPlayer/player/polyfills.webvtt.js
chorblack e75f275ef4
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled
Initial commit
2026-03-07 11:19:25 +08:00

2 lines
8.1 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(1h.1T=1h.1T||[]).1f([[11],{3S:j(t,e,i){"3R 3P";j r(t,e){6.3Q="3U",6.1l=t.1l,6.1i=e||t.1i}j o(t){j e(t,e,i,r){7 3V*(0|t)+60*(0|e)+(0|i)+(0|r)/3Z}8 i=t.19(/^(\\d+):(\\d{2})(:\\d{2})?\\.(\\d{3})/);7 i?i[3]?e(i[1],i[2],i[3].1j(":",""),i[4]):i[1]>59?e(i[1],i[2],0,i[4]):e(0,i[1],i[2],i[4]):O}i.r(e),r.I=2M.2N(1y.I),r.I.2R=r,r.3Y={3X:{1l:0,1i:"21 1G 3W."},3O:{1l:1,1i:"21 3N 3F."}};8 n={"&24;":"&","&1J;":"<","&1K;":">","&1N;":"&#3E;","&1O;":"&#1H;","&1R;":" "},a={c:"1E",i:"i",b:"b",u:"u",1g:"1g",1C:"1C",v:"1E",1A:"1E"},s={v:"3D",1A:"1A"},h={1C:"1g"};j l(t,e){j i(){k(!e)7 O;8 t,i=e.19(/^([^<]*)(<[^>]+>?)?/);7 t=i[1]?i[1]:i[2],e=e.1d(t.D),t}j r(t){7 n[t]}j l(t){H(8 e=L 0;e=t.19(/&(24|1J|1K|1N|1O|1R);/);)t=t.1j(e[0],r);7 t}j c(t,e){7!h[e.1D]||h[e.1D]===t.1D}j p(e,i){8 r=a[e];k(!r)7 O;8 o=t.Z.1c(r),n=s[e];7 n&&i&&(o[n]=i.3B()),o}H(8 d=t.Z.1c("A"),u=d,f=L 0,g=[];O!==(f=i());)k("<"!==f[0])u.P(t.Z.3C(l(f)));1z{k("/"===f[1]){g.D&&g[g.D-1]===f.1d(2).1j(">","")&&(g.23(),u=u.3G);17}8 m=o(f.1d(1,f.D-2)),v=L 0;k(m){v=t.Z.3H("3M",m),u.P(v);17}8 y=f.19(/^<([^.\\s/0-9>]+)(\\.[^\\s\\\\>]+)?([^>\\\\]+)?(\\\\?)>?$/);k(!y)17;k(!(v=p(y[1],y[3])))17;k(!c(u,v))17;y[2]&&(v.1k=y[2].1d(1).1j("."," ")),g.1f(y[1]),u.P(v),u=v}7 d}8 c=[[2n,2n],[2l,2l],[2m,2m],[2x,2x],[3I,3J],[40,41],[2v,2v],[2u,2u],[2j,2j],[2a,2a],[4i,4g],[4h,4l],[4m,4q],[4p,4o],[4n,4f],[4e,46],[45,44],[42,43],[47,48],[2b,2b],[4c,3A],[49,4a],[29,29],[3q,32],[26,26],[27,27],[2c,2c],[33,34],[2Z,37],[2d,2d],[2i,2i],[38,2U],[1H,1H],[2h,2h],[2V,2Y],[2W,2X],[2T,3z],[2g,2g],[3r,39],[3o,3p],[3t,3u],[3y,3x],[3w,3v],[3n,3m],[3e,3d],[3c,3a],[3b,3f],[3g,3l],[2e,2e],[4s,3k],[3j,3h],[2p,2p],[4b,4E],[5P,5S],[5I,62],[5s,5o],[2f,2f],[5l,5F],[5B,5w],[28,28],[5x,5z],[5y,5A],[5E,5D],[5C,5v],[5u,5n],[5k,5p],[5t,5H],[5r,5q],[5G,5L],[63,5Y],[61,5X],[5W,5Z],[5U,5M],[5V,5K],[2k,2k],[2t,2t],[5J,5N],[5O,5T],[2w,2w],[2s,2s],[2r,2r],[2o,2o],[2q,2q],[25,25],[5R,5Q],[5m,5h],[2y,2y],[1P,1P],[2z,2z],[1Q,1Q],[1L,1L],[1M,1M],[4H,4G],[1S,1S],[4L,4P],[4O,4N],[4M,4F],[5i,4x],[1U,1U],[4w,4v],[4t,4u],[4y,4z],[4D,4C],[4B,4A],[22,22]];j p(t){H(8 e=0;e<c.D;e++){8 i=c[e];k(t>=i[0]&&t<=i[1])7!0}7!1}j d(t,e){H(8 i=e.12.D-1;i>=0;i--)t.1f(e.12[i])}j u(t){k(!t||!t.D)7 O;8 e=t.23(),i=e.4R||e.5a;k(i){8 r=i.19(/^.*(\\n|\\r)/);7 r?(t.D=0,r[0]):i}7"1g"===e.15?u(t):e.12?(d(t,e),u(t)):L 0}j f(){}j g(t,e){f.58(6),6.1n=e,6.16=l(t,e.W),6.16.1k="X-W-S-1n X-1B";8 i="57-56";/^(1t|1s)$/.5b(e.T)&&(i="T-"+e.T);8 r={5c:"",U:"5g",5f:0,1a:0,q:0,z:0,C:0,2E:"5e",1V:i,1W:"1X"};6.N(r,6.16),6.A=t.Z.1c("A"),r={5d:"1u"===e.1r?"1Y":e.1r,55:"54-10",U:"2L",4W:j(t){k(!t||!t.12)7"1Z";8 e=[],i=L 0;H(d(e,t);i=u(e);)H(8 r=0;r<i.D;r++)k(p(i.4V(r)))7"4U";7"1Z"}(6.16),1V:i,1W:"1X"},6.N(r),6.A.P(6.16);8 o=0;V(e.1r){B"53":B"q":o=e.U;M;B"1u":B"1Y":o=("20"===e.U?50:e.U)-e.1e/2;M;B"2I":B"E":o=e.U-e.1e}o=G.Y(G.1b(1v,o),0),e.T?6.N({z:6.K(o,"%"),F:6.K(e.1e,"%")}):6.N({q:6.K(o,"%"),J:6.K(e.1e,"%")}),6.18=j(t){6.N({z:6.K(t.z,"13"),C:6.K(t.C,"13"),q:6.K(t.q,"13"),1a:6.K(t.E,"13"),F:"20",J:6.K(t.J,"13")})}}j m(t){8 e=L 0,i=L 0,r=L 0,o=L 0;k(t.A){i=t.A.1p,r=t.A.1m,o=t.A.1q;8 n=(n=t.A.12)&&(n=n[0])&&n.2K&&n.2K();t=t.A.1o(),e=n?G.Y(n[0]&&n[0].F||0,t.F/n.D):0}6.q=t.q,6.E=t.E,6.z=t.z||o,6.F=t.F||i,6.C=t.C||o+(t.F||i),6.J=t.J||r,6.14=L 0!==e?e:t.14,6.J=G.2F(6.J+1)}j v(t,e,i,r,o){8 n=R m(e),a=e.1n,s=j(t){k("4Z"==2P t.10&&(t.2Q||t.10>=0&&t.10<=1v))7 t.10;k(!t.S||!t.S.1x||!t.S.1x.51)7-1;H(8 e=t.S,i=e.1x,r=0,o=0;o<i.D&&i[o]!==e;o++)"52"===i[o].4Y&&r++;7-1*++r}(a),h=[];k(a.2Q){8 l=L 0;V(a.T){B"":h=["+y","-y"],l="F";M;B"1s":h=["+x","-x"],l="J";M;B"1t":h=["-x","+x"],l="J"}8 c=n.14,p=G.4X(i[l]/c);s=G.1b(s,p-o);8 d=c*G.4T(s),u=i[l]+c,f=h[0];k(G.4S(d)>u&&(d=d<0?-1:1,d*=G.2F(u/c)*c),s<0)d+=a.T?i.J:i.F,d-=o*c,h=h.4Q();d-=o,n.18(f,d)}1z{8 g=n.14/i.F*1v;V(a.4K){B"1u":s-=g/2;M;B"2I":s-=g}V(a.T){B"":e.N({z:e.K(s,"%")});M;B"1s":e.N({q:e.K(s,"%")});M;B"1t":e.N({1a:e.K(s,"%")})}h=["+y","-x","+x","-y"],n=R m(e)}8 v=j(t,e){H(8 o=L 0,n=R m(t),a=1,s=0;s<e.D;s++){H(;t.2J(i,e[s])||t.1w(i)&&t.2O(r);)t.18(e[s]);k(t.1w(i))7 t;8 h=t.2H(i);a>h&&(o=R m(t),a=h),t=R m(n)}7 o||n}(n,h);e.18(v.2B(i))}j y(){}f.I.N=j(t,e){H(8 i 4I e=e||6.A,t)t.4J(i)&&(e.Q[i]=t[i])},f.I.K=j(t,e){7 0===t?0:t+e},g.I=2M.2N(f.I),g.I.2R=g,m.I.18=j(t,e){V(e=L 0!==e?e:6.14,t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="X-W-S-2E X-1B",o.P(h.A),v(0,h,a,n,s),s-=r.W.2D("\\n").D,r.1I=h.A,n.1f(m.1F(h))}}()}1z H(8 h=0;h<e.D;h++)o.P(e[h].1I)};8 w=1h.1G;w||(1h.1G=w=y),e.3T=w}}]);',62,376,'||||||this|return|var|||||||||||function|if||||||left|||||||||top|div|case|bottom|length|right|height|Math|for|prototype|width|formatStyle|void|break|applyStyles|null|appendChild|style|new|track|vertical|position|switch|text|jw|max|document|line||childNodes|px|lineHeight|tagName|cueDiv|continue|move|match|paddingRight|min|createElement|substr|size|push|ruby|window|message|replace|className|code|offsetWidth|cue|getBoundingClientRect|offsetHeight|offsetTop|align|rl|lr|middle|100|within|textTrackList|Error|else|lang|reset|rt|localName|span|getSimpleBoxPosition|WebVTT|8207|displayState|lt|gt|126557|126559|lrm|rlm|126551|126555|nbsp|126564|webpackJsonpjwplayer|126590|writingMode|unicodeBidi|plaintext|center|ltr|auto|Malformed|1114109|pop|amp|126539|2074|2084|68096|2042|1563|1969|2088|2142|67592|67903|64318|64285|2208|1549|126500|1472|1475|1470|126535|67644|126537|126530|126523|126503|1547|1544|126521|1478|126548|126553|firstChild|toCSSCompatValues|overlaps|split|display|ceil|string|intersectPercentage|end|overlapsOppositeAxis|getClientRects|absolute|Object|create|overlapsAny|typeof|snapToLines|constructor|expected|64312|2220|64287|64298|64310|64296|2112|encodeURIComponent|convertCueToDOMTree|2069|2096|2110|data|decodeURIComponent|2136|2210|64321|65140|65142|65136|65020|65008|65276|67584|67640|decode|67639|67637|67589|64967|64914|64323|64324|2048|64320|throw|64326|64449|64911|64848|64829|64467|64316|2026|trim|createTextNode|title|8206|stamp|parentNode|createProcessingInstruction|1488|1514|hasBeenReset|reduce|timestamp|time|BadTimeStamp|strict|name|use|131|default|ParsingError|3600|signature|BadSignature|Errors|1e3|1520|1524|1810|1839|1808|1807|1805|1869|1957|2036|2037|67647|1984|removeChild|1786|1775|1610|1645|1566|container|margin|1647|1649|1774|1766|1765|1749|processCues|67594|126603|126619|126601|126592|126588|126625|126627|126651|126635|126633|126629|67669|126583|126562|126561|in|hasOwnProperty|lineAlign|126567|126580|126578|126572|126570|reverse|textContent|abs|round|rtl|charCodeAt|direction|floor|mode|number||mediaElement|showing|start|pre|whiteSpace|tb|horizontal|call||innerText|test|textShadow|textAlign|inline|paddingLeft|relative|126546|126585|StringDecoder|68192|67968|126545|68184|67897|68223|68437|68416|67872|68352|68176|68167|68031|68112|68117|68115|68119|68030|68160|68147|68121|68023|68440|68405|67840|126505|126498|68466|126495|126514|126516|67671|126543|126541|67679|126519|126469|126497|126464|68680|68479|126467||68608|67867|68472'.split('|'),0,{}))