PageSourceSearch

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

js hou.la collected 2026-09-25 03:32:36 UTC 39,844 bytes, 1 lines download raw bytes

1import{a as xe}from"./chunk-H22ZC7B5.js";import{i as de}from"./chunk-ZV7NG4F4.js";import"./chunk-DJ5AJG3T.js";import"./chunk-6EF6RNOO.js";import"./chunk-T3DWPM4S.js";import"./chunk-K6QYQNRN.js";import{a as Ie}from"./chunk-QIOURN4K.js";import{a as ue}from"./chunk-JCFONIMH.js";import{b as fe,c as Ee,d as j}from"./chunk-G6MDBWTL.js";import"./chunk-WF4KZOYP.js";import{a as pe}from"./chunk-EB6TJ75L.js";import{D as ve,c as _e,g as me,l as ge}from"./chunk-FOJCKIWO.js";import{a as se}from"./chunk-AB6CKZTE.js";import"./chunk-H66TAOKK.js";import"./chunk-Z64D265S.js";import"./chunk-K5O3OQFW.js";import"./chunk-2DRXLVRR.js";import"./chunk-RQJZECR4.js";import"./chunk-G3G5OK6Q.js";import"./chunk-AERMLNF3.js";import"./chunk-QHMYZ6SM.js";import"./chunk-PJPLTBJX.js";import"./chunk-DLIVM562.js";import"./chunk-CV2ZWZQE.js";import"./chunk-H4HD3LNW.js";import"./chunk-AQEWHUN5.js";import{c as D,d as N,e as V}from"./chunk-YQZAETCE.js";import{s as le,x as ce}from"./chunk-EO42E46J.js";import{h as te}from"./chunk-3QVSKJ3X.js";import{D as oe,I as w,p as ie,r as ne,s as ae,z as re}from"./chunk-ERUCNOOT.js";import{$b as b,Cc as $,Dc as J,Ec as X,Fc as Z,Ib as P,Jb as p,Lb as A,Qb as B,Qc as l,Rc as c,Sc as F,Tb as Q,Ub as W,Uc as ee,Vb as a,Wb as i,Xb as d,Yb as C,Z as K,Zb as S,_a as H,_b as G,ca as Y,da as T,db as t,fc as x,gc as m,ib as h,la as E,ma as I,p as M,sb as L,sc as q,tc as r,uc as u,vc as s,wc as y,xc as R,yb as v}from"./chunk-DBE7WQEG.js";import{a as z,g as f}from"./chunk-W7GRJBO5.js";var k=class n{constructor(o){this.http=o}liveApi=se.api+"/api/live";getObsCredentials(){return f(this,null,function*(){return M(this.http.get(`${this.liveApi}/obs-credentials`))})}revokeObsCredentials(){return f(this,null,function*(){return M(this.http.post(`${this.liveApi}/obs-credentials/revoke`,{}))})}getEligibility(){return f(this,null,function*(){return M(this.http.get(`${this.liveApi}/eligibility`))})}requestLiveAccess(o){return f(this,null,function*(){return M(this.http.post(`${this.liveApi}/access-request`,{message:o}))})}createExternalRoom(o){return f(this,null,function*(){let e=yield M(this.http.post(`${this.liveApi}/rooms`,z({source:"external",orientation:o.orientation},o.label?{label:o.label}:{})));return{roomId:e.room.id,ingress:e.ingress}})}getIngress(o){return f(this,null,function*(){return M(this.http.get(`${this.liveApi}/rooms/${o}/ingress`))})}rotateKey(o){return f(this,null,function*(){return M(this.http.post(`${this.liveApi}/rooms/${o}/ingress/rotate`,{}))})}endRoom(o){return f(this,null,function*(){yield M(this.http.patch(`${this.liveApi}/rooms/${o}/end`,{}))})}static \u0275fac=function(e){return new(e||n)(Y(te))};static \u0275prov=K({token:n,factory:n.\u0275fac,providedIn:"root"})};function he(n,o){n&1&&(C(0),r(1),l(2,"translate"),S()),n&2&&(t(),s(" ",c(2,1,"MANAGER.LIVE_STUDIO.PC_ACCESS_SUSPENDED_PERM")," "))}function Pe(n,o){if(n&1&&(C(0),r(1),l(2,"translate"),a(3,"strong"),r(4),l(5,"date"),i(),S()),n&2){let e=m().ngIf;t(),s(" ",c(2,2,"MANAGER.LIVE_STUDIO.PC_ACCESS_SUSPENDED")," "),t(3),u(F(5,4,e.until,"shortDate"))}}function Ae(n,o){if(n&1&&(a(0,"span"),r(1),i()),n&2){let e=m().ngIf;t(),u(e.reason)}}function Te(n,o){if(n&1&&(a(0,"p",9),v(1,he,3,3,"ng-container",2)(2,Pe,6,7,"ng-container",2)(3,Ae,2,1,"span",2),i()),n&2){let e=o.ngIf;t(),p("ngIf",e.permanent),t(),p("ngIf",!e.permanent),t(),p("ngIf",e.reason)}}function ye(n,o){if(n&1&&(C(0),a(1,"p",9),r(2),l(3,"translate"),i(),a(4,"ul",10)(5,"li"),d(6,"i",11),a(7,"span",12),r(8),i(),r(9),l(10,"translate"),i(),a(11,"li"),d(12,"i",11),a(13,"span",12),r(14),i(),r(15),l(16,"translate"),i()(),S()),n&2){let e=m(2).ngIf;t(2),s(" ",c(3,13,"MANAGER.LIVE_STUDIO.PC_ACCESS_INTRO")," "),t(3),A("is-ok",e.checks.followers.passed),t(),p("ngClass",e.checks.followers.passed?"pi-check":"pi-times"),t(2),y("",e.checks.followers.current," / ",e.checks.followers.required,""),t(),s(" ",c(10,15,"MANAGER.LIVE_STUDIO.PC_ACCESS_FOLLOWERS")," "),t(2),A("is-ok",e.checks.accountAge.passed),t(),p("ngClass",e.checks.accountAge.passed?"pi-check":"pi-times"),t(2),y("",e.checks.accountAge.ageDays," / ",e.checks.accountAge.requiredDays,""),t(),s(" ",c(16,17,"MANAGER.LIVE_STUDIO.PC_ACCESS_AGE")," ")}}function Le(n,o){n&1&&(C(0),d(1,"i",13),r(2),l(3,"translate"),S()),n&2&&(t(2),s(" ",c(3,1,"MANAGER.LIVE_STUDIO.PC_ACCESS_REQ_PENDING")," "))}function Re(n,o){if(n&1&&(a(0,"span"),r(1),i()),n&2){let e=m(3).ngIf;t(),u(e.request==null?null:e.request.rejectionReason)}}function we(n,o){if(n&1&&(C(0),d(1,"i",14),r(2),l(3,"translate"),a(4,"strong"),r(5),l(6,"date"),i(),v(7,Re,2,1,"span",2),S()),n&2){let e=o.ngIf,_=m(2).ngIf;t(2),s(" ",c(3,3,"MANAGER.LIVE_STUDIO.PC_ACCESS_REQ_COOLDOWN")," "),t(3),u(F(6,5,e,"shortDate")),t(2),p("ngIf",_.request==null?null:_.request.rejectionReason)}}function De(n,o){if(n&1&&(a(0,"span"),r(1),l(2,"translate"),i()),n&2){let e=m(5);t(),y(" (",e.requestMin," ",c(2,2,"MANAGER.LIVE_STUDIO.PC_ACCESS_REQ_MIN"),") ")}}function Ne(n,o){if(n&1&&(a(0,"p",20),r(1),i()),n&2){let e=m(5);t(),s(" ",e.requestError," ")}}function Ve(n,o){if(n&1){let e=b();C(0),a(1,"label",15),r(2),l(3,"translate"),i(),a(4,"textarea",16),l(5,"translate"),X("ngModelChange",function(g){E(e);let O=m(4);return J(O.accessMessage,g)||(O.accessMessage=g),I(g)}),i(),a(6,"div",17),r(7),v(8,De,3,4,"span",2),i(),v(9,Ne,2,1,"p",18),a(10,"button",19),x("click",function(){E(e);let g=m(4);return I(g.requestAccess())}),d(11,"i",11),r(12),l(13,"translate"),i(),S()}if(n&2){let e=m(4);t(2),s(" ",c(3,11,"MANAGER.LIVE_STUDIO.PC_ACCESS_REQ_LABEL")," "),t(2),$("ngModel",e.accessMessage),p("placeholder",c(5,13,"MANAGER.LIVE_STUDIO.PC_ACCESS_REQ_P
1LACEHOLDER")),P("maxlength",e.requestMax),t(3),y(" ",e.accessMessage.trim().length," / ",e.requestMax," "),t(),p("ngIf",e.accessMessage.trim().length<e.requestMin),t(),p("ngIf",e.requestError),t(),p("disabled",e.sendingRequest||e.accessMessage.trim().length<e.requestMin),t(),p("ngClass",e.sendingRequest?"pi-spin pi-spinner":"pi-send"),t(),s(" ",c(13,15,"MANAGER.LIVE_STUDIO.PC_ACCESS_REQ_SEND")," ")}}function ke(n,o){if(n&1&&(a(0,"div",4)(1,"div",5),d(2,"i",6),a(3,"span"),r(4),l(5,"translate"),i()(),v(6,Te,4,3,"p",7)(7,ye,17,19,"ng-container",2),a(8,"div",8),v(9,Le,4,3,"ng-container",2)(10,we,8,8,"ng-container",2)(11,Ve,14,17,"ng-container",2),i()()),n&2){let e=m().ngIf,_=m(2);t(4),u(c(5,6,"MANAGER.LIVE_STUDIO.PC_ACCESS_TITLE")),t(2),p("ngIf",e.suspension),t(),p("ngIf",!e.suspension),t(2),p("ngIf",_.hasPendingRequest),t(),p("ngIf",_.requestCooldownUntil),t(),p("ngIf",_.canRequestAccess)}}function Ue(n,o){if(n&1&&(C(0),v(1,ke,12,8,"div",3),S()),n&2){let e=o.ngIf;t(),p("ngIf",!e.eligible)}}function Be(n,o){if(n&1&&v(0,Ue,2,1,"ng-container",2),n&2){let e=m();p("ngIf",e.eligibility)}}function Ge(n,o){n&1&&G(0)}function qe(n,o){n&1&&(a(0,"div",27)(1,"div",28),r(2),l(3,"translate"),i(),a(4,"ul")(5,"li"),r(6),l(7,"translate"),i(),a(8,"li"),r(9),l(10,"translate"),i()()()),n&2&&(t(2),s(" ",c(3,3,"MANAGER.LIVE_STUDIO.PC_NEXT_TITLE")," "),t(4),u(c(7,5,"MANAGER.LIVE_STUDIO.PC_NEXT1")),t(3),u(c(10,7,"MANAGER.LIVE_STUDIO.PC_NEXT2")))}function Fe(n,o){if(n&1&&(a(0,"p",20),r(1),i()),n&2){let e=m(2);t(),u(e.error)}}function je(n,o){n&1&&d(0,"i",30)}function ze(n,o){if(n&1){let e=b();a(0,"button",19),x("click",function(){E(e);let g=m(2);return I(g.start())}),v(1,je,1,0,"i",29),r(2),l(3,"translate"),i()}if(n&2){let e=m(2);p("disabled",e.loading),t(),p("ngIf",e.loading),t(),s(" ",c(3,3,"MANAGER.LIVE_STUDIO.PC_CONFIRM")," ")}}function Ke(n,o){if(n&1){let e=b();C(0),a(1,"p",21),r(2),l(3,"translate"),i(),v(4,Ge,1,0,"ng-container",22)(5,qe,11,9,"div",23)(6,Fe,2,1,"p",18),a(7,"div",24)(8,"button",25),x("click",function(){E(e);let g=m();return I(g.close())}),r(9),l(10,"translate"),i(),v(11,ze,4,5,"button",26),i(),S()}if(n&2){let e=m(),_=q(1);t(2),s(" ",c(3,6,"MANAGER.LIVE_STUDIO.PC_INTRO")," "),t(2),p("ngTemplateOutlet",_),t(),p("ngIf",!e.accessBlocked),t(),p("ngIf",e.error),t(3),s(" ",c(10,8,"MANAGER.LIVE_STUDIO.PC_CANCEL")," "),t(2),p("ngIf",!e.accessBlocked)}}function Ye(n,o){n&1&&G(0)}function He(n,o){if(n&1){let e=b();C(0),a(1,"label",45),r(2),l(3,"translate"),i(),a(4,"div",46)(5,"code"),r(6),i(),a(7,"button",47),l(8,"translate"),x("click",function(){let g=E(e).ngIf,O=m(2);return I(O.copy(g.url,"MANAGER.LIVE_STUDIO.PC_SERVER"))}),d(9,"i",48),i()(),a(10,"label",45),r(11),l(12,"translate"),i(),a(13,"div",46)(14,"code"),r(15),i(),a(16,"button",47),l(17,"translate"),x("click",function(){E(e);let g=m(2);return I(g.revealed=!g.revealed)}),d(18,"i",11),i(),a(19,"button",47),l(20,"translate"),x("click",function(){let g=E(e).ngIf,O=m(2);return I(O.copy(g.streamKey,"MANAGER.LIVE_STUDIO.PC_KEY"))}),d(21,"i",48),i(),a(22,"button",49),l(23,"translate"),l(24,"translate"),x("click",function(){E(e);let g=m(2);return I(g.regenerateKey())}),d(25,"i",11),i()(),a(26,"p",50),d(27,"i",6),r(28),l(29,"translate"),i(),S()}if(n&2){let e=o.ngIf,_=m(2);t(2),u(c(3,13,"MANAGER.LIVE_STUDIO.PC_SERVER")),t(4),u(e.url),t(),p("title",c(8,15,"MANAGER.LIVE_STUDIO.PC_COPY")),t(4),u(c(12,17,"MANAGER.LIVE_STUDIO.PC_KEY")),t(4),u(_.revealed?e.streamKey:"\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"),t(),p("title",c(17,19,"MANAGER.LIVE_STUDIO.PC_REVEAL")),t(2),p("ngClass",_.revealed?"pi-eye-slash":"pi-eye"),t(),p("title",c(20,21,"MANAGER.LIVE_STUDIO.PC_COPY")),t(3),p("disabled",_.rotating)("title",c(23,23,"MANAGER.LIVE_STUDIO.PC_KEY_ROTATE")),P("aria-label",c(24,25,"MANAGER.LIVE_STUDIO.PC_KEY_ROTATE")),t(3),p("ngClass",_.rotating?"pi-spinner pi-spin":"pi-refresh"),t(3),s(" ",c(29,27,"MANAGER.LIVE_STUDIO.PC_KEY_WARN")," ")}}function Qe(n,o){n&1&&(a(0,"span"),r(1),l(2,"translate"),i()),n&2&&(t(),s(" ",c(2,1,"MANAGER.LIVE_STUDIO.PC_REJECTED_ACCESS")," "))}function We(n,o){if(n&1&&(a(0,"div")(1,"dt"),r(2),l(3,"translate"),i(),a(4,"dd"),r(5),i()()),n&2){let e=o.ngIf;t(2),s(" ",c(3,4,"MANAGER.LIVE_STUDIO.PC_REJECTED_MAX")," "),t(3),R(" ",e.maxLongSide,"\xD7",e.maxShortSide," \xB7 ",e.maxFps," fps ")}}function $e(n,o){if(n&1&&(C(0),a(1,"span"),r(2),l(3,"translate"),i(),a(4,"dl",54)(5,"div")(6,"dt"),r(7),l(8,"translate"),i(),a(9,"dd"),r(10),i()(),v(11,We,6,6,"div",2),i(),a(12,"span",55),r(13),l(14,"translate"),i(),S()),n&2){let e=m().ngIf,_=m(2);t(2),u(c(3,7,"MANAGER.LIVE_STUDIO.PC_REJECTED_QUALITY")),t(5),s(" ",c(8,9,"MANAGER.LIVE_STUDIO.PC_REJECTED_YOURS")," "),t(3),R(" ",e.width,"\xD7",e.height," \xB7 ",e.fps," fps "),t(),p("ngIf",_.creds==null?null:_.creds.limits),t(2),u(c(14,11,e.reason==="FRAMERATE_TOO_HIGH"?"MANAGER.LIVE_STUDIO.PC_REJECTED_HOW_FPS":"MANAGER.LIVE_STUDIO.PC_REJECTED_HOW_RES"))}}function Je(n,o){if(n&1&&(a(0,"div",51),d(1,"i",52),a(2,"div",53)(3,"strong"),r(4),l(5,"translate"),i(),v(6,Qe,3,3,"span",2)(7,$e,15,13,"ng-container",2),i()()),n&2){let e=o.ngIf;t(4),u(c(5,3,"MANAGER.LIVE_STUDIO.PC_REJECTED_TITLE")),t(2),p("ngIf",e.reason==="NOT_ELIGIBLE"),t(),p("ngIf",e.reason!=="NOT_ELIGIBLE")}}function Xe(n,o){if(n&1&&(a(0,"div",56)(1,"ul")(2,"li")(3,"strong"),r(4),i(),r(5),l(6,"translate"),i(),a(7,"li"),r(8),l(9,"translate"),i(),a(10,"li"),r(11),l(12,"translate"),a(13,"strong"),r(14),i()(),a(15,"li"),r(16),l(17,"translate"),i()()()),n&2){let e=m().ngIf;t(4),R("",e.maxLongSide,"\xD7",e.maxShortSide," \xB7 ",e.maxFps," fps"),t(),s(" ",c(6,8,"MANAGER.LIVE_STUDIO.PC_QUALITY_RES")," "),t(3),s(" ",c(9,10,"MANAGER.LIVE_STUDIO.PC_QUALITY_ORIENT")," "),t(3),s(" ",c(12,12,"MANAGER.LIVE_STUDIO.PC_QUALITY_BITRATE")," "),t(3),s("",e.re
1commendedBitrateKbps," kb/s"),t(2),s(" ",c(17,14,"MANAGER.LIVE_STUDIO.PC_QUALITY_LOWER")," ")}}function Ze(n,o){if(n&1){let e=b();a(0,"div",33)(1,"button",34),x("click",function(){E(e);let g=m(2);return I(g.toggle("quality"))}),d(2,"i",11),r(3),l(4,"translate"),i(),v(5,Xe,18,16,"div",35),i()}if(n&2){let e=m(2);t(),P("aria-expanded",e.open.quality),t(),p("ngClass",e.open.quality?"pi-chevron-down":"pi-chevron-right"),t(),s(" ",c(4,4,"MANAGER.LIVE_STUDIO.PC_QUALITY_TITLE")," "),t(2),p("ngIf",e.open.quality)}}function et(n,o){n&1&&(a(0,"div",56)(1,"ol")(2,"li"),r(3),l(4,"translate"),i(),a(5,"li"),r(6),l(7,"translate"),i(),a(8,"li"),r(9),l(10,"translate"),i()()()),n&2&&(t(3),u(c(4,3,"MANAGER.LIVE_STUDIO.PC_STEP1")),t(3),u(c(7,5,"MANAGER.LIVE_STUDIO.PC_STEP2")),t(3),u(c(10,7,"MANAGER.LIVE_STUDIO.PC_STEP3")))}function tt(n,o){n&1&&(a(0,"span",63),r(1,"RTMPS"),i())}function it(n,o){if(n&1&&(a(0,"div",59)(1,"span",60),r(2),i(),a(3,"span",61),v(4,tt,2,0,"span",62),i()()),n&2){let e=o.$implicit;t(2),u(e.name),t(2),p("ngIf",e.rtmp)}}function nt(n,o){if(n&1&&(a(0,"div",56)(1,"div",57),v(2,it,5,2,"div",58),i()()),n&2){let e=m(2);t(2),p("ngForOf",e.softwares)}}function at(n,o){if(n&1){let e=b();C(0),v(1,Ye,1,0,"ng-container",22)(2,He,30,29,"ng-container",2)(3,Je,8,5,"div",31)(4,Ze,6,6,"div",32),a(5,"div",33)(6,"button",34),x("click",function(){E(e);let g=m();return I(g.toggle("steps"))}),d(7,"i",11),r(8),l(9,"translate"),i(),v(10,et,11,9,"div",35),i(),a(11,"div",33)(12,"button",34),x("click",function(){E(e);let g=m();return I(g.toggle("softwares"))}),d(13,"i",11),r(14),l(15,"translate"),i(),v(16,nt,3,1,"div",35),i(),a(17,"a",36)(18,"span",37),d(19,"i",38),i(),a(20,"span",39)(21,"span",40),r(22),l(23,"translate"),i(),a(24,"span",41),r(25),l(26,"translate"),i()(),d(27,"i",42),i(),a(28,"div",24)(29,"button",43),x("click",function(){E(e);let g=m();return I(g.refresh())}),d(30,"i",11),r(31),l(32,"translate"),i(),a(33,"button",44),x("click",function(){E(e);let g=m();return I(g.close())}),r(34),l(35,"translate"),i()(),S()}if(n&2){let e=m(),_=q(1);t(),p("ngTemplateOutlet",_),t(),p("ngIf",e.endpoint),t(),p("ngIf",e.creds==null?null:e.creds.lastRejection),t(),p("ngIf",e.creds==null?null:e.creds.limits),t(2),P("aria-expanded",e.open.steps),t(),p("ngClass",e.open.steps?"pi-chevron-down":"pi-chevron-right"),t(),s(" ",c(9,18,"MANAGER.LIVE_STUDIO.PC_STEPS_TITLE")," "),t(2),p("ngIf",e.open.steps),t(2),P("aria-expanded",e.open.softwares),t(),p("ngClass",e.open.softwares?"pi-chevron-down":"pi-chevron-right"),t(),s(" ",c(15,20,"MANAGER.LIVE_STUDIO.PC_SOFTWARES_TITLE")," "),t(2),p("ngIf",e.open.softwares),t(6),u(c(23,22,"MANAGER.LIVE_STUDIO.EVENTS_TITLE")),t(3),u(c(26,24,"MANAGER.LIVE_STUDIO.EVENTS_DESC")),t(4),p("disabled",e.loading||e.rotating),t(),p("ngClass",e.rotating?"pi-spin pi-spinner":"pi-refresh"),t(),s(" ",c(32,26,"MANAGER.LIVE_STUDIO.PC_KEY_ROTATE")," "),t(3),s(" ",c(35,28,"MANAGER.LIVE_STUDIO.PC_CLOSE")," ")}}var U=class n{constructor(o,e,_,g,O,st){this.ref=o;this.ingressService=e;this.clipboard=_;this.toast=g;this.translate=O;this.confirmService=st}step="intro";revealed=!1;loading=!1;rotating=!1;error=null;eligibility=null;checkingAccess=!1;static REQUEST_MIN=20;static REQUEST_MAX=500;requestMin=n.REQUEST_MIN;requestMax=n.REQUEST_MAX;accessMessage="";sendingRequest=!1;requestError=null;poll=null;static POLL_MS=12e3;open={steps:!1,quality:!1,softwares:!1};creds=null;softwares=[{name:"OBS Studio",rtmp:!0},{name:"Streamlabs Desktop",rtmp:!0},{name:"vMix",rtmp:!0},{name:"XSplit Broadcaster",rtmp:!0},{name:"FFmpeg",rtmp:!0},{name:"Larix Broadcaster",rtmp:!0}];ngOnInit(){return f(this,null,function*(){this.checkingAccess=!0;try{this.eligibility=yield this.ingressService.getEligibility()}catch{this.eligibility=null}finally{this.checkingAccess=!1}this.poll=setInterval(()=>void this.tick(),n.POLL_MS)})}ngOnDestroy(){this.poll&&clearInterval(this.poll),this.poll=null}tick(){return f(this,null,function*(){try{if(this.creds){let o=yield this.ingressService.getObsCredentials();this.creds=o,this.eligibility=o.eligibility??this.eligibility}else this.eligibility=yield this.ingressService.getEligibility()}catch{}})}get accessBlocked(){return this.eligibility?!this.eligibility.eligible:!1}get hasPendingRequest(){return this.eligibility?.request?.status==="PENDING"}get requestCooldownUntil(){let o=this.eligibility?.request;return!o||o.status!=="REJECTED"||!o.canResubmitAt?null:new Date(o.canResubmitAt).getTime()>Date.now()?o.canResubmitAt:null}get canRequestAccess(){return this.accessBlocked&&!this.hasPendingRequest&&!this.requestCooldownUntil}requestAccess(){return f(this,null,function*(){let o=this.accessMessage.trim();if(!(this.sendingRequest||o.length<this.requestMin)){this.sendingRequest=!0,this.requestError=null;try{yield this.ingressService.requestLiveAccess(o),this.accessMessage="",this.eligibility=yield this.ingressService.getEligibility(),this.toast.add({severity:"success",summary:this.translate.instant("MANAGER.LIVE_STUDIO.PC_ACCESS_REQ_SENT"),life:4e3})}catch(e){this.requestError=e?.error?.message||this.translate.instant("MANAGER.LIVE_STUDIO.PC_ERROR")}finally{this.sendingRequest=!1}}})}get endpoint(){return!this.creds?.server||!this.creds?.streamKey?null:{url:this.creds.server,streamKey:this.creds.streamKey}}start(){return f(this,null,function*(){if(!(this.loading||this.accessBlocked)){this.loading=!0,this.error=null;try{let o=yield this.ingressService.getObsCredentials();this.creds=o,this.eligibility=o.eligibility??this.eligibility,this.step=o.server?"ready":"intro"}catch(o){this.error=o?.error?.message||this.translate.instant("MANAGER.LIVE_STUDIO.PC_ERROR")}finally{this.loading=!1}}})}regenerateKey(){return f(this,null,function*(){if(!(this.rotating||this.loading||!(yield this.confirmService.confirm({header:this.translate.instant("MANAGER.LIVE_STUDIO.PC_KEY_ROTATE_TIT
1LE"),message:this.translate.instant("MANAGER.LIVE_STUDIO.PC_KEY_ROTATE_CONFIRM"),warning:this.translate.instant("MANAGER.LIVE_STUDIO.PC_KEY_ROTATE_WARNING"),severity:"warn",acceptLabel:this.translate.instant("MANAGER.LIVE_STUDIO.PC_KEY_ROTATE"),rejectLabel:this.translate.instant("MANAGER.LIVE_STUDIO.PC_CANCEL")})))){this.rotating=!0;try{let e=yield this.ingressService.revokeObsCredentials();this.creds=e,this.revealed=!0,this.toast.add({severity:"success",summary:this.translate.instant("MANAGER.LIVE_STUDIO.PC_KEY_ROTATED"),detail:this.translate.instant(e.liveEnded?"MANAGER.LIVE_STUDIO.PC_KEY_ROTATED_LIVE_CUT":"MANAGER.LIVE_STUDIO.PC_KEY_ROTATED_HINT")})}catch{this.toast.add({severity:"error",summary:this.translate.instant("MANAGER.LIVE_STUDIO.PC_ERROR")})}finally{this.rotating=!1}}})}refresh(){this.regenerateKey()}copy(o,e){o&&(this.clipboard.copy(o),this.toast.add({severity:"success",summary:this.translate.instant("MANAGER.LIVE_STUDIO.PC_COPIED"),detail:this.translate.instant(e),life:2500}))}toggle(o){this.open[o]=!this.open[o]}close(){this.ref.close()}static \u0275fac=function(e){return new(e||n)(h(fe),h(k),h(ue),h(pe),h(D),h(Ie))};static \u0275cmp=L({type:n,selectors:[["app-modal-live-pc"]],decls:5,vars:2,consts:[["accessBlock",""],[1,"live-pc"],[4,"ngIf"],["class","live-pc__access",4,"ngIf"],[1,"live-pc__access"],[1,"live-pc__access-head"],[1,"pi","pi-lock"],["class","live-pc__access-msg",4,"ngIf"],[1,"live-pc__access-req"],[1,"live-pc__access-msg"],[1,"live-pc__access-checks"],[1,"pi",3,"ngClass"],[1,"live-pc__access-num"],[1,"pi","pi-hourglass"],[1,"pi","pi-clock"],["for","live-access-msg",1,"live-pc__access-label"],["id","live-access-msg","rows","3",1,"live-pc__access-input",3,"ngModelChange","ngModel","placeholder"],[1,"live-pc__access-count"],["class","live-pc__error",4,"ngIf"],["type","button",1,"btn","btn--primary",3,"click","disabled"],[1,"live-pc__error"],[1,"live-pc__intro"],[4,"ngTemplateOutlet"],["class","live-pc__next",4,"ngIf"],[1,"live-pc__actions"],["type","button",1,"btn","btn--ghost",3,"click"],["type","button","class","btn btn--primary",3,"disabled","click",4,"ngIf"],[1,"live-pc__next"],[1,"live-pc__next-title"],["class","pi pi-spin pi-spinner",4,"ngIf"],[1,"pi","pi-spin","pi-spinner"],["class","live-pc__rejected",4,"ngIf"],["class","live-pc__acc",4,"ngIf"],[1,"live-pc__acc"],["type","button",1,"live-pc__acc-head",3,"click"],["class","live-pc__acc-body",4,"ngIf"],["routerLink","/guides/live-events","target","_blank","rel","noopener",1,"live-pc__connector"],[1,"live-pc__connector-ic"],[1,"pi","pi-bolt"],[1,"live-pc__connector-txt"],[1,"live-pc__connector-title"],[1,"live-pc__connector-desc"],[1,"pi","pi-arrow-right","live-pc__connector-arrow"],["type","button",1,"btn","btn--ghost",3,"click","disabled"],["type","button",1,"btn","btn--primary",3,"click"],[1,"live-pc__label"],[1,"live-pc__field"],["type","button",1,"icon-btn",3,"click","title"],[1,"pi","pi-copy"],["type","button",1,"icon-btn","icon-btn--warn",3,"click","disabled","title"],[1,"live-pc__warn"],[1,"live-pc__rejected"],[1,"pi","pi-exclamation-triangle"],[1,"live-pc__rejected-body"],[1,"live-pc__rejected-facts"],[1,"live-pc__rejected-how"],[1,"live-pc__acc-body"],[1,"sw-grid"],["class","sw",4,"ngFor","ngForOf"],[1,"sw"],[1,"sw__name"],[1,"sw__tags"],["class","sw__tag sw__tag--rtmp",4,"ngIf"],[1,"sw__tag","sw__tag--rtmp"]],template:function(e,_){e&1&&(v(0,Be,1,1,"ng-template",null,0,ee),a(2,"div",1),v(3,Ke,12,10,"ng-container",2)(4,at,36,30,"ng-container",2),i()),e&2&&(t(3),p("ngIf",_.step==="intro"),t(),p("ngIf",_.step==="ready"&&_.creds))},dependencies:[w,ie,ne,ae,re,oe,ve,_e,me,ge,ce,le,V,N],styles:[".live-pc[_ngcontent-%COMP%]{color:#1f2430;font-size:.9rem}.live-pc__intro[_ngcontent-%COMP%]{color:#4b5563;margin:0 0 .5rem;line-height:1.5}.live-pc__acc[_ngcontent-%COMP%]{border-top:1px solid #eef0f3}.live-pc__acc[_ngcontent-%COMP%]:first-of-type{margin-top:.9rem}.live-pc__acc-head[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;gap:.5rem;padding:.6rem 0;background:none;border:none;cursor:pointer;text-align:left;font-weight:700;font-size:.85rem;color:#1f2430}.live-pc__acc-head[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.72rem;color:#9aa2af}.live-pc__acc-head[_ngcontent-%COMP%]:hover{color:#2f8eef}.live-pc__acc-body[_ngcontent-%COMP%]{padding:0 0 .7rem 1.35rem}.live-pc__acc-body[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%], .live-pc__acc-body[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0;padding-left:1.1rem;color:#374151;line-height:1.6;font-size:.85rem}.live-pc__acc-body[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:#1f2430}.live-pc__connector[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;margin-top:1rem;padding:.75rem .85rem;border:1px solid #cfe0f5;border-radius:12px;background:linear-gradient(135deg,#f2f7fe,#eef2ff);text-decoration:none;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.live-pc__connector[_ngcontent-%COMP%]:hover{border-color:#2f8eef;transform:translateY(-1px);box-shadow:0 4px 14px #2f8eef1f}.live-pc__connector-ic[_ngcontent-%COMP%]{flex-shrink:0;width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#8b5cf6,#6366f1);color:#fff}.live-pc__connector-ic[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:1.05rem}.live-pc__connector-txt[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;gap:.1rem}.live-pc__connector-title[_ngcontent-%COMP%]{font-weight:700;font-size:.85rem;color:#1f2430}.live-pc__connector-desc[_ngcontent-%COMP%]{font-size:.8rem;color:#4b5563;line-height:1.4}.live-pc__connector-arrow[_ngcontent-%COMP%]{flex-shrink:0;color:#2f8eef}.live-pc__next[_ngcontent-%COMP%]{background:#f4f4f7;border:1px solid #e5e7eb;border-radius:10px;padding:.6rem .8rem;margin:0 0 .5rem}.live-pc__next[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:.3rem 0 0;padding-left:1.1rem;color:#374151;line-height:1.55;font-size:.85rem}.live-pc__next-title[_ngcontent-%COMP%]{font-weight:700;font-size:.82rem;color:#1f2430}.live-pc__quality[_ngcontent-%COMP%]{background:#f4f4f7;border:1px solid #e5e7eb;border-radius:10px;padding:.6rem .8rem;margin:0 0 .75rem}.live-pc__quality[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:.35rem 0 0;padding-left:1.1rem;color:#374151;line-height:1.55;font-size:.85rem}.live-pc__quality[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{color:#1f2430}.live-pc__rejected[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.5rem;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:.6rem .8rem;margin:0 0 .75rem;color:#991b1b;font-size:.85rem;line-height:1.5}.live-pc__rejected[_ngcontent-%COMP%] > i[_ngcontent-%COMP%]{margin-top:.15rem}.live-pc__rejected-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.3rem;min-width:0}.live-pc__rejected-facts[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;gap:.15rem .6rem;margin:.15rem 0}.live-pc__rejected-facts[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:contents}.live-pc__rejected-facts[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{font-size:.78rem;opacity:.85}.live-pc__rejected-facts[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{margin:0;font-weight:700;font-variant-numeric:tabular-nums}.live-pc__rejected-how[_ngcontent-%COMP%]{margin-top:.15rem;padding-top:.35rem;border-top:1px dashed #fecaca;font-size:.82rem}.live-pc__access[_ngcontent-%COMP%]{background:#fffbeb;border:1px solid #fde68a;border-left:4px solid #b45309;border-radius:10px;padding:.7rem .85rem;margin:0 0 .75rem;color:#78350f;font-size:.85rem;line-height:1.5}.live-pc__access-head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.45rem;margin-bottom:.35rem;font-weight:800;font-size:.88rem;color:#78350f}.live-pc__access-msg[_ngcontent-%COMP%]{margin:0 0 .4rem}.live-pc__access-checks[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.live-pc__access-checks[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.45rem;padding:.15rem 0;font-weight:700;font-variant-numeric:tabular-nums}.live-pc__access-checks[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.75rem}.live-pc__access-checks[_ngcontent-%COMP%]   li.is-ok[_ngcontent-%COMP%]{font-weight:400;opacity:.7}
1.live-pc__access-num[_ngcontent-%COMP%]{font-variant-numeric:tabular-nums;white-space:nowrap}.live-pc__access-req[_ngcontent-%COMP%]{margin:.6rem 0 0;padding-top:.55rem;border-top:1px dashed #fcd34d}.live-pc__access-req[_ngcontent-%COMP%] > .pi[_ngcontent-%COMP%]{margin-right:.35rem}.live-pc__access-label[_ngcontent-%COMP%]{display:block;margin-bottom:.3rem;font-weight:700;font-size:.85rem;color:#78350f}.live-pc__access-input[_ngcontent-%COMP%]{width:100%;box-sizing:border-box;padding:.5rem .6rem;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#1f2430;font:inherit;font-size:.85rem;line-height:1.45;resize:vertical}.live-pc__access-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#2f8eef;box-shadow:0 0 0 3px #2f8eef2e}.live-pc__access-count[_ngcontent-%COMP%]{margin:.25rem 0 .5rem;font-size:.75rem;color:#92400e;font-variant-numeric:tabular-nums}.live-pc__protocols[_ngcontent-%COMP%]{display:flex;gap:.5rem;margin-bottom:1rem}.live-pc__label[_ngcontent-%COMP%]{display:block;font-size:.75rem;font-weight:600;color:#6b7280;margin:.75rem 0 .25rem}.live-pc__field[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem;background:#f4f4f7;border:1px solid #e5e7eb;border-radius:10px;padding:.35rem .5rem}.live-pc__field[_ngcontent-%COMP%]   code[_ngcontent-%COMP%]{flex:1;font-family:monospace;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.live-pc__warn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.4rem;color:#b45309;font-size:.75rem;margin-top:.6rem}.live-pc__error[_ngcontent-%COMP%]{color:#dc2626;font-size:.82rem;margin:.5rem 0}.live-pc__steps[_ngcontent-%COMP%], .live-pc__softwares[_ngcontent-%COMP%]{margin-top:1.25rem}.live-pc__steps[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%], .live-pc__softwares[_ngcontent-%COMP%]   ol[_ngcontent-%COMP%]{margin:.25rem 0 0;padding-left:1.1rem;color:#374151;line-height:1.6}.live-pc__steps-title[_ngcontent-%COMP%]{font-weight:700;font-size:.85rem;margin-bottom:.35rem;color:#1f2430}.live-pc__actions[_ngcontent-%COMP%]{display:flex;gap:.5rem;justify-content:flex-end;margin-top:1.25rem;flex-wrap:wrap}.live-pc__actions--spread[_ngcontent-%COMP%]{justify-content:space-between}.proto[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;padding:.55rem;border-radius:10px;border:1px solid #e5e7eb;background:#f9fafb;color:#1f2430;font-weight:600;cursor:pointer}.proto[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-weight:400;font-size:.68rem;color:#6b7280}.proto--on[_ngcontent-%COMP%]{border-color:#e1306c;background:#fdeef4;color:#c01f5b}.icon-btn--warn[_ngcontent-%COMP%]{color:#b45309}.icon-btn--warn[_ngcontent-%COMP%]:hover{background:#fef3c7;color:#78350f}.icon-btn--warn[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:not-allowed}.icon-btn[_ngcontent-%COMP%]{background:transparent;border:none;color:#6b7280;cursor:pointer;padding:.3rem .4rem;border-radius:6px}.icon-btn[_ngcontent-%COMP%]:hover{background:#ececed;color:#1f2430}.sw-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.4rem;margin-top:.4rem}.sw[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:.4rem;padding:.4rem .6rem;background:#f4f4f7;border-radius:8px}.sw__name[_ngcontent-%COMP%]{font-size:.8rem;color:#1f2430}.sw__tags[_ngcontent-%COMP%]{display:flex;gap:.25rem}.sw__tag[_ngcontent-%COMP%]{font-size:.6rem;font-weight:700;padding:.05rem .35rem;border-radius:4px}.sw__tag--whip[_ngcontent-%COMP%]{background:#dcfce7;color:#15803d}.sw__tag--rtmp[_ngcontent-%COMP%]{background:#dbeafe;color:#1d4ed8}.btn[_ngcontent-%COMP%]{border:none;border-radius:10px;padding:.55rem 1rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:.4rem}.btn--primary[_ngcontent-%COMP%]{background:#e1306c;color:#fff}.btn--ghost[_ngcontent-%COMP%]{background:#f1f1f4;color:#1f2430}.btn--danger[_ngcontent-%COMP%]{background:#fee2e2;color:#dc2626}.btn[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:not-allowed}"]})};var rt=(n,o)=>o.id;function ot(n,o){n&1&&(a(0,"p",46),r(1,"Aucun live en cours."),i())}function lt(n,o){if(n&1&&(a(0,"div",48)(1,"a",49),d(2,"span",50),a(3,"span",51),r(4),i(),a(5,"span",52),d(6,"i",53),r(7),i(),d(8,"i",54),i()()),n&2){let e=o.$implicit;t(),p("href","/studio/live/comments?workspaceId="+e.workspaceId,H),t(),A("admin-live-card__dot--paused",e.status==="paused"),p("title",e.status),t(2),s(" ",(e.workspace==null?null:e.workspace.name)||e.workspaceId," "),t(3),s(" ",e.viewerCount," ")}}function ct(n,o){if(n&1){let e=b();a(0,"div",40)(1,"div",41)(2,"span",2),d(3,"i",42),r(4," Lives en cours \u2014 acc\xE8s admin "),i(),a(5,"button",43),x("click",function(){E(e);let g=m();return I(g.loadActiveLives())}),d(6,"i",44),r(7," Rafra\xEEchir "),i()(),a(8,"p",45),r(9," R\xE9serv\xE9 aux administrateurs : ouvre l'\xE9cran commentaires & cadeaux d\xE9port\xE9 sur n'importe quel live en cours (y compris les lives de test). "),i(),v(10,ot,2,0,"p",46),a(11,"div",47),Q(12,lt,9,6,"div",48,rt),i()()}if(n&2){let e=m();t(5),p("disabled",e.loadingLives),t(),A("pi-spin",e.loadingLives)("pi-refresh",!e.loadingLives),t(4),B(!e.loadingLives&&e.activeLives.length===0?10:-1),t(2),W(e.activeLives)}}var Se=class n{dialogService=T(j);translate=T(D);liveService=T(xe);loginService=T(de);isAdmin=!1;activeLives=[];loadingLives=!1;ngOnInit(){return f(this,null,function*(){this.isAdmin=yield this.loginService.isAdmin(),this.isAdmin&&this.loadActiveLives()})}loadActiveLives(){return f(this,null,function*(){this.loadingLives=!0;try{this.activeLives=yield this.liveService.getAdminActiveRooms()}catch{this.activeLives=[]}finally{this.loadingLives=!1}})}openLivePcModal(){this.dialogService.open(U,{header:this.translate.instant("MANAGER.LIVE_STUDIO.PC_TITLE"),width:"640px",modal:!0,dismissableMask:!0,styleClass:"live-pc-dialog",breakpoints:{"700px":"95vw"}})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=L({type:n,selectors:[["app-view-manager-live-studio"]],features:[Z([j])],decls:154,vars:85,consts:[[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"d-flex","align-items-center"],[1,"text-light","fs-6"],[1,"pi","pi-video","me-2"],[1,"row","g-3","mt-1"],[1,"col-12","col-md-6"],["href","/studio/shop/live","target","_blank",1,"text-decoration-none"],[1,"studio-tool"],[1,"studio-tool__header"],[1,"upsell-icon-wrapper","upsell-icon--live-dashboard"],[1,"pi","pi-chart-line"],[1,"studio-tool__titles"],[1,"studio-tool__title"],[1,"studio-tool__desc"],[1,"studio-tool__features"],[1,"upsell-feature"],[1,"upsell-feature-icon","upsell-fi--green"],[1,"pi","pi-euro"],[1,"upsell-feature-text"],[1,"upsell-feature-label"],[1,"upsell-feature-hint"],[1,"upsell-feature-icon","upsell-fi--blue"],[1,"pi","pi-shopping-cart"],[1,"upsell-feature-icon","upsell-fi--orange"],[1,"pi","pi-users"],[1,"studio-tool__cta"],[1,"upsell-cta","upsell-cta--live-dashboard"],[1,"pi","pi-arrow-right"],["href","/studio/live/comments","target","_blank",1,"text-decoration-none"],[1,"upsell-icon-wrapper","upsell-icon--live-comments"],[1,"pi","pi-comments"],[1,"upsell-feature-icon","upsell-fi--purple"],[1,"pi","pi-gift"],[1,"upsell-feature-icon","upsell-fi--red"],[1,"pi","pi-desktop"],[1,"upsell-cta","upsell-cta--live-comments"],["role","button","tabindex","0",1,"studio-tool",2,"cursor","pointer",3,"click","keyup.enter"],[1,"pi","pi-key"],[1,"pi","pi-th-large"],[1,"pi","pi-video"],[1,"admin-active-lives","mt-4"],[1,"d-flex","align-items-center","justify-content-between","mb-1"],[1,"pi","pi-desktop","me-2"],["type","button",1,"btn","btn-sm","btn-outline-secondary",3,"click","disabled"],[1,"pi"],[1,"text-secondary","small","mb-2"],[1,"text-secondary","small","mb-0"],[1,"row","g-2"],[1,"col-12","col-md-6","col-lg-4"],["target","_blank",1,"admin-live-card",3,"href"],[1,"admin-live-card__dot",3,"title"],[1,"admin-live-card__name"],[1,"admin-live-card__viewers"],[1,"pi","pi-eye"],[1,"pi","pi-external-link","admin-live-card__go"]],template:function(e,_){e&1&&(a(0,"div",0)(1,"div",1)(2,"span",2),d(3,"i",3),r(4),l(5,"translate"),i()()(),a(6,"div",4)(7,"div",5)(8,"a",6)(9,"div",7)(10,"div",8)(11,"div",9),d(12,"i",10),i(),a(13,"div",11)(14,"div",12),r(15),l(16,"translate"),i(),a(17,"div",13),r(18),l(19,"translate"),i()()(),a(20,"div",14)(21,"div",15)(22,"div",16),d(23,"i",17),i(),a(24,"div",18)(25,"div",19),r(26),l(27,"translate"),i(),a(28,"div",20),r(29),l(30,"translate"),i()()(),a(31,"div",15)(32,"div",21),d(33,"i",22),i(),a(34,"div",18)(35,"div",19),r(36),l(37,"translate"),i(),a(38,"div",20),r(39),l(40,"translate"),i()()(),a(41,"div",15)(42,"div",23),d(43,"i",24),i(),a(44,"div",18)(45,"div",19),r(46),l(47,"translate"),i(),a(48,"div",20),r(49),l(50,"translate"),i()()()(),a(51,"div",25)(52,"span",26),d(53,"i",27),r(54),l(55,"translate"),i()()()()(),a(56,"div",5)(57,"a",28)(58,"div",7)(59,"div",8)(60,"div",29),d(61,"i",30),i(),a(62,"div",11)(63,"div",12),r(64),l(65,"translate"),i(),a(66,"div",13),r(67),l(68,"translate"),i()()(),a(69,"div",14)(70,"div",15)(71,"div",31),d(72,"i",30),i(),a(73,"div",18)(74,"div",19),r(75),l(76,"translate"),i(),a(77,"div",20),r(78),l(79,"translate"),i()()(),a(80,"div",15)(81,"div",23),d(82,"i",32),i(),a(83,"div",18)(84,"div",19),r(85),l(86,"translate"),i(),a(87,"div",20),r(88),l(89,"translate"),i()()(),a(90,"div",15)(91,"div",33),d(92,"i",34),i(),a(93,"div",18)(94,"div",19),r(95),l(96,"translate"),i(),a(97,"div",20),r(98),l(99,"translate"),i()()()(),a(100,"div",25)(101,"span",35),d(102,"i",27),r(103),l(104,"translate"),i()()()()(),a(105,"div",5)(106,"div",36),x("click",function(){return _.openLivePcModal()})("keyup.enter",function(){return _.openLivePcModal()}),a(107,"div",8)(108,"div",29),d(109,"i",34),i(),a(110,"div",11)(111,"div",12),r(112),l(113,"translate"),i(),a(114,"div",13),r(115),l(116,"translate"),i()()(),a(117,"div",14)(118,"div",15)(119,"div",16),d(120,"i",37),i(),a(121,"div",18)(122,"div",19),r(123),l(124,"translate"),i(),a(125,"div",20),r(126),l(127,"translate"),i()()(),a(128,"div",15)(129,"div",21),d(130,"i",38),i(),a(131,"div",18)(132,"div",19),r(133),l(134,"translate"),i(),a(135,"div",20),r(136),l(137,"translate"),i()()(),a(138,"div",15)(139,"div",31),d(140,"i",39),i(),a(141,"div",18)(142,"div",19),r(143),l(144,"translate"),i(),a(145,"div",20),r(146),l(147,"translate"),i()()()(),a(148,"div",25)(149,"span",35),d(150,"i",27),r(151),l(152,"translate"),i()()()()(),v(153,ct,14,6,"div",40)),e&2&&(t(4),s(" ",c(5,29,"MANAGER.LIVE_STUDIO.TITLE")," "),t(11),s(" ",c(16,31,"MANAGER.LIVE_STUDIO.DASHBOARD_TITLE")," "),t(3),s(" ",c(19,33,"MANAGER.LIVE_STUDIO.DASHBOARD_DESC")," "),t(8),s(" ",c(27,35,"MANAGER.LIVE_STUDIO.DASHBOARD_F1")," "),t(3),s(" ",c(30,37,"MANAGER.LIVE_STUDIO.DASHBOARD_F1_DESC")," "),t(7),s(" ",c(37,39,"MANAGER.LIVE_STUDIO.DASHBOARD_F2")," "),t(3),s(" ",c(40,41,"MANAGER.LIVE_STUDIO.DASHBOARD_F2_DESC")," "),t(7),s(" ",c(47,43,"MANAGER.LIVE_STUDIO.DASHBOARD_F3")," "),t(3),s(" ",c(50,45,"MANAGER.LIVE_STUDIO.DASHBOARD_F3_DESC")," "),t(5),s("",c(55,47,"MANAGER.LIVE_STUDIO.OPEN_DASHBOARD")," "),t(10),s(" ",c(65,49,"MANAGER.LIVE_STUDIO.COMMENTS_TITLE")," "),t(3),s(" ",c(68,51,"MANAGER.LIVE_STUDIO.COMMENTS_DESC")," "),t(8),s(" ",c(76,53,"MANAGER.LIVE_STUDIO.COMMENTS_F1")," "),t(3),s(" ",c(79,55,"MANAGER.LIVE_STUDIO.COMMENTS_F1_DESC")," "),t(7),s(" ",c(86,57,"MANAGER.LIVE_STUDIO.COMMENTS_F2")," "),t(3),s(" ",c(89,59,"MANAGER.LIVE_STUDIO.COMMENTS_F2_DESC")," "),t(7),s(" ",c(96,61,"MANAGER.LIVE_STUDIO.COMMENTS_F3")," "),t(3),s(" ",c(99,63,"MANAGER.LIVE_STUDIO.COMMENTS_F3_DESC")," "),t(5),s("",c(104,65,"MANAGER.LIVE_STUDIO.OPEN_COMMENTS")," "),t(9),s(" ",c(113,67,"MANAGER.LIVE_STUDIO.PC_TITLE")," "),t(3),s(" ",c(116,69,"MANAGER.LIVE_STUDIO.PC_DESC")," "),t(8),s(" ",c(124,71,"MANAGER.LIVE_STUDIO.PC_F1")," "),t(3),s(" ",c(127,73,"MANAGER.LIVE_STUDIO.PC_F1_DESC")," "),t(7),s(" ",c(134,75,"MANAGER.LIVE_STUDIO.PC_F2")," "),t(3),s(" ",c(137,77,"MANAGER.LIVE_STUDIO.PC_F2_DESC")," "),t(7),s(" ",c(144,79,"MANAGER.LIVE_STUDIO.PC_F3")," "),t(3),s(" ",c(147,81,"MANAGER.LIVE_STUDIO.PC_F3_DESC")," "),t(5),s("",c(1
152,83,"MANAGER.LIVE_STUDIO.PC_OPEN")," "),t(2),B(_.isAdmin?153:-1))},dependencies:[w,V,N,Ee],styles:[".admin-live-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.6rem;padding:.6rem .9rem;background:#fff;border:1px solid #e9ecef;border-radius:10px;text-decoration:none;color:#212529;transition:border-color .15s ease,box-shadow .15s ease}.admin-live-card[_ngcontent-%COMP%]:hover{border-color:#d1d5db;box-shadow:0 2px 8px #0000000f}.admin-live-card__dot[_ngcontent-%COMP%]{width:8px;height:8px;border-radius:50%;background:#ef4444;flex-shrink:0}.admin-live-card__dot--paused[_ngcontent-%COMP%]{background:#f59e0b}.admin-live-card__name[_ngcontent-%COMP%]{flex:1;min-width:0;font-weight:600;font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-live-card__viewers[_ngcontent-%COMP%]{font-size:.8rem;color:#64748b;white-space:nowrap}.admin-live-card__viewers[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.75rem}.admin-live-card__go[_ngcontent-%COMP%]{font-size:.8rem;color:#94a3b8}.studio-tool[_ngcontent-%COMP%]{background:#fff;border:1px solid #e9ecef;border-radius:16px;padding:2rem 1.75rem;height:100%;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;cursor:pointer}.studio-tool[_ngcontent-%COMP%]:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000014;border-color:#d1d5db}@media (max-width: 575px){.studio-tool[_ngcontent-%COMP%]{padding:1.25rem 1rem;border-radius:12px}}.studio-tool__header[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.25rem}.studio-tool__titles[_ngcontent-%COMP%]{min-width:0}.studio-tool__title[_ngcontent-%COMP%]{font-weight:700;font-size:1.1rem;color:#1e293b;margin-bottom:.25rem}.studio-tool__desc[_ngcontent-%COMP%]{font-size:.85rem;color:#64748b;line-height:1.4}.studio-tool__features[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.studio-tool__cta[_ngcontent-%COMP%]{margin-top:1.5rem}@media (max-width: 575px){.studio-tool__cta[_ngcontent-%COMP%]{margin-top:1rem}.studio-tool__cta[_ngcontent-%COMP%]   .upsell-cta[_ngcontent-%COMP%]{width:100%}}"]})};export{Se as ViewManagerLiveStudioComponent};

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.