1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[7205,4361],{7205:function(t,e,n){n.r(e),n.d(e,{dyte_plugins:function(){return l}});var r=n(5671),i=n(3144),a=n(2304),o=n(5855),s=n(7622),c=n(2274),u=n(2725),l=(n(4130),function(){function t(e){var n=this;(0,r.Z)(this,t),(0,a.r)(this,e),this.stateUpdate=(0,a.c)(this,"dyteStateUpdate",7),this.close=function(){n.stateUpdate.emit({activeSidebar:!1,sidebar:"none"}),c.s.activeSidebar=!1,c.s.sidebar="none"},this.meeting=void 0,this.config=u.d,this.size=void 0,this.iconPack=o.d,this.t=(0,s.u)(),this.plugins=[],this.canStartPlugins=!1,this.canClosePlugin=!1,this.activatedPluginsId=[]}return(0,i.Z)(t,[{key:"connectedCallback",value:function(){this.meetingChanged(this.meeting)}},{key:"disconnectedCallback",value:function(){var t;null===(t=this.meeting)||void 0===t||t.plugins.all.removeListener("stateUpdate",this.updateActivePlugins)}},{key:"meetingChanged",value:function(t){var e=this;null!=t&&(this.canStartPlugins=t.self.permissions.plugins.canStart,this.canClosePlugin=t.self.permissions.plugins.canClose,this.plugins=t.plugins.all.toArray().filter((function(e){var n;return!(null===(n=t.self.config.disabledPlugins)||void 0===n?void 0:n.includes(e.id))})),this.updateActivePlugins=function(){e.activatedPluginsId=t.plugins.active.toArray().map((function(t){return t.id}))},this.updateActivePlugins(),t.plugins.all.addListener("stateUpdate",this.updateActivePlugins))}},{key:"render",value:function(){var t=this;return(0,a.h)(a.H,null,(0,a.h)("ul",{class:"scrollbar"},this.plugins.map((function(e){return(0,a.h)("li",{key:e.name,class:"plugin"},(0,a.h)("div",{class:"metadata"},(0,a.h)("img",{src:e.picture}),(0,a.h)("div",{class:"name"},e.name)),!t.activatedPluginsId.includes(e.id)&&t.canStartPlugins&&(0,a.h)("div",{class:"buttons"},(0,a.h)("dyte-button",{kind:"icon",size:"lg",iconPack:t.iconPack,t:t.t,onClick:function(){e.activate(),t.close()},"aria-label":"".concat(t.t("Activate")," ").concat(e.name)},(0,a.h)("dyte-icon",{icon:t.iconPack.rocket,tabIndex:-1,"aria-hidden":!0,iconPack:t.iconPack,t:t.t}))),t.activatedPluginsId.includes(e.id)&&t.canClosePlugin&&(0,a.h)("div",{class:"buttons"},(0,a.h)("dyte-button",{kind:"icon",size:"lg",onClick:function(){e.deactivate()},iconPack:t.iconPack,t:t.t,"aria-label":"".concat(t.t("Close")," ").concat(e.name)},(0,a.h)("dyte-icon",{icon:t.iconPack.dismiss,tabIndex:-1,"aria-hidden":!0,iconPack:t.iconPack,t:t.t}))))}))))}}],[{key:"watchers",get:function(){return{meeting:["meetingChanged"]}}}]),t}());l.style=":host{line-height:initial;font-family:var(--dyte-font-family, sans-serif)}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--dyte-scrollbar-color, rgb(var(--dyte-colors-background-600, 60 60 60)))\n var(--dyte-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar{height:var(--dyte-space-1\\.5, 6px);width:var(--dyte-space-1\\.5, 6px);border-radius:9999px;background-color:var(--dyte-scrollbar-background, transparent)}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;background-color:var(--dyte-scrollbar-color, rgb(var(--dyte-colors-background-600, 60 60 60)))}:host{margin-top:var(--dyte-space-2, 8px);margin-bottom:var(--dyte-space-2, 8px);display:flex;height:100%;width:100%;flex-direction:column;font-size:14px;color:rgb(var(--dyte-colors-text-1000, 255 255 255))}h3{margin-left:var(--dyte-space-0, 0px);margin-right:var(--dyte-space-0, 0px);margin-top:var(--dyte-space-4, 16px);margin-bottom:var(--dyte-space-4, 16px);display:block;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}ul{overflow-y:auto;padding:var(--dyte-space-0, 0px);flex-grow:1;flex-basis:0}.metadata{display:flex;align-items:center}.metadata img{height:var(--dyte-space-8, 32px);width:var(--dyte-space-8, 32px);border-radius:var(--dyte-border-radius-sm, 4px)}.metadata .name{margin-left:var(--dyte-space-2, 8px);font-weight:500}.plugin{display:flex;align-items:center;justify-content:space-between;padding-left:var(--dyte-space-4, 16px);padding-right:var(--dyte-space-4, 16px);padding-top:var(--dyte-space-2, 8px);padding-bottom:var(--dyte-space-2, 8px)}.plugin .buttons{display:flex;align-items:center}dyte-button:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
1dow, 0 0 #0000);--tw-ring-opacity:1;--tw-ring-color:rgba(var(--dyte-colors-brand-500, 33 96 253) / var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-ring-offset-color:rgb(var(--dyte-colors-background-1000, 8 8 8))}"},2274:function(t,e,n){n.d(e,{o:function(){return d},s:function(){return l}});var r=n(7762),i=n(2304),a=function(t){return!("isConnected"in t)||t.isConnected},o=function(t,e){var n;return function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];n&&clearTimeout(n),n=setTimeout((function(){n=0,t.apply(void 0,i)}),e)}}((function(t){var e,n=(0,r.Z)(t.keys());try{for(n.s();!(e=n.n()).done;){var i=e.value;t.set(i,t.get(i).filter(a))}}catch(o){n.e(o)}finally{n.f()}}),2e3),s=function(t){return"function"===typeof t?t():t},c=function(t,e){var n=t.indexOf(e);n>=0&&(t[n]=t[t.length-1],t.length--)},u=function(t,e){var n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(t,e){return t!==e},n=s(t),r=new Map(Object.entries(null!==n&&void 0!==n?n:{})),i={dispose:[],get:[],set:[],reset:[]},a=function(){var e;r=new Map(Object.entries(null!==(e=s(t))&&void 0!==e?e:{})),i.reset.forEach((function(t){return t()}))},o=function(t){return i.get.forEach((function(e){return e(t)})),r.get(t)},u=function(t,n){var a=r.get(t);e(n,a,t)&&(r.set(t,n),i.set.forEach((function(e){return e(t,n,a)})))},l="undefined"===typeof Proxy?{}:new Proxy(n,{get:function(t,e){return o(e)},ownKeys:function(t){return Array.from(r.keys())},getOwnPropertyDescriptor:function(){return{enumerable:!0,configurable:!0}},has:function(t,e){return r.has(e)},set:function(t,e,n){return u(e,n),!0}}),d=function(t,e){return i[t].push(e),function(){c(i[t],e)}};return{state:l,get:o,set:u,on:d,onChange:function(e,n){var r=d("set",(function(t,r){t===e&&n(r)})),i=d("reset",(function(){return n(s(t)[e])}));return function(){r(),i()}},use:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.reduce((function(t,e){return e.set&&t.push(d("set",e.set)),e.get&&t.push(d("get",e.get)),e.reset&&t.push(d("reset",e.reset)),e.dispose&&t.push(d("dispose",e.dispose)),t}),[]);return function(){return r.forEach((function(t){return t()}))}},dispose:function(){i.dispose.forEach((function(t){return t()})),a()},reset:a,forceUpdate:function(t){var e=r.get(t);i.set.forEach((function(n){return n(t,e,e)}))}}}(t,e);return n.use(function(){if("function"!==typeof i.a)return{};var t=new Map;return{dispose:function(){return t.clear()},get:function(e){var n=(0,i.a)();n&&function(t,e,n){var r=t.get(e);r?r.includes(n)||r.push(n):t.set(e,[n])}(t,e,n)},set:function(e){var n=t.get(e);n&&t.set(e,n.filter(i.f)),o(t)},reset:function(){t.forEach((function(t){return t.forEach(i.f)})),o(t)}}}()),n}({}),l=u.state,d=u.onChange}}]); 2//# sourceMappingURL=7205.07be4ad6.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.