PageSourceSearch

https://dyte-multi-faces.netlify.app/static/js/290.f5076d6d.chunk.js

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

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[290,5438],{290:function(e,t,n){n.r(t),n.d(t,{dyte_permissions_message:function(){return u}});var i=n(5671),r=n(3144),o=n(2304),a=n(5855),s=n(7622),c=n(2274),u=function(){function e(t){var n=this;(0,i.Z)(this,e),(0,o.r)(this,t),this.stateUpdate=(0,o.c)(this,"dyteStateUpdate",7),this.continue=function(){n.stateUpdate.emit({activePermissionsMessage:{enabled:!1}}),c.s.activePermissionsMessage={enabled:!1}},this.reload=function(){"undefined"!==typeof window&&window.location.reload()},this.meeting=void 0,this.t=(0,s.u)(),this.iconPack=a.d,this.device=void 0}return(0,r.Z)(e,[{key:"connectedCallback",value:function(){this.meetingChanged(this.meeting)}},{key:"meetingChanged",value:function(e){null!=e&&(this.device=e.self.device)}},{key:"getLink",value:function(e){var t;switch(e){case"audio":t="microphone";break;case"video":t="camera";break;default:t="screenshare"}var n="Allow+".concat(t,"+access");if(null!=this.device){var i=this.device;n+="+"+i.browserName,i.isMobile&&(n+="+mobile")}return"https://www.google.com/search?q="+n}},{key:"isDeniedBySystem",value:function(){var e,t=null===(e=this.meeting)||void 0===e?void 0:e.self.mediaPermissions;return null!=t&&!!Object.values(t).includes("SYSTEM_DENIED")}},{key:"render",value:function(){var e,t,n,i,r=this.isDeniedBySystem();return(0,o.h)(o.H,null,(0,o.h)("h2",null,(0,o.h)("dyte-icon",{class:"text-icon",icon:this.iconPack.warning,iconPack:this.iconPack,t:this.t}),r?this.t("perm_sys_denied.".concat(null!==(e=c.s.activePermissionsMessage.kind)&&void 0!==e?e:"audio")):this.t("perm_denied_title.".concat(null!==(t=c.s.activePermissionsMessage.kind)&&void 0!==t?t:"audio"))),(0,o.h)("p",null,this.t("perm_denied_text.".concat(null!==(n=c.s.activePermissionsMessage.kind)&&void 0!==n?n:"audio"))),r&&(0,o.h)("p",null,this.t("perm.sys_denied.message")),!r&&(0,o.h)("a",{class:"need-help-link",href:this.getLink(null!==(i=c.s.activePermissionsMessage.kind)&&void 0!==i?i:"audio"),target:"_blank",rel:"noreferrer external noreferrer noopener"},(0,o.h)("dyte-icon",{class:"text-icon",icon:this.iconPack.attach,iconPack:this.iconPack,t:this.t}),this.t("Need help on how to do this?")),(0,o.h)("div",{class:"actions"},(0,o.h)("dyte-button",{size:"lg",kind:"wide",variant:"secondary",onClick:this.continue,iconPack:this.iconPack,t:this.t},this.t("Continue as it is")),(0,o.h)("dyte-button",{size:"lg",kind:"wide",onClick:this.reload,iconPack:this.iconPack,t:this.t},this.t("Reload"))),(0,o.h)("slot",null))}}],[{key:"watchers",get:function(){return{meeting:["meetingChanged"]}}}]),e}();u.style=":host{line-height:initial;font-family:var(--dyte-font-family, sans-serif);box-sizing:border-box;display:block;width:560px;padding:var(--dyte-space-6, 24px);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));color:rgb(var(--dyte-colors-text-1000, 255 255 255))}.actions{display:flex;align-items:center;gap:var(--dyte-space-2, 8px)}.text-icon{display:inline-block;vertical-align:middle}h2{margin-top:var(--dyte-space-0, 0px);margin-bottom:var(--dyte-space-4, 16px)}h2 .text-icon{margin-right:var(--dyte-space-2, 8px);height:var(--dyte-space-8, 32px);width:var(--dyte-space-8, 32px);--tw-text-opacity:1;color:rgba(var(--dyte-colors-danger, 255 45 45) / var(--tw-text-opacity))}p{margin-top:var(--dyte-space-0, 0px);margin-bottom:var(--dyte-space-0, 0px);margin-bottom:var(--dyte-space-4, 16px)}.need-help-link{display:inline-block;text-underline-offset:2px;--tw-text-opacity:1;color:rgba(var(--dyte-colors-brand-400, 53 110 253) / var(--tw-text-opacity))}.need-help-link:hover{--tw-text-opacity:1;color:rgba(var(--dyte-colors-brand-600, 13 81 253) / var(--tw-text-opacity))}a dyte-icon{margin-right:var(--dyte-space-2, 8px);height:var(--dyte-space-5, 20px);width:var(--dyte-space-5, 20px)}:host([size='sm']) .actions{flex-direction:column;align-items:flex-start;justify-content:center}:host([size='sm']) .action{width:100%;padding-top:var(--dyte-space-2, 8px);padding-bottom:var(--dyte-space-2, 8px)}.actions{margin-top:var(--dyte-space-6, 24px)}.actions dyte-button{flex:1 1 0%}"},2274:function(e,t,n){n.d(t,{o:function(){return l},s:function(){return d}});var i=n(7762),r=n(2304),o=function(e){return!("isConnected"in e)||e.isConnected},a=function(e,t){var n;return function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];n&&clearTimeout(n),n=setTimeout((function(){n=0,e.apply(void 0,r)}),t)}}((function(e){var t,n=(0,i.Z)(e.keys());try{for(n.s();!(t=n.n()).done;){var r=t.value;e.set(r,e.get(r).filter(o))}}catch(a){n.e(a)}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:{})),r={dispose:[],get:[],set:[],reset:[]},o=function(){var t;i=new Map(Object.entries(null!==(t=s(e))&&void 0!==t?t:{})),r.reset.forEach((function(e){return e()}))},a=function(e){return r.get.forEach((function(t){return t(e)})),i.get(e)},u=function(e,n){var o=i.get(e);t(n,o,e)&&(i.set(e,n),r.set.forEach((function(t){return t(e,n,o)})))},d="undefined"===typeof Proxy?{}:new Proxy(n,{get:function(e,t){return a(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 r[e].push(t),function(){c(r[e],t)}};return{state:d,get:a,set:u,on:l,onChange:function(t,n){var i=l("set",(function(e,i){e===t&&n(i)})),r=l("reset",(function(){return n(s(e)[t])}));return function(){i(),r()}},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(){r.dispose.forEach((function(e){return e()})),o()},reset:o,forceUpdate:function(e){var t=i.get(e);r.set.forEach((function(n){return n(e,t,t)}))}}}(e,t);return n.use(function(){if("function"!==typeof r.a)return{};var e=new Map;return{dispose:function(){return e.clear()},get:function(t){var n=(0,r.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(r.f)),a(e)},reset:function(){e.forEach((function(e){return e.forEach(r.f)})),a(e)}}}()),n}({}),d=u.state,l=u.onChange}}]);
2//# sourceMappingURL=290.f5076d6d.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.