PageSourceSearch

https://dyte-multi-faces.netlify.app/static/js/9225.1cef1152.chunk.js

js dyte-multi-faces.netlify.app collected 2026-10-03 10:41:05 UTC 9,626 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[9225,8123],{9225:function(i,t,n){n.r(t),n.d(t,{dyte_participant:function(){return h}});var e=n(4165),a=n(5861),u=n(5671),s=n(3144),c=n(2304),r=n(5855),o=n(7622),d=n(9013),h=function(){function i(t){var n=this;(0,u.Z)(this,i),(0,c.r)(this,t),this.pinnedListener=function(i){var t=i.isPinned;n.isPinned=t},this.stageListener=function(i){var t=i.webinarStageStatus;n.isOnStage="ON_STAGE"===t},this.meeting=void 0,this.view="sidebar",this.participant=void 0,this.iconPack=r.d,this.t=(0,o.u)(),this.audioEnabled=!1,this.videoEnabled=!1,this.isPinned=!1,this.isOnStage=!1,this.canDisableParticipantAudio=!1,this.canDisableParticipantVideo=!1,this.canKickParticipant=!1,this.canPinParticipant=!1,this.canAllowParticipantOnStage=!1}return(0,s.Z)(i,[{key:"connectedCallback",value:function(){this.meetingChanged(this.meeting),this.participantChanged(this.participant)}},{key:"disconnectedCallback",value:function(){null!=this.participant&&void 0!=this.participant.removeListener&&(this.audioUpdateListener&&this.participant.removeListener("audioUpdate",this.audioUpdateListener),this.videoUpdateListener&&this.participant.removeListener("videoUpdate",this.videoUpdateListener),this.participant.removeListener("pinned",this.pinnedListener),this.participant.removeListener("unpinned",this.pinnedListener),this.participant.removeListener("peerStartedPresenting",this.stageListener),this.participant.removeListener("peerStoppedPresenting",this.stageListener))}},{key:"meetingChanged",value:function(i){if(null!=i){var t=i.self;this.canDisableParticipantAudio=t.permissions.canAllowParticipantAudio||t.permissions.canDisableParticipantAudio,this.canDisableParticipantVideo=t.permissions.canAllowParticipantVideo||t.permissions.canDisableParticipantVideo,this.canKickParticipant=t.permissions.kickParticipant,this.canPinParticipant=t.permissions.pinParticipant,this.canAllowParticipantOnStage=t.permissions.acceptPresentRequests}}},{key:"participantChanged",value:function(i){var t=this;if(null!=i){if(this.audioEnabled=i.audioEnabled,this.videoEnabled=i.videoEnabled,this.isPinned=i.isPinned,this.isOnStage="ON_STAGE"===i.webinarStageStatus,this.audioUpdateListener=function(i){var n=i.audioEnabled;t.audioEnabled=n},this.videoUpdateListener=function(i){var n=i.videoEnabled;t.videoEnabled=n},void 0==i.addListener)return;i.addListener("audioUpdate",this.audioUpdateListener),i.addListener("videoUpdate",this.videoUpdateListener),i.addListener("pinned",this.pinnedListener),i.addListener("unpinned",this.pinnedListener),i.addListener("peerStartedPresenting",this.stageListener),i.addListener("peerStoppedPresenting",this.stageListener)}}},{key:"render",value:function(){var i,t,n,u,s,r,o,h,D=this,p=this.canDisableParticipantAudio||this.canDisableParticipantVideo||this.canKickParticipant||this.canPinParticipant,l=(0,d.f)((null===(i=this.participant)||void 0===i?void 0:i.name)||""),v=this.isOnStage||"WEBINAR"!==(null===(n=null===(t=this.meeting)||void 0===t?void 0:t.meta)||void 0===n?void 0:n.viewType);return(0,c.h)(c.H,null,(0,c.h)("div",{class:"left"},(0,c.h)("dyte-avatar",{participant:this.participant,size:"sm",iconPack:this.iconPack,t:this.t}),(0,c.h)("p",{class:"name",title:l},(0,d.s)(l,16)," ",(null===(u=this.meeting)||void 0===u?void 0:u.self.id)===(null===(s=this.participant)||void 0===s?void 0:s.id)&&this.t("(you)"))),"sidebar"===this.view&&(0,c.h)("div",{class:"right"},v&&(0,c.h)("dyte-icon",{class:{red:!this.audioEnabled},iconPack:this.iconPack,t:this.t,icon:this.audioEnabled?this.iconPack.mic_on:this.iconPack.mic_off}),v&&(0,c.h)("dyte-icon",{class:{red:!this.videoEnabled},iconPack:this.iconPack,t:this.t,icon:this.videoEnabled?this.iconPack.video_on:this.iconPack.video_off}),p&&(0,c.h)("dyte-menu",{iconPack:this.iconPack,t:this.t},(0,c.h)("dyte-button",{variant:"ghost",kind:"icon",slot:"trigger",iconPack:this.iconPack,t:this.t},(0,c.h)("dyte-icon",{class:"more",icon:this.iconPack.more_vertical})),(0,c.h)("dyte-menu-list",{iconPack:this.iconPack,t:this.t},this.canPinParticipant&&v&&(0,c.h)("dyte-menu-item",{onClick:function(){D.isPinned?D.participant.unpin():D.participant.pin()},iconPack:this.iconPack,t:this.t},(0,c.h)("dyte-icon",{icon:this.isPinned?this.iconPack.pin_off:this.iconPack.pin,slot:"start",iconPack:this.iconPack,t:this.t}),this.isPinned?this.t("Unpin"):this.t("Pin")),this.canDisableParticipantAudio&&v&&this.audioEnabled&&(0,c.h)("dyte-menu-item",{iconPack:this.iconPack,t:this.t,onClick:function(){D.participant.disableAudio()}},(0,c.h)("dyte-icon",{icon:this.iconPack.mic_off,slot:"start"}),this.t("mute")),this.canDisableParticipantVideo&&v&&this.videoEnabled&&(0,c.h)("dyte-menu-item",{iconPack:this.iconPack,t:this.t,onClick:function(){D.participant.disableVideo()}},(0,c.h)("dyte-icon",{icon:this.iconPack.video_off,slot:"start",iconPack:this.iconPack,t:this.t}),this.t("participant.turn_off_video")),"WEBINAR"===(null===(r=this.meeting)||void 0===r?void 0:r.meta.viewT
1ype)&&this.canAllowParticipantOnStage&&(null===(o=this.participant)||void 0===o?void 0:o.id)!==(null===(h=this.meeting)||void 0===h?void 0:h.self.id)&&(0,c.h)("dyte-menu-item",{iconPack:this.iconPack,t:this.t,class:this.isOnStage?"red":"",onClick:function(){var i=(0,a.Z)((0,e.Z)().mark((function i(){var t;return(0,e.Z)().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(t=D.participant,!D.isOnStage){i.next=7;break}return t.isPinned&&t.unpin(),i.next=5,t.removeFromStage();case 5:i.next=9;break;case 7:return i.next=9,t.acceptJoinStageRequest();case 9:D.isOnStage=!D.isOnStage;case 10:case"end":return i.stop()}}),i)})));return function(){return i.apply(this,arguments)}}()},(0,c.h)("dyte-icon",{iconPack:this.iconPack,t:this.t,icon:this.isOnStage?this.iconPack.leave_stage:this.iconPack.join_stage,slot:"start"}),this.isOnStage?this.t("stage.remove_from_stage"):this.t("stage.add_to_stage")),this.canKickParticipant&&(0,c.h)("dyte-menu-item",{iconPack:this.iconPack,t:this.t,class:"red",onClick:function(){var i,t;null===(i=D.meeting)||void 0===i||i.participants.kick(null===(t=D.participant)||void 0===t?void 0:t.id)}},(0,c.h)("dyte-icon",{icon:this.iconPack.dismiss,slot:"start",iconPack:this.iconPack,t:this.t}),this.t("kick"))))))}}],[{key:"watchers",get:function(){return{meeting:["meetingChanged"],participant:["participantChanged"]}}}]),i}();h.style=":host{line-height:initial;font-family:var(--dyte-font-family, sans-serif);position:relative;display:flex;height:var(--dyte-space-14, 56px);align-items:center;justify-content:space-between;cursor:pointer;color:rgb(var(--dyte-colors-text-1000, 255 255 255))}:host dyte-avatar{height:var(--dyte-space-8, 32px);width:var(--dyte-space-8, 32px);font-size:14px}.left{display:flex;align-items:center}.left>*{margin-right:var(--dyte-space-2, 8px)}.left>*:last-child{margin-right:var(--dyte-space-0, 0px)}.right{display:flex;align-items:center;justify-content:flex-end}.right>*{margin-left:var(--dyte-space-2, 8px)}.right>*:first-child{margin-left:var(--dyte-space-0, 0px)}.name{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}dyte-icon{height:var(--dyte-space-6, 24px);width:var(--dyte-space-6, 24px)}dyte-icon.red{--tw-text-opacity:1;color:rgba(var(--dyte-colors-danger, 255 45 45) / var(--tw-text-opacity))}dyte-icon.more{cursor:pointer}"},9013:function(i,t,n){n.d(t,{a:function(){return u},f:function(){return s},g:function(){return c},h:function(){return a},s:function(){return e}});var e=function(i){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;return null==i?"":i.length>t?"".concat(i.substring(0,t),"..."):i},a=function(i){return/^(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEDC-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8])+$/.test(i)&&!/^\d+$/.test(i)},u=function(i){return(null===i||void 0===i?void 0:i.trim().toLowerCase().startsWith("javascript:"))?"https://dyte.io":i},s=function(i){return""===(i=null===i||void 0===i?void 0:i.trim())?"Participant":i};function c(i){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;
1return i.replace(/[^\u00BF-\u1FFF\u2C00-\uD7FF\w\s]/g,"").trim().split(/\s+/).slice(0,t).map((function(i){return i.charAt(0)})).join("").toUpperCase()}}}]);
2//# sourceMappingURL=9225.1cef1152.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.