PageSourceSearch

https://dyte-multi-faces.netlify.app/static/js/2046.6d08a8af.chunk.js

js dyte-multi-faces.netlify.app collected 2026-10-03 10:41:33 UTC 12,544 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[2046],{2046:function(e,t,n){n.r(t),n.d(t,{dyte_meeting:function(){return A}});var i=n(5671),s=n(3144),r=n(4165),o=n(5861),a=n(2304),u=n(1252),c=n(7622),d=n(5855),l=n(2725),f=n(210),v=n(4153),h=n(2274),g=n(5769),m=n(5231),E=(n(6454),n(4130),function(){var e=(0,o.Z)((0,r.Z)().mark((function e(t){var n;return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t){e.next=2;break}return e.abrupt("return",d.d);case 2:return e.prev=2,e.next=5,fetch(t);case 5:if((n=e.sent).ok){e.next=8;break}return e.abrupt("return",d.d);case 8:return e.t0=Object,e.t1={},e.t2=d.d,e.next=13,n.json();case 13:return e.t3=e.sent,e.abrupt("return",e.t0.assign.call(e.t0,e.t1,e.t2,e.t3));case 17:return e.prev=17,e.t4=e.catch(2),e.abrupt("return",d.d);case 20:case"end":return e.stop()}}),e,null,[[2,17]])})));return function(t){return e.apply(this,arguments)}}()),p=768,y=1080,A=function(){function e(t){var n=this;(0,i.Z)(this,e),(0,a.r)(this,t),this.stateUpdate=(0,a.c)(this,"dyteStateUpdate",7),this.roomJoinedListener=function(){n.setStates({meeting:"joined"}),h.s.meeting="joined"},this.waitlistedListener=function(){n.setStates({meeting:"waiting"}),h.s.meeting="waiting"},this.roomLeftListener=function(e){var t=e.state,i=n.states||h.s;if("disconnected"===(null===i||void 0===i?void 0:i.roomLeftState))return n.setStates({meeting:"ended",roomLeftState:t}),void(h.s.meeting="ended");n.setStates({meeting:"ended",roomLeftState:t}),h.s.meeting="ended",h.s.roomLeftState=t},this.mediaPermissionUpdateListener=function(e){var t=e.kind,i=e.message;if(["audio","video"].includes(t)){if("ACCEPTED"===i)return;var s={enabled:!0,kind:t};n.setStates({activePermissionsMessage:s}),h.s.activePermissionsMessage=s}},this.joinStateAcceptedListener=function(){n.setStates({activeJoinStage:!0}),n.stateUpdate.emit({activeJoinStage:!0}),h.s.activeJoinStage=!0},this.loadConfigFromPreset=!0,this.applyDesignSystem=!0,this.mode="fixed",this.leaveOnUnmount=!1,this.meeting=void 0,this.showSetupScreen=void 0,this.t=(0,c.u)(),this.config=l.d,this.iconPackUrl=void 0,this.size=void 0,this.gridLayout="row",this.states={meeting:"idle",prefs:{mirrorVideo:!0,muteNotificationSounds:!1}},this.newMeeting=void 0,this.iconPack=d.d}return(0,s.Z)(e,[{key:"connectedCallback",value:function(){var e,t=this;this.resizeObserver=new g.i((function(){return t.handleResize()})),this.resizeObserver.observe(this.host),this.applyDesignSystem&&null!=(null===(e=this.config)||void 0===e?void 0:e.designTokens)&&"undefined"!==typeof document&&(0,u.p)(document.documentElement,this.config.designTokens),this.meetingChanged(this.meeting),this.iconPackUrlChanged(this.iconPackUrl),this.initializePreferences()}},{key:"clearListeners",value:function(e){void 0!=e&&(e.self.removeListener("roomJoined",this.roomJoinedListener),e.self.removeListener("socketServiceRoomJoined",this.roomJoinedListener),e.meta.removeListener("socketReconnected",this.roomJoinedListener),e.self.removeListener("roomLeft",this.roomLeftListener),e.self.removeListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),e.self.removeListener("waitlisted",this.waitlistedListener),e.self.removeListener("joinStageRequestAccepted",this.joinStateAcceptedListener))}},{key:"disconnectedCallback",value:function(){var e;this.leaveOnUnmount&&(null===(e=this.meeting)||void 0===e||e.leaveRoom()),this.resizeObserver.disconnect(),this.clearListeners(this.meeting)}},{key:"meetingChanged",value:function(e){var t,n;if(null!=e){if(this.loadConfigFromPreset&&null!=e.self.config){var i=e.self.config,s=(0,u.g)(i),r=s.config,o=s.data;this.config===l.d&&(this.config=r),null==this.showSetupScreen&&(this.showSetupScreen=o.showSetupScreen),e.connectedMeetings.supportsConnectedMeetings&&(null===(t=h.s.activeBreakoutRoomsManager)||void 0===t?void 0:t.destinationMeetingId)&&(this.showSetupScreen=!1)}this.applyDesignSystem&&null!=(null===(n=this.config)||void 0===n?void 0:n.designTokens)&&"undefined"!==typeof document&&(0,u.p)(document.documentElement,this.config.designTokens),(0,m.i)(e)?e.self.addListener("socketServiceRoomJoined",this.roomJoinedListener):e.self.addListener("roomJoined",this.roomJoinedListener),e.self.addListener("waitlisted",this.waitlistedListener),e.self.addListener("roomLeft",this.roomLeftListener),e.self.addListener("mediaPermissionUpdate",this.mediaPermissionUpdateListener),e.self.addListener("joinStageRequestAccepted",this.joinStateAcceptedListener),e.connectedMeetings.supportsConnectedMeetings&&e.connectedMeetings.once("changingMeeting",this.handleChangingMeeting),e.self.roomJoined?(this.states=Object.assign(Object.assign({},this.states),{meeting:"joined"}),h.s.meeting="joined"):this.showSetupScreen&&null==this.newMeeting?(this.states=Object.assign(Object.assign({},this.states),{meeting:"setup"}),h.s.meeting="setup"):e.joinRoom()}}},{key:"iconPackUrlChanged",value:function(){var e=(0,o.Z)((0,r.Z)().mark((function e(t){return(0,r.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,E(t);case 2:this.iconPack=e.sent;case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"listenState",value:function(e){e.stopPropagation(),this.setStates(e.detail)}},{key:"initializePreferences",value:function(){var e=(0,v.g)();this.setStates({prefs:e}),h.s.prefs=e}},{key:"handleChangingMeeting",value:function(e){h.s.activeBreakoutRoomsManager=Object.assign(Object.assign({},h.s.activeBreakoutRoomsManager),{destinationMeetingId:e})}},{key:"handleResize",value:function(){var e;this.size=(e=this.host.clientWidth)>=y?"lg":e>=p?"md":"sm"}},{key:"setStates",value:function(e){var t=Object.assign({},this.states);(0,u.m)(t,e),this.states=t}},{key:"render",value:function(){var e,t={meeting:null!==(e=this.newMeeting)&&void 0!==e?e:this.meeting,size:this.size,states:this.states||h.s,config:this.config,iconPack:this.iconPack,t:this.t},n={"dyte-grid":{layout:this.gridLayout}};return(0,a.h)(f.R,{element:"dyte-meeting",defaults:t,asHost:!0,elementProps:n})}},{key:"host",get:function(){return(0,a.g)(this)}}],[{key:"watchers",get:function(){return{meeting:["meetingChanged"],iconPackUrl:["iconPackUrlChanged"]}}}]),e}();A.style=":host{line-height:initial;font-family:var(--dyte-font-family, sans-serif);box-sizing:border-box;display:flex;flex-direction:column;--tw-bg-opacity:1;background-color:rgba(var(--dyte-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));color:rgb(var(--dyte-colors-text-900, 255 255 255 / 0.88));overflow:hidden;position:fixed;top:var(--dyte-space-0, 0px);right:var(--dyte-space-0, 0px);bottom:var(--dyte-space-0, 0px);left:var(--dyte-space-0, 0px);height:100%;width:100%}:host([mode='fill']){position:relative}"},5231:function(e,t,n){n.d(t,{P:function(){return i},a:function(){return o},b:function(){return l},c:function(){return d},d:function(){return s},e:function(){return u},f:function(){return c},i:function(){return r},s:function(){return a}});var i,s,r=function(e){return!!a(e)&&("LIVESTREAM"===e.meta.viewT
1ype&&"ON_STAGE"!==e.stage.status)},o=function(e){var t;return!!a(e)&&("LIVESTREAM"===e.meta.viewType&&(null===(t=null===e||void 0===e?void 0:e.self)||void 0===t?void 0:t.permissions.canLivestream))},a=function(e){var t;return(null===(t=null===e||void 0===e?void 0:e.self)||void 0===t?void 0:t.permissions.isV2)&&(null===e||void 0===e?void 0:e.livestream)};!function(e){e.BUFFERING="Buffering",e.ENDED="Ended",e.IDLE="Idle",e.PLAYING="Playing",e.READY="Ready"}(i||(i={})),function(e){e.INITIALIZED="PlayerInitialized",e.QUALITY_CHANGED="PlayerQualityChanged",e.DURATION_CHANGED="PlayerDurationChanged",e.VOLUME_CHANGED="PlayerVolumeChanged",e.MUTED_CHANGED="PlayerMutedChanged",e.PLAYBACK_RATE_CHANGED="PlayerPlaybackRateChanged",e.REBUFFERING="PlayerRebuffering",e.AUDIO_BLOCKED="PlayerAudioBlocked",e.PLAYBACK_BLOCKED="PlayerPlaybackBlocked",e.ERROR="PlayerError",e.RECOVERABLE_ERROR="PlayerRecoverableError",e.ANALYTICS_EVENT="PlayerAnalyticsEvent",e.TIME_UPDATE="PlayerTimeUpdate",e.BUFFER_UPDATE="PlayerBufferUpdate",e.SEEK_COMPLETED="PlayerSeekCompleted",e.SESSION_DATA="PlayerSessionData",e.STATE_CHANGED="PlayerStateChanged",e.WORKER_ERROR="PlayerWorkerError",e.METADATA="PlayerMetadata",e.TEXT_CUE="PlayerTextCue",e.TEXT_METADATA_CUE="PlayerTextMetadataCue",e.AD_CUE="PlayerAdCue",e.STREAM_SOURCE_CUE="PlayerStreamSourceCue",e.NETWORK_UNAVAILABLE="PlayerNetworkUnavailable",e.SEGMENT_DISCONTINUITY="PlayerSegmentDiscontinuity",e.SEGMENT_METADATA="PlayerSegmentMetadata",e.PLAYER_METADATA="PlayerMetadata"}(s||(s={}));var u=[s.TIME_UPDATE,s.BUFFER_UPDATE,s.TEXT_METADATA_CUE,s.PLAYER_METADATA],c=[s.REBUFFERING,s.AUDIO_BLOCKED,s.PLAYBACK_BLOCKED,s.ERROR,s.RECOVERABLE_ERROR,s.WORKER_ERROR,s.NETWORK_UNAVAILABLE,s.ANALYTICS_EVENT,s.PLAYBACK_RATE_CHANGED,s.QUALITY_CHANGED,s.INITIALIZED],d=function(e){var t,n,i,s,r,o;return!!a(e)&&("ALLOWED"===(null===(n=null===(t=null===e||void 0===e?void 0:e.self)||void 0===t?void 0:t.permissions)||void 0===n?void 0:n.canProduceAudio)||"ALLOWED"===(null===(s=null===(i=null===e||void 0===e?void 0:e.self)||void 0===i?void 0:i.permissions)||void 0===s?void 0:s.canProduceScreenshare)||"ALLOWED"===(null===(o=null===(r=null===e||void 0===e?void 0:e.self)||void 0===r?void 0:r.permissions)||void 0===o?void 0:o.canProduceVideo))},l=function(e){var t,n,i,s,r,o,u,c;return!!a(e)&&("NOT_ALLOWED"!==(null===(n=null===(t=null===e||void 0===e?void 0:e.self)||void 0===t?void 0:t.permissions)||void 0===n?void 0:n.canProduceAudio)||"NOT_ALLOWED"!==(null===(s=null===(i=null===e||void 0===e?void 0:e.self)||void 0===i?void 0:i.permissions)||void 0===s?void 0:s.canProduceScreenshare)||"NOT_ALLOWED"!==(null===(o=null===(r=null===e||void 0===e?void 0:e.self)||void 0===r?void 0:r.permissions)||void 0===o?void 0:o.canProduceVideo)||(null===(c=null===(u=null===e||void 0===e?void 0:e.self)||void 0===u?void 0:u.permissions)||void 0===c?void 0:c.canLivestream))}},2274:function(e,t,n){n.d(t,{o:function(){return l},s:function(){return d}});var i=n(7762),s=n(2304),r=function(e){return!("isConnected"in e)||e.isConnected},o=function(e,t){var n;return function(){for(var i=arguments.length,s=new Array(i),r=0;r<i;r++)s[r]=arguments[r];n&&clearTimeout(n),n=setTimeout((function(){n=0,e.apply(void 0,s)}),t)}}((function(e){var t,n=(0,i.Z)(e.keys());try{for(n.s();!(t=n.n()).done;){var s=t.value;e.set(s,e.get(s).filter(r))}}catch(o){n.e(o)}finally{n.f()}}),2e3),a=function(e){return"function"===typeof e?e():e},u=function(e,t){var n=e.indexOf(t);n>=0&&(e[n]=e[e.length-1],e.length--)},c=function(e,t){var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e,t){return e!==t},n=a(e),i=new Map(Object.entries(null!==n&&void 0!==n?n:{})),s={dispose:[],get:[],set:[],reset:[]},r=function(){var t;i=new Map(Object.entries(null!==(t=a(e))&&void 0!==t?t:{})),s.reset.forEach((function(e){return e()}))},o=function(e){return s.get.forEach((function(t){return t(e)})),i.get(e)},c=function(e,n){var r=i.get(e);t(n,r,e)&&(i.set(e,n),s.set.forEach((function(t){return t(e,n,r)})))},d="undefined"===typeof Proxy?{}:new Proxy(n,{get:function(e,t){return o(t)},ownKeys:function(e){return Array.from(i.keys())},getOwnPropertyDescriptor:function(){return{enumerable:!0,configurable:!0}},has:function(e,t){return i.has(t)},set:function(e,t,n){return c(t,n),!0}}),l=function(e,t){return s[e].push(t),function(){u(s[e],t)}};return{state:d,get:o,set:c,on:l,onChange:function(t,n){var i=l("set",(function(e,i){e===t&&n(i)})),s=l("reset",(function(){return n(a(e)[t])}));return function(){i(),s()}},use:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t.reduce((function(e,t){return t.set&&e.push(l("set",t.set)),t.get&&e.push(l("get",t.get)),t.reset&&e.push(l("reset",t.reset)),t.dispose&&e.push(l("dispose",t.dispose)),e}),[]);
1return function(){return i.forEach((function(e){return e()}))}},dispose:function(){s.dispose.forEach((function(e){return e()})),r()},reset:r,forceUpdate:function(e){var t=i.get(e);s.set.forEach((function(n){return n(e,t,t)}))}}}(e,t);return n.use(function(){if("function"!==typeof s.a)return{};var e=new Map;return{dispose:function(){return e.clear()},get:function(t){var n=(0,s.a)();n&&function(e,t,n){var i=e.get(t);i?i.includes(n)||i.push(n):e.set(t,[n])}(e,t,n)},set:function(t){var n=e.get(t);n&&e.set(t,n.filter(s.f)),o(e)},reset:function(){e.forEach((function(e){return e.forEach(s.f)})),o(e)}}}()),n}({}),d=c.state,l=c.onChange}}]);
2//# sourceMappingURL=2046.6d08a8af.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.