@banou/ftube 0.0.0-stage → 0.0.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/LICENSE +21 -0
- package/README.md +44 -2
- package/__yt_engine__/engine.html +9 -0
- package/app.webmanifest +31 -0
- package/assets/account-BL8Hv7lS.js +157 -0
- package/assets/account-By94iboj.js +1 -0
- package/assets/account-DfiXzypA-YE6OyKjK.js +1 -0
- package/assets/account-generation-BP_-Qyck-BOth6YQ_.js +1 -0
- package/assets/agent-source-E4g0cDzU.js +1 -0
- package/assets/api-1NDCtwel-CAaxX8P1.js +3 -0
- package/assets/binary-encoding-By5K7InN.js +1 -0
- package/assets/build-CNn3bm6X.js +1 -0
- package/assets/busy-C1JPjoZ_-CJ0641jK.js +1 -0
- package/assets/cards-Csel8naI.js +2334 -0
- package/assets/channel-B5f9YTIf.js +1160 -0
- package/assets/client-version-D9kIz6Gz.js +1 -0
- package/assets/comments-CJp9O808.js +612 -0
- package/assets/dislikes-DH5jCVEY.js +1 -0
- package/assets/dist-7VpLCl1k.js +1 -0
- package/assets/dist-BOrL1gYg.js +2 -0
- package/assets/downloads-CMXDjA_E.js +191 -0
- package/assets/egress.worker-DopXr5uP.js +104 -0
- package/assets/engine-B_kFyW7L.js +2 -0
- package/assets/feed-channels-Dg2mvF5x.js +251 -0
- package/assets/feed-groups-CnyR4sOO.js +160 -0
- package/assets/feed-history-BDAGG9N5.js +368 -0
- package/assets/feed-playlists-DcGR2AL6.js +167 -0
- package/assets/feed-subscriptions-Sm3tKz4P.js +165 -0
- package/assets/feed-you-lxbqknXX.js +110 -0
- package/assets/formats-CDwXfKnr.js +1 -0
- package/assets/frame-BrGNSf3s.js +2 -0
- package/assets/fs-CjRTQ7Nu.js +1 -0
- package/assets/fs-CwRtKje1-CBsYhX2-.js +1 -0
- package/assets/fullscreen-view-BLgosU84.js +269 -0
- package/assets/group-C00s0aT7.js +183 -0
- package/assets/groups-button-CvVnqwlu.js +25 -0
- package/assets/hashtag-CCIhITaL.js +115 -0
- package/assets/icons-DKsqNLSs.js +1 -0
- package/assets/index-A5dHbptn.css +1 -0
- package/assets/index-DwsYJ-bu.js +1328 -0
- package/assets/lib-h0P14ZFl.js +70 -0
- package/assets/linkify-B6hdFhsL.js +1 -0
- package/assets/packages-C3w3tSjj-BCtDk0vj.js +1 -0
- package/assets/party-CUcxsJDF.js +180 -0
- package/assets/playlist-DF7wsidw.js +521 -0
- package/assets/playlist-card-Btoc7D8f.js +91 -0
- package/assets/playlist-panel-D97BwT1f.js +199 -0
- package/assets/post-CQ9mfVos.js +39 -0
- package/assets/post-card-ZUQixO1G.js +76 -0
- package/assets/privacy-hkbqXFeB.js +46 -0
- package/assets/protobuf-BXZ2dCCc.js +1 -0
- package/assets/read-more-BhddUSlS.js +20 -0
- package/assets/rich-text-07paR5O3.js +25 -0
- package/assets/roboto-cyrillic-ext-BCp_3N7R.woff2 +0 -0
- package/assets/roboto-cyrillic-fOt7epNf.woff2 +0 -0
- package/assets/roboto-greek-DlT9XTxE.woff2 +0 -0
- package/assets/roboto-greek-ext-Bgw4czJT.woff2 +0 -0
- package/assets/roboto-latin-ccAYIvAh.woff2 +0 -0
- package/assets/roboto-latin-ext-DYIxWhlt.woff2 +0 -0
- package/assets/roboto-math-4a3xuzGk.woff2 +0 -0
- package/assets/roboto-symbols-B7iHSfaG.woff2 +0 -0
- package/assets/roboto-vietnamese-_f1XEJpo.woff2 +0 -0
- package/assets/rooms-B-AvBY-c-FNDqRDHE.js +1 -0
- package/assets/rooms-B91zuirR.js +1 -0
- package/assets/save-menu-DF1WKqSE.js +462 -0
- package/assets/search-Cx5IpDtZ.js +1026 -0
- package/assets/settings-kESE_uBm.js +99 -0
- package/assets/shaka-BwT9pJcV.js +36 -0
- package/assets/share-dialog-Cp0BJ6bg.js +156 -0
- package/assets/shorts-BxDB7m0c.js +686 -0
- package/assets/shorts-grid-Bgbkl5dP.js +11 -0
- package/assets/sign-in-Bx3zmj-m.js +97 -0
- package/assets/signed-out-prompt-CEAx65kq.js +79 -0
- package/assets/signin-DkI8Ogzz.js +18 -0
- package/assets/social-bXt3vmd4.js +1 -0
- package/assets/video-card-compact-r-K4XyDb.js +190 -0
- package/assets/watch-CkxSP1IA.js +1802 -0
- package/assets/web-BNanCsH5.js +43 -0
- package/favicon.ico +0 -0
- package/favicon.svg +5 -0
- package/icons/icon-192.png +0 -0
- package/icons/icon-512.png +0 -0
- package/index-Bj-Q3X8Q.js +4120 -0
- package/index.html +32 -0
- package/package.json +45 -4
- package/store/background.webp +0 -0
- package/store/channel.webp +0 -0
- package/store/cover.webp +0 -0
- package/store/phone.webp +0 -0
- package/store/search.webp +0 -0
- package/store/watch.webp +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import{Dt as e}from"./icons-DKsqNLSs.js";import{c as t,ot as n,s as r,t as i}from"./sign-in-Bx3zmj-m.js";var a=n`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
max-width: 52rem;
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
padding: 8.8rem 1.6rem 4.8rem;
|
|
8
|
+
text-align: center;
|
|
9
|
+
|
|
10
|
+
> .prompt-icon {
|
|
11
|
+
margin-bottom: 2.4rem;
|
|
12
|
+
color: var(--text-primary);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
> .prompt-icon svg {
|
|
16
|
+
display: block;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
> h2 {
|
|
20
|
+
margin: 0;
|
|
21
|
+
font-size: 2.4rem;
|
|
22
|
+
font-weight: 700;
|
|
23
|
+
line-height: 3.2rem;
|
|
24
|
+
color: var(--text-primary);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
> .prompt-subtitle {
|
|
28
|
+
margin: 1.2rem 0 0;
|
|
29
|
+
font-size: 1.4rem;
|
|
30
|
+
line-height: 2rem;
|
|
31
|
+
color: var(--text-secondary);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
> .prompt-actions {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-wrap: wrap;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
gap: 1.2rem;
|
|
39
|
+
max-width: 100%;
|
|
40
|
+
margin-top: 2.4rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
> .prompt-actions .sign-in {
|
|
44
|
+
display: inline-flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
gap: 0.8rem;
|
|
48
|
+
min-height: 3.6rem;
|
|
49
|
+
max-width: 100%;
|
|
50
|
+
margin-top: 0;
|
|
51
|
+
padding: 0.6rem 1.5rem;
|
|
52
|
+
border: 1px solid var(--border-strong);
|
|
53
|
+
border-radius: 1.8rem;
|
|
54
|
+
background: transparent;
|
|
55
|
+
color: var(--accent);
|
|
56
|
+
font-size: 1.4rem;
|
|
57
|
+
font-weight: 500;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
transition: background 0.15s ease, border-color 0.15s ease;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
> .prompt-actions .sign-in svg {
|
|
63
|
+
flex: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
> .prompt-actions .sign-in:hover {
|
|
67
|
+
background: var(--accent-hover);
|
|
68
|
+
border-color: transparent;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
> .prompt-actions .sign-in:disabled {
|
|
72
|
+
cursor: default;
|
|
73
|
+
opacity: 0.6;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@media (max-width: 656px) {
|
|
77
|
+
padding: 4.8rem 0 3.2rem;
|
|
78
|
+
}
|
|
79
|
+
`,o=({icon:n,title:o,subtitle:s,onSignIn:c=i,actions:l,children:u})=>t(`div`,{css:a,className:`signed-out-prompt`,children:[r(`span`,{className:`prompt-icon`,"aria-hidden":`true`,children:r(n,{size:72,strokeWidth:1.25})}),r(`h2`,{children:o}),r(`p`,{className:`prompt-subtitle`,children:s}),t(`div`,{className:`prompt-actions`,children:[t(`button`,{type:`button`,className:`sign-in`,onClick:c,children:[r(e,{size:24,strokeWidth:1.5,"aria-hidden":`true`}),`Sign in`]}),l]}),u]});export{o as t};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import{b as e,d as t,ot as n,s as r,t as i}from"./sign-in-Bx3zmj-m.js";var a=n`
|
|
2
|
+
min-height: calc(100vh - var(--header-height));
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
|
|
7
|
+
.sign-in {
|
|
8
|
+
height: 3.6rem;
|
|
9
|
+
padding: 0 1.6rem;
|
|
10
|
+
border: none;
|
|
11
|
+
border-radius: 1.8rem;
|
|
12
|
+
background: var(--bg-inverse);
|
|
13
|
+
color: var(--text-inverse);
|
|
14
|
+
font-size: 1.4rem;
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
}
|
|
18
|
+
`,o=()=>{let{ready:n,signedIn:o}=t();return n&&o?r(e,{to:`/`,replace:!0}):r(`main`,{css:a,children:r(`button`,{type:`button`,className:`sign-in`,onClick:i,children:`Sign in`})})};export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,t}from"./packages-C3w3tSjj-BCtDk0vj.js";var n=(e,t)=>Object.assign(Error(t),{code:e}),r=e=>2<e.min?{usable:!1,reason:`outdated`}:{usable:!0,level:Math.min(2,e.protocol)},i=(e,t)=>e.usable&&e.level>=t,a={available:1,me:1,attach:1,friends:1,openInvite:1,openAdd:1,publishing:2,allowPublishing:2,publish:2,stopPublishing:2,findByHandle:3,beFindable:3},o=e=>{try{let t=JSON.parse(e);if(typeof t!=`object`||!t)return!1;let n=t.t;return typeof n==`string`&&n.startsWith(`social.`)}catch{return!1}},s=(e,t)=>({memberId:e,status:`silent`,identity:null,self:e===t}),c=e=>{let t=new Set([e]),n=new Set;return{participants:()=>[...t].sort().map(t=>s(t,e)),of:t=>s(t,e),on:e=>(n.add(e),()=>n.delete(e)),ingest:()=>!1,memberJoined:e=>{t.add(e)},memberLeft:e=>{t.delete(e)},announce:async()=>{},detach:async()=>{}}},l=e=>{let t=null,l=null,u=null,d=async()=>{if(u!==null&&u!==`ready`)return u;if(t!==null&&l?.usable===!0)return u??`ready`;try{let n=await e(),i=r(await n.hello());return i.usable?(t=n,l=i,u=await n.state(),u):(u=`outdated`,u)}catch{return u=`unavailable`,u}},f=async()=>d(),p=async e=>{if(await d()!==`ready`||t===null||l===null||!i(l,a.attach))return c(e.selfMemberId);try{let n=await t.attach({roomId:e.roomId,selfMemberId:e.selfMemberId,observe:e.observe}),r=[],i=new Set,a=async()=>{r=await n.participants();for(let e of i)e(r)};return a(),{participants:()=>r,of:t=>r.find(e=>e.memberId===t)??s(t,e.selfMemberId),on:e=>(i.add(e),()=>i.delete(e)),ingest:(e,t,r,i)=>o(t)?(n.ingest(e,t,r,i).then(a,()=>{}),!0):!1,memberJoined:e=>{n.memberJoined(e).then(a,()=>{})},memberLeft:e=>{n.memberLeft(e).then(a,()=>{})},announce:()=>n.announce(),detach:()=>n.detach()}}catch{return c(e.selfMemberId)}},m=e=>n(`unsupported`,`social: ${e} needs a newer social package than this one`);return{available:f,attach:p,findByHandle:async()=>{throw await d(),m(`handle search`)}}},u=({connect:e,install:t})=>{let n=null,o=()=>{let t=n??=(async()=>{let t=await e();if(t===null)return`none`;let n=r(await t.hello());return n.usable?i(n,a.publish)?{hub:t}:{refused:`unsupported`}:{refused:`outdated`}})();return t.then(e=>{e===`none`&&n===t&&(n=null)},()=>{n===t&&(n=null)}),t},s=async(e,r,i,a=!1)=>{try{let n=await o();if(n===`none`&&a){if(!await t())return r(`unavailable`);n=await o()}return n===`none`?a?r(`unavailable`):e:`refused`in n?r(n.refused):await i(n.hub)}catch{return n=null,r(`unavailable`)}},c={state:`off`},l=e=>({state:e});return{publishing:()=>s(c,l,e=>e.publishing()),allowPublishing:e=>s(c,l,t=>t.allowPublishing(e),!0),publish:e=>s({ok:!1,reason:`not-allowed`},e=>({ok:!1,reason:e}),t=>t.publish(e)),stopPublishing:()=>s(c,l,e=>e.stopPublishing())}},d=`https:social.fkn.app`,f=`social@1`,p=(r=d,i)=>async()=>{let a=await e(r,{noConfirm:!0});if(a===null)throw n(`unavailable`,`social: the package was not installed`);let{remote:o}=await t(a.uri,{protocol:f,payload:i});return o},m=(n=d)=>({connect:async()=>{try{let{remote:e}=await t(n,{protocol:f});return e}catch(e){if(e?.code===`not-installed`)return null;throw e}},install:async()=>await e(n,{noConfirm:!0})!==null}),h={...l(p()),...u(m())};export{h as social};
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import{on as e,sn as t}from"./icons-DKsqNLSs.js";import{c as n,ot as r,s as i,y as a}from"./sign-in-Bx3zmj-m.js";import{E as o,F as s,M as c,N as l,O as u,P as d,Tn as f,U as p,hn as m,in as h,k as g,rn as _,xn as v}from"./cards-Csel8naI.js";t();var y=r`
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: flex-start;
|
|
4
|
+
min-width: 0;
|
|
5
|
+
|
|
6
|
+
/* --compact-thumb-width lets a wider column, the watch sidebar on a wide
|
|
7
|
+
screen, grow the thumbnail */
|
|
8
|
+
.thumb {
|
|
9
|
+
position: relative;
|
|
10
|
+
flex: none;
|
|
11
|
+
display: block;
|
|
12
|
+
width: var(--compact-thumb-width, 16.8rem);
|
|
13
|
+
aspect-ratio: 16 / 9;
|
|
14
|
+
border-radius: 0.8rem;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
background: var(--bg-elevated);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.thumb img {
|
|
20
|
+
display: block;
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
object-fit: cover;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.thumb img.moving {
|
|
27
|
+
position: absolute;
|
|
28
|
+
inset: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.badge {
|
|
32
|
+
position: absolute;
|
|
33
|
+
right: 0.4rem;
|
|
34
|
+
bottom: 0.4rem;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
gap: 0.2rem;
|
|
38
|
+
padding: 0.1rem 0.4rem;
|
|
39
|
+
border-radius: 0.4rem;
|
|
40
|
+
background: var(--bg-badge);
|
|
41
|
+
color: var(--text-on-media);
|
|
42
|
+
font-size: 1.2rem;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
line-height: 1.8rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.badge.live {
|
|
48
|
+
background: var(--brand);
|
|
49
|
+
text-transform: uppercase;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.progress {
|
|
53
|
+
position: absolute;
|
|
54
|
+
left: 0;
|
|
55
|
+
right: 0;
|
|
56
|
+
bottom: 0;
|
|
57
|
+
display: block;
|
|
58
|
+
height: 0.3rem;
|
|
59
|
+
background: var(--bg-scrim);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.progress span {
|
|
63
|
+
display: block;
|
|
64
|
+
height: 100%;
|
|
65
|
+
background: var(--brand);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.text {
|
|
69
|
+
flex: 1;
|
|
70
|
+
min-width: 0;
|
|
71
|
+
margin-left: 0.8rem;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.title {
|
|
75
|
+
margin: 0 0 0.4rem;
|
|
76
|
+
font-size: 1.4rem;
|
|
77
|
+
font-weight: 500;
|
|
78
|
+
line-height: 2rem;
|
|
79
|
+
color: var(--text-primary);
|
|
80
|
+
display: -webkit-box;
|
|
81
|
+
-webkit-line-clamp: 2;
|
|
82
|
+
-webkit-box-orient: vertical;
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.channel-name {
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
width: fit-content;
|
|
90
|
+
max-width: 100%;
|
|
91
|
+
margin-top: 0.4rem;
|
|
92
|
+
font-size: 1.2rem;
|
|
93
|
+
font-weight: 400;
|
|
94
|
+
color: var(--text-secondary);
|
|
95
|
+
transition: color 0.15s ease;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.channel-name:hover {
|
|
99
|
+
color: var(--text-primary);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* the badge stays after the ellipsis, as on youtube.com */
|
|
103
|
+
.channel-name .name {
|
|
104
|
+
min-width: 0;
|
|
105
|
+
overflow: hidden;
|
|
106
|
+
text-overflow: ellipsis;
|
|
107
|
+
white-space: nowrap;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.meta {
|
|
111
|
+
font-size: 1.2rem;
|
|
112
|
+
font-weight: 400;
|
|
113
|
+
color: var(--text-secondary);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.members-only {
|
|
117
|
+
margin-top: 0.2rem;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.more {
|
|
121
|
+
flex: none;
|
|
122
|
+
width: 2.4rem;
|
|
123
|
+
height: 2.4rem;
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
border: none;
|
|
128
|
+
border-radius: 50%;
|
|
129
|
+
background: transparent;
|
|
130
|
+
color: var(--text-primary);
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
opacity: 0;
|
|
133
|
+
transition: background 0.15s ease, opacity 0.15s ease;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* The third selector keeps the trigger of an OPEN menu on screen: the pointer
|
|
137
|
+
has moved onto the panel by then, so the row is no longer hovered and the
|
|
138
|
+
button would fade out from under its own menu. */
|
|
139
|
+
&:hover .more,
|
|
140
|
+
.more:focus-visible,
|
|
141
|
+
.more-menu[data-open] .more {
|
|
142
|
+
opacity: 1;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.more:hover {
|
|
146
|
+
background: var(--bg-hover);
|
|
147
|
+
}
|
|
148
|
+
`,b=({video:t,context:r,recommendable:b})=>{let x=g(t.id,r),S=v(t.durationSeconds),C=u(t.progressPercent),w=m(t.id),[T,E]=e(!1),D=T&&t.animatedThumbnail?t.animatedThumbnail:void 0;return n(`article`,{css:y,onPointerEnter:e=>{w.onPointerEnter(),e.pointerType===`mouse`&&E(!0)},onPointerLeave:()=>{w.onPointerLeave(),E(!1)},onPointerDown:w.onPointerDown,children:[n(a,{href:x,className:`thumb`,tabIndex:-1,"aria-hidden":`true`,children:[t.thumbnail?i(h,{src:t.thumbnail,srcSet:t.thumbnailSrcset,sizes:`16.8rem`}):void 0,D?i(`img`,{className:`moving`,src:D,alt:``}):void 0,t.thumbnailBadge?i(c,{label:t.thumbnailBadge}):void 0,t.isLive?i(`span`,{className:`badge live`,children:`LIVE`}):S&&!D?n(`span`,{className:`badge`,children:[t.isMusic?i(d,{}):void 0,S]}):void 0,C===void 0?void 0:i(`span`,{className:`progress`,children:i(`span`,{style:{width:`${C}%`}})})]}),n(`div`,{className:`text`,children:[i(`h3`,{className:`title`,children:i(a,{href:x,children:t.title})}),f(t)===`names`?i(a,{href:x,className:`channel-name`,tabIndex:-1,children:i(`span`,{className:`name`,children:i(p,{parts:t.byline,badgeSize:12})})}):t.channel?n(a,{href:`/channel/${t.channel.id}`,className:`channel-name`,children:[i(`span`,{className:`name`,children:t.channel.name}),i(_,{channel:t.channel,size:12})]}):void 0,i(s,{video:t}),t.isMembersOnly?i(l,{}):void 0]}),i(o,{videoId:t.id,title:t.title,thumbnail:t.thumbnail,durationSeconds:t.durationSeconds,channel:t.channel,notInterestedToken:t.notInterestedToken,dontRecommendToken:t.dontRecommendToken,recommendable:b,live:!!(t.isLive||t.isUpcoming),iconSize:16,class:`more-menu`})]})},x=r`
|
|
149
|
+
display: flex;
|
|
150
|
+
align-items: flex-start;
|
|
151
|
+
min-width: 0;
|
|
152
|
+
animation: video-card-compact-pulse 1.6s ease-in-out infinite;
|
|
153
|
+
|
|
154
|
+
.thumb {
|
|
155
|
+
flex: none;
|
|
156
|
+
width: var(--compact-thumb-width, 16.8rem);
|
|
157
|
+
aspect-ratio: 16 / 9;
|
|
158
|
+
border-radius: 0.8rem;
|
|
159
|
+
background: var(--bg-elevated);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.text {
|
|
163
|
+
flex: 1;
|
|
164
|
+
min-width: 0;
|
|
165
|
+
margin-left: 0.8rem;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.bar {
|
|
169
|
+
height: 1.4rem;
|
|
170
|
+
border-radius: 0.4rem;
|
|
171
|
+
background: var(--bg-elevated);
|
|
172
|
+
margin-top: 0.4rem;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.bar.short {
|
|
176
|
+
width: 60%;
|
|
177
|
+
margin-top: 0.8rem;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
@keyframes video-card-compact-pulse {
|
|
181
|
+
0%,
|
|
182
|
+
100% {
|
|
183
|
+
opacity: 1;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
50% {
|
|
187
|
+
opacity: 0.55;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
`,S=()=>n(`div`,{css:x,"aria-hidden":`true`,children:[i(`div`,{className:`thumb`}),n(`div`,{className:`text`,children:[i(`div`,{className:`bar`}),i(`div`,{className:`bar short`})]})]});export{S as n,b as t};
|