PageSourceSearch

https://hou.la/chunk-GPNSYTF5.js

js hou.la collected 2026-10-02 15:59:58 UTC 220,456 bytes, 1 lines download raw bytes

1import{b as He,c as Q,d as $e,e as qe,f as Ke,g as Qe,h as ne}from"./chunk-VHCDQF45.js";import{a as We,b as je}from"./chunk-GRG2Q4IJ.js";import{a as Ue}from"./chunk-UXAEONSH.js";import{a as ze,b as Fe}from"./chunk-I65AJPQ4.js";import{a as De}from"./chunk-ZVCHMNXO.js";import"./chunk-MZJLXCUQ.js";import{a as Be}from"./chunk-446ZLNNU.js";import{c as Ge,d as ie}from"./chunk-ICHHVHZA.js";import{a as Re,b as Ne}from"./chunk-P37GQ53N.js";import"./chunk-NZ226J7R.js";import"./chunk-7EBKYMB6.js";import"./chunk-YK3HMHC4.js";import"./chunk-2DRXLVRR.js";import"./chunk-OFHUO5H7.js";import"./chunk-M3XSAKW4.js";import"./chunk-H76LZNGX.js";import"./chunk-PGR2NPNS.js";import"./chunk-OZD37XM5.js";import"./chunk-DLIVM562.js";import"./chunk-CV2ZWZQE.js";import"./chunk-AVEXXPAT.js";import"./chunk-FHU4TM37.js";import{d as Se,h as Te}from"./chunk-32B64V2R.js";import"./chunk-3XLVKQRY.js";import"./chunk-DJ5AJG3T.js";import{b as ye}from"./chunk-SLPC3Y4V.js";import"./chunk-XIRWNEM2.js";import"./chunk-AAORKXGN.js";import{a as Oe}from"./chunk-KDGXQRVY.js";import{D as Ae,c as ke,g as Le,l as Ve,z as Ie}from"./chunk-Q2KKZV5J.js";import"./chunk-JICM7NVH.js";import{a as be}from"./chunk-AB6CKZTE.js";import{c as we,d as Pe,e as Ee}from"./chunk-DIGPPQJE.js";import{o as xe,s as he,x as Me}from"./chunk-EU6HCBUP.js";import"./chunk-KAJMKXZ6.js";import{D as K,j as ue}from"./chunk-ZAQTNZYS.js";import{c as W}from"./chunk-SRTXE2HR.js";import{Dc as A,Ec as R,Fa as me,Fc as N,Ib as ee,Jb as h,Jc as fe,Kb as D,Lb as E,Lc as $,Nb as ge,Ob as ve,Rb as v,Sb as V,Tb as te,Ub as y,Uc as d,Vb as S,Vc as m,Wb as r,Wc as q,Xb as l,Yb as _,_a as L,ac as M,bb as pe,cb as J,da as k,db as a,dd as Ce,gc as u,hc as s,la as f,ma as C,na as le,nc as z,oa as se,oc as F,p as Z,pc as U,sb as H,uc as c,va as ce,vb as _e,vc as b,wa as de,wc as g,xc as I,yb as x}from"./chunk-NTTV6FWH.js";import{a as B,b as re,g as P}from"./chunk-W7GRJBO5.js";function nt(i,t){if(i&1&&_(0,"img",6),i&2){let e=s(2);h("src",e.item.giftThumbnailUrl,L)("alt",e.item.giftName)}}function ot(i,t){i&1&&_(0,"i",7)}function at(i,t){i&1&&(r(0,"span",9),_(1,"i",10),l())}function rt(i,t){if(i&1){let e=M();r(0,"button",1),u("click",function(){f(e);let o=s();return C(o.clicked.emit())}),le(),r(1,"svg",2),_(2,"circle",3)(3,"circle",4),l(),se(),r(4,"span",5),x(5,nt,1,2,"img",6)(6,ot,1,0,"i",7),l(),r(7,"span",8),c(8),l(),x(9,at,2,0,"span",9),l()}if(i&2){let e=s();E("goal-badge--pulse",e.pulsing)("goal-badge--done",e.goal==null?null:e.goal.isCompleted),a(3),D("stroke-dasharray",e.circumference)("stroke-dashoffset",e.dashOffset),a(2),v(e.item.giftThumbnailUrl?5:6),a(3),I("",e.item.currentQuantity,"/",e.item.targetQuantity,""),a(),v(e.goal!=null&&e.goal.isCompleted?9:-1)}}var Y=class i{_goal=null;set goal(t){let e=this._goal;if(this._goal=t,!t||!t.items?.length){this.stopRotation(),this.index=0;return}if(e?.items?.length)for(let n=0;n<t.items.length;n++){let o=e.items.find(p=>p.giftId===t.items[n].giftId);if(o&&t.items[n].currentQuantity>o.currentQuantity){this.index=n,this.pulse(),this.holdThenRotate();return}}this.index>=t.items.length&&(this.index=0),this.startRotation()}get goal(){return this._goal}clicked=new ce;index=0;pulsing=!1;circumference=2*Math.PI*20;rotationTimer=null;holdTimer=null;pulseTimer=null;cdr=k(Ce);get item(){let t=this._goal?.items;return t?.length?t[Math.min(this.index,t.length-1)]:null}get dashOffset(){let t=this.item;if(!t||t.targetQuantity<=0)return this.circumference;let e=Math.min(1,t.currentQuantity/t.targetQuantity);return this.circumference*(1-e)}startRotation(){this.stopRotation();let t=this._goal?.items?.length??0;t<=1||(this.rotationTimer=setInterval(()=>{this.index=(this.index+1)%t,this.cdr.markForCheck()},5e3))}holdThenRotate(){this.stopRotation(),this.cdr.markForCheck(),this.holdTimer=setTimeout(()=>this.startRotation(),2500)}pulse(){this.pulsing=!0,this.cdr.markForCheck(),this.pulseTimer&&clearTimeout(this.pulseTimer),this.pulseTimer=setTimeout(()=>{this.pulsing=!1,this.cdr.markForCheck()},600)}stopRotation(){this.rotationTimer&&(clearInterval(this.rotationTimer),this.rotationTimer=null),this.holdTimer&&(clearTimeout(this.holdTimer),this.holdTimer=null)}ngOnDestroy(){this.stopRotation(),this.pulseTimer&&clearTimeout(this.pulseTimer)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=H({type:i,selectors:[["app-live-gift-goal-badge"]],inputs:{goal:"goal"},outputs:{clicked:"clicked"},decls:1,vars:1,consts:[["type","button",1,"goal-badge",3,"goal-badge--pulse","goal-badge--done"],["type","button",1,"goal-badge",3,"click"],["viewBox","0 0 44 44",1,"goal-badge__ring"],["cx","22","cy","22","r","20",1,"goal-badge__track"],["cx","22","cy","22","r","20",1,"goal-badge__fill"],[1,"goal-badge__thumb"],["referrerpolicy","no-referrer",3,"src","alt"],[1,"pi","pi-gift"],[1,"goal-badge__chip"],[1,"goal-badge__check"],[1,"pi","pi-check"]],template:function(e,n){e&1&&x(0,rt,10,12,"button",0),e&2&&v(n.item?0:-1)},dependencies:[K],styles:[".goal-badge[_ngcontent-%COMP%]{position:relative;width:52px;height:62px;background:transparent;border:none;cursor:pointer;padding:0;flex-shrink:0;transition:transform .2s ease}.goal-badge--pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_goal-pulse .6s ease}.goal-badge__ring[_ngcontent-%COMP%]{position:absolute;top:0;left:4px;width:44px;height:44px;transform:rotate(-90deg)}.goal-badge__track[_ngcontent-%COMP%]{fill:none;stroke:#f59e0b33;stroke-width:3}
1.goal-badge__fill[_ngcontent-%COMP%]{fill:none;stroke:#f5a623;stroke-width:3;stroke-linecap:round;transition:stroke-dashoffset .5s cubic-bezier(.16,1,.3,1)}.goal-badge--done[_ngcontent-%COMP%]   .goal-badge__fill[_ngcontent-%COMP%]{stroke:#22c55e}.goal-badge__thumb[_ngcontent-%COMP%]{position:absolute;top:7px;left:11px;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.goal-badge__thumb[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:30px;height:30px;object-fit:contain}.goal-badge__thumb[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#f5a623;font-size:16px}.goal-badge__chip[_ngcontent-%COMP%]{position:absolute;bottom:6px;left:50%;transform:translate(-50%);background:#dc2626;color:#fff;font-size:10px;font-weight:800;line-height:1;padding:2px 6px;border-radius:8px;white-space:nowrap}.goal-badge--done[_ngcontent-%COMP%]   .goal-badge__chip[_ngcontent-%COMP%]{background:#22c55e}.goal-badge__check[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px;width:15px;height:15px;border-radius:50%;background:#22c55e;color:#fff;display:flex;align-items:center;justify-content:center}.goal-badge__check[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:8px}@keyframes _ngcontent-%COMP%_goal-pulse{0%,to{transform:scale(1)}45%{transform:scale(1.15)}}"],changeDetection:0})};var Xe=/@\[([^\]]+)\]\(([^)]+)\)/g,X=class i{transform(t){let e=t??"";if(!e.includes("@["))return[{text:e,isMention:!1}];let n=[],o=0,p;for(Xe.lastIndex=0;(p=Xe.exec(e))!==null;)p.index>o&&n.push({text:e.slice(o,p.index),isMention:!1}),n.push({text:"@"+p[1],isMention:!0}),o=p.index+p[0].length;return o<e.length&&n.push({text:e.slice(o),isMention:!1}),n}static \u0275fac=function(e){return new(e||i)};static \u0275pipe=_e({name:"parseMentions",type:i,pure:!0})};var lt=["previewVideo"],st=["previewAudioSink"],ct=["chatInput"],dt=["feedContainer"],oe=i=>({count:i}),G=(i,t)=>t.id,ae=(i,t)=>t.workspaceId,mt=(i,t)=>t.nom,pt=(i,t)=>t.key,_t=(i,t)=>t.mod.id;function gt(i,t){if(i&1&&(r(0,"div",9),_(1,"app-widget-workspace-avatar",41),r(2,"span",42),c(3),l()()),i&2){let e=s();a(),h("workspace",e.currentWorkspace)("size",26),a(2),b(e.currentWorkspace.name)}}function vt(i,t){i&1&&(r(0,"span",10),_(1,"span",43),c(2," LIVE "),l())}function ft(i,t){i&1&&(r(0,"span",45),c(1),d(2,"translate"),l()),i&2&&(a(),b(m(2,1,"MANAGER.LIVE_COMMENTS.PAUSED_BADGE")))}function Ct(i,t){if(i&1){let e=M();r(0,"button",44),d(1,"translate"),u("click",function(){f(e);let o=s();return C(o.togglePause())}),_(2,"i",26),c(3),x(4,ft,3,3,"span",45),l()}if(i&2){let e=s();E("session-timer--paused",e.isPaused),h("disabled",e.pauseBusy)("pTooltip",m(1,10,e.isPaused?"MANAGER.LIVE_COMMENTS.RESUME":"MANAGER.LIVE_COMMENTS.PAUSE")),a(2),E("pi-pause",!e.isPaused)("pi-play",e.isPaused),a(),g(" ",e.liveElapsed," "),a(),v(e.isPaused?4:-1)}}function ut(i,t){i&1&&(r(0,"span",15),_(1,"i",46),c(2),d(3,"translate"),l()),i&2&&(a(2),g(" ",m(3,1,"MANAGER.LIVE_COMMENTS.NO_LIVE")," "))}function xt(i,t){if(i&1){let e=M();r(0,"div",47),u("click",function(){f(e);let o=s();return C(o.showRefreshMenu=!1)}),r(1,"div",48),u("click",function(){f(e);let o=s();return C(o.refreshLive())}),_(2,"i",49),c(3),d(4,"translate"),l()()}i&2&&(a(3),g(" ",m(4,1,"MANAGER.SHOP_LIVE.REFRESH_DATA")," "))}function ht(i,t){if(i&1){let e=M();r(0,"button",23),d(1,"translate"),u("click",function(){f(e);let o=s();return C(o.togglePreview())}),_(2,"i",26),l()}if(i&2){let e=s();E("toolbar-btn--active",e.previewEnabled),h("pTooltip",m(1,7,e.previewEnabled?"MANAGER.LIVE_COMMENTS.PREVIEW_HIDE":"MANAGER.LIVE_COMMENTS.PREVIEW_SHOW")),a(2),E("pi-video",e.previewEnabled)("pi-eye-slash",!e.previewEnabled)}}function Mt(i,t){i&1&&(r(0,"div",31),_(1,"i",50),l())}function bt(i,t){i&1&&(r(0,"div",66)(1,"div",63),_(2,"i",71),r(3,"span",64),c(4),d(5,"translate"),l(),r(6,"span",65),c(7),d(8,"translate"),l()()()),i&2&&(a(4),g(" ",m(5,2,"MANAGER.LIVE_COMMENTS.PREVIEW_TITLE")," "),a(3),g(" ",m(8,4,"MANAGER.LIVE_COMMENTS.OFFLINE_PREVIEW_DESC")," "))}function wt(i,t){if(i&1){let e=M();r(0,"div",32)(1,"div",51)(2,"div")(3,"h2",52),c(4),d(5,"translate"),l(),r(6,"p",53),c(7),d(8,"translate"),l()(),r(9,"div",54)(10,"button",55),u("click",function(){f(e);let o=s();return C(o.refreshLive())}),_(11,"i",56),c(12),d(13,"translate"),l(),r(14,"button",57),u("click",function(){f(e);let o=s();return C(o.openSettings("general"))}),_(15,"i",58),c(16),d(17,"translate"),l(),r(18,"a",59),_(19,"i",60),c(20),d(21,"translate"),l()()(),r(22,"div",61)(23,"div",62)(24,"div",63),_(25,"i",13),r(26,"span",64),c(27),d(28,"translate"),l(),r(29,"span",65),c(30),d(31,"translate"),l()()(),x(32,bt,9,6,"div",66),r(33,"div",67)(34,"div",63),_(35,"i",68),r(36,"span",64),c(37),d(38,"translate"),l()(),r(39,"div",63),_(40,"i",69),r(41,"span",64),c(42),d(43,"translate"),l()(),r(44,"div",63),_(45,"i",70),r(46,"span",64),c(47),d(48,"translate"),l()()()()()}if(i&2){let e=s();a(4),g(" ",m(5,13,"MANAGER.LIVE_COMMENTS.NO_LIVE")," "),a(3),g(" ",m(8,15,"MANAGER.LIVE_COMMENTS.AUTO_DETECT_HINT")," "),a(5),g(" ",m(13,17,"MANAGER.LIVE_COMMENTS.REFRESH")," "),a(4),g(" ",m(17,19,"MANAGER.LIVE_COMMENTS.OFFLINE_PREPARE")," "),a(4),g(" ",m(21,21,"MANAGER.LIVE_COMMENTS.OFFLINE_START")," "),a(2),E("live-columns--with-preview",e.previewEnabled),a(5),g(" ",m(28,23,"MANAGER.LIVE_COMMENTS.COMMENTS")," "),a(3),g(" ",m(31,25,"MANAGER.LIVE_COMMENTS.OFFLINE_COMMENTS_DESC")," "),a(2),v(e.previewEnabled?32:-1),a(5),g(" ",m(38,27,"MANAGER.LIVE_COMMENTS.GIFT
1S")," "),a(5),g(" ",m(43,29,"MANAGER.LIVE_COMMENTS.EVENTS")," "),a(5),g(" ",m(48,31,"MANAGER.LIVE_COMMENTS.TOP_DONORS")," ")}}function Pt(i,t){if(i&1){let e=M();r(0,"button",114),d(1,"translate"),u("click",function(){f(e);let o=s(2);return C(o.openPollCreate())}),_(2,"i",115),c(3),d(4,"translate"),l()}i&2&&(h("pTooltip",m(1,2,"MANAGER.LIVE_COMMENTS.CREATE_POLL")),a(3),g(" ",m(4,4,"MANAGER.LIVE_COMMENTS.POLL")," "))}function Et(i,t){if(i&1&&(r(0,"span",119),_(1,"i",127),c(2),l()),i&2){let e=s(3);a(2),g(" ",e.pollTimeLeft," ")}}function Ot(i,t){i&1&&(r(0,"span",120),c(1),d(2,"translate"),l()),i&2&&(a(),b(m(2,1,"MANAGER.LIVE_COMMENTS.POLL_ENDED")))}function yt(i,t){if(i&1&&(r(0,"div",122),_(1,"div",128),r(2,"span",129),c(3),l(),r(4,"span",130),c(5),l()()),i&2){let e=t.$implicit,n=s(3);a(),D("width",n.pollPercent(e.id),"%"),a(2),b(e.label),a(2),g("",n.pollPercent(e.id),"%")}}function St(i,t){if(i&1&&(r(0,"div",126),_(1,"i",131),r(2,"span"),c(3),l()()),i&2){let e=s(3);a(3),b(e.pollError)}}function Tt(i,t){if(i&1){let e=M();r(0,"div",116)(1,"div",117),_(2,"i",115),r(3,"span",118),c(4),l(),x(5,Et,3,1,"span",119)(6,Ot,3,3,"span",120),l(),r(7,"div",121),y(8,yt,6,4,"div",122,G),l(),r(10,"div",123)(11,"span",124),c(12),d(13,"translate"),l(),r(14,"button",125),u("click",function(){f(e);let o=s(2);return C(o.closeActivePoll())}),c(15),d(16,"translate"),l()(),x(17,St,4,1,"div",126),l()}if(i&2){let e=s(2);E("poll-card--closed",e.activePoll.status==="closed"),a(4),b(e.activePoll.question),a(),v(e.pollTimeLeft?5:e.activePoll.status==="closed"?6:-1),a(3),S(e.activePoll.options),a(4),I(" ",e.activePoll.totalVotes," ",m(13,9,"MANAGER.LIVE_COMMENTS.POLL_VOTES")," "),a(2),h("disabled",e.pollBusy),a(),g(" ",m(16,11,e.pollActionLabel)," "),a(2),v(e.pollError?17:-1)}}function kt(i,t){i&1&&c(0," \xE9pingl\xE9 par un mod\xE9rateur ")}function Lt(i,t){i&1&&(c(0),d(1,"translate")),i&2&&g(" ",m(1,1,"MANAGER.LIVE_COMMENTS.PINNED")," ")}function Vt(i,t){if(i&1){let e=M();r(0,"img",147),u("error",function(){f(e);let o=s(),p=s(3);return C(p.onMediaError(o))}),l()}if(i&2){let e=s(),n=s(3);h("src",e,L)("alt",n.pinnedComment.displayName)}}function It(i,t){if(i&1&&(r(0,"div",140),c(1),l()),i&2){let e=s(4);a(),g(" ",e.pinnedComment.displayName.charAt(0).toUpperCase()," ")}}function At(i,t){if(i&1&&x(0,Vt,1,2,"img",146)(1,It,2,1,"div",140),i&2){let e=s(3);v(e.isMediaBroken(t)?1:0)}}function Rt(i,t){if(i&1&&(r(0,"div",140),c(1),l()),i&2){let e=s(3);a(),g(" ",e.pinnedComment.displayName.charAt(0).toUpperCase()," ")}}function Nt(i,t){i&1&&(r(0,"span",143),c(1,"HOST"),l())}function Gt(i,t){i&1&&_(0,"i",144)}function Bt(i,t){if(i&1&&(r(0,"span",148),c(1),l()),i&2){let e=s().$implicit;a(),b(e.text)}}function Dt(i,t){if(i&1&&(r(0,"span"),c(1),l()),i&2){let e=s().$implicit;a(),b(e.text)}}function zt(i,t){if(i&1&&x(0,Bt,2,1,"span",148)(1,Dt,2,1,"span"),i&2){let e=t.$implicit;v(e.isMention?0:1)}}function Ft(i,t){if(i&1){let e=M();r(0,"div",132)(1,"div",133)(2,"span",134),_(3,"i",135),x(4,kt,1,0)(5,Lt,2,3),l(),r(6,"button",136),d(7,"translate"),u("click",function(){f(e);let o=s(2);return C(o.unpinComment())}),_(8,"i",137),l()(),r(9,"div",138)(10,"div",139),x(11,At,2,1)(12,Rt,2,1,"div",140),l(),r(13,"div",141)(14,"span",142),x(15,Nt,2,0,"span",143),c(16),x(17,Gt,1,0,"i",144),l(),r(18,"span",145),y(19,zt,2,1,null,null,V),d(21,"parseMentions"),l()()()()}if(i&2){let e,n=s(2);E("pinned-comment--by-mod",n.pinnedByModerator),a(4),v(n.pinnedByModerator?4:5),a(2),h("pTooltip",m(7,8,"MANAGER.LIVE_COMMENTS.UNPIN")),a(5),v((e=n.mediaUrl(n.pinnedComment.avatarUrl))?11:12,e),a(4),v(n.isHost(n.pinnedComment)?15:-1),a(),g(" ",n.pinnedComment.displayName," "),a(),v(n.pinnedComment.isVerified?17:-1),a(2),S(m(21,10,n.pinnedComment.text))}}function Ut(i,t){if(i&1&&(r(0,"div",99),_(1,"i",149),r(2,"p"),c(3),d(4,"translate"),l()()),i&2){let e=s(2);a(3),g(" ",m(4,1,e.filtrePrioritaires?"MANAGER.LIVE_COMMENTS.NO_PRIORITY":"MANAGER.LIVE_COMMENTS.WAITING")," ")}}function Wt(i,t){if(i&1&&(r(0,"div",152)(1,"span",153),c(2),l(),r(3,"span",154),c(4),l(),r(5,"span",155),c(6),l()()),i&2){let e=s().$implicit;E("auction-line--won",e.auction==="won"),a(2),b(e.auction==="won"?"\u{1F3C6}":"\u{1F528}"),a(2),b(e.displayName),a(2),b(e.text)}}function jt(i,t){if(i&1){let e=M();r(0,"img",172),u("error",function(){f(e);let o=s(),p=s(4);return C(p.onMediaError(o))}),l()}if(i&2){let e=s(),n=s(2).$implicit;h("src",e,L)("alt",n.displayName)}}function Ht(i,t){if(i&1&&(r(0,"div",158),c(1),l()),i&2){let e=s(3).$implicit;a(),g(" ",e.displayName.charAt(0).toUpperCase()," ")}}
1function $t(i,t){if(i&1&&x(0,jt,1,2,"img",171)(1,Ht,2,1,"div",158),i&2){let e=s(4);v(e.isMediaBroken(t)?1:0)}}function qt(i,t){if(i&1&&(r(0,"div",158),c(1),l()),i&2){let e=s(2).$implicit;a(),g(" ",e.displayName.charAt(0).toUpperCase()," ")}}function Kt(i,t){if(i&1&&(r(0,"span",169),c(1),d(2,"translate"),l()),i&2){let e=s(3).$implicit;a(),g(" ",q(2,1,"MANAGER.LIVE_COMMENTS.COINS",$(4,oe,e.coins))," ")}}function Qt(i,t){if(i&1&&(r(0,"div",160),_(1,"i",173),r(2,"span"),c(3),d(4,"translate"),l(),x(5,Kt,3,6,"span",169),l()),i&2){let e=s(2).$implicit;a(3),b(m(4,2,"MANAGER.LIVE_COMMENTS.PRIORITY_BADGE")),a(2),v(e.coins?5:-1)}}function Yt(i,t){i&1&&(r(0,"span",162),_(1,"i",174),c(2),d(3,"translate"),l()),i&2&&(a(2),g(" ",m(3,1,"MANAGER.LIVE_COMMENTS.BOT_BADGE"),""))}function Xt(i,t){i&1&&(r(0,"span",143),c(1,"HOST"),l())}function Zt(i,t){i&1&&(r(0,"span",163),c(1),d(2,"translate"),l()),i&2&&(a(),b(m(2,1,"MANAGER.LIVE_COMMENTS.MOD_BADGE")))}function Jt(i,t){i&1&&_(0,"i",165)}function ei(i,t){i&1&&(r(0,"span",166),c(1),d(2,"translate"),l()),i&2&&(a(),b(m(2,1,"MANAGER.LIVE_COMMENTS.DELETED_BADGE")))}function ti(i,t){if(i&1&&(r(0,"span",168),c(1),l()),i&2){let e=s(2).$implicit;a(),g("/",e.commande,"")}}function ii(i,t){if(i&1&&(r(0,"span",169),c(1),d(2,"translate"),l()),i&2){let e=s(2).$implicit;a(),b(q(2,1,"MANAGER.LIVE_COMMENTS.COINS",$(4,oe,e.coins)))}}function ni(i,t){if(i&1&&(r(0,"span",148),c(1),l()),i&2){let e=s().$implicit;a(),b(e.text)}}function oi(i,t){if(i&1&&(r(0,"span"),c(1),l()),i&2){let e=s().$implicit;a(),b(e.text)}}function ai(i,t){if(i&1&&x(0,ni,2,1,"span",148)(1,oi,2,1,"span"),i&2){let e=t.$implicit;v(e.isMention?0:1)}}function ri(i,t){if(i&1){let e=M();r(0,"div",170)(1,"button",175),d(2,"translate"),u("click",function(o){f(e);let p=s(2).$implicit,w=s(2);return o.stopPropagation(),C(w.pinComment(p))}),_(3,"i",135),l(),r(4,"button",176),d(5,"translate"),u("click",function(o){f(e);let p=s(2).$implicit,w=s(2);return o.stopPropagation(),C(w.deleteComment(p))}),_(6,"i",177),l()()}if(i&2){let e=s(2).$implicit,n=s(2);a(),E("comment-pin-btn--active",(n.pinnedComment==null?null:n.pinnedComment.id)===e.id),h("pTooltip",m(2,4,(n.pinnedComment==null?null:n.pinnedComment.id)===e.id?"MANAGER.LIVE_COMMENTS.PINNED":"MANAGER.LIVE_COMMENTS.PIN")),a(3),h("pTooltip",m(5,6,"MANAGER.LIVE_COMMENTS.DELETE_COMMENT"))}}function li(i,t){if(i&1){let e=M();r(0,"div",156),d(1,"translate"),u("click",function(){f(e);let o=s().$implicit,p=s(2);return C(p.openModeration(o))}),r(2,"div",157),x(3,$t,2,1)(4,qt,2,1,"div",158),l(),r(5,"div",159),x(6,Qt,6,4,"div",160),r(7,"div",161),x(8,Yt,4,3,"span",162)(9,Xt,2,0,"span",143)(10,Zt,3,3,"span",163),r(11,"span",164),c(12),l(),x(13,Jt,1,0,"i",165)(14,ei,3,3,"span",166),l(),r(15,"div",167),x(16,ti,2,1,"span",168)(17,ii,3,6,"span",169),y(18,ai,2,1,null,null,V),d(20,"parseMentions"),l()(),x(21,ri,7,8,"div",170),l()}if(i&2){let e,n=s().$implicit,o=s(2);E("comment-item--verified",n.isVerified)("comment-item--host",o.isHost(n))("comment-item--moderatable",!o.isHost(n)&&!n.isDeleted)("comment-item--banned",o.isBanned(n.workspaceId))("comment-item--deleted",n.isDeleted)("comment-item--priority",n.kind==="prioritaire")("comment-item--command",n.kind==="commande"),h("pTooltip",o.isHost(n)?"":m(1,26,"MANAGER.LIVE_COMMENTS.MODERATE_HINT")),a(3),v((e=o.mediaUrl(n.avatarUrl))?3:4,e),a(3),v(n.kind==="prioritaire"?6:-1),a(2),v(n.isBot?8:-1),a(),v(o.isHost(n)?9:-1),a(),v(o.isModeratorComment(n)?10:-1),a(2),g(" ",n.displayName," "),a(),v(n.isVerified?13:-1),a(),v(n.isDeleted?14:-1),a(2),v(n.kind==="commande"&&n.commande?16:-1),a(),v(n.kind==="commande"&&n.coins?17:-1),a(),S(m(20,28,n.text)),a(3),v(n.isDeleted?-1:21)}}function si(i,t){if(i&1&&x(0,Wt,7,5,"div",150)(1,li,22,30,"div",151),i&2){let e=t.$implicit;v(e.auction?0:1)}}function ci(i,t){if(i&1){let e=M();r(0,"button",178),u("click",function(){f(e);let o=s(2);return C(o.scrollToLatest())}),_(1,"i",179),r(2,"span"),c(3),d(4,"translate"),l()()}if(i&2){let e=s(2);a(3),b(q(4,1,"MANAGER.LIVE_COMMENTS.NEW_COMMENTS",$(4,oe,e.newCommentsCount)))}}function di(i,t){if(i&1){let e=M();r(0,"div",180),_(1,"i",131),r(2,"span"),c(3),l(),r(4,"button",193),u("click",function(){f(e);let o=s(3);return C(o.chatError="")}),_(5,"i",137),l()()}if(i&2){let e=s(3);a(3),b(e.chatError)}}function mi(i,t){if(i&1){let e=M();r(0,"button",198),u("click",function(){let o=f(e).$index,p=s(4);return C(p.emojiCategory=o)}
1),_(1,"i",93),l()}if(i&2){let e=t.$implicit,n=t.$index,o=s(4);E("emoji-picker__tab--active",o.emojiCategory===n),a(),h("ngClass",e.icon)}}function pi(i,t){if(i&1){let e=M();r(0,"button",199),u("click",function(){let o=f(e).$implicit,p=s(4);return C(p.insertEmoji(o))}),c(1),l()}if(i&2){let e=t.$implicit;a(),g(" ",e," ")}}function _i(i,t){if(i&1&&(r(0,"div",181)(1,"div",194),y(2,mi,2,3,"button",195,V),l(),r(4,"div",196),y(5,pi,2,1,"button",197,V),l()()),i&2){let e=s(3);a(2),S(e.emojiCategories),a(3),S(e.emojiCategories[e.emojiCategory].emojis)}}function gi(i,t){if(i&1&&(r(0,"p",182),_(1,"i",200),r(2,"span"),c(3),l()()),i&2){let e=s(3);ee("data-ok",e.accuse.ok?"oui":"non"),a(),ve("pi ",e.accuse.icone,""),a(2),b(e.accuse.texte)}}function vi(i,t){i&1&&(r(0,"p",204),c(1),d(2,"translate"),l()),i&2&&(a(),g(" ",m(2,1,"APP.LIVE.CMD_NONE")," "))}function fi(i,t){if(i&1){let e=M();r(0,"button",206),u("click",function(){let o=f(e).$implicit,p=s(4);return C(p.choisirCommande(o))}),r(1,"span",207),c(2),l(),r(3,"span",208),c(4),l(),r(5,"span",209),_(6,"i",26),c(7),l()()}if(i&2){let e=t.$implicit,n=s(4);a(2),g("/",e.nom,""),a(2),b(e.description),a(),E("is-paid",e.prixCoins>0),a(),E("pi-bolt",e.prixCoins>0)("pi-check",!e.prixCoins),a(),g(" ",n.prixEnToutesLettres(e)," ")}}function Ci(i,t){if(i&1){let e=M();r(0,"div",183)(1,"div",201),_(2,"i",69),r(3,"strong"),c(4),d(5,"translate"),l(),r(6,"span",202),c(7),d(8,"translate"),l(),r(9,"button",203),u("click",function(){f(e);let o=s(3);return C(o.fermerCommandes())}),_(10,"i",137),l()(),x(11,vi,3,3,"p",204),y(12,fi,8,9,"button",205,mt),l()}if(i&2){let e=s(3);a(4),b(m(5,3,"APP.LIVE.CMD_TITLE")),a(3),b(m(8,5,"APP.LIVE.CMD_PRIVATE")),a(4),v(e.commandesFiltrees.length?-1:11),a(),S(e.commandesFiltrees)}}function ui(i,t){if(i&1){let e=M();r(0,"button",210),d(1,"translate"),u("click",function(){f(e);let o=s(3);return C(o.basculerCommandes())}),c(2," / "),l()}if(i&2){let e=s(3);E("chat-composer__emoji-btn--active",e.commandesOuvertes),h("pTooltip",m(1,3,"APP.LIVE.CMD_TITLE"))}}function xi(i,t){i&1&&_(0,"i",190)}function hi(i,t){i&1&&_(0,"i",191)}function Mi(i,t){i&1&&(r(0,"div",192),_(1,"i",46),c(2),d(3,"translate"),l()),i&2&&(a(2),g(" ",m(3,1,"MANAGER.LIVE_COMMENTS.CHAT_DISABLED_HINT")," "))}function bi(i,t){if(i&1){let e=M();r(0,"div",101),x(1,di,6,1,"div",180)(2,_i,7,0,"div",181)(3,gi,4,5,"p",182)(4,Ci,14,7,"div",183),r(5,"div",184),x(6,ui,3,5,"button",185),r(7,"button",186),d(8,"translate"),u("click",function(){f(e);let o=s(2);return C(o.toggleEmojiPicker())}),_(9,"i",187),l(),r(10,"input",188,1),d(12,"translate"),N("ngModelChange",function(o){f(e);let p=s(2);return R(p.chatDraft,o)||(p.chatDraft=o),C(o)}),u("ngModelChange",function(){f(e);let o=s(2);return C(o.onChatDraftChange())})("keydown",function(o){f(e);let p=s(2);return C(p.onChatKeydown(o))}),l(),r(13,"button",189),u("click",function(){f(e);let o=s(2);return C(o.sendChatMessage())}),x(14,xi,1,0,"i",190)(15,hi,1,0,"i",191),l()(),x(16,Mi,4,3,"div",192),l()}if(i&2){let e=s(2);a(),v(e.chatError?1:-1),a(),v(e.showEmojiPicker?2:-1),a(),v(e.accuse?3:-1),a(),v(e.commandesOuvertes?4:-1),a(2),v(e.commandes.length?6:-1),a(),E("chat-composer__emoji-btn--active",e.showEmojiPicker),h("pTooltip",m(8,14,"MANAGER.LIVE_COMMENTS.CHAT_EMOJI")),a(3),A("ngModel",e.chatDraft),h("disabled",e.chatSending)("placeholder",m(12,16,"MANAGER.LIVE_COMMENTS.CHAT_PLACEHOLDER")),a(3),h("disabled",!e.chatDraft.trim()||e.chatSending),a(),v(e.chatSending?14:15),a(2),v(e.activeLiveRoom.commentsEnabled===!1?16:-1)}}function wi(i,t){if(i&1){let e=M();_(0,"i",131),r(1,"span"),c(2),d(3,"translate"),l(),r(4,"button",225),u("click",function(){f(e);let o=s(4);return C(o.retryPreview())}),c(5),d(6,"translate"),l()}i&2&&(a(2),b(m(3,2,"MANAGER.LIVE_COMMENTS.PREVIEW_FAILED")),a(3),g(" ",m(6,4,"MANAGER.LIVE_COMMENTS.PREVIEW_RETRY")," "))}function Pi(i,t){i&1&&(_(0,"i",190),r(1,"span"),c(2),d(3,"translate"),l()),i&2&&(a(2),b(m(3,1,"MANAGER.LIVE_COMMENTS.PREVIEW_CONNECTING")))}function Ei(i,t){i&1&&(_(0,"i",71),r(1,"span"),c(2),d(3,"translate"),l()),i&2&&(a(2),b(m(3,1,"MANAGER.LIVE_COMMENTS.PREVIEW_NO_SIGNAL")))}function Oi(i,t){if(i&1&&(r(0,"div",222),x(1,wi,7,6)(2,Pi,4,3)(3,Ei,4,3),l()),i&2){let e=s(3);a(),v(e.previewFailed?1:e.previewConnecting?2:3)}}function yi(i,t){i&1&&(r(0,"div",223),_(1,"i",226),c(2),d(3,"translate"),l()),i&2&&(a(2),g(" ",m(3,1,"MANAGER.LIVE_COMMENTS.PAUSED_BADGE")," "))}function Si(i,t){if(i&1){let e=M();r(0,"div",66)(1,"div",211)(2,"div",212)(3,"h4",213),_(4,"i",71),c(5),d(6,"translate"),l(),r(7,"div",214)(8,"button",215),d(9,"translate"),u("click",function(){f(e);let o=s(2);return C(o.togglePreviewAudio())}),_(10,"i",26),l(),r(11,"button",215),d(12,"translate"),u("click",function(){f(e);let o=s(2);return C(o.togglePreview())}),_(13,"i",137),l()()(),r(14,"div",216)(15,"div",217)(16,"div",218),_(17,"video",219,2)(19,"div",220,3)(21,"span",221),x(22,Oi,4,1,"div",222)(23,yi,4,3,"div",223),l()()(),r(24,"div",224),_(25,"i",46),c(26),d(27,"translate"),l()()()}if(i&2){let e=s(2);a(5),g(" ",m(6,16,"MANAGER.LIVE_COMMENTS.PREVIEW_TITLE")," "),a(3),E("preview-panel__btn--active",e.previewAudioEnabled),h("pTooltip",m(9,18,e.previewAudioEnabled?"MANAGER.LIVE_COMMENTS.PREVIEW_AUDIO_OFF":"MANAGER.LIVE_COMMENTS.PREVIEW_AUDIO_ON")),a(2),E("pi-volume-up",e.previewAudioEnabled)("pi-volume-off",!e.previewAudioEnabled),a(),h("pTooltip",m(12,20,"MANAGER.LIVE_COMMENTS.PREVIEW_HIDE")),a(6),E("preview-panel__video--contain",e.previewSourceLandscape)("preview-panel__video--mirror",e.previewMirrored),a(5),v(e.previewHasVideo?-1:22),a(),v(e.isPaused?23:-1),a(3),g(" ",m(27,22,"MANAGER.LIVE_COMMENTS.PREVIEW_HINT")," ")}}function Ti(i,t){if(i&1){let e=M();r(0,"app-live-gift-goal-badge",227),u("clicked",function(){f(e);let o=s(2);return C(o.openGoalSetup())}),l()}if(i&2){let e=s(2);h("goal",e.giftGoal)}}function ki(i,t){if(i&1){let e=M();r(0,"button",228),d(1,"translate"),u("click",function(){f(e);let o=s(2);return C(o.openGoalSetup())}),_(2,"i",229),l()}i&2&&h("pTooltip",m(1,1,"MANAGER.LIVE_COMMENTS.SET_GOAL"))}function Li(i,t){i&1&&(r(0,"p",107),c(1),d(2,"translate"),l()),i&2&&(a(),g(" ",m(2,1,"MANAGER.LIVE_COMMENTS.NO_GIFTS")," "))}function Vi(i,t){if(i&1){let e=M();r(0,"img",238),u("error",function(){f(e);let o=s(),p=s(3);return C(p.onMediaError(o))}),l()}if(i&2){let e=s(),n=s().$implicit;h("src",e,L)("alt",n.giftName)}}function Ii(i,t){i&1&&(r(0,"div",230),_(1,"i",68),l())}function Ai(i,t){if(i&1&&x(0,Vi,1,2,"img",237)(1,Ii,2,0,"div",230),i&2){let e=s(3);v(e.isMediaBroken(t)?1:0)}}function Ri(i,t){i&1&&(r(0,"div",230),_(1,"i",68),l())}function Ni(i,t){if(i&1){let e=M();r(0,"img",240),u("error",function(){f(e);let o=s(),p=s(3);return C(p.onMediaError(o))}),l()}if(i&2){let e=s();h("src",e,L)}}function Gi(i,t){if(i&1&&(r(0,"span",233),c(1),l()),i&2){let e=s(2).$implicit;a(),b(((e.sender==null?null:e.sender.name)||"?").charAt(0).toUpperCase())}}function Bi(i,t){if(i&1&&x(0,Ni,1,1,"img",239)(1,Gi,2,1,"span",233),i&2){let e=s(3);v(e.isMediaBroken(t)?1:0)}}function Di(i,t){if(i&1&&(r(0,"span",233),c(1),l()),i&2){let e=s().$implicit;a(),b(((e.sender==null?null:e.sender.name)||"?").charAt(0).toUpperCase())}}function zi(i,t){if(i&1&&(r(0,"span",235),c(1),l()),i&2){let e=s().$implicit;a(),g("\xD7",e.quantity,"")}}function Fi(i,t){if(i&1&&(r(0,"div",108),x(1,Ai,2,1)(2,Ri,2,0,"div",230),r(3,"div",231)(4,"span",232),x(5,Bi,2,1)(6,Di,2,1,"span",233),c(7),l(),r(8,"span",234),c(9),x(10,zi,2,1,"span",235),l()(),r(11,"span",236),_(12,"i",85),c(13),l()()),i&2){let e,n,o=t.$implicit,p=s(2);a(),v((e=p.mediaUrl(o.giftThumbnail))?1:2,e),a(4),v((n=p.mediaUrl(o.sender==null?null:o.sender.avatarUrl))?5:6,n),a(2),g(" ",(o.sender==null?null:o.sender.name)||"?"," "),a(2),g("",o.giftName," "),a(),v(o.quantity>1?10:-1),a(3),g(" ",o.coins," ")}}function Ui(i,t){if(i&1&&(_(0,"i",248),r(1,"strong"),c(2),l()),i&2){let e=s(3);a(2),b(e.activeBundleName)}}function Wi(i,t){i&1&&(r(0,"span",243),c(1),d(2,"translate"),l()),i&2&&(a(),b(m(2,1,"EVENT_KEY.INTERACTIVE.NONE")))}function ji(i,t){if(i&1){let e=M();r(0,"button",249),u("click",function(){f(e);let o=s(3);return C(o.detachBundle())}),c(1),d(2,"translate"),l()}i&2&&(a(),g(" ",m(2,1,"EVENT_KEY.INTERACTIVE.DETACH")," "))}function Hi(i,t){if(i&1){let e=M();r(0,"div",110)(1,"div",241)(2,"span",242),x(3,Ui,3,1)(4,Wi,3,3,"span",243),l(),r(5,"span",244)(6,"button",245),u("click",function(){f(e);let o=s(2);return C(o.openBundlePicker())}),_(7,"i",246),c(8),d(9,"translate"),l(),x(10,ji,3,3,"button",247),l()()()}if(i&2){let e=s(2);a(3),v(e.activeBundleName?3:4),a(5),g(" ",m(9,3,"EVENT_KEY.INTERACTIVE.CHOOSE")," "),a(2),v(e.activeBundleName?10:-1)}}function $i(i,t){i&1&&(r(0,"p",107),c(1),d(2,"translate"),l()),i&2&&(a(),g(" ",m(2,1,"MANAGER.LIVE_COMMENTS.NO_EVENTS")," "))}function qi(i,t){if(i&1&&(r(0,"div",111),_(1,"i",250),r(2,"span",251),c(3),l(),r(4,"span",252),c(5),d(6,"translate"),l()()),i&2){let e=t.$implicit,n=s(2);a(),ge(n.getEventIcon(e.kind)),a(2),b(e.displayName),a(2),g(" ",m(6,4,"MANAGER.LIVE_COMMENTS.EVENT_"+e.kind.toUpperCase())," ")}}function Ki(i,t){i&1&&(r(0,"p",107),c(1),d(2,"translate"),l()),i&2&&(a(),g(" ",m(2,1,"MANAGER.LIVE_COMMENTS.NO_DONORS")," "))}function Qi(i,t){i&1&&_(0,"i",255)}function Yi(i,t){if(i&1&&c(0),i&2){let e=s().$implicit;g(" ",e.rank," ")}}function Xi(i,t){if(i&1){let e=M();r(0,"img",263),u("error",function(){f(e);let o=s(),p=s(3);return C(p.onMediaError(o))}),l()}if(i&2){let e=s(),n=s().$implicit;h("src",e,L)("alt",n.displayName)}}function Zi(i,t){if(i&1&&(r(0,"div",257),c(1),l()),i&2){let e=s(2).$implicit;a(),g(" ",e.displayName.charAt(0).toUpperCase()," ")}}function Ji(i,t){if(i&1&&x(0,Xi,1,2,"img",262)(1,Zi,2,1,"div",257),i&2){let e=s(3);v(e.isMediaBroken(t)?1:0)}}function en(i,t){if(i&1&&(r(0,"div",257),c(1),l()),i&2){let e=s().$implicit;a(),g(" ",e.displayName.charAt(0).toUpperCase()," ")}}function tn(i,t){if(i&1&&(r(0,"div",253)(1,"span",254),x(2,Qi,1,0,"i",255)(3,Yi,1,1),l(),r(4,"div",256),x(5,Ji,2,1)(6,en,2,1,"div",257),l(),r(7,"div",258)(8,"span",259),c(9),l(),r(10,"span",260),c(11),d(12,"translate"),l()(),r(13,"span",261),_(14,"i",85),c(15),l()()),i&2){let e,n=t.$implicit,o=s(2);E("donor-item--top1",n.rank===1)("donor-item--top2",n.rank===2)("donor-item--top3",n.rank===3),a(2),v(n.rank<=3?2:3),a(3),v((e=o.mediaUrl(n.avatarUrl))?5:6,e),a(4),b(n.displayName),a(2),I(" ",n.giftCount," ",m(12,12,"MANAGER.LIVE_COMMENTS.GIFT
1S")," "),a(4),g(" ",n.totalCoins," ")}}function nn(i,t){if(i&1){let e=M();r(0,"div",72)(1,"div",73)(2,"button",74),d(3,"translate"),u("click",function(){f(e);let o=s();return C(o.openViewerList())}),r(4,"div",75),_(5,"i",76),l(),r(6,"div",77)(7,"div",78),c(8),l(),r(9,"div",79),c(10),d(11,"translate"),l()()(),r(12,"div",80)(13,"div",75),_(14,"i",81),l(),r(15,"div",77)(16,"div",78),c(17),l(),r(18,"div",79),c(19),d(20,"translate"),l()()(),r(21,"div",82)(22,"div",75),_(23,"i",83),l(),r(24,"div",77)(25,"div",78),c(26),l(),r(27,"div",79),c(28),d(29,"translate"),l()()(),r(30,"button",84),d(31,"translate"),u("click",function(){f(e);let o=s();return C(o.openStarsList())}),r(32,"div",75),_(33,"i",85),l(),r(34,"div",77)(35,"div",78),c(36),l(),r(37,"div",79),c(38),d(39,"translate"),l()()(),r(40,"div",86)(41,"div",75),_(42,"i",13),l(),r(43,"div",77)(44,"div",78),c(45),l(),r(46,"div",79),c(47),d(48,"translate"),l()()(),r(49,"button",87),d(50,"translate"),u("click",function(){f(e);let o=s();return C(o.openSanctions())}),r(51,"div",75),_(52,"i",88),l(),r(53,"div",77)(54,"div",78),c(55),l(),r(56,"div",79),c(57),d(58,"translate"),l()()(),r(59,"button",89),d(60,"translate"),u("click",function(){f(e);let o=s();return C(o.openSettings("moderators"))}),r(61,"div",75),_(62,"i",90),l(),r(63,"div",77)(64,"div",78),c(65),l(),r(66,"div",79),c(67),d(68,"translate"),l()()()(),r(69,"div",61)(70,"div",62)(71,"div",91)(72,"button",92),u("click",function(){f(e);let o=s();return C(o.basculerFiltrePrioritaires())}),_(73,"i",93),c(74),d(75,"translate"),r(76,"span",94),c(77),l()(),x(78,Pt,5,6,"button",95),l(),x(79,Tt,18,13,"div",96)(80,Ft,22,12,"div",97),r(81,"div",98,0),u("scroll",function(){f(e);let o=s();return C(o.onFeedScroll())}),x(83,Ut,5,3,"div",99),y(84,si,2,1,null,null,G),l(),x(86,ci,5,6,"button",100)(87,bi,17,18,"div",101),l(),x(88,Si,28,24,"div",66),r(89,"div",67)(90,"div",102)(91,"div",103)(92,"h4",104),_(93,"i",68),c(94),d(95,"translate"),l(),x(96,Ti,1,1,"app-live-gift-goal-badge",105)(97,ki,3,3,"button",106),l(),x(98,Li,3,3,"p",107),y(99,Fi,14,6,"div",108,G),l(),r(101,"div",109)(102,"h4",104),_(103,"i",69),c(104),d(105,"translate"),l(),x(106,Hi,11,5,"div",110)(107,$i,3,3,"p",107),y(108,qi,7,6,"div",111,V),l(),r(110,"div",112)(111,"h4",104),_(112,"i",70),c(113),d(114,"translate"),l(),x(115,Ki,3,3,"p",107),y(116,tn,16,14,"div",113,ae),l()()()()}if(i&2){let e=s();D("zoom",e.zoomLevel/100),a(2),h("pTooltip",m(3,44,"MANAGER.LIVE_COMMENTS.VIEWER_LIST_TITLE")),a(6),b(e.viewerCount),a(2),g(" ",m(11,46,"MANAGER.LIVE_COMMENTS.VIEWERS")," "),a(7),b(e.peakViewerCount),a(2),g(" ",m(20,48,"MANAGER.LIVE_COMMENTS.PEAK")," "),a(7),b(e.totalHearts),a(2),g(" ",m(29,50,"MANAGER.LIVE_COMMENTS.LIKES")," "),a(2),h("pTooltip",m(31,52,"MANAGER.LIVE_COMMENTS.STARS_LIST_TITLE")),a(6),b(e.totalGiftCoins),a(2),g(" ",m(39,54,"MANAGER.LIVE_COMMENTS.STARS")," "),a(7),b(e.comments.length),a(2),g(" ",m(48,56,"MANAGER.LIVE_COMMENTS.COMMENTS_COUNT")," "),a(2),h("pTooltip",m(50,58,"MANAGER.LIVE_COMMENTS.MODERATED")),a(6),b(e.bans.length),a(2),g(" ",m(58,60,"MANAGER.LIVE_COMMENTS.MODERATED")," "),a(2),h("pTooltip",m(60,62,"MANAGER.LIVE_COMMENTS.MODERATORS_TITLE")),a(6),I(" ",e.onlineModCount,"/",e.moderators.length," "),a(2),g(" ",m(68,64,"MANAGER.LIVE_COMMENTS.MODERATORS")," "),a(2),E("live-columns--with-preview",e.activeLiveRoom&&e.previewEnabled),a(3),E("comments-toolbar__filter--on",e.filtrePrioritaires),ee("aria-pressed",e.filtrePrioritaires),a(),h("ngClass",e.filtrePrioritaires?"pi-filter-fill":"pi-filter"),a(),g(" ",m(75,66,"MANAGER.LIVE_COMMENTS.FILTER_PRIORITY")," "),a(3),b(e.nbPrioritaires),a(),v(e.activePoll?-1:78),a(),v(e.activePoll?79:-1),a(),v(e.pinnedComment?80:-1),a(3),v(e.commentairesAffiches.length===0?83:-1),a(),S(e.commentairesAffiches),a(2),v(!e.autoScroll&&e.newCommentsCount>0?86:-1),a(),v(e.activeLiveRoom?87:-1),a(),v(e.activeLiveRoom&&e.previewEnabled?88:-1),a(6),g(" ",m(95,68,"MANAGER.LIVE_COMMENTS.GIFTS")," "),a(2),v(e.giftGoal&&e.giftGoal.items.length?96:97),a(2),v(e.receivedGiftEvents.length===0?98:-1),a(),S(e.receivedGiftEvents),a(5),g(" ",m(105,70,"MANAGER.LIVE_COMMENTS.EVENTS")," "),a(2),v(e.connectorActive?106:-1),a(),v(e.liveEvents.length===0?107:-1),a(),S(e.liveEvents),a(5),g(" ",m(114,72,"MANAGER.LIVE_COMMENTS.TOP_DONORS")," "),a(2),v(e.topDonors.length===0?115:-1),a(),S(e.topDonors)}}function on(i,t){if(i&1&&_(0,"i",265),i&2){let e=t.$implicit;D("right",e.left,"px")("font-size",e.size,"px")("color",e.color)("--heart-drift",e.drift+"px")("--heart-rise",e.rise+"px")("animation-duration",e.dur,"ms")}}function an(i,t){if(i&1&&(r(0,"div",35),y(1,on,1,12,"i",264,G),l()),i&2){let e=s();a(),S(e.heartBursts)}}function rn(i,t){if(i&1){let e=M();r(0,"img",273),u("error",function(){f(e);let o=s(),p=s(2);return C(p.onMediaError(o))}),l()}if(i&2){let e=s(),n=s(2);h("src",e,L)("alt",n.currentGift.gift.name)}
1}function ln(i,t){i&1&&(r(0,"div",272),_(1,"i",68),l())}function sn(i,t){if(i&1&&x(0,rn,1,2,"img",271)(1,ln,2,0,"div",272),i&2){let e=s(2);v(e.isMediaBroken(t)?1:0)}}function cn(i,t){if(i&1){let e=M();r(0,"div",266),u("click",function(){f(e);let o=s();return C(o.showGiftOverlay=!1)}),r(1,"div",267),x(2,sn,2,1),r(3,"div",268)(4,"span",269),c(5),l(),r(6,"span",270),c(7),l()()()()}if(i&2){let e,n=s();a(2),v((e=n.mediaUrl(n.currentGift.gift.imageUrl))?2:-1,e),a(3),b(n.currentGift.senderName),a(2),I("",n.currentGift.gift.name," x",n.currentGift.quantity,"")}}function dn(i,t){i&1&&(r(0,"div",281),_(1,"i",190),l())}function mn(i,t){i&1&&(r(0,"p",282),c(1),d(2,"translate"),l()),i&2&&(a(),g(" ",m(2,1,"MANAGER.LIVE_COMMENTS.VIEWER_LIST_EMPTY")," "))}function pn(i,t){if(i&1){let e=M();r(0,"img",147),u("error",function(){f(e);let o=s(),p=s(4);return C(p.onMediaError(o))}),l()}if(i&2){let e=s(),n=s().$implicit;h("src",e,L)("alt",n.name)}}function _n(i,t){if(i&1&&(r(0,"div",286),c(1),l()),i&2){let e=s(2).$implicit;a(),g(" ",e.name.charAt(0).toUpperCase()," ")}}function gn(i,t){if(i&1&&x(0,pn,1,2,"img",146)(1,_n,2,1,"div",286),i&2){let e=s(4);v(e.isMediaBroken(t)?1:0)}}function vn(i,t){if(i&1&&(r(0,"div",286),c(1),l()),i&2){let e=s().$implicit;a(),g(" ",e.name.charAt(0).toUpperCase()," ")}}function fn(i,t){i&1&&_(0,"i",144)}function Cn(i,t){if(i&1&&(r(0,"span",289),c(1),l()),i&2){let e=s().$implicit;a(),g("@",e.slug,"")}}function un(i,t){i&1&&(r(0,"span",290),c(1),d(2,"translate"),l()),i&2&&(a(),b(m(2,1,"MANAGER.LIVE_COMMENTS.STATUS_MODERATOR")))}function xn(i,t){if(i&1){let e=M();r(0,"div",284),d(1,"translate"),u("click",function(){let o=f(e).$implicit,p=s(3);return C(p.openModerationFromParticipant(o))}),r(2,"div",285),x(3,gn,2,1)(4,vn,2,1,"div",286),l(),r(5,"div",287)(6,"span",288),c(7),x(8,fn,1,0,"i",144),l(),x(9,Cn,2,1,"span",289),l(),x(10,un,3,3,"span",290),l()}if(i&2){let e,n=t.$implicit,o=s(3);h("pTooltip",m(1,6,"MANAGER.LIVE_COMMENTS.MODERATE_HINT")),a(3),v((e=o.mediaUrl(n.avatarUrl))?3:4,e),a(4),g(" ",n.name," "),a(),v(n.isVerified?8:-1),a(),v(n.slug?9:-1),a(),v(n.status==="moderator"?10:-1)}}function hn(i,t){if(i&1&&y(0,xn,11,8,"div",283,ae),i&2){let e=s(2);S(e.viewerList)}}function Mn(i,t){if(i&1){let e=M();r(0,"div",274),u("click",function(){f(e);let o=s();return C(o.closeViewerList())}),r(1,"div",275),u("click",function(o){return f(e),C(o.stopPropagation())}),r(2,"div",276)(3,"h3",277),_(4,"i",76),c(5),d(6,"translate"),r(7,"span",278),c(8),l()(),r(9,"button",279),u("click",function(){f(e);let o=s();return C(o.closeViewerList())}),_(10,"i",137),l()(),r(11,"div",280),x(12,dn,2,0,"div",281)(13,mn,3,3,"p",282)(14,hn,2,0),l()()()}if(i&2){let e=s();a(5),g(" ",m(6,3,"MANAGER.LIVE_COMMENTS.VIEWER_LIST_TITLE")," "),a(3),b(e.viewerListTotal),a(4),v(e.viewerListLoading?12:e.viewerList.length===0?13:14)}}function bn(i,t){i&1&&(r(0,"div",281),_(1,"i",190),l())}function wn(i,t){i&1&&(r(0,"p",282),c(1),d(2,"translate"),l()),i&2&&(a(),g(" ",m(2,1,"MANAGER.LIVE_COMMENTS.NO_GIFTS")," "))}function Pn(i,t){if(i&1){let e=M();r(0,"img",147),u("error",function(){f(e);let o=s(),p=s(4);return C(p.onMediaError(o))}),l()}if(i&2){let e=s(),n=s().$implicit;h("src",e,L)("alt",n.giftName)}}function En(i,t){i&1&&_(0,"i",68)}function On(i,t){if(i&1&&x(0,Pn,1,2,"img",146)(1,En,1,0,"i",68),i&2){let e=s(4);v(e.isMediaBroken(t)?1:0)}}function yn(i,t){i&1&&_(0,"i",68)}function Sn(i,t){if(i&1){let e=M();r(0,"img",301),u("error",function(){f(e);let o=s(),p=s(4);return C(p.onMediaError(o))}),l()}if(i&2){let e=s();h("src",e,L)}}function Tn(i,t){if(i&1&&(r(0,"span",295),c(1),l()),i&2){let e=s(2).$implicit;a(),b(((e.sender==null?null:e.sender.name)||"?").charAt(0).toUpperCase())}}function kn(i,t){if(i&1&&x(0,Sn,1,1,"img",300)(1,Tn,2,1,"span",295),i&2){let e=s(4);v(e.isMediaBroken(t)?1:0)}}function Ln(i,t){if(i&1&&(r(0,"span",295),c(1),l()),i&2){let e=s().$implicit;a(),b(((e.sender==null?null:e.sender.name)||"?").charAt(0).toUpperCase())}}function Vn(i,t){if(i&1&&(r(0,"span",297),c(1),l()),i&2){let e=s().$implicit;a(),g("\xD7",e.quantity,"")}}function In(i,t){if(i&1&&(r(0,"div",291)(1,"div",292),x(2,On,2,1)(3,yn,1,0,"i",68),l(),r(4,"div",293)(5,"span",294),x(6,kn,2,1)(7,Ln,2,1,"span",295),c(8),l(),r(9,"span",296),c(10),x(11,Vn,2,1,"span",297),l()(),r(12,"div",298)(13,"span",299),_(14,"i",85),c(15),l()()()),i&2){let e,n,o=t.$implicit,p=s(3);a(2),v((e=p.mediaUrl(o.giftThumbnail))?2:3,e),a(4),v((n=p.mediaUrl(o.sender==null?null:o.sender.avatarUrl))?6:7,n),a(2),g(" ",(o.sender==null?null:o.sender.name)||"?"," "),a(2),g("",o.giftName," "),a(),v(o.quantity>1?11:-1),a(4),g(" ",o.coins," ")}}function An(i,t){if(i&1&&y(0,In,16,6,"div",291,G),i&2){let e=s(2);S(e.receivedGiftEvents)}}function Rn(i,t){if(i&1){let e=M();r(0,"div",274),u("click",function(){f(e);let o=s();return C(o.closeStarsList())}),r(1,"div",275),u("click",function(o){return f(e),C(o.stopPropagation())}),r(2,"div",276)(3,"h3",277),_(4,"i",85),c(5),d(6,"translate"),r(7,"span",278),c(8),l()(),r(9,"button",279),u("click",function(){f(e);let o=s();return C(o.closeStarsList())}),_(10,"i",137),l()(),r(11,"div",280),x(12,bn,2,0,"div",281)(13,wn,3,3,"p",282)(14,An,2,0),l()()()}if(i&2){let e=s();a(5),g(" ",m(6,3,"MANAGER.LIVE_COMMENTS.STARS_LIST_TITLE")," "),a(3),b(e.receivedGiftEvents.length),a(4),v(e.starsLoading?12:e.receivedGiftEvents.length===0?13:14)}}function Nn(i,t){if(i&1){let e=M();r(0,"img",147),u("error",function(){f(e);let o=s(),p=s(2);return C(p.onMediaError(o))}),l()}if(i&2){let e=s(),n=s(2);h("src",e,L)("alt",n.moderationTarget.displayName)}}function Gn(i,t){if(i&1&&(r(0,"div",307),c(1),l()),i&2){let e=s(3);a(),g(" ",e.moderationTarget.displayName.charAt(0).toUpperCase()," ")}}function Bn(i,t){if(i&1&&x(0,Nn,1,2,"img",146)(1,Gn,2,1,"div",307),i&2){let e=s(2);v(e.isMediaBroken(t)?1:0)}}function Dn(i,t){if(i&1&&(r(0,"div",307),c(1),l()),i&2){let e=s(2);a(),g(" ",e.moderationTarget.displayName.charAt(0).toUpperCase()," ")}}function zn(i,t){i&1&&_(0,"i",144)}function Fn(i,t){if(i&1&&(r(0,"div",309),c(1),l()),i&2){let e=s(2);a(),g(" @",e.moderationProfile==null?null:e.moderationProfile.slug," ")}}function Un(i,t){i&1&&(r(0,"div",310),_(1,"i",190),l())}function Wn(i,t){i&1&&(r(0,"span",315),c(1),d(2,"translate"),l()),i&2&&(a(),b(m(2,1,"MANAGER.LIVE_COMMENTS.REL_FRIEND")))}function jn(i,t){i&1&&(r(0,"span",316),c(1),d(2,"translate"),l()),i&2&&(a(),b(m(2,1,"MANAGER.LIVE_COMMENTS.REL_FOLLOWER")))}function Hn(i,t){i&1&&(r(0,"span",316),c(1),d(2,"translate"),l()),i&2&&(a(),b(m(2,1,"MANAGER.LIVE_COMMENTS.REL_FOLLOWING")))}function $n(i,t){if(i&1&&(r(0,"div",311)(1,"span")(2,"b"),c(3),l(),c(4),d(5,"translate"),l(),x(6,Wn,3,3,"span",315)(7,jn,3,3,"span",316)(8,Hn,3,3,"span",316),l()),i&2){let e=s(2);a(3),b(e.moderationProfile.followerCount),a(),g(" ",m(5,3,"MANAGER.LIVE_COMMENTS.FOLLOWERS"),""),a(2),v(e.moderationRelation==="friend"?6:e.moderationRelation==="follower"?7:e.moderationRelation==="following"?8:-1)}}function qn(i,t){if(i&1){let e=M();r(0,"button",319),u("click",function(){f(e);let o=s(3);return C(o.revokeModerator())}),_(1,"i",90),c(2),d(3,"translate"),l()}if(i&2){let e=s(3);h("disabled",e.moderationBusy),a(2),g(" ",m(3,2,"MANAGER.LIVE_COMMENTS.REVOKE_MOD")," ")}}function Kn(i,t){if(i&1){let e=M();r(0,"button",320),u("click",function(){f(e);let o=s(3);return C(o.promoteModerator())}),_(1,"i",90),c(2),d(3,"translate"),l()}if(i&2){let e=s(3);h("disabled",e.moderationBusy),a(2),g(" ",m(3,2,"MANAGER.LIVE_COMMENTS.PROMOTE_MOD")," ")}}function Qn(i,t){if(i&1&&x(0,qn,4,4,"button",317)(1,Kn,4,4,"button",318),i&2){let e=s(2);v(e.targetIsModerator?0:1)}}function Yn(i,t){if(i&1){let e=M();r(0,"button",321),u("click",function(){f(e);let o=s(2);return C(o.moderateUnban())}),_(1,"i",322),c(2),d(3,"translate"),l()}if(i&2){let e=s(2);h("disabled",e.moderationBusy),a(2),g(" ",m(3,2,"MANAGER.LIVE_COMMENTS.UNBLOCK")," ")}}function Xn(i,t){if(i&1){let e=M();r(0,"button",327),u("click",function(){let o=f(e).$implicit,p=s(3);return C(p.moderateMute(o))}),c(1),l()}if(i&2){let e=t.$implicit,n=s(3);h("disabled",n.moderationBusy),a(),g(" ",e," min ")}}function Zn(i,t){if(i&1){let e=M();r(0,"div",314)(1,"div",323),c(2),d(3,"translate"),l(),r(4,"div",324),y(5,Xn,2,2,"button",325,te),l(),r(7,"button",326),u("click",function(){f(e);let o=s(2);return C(o.showMuteDurations=!1)}),c(8),d(9,"translate"),l()()}if(i&2){let e=s(2);a(2),g(" ",m(3,2,"MANAGER.LIVE_COMMENTS.MUTE_FOR")," "),a(3),S(e.muteDurations),a(3),g(" ",m(9,4,"MANAGER.LIVE_COMMENTS.CANCEL")," ")}}function Jn(i,t){if(i&1){let e=M();r(0,"button",328),u("click",function(){f(e);let o=s(2);return C(o.showMuteDurations=!0)}),_(1,"i",127),c(2),d(3,"translate"),l(),r(4,"button",329),u("click",function(){f(e);let o=s(2);return C(o.moderateBan())}),_(5,"i",88),c(6),d(7,"translate"),l()}if(i&2){let e=s(2);h("disabled",e.moderationBusy),a(2),g(" ",m(3,4,"MANAGER.LIVE_COMMENTS.MUTE")," "),a(2),h("disabled",e.moderationBusy),a(2),g(" ",m(7,6,"MANAGER.LIVE_COMMENTS.BLOCK_KICK")," ")}}function eo(i,t){if(i&1){let e=M();r(0,"div",302),u("click",function(){f(e);let o=s();return C(o.closeModeration())}),r(1,"div",303),u("click",function(o){return f(e),C(o.stopPropagation())}),r(2,"button",304),u("click",function(){f(e);let o=s();return C(o.closeModeration())}
1),_(3,"i",137),l(),r(4,"div",305)(5,"div",306),x(6,Bn,2,1)(7,Dn,2,1,"div",307),l(),r(8,"div",308),c(9),x(10,zn,1,0,"i",144),l(),x(11,Fn,2,1,"div",309)(12,Un,2,0,"div",310)(13,$n,9,5,"div",311),l(),r(14,"div",312),x(15,Qn,2,1)(16,Yn,4,4,"button",313)(17,Zn,10,6,"div",314)(18,Jn,8,8),l()()()}if(i&2){let e,n=s();a(6),v((e=n.mediaUrl((n.moderationProfile==null?null:n.moderationProfile.avatarUrl)||n.moderationTarget.avatarUrl))?6:7,e),a(3),g(" ",(n.moderationProfile==null?null:n.moderationProfile.name)||n.moderationTarget.displayName," "),a(),v(n.moderationProfile!=null&&n.moderationProfile.isVerified||n.moderationTarget.isVerified?10:-1),a(),v(n.moderationProfile!=null&&n.moderationProfile.slug?11:-1),a(),v(n.moderationProfileLoading?12:n.moderationProfile?13:-1),a(3),v(n.showMuteDurations?-1:15),a(),v(n.isBanned(n.moderationTarget.workspaceId)?16:n.showMuteDurations?17:18)}}function to(i,t){i&1&&(r(0,"div",281),_(1,"i",190),l())}function io(i,t){i&1&&(r(0,"p",282),c(1),d(2,"translate"),l()),i&2&&(a(),g(" ",m(2,1,"MANAGER.LIVE_COMMENTS.SANCTIONS_EMPTY")," "))}function no(i,t){if(i&1){let e=M();r(0,"img",147),u("error",function(){f(e);let o=s(),p=s(4);return C(p.onMediaError(o))}),l()}if(i&2){let e=s(),n=s().$implicit;h("src",e,L)("alt",n.bannedWorkspace==null?null:n.bannedWorkspace.name)}}function oo(i,t){if(i&1&&(r(0,"div",286),c(1),l()),i&2){let e=s(2).$implicit;a(),g(" ",((e.bannedWorkspace==null?null:e.bannedWorkspace.name)||"?").charAt(0).toUpperCase()," ")}}function ao(i,t){if(i&1&&x(0,no,1,2,"img",146)(1,oo,2,1,"div",286),i&2){let e=s(4);v(e.isMediaBroken(t)?1:0)}}function ro(i,t){if(i&1&&(r(0,"div",286),c(1),l()),i&2){let e=s().$implicit;a(),g(" ",((e.bannedWorkspace==null?null:e.bannedWorkspace.name)||"?").charAt(0).toUpperCase()," ")}}function lo(i,t){i&1&&(c(0),d(1,"translate")),i&2&&g(" ",m(1,1,"MANAGER.LIVE_COMMENTS.BAN_SUSPENDED")," ")}function so(i,t){if(i&1&&c(0),i&2){let e=s(2).$implicit,n=s(3);g(" \xB7 ",n.banExpiryLabel(e)," ")}}function co(i,t){if(i&1&&(c(0),d(1,"translate"),x(2,so,1,1)),i&2){let e=s().$implicit,n=s(3);g(" ",m(1,2,"MANAGER.LIVE_COMMENTS.BAN_MUTED")," "),a(2),v(n.banExpiryLabel(e)?2:-1)}}function mo(i,t){if(i&1){let e=M();r(0,"div",330)(1,"div",285),x(2,ao,2,1)(3,ro,2,1,"div",286),l(),r(4,"div",287)(5,"span",288),c(6),l(),r(7,"span",289),x(8,lo,2,3)(9,co,3,4),l()(),r(10,"button",331),u("click",function(){let o=f(e).$implicit,p=s(3);return C(p.unbanFromList(o.bannedWorkspaceId))}),c(11),d(12,"translate"),l()()}if(i&2){let e,n=t.$implicit,o=s(3);a(2),v((e=o.mediaUrl(n.bannedWorkspace==null?null:n.bannedWorkspace.avatarUrl))?2:3,e),a(4),b((n.bannedWorkspace==null?null:n.bannedWorkspace.name)||"?"),a(2),v(n.type==="suspended"?8:9),a(2),h("disabled",o.moderationBusy),a(),g(" ",m(12,5,"MANAGER.LIVE_COMMENTS.UNBLOCK")," ")}}function po(i,t){if(i&1&&y(0,mo,13,7,"div",330,G),i&2){let e=s(2);S(e.bans)}}function _o(i,t){if(i&1){let e=M();r(0,"div",274),u("click",function(){f(e);let o=s();return C(o.closeSanctions())}),r(1,"div",275),u("click",function(o){return f(e),C(o.stopPropagation())}),r(2,"div",276)(3,"h3",277),_(4,"i",88),c(5),d(6,"translate"),r(7,"span",278),c(8),l()(),r(9,"button",279),u("click",function(){f(e);let o=s();return C(o.closeSanctions())}),_(10,"i",137),l()(),r(11,"div",280),x(12,to,2,0,"div",281)(13,io,3,3,"p",282)(14,po,2,0),l()()()}if(i&2){let e=s();a(5),g(" ",m(6,3,"MANAGER.LIVE_COMMENTS.SANCTIONS_TITLE")," "),a(3),b(e.bans.length),a(4),v(e.sanctionsLoading?12:e.bans.length===0?13:14)}}function go(i,t){if(i&1){let e=M();r(0,"button",348),u("click",function(){f(e);let o=s().$index,p=s(2);return C(p.removePollOption(o))}),_(1,"i",137),l()}}function vo(i,t){if(i&1){let e=M();r(0,"div",337)(1,"input",346),d(2,"translate"),N("ngModelChange",function(o){let p=f(e).$index,w=s(2);return R(w.pollDraft.options[p],o)||(w.pollDraft.options[p]=o),C(o)}),l(),x(3,go,2,0,"button",347),l()}if(i&2){let e=t.$index,n=s(2);a(),A("ngModel",n.pollDraft.options[e]),h("placeholder",m(2,3,"MANAGER.LIVE_COMMENTS.POLL_OPTION")+" "+(e+1)),a(2),v(n.pollDraft.options.length>2?3:-1)}}function fo(i,t){if(i&1){let e=M();r(0,"button",349),u("click",function(){f(e);let o=s(2);return C(o.addPollOption())}),_(1,"i",30),c(2),d(3,"translate"),l()}i&2&&(a(2),g(" ",m(3,1,"MANAGER.LIVE_COMMENTS.POLL_ADD_OPTION")," "))}function Co(i,t){i&1&&(c(0),d(1,"translate")),i&2&&g(" ",m(1,1,"MANAGER.LIVE_COMMENTS.POLL_OPEN")," ")}function uo(i,t){if(i&1&&c(0),i&2){let e=s().$implicit,n=s(2);g(" ",n.pollDurationLabel(e)," ")}}function xo(i,t){if(i&1){let e=M();r(0,"button",350),u("click",function(){let o=f(e).$implicit,p=s(2);return C(p.pollDraft.durationSeconds=o)}),x(1,Co,2,3)(2,uo,1,1),l()}if(i&2){let e=t.$implicit,n=s(2);E("poll-dur-chip--active",n.pollDraft.durationSeconds===e),a(),v(e===null?1:2)}}function ho(i,t){if(i&1){let e=M();r(0,"div",302),u("click",function(){f(e);let o=s();return C(o.closePollCreate())}),r(1,"div",332),u("click",function(o){return f(e),C(o.stopPropagation())}),r(2,"div",333)(3,"h3",334),_(4,"i",115),c(5),d(6,"translate"),l(),r(7,"button",279),u("click",function(){f(e);let o=s();return C(o.closePollCreate())}),_(8,"i",137),l()(),r(9,"div",335)(10,"input",336),d(11,"translate"),N("ngModelChange",function(o){f(e);let p=s();return R(p.pollDraft.question,o)||(p.pollDraft.question=o),C(o)}),l(),y(12,vo,4,5,"div",337,V),x(14,fo,4,3,"button",338),r(15,"div",339)(16,"div",340),c(17),d(18,"translate"),l(),r(19,"div",341),y(20,xo,3,3,"button",342,V),l()()(),r(22,"div",343)(23,"button",344),u("click",function(){f(e);let o=s();return C(o.launchPoll())}),_(24,"i",345),c(25),d(26,"translate"),l()()()()}if(i&2){let e=s();a(5),g(" ",m(6,7,"MANAGER.LIVE_COMMENTS.CREATE_POLL")," "),a(5),A("ngModel",e.pollDraft.question),h("placeholder",m(11,9,"MANAGER.LIVE_COMMENTS.POLL_QUESTION_PH")),a(2),S(e.pollDraft.options),a(2),v(e.pollDraft.options.length<4?14:-1),a(3),g(" ",m(18,11,"MANAGER.LIVE_COMMENTS.POLL_DURATION")," "),a(3),S(e.pollDurations),a(3),h("disabled",e.pollBusy||!e.canLaunchPoll),a(2),g(" ",m(26,13,"MANAGER.LIVE_COMMENTS.POLL_LAUNCH")," ")}}function Mo(i,t){i&1&&(r(0,"div",281),_(1,"i",190),l())}function bo(i,t){if(i&1){let e=M();r(0,"img",147),u("error",function(){f(e);let o=s(),p=s(4);return C(p.onMediaError(o))}),l()}if(i&2){let e=s(),n=s().$implicit;h("src",e,L)("alt",n.name)}}function wo(i,t){i&1&&_(0,"i",68)}function Po(i,t){if(i&1&&x(0,bo,1,2,"img",146)(1,wo,1,0,"i",68),i&2){let e=s(4);v(e.isMediaBroken(t)?1:0)}}function Eo(i,t){i&1&&_(0,"i",68)}function Oo(i,t){if(i&1){let e=M();r(0,"div",358)(1,"div",359),x(2,Po,2,1)(3,Eo,1,0,"i",68),l(),r(4,"span",360),c(5),l(),r(6,"span",361),_(7,"i",85),c(8),l(),r(9,"div",362)(10,"button",363),u("click",function(){let o=f(e).$implicit,p=s(3);return C(p.decGoalGift(o.id))}),_(11,"i",28),l(),r(12,"span"),c(13),l(),r(14,"button",364),u("click",function(){let o=f(e).$implicit,p=s(3);return C(p.incGoalGift(o.id))}),_(15,"i",30),l()()()}if(i&2){let e,n=t.$implicit,o=s(3);E("goal-gift--selected",o.goalQty(n.id)>0),a(2),v((e=o.mediaUrl(n.thumbnailUrl))?2:3,e),a(3),b(n.name),a(3),g("",n.coinCost," "),a(2),h("disabled",o.goalQty(n.id)===0),a(3),b(o.goalQty(n.id))}}function yo(i,t){if(i&1&&(r(0,"div",354),y(1,Oo,16,7,"div",357,G),l()),i&2){let e=s(2);a(),S(e.goalCatalog)}}function So(i,t){if(i&1){let e=M();r(0,"button",365),u("click",function(){f(e);let o=s(2);return C(o.clearGoal())}),c(1),d(2,"translate"),l()}if(i&2){let e=s(2);h("disabled",e.goalSaving),a(),g(" ",m(2,2,"MANAGER.LIVE_COMMENTS.CLEAR_GOAL")," ")}}function To(i,t){if(i&1){let e=M();r(0,"div",302),u("click",function(){f(e);let o=s();return C(o.closeGoalSetup())}),r(1,"div",351),u("click",function(o){return f(e),C(o.stopPropagation())}),r(2,"div",333)(3,"h3",334),_(4,"i",229),c(5),d(6,"translate"),l(),r(7,"button",279),u("click",function(){f(e);let o=s();return C(o.closeGoalSetup())}),_(8,"i",137),l()(),r(9,"input",352),d(10,"translate"),N("ngModelChange",function(o){f(e);let p=s();return R(p.goalLabel,o)||(p.goalLabel=o),C(o)}),l(),r(11,"div",353),x(12,Mo,2,0,"div",281)(13,yo,3,0,"div",354),l(),r(14,"div",343),x(15,So,3,4,"button",355),r(16,"button",344),u("click",function(){f(e);let o=s();return C(o.saveGoal())}),_(17,"i",356),c(18),d(19,"translate"),l()()()()}if(i&2){let e=s();a(5),g(" ",m(6,7,"MANAGER.LIVE_COMMENTS.GIFT_GOAL")," "),a(4),A("ngModel",e.goalLabel),h("placeholder",m(10,9,"MANAGER.LIVE_COMMENTS.GOAL_LABEL_PH")),a(3),v(e.goalCatalogLoading?12:13),a(3),v(e.giftGoal?15:-1),a(),h("disabled",e.goalSaving||e.goalDraftCount===0),a(2),g(" ",m(19,11,"MANAGER.LIVE_COMMENTS.SAVE_GOAL")," ")}}function ko(i,t){i&1&&_(0,"i",380)}function Lo(i,t){if(i&1){let e=M();r(0,"button",379),u("click",function(){let o=f(e).$implicit,p=s(2);return C(p.settingsTab=o.key)}),_(1,"i",93),r(2,"span"),c(3),d(4,"translate"),l(),x(5,ko,1,0,"i",380),l()}if(i&2){let e=t.$implicit,n=s(2);E("live-settings__tab--active",n.settingsTab===e.key),h("disabled",e.ownerOnly&&!n.canEditRoomSettings()||n.editingDefaults&&!e.ownerOnly),a(),h("ngClass",e.icon),a(2),b(m(4,6,e.labelKey)),a(2),v(e.ownerOnly&&!n.canEditRoomSettings()?5:-1)}}function Vo(i,t){i&1&&(r(0,"div",371),_(1,"i",46),r(2,"span"),c(3,"Aucun live en cours : ces r\xE9glages seront ceux de ton prochain direct."),l()())}function Io(i,t){if(i&1&&(r(0,"div",375),_(1,"i",131),c(2),l()),i&2){let e=s(2);a(2),g(" ",e.settingsError," ")}}function Ao(i,t){i&1&&(r(0,"div",376),_(1,"i",46),c(2),d(3,"translate"),l()),i&2&&(a(2),g(" ",m(3,1,"MANAGER.LIVE_COMMENTS.SETTINGS_NOT_OWNER")," "))}function Ro(i,t){if(i&1){let e=M();r(0,"div",381)(1,"div",382),_(2,"i",383),c(3),d(4,"translate"),l(),r(5,"input",384),d(6,"translate"),N("ngModelChange",function(o){f(e);let p=s(2);return R(p.settingsDraft.label,o)||(p.settingsDraft.label=o),C(o)}),l()(),r(7,"div",381)(8,"div",382),_(9,"i",385),c(10),d(11,"translate"),l(),r(12,"p",386),c(13),d(14,"translate"),l(),r(15,"textarea",387),d(16,"translate"),N("ngModelChange",function(o){f(e);let p=s(2);return R(p.settingsDraft.welcomeMessage,o)||(p.settingsDraft.welcomeMessage=o),C(o)}),l()()}if(i&2){let e=s(2);a(3),g(" ",m(4,9,"MANAGER.LIVE_COMMENTS.SETTINGS_LABEL")," "),a(2),h("disabled",!e.canEditRoomSettings()),A("ngModel",e.settingsDraft.label),h("placeholder",m(6,11,"MANAGER.LIVE_COMMENTS.SETTINGS_LABEL_PH")),a(5),g(" ",m(11,13,"MANAGER.LIVE_COMMENTS.SETTINGS_WELCOME")," "),a(3),g(" ",m(14,15,"MANAGER.LIVE_COMMENTS.SETTINGS_WELCOME_DESC")," "),a(2),h("disabled",!e.canEditRoomSettings()),A("ngModel",e.settingsDraft.welcomeMessage),h("placeholder",m(16,17,"MANAGER.LIVE_COMMENTS.SETTINGS_WELCOME_PH"))}}function No(i,t){if(i&1){let e=M();r(0,"button",404),u("click",function(){let o=f(e).$implicit,p=s(3);return C(p.settingsDraft.slowModeSeconds=o)}),c(1),d(2,"translate"),l()}if(i&2){let e=t.$implicit,n=s(3);E("settings-chip--active",n.settingsDraft.slowModeSeconds===e),a(),g(" ",e===0?m(2,3,"MANAGER.LIVE_COMMENTS.SETTINGS_SLOW_MODE_OFF"):e+"s"," ")}}function Go(i,t){i&1&&(r(0,"div",281),_(1,"i",190),l())}function Bo(i,t){i&1&&(r(0,"p",402),c(1),d(2,"translate"),l()),i&2&&(a(),g(" ",m(2,1,"MANAGER.LIVE_COMMENTS.SETTINGS_BLACKLIST_EMPTY")," "))}function Do(i,t){if(i&1){let e=M();r(0,"span",405),c(1),r(2,"button",364),u("click",function(){let o=f(e).$implicit,p=s(4);
1return C(p.removeChatFilter(o))}),_(3,"i",137),l()()}if(i&2){let e=t.$implicit;a(),g(" ",e.word," ")}}function zo(i,t){if(i&1&&(r(0,"div",403),y(1,Do,4,1,"span",405,G),l()),i&2){let e=s(3);a(),S(e.chatFilters)}}function Fo(i,t){if(i&1){let e=M();r(0,"div",381)(1,"div",388)(2,"div",389)(3,"span",390),c(4),d(5,"translate"),l(),r(6,"span",391),c(7),d(8,"translate"),l()(),r(9,"button",392),u("click",function(){f(e);let o=s(2);return C(o.settingsDraft.commentsEnabled=!o.settingsDraft.commentsEnabled)}),_(10,"span",393),l()()(),r(11,"div",394)(12,"div",381)(13,"div",382),_(14,"i",127),c(15),d(16,"translate"),l(),r(17,"p",386),c(18),d(19,"translate"),l(),r(20,"div",395),y(21,No,3,5,"button",396,te),l()(),r(23,"div",381)(24,"div",388)(25,"div",389)(26,"span",390),c(27),d(28,"translate"),l(),r(29,"span",391),c(30),d(31,"translate"),l()(),r(32,"button",397),u("click",function(){f(e);let o=s(2);return C(o.settingsDraft.strictCommentOrdering=!o.settingsDraft.strictCommentOrdering)}),_(33,"span",393),l()()(),r(34,"div",381)(35,"div",382),_(36,"i",398),c(37),d(38,"translate"),l(),r(39,"p",386),c(40),d(41,"translate"),l(),r(42,"div",399)(43,"input",400),d(44,"translate"),N("ngModelChange",function(o){f(e);let p=s(2);return R(p.chatFilterDraft,o)||(p.chatFilterDraft=o),C(o)}),u("keydown.enter",function(){f(e);let o=s(2);return C(o.addChatFilter())}),l(),r(45,"button",401),u("click",function(){f(e);let o=s(2);return C(o.addChatFilter())}),_(46,"i",30),l()(),x(47,Go,2,0,"div",281)(48,Bo,3,3,"p",402)(49,zo,3,0,"div",403),l()()}if(i&2){let e=s(2);a(4),g(" ",m(5,19,"MANAGER.LIVE_COMMENTS.SETTINGS_CHAT")," "),a(3),g(" ",m(8,21,"MANAGER.LIVE_COMMENTS.SETTINGS_CHAT_DESC")," "),a(2),E("settings-switch--on",e.settingsDraft.commentsEnabled),h("disabled",!e.canEditRoomSettings()),a(2),E("settings-group--disabled",!e.settingsDraft.commentsEnabled||!e.canEditRoomSettings()),a(4),g(" ",m(16,23,"MANAGER.LIVE_COMMENTS.SETTINGS_SLOW_MODE")," "),a(3),g(" ",m(19,25,"MANAGER.LIVE_COMMENTS.SETTINGS_SLOW_MODE_DESC")," "),a(3),S(e.slowModeChoices),a(6),g(" ",m(28,27,"MANAGER.LIVE_COMMENTS.SETTINGS_STRICT")," "),a(3),g(" ",m(31,29,"MANAGER.LIVE_COMMENTS.SETTINGS_STRICT_DESC")," "),a(2),E("settings-switch--on",e.settingsDraft.strictCommentOrdering),a(5),g(" ",m(38,31,"MANAGER.LIVE_COMMENTS.SETTINGS_BLACKLIST")," "),a(3),g(" ",m(41,33,"MANAGER.LIVE_COMMENTS.SETTINGS_BLACKLIST_DESC")," "),a(3),A("ngModel",e.chatFilterDraft),h("placeholder",m(44,35,"MANAGER.LIVE_COMMENTS.SETTINGS_BLACKLIST_PH")),a(2),h("disabled",!e.chatFilterDraft.trim()||e.chatFilterBusy),a(2),v(e.chatFiltersLoading?47:e.chatFilters.length===0?48:49)}}function Uo(i,t){i&1&&(r(0,"div",281),_(1,"i",190),l())}function Wo(i,t){i&1&&(r(0,"p",402),c(1),d(2,"translate"),l()),i&2&&(a(),g(" ",m(2,1,"MANAGER.LIVE_COMMENTS.MODERATORS_EMPTY")," "))}function jo(i,t){if(i&1){let e=M();r(0,"div",410),_(1,"span",411),d(2,"translate"),r(3,"span",412),c(4),l(),r(5,"button",413),u("click",function(){let o=f(e).$implicit,p=s(4);return C(p.revokeModeratorFromList(o.mod.moderatorWorkspaceId))}),c(6),d(7,"translate"),l()()}if(i&2){let e=t.$implicit,n=s(4);a(),E("is-online",e.online),h("pTooltip",m(2,6,e.online?"MANAGER.LIVE_COMMENTS.MOD_ONLINE":"MANAGER.LIVE_COMMENTS.MOD_OFFLINE")),a(3),g(" ",(e.mod.moderatorWorkspace==null?null:e.mod.moderatorWorkspace.name)||"\u2014"," "),a(),h("disabled",n.moderationBusy),a(),g(" ",m(7,8,"MANAGER.LIVE_COMMENTS.REVOKE_MOD_SHORT")," ")}}function Ho(i,t){if(i&1&&(r(0,"div",407),y(1,jo,8,10,"div",410,_t),l()),i&2){let e=s(3);a(),S(e.sortedModerators)}}function $o(i,t){i&1&&(r(0,"div",281),_(1,"i",190),l())}function qo(i,t){i&1&&(r(0,"p",402),c(1),d(2,"translate"),l()),i&2&&(a(),g(" ",m(2,1,"MANAGER.LIVE_COMMENTS.SETTINGS_MOD_ADD_EMPTY")," "))}function Ko(i,t){if(i&1){let e=M();r(0,"div",410)(1,"span",412),c(2),l(),r(3,"button",414),u("click",function(){let o=f(e).$implicit,p=s(4);return C(p.promoteFromList(o))}),_(4,"i",30),c(5),d(6,"translate"),l()()}if(i&2){let e=t.$implicit,n=s(4);a(2),g(" ",e.name," "),a(),h("disabled",n.moderationBusy),a(2),g(" ",m(6,3,"MANAGER.LIVE_COMMENTS.PROMOTE_MOD")," ")}}function Qo(i,t){if(i&1&&(r(0,"div",407),y(1,Ko,7,5,"div",410,ae),l()),i&2){let e=s(3);a(),S(e.promotableViewers)}}function Yo(i,t){if(i&1){let e=M();r(0,"div",381)(1,"div",382),_(2,"i",90),c(3),d(4,"translate"),r(5,"span",406),c(6),l()(),r(7,"p",386),c(8),d(9,"translate"),l(),x(10,Uo,2,0,"div",281)(11,Wo,3,3,"p",402)(12,Ho,3,0,"div",407),l(),r(13,"div",381)(14,"div",382),_(15,"i",408),c(16),d(17,"translate"),r(18,"button",409),d(19,"translate"),u("click",function(){f(e);let o=s(2);return C(o.refreshPromotable())}),_(20,"i",19),l()(),r(21,"p",386),c(22),d(23,"translate"),l(),x(24,$o,2,0,"div",281)(25,qo,3,3,"p",402)(26,Qo,3,0,"div",407),l()}if(i&2){let e=s(2);a(3),g(" ",m(4,12,"MANAGER.LIVE_COMMENTS.SETTINGS_MOD_TEAM")," "),a(3),I(" ",e.onlineModCount,"/",e.moderators.length," "),a(2),g(" ",m(9,14,"MANAGER.LIVE_COMMENTS.SETTINGS_MOD_TEAM_DESC")," "),a(2),v(e.moderatorsLoading?10:e.moderators.length===0?11:12),a(6),g(" ",m(17,16,"MANAGER.LIVE_COMMENTS.SETTINGS_MOD_ADD")," "),a(2),h("disabled",e.promotableLoading)("pTooltip",m(19,18,"MANAGER.SHOP_LIVE.REFRESH_DATA")),a(2),E("pi-spin",e.promotableLoading),a(2),g(" ",m(23,20,"MANAGER.LIVE_COMMENTS.SETTINGS_MOD_ADD_DESC")," "),a(2),v(e.promotableLoading?24:e.promotableViewers.length===0?25:26)}}function Xo(i,t){if(i&1){let e=M();r(0,"button",415),u("click",function(){f(e);let o=s(2);return C(o.openGoalFromSettings())}),_(1,"i",229),r(2,"span",416)(3,"span",417),c(4),d(5,"translate"),l(),r(6,"span",418),c(7),d(8,"translate"),l()(),_(9,"i",419),l(),r(10,"button",415),u("click",function(){f(e);let o=s(2);return C(o.openPollFromSettings())}),_(11,"i",115),r(12,"span",416)(13,"span",417),c(14),d(15,"translate"),l(),r(16,"span",418),c(17),d(18,"translate"),l()(),_(19,"i",419),l()}i&2&&(a(4),b(m(5,4,"MANAGER.LIVE_COMMENTS.GIFT_GOAL")),a(3),b(m(8,6,"MANAGER.LIVE_COMMENTS.SETTINGS_GOAL_DESC")),a(7),b(m(15,8,"MANAGER.LIVE_COMMENTS.POLL")),a(3),b(m(18,10,"MANAGER.LIVE_COMMENTS.SETTINGS_POLL_DESC")))}function Zo(i,t){if(i&1&&(r(0,"div",377)(1,"div",382),_(2,"i",420),c(3),d(4,"translate"),l(),r(5,"p",386),c(6),d(7,"translate"),l(),r(8,"div",421)(9,"span",422),c(10),d(11,"translate"),l(),r(12,"span",423),c(13),l()(),r(14,"div",421)(15,"span",422),c(16),d(17,"translate"),l(),r(18,"span",423),c(19),d(20,"translate"),l()()()),i&2){let e=s(2);a(3),g(" ",m(4,6,"MANAGER.LIVE_COMMENTS.SETTINGS_AUDIENCE")," "),a(3),g(" ",m(7,8,"MANAGER.LIVE_COMMENTS.SETTINGS_AUDIENCE_LOCKED")," "),a(4),g(" ",m(11,10,"MANAGER.LIVE_COMMENTS.SETTINGS_VISIBILITY")," "),a(3),g(" ",e.visibilityLabel," "),a(3),g(" ",m(17,12,"MANAGER.LIVE_COMMENTS.SETTINGS_MIN_AGE")," "),a(3),g(" ",((e.activeLiveRoom==null?null:e.activeLiveRoom.minAge)||0)===0?m(20,14,"MANAGER.LIVE_COMMENTS.SETTINGS_MIN_AGE_NONE"):(e.activeLiveRoom==null?null:e.activeLiveRoom.minAge)+"+"," ")}}function Jo(i,t){i&1&&_(0,"i",190)}function ea(i,t){if(i&1){let e=M();r(0,"div",378)(1,"button",424),u("click",function(){f(e);let o=s(2);return C(o.closeSettings())}),c(2),d(3,"translate"),l(),r(4,"button",425),u("click",function(){f(e);let o=s(2);return C(o.saveSettings())}),x(5,Jo,1,0,"i",190),c(6),d(7,"translate"),l()()}if(i&2){let e=s(2);a(2),g(" ",m(3,4,"MANAGER.LIVE_COMMENTS.CANCEL")," "),a(2),h("disabled",e.settingsSaving||e.settingsLoading||!e.canEditRoomSettings()),a(),v(e.settingsSaving?5:-1),a(),g(" ",m(7,6,"MANAGER.LIVE_COMMENTS.SETTINGS_SAVE")," ")}}function ta(i,t){if(i&1){let e=M();r(0,"div",302),u("click",function(){f(e);let o=s();return C(o.closeSettings())}),r(1,"div",366),u("click",function(o){return f(e),C(o.stopPropagation())}),r(2,"nav",367)(3,"div",368),_(4,"i",24),r(5,"span"),c(6),d(7,"translate"),l()(),y(8,Lo,6,8,"button",369,pt),l(),r(10,"div",370),x(11,Vo,4,0,"div",371),r(12,"div",372)(13,"h3",373),c(14),d(15,"translate"),l(),r(16,"button",279),u("click",function(){f(e);let o=s();return C(o.closeSettings())}),_(17,"i",137),l()(),r(18,"div",374),x(19,Io,3,1,"div",375)(20,Ao,4,3,"div",376)(21,Ro,17,19)(22,Fo,50,37)(23,Yo,27,22)(24,Xo,20,12)(25,Zo,21,16,"div",377),l(),x(26,ea,8,8,"div",378),l()()()}if(i&2){let e=s();a(6),b(m(7,11,"MANAGER.LIVE_COMMENTS.SETTINGS_TITLE")),a(2),S(e.settingsTabs),a(3),v(e.editingDefaults?11:-1),a(3),g(" ",m(15,13,"MANAGER.LIVE_COMMENTS.SETTINGS_TAB_"+e.settingsTab.toUpperCase())," "),a(5),v(e.settingsError?19:-1),a(),v(e.canEditRoomSettings()?-1:20),a(),v(e.settingsTab==="general"?21:-1),a(),v(e.settingsTab==="chat"?22:-1),a(),v(e.settingsTab==="moderators"?23:-1),a(),v(e.settingsTab==="engagement"?24:-1),a(),v(e.settingsTab==="audience"?25:-1),a(),v(e.settingsTab==="general"||e.settingsTab==="chat"||e.settingsTab==="audience"?26:-1)}}function ia(i,t){if(i&1){let e=M();r(0,"div",426),u("click",function(){f(e);let o=s();return C(o.dismissLiveEnded())}),r(1,"div",427),u("click",function(o){return f(e),C(o.stopPropagation())}),r(2,"div",428),_(3,"i",429),l(),r(4,"h2",430),c(5),d(6,"translate"),l(),r(7,"p",431),c(8),d(9,"translate"),l(),r(10,"div",432)(11,"div",433)(12,"span",434),c(13),l(),r(14,"span",435),c(15),d(16,"translate"),l()(),r(17,"div",433)(18,"span",434),c(19),l(),r(20,"span",435),c(21),d(22,"translate"),l()(),r(23,"div",433)(24,"span",434),c(25),l(),r(26,"span",435),c(27),d(28,"translate"),l()()(),r(29,"button",436),u("click",function(){f(e);let o=s();return C(o.dismissLiveEnded())}),c(30),d(31,"translate"),l()()()}if(i&2){let e=s();a(5),g(" ",m(6,9,"MANAGER.LIVE_COMMENTS.LIVE_ENDED")," "),a(3),g(" ",m(9,11,"MANAGER.LIVE_COMMENTS.LIVE_ENDED_SUB")," "),a(5),b(e.peakViewerCount),a(2),b(m(16,13,"MANAGER.LIVE_COMMENTS.PEAK")),a(4),b(e.comments.length),a(2),b(m(22,15,"MANAGER.LIVE_COMMENTS.COMMENTS_COUNT")),a(4),b(e.totalGiftCoins),a(2),b(m(28,17,"MANAGER.LIVE_COMMENTS.STARS")),a(3),g(" ",m(31,19,"MANAGER.LIVE_COMMENTS.DISMISS")," ")}}function na(i,t){i&1&&(r(0,"div",40),_(1,"i",131),c(2),d(3,"translate"),l()),i&2&&(a(2),g(" ",m(3,1,"MANAGER.SHOP_LIVE.CONNECTION_LOST")," "))}var Ze=class i{liveService=k(Ue);socketService=k(De);workspaceService=k(Se);storage=k(ye);route=k(xe);loginService=k(Te);platformId=k(me);dialogService=k(ie);bundleService=k(ze);translate=k(we);userService=k(Oe);liveApi=k(je);zone=k(de);overrideWorkspaceId=null;get targetWorkspaceId(){return this.overrideWorkspaceId||this.workspaceService.activeWorkspaceId}leaveLiveRoom=null;leaveLiveAuction=null;activeLiveRoom=null;activeBundleId=null;bundles=[];connectorActive=!1;bundleRef;currentWorkspace=null;loading=!0;darkMode=!0;soundEnabled=!0;isFullscreen=!1;connectionState="connected";liveElapsed="";zoomLevel=100;showRefreshMenu=!1;comments=[];gifts=[];liveEvents=[];viewerCount=0;peakViewerCount=0;totalLikes=0;totalHearts=0;
1totalGiftCoins=0;heartBursts=[];heartId=0;heartQueue=0;heartDripTimer=null;static HEART_EMIT_INTERVAL_MS=110;static MAX_CONCURRENT_HEARTS=18;static MAX_HEART_QUEUE=40;lastHeartsTotal=0;heartColors=["#FF0040","#FF69B4","#EC4899","#F43F5E","#EF4444","#FF1493"];giftGoal=null;topDonors=[];giftGoalProgress=0;donorsRefreshInterval=null;showGoalSetup=!1;goalCatalog=[];goalCatalogLoading=!1;goalDraft=new Map;goalLabel="";goalSaving=!1;static GOAL_MAX_GIFTS=20;showGiftOverlay=!1;currentGift=null;giftOverlayTimeout=null;giftAnimation=null;giftAnimKey=0;brokenMedia=new Set;pauseBusy=!1;showViewerList=!1;viewerList=[];viewerListLoading=!1;viewerListTotal=0;showStarsList=!1;starsLoading=!1;receivedGiftEvents=[];giftEventKey=0;bans=[];bannedIds=new Set;showModerationModal=!1;moderationTarget=null;moderationProfile=null;moderationProfileLoading=!1;moderationBusy=!1;showMuteDurations=!1;muteDurations=[1,5,10,30,60];showSanctions=!1;sanctionsLoading=!1;moderators=[];moderatorWsIds=new Set;onlineModIds=new Set;moderatorsLoading=!1;activePoll=null;pollError="";showPollCreate=!1;pollBusy=!1;pollDraft={question:"",options:["",""],durationSeconds:60};pollDurations=[30,60,180,300,null];unsubPollStarted=null;unsubPollTally=null;unsubPollClosed=null;pinnedComment=null;pendingPinnedCommentId=null;pinnedByModerator=!1;pinAudio=null;lastPinRingAt=0;showLiveEndedModal=!1;liveEndedRoom=null;previewEnabled=!0;previewAudioEnabled=!1;previewConnecting=!1;previewConnected=!1;previewFailed=!1;previewHasVideo=!1;previewSourceLandscape=!1;previewMirrored=!1;previewRoom=null;previewRoomId=null;previewVideoTrack=null;previewAudioTrack=null;previewNeedsAttach=!1;previewConnectSeq=0;previewRetryTimer=null;previewRetryAttempt=0;static PREVIEW_RETRY_BASE_MS=2e3;static PREVIEW_RETRY_MAX_MS=2e4;static PREVIEW_RETRY_MAX_ATTEMPTS=12;lastResyncAt=0;static RESYNC_MIN_INTERVAL_MS=5e3;previewVideo;previewAudioSink;chatDraft="";commandes=[];commandesOuvertes=!1;commandesFiltrees=[];indexCommande=0;accuse=null;minuterieAccuse=null;static DUREE_ACCUSE_MS=4e3;unsubCommandes=null;chatSending=!1;chatError="";showEmojiPicker=!1;emojiCategory=0;emojiCategories=[{icon:"pi-face-smile",emojis:["\u{1F600}","\u{1F603}","\u{1F604}","\u{1F601}","\u{1F606}","\u{1F605}","\u{1F923}","\u{1F602}","\u{1F642}","\u{1F643}","\u{1F609}","\u{1F60A}","\u{1F607}","\u{1F970}","\u{1F60D}","\u{1F929}","\u{1F618}","\u{1F617}","\u{1F61A}","\u{1F60B}","\u{1F61B}","\u{1F92A}","\u{1F917}","\u{1F92D}","\u{1F914}","\u{1F928}","\u{1F610}","\u{1F60F}","\u{1F60C}","\u{1F634}","\u{1F924}","\u{1F637}","\u{1F912}","\u{1F973}","\u{1F97A}","\u{1F622}","\u{1F62D}","\u{1F624}","\u{1F621}","\u{1F92F}","\u{1F633}","\u{1F976}","\u{1F631}","\u{1F917}","\u{1F92B}","\u{1FAE1}","\u{1F91D}","\u{1F64F}","\u{1F440}","\u{1FAF6}"]},{icon:"pi-thumbs-up",emojis:["\u{1F44D}","\u{1F44E}","\u{1F44F}","\u{1F64C}","\u{1F44B}","\u{1F919}","\u270C\uFE0F","\u{1F91E}","\u{1F91F}","\u{1F918}","\u{1F44C}","\u{1F90C}","\u{1F4AA}","\u{1FAF5}","\u261D\uFE0F","\u{1F447}","\u{1F449}","\u{1F448}","\u270B","\u{1F590}\uFE0F","\u2764\uFE0F","\u{1F9E1}","\u{1F49B}","\u{1F49A}","\u{1F499}","\u{1F49C}","\u{1F5A4}","\u{1F90D}","\u{1F496}","\u{1F498}","\u{1F4AF}","\u{1F525}","\u2728","\u2B50","\u{1F31F}","\u{1F4AB}","\u26A1","\u{1F4A5}","\u{1F389}","\u{1F38A}"]},{icon:"pi-shopping-bag",emojis:["\u{1F6CD}\uFE0F","\u{1F6D2}","\u{1F4B3}","\u{1F4B0}","\u{1F4B8}","\u{1F3F7}\uFE0F","\u{1F381}","\u{1F4E6}","\u{1F69A}","\u2705","\u274C","\u23F0","\u231B","\u{1F514}","\u{1F4E3}","\u{1F4E2}","\u{1F195}","\u{1F525}","\u{1F48E}","\u{1F451}","\u{1F457}","\u{1F455}","\u{1F460}","\u{1F45C}","\u{1F484}","\u{1F48D}","\u231A","\u{1F9F4}","\u{1F9F8}","\u{1F4F1}"]},{icon:"pi-star",emojis:["\u{1F3B5}","\u{1F3B6}","\u{1F3A4}","\u{1F3A7}","\u{1F3AC}","\u{1F4F7}","\u{1F3AE}","\u{1F3C6}","\u{1F947}","\u{1F3AF}","\u{1F355}","\u{1F354}","\u{1F35F}","\u{1F37F}","\u2615","\u{1F37A}","\u{1F942}","\u{1F37E}","\u{1F382}","\u{1F370}","\u{1F436}","\u{1F431}","\u{1F984}","\u{1F339}","\u{1F338}","\u{1F308}","\u2600\uFE0F","\u{1F319}","\u2744\uFE0F","\u{1F340}"]}];chatInput;showSettings=!1;settingsLoading=!1;settingsSaving=!1;settingsError="";settingsTab="general";settingsTabs=[{key:"general",icon:"pi-sliders-h",labelKey:"MANAGER.LIVE_COMMENTS.SETTINGS_TAB_GENERAL",ownerOnly:!0},{key:"chat",icon:"pi-comments",labelKey:"MANAGER.LIVE_COMMENTS.SETTINGS_TAB_CHAT",ownerOnly:!0},{key:"moderators",icon:"pi-shield",labelKey:"MANAGER.LIVE_COMMENTS.SETTINGS_TAB_MODERATORS",ownerOnly:!1},{key:"engagement",icon:"pi-flag-fill",labelKey:"MANAGER.LIVE_COMMENTS.SETTINGS_TAB_ENGAGEMENT",ownerOnly:!1},{key:"audience",icon:"pi-users",labelKey:"MANAGER.LIVE_COMMENTS.SETTINGS_TAB_AUDIENCE",ownerOnly:!0}];promotableViewers=[];promotableLoading=!1;isRoomOwner=!1;currentUserId=null;settingsDraft={label:"",welcomeMessage:"",commentsEnabled:!0,slowModeSeconds:0,strictCommentOrdering:!1};settingsInitial=null;slowModeChoices=[0,5,10,30,60];chatFilters=[];chatFiltersLoading=!1;chatFilterDraft="";chatFilterBusy=!1;unsubComment=null;unsubCommentDeleted=null;unsubGift=null;unsubHearts=null;unsubLiveEnded=null;unsubLiveStarted=null;unsubViewerEvent=null;unsubCommentPinned=null;unsubCommentUnpinned=null;unsubGiftGoalProgress=null;unsubAuctionBid=null;unsubAuctionWon=null;unsubAuctionSold=null;connectionSub=null;liveTimerInterval=null;kpiPollInterval=null;onFullscreenChange(){this.isFullscreen=!!document.fullscreenElement}feedContainer;giftAnim;autoScroll=!0;newCommentsCount=0;static SCROLL_BOTTOM_THRESHOLD=48;needsScrollToBottom=!1;programmaticScroll=!1;idleRestickTimer=null;static IDLE_RESTICK_MS=12e3;ngOnInit(){if(!W(this.platformId))return;let t=this.storage.getItem("live_comments_dark");t!==null&&(this.darkMode=t==="true");let e=this.storage.getItem("live_comments_zoom");if(e){let O=parseInt(e,10);O>=50&&O<=200&&(this.zoomLevel=O)}let n=this.storage.getItem("live_comments_sound");n!==null&&(this.soundEnabled=n==="true");let o=this.storage.getItem("live_comments_preview");o!==null&&(this.previewEnabled=o==="true");let p=this.storage.getItem("live_comments_preview_audio");p!==null&&(this.previewAudioEnabled=p==="true"),this.resolveCurrentUser(),this.pinAudio=new Audio,this.pinAudio.src="assets/sounds/notification.mp3",this.pinAudio.load(),this.connectionSub=this.socketService.connectionState$.subscribe(O=>{let T=this.connectionState!=="connected";this.connectionState=O,O==="connected"&&T&&this.onSocketReconnected()}),this.workspaceService.activeWorkspaceDetails$.subscribe(O=>{this.currentWorkspace=O});
1let w=this.route.snapshot.queryParamMap.get("workspaceId");w?this.loginService.isAdmin().then(O=>{O&&(this.overrideWorkspaceId=w),this.startTracking()}):this.startTracking()}startTracking(){this.checkActiveLive(),this.unsubLiveStarted=this.socketService.on("live:started",t=>{let e=this.targetWorkspaceId;t?.workspaceId===e&&(this.disconnectPreview(),this.showLiveEndedModal=!1,this.liveEndedRoom=null,this.comments=[],this.gifts=[],this.receivedGiftEvents=[],this.liveEvents=[],this.topDonors=[],this.giftGoal=null,this.totalGiftCoins=0,this.totalLikes=0,this.totalHearts=0,this.lastHeartsTotal=0,this.heartBursts=[],this.heartQueue=0,this.bans=[],this.bannedIds=new Set,this.moderators=[],this.moderatorWsIds=new Set,this.onlineModIds=new Set,this.activePoll=null,this.viewerCount=0,this.peakViewerCount=0,this.loading=!0,this.checkActiveLive())})}onSocketReconnected(){let t=this.activeLiveRoom,e=this.targetWorkspaceId;if(!t||!e)return;let n=Date.now();n-this.lastResyncAt<i.RESYNC_MIN_INTERVAL_MS||(this.lastResyncAt=n,this.loadCommentHistory(t.id),this.refreshKpis(e),this.loadTopDonors(t.id),this.loadGiftGoal(t.id),this.loadActivePoll(t.id),this.connectPreview())}onWindowResumed(){W(this.platformId)&&document.visibilityState==="visible"&&(!this.previewEnabled||!this.activeLiveRoom||this.previewConnected||this.previewConnecting||this.previewRetryTimer||(this.previewRetryAttempt=0,this.connectPreview()))}resolveCurrentUser(){return P(this,null,function*(){try{(yield this.userService.getMe()).subscribe(e=>{this.currentUserId=e?.id??null,this.refreshRoomOwnership()})}catch{this.currentUserId=null,this.isRoomOwner=!1}})}refreshRoomOwnership(){let t=this.activeLiveRoom?.userId;this.isRoomOwner=!!t&&!!this.currentUserId&&t===this.currentUserId}ngOnDestroy(){this.fermerAccuse(),this.cancelIdleRestick(),this.disconnectPreview(),this.unsubscribeFromEvents(),this.unsubLiveStarted?.(),this.unsubLiveStarted=null,this.connectionSub?.unsubscribe(),this.liveTimerInterval&&clearInterval(this.liveTimerInterval),this.giftOverlayTimeout&&clearTimeout(this.giftOverlayTimeout),this.bundlePollTimer&&clearInterval(this.bundlePollTimer),this.donorsRefreshInterval&&clearInterval(this.donorsRefreshInterval),this.kpiPollInterval&&clearInterval(this.kpiPollInterval),this.heartDripTimer&&clearInterval(this.heartDripTimer)}checkActiveLive(){return P(this,null,function*(){let t=this.targetWorkspaceId;if(!t){this.activeLiveRoom=null,this.loading=!1;return}try{let e=yield this.liveService.getActiveLive(t);this.activeLiveRoom=e,this.refreshRoomOwnership(),e&&(e.status==="live"||e.status==="paused")&&(this.loadInteractive(t,e),this.viewerCount=e.viewerCount,this.peakViewerCount=e.peakViewerCount,this.totalLikes=e.totalLikes,this.totalHearts=e.totalHearts,this.lastHeartsTotal=e.totalHearts,this.totalGiftCoins=e.totalGiftCoins,this.updateLiveElapsed(),this.liveTimerInterval=setInterval(()=>this.updateLiveElapsed(),1e3),this.subscribeToEvents(t,e.id),this.loadCommentHistory(e.id),this.loadGiftGoal(e.id),this.loadTopDonors(e.id),this.loadBans(),this.loadModerators(),this.loadReceivedGifts(),this.loadActivePoll(e.id),this.preloadGiftAnimations(),this.connectPreview(),this.donorsRefreshInterval&&clearInterval(this.donorsRefreshInterval),this.donorsRefreshInterval=setInterval(()=>{this.loadTopDonors(e.id),this.loadGiftGoal(e.id)},3e4),this.kpiPollInterval&&clearInterval(this.kpiPollInterval),this.kpiPollInterval=setInterval(()=>this.refreshKpis(t),1e4))}catch{this.activeLiveRoom=null}this.loading=!1})}unsubscribeFromEvents(){this.unsubComment?.(),this.unsubComment=null,this.unsubCommentDeleted?.(),this.unsubCommentDeleted=null,this.unsubGift?.(),this.unsubGift=null,this.unsubHearts?.(),this.unsubHearts=null,this.unsubPollStarted?.(),this.unsubPollStarted=null,this.unsubPollTally?.(),this.unsubPollTally=null,this.unsubPollClosed?.(),this.unsubPollClosed=null,this.unsubLiveEnded?.(),this.unsubLiveEnded=null,this.unsubViewerEvent?.(),this.unsubViewerEvent=null,this.unsubCommentPinned?.(),this.unsubCommentPinned=null,this.unsubCommentUnpinned?.(),this.unsubCommentUnpinned=null,this.unsubGiftGoalProgress?.(),this.unsubGiftGoalProgress=null,this.unsubAuctionBid?.(),this.unsubAuctionBid=null,this.unsubAuctionWon?.(),this.unsubAuctionWon=null,this.unsubAuctionSold?.(),this.unsubAuctionSold=null,this.unsubCommandes?.(),this.unsubCommandes=null,this.leaveLiveRoom?.(),this.leaveLiveRoom=null,this.leaveLiveAuction?.(),this.leaveLiveAuction=null}subscribeToEvents(t,e){this.unsubscribeFromEvents(),this.leaveLiveRoom=this.socketService.subscribeLiveRoom(e),this.leaveLiveAuction=this.socketService.subscribeLiveAuction(e),this.chargerCommandes(e),this.unsubCommandes=this.socketService.on("live:commands_updated",n=>{n?.roomId&&n.roomId!==e||this.chargerCommandes(e)}),this.unsubAuctionBid=this.socketService.on("auction:bid_placed",n=>{!n||n.liveRoomId!==e||this.addAuctionLine("bid",n)}
1),this.unsubAuctionWon=this.socketService.on("auction:won",n=>{!n||n.liveRoomId!==e||this.addAuctionLine("won",n)}),this.unsubAuctionSold=this.socketService.on("auction:sold",n=>{!n||n.liveRoomId!==e||this.addAuctionLine("won",n)}),this.unsubComment=this.socketService.on("comment:approved",n=>{if(!n||n.roomId!==e)return;let o=n.comment?.id||Date.now().toString();if(this.comments.some(O=>O.id===o))return;let p=n.comment?.workspace,w=B({id:o,workspaceId:n.comment?.workspaceId||n.authorWorkspaceId||"",displayName:p?.name||"?",avatarUrl:p?.avatarUrl||null,text:n.comment?.content||"",timestamp:n.comment?.createdAt||new Date().toISOString(),isVerified:p?.isVerified||!1},this.genrePayant(n.comment));this.comments.push(w),this.tryResolvePendingPin(),this.comments.length>500&&this.comments.splice(0,this.comments.length-500),this.onNewComment()}),this.unsubCommentDeleted=this.socketService.on("comment:deleted",n=>{!n||n.roomId!==e||this.markCommentDeleted(n.commentId)}),this.unsubGift=this.socketService.on("live:gift",n=>{!n||n.roomId!==e||(this.gifts.unshift(n),this.gifts.length>100&&(this.gifts.length=100),this.totalGiftCoins+=n.gift.coinCost*n.quantity,this.mergeLiveGift(n),this.showGiftAnimation(n))}),this.unsubHearts=this.socketService.on("live:hearts",n=>{if(!n||n.roomId!==e)return;let o=Number(n.totalHearts)||0,p=o-this.lastHeartsTotal;this.lastHeartsTotal=o,this.totalHearts=o,p>0&&this.spawnHearts(p)}),this.unsubPollStarted=this.socketService.on("live:poll_session_started",n=>{!n||n.roomId!==e||(this.activePoll={sessionId:n.sessionId,pollId:n.pollId,question:n.question,options:n.options||[],tally:n.tally||{},totalVotes:n.totalVotes||0,expiresAt:n.expiresAt||null,anonymous:n.anonymous??!0,startedAt:n.startedAt,status:"running"})}),this.unsubPollTally=this.socketService.on("live:poll_session_tally",n=>{!n||!this.activePoll||n.sessionId!==this.activePoll.sessionId||(this.activePoll.tally=n.tally||{},this.activePoll.totalVotes=n.totalVotes||0)}),this.unsubPollClosed=this.socketService.on("live:poll_session_closed",n=>{if(!(!n||!this.activePoll||n.sessionId!==this.activePoll.sessionId)){if(n.status==="cancelled"){this.activePoll=null;return}this.activePoll.tally=n.finalTally||this.activePoll.tally,this.activePoll.totalVotes=n.totalVotes??this.activePoll.totalVotes,this.activePoll.status="closed"}}),this.unsubLiveEnded=this.socketService.on("live:ended",n=>P(this,null,function*(){if(n?.workspaceId===t||n?.roomId===e){try{let o=yield this.liveService.getActiveLive(t);if(o&&(o.status==="live"||o.status==="paused"))return}catch{}this.disconnectPreview(),this.liveEndedRoom=this.activeLiveRoom,this.activeLiveRoom=null,this.isRoomOwner=!1,this.showLiveEndedModal=!0,this.liveTimerInterval&&clearInterval(this.liveTimerInterval),this.donorsRefreshInterval&&clearInterval(this.donorsRefreshInterval),this.kpiPollInterval&&clearInterval(this.kpiPollInterval)}})),this.unsubCommentPinned=this.socketService.on("live:comment_pinned",n=>{if(!n||n.roomId!==e)return;let o=n.pinnedByBroadcaster===!1;this.pinnedByModerator=o,o&&this.playPinSound();let p=this.comments.find(w=>w.id===n.commentId);p?(this.pinnedComment=p,this.pendingPinnedCommentId=null):this.pendingPinnedCommentId=n.commentId}),this.unsubCommentUnpinned=this.socketService.on("live:comment_unpinned",n=>{!n||n.roomId!==e||(this.pinnedComment=null,this.pendingPinnedCommentId=null,this.pinnedByModerator=!1)}),this.unsubViewerEvent=this.socketService.on("live:viewer_event",n=>{!n||n.roomId!==e||(this.liveEvents.unshift(n),this.liveEvents.length>100&&(this.liveEvents.length=100))}),this.unsubGiftGoalProgress=this.socketService.on("live:gift_goal_progress",n=>{if(!(!n||n.roomId!==e)&&n.goal&&(this.giftGoal=n.goal,this.giftGoal?.items?.length)){let o=this.giftGoal.items.reduce((w,O)=>w+O.targetQuantity,0),p=this.giftGoal.items.reduce((w,O)=>w+O.currentQuantity,0);this.giftGoalProgress=o>0?Math.min(100,Math.round(p/o*100)):0}})}showGiftAnimation(t){if(t.gift.animationUrl){let e={key:++this.giftAnimKey,animationUrl:this.mediaUrl(t.gift.animationUrl)||"",imageUrl:this.mediaUrl(t.gift.imageUrl),senderName:t.senderName,giftName:t.gift.name,quantity:t.quantity,durationMs:t.gift.animationDurationMs||5e3};this.giftAnimation=e,this.giftAnim?.enqueue(e);return}this.currentGift=t,this.showGiftOverlay=!0,this.giftOverlayTimeout&&clearTimeout(this.giftOverlayTimeout),this.giftOverlayTimeout=setTimeout(()=>{this.showGiftOverlay=!1,this.currentGift=null},4e3)}mediaUrl(t){return t?/^(https?:)?\/\//i.test(t)||t.startsWith("data:")?t:be.api+(t.startsWith("/")?t:"/"+t):null}onMediaError(t){t&&this.brokenMedia.add(t)}isMediaBroken(t){return!!t&&this.brokenMedia.has(t)}spawnHearts(t){let e=Math.min(Math.max(1,Math.round(t)),14);this.heartQueue=Math.min(this.heartQueue+e,i.MAX_HEART_QUEUE),this.startHeartDrip()}startHeartDrip(){this.heartDripTimer||(this.heartDripTimer=setInterval(()=>{if(this.heartQueue<=0){this.heartDripTimer&&clearInterval(this.heartDripTimer),this.heartDripTimer=null;return}this.heartBursts.length>=i.MAX_CONCURRENT_HEARTS||(this.heartQueue--,this.emitOneHeart())},i.HEART_EMIT_INTERVAL_MS))}emitOneHeart(){let t=++this.heartId,e={id:t,left:34+Math.round(Math.random()*10),color:this.heartColors[Math.floor(Math.random()*this.heartColors.length)],drift:Math.round(Math.random()*48)-24,dur:2600+Math.round(Math.random()*1200),size:13+Math.round(Math.random()*7),rise:300+Math.round(Math.random()*220)};this.heartBursts.push(e),setTimeout(()=>{this.heartBursts=this.heartBursts.filter(n=>n.id!==t)},e.dur+200)}addAuctionLine(t,e){let n=e?.auction||{},o=e?.auctionId||n.id||"",p=t==="won"?e?.amountCents??n.currentBidCents??0:n.currentBidCents??0,w=(t==="bid"?e?.bidderDisplayName:n.currentLeaderDisplayName)||n.currentLeaderDisplayName||"?",O=(t==="bid"?e?.bidderAvatarUrl:n.currentLeaderAvatarUrl)||n.currentLeaderAvatarUrl||null,T=(t==="won"?e?.winnerWorkspaceId:n.currentLeaderWorkspaceId)||n.currentLeaderWorkspaceId||"",j=t==="won"?`auction-outcome-${o}`:`auction-bid-${o}-${e?.bid?.sequenceNumber??n.totalBids??""}`;if(this.comments.some(tt=>tt.id===j))return;let Je=this.formatBidAmount(p,n.currency),et=this.translate.instant(t==="won"?"MANAGER.LIVE_COMMENTS.AUCTION_WON":"MANAGER.LIVE_COMMENTS.AUCTION_BID",{amount:Je});this.comments.push({id:j,workspaceId:T,displayName:w,avatarUrl:O,text:et,timestamp:e?.serverTime||new Date().toISOString(),isVerified:!1,auction:t}),this.comments.length>500&&this.comments.splice(0,this.comments.length-500),this.onNewComment()}formatBidAmount(t,e){let n=(Number(t)||0)/100,o=(e||"EUR").toUpperCase(),p=n%1===0?0:2;try{return new Intl.NumberFormat(this.translate.currentLang||"fr",{style:"currency",currency:o,minimumFractionDigits:p,maximumFractionDigits:p}).format(n)}catch{return`${n} ${o}`}}updateLiveElapsed(){if(!this.activeLiveRoom?.startedAt){this.liveElapsed="";return}let t=new Date(this.activeLiveRoom.startedAt).getTime(),e=this.activeLiveRoom.totalPausedSeconds||0,n=0;this.activeLiveRoom.status==="paused"&&this.activeLiveRoom.pausedAt&&(n=Math.max(0,Math.floor((Date.now()-new Date(this.activeLiveRoom.pausedAt).getTime())/1e3)));let o=Math.max(0,Math.floor((Date.now()-t)/1e3)-e-n),p=Math.floor(o/3600),w=Math.floor(o%3600/60),O=o%60,T=j=>String(j).padStart(2,"0");this.liveElapsed=`${T(p)}:${T(w)}:${T(O)}`}get isPaused(){return this.activeLiveRoom?.status==="paused"}togglePause(){return P(this,null,function*(){if(!this.activeLiveRoom||this.pauseBusy)return;let t=this.activeLiveRoom.id,e=this.isPaused;this.pauseBusy=!0;try{let n=e?yield this.liveService.resumeLive(t):yield this.liveService.pauseLive(t);this.activeLiveRoom&&(this.activeLiveRoom.status=n.status,this.activeLiveRoom.pausedAt=n.pausedAt,this.activeLiveRoom.totalPausedSeconds=n.totalPausedSeconds),this.updateLiveElapsed()}catch(n){console.error("[LiveStudio] togglePause failed",n)}finally{this.pauseBusy=!1}})}openViewerList(){return P(this,null,function*(){if(this.activeLiveRoom){this.showViewerList=!0,this.viewerListLoading=!0;try{let t=yield this.liveService.getParticipants(this.activeLiveRoom.id,void 0,100);this.viewerList=t.items,this.viewerListTotal=t.total}catch(t){console.error("[LiveStudio] getParticipants failed",t),this.viewerList=[]}finally{this.viewerListLoading=!1}}})}
1closeViewerList(){this.showViewerList=!1}openStarsList(){this.showStarsList=!0,this.starsLoading=!0,this.loadReceivedGifts().finally(()=>this.starsLoading=!1)}loadReceivedGifts(){return P(this,null,function*(){let t=this.activeLiveRoom?.id;if(t)try{this.receivedGiftEvents=yield this.liveService.getLiveRoomGiftEvents(t)}catch(e){console.error("[LiveStudio] loadReceivedGifts failed",e),this.receivedGiftEvents=[]}})}mergeLiveGift(t){let e={id:"live-"+ ++this.giftEventKey,giftId:t.gift.slug,giftName:t.gift.name,giftThumbnail:t.gift.imageUrl||null,quantity:t.quantity,coins:(t.gift.coinCost||0)*(t.quantity||1),createdAt:t.timestamp||new Date().toISOString(),sender:{id:t.senderWorkspaceId,name:t.senderName,slug:null,avatarUrl:t.senderAvatarUrl,isVerified:!1}};this.receivedGiftEvents=[e,...this.receivedGiftEvents].slice(0,100)}closeStarsList(){this.showStarsList=!1}isModeratorComment(t){return!!t.workspaceId&&this.moderatorWsIds.has(t.workspaceId)}deleteComment(t){return P(this,null,function*(){if(!(!t?.id||t.isDeleted)){t.isDeleted=!0;try{yield this.liveService.deleteComment(t.id)}catch(e){console.error("[LiveStudio] deleteComment failed",e),t.isDeleted=!1}}})}markCommentDeleted(t){let e=this.comments.find(n=>n.id===t);e&&(e.isDeleted=!0)}timeAgo(t){let e=Date.now()-new Date(t).getTime(),n=Math.max(0,Math.floor(e/1e3));if(n<60)return`${n}s`;let o=Math.floor(n/60);if(o<60)return`${o} min`;let p=Math.floor(o/60);return p<24?`${p}h`:`${Math.floor(p/24)}j`}loadBans(){return P(this,null,function*(){try{let t=yield this.liveService.getBans();this.bans=t||[],this.bannedIds=new Set(this.bans.map(e=>e.bannedWorkspaceId))}catch(t){console.error("[LiveStudio] loadBans failed",t)}})}isBanned(t){return!!t&&this.bannedIds.has(t)}openModeration(t){return P(this,null,function*(){this.isHost(t)||t.isDeleted||(yield this.openModerationTarget({workspaceId:t.workspaceId,displayName:t.displayName,avatarUrl:t.avatarUrl,isVerified:t.isVerified}))})}openModerationFromParticipant(t){return P(this,null,function*(){yield this.openModerationTarget({workspaceId:t.workspaceId,displayName:t.name,avatarUrl:t.avatarUrl,isVerified:t.isVerified})})}openModerationTarget(t){return P(this,null,function*(){if(!(!t.workspaceId||this.currentWorkspace&&t.workspaceId===this.currentWorkspace.id)){this.moderationTarget=t,this.moderationProfile=null,this.showMuteDurations=!1,this.showModerationModal=!0,this.moderationProfileLoading=!0;try{this.moderationProfile=yield this.liveService.getPublicProfile(t.workspaceId)}catch(e){console.error("[LiveStudio] getPublicProfile failed",e)}finally{this.moderationProfileLoading=!1}}})}closeModeration(){this.showModerationModal=!1,this.moderationTarget=null,this.moderationProfile=null,this.showMuteDurations=!1}get moderationRelation(){let t=this.moderationProfile;return t?t.isFriend?"friend":t.isFollowingMe?"follower":t.isFollowing?"following":null:null}moderateBan(){return P(this,null,function*(){yield this._moderate(()=>this.liveService.banWorkspace(this.moderationTarget.workspaceId,void 0,void 0))})}moderateMute(t){return P(this,null,function*(){yield this._moderate(()=>this.liveService.banWorkspace(this.moderationTarget.workspaceId,void 0,t))})}moderateUnban(){return P(this,null,function*(){yield this._moderate(()=>this.liveService.unbanWorkspace(this.moderationTarget.workspaceId))})}unbanFromList(t){return P(this,null,function*(){if(!this.moderationBusy){this.moderationBusy=!0;try{yield this.liveService.unbanWorkspace(t),yield this.loadBans()}catch(e){console.error("[LiveStudio] unbanFromList failed",e)}finally{this.moderationBusy=!1}}})}_moderate(t){return P(this,null,function*(){if(!(!this.moderationTarget||this.moderationBusy)){this.moderationBusy=!0;try{yield t(),yield this.loadBans(),this.closeModeration()}catch(e){console.error("[LiveStudio] moderation action failed",e)}finally{this.moderationBusy=!1}}})}openSanctions(){this.showSanctions=!0,this.sanctionsLoading=!0,this.loadBans().finally(()=>this.sanctionsLoading=!1)}closeSanctions(){this.showSanctions=!1}loadModerators(){return P(this,null,function*(){try{let t=yield this.liveService.getModerators();this.moderators=t||[],this.moderatorWsIds=new Set(this.moderators.map(e=>e.moderatorWorkspaceId)),yield this.refreshOnlineModerators()}catch(t){console.error("[LiveStudio] loadModerators failed",t)}})}refreshOnlineModerators(){return P(this,null,function*(){let t=this.activeLiveRoom?.id;if(!t||this.moderators.length===0){this.onlineModIds=new Set;return}try{let e=yield this.liveService.getParticipants(t,void 0,100);this.onlineModIds=new Set(e.items.filter(n=>this.moderatorWsIds.has(n.workspaceId)).map(n=>n.workspaceId))}catch{}})}get onlineModCount(){return this.moderators.filter(t=>this.onlineModIds.has(t.moderatorWorkspaceId)).length}get sortedModerators(){return this.moderators.map(t=>({mod:t,online:this.onlineModIds.has(t.moderatorWorkspaceId),name:t.moderatorWorkspace?.name||""})).sort((t,e)=>
1t.online===e.online?t.name.localeCompare(e.name):t.online?-1:1)}get targetIsModerator(){return!!this.moderationTarget&&this.moderatorWsIds.has(this.moderationTarget.workspaceId)}promoteModerator(){return P(this,null,function*(){yield this._modAction(()=>this.liveService.addModerator(this.moderationTarget.workspaceId))})}revokeModerator(){return P(this,null,function*(){yield this._modAction(()=>this.liveService.removeModeratorByWorkspace(this.moderationTarget.workspaceId))})}revokeModeratorFromList(t){return P(this,null,function*(){if(!this.moderationBusy){this.moderationBusy=!0;try{yield this.liveService.removeModeratorByWorkspace(t),yield this.loadModerators()}catch(e){console.error("[LiveStudio] revokeModeratorFromList failed",e)}finally{this.moderationBusy=!1}}})}_modAction(t){return P(this,null,function*(){if(!(!this.moderationTarget||this.moderationBusy)){this.moderationBusy=!0;try{yield t(),yield this.loadModerators(),this.closeModeration()}catch(e){console.error("[LiveStudio] moderator action failed",e)}finally{this.moderationBusy=!1}}})}banExpiryLabel(t){if(t.type==="suspended"||!t.expiresAt)return"";let e=new Date(t.expiresAt).getTime()-Date.now();if(e<=0)return"";let n=Math.ceil(e/6e4);if(n<60)return`${n} min`;let o=Math.floor(n/60),p=n%60;return p?`${o}h${String(p).padStart(2,"0")}`:`${o}h`}loadActivePoll(t){return P(this,null,function*(){try{this.activePoll=yield this.liveService.getActivePollSession(t)}catch(e){console.error("[LiveStudio] getActivePollSession failed",e)}})}openPollCreate(){this.pollDraft={question:"",options:["",""],durationSeconds:60},this.showPollCreate=!0}closePollCreate(){this.showPollCreate=!1}addPollOption(){this.pollDraft.options.length<4&&this.pollDraft.options.push("")}removePollOption(t){this.pollDraft.options.length>2&&this.pollDraft.options.splice(t,1)}get canLaunchPoll(){return this.pollDraft.question.trim().length>0&&this.pollDraft.options.filter(t=>t.trim().length>0).length>=2}launchPoll(){return P(this,null,function*(){if(!(!this.activeLiveRoom||this.pollBusy||!this.canLaunchPoll)){this.pollBusy=!0;try{let t=this.pollDraft.options.map(o=>o.trim()).filter(o=>o.length>0).map(o=>({label:o})),e=yield this.liveService.createPoll(this.pollDraft.question.trim(),t,this.pollDraft.durationSeconds,!0),n=yield this.liveService.startPollSession(this.activeLiveRoom.id,e.id,this.pollDraft.durationSeconds);this.activePoll=n,this.closePollCreate()}catch(t){console.error("[LiveStudio] launchPoll failed",t)}finally{this.pollBusy=!1}}})}closeActivePoll(){return P(this,null,function*(){let t=this.activePoll;if(!t||this.pollBusy)return;let e=t.status!=="running";this.pollBusy=!0,this.pollError="";try{yield this.liveService.closePollSession(t.sessionId,e),e?this.activePoll=null:this.activePoll?.sessionId===t.sessionId&&(this.activePoll=re(B({},this.activePoll),{status:"closed"}))}catch(n){console.error("[LiveStudio] closeActivePoll failed",n),this.pollError=this.translate.instant("MANAGER.LIVE_COMMENTS.POLL_ERR_CLOSE")}finally{this.pollBusy=!1}})}get pollActionLabel(){return this.activePoll?.status==="running"?"MANAGER.LIVE_COMMENTS.POLL_STOP":"MANAGER.LIVE_COMMENTS.POLL_REMOVE"}pollDurationLabel(t){return t==null?"":t<60?`${t}s`:`${t/60} min`}pollPercent(t){let e=this.activePoll;return!e||e.totalVotes<=0?0:Math.round((e.tally[t]||0)/e.totalVotes*100)}get pollTimeLeft(){let t=this.activePoll;if(!t||!t.expiresAt||t.status==="closed")return"";let e=new Date(t.expiresAt).getTime()-Date.now();if(e<=0)return"0:00";let n=Math.floor(e/1e3);return`${Math.floor(n/60)}:${String(n%60).padStart(2,"0")}`}loadGiftGoal(t){return P(this,null,function*(){try{if(this.giftGoal=yield this.liveService.getGiftGoal(t),this.giftGoal?.items?.length){let e=this.giftGoal.items.reduce((o,p)=>o+p.targetQuantity,0),n=this.giftGoal.items.reduce((o,p)=>o+p.currentQuantity,0);this.giftGoalProgress=e>0?Math.min(100,Math.round(n/e*100)):0}}catch{this.giftGoal=null}})}animationsPreloaded=!1;preloadGiftAnimations(){return P(this,null,function*(){if(!(this.animationsPreloaded||!W(this.platformId))){this.animationsPreloaded=!0;try{this.goalCatalog.length||(this.goalCatalog=yield this.liveService.getGiftCatalog());let t=this.goalCatalog.filter(e=>e.category==="screen_video_alpha");for(let e of t){let n=this.mediaUrl(`/api/gifts/${e.id}/animation.mp4`);if(!n)continue;let o=document.createElement("link");o.rel="prefetch",o.as="video",o.crossOrigin="anonymous",o.href=n,document.head.appendChild(o)}}catch(t){console.error("[LiveStudio] preloadGiftAnimations failed",t)}}})}openGoalSetup(){return P(this,null,function*(){if(this.showGoalSetup=!0,this.goalDraft=new Map,this.goalLabel=this.giftGoal?.label||"",this.giftGoal?.items)for(let t of this.giftGoal.items)this.goalDraft.set(t.giftId,t.targetQuantity);if(!this.goalCatalog.length){this.goalCatalogLoading=!0;try{this.goalCatalog=yield this.liveService.getGiftCatalog()}catch(t){console.error("[LiveStudio] getGiftCatalog failed",t)}finally{this.goalCatalogLoading=!1}}})}closeGoalSetup(){this.showGoalSetup=!1}goalQty(t){return this.goalDraft.get(t)||0}incGoalGift(t){let e=this.goalQty(t);e===0&&this.goalDraft.size>=i.GOAL_MAX_GIFTS||this.goalDraft.set(t,Math.min(9999,e+1))}decGoalGift(t){let e=this.goalQty(t)-1;e<=0?this.goalDraft.delete(t):this.goalDraft.set(t,e)}get goalDraftCount(){return this.goalDraft.size}saveGoal(){return P(this,null,function*(){if(!this.activeLiveRoom||this.goalSaving)return;let t=Array.from(this.goalDraft.entries()).filter(([,e])=>e>0).map(([e,n])=>({giftId:e,targetQuantity:n}));if(t.length){this.goalSaving=!0;try{let e=typeof crypto<"u"&&crypto.randomUUID?.()||`goal-${Date.now()}`,n=yield this.liveService.setGiftGoal(this.activeLiveRoom.id,e,this.goalLabel.trim()||null,t);this.giftGoal=n,this.recomputeGoalProgress(),this.closeGoalSetup()}catch(e){console.error("[LiveStudio] saveGoal failed",e)}finally{this.goalSaving=!1}}})}clearGoal(){return P(this,null,function*(){if(!(!this.activeLiveRoom||this.goalSaving)){this.goalSaving=!0;try{yield this.liveService.clearGiftGoal(this.activeLiveRoom.id),this.giftGoal=null,this.giftGoalProgress=0,this.closeGoalSetup()}catch(t){console.error("[LiveStudio] clearGoal failed",t)}finally{this.goalSaving=!1}}})}recomputeGoalProgress(){if(!this.giftGoal?.items?.length){this.giftGoalProgress=0;return}let t=this.giftGoal.items.reduce((n,o)=>n+o.targetQuantity,0),e=this.giftGoal.items.reduce((n,o)=>n+o.currentQuantity,0);this.giftGoalProgress=t>0?Math.min(100,Math.round(e/t*100)):0}loadTopDonors(t){return P(this,null,function*(){try{this.topDonors=yield this.liveService.getTopDonors(t,20)}catch(e){console.error(`[LiveStudio] loadTopDonors failed for room ${t}`,e),this.topDonors=[]}})}pinComment(t){return P(this,null,function*(){if(!this.activeLiveRoom)return;let e=this.pinnedComment;this.pinnedComment=t,this.pendingPinnedCommentId=null,this.pinnedByModerator=!1;try{yield this.liveService.pinComment(this.activeLiveRoom.id,t.id)}catch(n){console.error("[LiveStudio] pinComment failed",n),this.pinnedComment=e}})}unpinComment(){return P(this,null,function*(){if(!this.activeLiveRoom||!this.pinnedComment)return;let t=this.pinnedComment;this.pinnedComment=null,this.pendingPinnedCommentId=null,this.pinnedByModerator=!1;try{yield this.liveService.unpinComment(this.activeLiveRoom.id)}catch(e){console.error("[LiveStudio] unpinComment failed",e),this.pinnedComment=t}})}tryResolvePendingPin(){if(!this.pendingPinnedCommentId)return;let t=this.comments.find(e=>e.id===this.pendingPinnedCommentId);t&&(this.pinnedComment=t,this.pendingPinnedCommentId=null)}playPinSound(){if(!this.soundEnabled||!this.pinAudio)return;let t=Date.now();t-this.lastPinRingAt<3e3||(this.lastPinRingAt=t,this.pinAudio.currentTime=0,this.pinAudio.play().catch(()=>{}))}loadCommentHistory(t){return P(this,null,function*(){try{let e=yield this.liveService.getRoomComments(t,1,200);if(e?.items?.length){let n=new Set(this.comments.map(w=>w.id)),o=e.items.filter(w=>!n.has(w.id)).map(w=>
1B({id:w.id,workspaceId:w.workspaceId||"",displayName:w.workspace?.name||"?",avatarUrl:w.workspace?.avatarUrl||null,text:w.content||"",timestamp:w.createdAt||new Date().toISOString(),isVerified:w.workspace?.isVerified||!1},this.genrePayant(w))),p=[...this.comments,...o];p.sort((w,O)=>new Date(w.timestamp).getTime()-new Date(O.timestamp).getTime()),this.comments=p.length>500?p.slice(p.length-500):p,this.tryResolvePendingPin(),this.onNewComment()}}catch{}})}refreshKpis(t){return P(this,null,function*(){try{let e=yield this.liveService.getActiveLive(t);e&&(this.viewerCount=e.viewerCount,this.peakViewerCount=e.peakViewerCount,this.totalLikes=e.totalLikes,e.totalHearts>this.lastHeartsTotal&&(this.lastHeartsTotal=e.totalHearts),this.totalHearts=e.totalHearts,this.totalGiftCoins=e.totalGiftCoins)}catch{}this.moderators.length&&this.refreshOnlineModerators()})}bundlePollTimer=null;loadInteractive(t,e){return P(this,null,function*(){try{this.bundles=yield this.bundleService.getBundles()}catch{}this.refreshLiveBundle(e.id,t),this.bundlePollTimer&&clearInterval(this.bundlePollTimer),this.bundlePollTimer=setInterval(()=>void this.refreshLiveBundle(e.id,t),1e4)})}refreshLiveBundle(t,e){return P(this,null,function*(){try{let[n,o]=yield Promise.all([this.bundleService.getLiveBundle(t),this.bundleService.connectorConnected(e)]);this.activeBundleId=n?.bundleId||null,this.connectorActive=o}catch{}})}get activeBundleName(){return this.activeBundleId?this.bundles.find(t=>t.id===this.activeBundleId)?.name??null:null}openBundlePicker(){this.bundleRef=this.dialogService.open(Fe,{header:this.translate.instant("EVENT_KEY.INTERACTIVE.PICK_TITLE"),width:"640px",modal:!0,dismissableMask:!0,baseZIndex:1e4}),this.bundleRef.onClose.subscribe(t=>P(this,null,function*(){let e=this.activeLiveRoom?.id;if(!(!t||!e))try{yield this.bundleService.attach(e,t.id),this.activeBundleId=t.id,this.bundles.find(n=>n.id===t.id)||this.bundles.push(t)}catch{}}))}detachBundle(){return P(this,null,function*(){let t=this.activeLiveRoom?.id;if(t)try{yield this.bundleService.detach(t),this.activeBundleId=null}catch{}})}getEventIcon(t){switch(t){case"join":return"pi pi-sign-in";case"share":return"pi pi-share-alt";case"shop_view":return"pi pi-shopping-bag";case"cart_add":return"pi pi-shopping-cart";default:return"pi pi-info-circle"}}isHost(t){return!!this.currentWorkspace&&t.workspaceId===this.currentWorkspace.id}genrePayant(t){let e={kind:We(t?.kind)},n=Number(t?.coins);t?.coins!=null&&Number.isFinite(n)&&n>0&&(e.coins=n);let o=t?.commande??t?.command??null;return typeof o=="string"&&o.trim()&&(e.commande=o.trim()),t?.isBot!=null&&(e.isBot=!!t.isBot),e}filtrePrioritaires=!1;filtreCache=null;recalculerFiltre(){let t=this.comments.length,e=this.filtrePrioritaires,n=this.filtreCache;if(n&&n.taille===t&&n.actif===e)return n;let o=this.comments.filter(w=>w.kind==="prioritaire"),p={taille:t,actif:e,out:e?o:this.comments,nb:o.length};return this.filtreCache=p,p}get commentairesAffiches(){return this.recalculerFiltre().out}get nbPrioritaires(){return this.recalculerFiltre().nb}basculerFiltrePrioritaires(){this.filtrePrioritaires=!this.filtrePrioritaires,this.filtreCache=null}scrollFeedToBottom(){let t=this.feedContainer?.nativeElement;t&&(this.programmaticScroll=!0,t.scrollTop=t.scrollHeight)}ngAfterViewChecked(){this.needsScrollToBottom&&(this.needsScrollToBottom=!1,this.scrollFeedToBottom()),this.previewNeedsAttach&&this.previewVideo&&this.attachPreviewTracks()}armIdleRestick(){this.cancelIdleRestick(),this.idleRestickTimer=setTimeout(()=>{this.idleRestickTimer=null,this.autoScroll=!0},i.IDLE_RESTICK_MS)}cancelIdleRestick(){this.idleRestickTimer&&(clearTimeout(this.idleRestickTimer),this.idleRestickTimer=null)}isFeedAtBottom(){let t=this.feedContainer?.nativeElement;return t?t.scrollHeight-t.scrollTop-t.clientHeight<=i.SCROLL_BOTTOM_THRESHOLD:!0}onNewComment(){this.autoScroll?this.needsScrollToBottom=!0:this.newCommentsCount++}onFeedScroll(){if(this.programmaticScroll){this.programmaticScroll=!1;return}let t=this.isFeedAtBottom();this.autoScroll=t,t?(this.newCommentsCount=0,this.cancelIdleRestick()):this.armIdleRestick()}scrollToLatest(){this.autoScroll=!0,this.newCommentsCount=0,this.cancelIdleRestick(),this.needsScrollToBottom=!0}toggleDarkMode(){this.darkMode=!this.darkMode,this.storage.setItem("live_comments_dark",String(this.darkMode))}toggleSound(){this.soundEnabled=!this.soundEnabled,this.storage.setItem("live_comments_sound",String(this.soundEnabled))}zoomIn(){this.zoomLevel<200&&(this.zoomLevel+=10,this.storage.setItem("live_comments_zoom",String(this.zoomLevel)))}zoomOut(){this.zoomLevel>50&&(this.zoomLevel-=10,this.storage.setItem("live_comments_zoom",String(this.zoomLevel)))}toggleFullscreen(){document.fullscreenElement?document.exitFullscreen():document.documentElement.requestFullscreen()}dismissLiveEnded(){this.showLiveEndedModal=!1}refreshLive(){this.loading=!0,this.checkActiveLive()}connectPreview(){return P(this,null,function*(){if(!W(this.platformId)||!this.previewEnabled)return;let t=this.activeLiveRoom?.id;if(!t)return;if(this.previewRoomId&&this.previewRoomId!==t)this.disconnectPreview();else if(this.previewRoom&&!this.previewConnected&&!this.previewConnecting)this.disconnectPreview();else if(this.previewRoom||this.previewConnecting)return;let e=++this.previewConnectSeq;this.previewRoomId=t,this.previewConnecting=!0,this.previewFailed=!1;let n=null;try{let o=yield Z(this.liveApi.peek(t,"studio"));if(!o?.token||!o?.wsUrl)throw new Error("no-peek-token");if(e!==this.previewConnectSeq)return;let p=yield import("./chunk-MW3ZKR3I.js");if(e!==this.previewConnectSeq)return;if(n=new p.Room({adaptiveStream:!0,dynacast:!0}),this.previewRoom=n,n.on(p.RoomEvent.TrackSubscribed,w=>{this.zone.run(()=>{w.kind==="video"?this.previewVideoTrack=w:w.kind==="audio"&&(this.previewAudioTrack=w),this.attachPreviewTracks()})}),n.on(p.RoomEvent.TrackUnsubscribed,w=>{this.zone.run(()=>{w===this.previewVideoTrack?(this.previewVideoTrack=null,this.previewHasVideo=!1):w===this.previewAudioTrack&&(this.previewAudioTrack=null);try{w.detach?.()}catch{}})}),n.on(p.RoomEvent.Disconnected,()=>{this.previewRoom===n&&this.zone.run(()=>{this.previewConnected=!1,this.previewHasVideo=!1,this.schedulePreviewReconnect()})}),n.on(p.RoomEvent.Reconnected,()=>{this.previewRoom===n&&this.zone.run(()=>{this.previewRetryAttempt=0,this.previewConnected=!0,this.attachPreviewTracks()})}),n.on(p.RoomEvent.ParticipantAttributesChanged,(w,O)=>{if(O?.isLocal)return;let T=w?.mirror;T!==void 0&&this.zone.run(()=>{this.previewMirrored=T==="true"})}),yield n.connect(o.wsUrl,o.token),e!==this.previewConnectSeq){yield n.disconnect(),this.previewRoom===n&&(this.previewRoom=null);return}n.remoteParticipants?.forEach(w=>{w.trackPublications?.forEach(O=>{let T=O.track;T&&(T.kind==="video"?this.previewVideoTrack=T:T.kind==="audio"&&(this.previewAudioTrack=T))})}),this.refreshPreviewMirror(n),this.previewConnected=!0,this.previewRetryAttempt=0,this.attachPreviewTracks()}catch(o){try{n?.disconnect?.()}catch{}if(this.previewRoom===n&&(this.previewRoom=null),e!==this.previewConnectSeq)return;console.error("[LiveStudio] preview connect failed",o),this.previewConnected=!1,this.previewConnecting=!1,this.schedulePreviewReconnect(),this.previewRetryTimer||(this.previewFailed=!0)}finally{e===this.previewConnectSeq&&(this.previewConnecting=!1)}})}schedulePreviewReconnect(){if(!W(this.platformId)||!this.previewEnabled||!this.activeLiveRoom||this.previewRetryTimer)return;if(this.previewRetryAttempt>=i.PREVIEW_RETRY_MAX_ATTEMPTS){this.previewFailed=!0;return}let t=Math.min(i.PREVIEW_RETRY_BASE_MS*Math.pow(2,this.previewRetryAttempt),i.PREVIEW_RETRY_MAX_MS),e=++this.previewRetryAttempt;this.previewRetryTimer=setTimeout(()=>{this.previewRetryTimer=null,!(!this.previewEnabled||!this.activeLiveRoom)&&(this.disconnectPreview(),this.previewRetryAttempt=e,this.connectPreview())},t)}cancelPreviewReconnect(){this.previewRetryTimer&&(clearTimeout(this.previewRetryTimer),this.previewRetryTimer=null),this.previewRetryAttempt=0}refreshPreviewMirror(t){if(t?.remoteParticipants)for(let e of t.remoteParticipants.values()){let n=e?.attributes?.mirror;if(n!=null){this.previewMirrored=n==="true";return}}}attachPreviewTracks(){let t=this.previewVideo?.nativeElement;if(!t){this.previewNeedsAttach=!0;return}if(this.previewNeedsAttach=!1,this.previewVideoTrack)try{this.previewVideoTrack.attach(t),this.previewHasVideo=!0,this.bindPreviewSourceProbe(t)}catch(e){console.error("[LiveStudio] preview video attach failed",e)}this.applyPreviewAudio()}bindPreviewSourceProbe(t){if(t.dataset.sizeProbe==="1")return;t.dataset.sizeProbe="1";let e=()=>{let n=t.videoWidth,o=t.videoHeight;if(!n||!o)return;let p=n>o;p!==this.previewSourceLandscape&&this.zone.run(()=>this.previewSourceLandscape=p)};t.addEventListener("loadedmetadata",e),t.addEventListener("resize",e),e()}applyPreviewAudio(){let t=this.previewAudioSink?.nativeElement,e=this.previewAudioTrack;if(e){try{e.detach?.()}catch{}if(t&&(t.innerHTML=""),!(!this.previewAudioEnabled||!t))try{let n=e.attach();n.autoplay=!0,t.appendChild(n)}catch(n){console.error("[LiveStudio] preview audio attach failed",n)}}}disconnectPreview(){this.previewConnectSeq++,this.cancelPreviewReconnect();let t=this.previewRoom;this.previewRoom=null,this.previewRoomId=null,this.previewVideoTrack=null,this.previewAudioTrack=null,this.previewNeedsAttach=!1,this.previewConnected=!1,this.previewConnecting=!1,this.previewHasVideo=!1,this.previewFailed=!1,this.previewMirrored=!1,this.previewAudioSink?.nativeElement&&(this.previewAudioSink.nativeElement.innerHTML="");try{t?.disconnect?.()}catch{}}togglePreview(){this.previewEnabled=!this.previewEnabled,this.storage.setItem("live_comments_preview",String(this.previewEnabled)),this.previewEnabled?this.connectPreview():this.disconnectPreview()}togglePreviewAudio(){this.previewAudioEnabled=!this.previewAudioEnabled,this.storage.setItem("live_comments_preview_audio",String(this.previewAudioEnabled)),this.applyPreviewAudio()}retryPreview(){this.disconnectPreview(),this.connectPreview()}chargerCommandes(t){this.liveApi.getCommands(t).subscribe(e=>{this.activeLiveRoom?.id===t&&(this.commandes=e,this.commandesOuvertes&&this.filtrerListe())})}filtrerListe(){this.commandesFiltrees=Ke(this.commandes,Q(this.chatDraft)??""),this.indexCommande>=this.commandesFiltrees.length&&(this.indexCommande=0)}onChatDraftChange(){if(this.chatDraft&&this.fermerAccuse(),!this.commandes.length||Q(this.chatDraft)===null){this.commandesOuvertes=!1;return}this.commandesOuvertes=!0,this.filtrerListe()}basculerCommandes(){this.commandes.length&&(this.fermerAccuse(),this.commandesOuvertes=!this.commandesOuvertes,this.commandesOuvertes&&(this.indexCommande=0,this.filtrerListe()))}fermerCommandes(){this.commandesOuvertes=!1}choisirCommande(t){this.chatDraft=`/${t.nom} `,this.commandesOuvertes=!1,this.chatInput?.nativeElement?.focus()}prixEnToutesLettres(t){return t.prixCoins>0?this.translate.instant("APP.LIVE.CMD_PRICE",{count:t.prixCoins}):this.translate.instant("APP.LIVE.CMD_FREE")}lancerCommandeAEcran(t){let e=this.activeLiveRoom?.id;if(!e)return;let n=(o,p)=>this.translate.instant(o,p);Qe(t,e,this.liveApi,{affiche:n("APP.LIVE.CMD_ON_SCREEN"),enFile:n("APP.LIVE.CMD_ON_SCREEN_QUEUED"),dejaAffiche:n("APP.LIVE.TOP_ALREADY_ON_SCREEN"),delai:(o,p)=>
1n("APP.LIVE.CMD_COOLDOWN_WAIT",{command:o,duree:p}),occupe:n("APP.LIVE.CMD_ON_SCREEN_BUSY"),indisponibleIci:n("APP.LIVE.CMD_NOT_AVAILABLE_HERE"),indisponible:n("APP.LIVE.CMD_RESULT_UNAVAILABLE")}).subscribe(o=>{this.activeLiveRoom?.id===e&&this.montrerAccuse(o)})}montrerAccuse(t){this.fermerAccuse(),this.accuse=t,this.minuterieAccuse=setTimeout(()=>{this.accuse=null,this.minuterieAccuse=null},i.DUREE_ACCUSE_MS)}fermerAccuse(){this.minuterieAccuse&&clearTimeout(this.minuterieAccuse),this.minuterieAccuse=null,this.accuse=null}sendChatMessage(){return P(this,null,function*(){let t=this.chatDraft.trim(),e=this.activeLiveRoom?.id;if(!(!t||!e||this.chatSending)){if(this.commandes.length&&t.startsWith("/")){if($e(t)){this.chatDraft="",this.fermerAccuse(),this.commandesOuvertes=!0,this.indexCommande=0,this.filtrerListe();return}let n=qe(this.commandes,Q(t)??"");if(n?He(n):null){this.chatDraft="",this.commandesOuvertes=!1,this.lancerCommandeAEcran(n.nom);return}}this.fermerAccuse(),this.commandesOuvertes=!1,this.chatSending=!0,this.chatError="";try{yield Z(this.liveApi.sendComment(e,t)),this.chatDraft="",this.showEmojiPicker=!1,this.autoScroll=!0,this.newCommentsCount=0,this.needsScrollToBottom=!0}catch(n){this.chatError=this.chatErrorMessage(n)}finally{this.chatSending=!1}}})}chatErrorMessage(t){let e=t?.error??{};if(t?.status===429){let n=e?.retryAfter??this.activeLiveRoom?.slowModeSeconds??0;return this.translate.instant("MANAGER.LIVE_COMMENTS.CHAT_ERR_SLOW_MODE",{seconds:n})}return t?.status===403?e?.message||this.translate.instant("MANAGER.LIVE_COMMENTS.CHAT_ERR_REJECTED"):this.translate.instant("MANAGER.LIVE_COMMENTS.CHAT_ERR_GENERIC")}onChatKeydown(t){t.key==="Enter"?(t.preventDefault(),this.sendChatMessage()):t.key==="Escape"&&(this.showEmojiPicker=!1,this.commandesOuvertes=!1,this.fermerAccuse())}toggleEmojiPicker(){this.showEmojiPicker=!this.showEmojiPicker}insertEmoji(t){let e=this.chatInput?.nativeElement;if(!e){this.chatDraft+=t;return}let n=e.selectionStart??this.chatDraft.length,o=e.selectionEnd??n;this.chatDraft=this.chatDraft.slice(0,n)+t+this.chatDraft.slice(o),setTimeout(()=>{let p=n+t.length;e.focus(),e.setSelectionRange(p,p)})}get editingDefaults(){return!this.activeLiveRoom}canEditRoomSettings(){return this.editingDefaults||this.isRoomOwner}openSettings(t){return P(this,null,function*(){this.settingsTab=t??(this.canEditRoomSettings()?"general":"moderators"),this.showSettings=!0,this.settingsError="",this.settingsLoading=!0,this.activeLiveRoom&&this.loadModeratorPanel();let e=this.activeLiveRoom;this.settingsDraft={label:e?.label??"",welcomeMessage:e?.welcomeMessage??"",commentsEnabled:e?.commentsEnabled!==!1,slowModeSeconds:e?.slowModeSeconds??0,strictCommentOrdering:e?.strictCommentOrdering===!0},this.settingsInitial=B({},this.settingsDraft),this.activeLiveRoom&&this.loadChatFilters();try{let n=yield this.liveService.getBroadcastSettings();this.settingsDraft.welcomeMessage||(this.settingsDraft.welcomeMessage=n?.defaultWelcomeMessage??""),this.settingsDraft.label||(this.settingsDraft.label=n?.defaultLabel??""),this.editingDefaults&&n&&(n.defaultCommentsEnabled!==void 0&&(this.settingsDraft.commentsEnabled=n.defaultCommentsEnabled!==!1),n.defaultSlowModeSeconds!==void 0&&(this.settingsDraft.slowModeSeconds=n.defaultSlowModeSeconds??0)),this.settingsInitial=B({},this.settingsDraft)}catch{}finally{this.settingsLoading=!1}})}closeSettings(){this.showSettings=!1,this.settingsError=""}loadModeratorPanel(){return P(this,null,function*(){this.moderatorsLoading=!0;try{yield this.loadModerators(),yield this.loadPromotableViewers()}finally{this.moderatorsLoading=!1}})}loadPromotableViewers(){return P(this,null,function*(){let t=this.activeLiveRoom?.id;if(!t){this.promotableViewers=[];return}this.promotableLoading=!0;try{let e=yield this.liveService.getParticipants(t,void 0,100);this.promotableViewers=e.items.filter(n=>!this.moderatorWsIds.has(n.workspaceId))}catch(e){console.error("[LiveStudio] loadPromotableViewers failed",e),this.promotableViewers=[]}finally{this.promotableLoading=!1}})}promoteFromList(t){return P(this,null,function*(){if(!this.moderationBusy){this.moderationBusy=!0;try{yield this.liveService.addModerator(t.workspaceId),yield this.loadModerators(),yield this.loadPromotableViewers()}catch(e){console.error("[LiveStudio] promoteFromList failed",e),this.settingsError=e?.error?.message||this.translate.instant("MANAGER.LIVE_COMMENTS.SETTINGS_SAVE_ERROR")}finally{this.moderationBusy=!1}}})}refreshPromotable(){this.loadPromotableViewers()}openGoalFromSettings(){this.showSettings=!1,this.openGoalSetup()}openPollFromSettings(){this.showSettings=!1,this.openPollCreate()}saveSettings(){return P(this,null,function*(){let t=this.activeLiveRoom?.id;if(this.settingsSaving)return;let e=this.settingsInitial,n=this.settingsDraft,o={};
1(!e||e.label!==n.label)&&(o.label=n.label.trim()),(!e||e.welcomeMessage!==n.welcomeMessage)&&(o.welcomeMessage=n.welcomeMessage.trim()),(!e||e.commentsEnabled!==n.commentsEnabled)&&(o.commentsEnabled=n.commentsEnabled),(!e||e.slowModeSeconds!==n.slowModeSeconds)&&(o.slowModeSeconds=n.slowModeSeconds),(!e||e.strictCommentOrdering!==n.strictCommentOrdering)&&(o.strictCommentOrdering=n.strictCommentOrdering),this.settingsSaving=!0,this.settingsError="";try{t&&Object.keys(o).length&&(yield this.liveService.updateRoomSettings(t,o),this.activeLiveRoom&&(o.label!==void 0&&(this.activeLiveRoom.label=o.label),o.welcomeMessage!==void 0&&(this.activeLiveRoom.welcomeMessage=o.welcomeMessage),o.commentsEnabled!==void 0&&(this.activeLiveRoom.commentsEnabled=o.commentsEnabled),o.slowModeSeconds!==void 0&&(this.activeLiveRoom.slowModeSeconds=o.slowModeSeconds),o.strictCommentOrdering!==void 0&&(this.activeLiveRoom.strictCommentOrdering=o.strictCommentOrdering)));try{yield this.liveService.saveBroadcastSettings({defaultLabel:n.label.trim()||null,defaultWelcomeMessage:n.welcomeMessage.trim()||null,defaultCommentsEnabled:n.commentsEnabled,defaultSlowModeSeconds:n.slowModeSeconds,defaultStrictCommentOrdering:n.strictCommentOrdering})}catch(p){console.error("[LiveStudio] saveBroadcastSettings failed",p)}this.settingsInitial=B({},n),this.showSettings=!1}catch(p){this.settingsError=p?.error?.message||this.translate.instant("MANAGER.LIVE_COMMENTS.SETTINGS_SAVE_ERROR")}finally{this.settingsSaving=!1}})}get visibilityLabel(){let t=this.activeLiveRoom?.visibility??"public";return this.translate.instant(`MANAGER.LIVE_COMMENTS.VISIBILITY_${t.toUpperCase()}`)}loadChatFilters(){return P(this,null,function*(){this.chatFiltersLoading=!0;try{this.chatFilters=yield this.liveService.getChatFilters()}catch(t){console.error("[LiveStudio] getChatFilters failed",t),this.chatFilters=[]}finally{this.chatFiltersLoading=!1}})}addChatFilter(){return P(this,null,function*(){let t=this.chatFilterDraft.trim().toLowerCase();if(!(!t||this.chatFilterBusy)){if(this.chatFilters.some(e=>e.word===t)){this.chatFilterDraft="";return}this.chatFilterBusy=!0;try{let e=yield this.liveService.addChatFilter(t);this.chatFilters=[e,...this.chatFilters],this.chatFilterDraft=""}catch(e){this.settingsError=e?.error?.message||this.translate.instant("MANAGER.LIVE_COMMENTS.SETTINGS_SAVE_ERROR")}finally{this.chatFilterBusy=!1}}})}removeChatFilter(t){return P(this,null,function*(){let e=this.chatFilters;this.chatFilters=this.chatFilters.filter(n=>n.id!==t.id);try{yield this.liveService.removeChatFilter(t.id)}catch(n){console.error("[LiveStudio] removeChatFilter failed",n),this.chatFilters=e}})}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=H({type:i,selectors:[["app-view-manager-live-comments"]],viewQuery:function(e,n){if(e&1&&(z(lt,5),z(st,5),z(ct,5),z(dt,5),z(ne,5)),e&2){let o;F(o=U())&&(n.previewVideo=o.first),F(o=U())&&(n.previewAudioSink=o.first),F(o=U())&&(n.chatInput=o.first),F(o=U())&&(n.feedContainer=o.first),F(o=U())&&(n.giftAnim=o.first)}},hostBindings:function(e,n){e&1&&u("fullscreenchange",function(){return n.onFullscreenChange()},!1,J)("visibilitychange",function(){return n.onWindowResumed()},!1,J)("online",function(){return n.onWindowResumed()},!1,pe)},features:[fe([ie])],decls:61,vars:61,consts:[["feedContainer",""],["chatInput",""],["previewVideo",""],["previewAudioSink",""],[1,"live-comments"],[1,"live-toolbar"],[1,"live-toolbar__left"],["href","/studio/live","title","Hou.la",1,"live-logo"],["src","assets/images/hou.la-logo-light.svg","alt","Hou.la",1,"live-logo__img"],[1,"live-workspace-chip"],[1,"live-indicator"],[1,"live-toolbar__center"],[1,"toolbar-page-title"],[1,"pi","pi-comments"],["type","button","tooltipPosition","bottom","appendTo","body",1,"session-timer","session-timer--btn",3,"session-timer--paused","disabled","pTooltip"],[1,"session-timer","session-timer--inactive"],[1,"live-toolbar__right"],[1,"toolbar-dropdown-wrapper"],["type","button","tooltipPosition","bottom","appendTo","body",1,"toolbar-btn","toolbar-btn--accent",3,"click","pTooltip"],[1,"pi","pi-refresh"],[1,"pi","pi-chevron-down",2,"font-size","8px","margin-left","2px"],[1,"toolbar-dropdown"],[1,"toolbar-separator"],["type","button","tooltipPosition","bottom","appendTo","body",1,"toolbar-btn",3,"click","pTooltip"],[1,"pi","pi-cog"],["type","button","tooltipPosition","bottom","appendTo","body",1,"toolbar-btn",3,"toolbar-btn--active","pTooltip"],[1,"pi"],[1,"toolbar-zoom"],[1,"pi","pi-minus"],[1,"toolbar-zoom__value"],[1,"pi","pi-plus"],[1,"live-comments__center"],[1,"live-comments__body","live-offline"],[1,"live-comments__body",3,"zoom"],[3,"gift","soundEnabled"],["aria-hidden","true",1,"heart-fountain"],[1,"g
1ift-overlay"],[1,"side-modal-overlay"],[1,"mod-overlay"],[1,"live-ended-overlay"],[1,"live-comments__connection-warning"],["shape","square",3,"workspace","size"],[1,"live-workspace-chip__name"],[1,"live-dot"],["type","button","tooltipPosition","bottom","appendTo","body",1,"session-timer","session-timer--btn",3,"click","disabled","pTooltip"],[1,"session-timer__paused-badge"],[1,"pi","pi-info-circle"],[1,"toolbar-dropdown",3,"click"],[1,"toolbar-dropdown__item",3,"click"],[1,"pi","pi-sync"],[1,"pi","pi-spin","pi-spinner",2,"font-size","2rem"],[1,"live-offline__bar"],[1,"live-offline__title"],[1,"live-offline__hint"],[1,"live-offline__actions"],["type","button",1,"btn","btn-link",3,"click"],[1,"pi","pi-sync","me-2"],["type","button",1,"btn","btn-outline-secondary",3,"click"],[1,"pi","pi-cog","me-2"],["routerLink","/studio/live",1,"btn","btn-primary"],[1,"pi","pi-video","me-2"],[1,"live-columns"],[1,"live-col","live-col--center"],[1,"live-offline__zone"],[1,"live-offline__zone-title"],[1,"live-offline__zone-desc"],[1,"live-col","live-col--preview"],[1,"live-col","live-col--right"],[1,"pi","pi-gift"],[1,"pi","pi-bolt"],[1,"pi","pi-trophy"],[1,"pi","pi-video"],[1,"live-comments__body"],[1,"live-comments__kpi-bar"],["type","button","tooltipPosition","bottom","appendTo","body",1,"kpi-tile","kpi-tile--viewers","kpi-tile--clickable",3,"click","pTooltip"],[1,"kpi-tile__icon"],[1,"pi","pi-eye"],[1,"kpi-tile__data"],[1,"kpi-tile__value"],[1,"kpi-tile__label"],[1,"kpi-tile","kpi-tile--peak"],[1,"pi","pi-arrow-up"],[1,"kpi-tile","kpi-tile--likes"],[1,"pi","pi-heart-fill"],["type","button","tooltipPosition","bottom","appendTo","body",1,"kpi-tile","kpi-tile--stars","kpi-tile--clickable",3,"click","pTooltip"],[1,"pi","pi-star-fill"],[1,"kpi-tile","kpi-tile--comments"],["type","button","tooltipPosition","bottom","appendTo","body",1,"kpi-tile","kpi-tile--moderated","kpi-tile--clickable",3,"click","pTooltip"],[1,"pi","pi-ban"],["type","button","tooltipPosition","bottom","appendTo","body",1,"kpi-tile","kpi-tile--moderators","kpi-tile--clickable",3,"click","pTooltip"],[1,"pi","pi-shield"],[1,"comments-toolbar"],["type","button",1,"comments-toolbar__filter",3,"click"],[1,"pi",3,"ngClass"],[1,"comments-toolbar__count"],["type","button","tooltipPosition","left","appendTo","body",1,"comments-toolbar__poll-btn",3,"pTooltip"],[1,"poll-card",3,"poll-card--closed"],[1,"pinned-comment",3,"pinned-comment--by-mod"],[1,"live-comments__feed",3,"scroll"],[1,"live-comments__empty"],["type","button",1,"new-comments-badge"],[1,"chat-composer"],[1,"panel","gifts-panel"],[1,"panel__header"],[1,"panel__title"],[3,"goal"],["type","button","tooltipPosition","left","appendTo","body",1,"goal-define-btn",3,"pTooltip"],[1,"panel__empty"],[1,"gift-item"],[1,"panel","events-panel"],[2,"display","flex","flex-direction","column","gap","0.4rem","margin-bottom","0.7rem","padding","0.5rem 0.6rem","border","1px solid rgba(155, 92, 255, 0.35)","border-radius","8px","background","rgba(155, 92, 255, 0.08)"],[1,"event-item"],[1,"panel","donors-panel"],[1,"donor-item",3,"donor-item--top1","donor-item--top2","donor-item--top3"],["type","button","tooltipPosition","left","appendTo","body",1,"comments-toolbar__poll-btn",3,"click","pTooltip"],[1,"pi","pi-chart-bar"],[1,"poll-card"],[1,"poll-card__head"],[1,"poll-card__q"],[1,"poll-card__timer"],[1,"poll-card__timer","poll-card__timer--done"],[1,"poll-card__options"],[1,"poll-opt"],[1,"poll-card__foot"],[1,"poll-card__total"],["type","button",1,"poll-card__action",3,"click","disabled"],[1,"poll-card__error"],[1,"pi","pi-clock"],[1,"poll-opt__fill"],[1,"poll-opt__label"],[1,"poll-opt__pct"],[1,"pi","pi-exclamation-triangle"],[1,"pinned-comment"],[1,"pinned-comment__header"],[1,"pinned-comment__header-label"],[1,"pi","pi-thumbtack"],["type","button","tooltipPosition","left","appendTo","body",1,"pinned-comment__unpin",3,"click","pTooltip"],[1,"pi","pi-times"],[1,"pinned-comment__body"],[1,"pinned-comment__avatar"],[1,"pinned-comment__avatar-fallback"],[1,"pinned-comment__content"],[1,"pinned-comment__name"],[1,"comment-badge","comment-badge--host"],[1,"pi","pi-verified"],[1,"pinned-comment__text"],["referrerpolicy","no-referrer",3,"src","alt"],["referrerpolicy","no-referrer",3,"error","src","alt"],[1,"mention"],[1,"pi","pi-comments",2,"font-size","2rem","opacity","0.3"],[1,"auction-line",3,"auction-line--won"],["tooltipPosition","left","appendTo","body",1,"comment-item",3,"comment-item--verified","comment-item--host","comment-item--moderatable","comment-item--banned","comment-item--deleted","comment-item--priority","comment-item--command","pTooltip"],[1,"auction-line"],[1,"auction-line__icon"],[1,"auction-line__name"],[1,"auction-line__text"],["tooltipPosition","left","appendTo","body",1,"comment-item",3,"click","pTooltip"],[1,"comment-avatar"],[1,"comment-avatar__fallback"],[1,"comment-content"],[1,"comment-paid"],[1,"comment-name-line"],[1,"comment-badge","comment-badge--bot"],[1,"comment-badge","comment-badge--mod"],[1,"comment-name"],[1,"pi","pi-verified","comment-verified"],[1,"comment-badge","comment-badge--deleted"],[1,"comment-text"],[1,"comment-cmdtag"],[1,"comment-coins"],[1,"comment-actions"],["referrerpolicy","no-referrer",1,"comment-avatar__img",3,"src","alt"],["referrerpolicy","no-referrer",1,"comment-avatar__img",3,"error","src","alt"],[1,"pi","pi-megaphone"],[1,"pi","pi-android"],["type","button","tooltipPosition","left","appendTo","body",1,"comment-pin-btn",3,"click","pTooltip"],["type","button","tooltipPosition","left","appendTo","body",1,"comment-del-btn",3,"click","pTooltip"],[1,"pi","pi-trash"],["type","button",1,"new-comments-badge",3,"click"],[1,"pi","pi-arrow-down"],[1,"chat-composer__error"],[1,"emoji-picker"],["role","status",1,"chat-cmd-accuse"],[1,"chat-cmd"],[1,"chat-composer__row"],["type","button","tooltipPosition","top","appendTo","body",1,"chat-composer__emoji-btn","chat-composer__cmd-btn",3,"chat-composer__emoji-btn--active","pTooltip"],["type","button","tooltipPosition","top","appendTo","body",1,"chat-composer__emoji-btn",3,"click","pTooltip"],[1,"pi","pi-face-smile"],["type","text","maxlength","1000",1,"chat-composer__input",3,"ngModelChange","keydown","ngModel","disabled","placeholder"],["type","button",1,"chat-composer__send",3,"click","disabled"],[1,"pi","pi-spin","pi-spinner"],[1,"pi","pi-send"],[1,"chat-composer__hint"],["type","button",1,"chat-composer__error-close",3,"click"],[1,"emoji-picker__tabs"],["type","button",1,"emoji-picker__tab",3,"emoji-picker__tab--active"],[1,"emoji-picker__grid"],["type","button",1,"emoji-picker__item"],["type","button",1,"emoji-picker__tab",3,"click"],["type","button",1,"emoji-picker__item",3,"click"],["aria-hidden","true"],[1,"chat-cmd__head"],[1,"chat-cmd__hint"],["type","button",1,"chat-cmd__close",3,"click"],[1,"chat-cmd__empty"],["type","button",1,"chat-cmd__row","chat-cmd__row--clic"],["type","button",1,"chat-cmd__row","chat-cmd__row--clic",3,"click"],[1,"chat-cmd__name"],[1,"chat-cmd__desc"],[1,"chat-cmd__price"],["type","button","tooltipPosition","top","appendTo","body",1,"chat-composer__emoji-btn","chat-composer__cmd-btn",3,"click","pTooltip"],[1,"preview-panel"],[1,"preview-panel__header"],[1,"preview-panel__title"],[1,"preview-panel__actions"],["type","button","tooltipPosition","left","appendTo","body",1,"preview-panel__btn",3,"click","pTooltip"],[1,"preview-panel__stage-wrap"],[1,"preview-phone"],[1,"preview-panel__stage"],["autoplay","","playsinline","","muted","",1,"preview-panel__video"],[1,"preview-panel__audio-sink"],[1,"preview-phone__island"],[1,"preview-panel__overlay"],[1,"preview-panel__paused"],[1,"preview-panel__foot"],["type","button",1,"preview-panel__retry",3,"click"],[1,"pi","pi-pause"],[3,"clicked","goal"],["type","button","tooltipPosition","left","appendTo","body",1,"goal-
1define-btn",3,"click","pTooltip"],[1,"pi","pi-flag-fill"],[1,"gift-item__img-fallback"],[1,"gift-item__info"],[1,"gift-item__sender"],[1,"gift-item__sender-av","gift-item__sender-av--fb"],[1,"gift-item__name"],[1,"gift-item__qty"],[1,"gift-item__cost"],["referrerpolicy","no-referrer",1,"gift-item__img",3,"src","alt"],["referrerpolicy","no-referrer",1,"gift-item__img",3,"error","src","alt"],["referrerpolicy","no-referrer",1,"gift-item__sender-av",3,"src"],["referrerpolicy","no-referrer",1,"gift-item__sender-av",3,"error","src"],[2,"display","flex","align-items","center","justify-content","space-between","gap","0.5rem","flex-wrap","wrap"],[2,"font-size","0.85em"],[2,"opacity","0.7"],[2,"display","flex","gap","0.35rem"],["type","button",2,"background","#7c3aed","color","#fff","border","none","border-radius","6px","padding","0.25rem 0.6rem","font-size","0.8em","cursor","pointer",3,"click"],[1,"pi","pi-search"],["type","button",2,"background","transparent","color","#f87171","border","1px solid #f87171","border-radius","6px","padding","0.25rem 0.5rem","font-size","0.8em","cursor","pointer"],[1,"pi","pi-bolt",2,"color","#b98bff"],["type","button",2,"background","transparent","color","#f87171","border","1px solid #f87171","border-radius","6px","padding","0.25rem 0.5rem","font-size","0.8em","cursor","pointer",3,"click"],[1,"event-item__icon"],[1,"event-item__name"],[1,"event-item__label"],[1,"donor-item"],[1,"donor-rank"],[1,"pi","pi-star-fill","donor-rank__star"],[1,"donor-avatar"],[1,"donor-avatar__fallback"],[1,"donor-info"],[1,"donor-name"],[1,"donor-stats"],[1,"donor-coins"],["referrerpolicy","no-referrer",1,"donor-avatar__img",3,"src","alt"],["referrerpolicy","no-referrer",1,"donor-avatar__img",3,"error","src","alt"],[1,"pi","pi-heart-fill","heart-fountain__heart",3,"right","font-size","color","--heart-drift","--heart-rise","animation-duration"],[1,"pi","pi-heart-fill","heart-fountain__heart"],[1,"gift-overlay",3,"click"],[1,"gift-overlay__content"],[1,"gift-overlay__text"],[1,"gift-overlay__sender"],[1,"gift-overlay__gift-name"],["referrerpolicy","no-referrer",1,"gift-overlay__img",3,"src","alt"],[1,"gift-overlay__img","gift-overlay__img--fallback"],["referrerpolicy","no-referrer",1,"gift-overlay__img",3,"error","src","alt"],[1,"side-modal-overlay",3,"click"],[1,"side-modal",3,"click"],[1,"side-modal__header"],[1,"side-modal__title"],[1,"side-modal__count"],["type","button",1,"side-modal__close",3,"click"],[1,"side-modal__body"],[1,"side-modal__loading"],[1,"side-modal__empty"],["tooltipPosition","left","appendTo","body",1,"viewer-row","viewer-row--clickable",3,"pTooltip"],["tooltipPosition","left","appendTo","body",1,"viewer-row","viewer-row--clickable",3,"click","pTooltip"],[1,"viewer-row__avatar"],[1,"viewer-row__fallback"],[1,"viewer-row__info"],[1,"viewer-row__name"],[1,"viewer-row__slug"],[1,"viewer-row__badge","viewer-row__badge--mod"],[1,"gift-row"],[1,"gift-row__img"],[1,"gift-row__info"],[1,"gift-row__sender"],[1,"gift-row__sender-av","gift-row__sender-av--fb"],[1,"gift-row__name"],[1,"gift-row__qty"],[1,"gift-row__meta"],[1,"g
1ift-row__coins"],["referrerpolicy","no-referrer",1,"gift-row__sender-av",3,"src"],["referrerpolicy","no-referrer",1,"gift-row__sender-av",3,"error","src"],[1,"mod-overlay",3,"click"],[1,"mod-modal",3,"click"],["type","button",1,"mod-modal__close",3,"click"],[1,"mod-modal__profile"],[1,"mod-modal__avatar"],[1,"mod-modal__avatar-fallback"],[1,"mod-modal__name"],[1,"mod-modal__slug"],[1,"mod-modal__loading"],[1,"mod-modal__stats"],[1,"mod-modal__actions"],["type","button",1,"mod-btn","mod-btn--unban",3,"disabled"],[1,"mod-durations"],[1,"mod-chip","mod-chip--friend"],[1,"mod-chip"],["type","button",1,"mod-btn","mod-btn--demote",3,"disabled"],["type","button",1,"mod-btn","mod-btn--promote",3,"disabled"],["type","button",1,"mod-btn","mod-btn--demote",3,"click","disabled"],["type","button",1,"mod-btn","mod-btn--promote",3,"click","disabled"],["type","button",1,"mod-btn","mod-btn--unban",3,"click","disabled"],[1,"pi","pi-check-circle"],[1,"mod-durations__label"],[1,"mod-durations__row"],["type","button",1,"mod-duration-chip",3,"disabled"],["type","button",1,"mod-btn","mod-btn--cancel",3,"click"],["type","button",1,"mod-duration-chip",3,"click","disabled"],["type","button",1,"mod-btn","mod-btn--mute",3,"click","disabled"],["type","button",1,"mod-btn","mod-btn--ban",3,"click","disabled"],[1,"viewer-row"],["type","button",1,"viewer-row__unban",3,"click","disabled"],[1,"poll-create",3,"click"],[1,"goal-setup__header"],[1,"goal-setup__title"],[1,"poll-create__body"],["maxlength","120",1,"goal-setup__label","poll-create__q",3,"ngModelChange","ngModel","placeholder"],[1,"poll-opt-input"],["type","button",1,"poll-add-option"],[1,"poll-durations"],[1,"poll-durations__label"],[1,"poll-durations__row"],["type","button",1,"poll-dur-chip",3,"poll-dur-chip--active"],[1,"goal-setup__footer"],["type","button",1,"goal-setup__save",3,"click","disabled"],[1,"pi","pi-play"],["maxlength","60",3,"ngModelChange","ngModel","placeholder"],["type","button",1,"poll-opt-input__rm"],["type","button",1,"poll-opt-input__rm",3,"click"],["type","button",1,"poll-add-option",3,"click"],["type","button",1,"poll-dur-chip",3,"click"],[1,"goal-setup",3,"click"],["maxlength","60",1,"goal-setup__label",3,"ngModelChange","ngModel","placeholder"],[1,"goal-setup__body"],[1,"goal-grid"],["type","button",1,"mod-btn","mod-btn--cancel",3,"disabled"],[1,"pi","pi-check"],[1,"goal-gift",3,"goal-gift--selected"],[1,"goal-gift"],[1,"goal-gift__img"],[1,"goal-gift__name"],[1,"goal-gift__cost"],[1,"goal-gift__stepper"],["type","button",3,"click","disabled"],["type","button",3,"click"],["type","button",1,"mod-btn","mod-btn--cancel",3,"click","disabled"],[1,"live-settings",3,"click"],[1,"live-settings__rail"],[1,"live-settings__rail-title"],["type","button",1,"live-settings__tab",3,"live-settings__tab--active","disabled"],[1,"live-settings__main"],[1,"live-settings__scope"],[1,"live-settings__header"],[1,"live-settings__title"],[1,"live-settings__body"],[1,"live-settings__error"],[1,"live-settings__notice"],[1,"settings-card","settings-card--locked"],[1,"live-settings__footer"],["type","button",1,"live-settings__tab",3,"click","disabled"],[1,"pi","pi-lock","live-settings__tab-lock"],[1,"settings-card"],[1,"settings-card__head"],[1,"pi","pi-tag"],["type","text","maxlength","100",1,"settings-input",3,"ngModelChange","disabled","ngModel","placeholder"],[1,"pi","pi-comment"],[1,"settings-card__desc"],["maxlength","300","rows","2",1,"settings-input","settings-input--area",3,"ngModelChange","disabled","ngModel","placeholder"],[1,"settings-row"],[1,"settings-row__text"],[1,"settings-row__title"],[1,"settings-row__desc"],["type","button",1,"settings-switch",3,"click","disabled"],[1,"settings-switch__knob"],[1,"settings-group"],[1,"settings-chips"],["type","button",1,"settings-chip",3,"settings-chip--active"],["type","button",1,"settings-switch",3,"click"],[1,"pi","pi-filter"],[1,"settings-filter-add"],["type","text","maxlength","50",1,"settings-input",3,"ngModelChange","keydown.enter","ngModel","placeholder"],["type","button",1,"settings-filter-add__btn",3,"click","disabled"],[1,"settings-card__empty"],[1,"settings-filter-list"],["type","button",1,"settings-chip",3,"click"],[1,"settings-filter-chip"],[1,"settings-card__count"],[1,"settings-people"],[1,"pi","pi-user-plus"],["type","button","tooltipPosition","left","appendTo","body",1,"settings-card__action",3,"click","disabled","pTooltip"],[1,"settings-person"],["tooltipPosition","top","appendTo","body",1,"settings-person__dot",3,"pTooltip"],[1,"settings-person__name"],["type","button",1,"settings-person__btn","settings-person__btn--revoke",3,"click","disabled"],["type","button",1,"settings-person__btn","settings-person__btn--promote",3,"click","disabled"],["type","button",1,"settings-launcher",3,"click"],[1,"settings-launcher__text"],[1,"settings-launcher__title"],[1,"settings-launcher__desc"],[1,"pi","pi-chevron-right"],[1,"pi","pi-lock"],[1,"settings-locked-row"],[1,"settings-locked-row__label"],[1,"settings-locked-row__value"],["type","button",1,"live-settings__cancel",3,"click"],["type","button",1,"live-settings__save",3,"click","disabled"],[1,"live-ended-overlay",3,"click"],[1,"live-ended-modal",3,"click"],[1,"live-ended-modal__icon"],[1,"pi","pi-stop-circle"],[1,"live-ended-modal__title"],[1,"live-ended-modal__sub"],[1,"live-ended-modal__kpis"],[1,"live-ended-kpi"],[1,"live-ended-kpi__value"],[1,"live-ended-kpi__label"],[1,"live-ended-modal__btn",3,"click"]],template:function(e,n){e&1&&(r(0,"div",4)(1,"header",5)(2,"div",6)(3,"a",7),_(4,"img",8),l(),x(5,gt,4,3,"div",9)(6,vt,3,0,"span",10),l(),r(7,"div",11)(8,"span",12),_(9,"i",13),c(10),d(11,"translate"),l(),x(12,Ct,5,12,"button",14)(13,ut,4,3,"span",15),l(),r(14,"div",16)(15,"div",17)(16,"button",18),d(17,"translate"),u("click",function(){return n.showRefreshMenu=!n.showRefreshMenu}),_(18,"i",19)(19,"i",20),l(),x(20,xt,5,3,"div",21),l(),_(21,"span",22),r(22,"button",23),d(23,"translate"),u("click",function(){return n.openSettings()}),_(24,"i",24),l(),x(25,ht,3,9,"button",25),_(26,"span",22),r(27,"button",23),d(28,"translate"),u("click",function(){return n.toggleSound()}),_(29,"i",26),l(),_(30,"span",22),r(31,"button",23),d(32,"translate"),u("click",function(){return n.toggleDarkMode()}),_(33,"i",26),l(),r(34,"span",27)(35,"button",23),d(36,"translate"),u("click",function(){return n.zoomOut()}),_(37,"i",28),l(),r(38,"span",29),c(39),l(),r(40,"button",23),d(41,"translate"),u("click",function(){return n.zoomIn()}),_(42,"i",30),l()(),r(43,"button",23),d(44,"translate"),u("click",function(){return n.toggleFullscreen()}),_(45,"i",26),l()()(),x(46,Mt,2,0,"div",31)(47,wt,49,33,"div",32)(48,nn,118,74,"div",33),_(49,"app-live-gift-animation",34),x(50,an,3,0,"div",35)(51,cn,8,4,"div",36)(52,Mn,15,5,"div",37)(53,Rn,15,5,"div",37)(54,eo,19,7,"div",38)(55,_o,15,5,"div",37)(56,ho,27,15,"div",38)(57,To,20,13,"div",38)(58,ta,27,15,"div",38)(59,ia,32,21,"div",39)(60,na,4,3,"div",40),l()),e&2&&(E("live-comments--dark",n.darkMode),a(5),v(n.currentWorkspace?5:-1),a(),v(n.activeLiveRoom?6:-1),a(4),g(" ",m(11,45,"MANAGER.LIVE_COMMENTS.TITLE")," "),a(2),v(n.activeLiveRoom?12:-1),a(),v(!n.loading&&!n.activeLiveRoom?13:-1),a(3),h("pTooltip",m(17,47,"MANAGER.SHOP_LIVE.REFRESH_TOOLTIP")),a(4),v(n.showRefreshMenu?20:-1),a(2),h("pTooltip",m(23,49,"MANAGER.LIVE_COMMENTS.SETTINGS_TITLE")),a(3),v(n.activeLiveRoom?25:-1),a(2),h("pTooltip",m(28,51,"MANAGER.SHOP_LIVE.TOGGLE_SOUND")),a(2),E("pi-volume-up",n.soundEnabled)("pi-volume-off",!n.soundEnabled),a(2),h("pTooltip",m(32,53,"MANAGER.SHOP_LIVE.TOGGLE_DARK")),a(2),E("pi-moon",!n.darkMode)("pi-sun",n.darkMode),a(2),h("pTooltip",m(36,55,"MANAGER.SHOP_LIVE.ZOOM_OUT")),a(4),g("",n.zoomLevel,"%"),a(),h("pTooltip",m(41,57,"MANAGER.SHOP_LIVE.ZOOM_IN")),a(3),h("pTooltip",m(44,59,"MANAGER.SHOP_LIVE.TOGGLE_FULLSCREEN")),a(2),E("pi-window-maximize",!n.isFullscreen)("pi-window-minimize",n.isFullscreen),a(),v(n.loading?46:-1),a(),v(!n.loading&&!n.activeLiveRoom&&!n.liveEndedRoom?47:-1),a(),v(!n.loading&&(n.activeLiveRoom||n.liveEndedRoom)?48:-1),a(),h("gift",n.giftAnimation)("soundEnabled",n.soundEnabled),a(),v(n.heartBursts.length?50:-1),a(),v(n.showGiftOverlay&&n.currentGift?51:-1),a(),v(n.showViewerList?52:-1),a(),v(n.showStarsList?53:-1),a(),v(n.showModerationModal&&n.moderationTarget?54:-1),a(),v(n.showSanctions?55:-1),a(),v(n.showPollCreate?56:-1),a(),v(n.showGoalSetup?57:-1),a(),v(n.showSettings?58:-1),a(),v(n.showLiveEndedModal?59:-1),a(),v(n.connectionState!=="connected"?60:-1))},dependencies:[K,ue,Ae,ke,Le,Ie,Ve,Me,he,Ee,Pe,Ne,Re,Ge,Be,ne,Y,X],styles:['@charset "UTF-8";.live-comments[_ngcontent-%COMP%]{--live-bg: #f1f5f9;--live-surface: #ffffff;--live-border: #e2e8f0;--live-text: #1e293b;--live-text-secondary: #64748b;--live-text-muted: #94a3b8;--live-accent: #6366f1;--live-toolbar-bg: #1e293b;--live-kpi-highlight: rgba(99, 102, 241, .08);
1--live-preview-ratio: 1206 / 2622;--live-preview-ratio-num: .45995;--live-preview-bezel: 12px;width:100vw;height:100vh;display:flex;flex-direction:column;overflow:hidden;background:var(--live-bg);color:var(--live-text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:13px;z-index:9999;position:fixed;inset:0;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.28) transparent}.live-comments--dark[_ngcontent-%COMP%]{--live-bg: #0f172a;--live-surface: #1e293b;--live-border: #334155;--live-text: #f1f5f9;--live-text-secondary: #94a3b8;--live-text-muted: #64748b;--live-toolbar-bg: #020617;--live-kpi-highlight: rgba(99, 102, 241, .15)}.live-comments--dark[_ngcontent-%COMP%]   .kpi-item[_ngcontent-%COMP%]{background:var(--live-surface);border-color:var(--live-border)}.live-comments--dark[_ngcontent-%COMP%]   .comment-item[_ngcontent-%COMP%]:hover{background:#ffffff08}.live-comments--dark[_ngcontent-%COMP%]   .comment-avatar__fallback[_ngcontent-%COMP%], .live-comments--dark[_ngcontent-%COMP%]   .donor-avatar__fallback[_ngcontent-%COMP%]{background:#336}.live-comments--dark[_ngcontent-%COMP%]   .gift-item[_ngcontent-%COMP%]{border-color:var(--live-border)}.live-comments--dark[_ngcontent-%COMP%]   .live-ended-modal[_ngcontent-%COMP%]{background:#1e293b}.live-comments--dark[_ngcontent-%COMP%]   .live-comments__connection-warning[_ngcontent-%COMP%]{background:#420;color:#fc0}.live-comments[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.live-comments[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.live-comments[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#00000047;border-radius:8px;border:2px solid transparent;background-clip:padding-box}.live-comments[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#00000073;background-clip:padding-box}.live-comments[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]::-webkit-scrollbar-corner{background:transparent}.live-comments--dark[_ngcontent-%COMP%]{scrollbar-color:rgba(255,255,255,.24) transparent}.live-comments--dark[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ffffff3d;background-clip:padding-box}.live-comments--dark[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#fff6;background-clip:padding-box}.live-comments__center[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem}.live-comments__body[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;overflow:hidden;min-height:0}.live-comments__auto-detect-hint[_ngcontent-%COMP%]{font-size:.85rem;opacity:.5;margin-top:.5rem}.live-comments__kpi-bar[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:10px 16px;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .kpi-tile[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;background:var(--live-surface);border:1px solid var(--live-border);border-radius:10px;padding:8px 10px;min-width:0}.live-comments[_ngcontent-%COMP%]   .kpi-tile__icon[_ngcontent-%COMP%]{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .kpi-tile__data[_ngcontent-%COMP%]{min-width:0}.live-comments[_ngcontent-%COMP%]   .kpi-tile__value[_ngcontent-%COMP%]{font-size:clamp(18px,2.5vw,30px);font-weight:700;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-comments[_ngcontent-%COMP%]   .kpi-tile__label[_ngcontent-%COMP%]{font-size:12px;color:var(--live-text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-comments[_ngcontent-%COMP%]   .kpi-tile--viewers[_ngcontent-%COMP%]   .kpi-tile__icon[_ngcontent-%COMP%]{background:#8b5cf61f;color:#8b5cf6}.live-comments[_ngcontent-%COMP%]   .kpi-tile--peak[_ngcontent-%COMP%]   .kpi-tile__icon[_ngcontent-%COMP%]{background:#0ea5e91f;color:#0ea5e9}.live-comments[_ngcontent-%COMP%]   .kpi-tile--likes[_ngcontent-%COMP%]   .kpi-tile__icon[_ngcontent-%COMP%]{background:#ef44441f;color:#ef4444}.live-comments[_ngcontent-%COMP%]   .kpi-tile--likes[_ngcontent-%COMP%]   .kpi-tile__value[_ngcontent-%COMP%]{color:#ef4444}.live-comments[_ngcontent-%COMP%]   .kpi-tile--stars[_ngcontent-%COMP%]   .kpi-tile__icon[_ngcontent-%COMP%]{background:#f59e0b1f;color:#f59e0b}.live-comments[_ngcontent-%COMP%]   .kpi-tile--stars[_ngcontent-%COMP%]   .kpi-tile__value[_ngcontent-%COMP%]{color:#f59e0b}.live-comments[_ngcontent-%COMP%]   .kpi-tile--comments[_ngcontent-%COMP%]   .kpi-tile__icon[_ngcontent-%COMP%]{background:#6366f11f;color:#6366f1}.live-comments[_ngcontent-%COMP%]   .kpi-tile--moderated[_ngcontent-%COMP%]   .kpi-tile__icon[_ngcontent-%COMP%]{background:#ef44441f;color:#ef4444}.live-comments[_ngcontent-%COMP%]   .kpi-tile--clickable[_ngcontent-%COMP%]{cursor:pointer;font:inherit;color:inherit;text-align:left;transition:border-color .15s ease,transform .1s ease}.live-comments[_ngcontent-%COMP%]   .kpi-tile--clickable[_ngcontent-%COMP%]:hover{border-color:#3b82f6}.live-comments[_ngcontent-%COMP%]   .kpi-tile--clickable[_ngcontent-%COMP%]:active{transform:scale(.98)}.live-comments[_ngcontent-%COMP%]   .live-columns[_ngcontent-%COMP%]{flex:1;display:grid;grid-template-columns:1fr;gap:0;overflow:hidden;min-height:0}.live-comments[_ngcontent-%COMP%]   .live-col[_ngcontent-%COMP%]{overflow-y:auto;min-height:0}.live-comments[_ngcontent-%COMP%]   .live-col--left[_ngcontent-%COMP%]{border-right:1px solid var(--live-border);padding:0;display:none;flex-direction:column;gap:0}.live-comments[_ngcontent-%COMP%]   .live-col--center[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative}.live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]{border-left:1px solid var(--live-border);padding:0;display:none;flex-direction:column;gap:0}.live-comments[_ngcontent-%COMP%]   .live-col--preview[_ngcontent-%COMP%]{padding:0;display:none;flex-direction:column;gap:0;overflow:hidden}.live-comments[_ngcontent-%COMP%]   .panel[_ngcontent-%COMP%]{padding:.75rem}.live-comments[_ngcontent-%COMP%]   .panel__title[_ngcontent-%COMP%]{font-size:.85rem;font-weight:700;margin-bottom:.6rem;display:flex;align-items:center;gap:.4rem;text-transform:uppercase;letter-spacing:.5px;opacity:.7}.live-comments[_ngcontent-%COMP%]   .panel__title[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.85rem}.live-comments[_ngcontent-%COMP%]   .panel__empty[_ngcontent-%COMP%]{opacity:.4;font-size:.8rem;text-align:center;padding:1rem 0}.live-comments[_ngcontent-%COMP%]   .gift-goal-panel[_ngcontent-%COMP%]{border-bottom:1px solid var(--live-border)}.live-comments[_ngcontent-%COMP%]   .gift-goal__label[_ngcontent-%COMP%]{font-weight:600;font-size:.9rem;margin-bottom:.5rem}.live-comments[_ngcontent-%COMP%]   .gift-goal__bar[_ngcontent-%COMP%]{height:8px;background:#6366f126;border-radius:4px;overflow:hidden;margin-bottom:.3rem}
1.live-comments[_ngcontent-%COMP%]   .gift-goal__fill[_ngcontent-%COMP%]{height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:4px;transition:width .5s ease}.live-comments[_ngcontent-%COMP%]   .gift-goal__fill--complete[_ngcontent-%COMP%]{background:linear-gradient(90deg,#22c55e,#16a34a)}.live-comments[_ngcontent-%COMP%]   .gift-goal__percent[_ngcontent-%COMP%]{text-align:right;font-size:.75rem;font-weight:600;color:var(--live-accent);margin-bottom:.5rem}.live-comments[_ngcontent-%COMP%]   .gift-goal__item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.4rem;padding:.3rem 0;font-size:.8rem}.live-comments[_ngcontent-%COMP%]   .gift-goal__item-img[_ngcontent-%COMP%]{width:24px;height:24px;object-fit:contain}.live-comments[_ngcontent-%COMP%]   .gift-goal__item-name[_ngcontent-%COMP%]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-comments[_ngcontent-%COMP%]   .gift-goal__item-progress[_ngcontent-%COMP%]{font-weight:600;font-variant-numeric:tabular-nums}.live-comments[_ngcontent-%COMP%]   .gift-goal__complete[_ngcontent-%COMP%]{margin-top:.5rem;padding:.4rem;background:#22c55e1f;border-radius:6px;color:#22c55e;font-weight:600;font-size:.8rem;display:flex;align-items:center;gap:.4rem;justify-content:center}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 16px 8px;padding:8px 14px;background:var(--live-surface);border:1px solid var(--live-border);border-radius:10px;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner--complete[_ngcontent-%COMP%]{border-color:#22c55e80}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner__head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-shrink:0;min-width:0}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner__head[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#f59e0b;font-size:.9rem}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner__title[_ngcontent-%COMP%]{font-weight:700;text-transform:uppercase;letter-spacing:.5px;font-size:.72rem;opacity:.7;white-space:nowrap}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner__label[_ngcontent-%COMP%]{font-weight:600;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner__track[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex:1 1 200px;min-width:140px}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner__bar[_ngcontent-%COMP%]{flex:1;height:8px;background:#6366f126;border-radius:4px;overflow:hidden}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner__fill[_ngcontent-%COMP%]{height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:4px;transition:width .5s ease}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner__fill--complete[_ngcontent-%COMP%]{background:linear-gradient(90deg,#22c55e,#16a34a)}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner__percent[_ngcontent-%COMP%]{font-weight:700;font-size:.8rem;color:var(--live-accent);min-width:36px;text-align:right;font-variant-numeric:tabular-nums}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner__items[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.live-comments[_ngcontent-%COMP%]   .gift-goal-banner__done[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;color:#22c55e;font-weight:600;font-size:.8rem;white-space:nowrap}.live-comments[_ngcontent-%COMP%]   .gift-goal-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px}.live-comments[_ngcontent-%COMP%]   .gift-goal-chip__img[_ngcontent-%COMP%]{width:20px;height:20px;object-fit:contain}.live-comments[_ngcontent-%COMP%]   .gift-goal-chip__progress[_ngcontent-%COMP%]{font-size:.75rem;font-weight:600;font-variant-numeric:tabular-nums}.live-comments[_ngcontent-%COMP%]   .donors-panel[_ngcontent-%COMP%]{flex:1;overflow-y:auto}.live-comments[_ngcontent-%COMP%]   .donor-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:.45rem .3rem;border-radius:6px;transition:background .15s;animation:_ngcontent-%COMP%_slide-in .3s ease-out}.live-comments[_ngcontent-%COMP%]   .donor-item[_ngcontent-%COMP%]:hover{background:var(--live-kpi-highlight)}.live-comments[_ngcontent-%COMP%]   .donor-item--top1[_ngcontent-%COMP%]   .donor-rank__star[_ngcontent-%COMP%]{color:#f5a623;font-size:1rem}
1.live-comments[_ngcontent-%COMP%]   .donor-item--top2[_ngcontent-%COMP%]   .donor-rank__star[_ngcontent-%COMP%]{color:silver}.live-comments[_ngcontent-%COMP%]   .donor-item--top3[_ngcontent-%COMP%]   .donor-rank__star[_ngcontent-%COMP%]{color:#cd7f32}.live-comments[_ngcontent-%COMP%]   .donor-rank[_ngcontent-%COMP%]{width:24px;text-align:center;font-weight:700;font-size:.8rem;opacity:.5;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .donor-rank__star[_ngcontent-%COMP%]{font-size:.9rem;opacity:1}.live-comments[_ngcontent-%COMP%]   .donor-avatar[_ngcontent-%COMP%]{width:28px;height:28px;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .donor-avatar__img[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;object-fit:cover}.live-comments[_ngcontent-%COMP%]   .donor-avatar__fallback[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background:#667eea;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.75rem}.live-comments[_ngcontent-%COMP%]   .donor-info[_ngcontent-%COMP%]{flex:1;min-width:0}
1.live-comments[_ngcontent-%COMP%]   .donor-name[_ngcontent-%COMP%]{display:block;font-weight:600;font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-comments[_ngcontent-%COMP%]   .donor-stats[_ngcontent-%COMP%]{display:block;font-size:.7rem;opacity:.5}.live-comments[_ngcontent-%COMP%]   .donor-coins[_ngcontent-%COMP%]{font-weight:700;font-size:.8rem;color:#f5a623;display:flex;align-items:center;gap:.2rem;white-space:nowrap;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .donor-coins[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.7rem}.live-comments__feed[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:.5em 1em;display:flex;flex-direction:column;gap:.25em;font-size:18px}.live-comments__empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;text-align:center;opacity:.5}.live-comments[_ngcontent-%COMP%]   .new-comments-badge[_ngcontent-%COMP%]{position:absolute;bottom:1em;left:50%;transform:translate(-50%);z-index:10;display:inline-flex;align-items:center;gap:.5em;padding:.55em 1.1em;border:none;border-radius:999px;background:var(--live-accent);color:#fff;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 6px 18px #6366f173;animation:_ngcontent-%COMP%_slide-in .25s ease-out;transition:transform .15s,box-shadow .15s}.live-comments[_ngcontent-%COMP%]   .new-comments-badge[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:13px}.live-comments[_ngcontent-%COMP%]   .new-comments-badge[_ngcontent-%COMP%]:hover{transform:translate(-50%) translateY(-2px);box-shadow:0 8px 22px #6366f18c}.live-comments[_ngcontent-%COMP%]   .comment-item[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.6em;padding:.5em .6em;border-radius:8px;transition:background .15s;animation:_ngcontent-%COMP%_slide-in .3s ease-out}.live-comments[_ngcontent-%COMP%]   .comment-item[_ngcontent-%COMP%]:hover{background:#00000008}.live-comments[_ngcontent-%COMP%]   .comment-item--verified[_ngcontent-%COMP%]   .comment-name[_ngcontent-%COMP%]{color:#667eea;opacity:.8}.live-comments[_ngcontent-%COMP%]   .comment-item--host[_ngcontent-%COMP%]{background:#6366f10a}.live-comments[_ngcontent-%COMP%]   .comment-item--moderatable[_ngcontent-%COMP%]{cursor:pointer}.live-comments[_ngcontent-%COMP%]   .comment-item--moderatable[_ngcontent-%COMP%]:hover{background:#3b82f614}.live-comments[_ngcontent-%COMP%]   .comment-item--banned[_ngcontent-%COMP%]{opacity:.5}.live-comments[_ngcontent-%COMP%]   .comment-item--banned[_ngcontent-%COMP%]   .comment-name[_ngcontent-%COMP%]{text-decoration:line-through}.live-comments[_ngcontent-%COMP%]   .comment-item--priority[_ngcontent-%COMP%]{background:#ffffff42;border:2px solid var(--live-text);border-left-width:6px}.live-comments[_ngcontent-%COMP%]   .comment-item--priority[_ngcontent-%COMP%]:hover{background:#ffffff57}.live-comments[_ngcontent-%COMP%]   .comment-item--command[_ngcontent-%COMP%]{border-left:4px dashed var(--live-text-secondary);padding-left:.45em}.live-comments[_ngcontent-%COMP%]   .comment-paid[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.35em;font-size:.7em;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--live-text)}.live-comments[_ngcontent-%COMP%]   .comment-paid[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1em}.live-comments[_ngcontent-%COMP%]   .comment-coins[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:0 .5em;border:1px solid var(--live-text);border-radius:999px;font-size:.85em;font-weight:800;line-height:1.5;white-space:nowrap;margin-right:.35em}.live-comments[_ngcontent-%COMP%]   .comment-cmdtag[_ngcontent-%COMP%]{display:inline-block;margin-right:.35em;padding:0 .45em;border:1px solid var(--live-text-secondary);border-radius:5px;background:#7f7f7f2e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8em;font-weight:800;line-height:1.6;vertical-align:middle}.live-comments[_ngcontent-%COMP%]   .auction-line[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.45em;padding:.4em .6em;margin:.1em 0;border-radius:8px;font-size:.95em;line-height:1.35;background:#22c55e24;border-left:3px solid #22c55e;animation:_ngcontent-%COMP%_slide-in .3s ease-out}.live-comments[_ngcontent-%COMP%]   .auction-line__icon[_ngcontent-%COMP%]{flex:0 0 auto;font-size:1.05em;line-height:1}.live-comments[_ngcontent-%COMP%]   .auction-line__name[_ngcontent-%COMP%]{font-weight:700;color:#22c55e;white-space:nowrap}.live-comments[_ngcontent-%COMP%]   .auction-line__text[_ngcontent-%COMP%]{color:var(--live-text);min-width:0}.live-comments[_ngcontent-%COMP%]   .auction-line--won[_ngcontent-%COMP%]{background:#eab30829;border-left-color:#eab308}.live-comments[_ngcontent-%COMP%]   .auction-line--won[_ngcontent-%COMP%]   .auction-line__name[_ngcontent-%COMP%]{color:#eab308}.live-comments[_ngcontent-%COMP%]   .auction-line--won[_ngcontent-%COMP%]   .auction-line__text[_ngcontent-%COMP%]{font-weight:600}
1.live-comments[_ngcontent-%COMP%]   .comment-avatar[_ngcontent-%COMP%]{flex-shrink:0;width:44px;height:44px}.live-comments[_ngcontent-%COMP%]   .comment-avatar__img[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;object-fit:cover}.live-comments[_ngcontent-%COMP%]   .comment-avatar__fallback[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background:#667eea;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem}.live-comments[_ngcontent-%COMP%]   .comment-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.15em;flex:1;min-width:0}.live-comments[_ngcontent-%COMP%]   .comment-name-line[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.4em}.live-comments[_ngcontent-%COMP%]   .comment-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:.1em .5em;border-radius:4px;font-size:.65em;font-weight:700;letter-spacing:.5px;text-transform:uppercase;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .comment-badge--host[_ngcontent-%COMP%]{background:#6366f133;color:#818cf8}.live-comments[_ngcontent-%COMP%]   .comment-badge--mod[_ngcontent-%COMP%]{background:#2f8eef33;color:#60a5fa}.live-comments[_ngcontent-%COMP%]   .comment-badge--deleted[_ngcontent-%COMP%]{background:#94a3b833;color:#cbd5e1}.live-comments[_ngcontent-%COMP%]   .comment-badge--bot[_ngcontent-%COMP%]{gap:.25em;background:transparent;border:1px dashed var(--live-text-secondary);color:var(--live-text-secondary)}.live-comments[_ngcontent-%COMP%]   .comment-badge--bot[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.9em}.live-comments[_ngcontent-%COMP%]   .comment-name[_ngcontent-%COMP%]{font-weight:500;font-size:.8em;opacity:.55;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-comments[_ngcontent-%COMP%]   .comment-verified[_ngcontent-%COMP%]{color:#667eea;font-size:.75em}.live-comments[_ngcontent-%COMP%]   .comment-text[_ngcontent-%COMP%]{font-size:1.15em;font-weight:500;word-break:break-word;line-height:1.35}.live-comments[_ngcontent-%COMP%]   .mention[_ngcontent-%COMP%]{color:#54a6f6;font-weight:700}.live-comments[_ngcontent-%COMP%]   .comment-pin-btn[_ngcontent-%COMP%]{flex-shrink:0;align-self:center;width:30px;height:30px;border:none;background:transparent;border-radius:7px;color:currentColor;opacity:.28;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .15s,background .15s,color .15s}.live-comments[_ngcontent-%COMP%]   .comment-pin-btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.8rem}.live-comments[_ngcontent-%COMP%]   .comment-pin-btn[_ngcontent-%COMP%]:hover{opacity:1;background:#f59e0b2e;color:#f5a623}.live-comments[_ngcontent-%COMP%]   .comment-pin-btn--active[_ngcontent-%COMP%]{opacity:1;color:#f5a623}.live-comments[_ngcontent-%COMP%]   .comment-item[_ngcontent-%COMP%]:hover   .comment-pin-btn[_ngcontent-%COMP%]{opacity:.7}.live-comments[_ngcontent-%COMP%]   .comment-actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:2px;flex-shrink:0;align-self:center}.live-comments[_ngcontent-%COMP%]   .comment-del-btn[_ngcontent-%COMP%]{width:30px;height:30px;border:none;background:transparent;border-radius:7px;color:currentColor;opacity:.28;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .15s,background .15s,color .15s}.live-comments[_ngcontent-%COMP%]   .comment-del-btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.8rem}.live-comments[_ngcontent-%COMP%]   .comment-del-btn[_ngcontent-%COMP%]:hover{opacity:1;background:#ef44442e;color:#f87171}.live-comments[_ngcontent-%COMP%]   .comment-item[_ngcontent-%COMP%]:hover   .comment-del-btn[_ngcontent-%COMP%]{opacity:.7}.live-comments[_ngcontent-%COMP%]   .comment-item--deleted[_ngcontent-%COMP%]{opacity:.5;cursor:default}.live-comments[_ngcontent-%COMP%]   .comment-item--deleted[_ngcontent-%COMP%]   .comment-text[_ngcontent-%COMP%]{text-decoration:line-through;text-decoration-color:#fff6}.live-comments[_ngcontent-%COMP%]   .pinned-comment[_ngcontent-%COMP%]{position:sticky;top:0;z-index:5;margin:8px;padding:12px 14px;border-radius:12px;background:linear-gradient(135deg,#f59e0b38,#d9770629);border:1.5px solid rgba(245,158,11,.6);box-shadow:0 4px 18px #f59e0b38;color:#fff;font-size:18px;animation:_ngcontent-%COMP%_slide-in .3s ease-out}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .live-comments[_ngcontent-%COMP%]   .pinned-comment[_ngcontent-%COMP%]{color:#1e293b}.live-comments[_ngcontent-%COMP%]   .pinned-comment--by-mod[_ngcontent-%COMP%]{background:linear-gradient(135deg,#2f8eef3d,#2563eb29);border-color:#2f8eefa6;box-shadow:0 4px 18px #2f8eef47;animation:_ngcontent-%COMP%_slide-in .3s ease-out,_ngcontent-%COMP%_pinned-mod-pulse 1.8s ease-in-out infinite}.live-comments[_ngcontent-%COMP%]   .pinned-comment--by-mod[_ngcontent-%COMP%]   .pinned-comment__header-label[_ngcontent-%COMP%]{color:#2f8eef}.live-comments[_ngcontent-%COMP%]   .pinned-comment__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.live-comments[_ngcontent-%COMP%]   .pinned-comment__header-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;color:#f5a623}.live-comments[_ngcontent-%COMP%]   .pinned-comment__header-label[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:12px}.live-comments[_ngcontent-%COMP%]   .pinned-comment__unpin[_ngcontent-%COMP%]{background:#0000002e;border:none;color:inherit;opacity:.75;cursor:pointer;width:26px;height:26px;border-radius:7px;
1display:flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .pinned-comment__unpin[_ngcontent-%COMP%]:hover{opacity:1;background:#00000052}.live-comments[_ngcontent-%COMP%]   .pinned-comment__body[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:10px}.live-comments[_ngcontent-%COMP%]   .pinned-comment__avatar[_ngcontent-%COMP%]{width:40px;height:40px;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .pinned-comment__avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;object-fit:cover}.live-comments[_ngcontent-%COMP%]   .pinned-comment__avatar-fallback[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#d97706;color:#fff;font-weight:700;font-size:16px}.live-comments[_ngcontent-%COMP%]   .pinned-comment__content[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.live-comments[_ngcontent-%COMP%]   .pinned-comment__name[_ngcontent-%COMP%]{font-weight:700;font-size:.9em;display:flex;align-items:center;gap:5px}.live-comments[_ngcontent-%COMP%]   .pinned-comment__name[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#3b82f6;font-size:.8em}.live-comments[_ngcontent-%COMP%]   .pinned-comment__text[_ngcontent-%COMP%]{font-size:1.4em;font-weight:700;line-height:1.35;word-break:break-word}.live-comments[_ngcontent-%COMP%]   .gifts-panel[_ngcontent-%COMP%]{border-bottom:1px solid var(--live-border);max-height:50%;overflow-y:auto}.live-comments[_ngcontent-%COMP%]   .gift-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:.5rem;border-bottom:1px solid var(--live-border);animation:_ngcontent-%COMP%_slide-in .3s ease-out}.live-comments[_ngcontent-%COMP%]   .gift-item__img[_ngcontent-%COMP%]{width:36px;height:36px;object-fit:contain}.live-comments[_ngcontent-%COMP%]   .gift-item__img-fallback[_ngcontent-%COMP%]{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f5a62326;color:#f5a623;font-size:1rem;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .gift-item__info[_ngcontent-%COMP%]{flex:1;min-width:0}.live-comments[_ngcontent-%COMP%]   .gift-item__sender[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;font-weight:600;font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-comments[_ngcontent-%COMP%]   .gift-item__sender-av[_ngcontent-%COMP%]{width:18px;height:18px;border-radius:50%;object-fit:cover;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .gift-item__sender-av--fb[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;background:#334155;color:#fff;font-size:9px;font-weight:700}.live-comments[_ngcontent-%COMP%]   .gift-item__name[_ngcontent-%COMP%]{display:block;font-size:.75rem;opacity:.65;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-comments[_ngcontent-%COMP%]   .gift-item__qty[_ngcontent-%COMP%]{font-weight:700;opacity:.85;margin-left:2px}.live-comments[_ngcontent-%COMP%]   .gift-item__cost[_ngcontent-%COMP%]{font-weight:700;font-size:.85rem;color:#f5a623;display:flex;align-items:center;gap:.2rem;white-space:nowrap}.live-comments[_ngcontent-%COMP%]   .events-panel[_ngcontent-%COMP%]{flex:1;overflow-y:auto}.live-comments[_ngcontent-%COMP%]   .event-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:.35rem .3rem;font-size:.8rem;animation:_ngcontent-%COMP%_slide-in .3s ease-out}.live-comments[_ngcontent-%COMP%]   .event-item__icon[_ngcontent-%COMP%]{font-size:.85rem;opacity:.5;width:20px;text-align:center;flex-shrink:0}.live-comments[_ngcontent-%COMP%]   .event-item__name[_ngcontent-%COMP%]{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-comments[_ngcontent-%COMP%]   .event-item__label[_ngcontent-%COMP%]{font-size:.75rem;opacity:.5;white-space:nowrap}.live-comments[_ngcontent-%COMP%]   .live-ended-overlay[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;background:#0009;animation:_ngcontent-%COMP%_fade-in .3s ease-out}.live-comments[_ngcontent-%COMP%]   .live-ended-modal[_ngcontent-%COMP%]{background:var(--live-surface);border-radius:16px;padding:2.5rem;text-align:center;max-width:420px;width:90%;box-shadow:0 20px 60px #0006;animation:_ngcontent-%COMP%_gift-pop .4s cubic-bezier(.175,.885,.32,1.275)}.live-comments[_ngcontent-%COMP%]   .live-ended-modal__icon[_ngcontent-%COMP%]{font-size:3rem;color:#ef4444;margin-bottom:1rem}.live-comments[_ngcontent-%COMP%]   .live-ended-modal__title[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.live-comments[_ngcontent-%COMP%]   .live-ended-modal__sub[_ngcontent-%COMP%]{font-size:.9rem;opacity:.6;margin-bottom:1.5rem}.live-comments[_ngcontent-%COMP%]   .live-ended-modal__kpis[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:2rem;margin-bottom:1.5rem}.live-comments[_ngcontent-%COMP%]   .live-ended-modal__btn[_ngcontent-%COMP%]{background:var(--live-accent);color:#fff;border:none;padding:.6rem 2rem;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:opacity .2s}.live-comments[_ngcontent-%COMP%]   .live-ended-modal__btn[_ngcontent-%COMP%]:hover{opacity:.85}.live-comments[_ngcontent-%COMP%]   .live-ended-kpi[_ngcontent-%COMP%]{text-align:center}.live-comments[_ngcontent-%COMP%]   .live-ended-kpi__value[_ngcontent-%COMP%]{display:block;font-size:1.5rem;font-weight:700}.live-comments[_ngcontent-%COMP%]   .live-ended-kpi__label[_ngcontent-%COMP%]{display:block;font-size:.75rem;opacity:.5;text-transform:uppercase}.live-comments[_ngcontent-%COMP%]   .heart-fountain[_ngcontent-%COMP%]{position:fixed;right:24px;bottom:0;width:108px;height:62vh;max-height:700px;pointer-events:none;z-index:90;overflow:hidden}.live-comments[_ngcontent-%COMP%]   .heart-fountain__heart[_ngcontent-%COMP%]{position:absolute;bottom:0;color:#ff3b6b;opacity:0;will-change:transform,opacity;animation-name:_ngcontent-%COMP%_heart-float;animation-timing-function:ease-out;animation-iteration-count:1;text-shadow:0 2px 6px rgba(0,0,0,.35)}@keyframes _ngcontent-%COMP%_heart-float{0%{transform:translateY(26px) scale(.5);opacity:0}
114%{opacity:1;transform:translateY(0) scale(1)}70%{opacity:.9}to{transform:translateY(calc(var(--heart-rise, 420px) * -1)) translate(var(--heart-drift, -18px)) scale(.85);opacity:0}}.live-comments[_ngcontent-%COMP%]   .gift-overlay[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#0006;animation:_ngcontent-%COMP%_fade-in .3s ease-out;cursor:pointer}.live-comments[_ngcontent-%COMP%]   .gift-overlay__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:1rem;animation:_ngcontent-%COMP%_gift-pop .5s cubic-bezier(.175,.885,.32,1.275)}.live-comments[_ngcontent-%COMP%]   .gift-overlay__img[_ngcontent-%COMP%]{width:120px;height:120px;object-fit:contain;filter:drop-shadow(0 4px 20px rgba(0,0,0,.3))}.live-comments[_ngcontent-%COMP%]   .gift-overlay__img--fallback[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;border-radius:20px;background:#f5a6232e;color:#f5a623;font-size:3rem}.live-comments[_ngcontent-%COMP%]   .gift-overlay__text[_ngcontent-%COMP%]{text-align:center;color:#fff}.live-comments[_ngcontent-%COMP%]   .gift-overlay__sender[_ngcontent-%COMP%]{display:block;font-size:1.2rem;font-weight:700}.live-comments[_ngcontent-%COMP%]   .gift-overlay__gift-name[_ngcontent-%COMP%]{display:block;font-size:1rem;opacity:.8}.live-comments__connection-warning[_ngcontent-%COMP%]{position:fixed;bottom:1rem;left:50%;transform:translate(-50%);background:#fff3cd;color:#856404;padding:.5rem 1.5rem;border-radius:8px;font-size:.85rem;display:flex;align-items:center;gap:.5rem;z-index:50;box-shadow:0 2px 8px #00000026}.live-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;background:var(--live-toolbar-bg);color:#f8fafc;padding:0 16px;height:44px;min-height:44px;gap:12px;z-index:10}.live-toolbar__left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-shrink:0}.live-toolbar__center[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;flex:0 0 auto}.live-toolbar__right[_ngcontent-%COMP%]{display:flex;align-items:center;gap:2px;flex-shrink:0}.live-workspace-chip[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;background:#ffffff14;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:3px 10px 3px 4px;max-width:180px}.live-workspace-chip[_ngcontent-%COMP%]   app-widget-workspace-avatar[_ngcontent-%COMP%]{display:flex;align-items:center}.live-workspace-chip__name[_ngcontent-%COMP%]{font-size:13px;font-weight:600;color:#f1f5f9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-indicator[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-weight:700;font-size:14px;letter-spacing:1px;color:#ef4444}.live-logo[_ngcontent-%COMP%]{display:flex;align-items:center;text-decoration:none}.live-logo__img[_ngcontent-%COMP%]{height:16px;width:auto;opacity:.9;transition:opacity .2s}.live-logo[_ngcontent-%COMP%]:hover   .live-logo__img[_ngcontent-%COMP%]{opacity:1}.live-dot[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:50%;background:#ef4444;animation:_ngcontent-%COMP%_pulse-dot 1.5s ease-in-out infinite}.toolbar-page-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#f1f5f9;white-space:nowrap}.toolbar-page-title[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:14px;opacity:.7}.session-timer[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums;letter-spacing:.5px;background:#dc2626;padding:3px 10px;border-radius:6px;white-space:nowrap}.session-timer[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:12px;opacity:.8}.session-timer--inactive[_ngcontent-%COMP%]{color:#94a3b8;background:#94a3b81f}.session-timer--btn[_ngcontent-%COMP%]{border:none;cursor:pointer;transition:background .15s ease,opacity .15s ease}.session-timer--btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#b91c1c}.session-timer--btn[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:default}.session-timer--paused[_ngcontent-%COMP%]{background:#d97706;animation:_ngcontent-%COMP%_timer-blink 1.1s steps(1) infinite}.session-timer--paused[_ngcontent-%COMP%]:hover:not(:disabled){background:#b45309}.session-timer__paused-badge[_ngcontent-%COMP%]{font-size:10px;font-weight:800;letter-spacing:.5px;background:#00000040;padding:1px 6px;border-radius:4px}@keyframes _ngcontent-%COMP%_timer-blink{0%,50%{opacity:1}50.01%,to{opacity:.45}}.toolbar-btn[_ngcontent-%COMP%]{background:transparent;border:none;color:#94a3b8;font-size:16px;cursor:pointer;width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}.toolbar-btn[_ngcontent-%COMP%]:hover{background:#ffffff1a;color:#f8fafc}.toolbar-btn--off[_ngcontent-%COMP%]{opacity:.4}
1.toolbar-btn--accent[_ngcontent-%COMP%]{color:#f59e0b}.toolbar-btn--accent[_ngcontent-%COMP%]:hover{color:#fbbf24;background:#f59e0b1f}.toolbar-btn--active[_ngcontent-%COMP%]{color:#a78bfa;background:#8b5cf629}.toolbar-btn--active[_ngcontent-%COMP%]:hover{color:#c4b5fd;background:#8b5cf642}.toolbar-zoom[_ngcontent-%COMP%]{display:flex;align-items:center;gap:2px;background:#ffffff0f;border-radius:8px;padding:0 2px}.toolbar-zoom__value[_ngcontent-%COMP%]{font-size:11px;color:#94a3b8;min-width:32px;text-align:center;-webkit-user-select:none;user-select:none}.toolbar-separator[_ngcontent-%COMP%]{width:1px;height:20px;background:#ffffff1f;margin:0 4px;flex-shrink:0}.toolbar-dropdown-wrapper[_ngcontent-%COMP%]{position:relative}.toolbar-dropdown[_ngcontent-%COMP%]{position:absolute;top:100%;right:0;margin-top:4px;background:var(--live-surface);border:1px solid var(--live-border);border-radius:8px;box-shadow:0 8px 24px #0000004d;z-index:20;min-width:180px;overflow:hidden}.toolbar-dropdown__item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:9px 14px;font-size:13px;color:var(--live-text);cursor:pointer;transition:background .15s}.toolbar-dropdown__item[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:13px}.toolbar-dropdown__item[_ngcontent-%COMP%]:hover{background:var(--live-kpi-highlight)}@media (max-width: 600px){.live-comments__kpi-bar[_ngcontent-%COMP%]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (orientation: landscape){.live-comments[_ngcontent-%COMP%]   .live-columns[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr minmax(260px,300px)}.live-comments[_ngcontent-%COMP%]   .live-columns--with-preview[_ngcontent-%COMP%]{grid-template-columns:2fr minmax(220px,1fr) minmax(260px,300px)}.live-comments[_ngcontent-%COMP%]   .live-col--preview[_ngcontent-%COMP%]{display:flex!important;flex-direction:column;border-left:1px solid var(--live-border);overflow:hidden}.live-comments[_ngcontent-%COMP%]   .live-col--center[_ngcontent-%COMP%]{display:flex;min-width:0}.live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]{display:flex!important;flex-direction:column;border-left:1px solid var(--live-border);border-top:none;overflow:hidden}.live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]   .gifts-panel[_ngcontent-%COMP%], .live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]   .events-panel[_ngcontent-%COMP%], .live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]   .donors-panel[_ngcontent-%COMP%]{flex:1 1 0;min-height:0;max-height:none;overflow-y:auto}.live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]   .gifts-panel[_ngcontent-%COMP%], .live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]   .events-panel[_ngcontent-%COMP%]{border-right:none;border-bottom:1px solid var(--live-border)}.live-comments[_ngcontent-%COMP%]   .live-col--left[_ngcontent-%COMP%]{display:none!important}}@media (orientation: portrait){.live-comments[_ngcontent-%COMP%]   .live-columns[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.live-comments[_ngcontent-%COMP%]   .live-col--center[_ngcontent-%COMP%]{min-height:0}.live-comments[_ngcontent-%COMP%]   .live-columns--with-preview[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1fr) minmax(120px,34%)}.live-comments[_ngcontent-%COMP%]   .live-columns--with-preview[_ngcontent-%COMP%]   .live-col--center[_ngcontent-%COMP%]{grid-column:1;grid-row:1}.live-comments[_ngcontent-%COMP%]   .live-columns--with-preview[_ngcontent-%COMP%]   .live-col--preview[_ngcontent-%COMP%]{grid-column:2;grid-row:1}.live-comments[_ngcontent-%COMP%]   .live-columns--with-preview[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]{grid-column:1/-1;grid-row:2}.live-comments[_ngcontent-%COMP%]   .live-col--preview[_ngcontent-%COMP%]{display:flex!important;flex-direction:column;border-left:1px solid var(--live-border);overflow:hidden}.live-comments[_ngcontent-%COMP%]   .live-col--preview[_ngcontent-%COMP%]   .preview-panel__foot[_ngcontent-%COMP%]{display:none}.live-comments[_ngcontent-%COMP%]   .live-col--left[_ngcontent-%COMP%]{display:none!important}.live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]{display:flex!important;flex-direction:row;height:34vh;border-left:none;border-top:1px solid var(--live-border);overflow:hidden}.live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]   .gifts-panel[_ngcontent-%COMP%], .live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]   .events-panel[_ngcontent-%COMP%], .live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]   .donors-p
1anel[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;max-height:none;overflow-y:auto}.live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]   .gifts-panel[_ngcontent-%COMP%], .live-comments[_ngcontent-%COMP%]   .live-col--right[_ngcontent-%COMP%]   .events-panel[_ngcontent-%COMP%]{border-bottom:none;border-right:1px solid var(--live-border)}}@keyframes _ngcontent-%COMP%_slide-in{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes _ngcontent-%COMP%_fade-in{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_pinned-mod-pulse{0%,to{box-shadow:0 4px 18px #2f8eef47}50%{box-shadow:0 4px 26px #2f8eef80}}@keyframes _ngcontent-%COMP%_gift-pop{0%{opacity:0;transform:scale(.3)}to{opacity:1;transform:scale(1)}}@keyframes _ngcontent-%COMP%_pulse-dot{0%,to{opacity:1}50%{opacity:.3}}.side-modal-overlay[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1300;background:#00000080;display:flex;justify-content:flex-end;animation:_ngcontent-%COMP%_fade-in .2s ease-out}.side-modal[_ngcontent-%COMP%]{width:min(420px,92vw);height:100%;background:#0f172a;border-left:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;box-shadow:-8px 0 40px #00000073;animation:_ngcontent-%COMP%_side-modal-in .22s cubic-bezier(.16,1,.3,1)}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .side-modal[_ngcontent-%COMP%]{background:#fff;border-left-color:#00000014;color:#0f172a}.side-modal__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08);flex-shrink:0}.side-modal__title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;font-weight:700}.side-modal__title[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#8b5cf6}.side-modal__count[_ngcontent-%COMP%]{background:#8b5cf629;color:#a78bfa;font-size:12px;font-weight:700;padding:1px 8px;border-radius:10px}.side-modal__close[_ngcontent-%COMP%]{background:transparent;border:none;color:inherit;opacity:.6;cursor:pointer;width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center}.side-modal__close[_ngcontent-%COMP%]:hover{opacity:1;background:#ffffff14}.side-modal__body[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:8px}.side-modal__loading[_ngcontent-%COMP%], .side-modal__empty[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:40px 16px;opacity:.6;font-size:14px}.side-modal__loading[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:26px}@keyframes _ngcontent-%COMP%_side-modal-in{0%{transform:translate(24px);opacity:.4}to{transform:translate(0);opacity:1}}.viewer-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px}.viewer-row[_ngcontent-%COMP%]:hover{background:#ffffff0d}.viewer-row--clickable[_ngcontent-%COMP%]{cursor:pointer}.viewer-row--clickable[_ngcontent-%COMP%]:hover{background:#3b82f61a}.viewer-row__avatar[_ngcontent-%COMP%]{width:38px;height:38px;flex-shrink:0}.viewer-row__avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:38px;height:38px;border-radius:50%;object-fit:cover}.viewer-row__fallback[_ngcontent-%COMP%]{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#334155;color:#fff;font-weight:700;font-size:15px}.viewer-row__info[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column}.viewer-row__name[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.viewer-row__name[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#3b82f6;font-size:12px}.viewer-row__slug[_ngcontent-%COMP%]{font-size:12px;opacity:.55}.viewer-row__badge[_ngcontent-%COMP%]{font-size:10px;font-weight:800;padding:2px 7px;border-radius:6px;flex-shrink:0}.viewer-row__badge--mod[_ngcontent-%COMP%]{background:#3b82f629;color:#60a5fa}.viewer-row__unban[_ngcontent-%COMP%]{flex-shrink:0;background:#3b82f624;color:#60a5fa;border:none;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:700;cursor:pointer}.viewer-row__unban[_ngcontent-%COMP%]:hover:not(:disabled){background:#3b82f63d}.viewer-row__unban[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:default}.mod-overlay[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1350;background:#0000008c;display:flex;align-items:center;justify-content:center;animation:_ngcontent-%COMP%_fade-in .18s ease-out;padding:16px}.mod-modal[_ngcontent-%COMP%]{position:relative;width:min(380px,94vw);background:#0f172a;color:#f8fafc;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:22px 20px 18px;box-shadow:0 20px 60px #00000080;animation:_ngcontent-%COMP%_gift-pop .24s cubic-bezier(.16,1,.3,1)}.mod-modal__close[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;background:transparent;border:none;color:#94a3b8;cursor:pointer;width:30px;height:30px;border-radius:8px}.mod-modal__close[_ngcontent-%COMP%]:hover{background:#ffffff14;color:#fff}.mod-modal__profile[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;margin-bottom:18px}
1.mod-modal__avatar[_ngcontent-%COMP%]{width:72px;height:72px;margin-bottom:4px}.mod-modal__avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:72px;height:72px;border-radius:50%;object-fit:cover}.mod-modal__avatar-fallback[_ngcontent-%COMP%]{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#334155;color:#fff;font-weight:700;font-size:28px}.mod-modal__name[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;font-size:17px;font-weight:700}.mod-modal__name[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#3b82f6;font-size:14px}.mod-modal__slug[_ngcontent-%COMP%]{font-size:13px;color:#94a3b8}.mod-modal__loading[_ngcontent-%COMP%]{padding:10px;font-size:20px;color:#94a3b8}.mod-modal__stats[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:13px;color:#cbd5e1;flex-wrap:wrap;justify-content:center}.mod-modal__stats[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{color:#fff}.mod-modal__actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.mod-chip[_ngcontent-%COMP%]{background:#94a3b82e;color:#cbd5e1;font-size:11px;font-weight:700;padding:2px 8px;border-radius:10px}.mod-chip--friend[_ngcontent-%COMP%]{background:#22c55e2e;color:#4ade80}.mod-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px;border:none;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;transition:filter .15s ease}.mod-btn[_ngcontent-%COMP%]:hover:not(:disabled){filter:brightness(1.1)}.mod-btn[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:default}.mod-btn--mute[_ngcontent-%COMP%]{background:#f59e0b29;color:#fbbf24}.mod-btn--ban[_ngcontent-%COMP%]{background:#ef444429;color:#f87171}.mod-btn--unban[_ngcontent-%COMP%]{background:#22c55e29;color:#4ade80}.mod-btn--cancel[_ngcontent-%COMP%]{background:transparent;color:#94a3b8}.mod-btn--promote[_ngcontent-%COMP%]{background:#3b82f629;color:#60a5fa}.mod-btn--demote[_ngcontent-%COMP%]{background:#94a3b829;color:#cbd5e1}.viewer-row__avatar[_ngcontent-%COMP%]{position:relative}.viewer-row__dot[_ngcontent-%COMP%]{position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;border-radius:50%;background:#64748b;border:2px solid #0f172a;z-index:1}.viewer-row__dot.is-online[_ngcontent-%COMP%]{background:#22c55e}.viewer-row__slug.is-online[_ngcontent-%COMP%]{color:#4ade80;opacity:1}.kpi-tile--moderators[_ngcontent-%COMP%]   .kpi-tile__icon[_ngcontent-%COMP%]{color:#60a5fa}.mod-durations[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.mod-durations__label[_ngcontent-%COMP%]{font-size:13px;color:#94a3b8;text-align:center}.mod-durations__row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.mod-duration-chip[_ngcontent-%COMP%]{background:#f59e0b29;color:#fbbf24;border:none;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:700;cursor:pointer}.mod-duration-chip[_ngcontent-%COMP%]:hover:not(:disabled){background:#f59e0b47}.mod-duration-chip[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:default}.gifts-panel[_ngcontent-%COMP%]   .panel__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:8px}.gifts-panel[_ngcontent-%COMP%]   .panel__header[_ngcontent-%COMP%]   .panel__title[_ngcontent-%COMP%]{margin:0}.goal-define-btn[_ngcontent-%COMP%]{flex-shrink:0;width:32px;height:32px;border-radius:50%;border:1px dashed rgba(245,166,35,.5);background:#f5a6231a;color:#f5a623;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:13px;transition:background .15s ease}.goal-define-btn[_ngcontent-%COMP%]:hover{background:#f5a62338}.goal-setup[_ngcontent-%COMP%]{width:min(560px,96vw);max-height:90vh;background:#0f172a;color:#f8fafc;border:1px solid rgba(255,255,255,.08);border-radius:16px;display:flex;flex-direction:column;box-shadow:0 20px 60px #00000080;animation:_ngcontent-%COMP%_gift-pop .22s cubic-bezier(.16,1,.3,1)}.goal-setup__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px}.goal-setup__title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:700}.goal-setup__title[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#f5a623}.goal-setup__label[_ngcontent-%COMP%]{margin:0 18px 12px;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#ffffff0a;color:#f8fafc;font-size:14px;outline:none}.goal-setup__label[_ngcontent-%COMP%]::placeholder{color:#64748b}.goal-setup__label[_ngcontent-%COMP%]:focus{border-color:#3b82f6}.goal-setup__body[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:0 18px;min-height:120px}.goal-setup__footer[_ngcontent-%COMP%]{display:flex;gap:10px;padding:14px 18px;border-top:1px solid rgba(255,255,255,.08)}
1.goal-setup__save[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border:none;border-radius:10px;background:#f5a623;color:#1e293b;font-size:14px;font-weight:800;cursor:pointer}.goal-setup__save[_ngcontent-%COMP%]:hover:not(:disabled){filter:brightness(1.06)}.goal-setup__save[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:default}.goal-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;padding-bottom:10px}.goal-gift[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:#ffffff05;text-align:center}.goal-gift--selected[_ngcontent-%COMP%]{border-color:#f5a623;background:#f5a6231a}.goal-gift__img[_ngcontent-%COMP%]{width:44px;height:44px;display:flex;align-items:center;justify-content:center}.goal-gift__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:44px;height:44px;object-fit:contain}.goal-gift__img[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:22px;color:#f5a623}.goal-gift__name[_ngcontent-%COMP%]{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.goal-gift__cost[_ngcontent-%COMP%]{display:flex;align-items:center;gap:3px;font-size:11px;color:#f5a623}.goal-gift__cost[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:9px}.goal-gift__stepper[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-top:4px}.goal-gift__stepper[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{min-width:18px;text-align:center;font-weight:700;font-size:14px}.goal-gift__stepper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:26px;height:26px;border-radius:8px;border:none;background:#ffffff14;color:#f8fafc;cursor:pointer;font-size:11px;display:flex;align-items:center;justify-content:center}.goal-gift__stepper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover:not(:disabled){background:#ffffff2e}.goal-gift__stepper[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:disabled{opacity:.35;cursor:default}.comments-toolbar[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:6px 8px 0}.comments-toolbar[_ngcontent-%COMP%]:empty{display:none}.comments-toolbar__poll-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;background:#667eea24;color:#818cf8;border:none;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:700;cursor:pointer}.comments-toolbar__poll-btn[_ngcontent-%COMP%]:hover{background:#667eea42}.comments-toolbar__filter[_ngcontent-%COMP%]{margin-right:auto;display:inline-flex;align-items:center;gap:6px;background:transparent;color:var(--live-text-secondary);border:1px solid var(--live-border);border-radius:8px;padding:6px 12px;font-size:12px;font-weight:700;cursor:pointer}.comments-toolbar__filter--on[_ngcontent-%COMP%]{background:#7f7f7f3d;border:2px solid var(--live-text);color:var(--live-text)}.comments-toolbar__count[_ngcontent-%COMP%]{display:inline-flex;align-items:center;min-width:18px;justify-content:center;padding:0 5px;border-radius:999px;border:1px solid currentColor;font-size:11px;line-height:15px}.poll-card[_ngcontent-%COMP%]{margin:8px;padding:12px;border-radius:12px;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;box-shadow:0 6px 20px #4f46e559;animation:_ngcontent-%COMP%_slide-in .3s ease-out}.poll-card--closed[_ngcontent-%COMP%]{filter:saturate(.7)}.poll-card__head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-bottom:10px}.poll-card__head[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{font-size:14px;opacity:.9}.poll-card__q[_ngcontent-%COMP%]{flex:1;font-weight:700;font-size:14px;line-height:1.3}.poll-card__timer[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;background:#00000038;padding:3px 8px;border-radius:8px;font-variant-numeric:tabular-nums}.poll-card__timer[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:10px}.poll-card__timer--done[_ngcontent-%COMP%]{background:#0000004d}.poll-card__options[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:6px}.poll-card__foot[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.poll-card__action[_ngcontent-%COMP%]{flex:0 0 auto;padding:5px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.5);background:#0000003d;color:#fff;font-size:12px;font-weight:700;cursor:pointer}.poll-card__action[_ngcontent-%COMP%]:hover:not(:disabled){background:#0006;border-color:#fff}.poll-card__action[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:default}.poll-card__error[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;margin-top:8px;padding:6px 8px;border-radius:8px;background:#00000052;font-size:11px;font-weight:600}.poll-card__error[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:11px}.poll-card__total[_ngcontent-%COMP%]{font-size:11px;opacity:.85}.poll-opt[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:8px;background:#ffffff24;overflow:hidden;font-size:13px;font-weight:600}
1.poll-opt__fill[_ngcontent-%COMP%]{position:absolute;inset:0 auto 0 0;background:#ffffff47;transition:width .5s cubic-bezier(.16,1,.3,1);z-index:0}.poll-opt__label[_ngcontent-%COMP%], .poll-opt__pct[_ngcontent-%COMP%]{position:relative;z-index:1}.poll-opt__pct[_ngcontent-%COMP%]{font-weight:800;font-variant-numeric:tabular-nums}.poll-create[_ngcontent-%COMP%]{width:min(460px,96vw);max-height:90vh;background:#0f172a;color:#f8fafc;border:1px solid rgba(255,255,255,.08);border-radius:16px;display:flex;flex-direction:column;box-shadow:0 20px 60px #00000080;animation:_ngcontent-%COMP%_gift-pop .22s cubic-bezier(.16,1,.3,1)}.poll-create__body[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:4px 18px}.poll-create__q[_ngcontent-%COMP%]{display:block;width:100%;margin:0 0 10px;box-sizing:border-box}.poll-opt-input[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-bottom:8px}.poll-opt-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{flex:1;min-width:0;box-sizing:border-box;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#ffffff0a;color:#f8fafc;font-size:14px;outline:none}.poll-opt-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder{color:#64748b}.poll-opt-input[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border-color:#6366f1}.poll-opt-input__rm[_ngcontent-%COMP%]{width:34px;height:34px;border-radius:8px;border:none;background:#ef444424;color:#f87171;cursor:pointer;flex-shrink:0}.poll-opt-input__rm[_ngcontent-%COMP%]:hover{background:#ef444442}.poll-add-option[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;background:transparent;border:1px dashed rgba(255,255,255,.18);color:#94a3b8;border-radius:10px;padding:8px 12px;font-size:13px;cursor:pointer;margin-bottom:12px}.poll-add-option[_ngcontent-%COMP%]:hover{background:#ffffff0a}.poll-durations__label[_ngcontent-%COMP%]{font-size:13px;color:#94a3b8;margin-bottom:6px}.poll-durations__row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}.poll-dur-chip[_ngcontent-%COMP%]{background:#ffffff0f;color:#cbd5e1;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:8px 12px;font-size:13px;font-weight:700;cursor:pointer}.poll-dur-chip[_ngcontent-%COMP%]:hover{background:#ffffff1f}.poll-dur-chip--active[_ngcontent-%COMP%]{background:#6366f138;border-color:#6366f1;color:#a5b4fc}.gift-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px}.gift-row[_ngcontent-%COMP%]:hover{background:#ffffff0d}.gift-row__img[_ngcontent-%COMP%]{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.gift-row__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:40px;height:40px;object-fit:contain}.gift-row__img[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:20px;color:#f5a623}.gift-row__info[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column}.gift-row__name[_ngcontent-%COMP%]{font-size:12.5px;opacity:.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gift-row__qty[_ngcontent-%COMP%]{color:#f5a623}.gift-row__sender[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-weight:600;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gift-row__sender-av[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:50%;object-fit:cover;flex-shrink:0}.gift-row__sender-av--fb[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;background:#334155;color:#fff;font-size:10px;font-weight:700}.gift-row__meta[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0}.gift-row__coins[_ngcontent-%COMP%]{display:flex;align-items:center;gap:3px;font-weight:700;font-size:13px;color:#f5a623}.gift-row__coins[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:10px}.gift-row__ago[_ngcontent-%COMP%]{font-size:11px;opacity:.45}.preview-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;min-height:0;background:var(--live-surface)}.preview-panel__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid var(--live-border);flex-shrink:0}.preview-panel__title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--live-text-secondary)}.preview-panel__title[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#8b5cf6;font-size:12px}.preview-panel__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:2px}.preview-panel__btn[_ngcontent-%COMP%]{background:transparent;border:none;color:var(--live-text-muted);cursor:pointer;width:26px;height:26px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:12px;transition:background .2s,color .2s}.preview-panel__btn[_ngcontent-%COMP%]:hover{background:#8b5cf61f;color:var(--live-text)}.preview-panel__btn--active[_ngcontent-%COMP%]{color:#8b5cf6}.preview-panel__stage-wrap[_ngcontent-%COMP%]{flex:1 1 auto;min-height:0;padding:10px;display:flex;align-items:center;justify-content:center;overflow:hidden;container-type:size}.preview-panel__stage[_ngcontent-%COMP%]{position:relative;height:100%;width:auto;aspect-ratio:var(--live-preview-ratio);flex-shrink:0;border-radius:26px;overflow:hidden;background:#000}.preview-panel__video[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;display:block;background:#000}.preview-panel__video--contain[_ngcontent-%COMP%]{object-fit:contain}.preview-panel__video--mirror[_ngcontent-%COMP%]{transform:scale
1X(-1)}.preview-panel__audio-sink[_ngcontent-%COMP%]{position:absolute;width:0;height:0;overflow:hidden}.preview-panel__overlay[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:12px;color:#94a3b8;font-size:12px;background:#0000008c}.preview-panel__overlay[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:22px;opacity:.6}.preview-panel__retry[_ngcontent-%COMP%]{margin-top:4px;background:#8b5cf62e;border:1px solid rgba(139,92,246,.4);color:#c4b5fd;border-radius:8px;padding:5px 12px;font-size:11px;font-weight:600;cursor:pointer}.preview-panel__retry[_ngcontent-%COMP%]:hover{background:#8b5cf64d}.preview-panel__paused[_ngcontent-%COMP%]{position:absolute;top:8px;left:8px;display:flex;align-items:center;gap:4px;background:#f59e0be6;color:#1e293b;font-size:10px;font-weight:800;text-transform:uppercase;padding:3px 8px;border-radius:6px}.preview-panel__foot[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;padding:0 10px 8px;font-size:10px;line-height:1.35;color:var(--live-text-muted);flex-shrink:0}.preview-panel__foot[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:10px;flex-shrink:0}.chat-cmd-accuse[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0 0 6px;padding:6px 10px;border:1px solid var(--live-border);border-radius:10px;background:var(--live-bg);font-size:12px;line-height:1.3}.chat-cmd[_ngcontent-%COMP%]{max-height:190px;overflow-y:auto;margin-bottom:6px;padding:6px;border:1px solid var(--live-border);border-radius:10px;background:var(--live-bg);scrollbar-width:thin}.chat-cmd__head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;padding:2px 4px 6px;font-size:11.5px;color:var(--live-text-secondary)}.chat-cmd__head[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:var(--live-text)}.chat-cmd__hint[_ngcontent-%COMP%]{flex:1;min-width:0;font-size:10.5px;color:var(--live-text-muted)}.chat-cmd__close[_ngcontent-%COMP%]{flex:0 0 auto;border:0;background:none;color:var(--live-text-muted);font-size:11px;cursor:pointer}.chat-cmd__close[_ngcontent-%COMP%]:hover{color:var(--live-text)}.chat-cmd__empty[_ngcontent-%COMP%]{margin:0;padding:6px 4px;font-size:12px;color:var(--live-text-muted)}.chat-cmd__row[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:8px;width:100%;margin:0;padding:5px 6px;border:0;border-radius:6px;background:none;color:var(--live-text);font-family:inherit;font-size:12.5px;text-align:left}.chat-cmd__row--clic[_ngcontent-%COMP%]{cursor:pointer}.chat-cmd__row--clic[_ngcontent-%COMP%]:hover{background:#ffffff1a;box-shadow:inset 3px 0 #ffffffbf}.chat-cmd__name[_ngcontent-%COMP%]{flex:0 0 auto;font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.chat-cmd__desc[_ngcontent-%COMP%]{flex:1;min-width:0;color:var(--live-text-secondary)}.chat-cmd__price[_ngcontent-%COMP%]{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--live-text-secondary)}.chat-cmd__price.is-paid[_ngcontent-%COMP%]{padding:0 7px;border:1px solid var(--live-text-secondary);border-radius:999px;font-weight:700;color:var(--live-text)}.chat-cmd__price[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:10px}.chat-composer[_ngcontent-%COMP%]{position:relative;flex-shrink:0;border-top:1px solid var(--live-border);background:var(--live-surface);padding:8px 10px}.chat-composer__row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.chat-composer__emoji-btn[_ngcontent-%COMP%]{background:transparent;border:1px solid var(--live-border);color:var(--live-text-secondary);width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:15px;cursor:pointer;flex-shrink:0;transition:background .2s,color .2s,border-color .2s}.chat-composer__emoji-btn[_ngcontent-%COMP%]:hover{color:var(--live-text);border-color:var(--live-accent)}.chat-composer__emoji-btn--active[_ngcontent-%COMP%]{background:#6366f124;border-color:var(--live-accent);color:var(--live-accent)}.chat-composer__cmd-btn[_ngcontent-%COMP%]{border-color:transparent;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:17px;font-weight:700;line-height:1}.chat-composer__input[_ngcontent-%COMP%]{flex:1;min-width:0;height:34px;padding:0 10px;border-radius:8px;border:1px solid var(--live-border);background:var(--live-bg);color:var(--live-text);font-size:13px;font-family:inherit;outline:none}.chat-composer__input[_ngcontent-%COMP%]::placeholder{color:var(--live-text-muted)}.chat-composer__input[_ngcontent-%COMP%]:focus{border-color:var(--live-accent)}.chat-composer__input[_ngcontent-%COMP%]:disabled{opacity:.6}.chat-composer__send[_ngcontent-%COMP%]{background:var(--live-accent);border:none;color:#fff;width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:14px;cursor:pointer;flex-shrink:0;transition:opacity .2s}.chat-composer__send[_ngcontent-%COMP%]:hover:not(:disabled){opacity:.88}.chat-composer__send[_ngcontent-%COMP%]:disabled{opacity:.35;cursor:default}.chat-composer__error[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;margin-bottom:6px;padding:6px 8px;border-radius:8px;background:#ef444424;border:1px solid rgba(239,68,68,.35);color:#fca5a5;font-size:11px;line-height:1.35}.chat-composer__error[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{flex-shrink:0}.chat-composer__error[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{flex:1}.chat-composer__error-close[_ngcontent-%COMP%]{background:transparent;border:none;color:inherit;opacity:.7;cursor:pointer;padding:0;font-size:11px;flex-shrink:0}.chat-composer__error-close[_ngcontent-%COMP%]:hover{opacity:1}.chat-composer__hint[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;margin-top:6px;font-size:10px;color:var(--live-text-muted)}.emoji-picker[_ngcontent-%COMP%]{position:absolute;bottom:calc(100% - 4px);left:10px;width:min(300px,100% - 20px);background:var(--live-surface);border:1px solid var(--live-border);border-radius:12px;box-shadow:0 12px 32px #00000059;overflow:hidden;z-index:40;animation:_ngcontent-%COMP%_fade-in .14s ease-out}.emoji-picker__tabs[_ngcontent-%COMP%]{display:flex;gap:2px;padding:6px;border-bottom:1px solid var(--live-border)}.emoji-picker__tab[_ngcontent-%COMP%]{flex:1;background:transparent;border:none;color:var(--live-text-muted);
1height:28px;border-radius:7px;cursor:pointer;font-size:13px}.emoji-picker__tab[_ngcontent-%COMP%]:hover{background:#6366f11a;color:var(--live-text)}.emoji-picker__tab--active[_ngcontent-%COMP%]{background:#6366f129;color:var(--live-accent)}.emoji-picker__grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(10,1fr);gap:1px;padding:6px;max-height:190px;overflow-y:auto}.emoji-picker__item[_ngcontent-%COMP%]{background:transparent;border:none;cursor:pointer;font-size:17px;line-height:1;padding:4px 0;border-radius:6px}.emoji-picker__item[_ngcontent-%COMP%]:hover{background:#6366f124}.live-settings[_ngcontent-%COMP%]{width:min(840px,96vw);height:min(660px,88vh);background:#0f172a;color:#f8fafc;border:1px solid rgba(255,255,255,.08);border-radius:16px;display:flex;flex-direction:row;overflow:hidden;box-shadow:0 20px 60px #00000080;animation:_ngcontent-%COMP%_gift-pop .22s cubic-bezier(.16,1,.3,1)}@media (max-width: 720px){.live-settings[_ngcontent-%COMP%]{flex-direction:column;height:min(660px,92vh)}}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .live-settings[_ngcontent-%COMP%]{background:#fff;color:#0f172a;border-color:#00000014}.live-settings__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px;flex-shrink:0}.live-settings__title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:700}.live-settings__title[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#8b5cf6}.live-settings__body[_ngcontent-%COMP%]{flex:1;min-height:0;overflow-y:auto;padding:4px 18px 8px;display:flex;flex-direction:column;gap:10px}.live-settings__error[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:10px;background:#ef444424;border:1px solid rgba(239,68,68,.35);color:#fca5a5;font-size:12px}.live-settings__footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 18px 16px;border-top:1px solid rgba(255,255,255,.06);flex-shrink:0}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .live-settings__footer[_ngcontent-%COMP%]{border-top-color:#0000000f}.live-settings__cancel[_ngcontent-%COMP%]{background:transparent;border:1px solid rgba(255,255,255,.14);color:inherit;border-radius:9px;padding:8px 16px;font-size:13px;font-weight:600;cursor:pointer}.live-settings__cancel[_ngcontent-%COMP%]:hover{background:#ffffff0f}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .live-settings__cancel[_ngcontent-%COMP%]{border-color:#00000024}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .live-settings__cancel[_ngcontent-%COMP%]:hover{background:#0000000a}.live-settings__save[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;background:#6366f1;border:none;color:#fff;border-radius:9px;padding:8px 18px;font-size:13px;font-weight:700;cursor:pointer}.live-settings__save[_ngcontent-%COMP%]:hover:not(:disabled){background:#4f46e5}.live-settings__save[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:default}.settings-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;transition:opacity .2s}.settings-group--disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none}.settings-card[_ngcontent-%COMP%]{background:#ffffff0a;border:1px solid rgba(255,255,255,.07);border-radius:12px;padding:12px}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .settings-card[_ngcontent-%COMP%]{background:#00000008;border-color:#00000012}.settings-card--locked[_ngcontent-%COMP%]{opacity:.75}.settings-card__head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;margin-bottom:8px}.settings-card__head[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#8b5cf6;font-size:12px}.settings-card__desc[_ngcontent-%COMP%]{margin:0 0 8px;font-size:11px;line-height:1.4;opacity:.6}.settings-card__empty[_ngcontent-%COMP%]{margin:8px 0 0;font-size:11px;opacity:.5}.settings-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-row__text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px;min-width:0}.settings-row__title[_ngcontent-%COMP%]{font-size:13px;font-weight:600}.settings-row__desc[_ngcontent-%COMP%]{font-size:11px;line-height:1.35;opacity:.55}.settings-switch[_ngcontent-%COMP%]{position:relative;flex-shrink:0;width:42px;height:24px;border-radius:12px;border:none;background:#ffffff29;cursor:pointer;transition:background .2s;padding:0}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .settings-switch[_ngcontent-%COMP%]{background:#00000029}
1.settings-switch__knob[_ngcontent-%COMP%]{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s}.settings-switch--on[_ngcontent-%COMP%]{background:#6366f1}.settings-switch--on[_ngcontent-%COMP%]   .settings-switch__knob[_ngcontent-%COMP%]{transform:translate(18px)}.settings-input[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:8px 10px;border-radius:9px;border:1px solid rgba(255,255,255,.12);background:#00000040;color:inherit;font-size:13px;font-family:inherit;outline:none}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .settings-input[_ngcontent-%COMP%]{background:#fff;border-color:#00000024}.settings-input[_ngcontent-%COMP%]::placeholder{opacity:.45}.settings-input[_ngcontent-%COMP%]:focus{border-color:#6366f1}.settings-input--area[_ngcontent-%COMP%]{resize:vertical;min-height:52px;line-height:1.4}.settings-chips[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px}.settings-chip[_ngcontent-%COMP%]{background:#ffffff0f;border:1px solid rgba(255,255,255,.12);color:inherit;border-radius:8px;padding:5px 12px;font-size:12px;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .settings-chip[_ngcontent-%COMP%]{background:#0000000a;border-color:#0000001f}.settings-chip[_ngcontent-%COMP%]:hover{border-color:#6366f1}.settings-chip--active[_ngcontent-%COMP%]{background:#6366f133;border-color:#6366f1;color:#a5b4fc}.settings-filter-add[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.settings-filter-add__btn[_ngcontent-%COMP%]{flex-shrink:0;width:34px;height:34px;border-radius:9px;border:none;background:#6366f1;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}.settings-filter-add__btn[_ngcontent-%COMP%]:disabled{opacity:.4;cursor:default}.settings-filter-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.settings-filter-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;background:#ef444424;border:1px solid rgba(239,68,68,.3);color:#fca5a5;border-radius:8px;padding:3px 6px 3px 10px;font-size:12px}.settings-filter-chip[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background:transparent;border:none;color:inherit;opacity:.7;cursor:pointer;padding:0 2px;font-size:10px;display:flex;align-items:center}.settings-filter-chip[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{opacity:1}.settings-locked-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 0;font-size:12px}.settings-locked-row__label[_ngcontent-%COMP%]{opacity:.6}.settings-locked-row__value[_ngcontent-%COMP%]{font-weight:700}.preview-phone[_ngcontent-%COMP%]{position:relative;height:100%;width:fit-content;flex-shrink:0;padding:6px;border-radius:32px;background:linear-gradient(160deg,#3a3f47,#16181d 38%,#2b2f36);box-shadow:0 0 0 1px #ffffff14 inset,0 14px 38px #0000008c;display:flex}@supports (container-type: size){.preview-phone[_ngcontent-%COMP%]{height:min(100cqh,(100cqw - var(--live-preview-bezel)) / var(--live-preview-ratio-num))}}.preview-phone__island[_ngcontent-%COMP%]{position:absolute;top:2.4%;left:50%;transform:translate(-50%);width:30%;height:3.6%;min-height:8px;background:#000;border-radius:999px;z-index:4;pointer-events:none}.live-settings__rail[_ngcontent-%COMP%]{flex:0 0 auto;width:176px;display:flex;flex-direction:column;gap:2px;padding:14px 10px;border-right:1px solid rgba(255,255,255,.07);background:#00000038;overflow-y:auto}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .live-settings__rail[_ngcontent-%COMP%]{background:#00000008;border-right-color:#00000012}@media (max-width: 720px){.live-settings__rail[_ngcontent-%COMP%]{width:auto;flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:8px;border-right:none;border-bottom:1px solid rgba(255,255,255,.07)}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .live-settings__rail[_ngcontent-%COMP%]{border-bottom-color:#00000012}}.live-settings__rail-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:7px;padding:4px 10px 12px;font-size:13px;font-weight:700;flex-shrink:0}.live-settings__rail-title[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#8b5cf6}@media (max-width: 720px){.live-settings__rail-title[_ngcontent-%COMP%]{display:none}}.live-settings__tab[_ngcontent-%COMP%]{display:flex;align-items:center;gap:9px;width:100%;padding:9px 10px;border:none;border-radius:9px;background:transparent;color:inherit;opacity:.7;font-size:12.5px;font-weight:600;text-align:left;cursor:pointer;transition:background .16s,opacity .16s}.live-settings__tab[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:13px;flex-shrink:0}.live-settings__tab[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{flex:1;min-width:0}.live-settings__tab[_ngcontent-%COMP%]:hover:not(:disabled){background:#8b5cf61f;opacity:1}.live-settings__tab--active[_ngcontent-%COMP%]{background:#8b5cf633;color:#c4b5fd;opacity:1}.live-settings__tab[_ngcontent-%COMP%]:disabled{opacity:.32;cursor:not-allowed}@media (max-width: 720px){.live-settings__tab[_ngcontent-%COMP%]{width:auto;flex:0 0 auto;white-space:nowrap}}.live-settings__tab-lock[_ngcontent-%COMP%]{font-size:10px!important;opacity:.8}.live-settings__main[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;min-height:0}.live-settings__notice[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:10px;background:#6366f11f;border:1px solid rgba(99,102,241,.3);color:#a5b4fc;font-size:11.5px;line-height:1.4}.settings-card__count[_ngcontent-%COMP%]{margin-left:auto;background:#8b5cf62e;color:#a78bfa;font-size:11px;font-weight:700;padding:1px 7px;border-radius:10px}.settings-card__action[_ngcontent-%COMP%]{margin-left:auto;background:transparent;border:none;color:inherit;opacity:.6;cursor:pointer;font-size:12px;padding:0 2px}.settings-card__action[_ngcontent-%COMP%]:hover:not(:disabled){opacity:1}.settings-card__action[_ngcontent-%COMP%]:disabled{opacity:.3;cursor:default}
1.settings-people[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px;max-height:230px;overflow-y:auto}.settings-person[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:6px 4px;border-radius:8px;font-size:12.5px}.settings-person[_ngcontent-%COMP%]:hover{background:#ffffff0a}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .settings-person[_ngcontent-%COMP%]:hover{background:#00000008}.settings-person__dot[_ngcontent-%COMP%]{width:7px;height:7px;border-radius:50%;background:#475569;flex-shrink:0}.settings-person__dot.is-online[_ngcontent-%COMP%]{background:#22c55e;box-shadow:0 0 0 3px #22c55e2e}.settings-person__name[_ngcontent-%COMP%]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-person__btn[_ngcontent-%COMP%]{flex-shrink:0;display:inline-flex;align-items:center;gap:4px;border-radius:7px;padding:4px 9px;font-size:11px;font-weight:700;cursor:pointer;border:1px solid transparent}.settings-person__btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:9px}.settings-person__btn[_ngcontent-%COMP%]:disabled{opacity:.4;cursor:default}.settings-person__btn--promote[_ngcontent-%COMP%]{background:#22c55e24;border-color:#22c55e59;color:#86efac}.settings-person__btn--promote[_ngcontent-%COMP%]:hover:not(:disabled){background:#22c55e3d}.settings-person__btn--revoke[_ngcontent-%COMP%]{background:#ef44441f;border-color:#ef44444d;color:#fca5a5}.settings-person__btn--revoke[_ngcontent-%COMP%]:hover:not(:disabled){background:#ef444438}.settings-launcher[_ngcontent-%COMP%]{display:flex;align-items:center;gap:11px;width:100%;padding:13px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.07);background:#ffffff0a;color:inherit;cursor:pointer;text-align:left;transition:background .16s,border-color .16s}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .settings-launcher[_ngcontent-%COMP%]{background:#00000008;border-color:#00000012}.settings-launcher[_ngcontent-%COMP%]:hover{border-color:#6366f1;background:#6366f11a}.settings-launcher[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]:first-child{font-size:16px;color:#8b5cf6;flex-shrink:0}.settings-launcher[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]:last-child{opacity:.4;font-size:11px;flex-shrink:0}.settings-launcher__text[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.settings-launcher__title[_ngcontent-%COMP%]{font-size:13px;font-weight:700}.settings-launcher__desc[_ngcontent-%COMP%]{font-size:11px;line-height:1.35;opacity:.55}.live-settings__scope[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:8px 12px;border-radius:8px;background:#2f8eef1f;border:1px solid rgba(47,142,239,.35);font-size:.82rem}.live-offline__bar[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.1rem;border-bottom:1px solid var(--live-border)}.live-offline__title[_ngcontent-%COMP%]{margin:0 0 .15rem;font-size:1.05rem;font-weight:700}.live-offline__hint[_ngcontent-%COMP%]{margin:0;font-size:.85rem;opacity:.7}.live-offline__actions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.live-offline__zone[_ngcontent-%COMP%]{flex:1 1 0;min-height:0;margin:.6rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;padding:1rem;text-align:center;border:1px dashed rgba(128,128,128,.45);border-radius:12px}.live-offline__zone[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{font-size:1.6rem;opacity:.45}.live-offline__zone-title[_ngcontent-%COMP%]{font-weight:600;font-size:.95rem}.live-offline__zone-desc[_ngcontent-%COMP%]{font-size:.82rem;opacity:.65;max-width:26ch;line-height:1.35}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .comment-item--priority[_ngcontent-%COMP%]{background:#0000004d}.live-comments[_ngcontent-%COMP%]:not(.live-comments--dark)   .comment-item--priority[_ngcontent-%COMP%]:hover{background:#00000061}']})};export{Ze as ViewManagerLiveCommentsComponent};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.