PageSourceSearch

https://dyte-proc.netlify.app/static/js/616.7050a39d.chunk.js

js dyte-proc.netlify.app collected 2026-10-03 10:41:56 UTC 7,047 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[616,8521],{8521:function(e,t,n){n.r(t),n.d(t,{dyte_leave_meeting:function(){return u}});var i=n(5671),o=n(3144),a=n(2304),r=n(7622),s=n(5855),c=n(2274),u=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.keyPressListener=function(e){"Escape"===e.key&&n.close()},this.isBreakoutRoomsActive=!1,this.isChildMeeting=!1,this.canJoinMainRoom=!1,this.close=function(){n.stateUpdate.emit({activeLeaveConfirmation:!1}),c.s.activeLeaveConfirmation=!1},this.handleLeave=function(){var e;null===(e=n.meeting)||void 0===e||e.leaveRoom(),n.close()},this.handleJoinMainRoom=function(){n.meeting.connectedMeetings.moveParticipants(n.meeting.meta.roomName,n.meeting.connectedMeetings.parentMeeting.id,[n.meeting.self.userId]),n.close()},this.handleEndMeeting=function(){var e;null===(e=n.meeting)||void 0===e||e.participants.kickAll(),n.close()},this.meeting=void 0,this.states=void 0,this.iconPack=s.d,this.t=(0,r.u)(),this.canEndMeeting=!1}return(0,o.Z)(e,[{key:"connectedCallback",value:function(){this.meetingChanged(this.meeting),document.addEventListener("keydown",this.keyPressListener)}},{key:"componentDidLoad",value:function(){}},{key:"disconnectedCallback",value:function(){document.removeEventListener("keydown",this.keyPressListener)}},{key:"meetingChanged",value:function(e){null!=e&&(this.canEndMeeting=e.self.permissions.kickParticipant,this.isBreakoutRoomsActive=this.meeting.connectedMeetings.supportsConnectedMeetings&&this.meeting.connectedMeetings.isActive,this.isChildMeeting=this.meeting.connectedMeetings.supportsConnectedMeetings&&this.meeting.connectedMeetings.meetings.some((function(t){return t.id===e.meta.roomName})),this.canJoinMainRoom=this.meeting.self.permissions.connectedMeetings.canSwitchToParentMeeting)}},{key:"render",value:function(){return(0,a.h)(a.H,null,(0,a.h)("div",{class:"leave-modal"},(0,a.h)("div",{class:"header"},(0,a.h)("h2",{class:"title"},this.t("leave"))),(0,a.h)("p",{class:"message"},this.isBreakoutRoomsActive&&this.isChildMeeting?this.t("breakout_rooms.leave_confirmation"):this.t("leave_confirmation")),(0,a.h)("div",{class:"content"},(0,a.h)("dyte-button",{variant:"secondary",onClick:this.close,iconPack:this.iconPack,class:"secondary-btn",t:this.t},this.t("cancel")),this.isBreakoutRoomsActive&&this.isChildMeeting&&this.canJoinMainRoom&&(0,a.h)("dyte-button",{variant:"secondary",onClick:this.handleJoinMainRoom,iconPack:this.iconPack,class:"secondary-btn",t:this.t},this.t("breakout_rooms.leave_confirmation.main_room_btn")),(0,a.h)("dyte-button",{variant:this.canEndMeeting?"secondary":"danger",title:this.t("leave"),onClick:this.handleLeave,iconPack:this.iconPack,class:{"secondary-btn":this.canEndMeeting,"secondary-danger-btn":this.canEndMeeting},t:this.t},this.t("leave")),this.canEndMeeting&&(0,a.h)("dyte-button",{variant:"danger",onClick:this.handleEndMeeting,iconPack:this.iconPack,t:this.t},this.t("end_meeting_for_all")))))}}],[{key:"watchers",get:function(){return{meeting:["meetingChanged"]}}}]),e}();u.style=":host{line-height:initial;font-family:var(--dyte-font-family, sans-serif)}.leave-modal{width:var(--dyte-space-72, 288px)}@media (min-width: 768px){.leave-modal{width:var(--dyte-space-96, 384px)}}.leave-modal{position:relative;display:flex;flex-direction:column;border-radius:var(--dyte-border-radius-md, 8px);--tw-bg-opacity:1;background-color:rgba(var(--dyte-colors-background-1000, 8 8 8) / var(--tw-bg-opacity));padding:var(--dyte-space-8, 32px);color:rgb(var(--dyte-colors-text-1000, 255 255 255))}.leave-modal .header h2{margin:var(--dyte-space-0, 0px)}.leave-modal .message{color:rgb(var(--dyte-colors-text-600, 255 255 255 / 0.52))}.leave-modal .content{margin-top:var(--dyte-space-4, 16px);font-size:14px;display:flex;flex-wrap:wrap;gap:var(--dyte-space-4, 16px)}.leave-modal .content dyte-button{height:var(--dyte-space-9, 36px);min-width:var(--dyte-space-44, 176px);flex-grow:1}.leave-modal .content .secondary-btn{--tw-bg-opacity:1;background-color:rgba(var(--dyte-colors-background-800, 30 30 30) / var(--tw-bg-opacity))}.leave-modal .content .secondary-btn:hover{--tw-bg-opacity:1;background-color:rgba(var(--dyte-colors-background-600, 60 60 60) / var(--tw-bg-opacity))}.leave-modal .content .secondary-danger-btn{--tw-text-opacity:1;color:rgba(var(--dyte-colors-danger, 255 45 45) / var(--tw-text-opacity))}"},2274:function(e,t,n){n.d(t,{o:function(){return l},s:function(){return d}});var i=n(7762),o=n(2304),a=function(e){return!("isConnected"in e)||e.isConnected},r=function(e,t){var n;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];n&&clearTimeout(n),n=setTimeout((function(){n=0,e.apply(void 0,o)}),t)}}((function(e){var t,n=(0,i.Z)(e.keys());try{for(n.s();!(t=n.n()).done;){var o=t.value;e.set(o,e.get(o).filter(a))}}catch(r){n.e(r)}finally{n.f()}}),2e3),s=function(e){return"function"===typeof e?e():e},c=function(e,t){var n=e.indexOf(t);n>=0&&(e[n]=e[e.length-1],e.length--)},u=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=s(e),i=new Map(Object.entries(null!==n&&void 0!==n?n:{})),o={dispose:[],get:[],set:[],reset:[]},a=function(){var t;i=new Map(Object.entries(null!==(t=s(e))&&void 0!==t?t:{})),o.reset.forEach((function(e){return e()}))},r=function(e){return o.get.forEach((function(t){return t(e)})),i.get(e)},u=function(e,n){var a=i.get(e);t(n,a,e)&&(i.set(e,n),o.set.forEach((function(t){return t(e,n,a)})))},d="undefined"===typeof Proxy?{}:new Proxy(n,{get:function(e,t){return r(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 u(t,n),!0}}),l=function(e,t){return o[e].push(t),function(){c(o[e],t)}};return{state:d,get:r,set:u,on:l,onChange:function(t,n){var i=l("set",(function(e,i){e===t&&n(i)})),o=l("reset",(function(){return n(s(e)[t])}));return function(){i(),o()}},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(){o.dispose.forEach((function(e){return e()})),a()},reset:a,forceUpdate:function(e){var t=i.get(e);o.set.forEach((function(n){return n(e,t,t)}))}}}(e,t);return n.use(function(){if("function"!==typeof o.a)return{};var e=new Map;return{dispose:function(){return e.clear()},get:function(t){var n=(0,o.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(o.f)),r(e)},reset:function(){e.forEach((function(e){return e.forEach(o.f)})),r(e)}}}()),n}({}),d=u.state,l=u.onChange}}]);
2//# sourceMappingURL=616.7050a39d.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.