PageSourceSearch

https://dyte-audio.netlify.app/static/js/7047.3ea3da87.chunk.js

js dyte-audio.netlify.app collected 2026-10-03 10:42:12 UTC 4,430 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[7047,9080],{9080:function(e,t,i){i.r(t),i.d(t,{dyte_participants_viewer_list:function(){return p}});var n=i(3433),a=i(5671),s=i(3144),r=i(2304),o=i(2725),d=i(5855),c=i(7622),p=(i(4130),function(){function e(t){var i=this;(0,a.Z)(this,e),(0,r.r)(this,t),this.updateStageViewers=function(){i.getViewers(i.search)},this.shouldShowViewers=function(){return"WEBINAR"===i.meeting.meta.viewType},this.meeting=void 0,this.config=o.d,this.size=void 0,this.iconPack=d.d,this.view="sidebar",this.search="",this.t=(0,c.u)(),this.stageViewers=[]}return(0,s.Z)(e,[{key:"connectedCallback",value:function(){this.meetingChanged(this.meeting),this.searchChanged(this.search)}},{key:"meetingChanged",value:function(e){var t=this;null!=e&&(this.participantJoinedListener=function(e){if("ON_STAGE"!==e.webinarStageStatus){var i=t.search.toLowerCase();e.name.toLowerCase().includes(i)&&e.id.toLowerCase().includes(i)&&(t.stageViewers=[].concat((0,n.Z)(t.stageViewers.filter((function(t){return t.id!==e.id}))),[e]))}},this.participantLeftListener=function(e){t.stageViewers=t.stageViewers.filter((function(t){return t.id!==e.id}))},e.participants.joined.addListener("participantJoined",this.participantJoinedListener),e.participants.joined.addListener("participantLeft",this.participantLeftListener),e.participants.joined.addListener("peerStartedPresenting",this.updateStageViewers),e.participants.joined.addListener("peerStoppedPresenting",this.updateStageViewers),e.self.addListener("stageJoined",this.updateStageViewers),e.self.addListener("stageLeft",this.updateStageViewers),e.self.addListener("removedFromStage",this.updateStageViewers))}},{key:"searchChanged",value:function(e){this.getViewers(e)}},{key:"disconnectedCallback",value:function(){var e=this.meeting,t=e.participants,i=e.self;this.participantJoinedListener&&this.meeting.participants.joined.removeListener("participantJoined",this.participantJoinedListener),this.participantLeftListener&&this.meeting.participants.joined.removeListener("participantLeft",this.participantLeftListener),t.joined.removeListener("peerStartedPresenting",this.updateStageViewers),t.joined.removeListener("peerStoppedPresenting",this.updateStageViewers),i.removeListener("stageJoined",this.updateStageViewers),i.removeListener("stageLeft",this.updateStageViewers),i.removeListener("removedFromStage",this.updateStageViewers)}},{key:"getViewers",value:function(e){var t=[this.meeting.self].concat((0,n.Z)(this.meeting.participants.joined.toArray())).filter((function(e){return"ON_STAGE"!==e.webinarStageStatus}));this.stageViewers=""===e?t:t.filter((function(t){var i;return(null!==(i=t.name)&&void 0!==i?i:t.id).toLowerCase().includes(e.toLowerCase())}))}},{key:"render",value:function(){var e=this;if("sidebar"===this.view&&this.shouldShowViewers())return(0,r.h)("div",{class:"list"},(0,r.h)("div",{class:"heading-count",part:"heading-count"},this.t("Viewers")," (",this.stageViewers.length,")"),(0,r.h)("ul",{class:"participants",part:"participants"},this.stageViewers.map((function(t){if("ON_STAGE"!==t.webinarStageStatus)return(0,r.h)("dyte-participant",{role:"listitem",key:t.id,meeting:e.meeting,participant:t,view:e.view,iconPack:e.iconPack,t:e.t})})),0===this.stageViewers.length&&(0,r.h)("div",{class:"empty-message",part:"empty-message"},this.search.length>0?this.t("Couldn't find a viewer with the specified name or ID."):this.t("It looks like nobody is here."))))}}],[{key:"watchers",get:function(){return{meeting:["meetingChanged"],search:["searchChanged"]}}}]),e}());p.style=":host{line-height:initial;font-family:var(--dyte-font-family, sans-serif);display:flex;width:100%;flex-direction:column;font-size:14px}.list{margin-bottom:var(--dyte-space-4, 16px);display:flex;flex-direction:column}h3,.heading-count{margin:var(--dyte-space-0, 0px);align-items:center;justify-content:center;padding:var(--dyte-space-0, 0px);font-size:16px;font-weight:400;color:rgb(var(--dyte-colors-text-900, 255 255 255 / 0.88));text-align:center}.heading-count{font-size:14px}.participants{margin-top:var(--dyte-space-2, 8px);margin-bottom:var(--dyte-space-0, 0px);padding:var(--dyte-space-0, 0px)}.empty-message{margin-top:var(--dyte-space-2, 8px);margin-bottom:var(--dyte-space-2, 8px);text-align:center;font-size:12px;color:rgb(var(--dyte-colors-text-700, 255 255 255 / 0.64))}"}}]);
2//# sourceMappingURL=7047.3ea3da87.chunk.js.map

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.