Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64 User : User ( 0) PHP Version : 7.4.6 Disable Function : NONE Directory : C:/Program Files/Avast Software/Avast/gui_resources/1.0.663/ |
//{"name":"WebCam","version":"1.2.443","created":"2021-09-06T10:51:18.337Z"} import{serviceRequest as t,eventer as e,napiTracker as n,windowApi as o,burgerTracker as c}from"./napi.js";import{logger as i}from"./libs.js";import{napiUtils as l,productModel as s,ipmService as a,soundService as r}from"./napiExtensions.js";import d from"./ractive.js";import{nls as u,moment as m}from"./i18n.js";import{modals as p}from"./ractiveComponents.js";const f="ais_cmp_webcam",h="TOASTER_ID_WEBCAM_NOTIF",g={title:"webcamshield",desc:"webcamshield.settings.desc",modeLabel:"webcamshield.settings.mode.label",modeSmart:"webcamshield.settings.mode.smart.title",modeStrict:"webcamshield.settings.mode.strict.title",modeNoMercy:"webcamshield.settings.mode.noMercy.title",modeSmartDesc:"webcamshield.settings.mode.smart.desc",modeStrictDesc:"webcamshield.settings.mode.strict.desc",modeNoMercyDesc:"webcamshield.settings.mode.noMercy.desc",viewAllowedAndBlockedApps:"settings.viewAllowedAndBlockedApps",dontShowAccessToaster:"webcamshield.dontShowAccessToaster",dontShowAccessToasterDesc:"webcamshield.settings.dontShowAccessToaster.desc"},b={mode:{id:"webcam-settings-mode",label:u(g.modeLabel),options:[{label:u(g.modeSmart),desc:u(g.modeSmartDesc),value:1},{label:u(g.modeStrict),desc:u(g.modeStrictDesc),value:2},{label:u(g.modeNoMercy),desc:u(g.modeNoMercyDesc),value:3}],path:"webcam://webcam/common/mode",track:{subject:"Mode",valueMap:{1:"Smart",2:"Strict",3:"No mercy"}},search:{title:g.modeLabel,others:[g.modeSmart,g.modeStrict,g.modeNoMercy]}},allowedAndBlockedAppsLink:{id:"webcam_settings_allowedAndBlockedAppsLink",search:g.viewAllowedAndBlockedApps}};l.supportedSince("21.5")&&(b.dontShowAccessToaster={id:"webcam-settings-dontShowAccessToaster",label:u(g.dontShowAccessToaster),desc:u(g.dontShowAccessToasterDesc),track:{subject:"Don't Show Access Toaster"},disabled:!1,search:{title:g.dontShowAccessToaster,desc:g.dontShowAccessToasterDesc},load:()=>t("app.windowManager.GetToasterVisibility",{id:h}).then((t=>({value:!t}))),change:e=>t("app.windowManager.SetToasterVisibility",{id:h,visible:!e})});const w=d.extend({template:{v:3,t:[{t:7,e:"Page",a:{heading:[{t:3,x:{r:["nls"],s:'_0("webcamshield")'}}],cssCls:"wcm",settingsUrl:"#Settings/WebCam",upsell:[{t:2,x:{r:["componentLicensed"],s:"!_0"}}],inactive:[{t:2,x:{r:["componentEnabled"],s:"!_0"}}],inactiveMsg:[{t:3,x:{r:["nls"],s:'_0("webcamshield.inactive.tooltip")'}}],backHash:"#privacy"},f:[{t:7,e:"div",a:{slot:"breadcrumbs"},f:[{t:7,e:"Crumbs",a:{customBreadcrumbs:["[{title: ",{t:3,x:{r:["nls"],s:'_0("privacy")'}},", url : '#privacy', section: true}, {title: ",{t:3,x:{r:["nls"],s:'_0("webcamshield")'}},", url: '#privacy/WebCam'}]"]}}]}," ",{t:7,e:"div",a:{slot:"controls"},f:[{t:7,e:"kin-switch",a:{"data-test":"wcm_switch","kin-checked":[{t:2,r:"componentEnabled"}],title:[{t:2,x:{r:["nls"],s:'_0("webcamshield")'}}]},v:{click:"toggleStatus"}}]}," ",{t:4,f:[{t:7,e:"div",a:{slot:"upsell"},f:[{t:7,e:"Upsell",a:{desc:[{t:3,x:{r:["nls"],s:'_0("upsell.desc.webcam")'}}],animation:[{t:2,r:"UPSELL_ANIMATION"}]}}]}],n:50,x:{r:["componentLicensed"],s:"!_0"}}," ",{t:7,e:"div",a:{slot:"page-content"},f:[{t:7,e:"View",f:[{t:7,e:"div",a:{slot:"description"},f:[{t:7,e:"p",a:{class:"kin_description__text"},f:[{t:3,x:{r:["nls"],s:'_0("webcamshield.desc")'}}]}]}," ",{t:7,e:"div",a:{slot:"view-content"},f:[{t:7,e:"div",a:{class:"kin_view__icon"},f:[{t:7,e:"kin-icon",a:{name:"icon-l-webcam",size:"200",class:"color-disabled -text"}}," ",{t:7,e:"kin-icon",a:{name:[{t:2,x:{r:["componentEnabled"],s:'_0?"badge-ok":"icon-s-fill-unsecured"'}}],size:"32",class:"wcm_status"}}]}]}]}]}]}]},css:".wcm_status {\n position: absolute;\n bottom: 0;\n left: 50%;\n margin: 0 3rem 5rem;\n}\n",data:()=>({UPSELL_ANIMATION:"data:image/png;base64,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",componentEnabled:s.isEnabled(f),componentLicensed:s.isLicensed(f)}),oninit(){this.log=i.createLogger("webcam"),this.listeners=[],this.listeners.push(e.on("product.change.feature."+f,(t=>{this.set("componentEnabled",t.enabled),this.set("componentLicensed",t.licensed)}))),this.on("toggleStatus",(()=>{this.get("componentEnabled")?p.stopOptions().then((t=>this._toggleStatus(t.time))).catch((()=>{this.log.info("no stop option selected.. doing nothing")})):s.isPassiveMode()?p.passiveMode(s.getPassiveModeInfo()).then((()=>this._toggleStatus())):this._toggleStatus()})),this.on("Upsell.init",(()=>{n.event("Upsell","View")})),this.on("Upsell.buy",(()=>{a.openWindow(343)}))},_toggleStatus:t=>s.toggleFeature(f,t).catch((t=>{console.error(`Toggling ${f} failed`,t)})),onteardown(){this.listeners.forEach((t=>t()))}});function v(){}function _(t){return t()}function y(){return Object.create(null)}function x(t){t.forEach(_)}function k(t){return"function"==typeof t}function A(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function S(t,e,n,o){if(t){const c=T(t,e,n,o);return t[0](c)}}function T(t,e,n,o){return t[1]&&o?function(t,e){for(const n in e)t[n]=e[n];return t}(n.ctx.slice(),t[1](o(e))):n.ctx}function L(t,e,n,o,c,i,l){const s=function(t,e,n,o){if(t[2]&&o){const c=t[2](o(n));if(void 0===e.dirty)return c;if("object"==typeof c){const t=[],n=Math.max(e.dirty.length,c.length);for(let o=0;o<n;o+=1)t[o]=e.dirty[o]|c[o];return t}return e.dirty|c}return e.dirty}(e,o,c,i);if(s){const c=T(e,n,o,l);t.p(c,s)}}function M(t){return t&&k(t.destroy)?t.destroy:v}function $(t,e){t.appendChild(e)}function C(t,e,n){t.insertBefore(e,n||null)}function N(t){t.parentNode.removeChild(t)}function D(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function W(t){return document.createElement(t)}function E(t){return document.createTextNode(t)}function O(){return E(" ")}function U(){return E("")}function H(t,e,n,o){return t.addEventListener(e,n,o),()=>t.removeEventListener(e,n,o)}function j(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function z(t,e,n){e in t?t[e]=n:j(t,e,n)}function I(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function B(t,e,n,o){t.style.setProperty(e,n,o?"important":"")}function R(t,e,n){t.classList[n?"add":"remove"](e)}class V{constructor(t=null){this.a=t,this.e=this.n=null}m(t,e,n=null){this.e||(this.e=W(e.nodeName),this.t=e,this.h(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)C(this.t,this.n[e],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(N)}}let K;function G(t){K=t}function F(){if(!K)throw new Error("Function called outside component initialization");return K}function Q(t){F().$$.on_destroy.push(t)}function q(){const t=F();return(e,n)=>{const o=t.$$.callbacks[e];if(o){const c=function(t,e){const n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!1,!1,e),n}(e,n);o.slice().forEach((e=>{e.call(t,c)}))}}}const Z=[],P=[],J=[],X=[],Y=Promise.resolve();let tt=!1;function et(t){J.push(t)}let nt=!1;const ot=new Set;function ct(){if(!nt){nt=!0;do{for(let t=0;t<Z.length;t+=1){const e=Z[t];G(e),it(e.$$)}for(G(null),Z.length=0;P.length;)P.pop()();for(let t=0;t<J.length;t+=1){const e=J[t];ot.has(e)||(ot.add(e),e())}J.length=0}while(Z.length);for(;X.length;)X.pop()();tt=!1,nt=!1,ot.clear()}}function it(t){if(null!==t.fragment){t.update(),x(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(et)}}const lt=new Set;let st;function at(t,e){t&&t.i&&(lt.delete(t),t.i(e))}function rt(t,e,n,o){if(t&&t.o){if(lt.has(t))return;lt.add(t),st.c.push((()=>{lt.delete(t),o&&(n&&t.d(1),o())})),t.o(e)}}const dt="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function ut(t){t&&t.c()}function mt(t,e,n,o){const{fragment:c,on_mount:i,on_destroy:l,after_update:s}=t.$$;c&&c.m(e,n),o||et((()=>{const e=i.map(_).filter(k);l?l.push(...e):x(e),t.$$.on_mount=[]})),s.forEach(et)}function pt(t,e){const n=t.$$;null!==n.fragment&&(x(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ft(t,e){-1===t.$$.dirty[0]&&(Z.push(t),tt||(tt=!0,Y.then(ct)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ht(t,e,n,o,c,i,l=[-1]){const s=K;G(t);const a=t.$$={fragment:null,ctx:null,props:i,update:v,not_equal:c,bound:y(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s?s.$$.context:[]),callbacks:y(),dirty:l,skip_bound:!1};let r=!1;if(a.ctx=n?n(t,e.props||{},((e,n,...o)=>{const i=o.length?o[0]:n;return a.ctx&&c(a.ctx[e],a.ctx[e]=i)&&(!a.skip_bound&&a.bound[e]&&a.bound[e](i),r&&ft(t,e)),n})):[],a.update(),r=!0,x(a.before_update),a.fragment=!!o&&o(a.ctx),e.target){if(e.hydrate){const t=function(t){return Array.from(t.childNodes)}(e.target);a.fragment&&a.fragment.l(t),t.forEach(N)}else a.fragment&&a.fragment.c();e.intro&&at(t.$$.fragment),mt(t,e.target,e.anchor,e.customElement),ct()}G(s)}class gt{$destroy(){pt(this,1),this.$destroy=v}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}var bt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},wt=/^\s+|\s+$/g,vt=/^[-+]0x[0-9a-f]+$/i,_t=/^0b[01]+$/i,yt=/^0o[0-7]+$/i,xt=parseInt,kt="object"==typeof bt&&bt&&bt.Object===Object&&bt,At="object"==typeof self&&self&&self.Object===Object&&self,St=kt||At||Function("return this")(),Tt=Object.prototype.toString,Lt=Math.max,Mt=Math.min,$t=function(){return St.Date.now()};function Ct(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Nt(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==Tt.call(t)}(t))return NaN;if(Ct(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ct(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(wt,"");var n=_t.test(t);return n||yt.test(t)?xt(t.slice(2),n?2:8):vt.test(t)?NaN:+t}var Dt=function(t,e,n){var o,c,i,l,s,a,r=0,d=!1,u=!1,m=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function p(e){var n=o,i=c;return o=c=void 0,r=e,l=t.apply(i,n)}function f(t){return r=t,s=setTimeout(g,e),d?p(t):l}function h(t){var n=t-a;return void 0===a||n>=e||n<0||u&&t-r>=i}function g(){var t=$t();if(h(t))return b(t);s=setTimeout(g,function(t){var n=e-(t-a);return u?Mt(n,i-(t-r)):n}(t))}function b(t){return s=void 0,m&&o?p(t):(o=c=void 0,l)}function w(){var t=$t(),n=h(t);if(o=arguments,c=this,a=t,n){if(void 0===s)return f(a);if(u)return s=setTimeout(g,e),p(a)}return void 0===s&&(s=setTimeout(g,e)),l}return e=Nt(e)||0,Ct(n)&&(d=!!n.leading,i=(u="maxWait"in n)?Lt(Nt(n.maxWait)||0,e):i,m="trailing"in n?!!n.trailing:m),w.cancel=function(){void 0!==s&&clearTimeout(s),r=0,o=a=c=s=void 0},w.flush=function(){return void 0===s?l:b($t())},w};const{window:Wt}=dt;function Et(t,e,n){const o=t.slice();return o[49]=e[n],o}function Ot(t,e,n){const o=t.slice();return o[52]=e[n],o}function Ut(t,e,n){const o=t.slice();return o[55]=e[n],o[57]=n,o}const Ht=t=>({}),jt=t=>({});function zt(t){let e,n,o,c,i,l,s,a,r,d,m,p,f,h,g,b,w,v,_,y,k,A,T,D=t[0].icon&&It(t),E=t[0].title&&Kt(t);const U=t[30].default,z=S(U,t,t[29],null);let I=t[0].text&&Gt(t),V=t[0].actionText&&Ft(t);const K=t[30]["custom-content"],G=S(K,t,t[29],jt);let F=!t[3]&&t[0].actions&&t[0].actions.length&&Qt(t),Q=t[3]&&te(t),q=t[0].dontShowAgain&&ne(t),Z=t[0].details&&t[0].details.length&&oe(t),P=t[2]&&le(t),J=(t[11]||t[14]>1)&&_e(t);return{c(){e=W("div"),n=W("div"),o=W("h1"),o.innerHTML='<span class="logo -white -width-70"></span>',c=O(),i=W("div"),l=W("button"),s=O(),a=W("div"),D&&D.c(),r=O(),E&&E.c(),d=O(),z&&z.c(),m=O(),I&&I.c(),p=O(),V&&V.c(),f=O(),G&&G.c(),h=O(),F&&F.c(),g=O(),Q&&Q.c(),b=O(),q&&q.c(),w=O(),Z&&Z.c(),v=O(),P&&P.c(),_=O(),J&&J.c(),j(o,"class","nui_logo"),j(l,"class","nui_controls__item -close nui_caption_client g-cursor--pointer"),j(l,"title",u("global.closeModalWindow")),j(i,"class","nui_controls"),j(n,"class","nui_titlebar -toaster nui_caption"),j(a,"class","sve_toaster__main"),R(a,"-auto-v-scroll",t[10]),j(e,"class",y="sve_toaster -detection "+(t[0].color?"-"+t[0].color:"")),B(e,"width",t[1]+"px")},m(u,y){C(u,e,y),$(e,n),$(n,o),$(n,c),$(n,i),$(i,l),$(e,s),$(e,a),D&&D.m(a,null),$(a,r),E&&E.m(a,null),$(a,d),z&&z.m(a,null),$(a,m),I&&I.m(a,null),$(a,p),V&&V.m(a,null),$(a,f),G&&G.m(a,null),$(a,h),F&&F.m(a,null),$(a,g),Q&&Q.m(a,null),$(a,b),q&&q.m(a,null),$(a,w),Z&&Z.m(a,null),$(e,v),P&&P.m(e,null),$(e,_),J&&J.m(e,null),k=!0,A||(T=[H(l,"click",t[19]),M(t[24].call(null,e))],A=!0)},p(t,n){t[0].icon?D?D.p(t,n):(D=It(t),D.c(),D.m(a,r)):D&&(D.d(1),D=null),t[0].title?E?E.p(t,n):(E=Kt(t),E.c(),E.m(a,d)):E&&(E.d(1),E=null),z&&z.p&&536870912&n[0]&&L(z,U,t,t[29],n,null,null),t[0].text?I?I.p(t,n):(I=Gt(t),I.c(),I.m(a,p)):I&&(I.d(1),I=null),t[0].actionText?V?V.p(t,n):(V=Ft(t),V.c(),V.m(a,f)):V&&(V.d(1),V=null),G&&G.p&&536870912&n[0]&&L(G,K,t,t[29],n,Ht,jt),!t[3]&&t[0].actions&&t[0].actions.length?F?F.p(t,n):(F=Qt(t),F.c(),F.m(a,g)):F&&(F.d(1),F=null),t[3]?Q?Q.p(t,n):(Q=te(t),Q.c(),Q.m(a,b)):Q&&(Q.d(1),Q=null),t[0].dontShowAgain?q?q.p(t,n):(q=ne(t),q.c(),q.m(a,w)):q&&(q.d(1),q=null),t[0].details&&t[0].details.length?Z?Z.p(t,n):(Z=oe(t),Z.c(),Z.m(a,null)):Z&&(Z.d(1),Z=null),1024&n[0]&&R(a,"-auto-v-scroll",t[10]),t[2]?P?P.p(t,n):(P=le(t),P.c(),P.m(e,_)):P&&(P.d(1),P=null),t[11]||t[14]>1?J?J.p(t,n):(J=_e(t),J.c(),J.m(e,null)):J&&(J.d(1),J=null),(!k||1&n[0]&&y!==(y="sve_toaster -detection "+(t[0].color?"-"+t[0].color:"")))&&j(e,"class",y),(!k||2&n[0])&&B(e,"width",t[1]+"px")},i(t){k||(at(z,t),at(G,t),k=!0)},o(t){rt(z,t),rt(G,t),k=!1},d(t){t&&N(e),D&&D.d(),E&&E.d(),z&&z.d(t),I&&I.d(),V&&V.d(),G&&G.d(t),F&&F.d(),Q&&Q.d(),q&&q.d(),Z&&Z.d(),P&&P.d(),J&&J.d(),A=!1,x(T)}}}function It(t){let e;function n(t,e){return t[0].icon.base64data?Rt:Bt}let o=n(t),c=o(t);return{c(){e=W("div"),c.c(),j(e,"class","sve_toaster__icon__container")},m(t,n){C(t,e,n),c.m(e,null)},p(t,i){o===(o=n(t))&&c?c.p(t,i):(c.d(1),c=o(t),c&&(c.c(),c.m(e,null)))},d(t){t&&N(e),c.d()}}}function Bt(t){let e,n,o,c,i,l,s,a=t[0].icon.color&&Vt(t);return{c(){e=W("kin-icon"),o=O(),c=W("kin-icon"),l=O(),a&&a.c(),s=U(),z(e,"illustration","true"),z(e,"name",n="ok"==t[0].icon.color?"i-detection-ok":"critical"==t[0].icon.color?"i-detection-critical":""),z(e,"size","144"),z(e,"width","264"),z(e,"class","sve_toaster__icon__bg"),z(c,"class","sve_toaster__icon"),z(c,"name",i=t[0].icon.name),z(c,"size","72")},m(t,n){C(t,e,n),C(t,o,n),C(t,c,n),C(t,l,n),a&&a.m(t,n),C(t,s,n)},p(t,o){1&o[0]&&n!==(n="ok"==t[0].icon.color?"i-detection-ok":"critical"==t[0].icon.color?"i-detection-critical":"")&&z(e,"name",n),1&o[0]&&i!==(i=t[0].icon.name)&&z(c,"name",i),t[0].icon.color?a?a.p(t,o):(a=Vt(t),a.c(),a.m(s.parentNode,s)):a&&(a.d(1),a=null)},d(t){t&&N(e),t&&N(o),t&&N(c),t&&N(l),a&&a.d(t),t&&N(s)}}}function Rt(t){let e,n,o;return{c(){e=W("img"),j(e,"class","kin-img"),j(e,"height","60"),e.src!==(n="data:image/png;base64,"+t[0].icon.base64data)&&j(e,"src",n),j(e,"alt",o=t[0].title)},m(t,n){C(t,e,n)},p(t,c){1&c[0]&&e.src!==(n="data:image/png;base64,"+t[0].icon.base64data)&&j(e,"src",n),1&c[0]&&o!==(o=t[0].title)&&j(e,"alt",o)},d(t){t&&N(e)}}}function Vt(t){let e,n;return{c(){e=W("kin-icon"),z(e,"class","sve_toaster__icon__status"),z(e,"name",n="ok"==t[0].icon.color?"icon-s-fill-secured":"icon-s-fill-unsecured"),z(e,"size","32")},m(t,n){C(t,e,n)},p(t,o){1&o[0]&&n!==(n="ok"==t[0].icon.color?"icon-s-fill-secured":"icon-s-fill-unsecured")&&z(e,"name",n)},d(t){t&&N(e)}}}function Kt(t){let e,n=t[0].title+"";return{c(){e=W("h2"),j(e,"class","sve_toaster__title h2")},m(t,o){C(t,e,o),e.innerHTML=n},p(t,o){1&o[0]&&n!==(n=t[0].title+"")&&(e.innerHTML=n)},d(t){t&&N(e)}}}function Gt(t){let e,n=t[0].text+"";return{c(){e=W("p"),j(e,"class","sve_toaster__text p")},m(t,o){C(t,e,o),e.innerHTML=n},p(t,o){1&o[0]&&n!==(n=t[0].text+"")&&(e.innerHTML=n)},d(t){t&&N(e)}}}function Ft(t){let e,n,o=t[0].actionText+"";return{c(){e=W("p"),n=E(o),j(e,"class","sve_toaster__text p -small -secondary")},m(t,o){C(t,e,o),$(e,n)},p(t,e){1&e[0]&&o!==(o=t[0].actionText+"")&&I(n,o)},d(t){t&&N(e)}}}function Qt(t){let e,n,o,c,i,l,s,a,r,d,u,m,p=t[0].actions[0].label+"",f=null!=t[9]&&qt(t),h=1===t[0].actions.length&&t[14]>1&&t[15]&&Zt(t);function g(t,e){return 2!==t[0].actions.length||t[0].hideSecondAction?t[0].actions.length>2||t[0].hideSecondAction&&t[0].actions.length>1?Pt:void 0:Jt}let b=g(t),w=b&&b(t),v=t[0].errorText&&Yt(t);return{c(){e=W("div"),n=W("kin-button"),o=W("span"),c=E(p),i=O(),f&&f.c(),s=O(),h&&h.c(),a=O(),w&&w.c(),r=O(),v&&v.c(),d=U(),z(n,"processing",t[8]),z(n,"data-test",l="dd_primary_"+t[0].actions[0].labelTest||"dd_primary_btn"),j(e,"class","sve_toaster__btns")},m(l,p){C(l,e,p),$(e,n),$(n,o),$(o,c),$(o,i),f&&f.m(o,null),$(e,s),h&&h.m(e,null),$(e,a),w&&w.m(e,null),C(l,r,p),v&&v.m(l,p),C(l,d,p),u||(m=H(n,"click",t[31]),u=!0)},p(t,i){1&i[0]&&p!==(p=t[0].actions[0].label+"")&&I(c,p),null!=t[9]?f?f.p(t,i):(f=qt(t),f.c(),f.m(o,null)):f&&(f.d(1),f=null),256&i[0]&&z(n,"processing",t[8]),1&i[0]&&l!==(l="dd_primary_"+t[0].actions[0].labelTest||"dd_primary_btn")&&z(n,"data-test",l),1===t[0].actions.length&&t[14]>1&&t[15]?h?h.p(t,i):(h=Zt(t),h.c(),h.m(e,a)):h&&(h.d(1),h=null),b===(b=g(t))&&w?w.p(t,i):(w&&w.d(1),w=b&&b(t),w&&(w.c(),w.m(e,null))),t[0].errorText?v?v.p(t,i):(v=Yt(t),v.c(),v.m(d.parentNode,d)):v&&(v.d(1),v=null)},d(t){t&&N(e),f&&f.d(),h&&h.d(),w&&w.d(),t&&N(r),v&&v.d(t),t&&N(d),u=!1,m()}}}function qt(t){let e,n,o;return{c(){e=E("("),n=E(t[9]),o=E(")")},m(t,c){C(t,e,c),C(t,n,c),C(t,o,c)},p(t,e){512&e[0]&&I(n,t[9])},d(t){t&&N(e),t&&N(n),t&&N(o)}}}function Zt(t){let e,n,o,c,i,l,s,a=u("detection.action.closeAll")+"";return{c(){e=W("kin-button"),n=E(a),o=E("\n\t\t\t\t\t\t\t("),c=E(t[14]),i=E(")"),z(e,"class","g-margin-left--10"),z(e,"kin-disabled",t[8]),z(e,"data-test","closeAll"),z(e,"type","secondary")},m(a,r){C(a,e,r),$(e,n),$(e,o),$(e,c),$(e,i),l||(s=H(e,"click",t[19]),l=!0)},p(t,n){16384&n[0]&&I(c,t[14]),256&n[0]&&z(e,"kin-disabled",t[8])},d(t){t&&N(e),l=!1,s()}}}function Pt(t){let e,n,o,c,i,l,s,a,r=u("global.moreOptions")+"",d=t[0].actions,m=[];for(let u=0;u<d.length;u+=1)m[u]=Xt(Ut(t,d,u));return{c(){e=W("kin-dropdown"),n=W("div"),o=W("kin-button"),c=E(r),i=O(),l=W("kin-icon"),s=O(),a=W("div");for(let t=0;t<m.length;t+=1)m[t].c();z(l,"class","g-margin-left--5"),z(l,"name","icon-s-controls-arrow-down"),z(l,"size","16"),z(o,"type","secondary"),z(o,"data-test","dd_dropdown_btn"),j(n,"slot","dropdown-activator"),z(e,"class","g-margin-left--10")},m(t,r){C(t,e,r),$(e,n),$(n,o),$(o,c),$(o,i),$(o,l),$(e,s),$(e,a);for(let e=0;e<m.length;e+=1)m[e].m(a,null)},p(t,e){if(8388609&e[0]){let n;for(d=t[0].actions,n=0;n<d.length;n+=1){const o=Ut(t,d,n);m[n]?m[n].p(o,e):(m[n]=Xt(o),m[n].c(),m[n].m(a,null))}for(;n<m.length;n+=1)m[n].d(1);m.length=d.length}},d(t){t&&N(e),D(m,t)}}}function Jt(t){let e,n,o,c,i,l=t[0].actions[1].label+"";return{c(){e=W("kin-button"),n=E(l),z(e,"class","g-margin-left--10"),z(e,"kin-disabled",t[8]),z(e,"data-test",o="dd_secondary_"+t[0].actions[1].labelTest||"dd_secondary_btn"),z(e,"type","secondary")},m(o,l){C(o,e,l),$(e,n),c||(i=H(e,"click",t[32]),c=!0)},p(t,c){1&c[0]&&l!==(l=t[0].actions[1].label+"")&&I(n,l),256&c[0]&&z(e,"kin-disabled",t[8]),1&c[0]&&o!==(o="dd_secondary_"+t[0].actions[1].labelTest||"dd_secondary_btn")&&z(e,"data-test",o)},d(t){t&&N(e),c=!1,i()}}}function Xt(t){let e,n=0!==t[57]&&function(t){let e,n,o,c,i,l,s=t[55].label+"";function a(){return t[33](t[57])}return{c(){e=W("kin-dropdown-item"),n=E(s),o=O(),z(e,"data-test",c="dd_dropdown_"+t[55].labelTest||"dd_dropdown_"+t[57])},m(t,c){C(t,e,c),$(e,n),$(e,o),i||(l=H(e,"click",a),i=!0)},p(o,i){t=o,1&i[0]&&s!==(s=t[55].label+"")&&I(n,s),1&i[0]&&c!==(c="dd_dropdown_"+t[55].labelTest||"dd_dropdown_"+t[57])&&z(e,"data-test",c)},d(t){t&&N(e),i=!1,l()}}}(t);return{c(){n&&n.c(),e=U()},m(t,o){n&&n.m(t,o),C(t,e,o)},p(t,e){0!==t[57]&&n.p(t,e)},d(t){n&&n.d(t),t&&N(e)}}}function Yt(t){let e,n,o=t[0].errorText+"";return{c(){e=W("p"),n=E(o),j(e,"class","g-margin-top--5 g-margin-bottom--10 p -small -secondary -text color-danger")},m(t,o){C(t,e,o),$(e,n)},p(t,e){1&e[0]&&o!==(o=t[0].errorText+"")&&I(n,o)},d(t){t&&N(e)}}}function te(t){let e,n,o,c=(t[5]||t[4]&&t[4].text)&&ee(t);return{c(){e=W("div"),n=W("kin-progress"),o=O(),c&&c.c(),z(n,"percentage","-1"),j(e,"class","sve_toaster__progress")},m(t,i){C(t,e,i),$(e,n),$(e,o),c&&c.m(e,null)},p(t,n){t[5]||t[4]&&t[4].text?c?c.p(t,n):(c=ee(t),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},d(t){t&&N(e),c&&c.d()}}}function ee(t){let e,n,o=(t[5]||t[4].text)+"";return{c(){e=W("p"),n=E(o),j(e,"class","g-margin-top--10 p -small -secondary")},m(t,o){C(t,e,o),$(e,n)},p(t,e){48&e[0]&&o!==(o=(t[5]||t[4].text)+"")&&I(n,o)},d(t){t&&N(e)}}}function ne(t){let e,n,o,c,i,l,s,a=t[0].dontShowAgain.label+"";return{c(){e=W("p"),n=W("input"),o=O(),c=W("label"),i=E(a),j(n,"type","checkbox"),j(n,"id","detection_dontShowAgain"),j(n,"class","checkbox"),j(c,"for","detection_dontShowAgain"),j(c,"class","g-margin-left--5"),j(e,"class","sve_toaster__text p g-margin-top--10")},m(a,r){C(a,e,r),$(e,n),$(e,o),$(e,c),$(c,i),l||(s=H(n,"click",t[34]),l=!0)},p(t,e){1&e[0]&&a!==(a=t[0].dontShowAgain.label+"")&&I(i,a)},d(t){t&&N(e),l=!1,s()}}}function oe(t){let e,n,o;function c(t,e){return t[2]?ie:ce}let i=c(t),l=i(t);return{c(){e=W("button"),l.c(),j(e,"class","span -small -secondary g-cursor--pointer g-margin-top--10"),j(e,"data-test","btn_toggleDetails")},m(c,i){C(c,e,i),l.m(e,null),n||(o=H(e,"click",t[20]),n=!0)},p(t,n){i===(i=c(t))&&l?l.p(t,n):(l.d(1),l=i(t),l&&(l.c(),l.m(e,null)))},d(t){t&&N(e),l.d(),n=!1,o()}}}function ce(t){let e,n,o,c=u("global.showDetails")+"";return{c(){e=E(c),n=O(),o=W("kin-icon"),z(o,"name","icon-s-controls-arrow-down"),z(o,"size","16")},m(t,c){C(t,e,c),C(t,n,c),C(t,o,c)},p:v,d(t){t&&N(e),t&&N(n),t&&N(o)}}}function ie(t){let e,n,o,c=u("global.hideDetails")+"";return{c(){e=E(c),n=O(),o=W("kin-icon"),z(o,"name","icon-s-controls-arrow-up"),z(o,"size","16")},m(t,c){C(t,e,c),C(t,n,c),C(t,o,c)},p:v,d(t){t&&N(e),t&&N(n),t&&N(o)}}}function le(t){let e,n,o,c,i,l=t[0].details,s=[];for(let u=0;u<l.length;u+=1)s[u]=de(Ot(t,l,u));let a=t[4]&&ue(t),r=t[6]&&pe(t),d=t[7]&&fe(t);return{c(){e=W("div"),n=W("dl");for(let t=0;t<s.length;t+=1)s[t].c();o=U(),a&&a.c(),c=U(),r&&r.c(),i=U(),d&&d.c(),j(n,"class","desclist -short"),j(e,"class","sve_toaster__details")},m(t,l){C(t,e,l),$(e,n);for(let e=0;e<s.length;e+=1)s[e].m(n,null);$(n,o),a&&a.m(n,null),$(n,c),r&&r.m(n,null),$(n,i),d&&d.m(n,null)},p(t,e){if(1&e[0]){let c;for(l=t[0].details,c=0;c<l.length;c+=1){const i=Ot(t,l,c);s[c]?s[c].p(i,e):(s[c]=de(i),s[c].c(),s[c].m(n,o))}for(;c<s.length;c+=1)s[c].d(1);s.length=l.length}t[4]?a?a.p(t,e):(a=ue(t),a.c(),a.m(n,c)):a&&(a.d(1),a=null),t[6]?r?r.p(t,e):(r=pe(t),r.c(),r.m(n,i)):r&&(r.d(1),r=null),t[7]?d?d.p(t,e):(d=fe(t),d.c(),d.m(n,null)):d&&(d.d(1),d=null)},d(t){t&&N(e),D(s,t),a&&a.d(),r&&r.d(),d&&d.d()}}}function se(t){let e,n,o,c=t[52].title+"";function i(t,e){return"scoreMeter"===t[52].type&&4>t[52].value?re:ae}let l=i(t),s=l(t);return{c(){e=W("dt"),n=E(c),s.c(),o=U()},m(t,c){C(t,e,c),$(e,n),s.m(t,c),C(t,o,c)},p(t,e){1&e[0]&&c!==(c=t[52].title+"")&&I(n,c),l===(l=i(t))&&s?s.p(t,e):(s.d(1),s=l(t),s&&(s.c(),s.m(o.parentNode,o)))},d(t){t&&N(e),s.d(t),t&&N(o)}}}function ae(t){let e,n,o,c=t[52].value+"";return{c(){e=W("dd"),n=E(c),j(e,"data-test",o=t[52].testValue)},m(t,o){C(t,e,o),$(e,n)},p(t,i){1&i[0]&&c!==(c=t[52].value+"")&&I(n,c),1&i[0]&&o!==(o=t[52].testValue)&&j(e,"data-test",o)},d(t){t&&N(e)}}}function re(t){let e,n,o,c,i,l,s,a,r;return{c(){e=W("dd"),n=W("div"),o=W("div"),c=O(),i=W("div"),l=O(),s=W("div"),r=O(),j(n,"class",a="scoremeter -val-"+t[52].value)},m(t,a){C(t,e,a),$(e,n),$(n,o),$(n,c),$(n,i),$(n,l),$(n,s),$(e,r)},p(t,e){1&e[0]&&a!==(a="scoremeter -val-"+t[52].value)&&j(n,"class",a)},d(t){t&&N(e)}}}function de(t){let e,n=t[52].value&&se(t);return{c(){n&&n.c(),e=U()},m(t,o){n&&n.m(t,o),C(t,e,o)},p(t,o){t[52].value?n?n.p(t,o):(n=se(t),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(t){n&&n.d(t),t&&N(e)}}}function ue(t){let e,n,o,c,i,l=t[4].text+"",s=t[4].action&&me(t);return{c(){e=W("dt"),e.textContent=`${u("global.status")}`,n=W("dd"),o=E(l),c=O(),s&&s.c(),i=O(),j(n,"data-test","status")},m(t,l){C(t,e,l),C(t,n,l),$(n,o),$(n,c),s&&s.m(n,null),$(n,i)},p(t,e){16&e[0]&&l!==(l=t[4].text+"")&&I(o,l),t[4].action?s?s.p(t,e):(s=me(t),s.c(),s.m(n,i)):s&&(s.d(1),s=null)},d(t){t&&N(e),t&&N(n),s&&s.d()}}}function me(t){let e,n,o,c,i,l,s=t[4].actionLabel+"";return{c(){e=E("| "),n=W("button"),o=E(s),j(n,"class","a"),j(n,"data-test",c="scn_"+t[4].actionLabelGa)},m(c,s){C(c,e,s),C(c,n,s),$(n,o),i||(l=H(n,"click",t[21]),i=!0)},p(t,e){16&e[0]&&s!==(s=t[4].actionLabel+"")&&I(o,s),16&e[0]&&c!==(c="scn_"+t[4].actionLabelGa)&&j(n,"data-test",c)},d(t){t&&N(e),t&&N(n),i=!1,l()}}}function pe(t){let e,n,o,c,i,l,s,a,r=t[6].text+"";return{c(){e=W("dt"),e.textContent=`${u("global.option")}`,n=W("dd"),o=W("button"),c=E(r),l=O(),j(o,"class","a"),j(o,"data-test",i="scn_"+t[6].actionLabelGa),j(n,"data-test","option")},m(i,r){C(i,e,r),C(i,n,r),$(n,o),$(o,c),$(n,l),s||(a=H(o,"click",t[22]),s=!0)},p(t,e){64&e[0]&&r!==(r=t[6].text+"")&&I(c,r),64&e[0]&&i!==(i="scn_"+t[6].actionLabelGa)&&j(o,"data-test",i)},d(t){t&&N(e),t&&N(n),s=!1,a()}}}function fe(t){let e,n=t[7],o=[];for(let c=0;c<n.length;c+=1)o[c]=ve(Et(t,n,c));return{c(){for(let t=0;t<o.length;t+=1)o[t].c();e=U()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);C(t,e,n)},p(t,c){if(33554560&c[0]){let i;for(n=t[7],i=0;i<n.length;i+=1){const l=Et(t,n,i);o[i]?o[i].p(l,c):(o[i]=ve(l),o[i].c(),o[i].m(e.parentNode,e))}for(;i<o.length;i+=1)o[i].d(1);o.length=n.length}},d(t){D(o,t),t&&N(e)}}}function he(t){let e;return{c(){e=W("dt"),e.textContent=`${u("global.options")}`},m(t,n){C(t,e,n)},p:v,d(t){t&&N(e)}}}function ge(t){let e,n,o=t[49].title+"";return{c(){e=W("dt"),n=E(o)},m(t,o){C(t,e,o),$(e,n)},p(t,e){128&e[0]&&o!==(o=t[49].title+"")&&I(n,o)},d(t){t&&N(e)}}}function be(t){let e,n,o,c,i,l,s,a,r,d=t[49].label+"";function u(){return t[35](t[49])}return{c(){e=W("input"),c=O(),i=W("label"),l=E(d),j(e,"type","checkbox"),j(e,"class","checkbox"),e.checked=n=t[49].value,j(e,"id",o="form_checkbox_"+t[49].valueName),j(i,"for",s="form_checkbox_"+t[49].valueName),j(i,"class","g-margin-left--5")},m(t,n){C(t,e,n),C(t,c,n),C(t,i,n),$(i,l),a||(r=H(e,"click",u),a=!0)},p(c,a){t=c,128&a[0]&&n!==(n=t[49].value)&&(e.checked=n),128&a[0]&&o!==(o="form_checkbox_"+t[49].valueName)&&j(e,"id",o),128&a[0]&&d!==(d=t[49].label+"")&&I(l,d),128&a[0]&&s!==(s="form_checkbox_"+t[49].valueName)&&j(i,"for",s)},d(t){t&&N(e),t&&N(c),t&&N(i),a=!1,r()}}}function we(t){let e,n,o,c=t[49].label+"";return{c(){e=W("label"),n=E(c),j(e,"for",o="form_checkbox_"+t[49].valueName)},m(t,o){C(t,e,o),$(e,n)},p(t,i){128&i[0]&&c!==(c=t[49].label+"")&&I(n,c),128&i[0]&&o!==(o="form_checkbox_"+t[49].valueName)&&j(e,"for",o)},d(t){t&&N(e)}}}function ve(t){let e,n,o;function c(t,e){return t[49].title?ge:he}let i=c(t),l=i(t),s="checkbox"===t[49].type&&be(t),a="label"===t[49].type&&we(t);return{c(){l.c(),e=W("dd"),s&&s.c(),n=O(),a&&a.c(),o=O()},m(t,c){l.m(t,c),C(t,e,c),s&&s.m(e,null),$(e,n),a&&a.m(e,null),$(e,o)},p(t,r){i===(i=c(t))&&l?l.p(t,r):(l.d(1),l=i(t),l&&(l.c(),l.m(e.parentNode,e))),"checkbox"===t[49].type?s?s.p(t,r):(s=be(t),s.c(),s.m(e,n)):s&&(s.d(1),s=null),"label"===t[49].type?a?a.p(t,r):(a=we(t),a.c(),a.m(e,o)):a&&(a.d(1),a=null)},d(t){l.d(t),t&&N(e),s&&s.d(),a&&a.d()}}}function _e(t){let e,n,o,c,i=t[11]&&ye(t),l=t[14]>1&&xe(t);return{c(){e=W("div"),n=W("div"),i&&i.c(),o=O(),c=W("div"),l&&l.c(),j(e,"class","sve_toaster__footer")},m(t,s){C(t,e,s),$(e,n),i&&i.m(n,null),$(e,o),$(e,c),l&&l.m(c,null)},p(t,e){t[11]?i?i.p(t,e):(i=ye(t),i.c(),i.m(n,null)):i&&(i.d(1),i=null),t[14]>1?l?l.p(t,e):(l=xe(t),l.c(),l.m(c,null)):l&&(l.d(1),l=null)},d(t){t&&N(e),i&&i.d(),l&&l.d()}}}function ye(t){let e,n,o,c,i,l,s,a,r,d,m,p,f=t[12]?"/"+t[12]:"";return{c(){e=W("span"),n=E(t[11]),o=E(f),c=O(),i=W("kin-tooltip"),l=W("span"),l.innerHTML='<kin-icon name="icon-m-action-info" size="20"></kin-icon>',s=O(),a=W("div"),r=W("h4"),r.textContent=`${u("detection.alertid.title")}`,d=O(),m=W("p"),m.textContent=`${u("detection.alertid.desc")}`,p=W("p"),j(e,"class","span -small -secondary"),j(e,"data-test","dd_alertid_text"),j(l,"slot","tooltip-activator"),j(r,"class","h4 -margins"),j(m,"class","p -small"),j(a,"slot","tooltip"),z(i,"severity","highlight")},m(t,u){C(t,e,u),$(e,n),$(e,o),C(t,c,u),C(t,i,u),$(i,l),$(i,s),$(i,a),$(a,r),$(a,d),$(a,m),$(a,p)},p(t,e){2048&e[0]&&I(n,t[11]),4096&e[0]&&f!==(f=t[12]?"/"+t[12]:"")&&I(o,f)},d(t){t&&N(e),t&&N(c),t&&N(i)}}}function xe(t){let e,n,o,c,i,l,s,a,r,d,m,p,f,h=t[13]+1+"";return{c(){e=W("span"),e.textContent=`${u("detection.more.detections")}`,n=O(),o=W("kin-button"),c=W("kin-icon"),i=O(),l=E(h),s=E("\n\t\t\t\t\t\t/\n\t\t\t\t\t\t"),a=W("kin-button"),r=E(t[14]),d=O(),m=W("kin-icon"),j(e,"class","span -small -secondary"),z(c,"name","icon-s-controls-arrow-left"),z(c,"size","16"),z(c,"rtlflip","true"),z(o,"type","blank"),z(o,"size","small"),z(o,"class","sve_toaster__paginator g-margin-left--5"),z(o,"data-test","dd_prev_btn"),z(m,"name","icon-s-controls-arrow-right"),z(m,"size","16"),z(m,"rtlflip","true"),z(a,"type","blank"),z(a,"size","small"),z(a,"class","sve_toaster__paginator"),z(a,"data-test","dd_next_btn")},m(u,h){C(u,e,h),C(u,n,h),C(u,o,h),$(o,c),$(o,i),$(o,l),C(u,s,h),C(u,a,h),$(a,r),$(a,d),$(a,m),p||(f=[H(o,"click",t[17]),H(a,"click",t[18])],p=!0)},p(t,e){8192&e[0]&&h!==(h=t[13]+1+"")&&I(l,h),16384&e[0]&&I(r,t[14])},d(t){t&&N(e),t&&N(n),t&&N(o),t&&N(s),t&&N(a),p=!1,x(f)}}}function ke(t){let e,n,o,c,i=t[0]&&zt(t);return{c(){i&&i.c(),e=U()},m(l,s){i&&i.m(l,s),C(l,e,s),n=!0,o||(c=H(Wt,"keydown",t[16]),o=!0)},p(t,n){t[0]?i?(i.p(t,n),1&n[0]&&at(i,1)):(i=zt(t),i.c(),at(i,1),i.m(e.parentNode,e)):i&&(st={r:0,c:[],p:st},rt(i,1,1,(()=>{i=null})),st.r||x(st.c),st=st.p)},i(t){n||(at(i),n=!0)},o(t){rt(i),n=!1},d(t){i&&i.d(t),t&&N(e),o=!1,c()}}}function Ae(t,e,c){let i,l,s,a,d,u,p,{$$slots:f={},$$scope:h}=e;const g=q();let b,w,v,_,y,x,{windowWidth:k=600}=e,{config:A=null}=e,{windowClose:S=null}=e,T=!1,L=null,M=null,$=!1,C=!1,N=!1,D=!1;var W;function E(t=!1){const e=A&&A.closeResponse;S?S(e):(g("close",e),(t||u<=1)&&o.close())}function O(t){U(A.actions[t],t)}function U(t,e){const o=t.action&&t.action(),i=Date.now();if(M&&M(),null==o)null==t.nextConfig?E():H(t.nextConfig,i,t.minDuration);else{const n=1===e&&2===A.actions.length&&!A.hideSecondAction;t.status||0!==e&&!n?(c(4,b=t.status),c(5,w=void 0),c(6,v=t.option),c(3,$=!0)):c(8,C=!0),o.then((e=>{H(e,i,t.minDuration)})).catch((e=>{H(e,i,t.minDuration)}))}t.labelGa&&n.event("DetectionDialog","Click",t.labelGa)}function H(t,e,n){const o=Math.max(n-(Date.now()-e),0);if(L&&L(),o>0){const e=window.setTimeout((()=>{!t&&u>0?E():c(0,A=t),L&&L()}),o);L=()=>{window.clearTimeout(e),L=null}}else!t&&u>0?E():c(0,A=t)}function j(t){t?(c(3,$=A.progress),c(4,b=A.status),c(5,w=A.progressStatusText),c(6,v=A.option),c(7,_=A.formItems),c(8,C=!1),function(){if(M&&M(),A.actions&&A.actions.length&&A.actions[0].countdown){c(9,y=A.actions[0].countdown);const t=window.setInterval((function(){y?c(9,y--,y):U(A.actions[0],0)}),1e3);M=function(){window.clearInterval(t),c(9,y=null),M=null}}}()):E()}function z(t){const e=Math.max(400,t.scrollHeight);D&&(D=!1,c(10,N=e>window.screen.availHeight)),o.resize(k,Math.min(e,window.screen.availHeight))}function I(t){t.value=!t.value,g("formItemUpdated",t)}W=()=>{r.play("threat")},F().$$.on_mount.push(W),Q((()=>{L&&L(),M&&M(),x&&x.cancel()}));return t.$$set=t=>{"windowWidth"in t&&c(1,k=t.windowWidth),"config"in t&&c(0,A=t.config),"windowClose"in t&&c(26,S=t.windowClose),"$$scope"in t&&c(29,h=t.$$scope)},t.$$.update=()=>{1&t.$$.dirty[0]&&j(A),1&t.$$.dirty[0]&&c(27,i=A&&A.trackerTitle),134217728&t.$$.dirty[0]&&function(t){const e=o.getUrlParams();null!=t&&n.view(e.module+"_"+e.view+(t?"_"+t:""))}(i),1&t.$$.dirty[0]&&c(28,l=A&&A.detectionInfo||{}),268435456&t.$$.dirty[0]&&c(11,s=l.id||""),268435456&t.$$.dirty[0]&&c(12,a=l.timestamp&&m(l.timestamp).format("YYMMDD.HHmmZZ")||""),268435456&t.$$.dirty[0]&&c(13,d=l.index||0),268435456&t.$$.dirty[0]&&c(14,u=l.total||0),268435456&t.$$.dirty[0]&&c(15,p=l.showCloseAllBtn||!1)},[A,k,T,$,b,w,v,_,C,y,N,s,a,d,u,p,function(t){const e=A.actions;e&&e.length&&e.some(((e,n)=>{if(e.shortcut&&e.shortcut.code===t.code&&!!e.shortcut.ctrlKey===t.ctrlKey&&!!e.shortcut.shiftKey===t.shiftKey&&!!e.shortcut.altKey===t.altKey&&!!e.shortcut.metaKey===t.metaKey)return U(e,n),!0}))},function(){g("prev")},function(){g("next")},function(){!function(t=!1){n.event("DetectionDialog","Close"),g("ignore"),E(t)}(!0)},function(){c(2,T=!T),D=!0},function(){const t=b.actionLabelGa,e=b.action;t&&n.event("DetectionDialog","Click",t),"function"==typeof e?e():console.error("[SvelteComponents] {DetectionDialog} StatusAction is not function")},function(){const t=v.actionLabelGa,e=v.action;t&&n.event("DetectionDialog","Click",t),"function"==typeof e?e():console.error("[SvelteComponents] {DetectionDialog} OptionAction is not function")},O,function(t){z(t),x=Dt(z.bind(this,t),25);const e=new MutationObserver(x);return e.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),{destroy:e.disconnect.bind(e)}},I,S,i,l,h,f,()=>O(0),()=>O(1),t=>O(t),t=>A.dontShowAgain.action(t.target.checked),t=>I(t)]}class Se extends gt{constructor(t){super(),ht(this,t,Ae,ke,A,{windowWidth:1,config:0,windowClose:26},[-1,-1])}}function Te(t){let e,n,o,c;return{c(){e=W("div"),n=W("kin-icon"),z(n,"name",t[4]),j(e,"class",o="sve_toaster__theme "+(t[3]?"color-"+t[3]:"color-dark -bg")),j(e,"style",c=t[5]?"font-size:"+t[5]:"")},m(t,o){C(t,e,o),$(e,n)},p(t,i){16&i&&z(n,"name",t[4]),8&i&&o!==(o="sve_toaster__theme "+(t[3]?"color-"+t[3]:"color-dark -bg"))&&j(e,"class",o),32&i&&c!==(c=t[5]?"font-size:"+t[5]:"")&&j(e,"style",c)},d(t){t&&N(e)}}}function Le(t){let e,n;return{c(){e=W("kin-icon"),z(e,"name",t[4]),z(e,"class",n="g-margin-bottom--20 "+(t[3]?"color-"+t[3]+" -text":""))},m(t,n){C(t,e,n)},p(t,o){16&o&&z(e,"name",t[4]),8&o&&n!==(n="g-margin-bottom--20 "+(t[3]?"color-"+t[3]+" -text":""))&&z(e,"class",n)},d(t){t&&N(e)}}}function Me(t){let e,n;return{c(){e=W("h2"),n=E(t[6]),j(e,"class","sve_toaster__title h3")},m(t,o){C(t,e,o),$(e,n)},p(t,e){64&e&&I(n,t[6])},d(t){t&&N(e)}}}function $e(t){let e,n;function o(t,e){return t[10]?Ne:Ce}let c=o(t),i=c(t),l=t[8]&&De(t);return{c(){e=W("p"),i.c(),n=O(),l&&l.c(),j(e,"class","sve_toaster__text p -small")},m(t,o){C(t,e,o),i.m(e,null),$(e,n),l&&l.m(e,null)},p(t,s){c===(c=o(t))&&i?i.p(t,s):(i.d(1),i=c(t),i&&(i.c(),i.m(e,n))),t[8]?l?l.p(t,s):(l=De(t),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},d(t){t&&N(e),i.d(),l&&l.d()}}}function Ce(t){let e;return{c(){e=E(t[7])},m(t,n){C(t,e,n)},p(t,n){128&n&&I(e,t[7])},d(t){t&&N(e)}}}function Ne(t){let e,n;return{c(){n=U(),e=new V(n)},m(o,c){e.m(t[7],o,c),C(o,n,c)},p(t,n){128&n&&e.p(t[7])},d(t){t&&N(n),t&&e.d()}}}function De(t){let e,n,o,c,i;return{c(){e=E(" "),n=W("button"),o=E(t[8]),j(n,"class","a g-font--capital")},m(l,s){C(l,e,s),C(l,n,s),$(n,o),c||(i=H(n,"click",t[14]),c=!0)},p(t,e){256&e&&I(o,t[8])},d(t){t&&N(e),t&&N(n),c=!1,i()}}}function We(t){let e;function n(t,e){return t[11]<0||100<t[11]?Oe:Ee}let o=n(t),c=o(t);return{c(){e=W("div"),c.c(),j(e,"class","sve_toaster__progress")},m(t,n){C(t,e,n),c.m(e,null)},p(t,i){o===(o=n(t))&&c?c.p(t,i):(c.d(1),c=o(t),c&&(c.c(),c.m(e,null)))},d(t){t&&N(e),c.d()}}}function Ee(t){let e,n,o,c,i;return{c(){e=W("kin-progress"),n=O(),o=W("p"),c=E(t[11]),i=E("%"),z(e,"percentage",t[11]),z(e,"csscls","-standalone"),j(o,"class","p")},m(t,l){C(t,e,l),C(t,n,l),C(t,o,l),$(o,c),$(o,i)},p(t,n){2048&n&&z(e,"percentage",t[11]),2048&n&&I(c,t[11])},d(t){t&&N(e),t&&N(n),t&&N(o)}}}function Oe(t){let e;return{c(){e=W("kin-progress"),z(e,"percentage",t[11]),z(e,"csscls","-standalone -unknown")},m(t,n){C(t,e,n)},p(t,n){2048&n&&z(e,"percentage",t[11])},d(t){t&&N(e)}}}function Ue(t){let e,n,o,c;return{c(){e=W("kin-button"),n=E(t[9]),z(e,"class","sve_toaster__btn")},m(i,l){C(i,e,l),$(e,n),o||(c=H(e,"click",t[15]),o=!0)},p(t,e){512&e&&I(n,t[9])},d(t){t&&N(e),o=!1,c()}}}function He(t){let e,n,o,c,i,l,s,a,r,d,m,p,f,h,g,b,w,v,_=t[1]&&Te(t),y=t[4]&&!t[1]&&Le(t),k=t[6]&&Me(t),A=t[7]&&$e(t),T=(t[11]||0===t[11])&&We(t);const D=t[23].default,E=S(D,t,t[22],null);let U=t[9]&&Ue(t);return{c(){e=W("div"),n=W("div"),o=W("h1"),o.innerHTML='<span class="logo -white -width-70"></span>',c=O(),i=W("div"),l=W("button"),s=O(),a=W("div"),_&&_.c(),r=O(),y&&y.c(),d=O(),k&&k.c(),m=O(),A&&A.c(),p=O(),T&&T.c(),f=O(),E&&E.c(),h=O(),U&&U.c(),j(o,"class","nui_logo"),j(l,"class","nui_controls__item -close nui_caption_client"),j(l,"title",u("global.closeModalWindow")),j(i,"class","nui_controls"),j(n,"class","nui_titlebar -toaster nui_caption"),j(a,"class",g="nui_main -toaster\n\t\t"+(t[2]?"color-"+t[2]+" -bg":"")+"\n\t\t"+(t[1]?t[1]+"-toaster-icon":"")+"\n\t"),j(e,"class","sve_toaster"),B(e,"width",t[0]+"px")},m(u,g){C(u,e,g),$(e,n),$(n,o),$(n,c),$(n,i),$(i,l),$(e,s),$(e,a),_&&_.m(a,null),$(a,r),y&&y.m(a,null),$(a,d),k&&k.m(a,null),$(a,m),A&&A.m(a,null),$(a,p),T&&T.m(a,null),$(a,f),E&&E.m(a,null),$(a,h),U&&U.m(a,null),b=!0,w||(v=[H(l,"click",t[13]),M(t[16].call(null,n)),M(t[17].call(null,a)),H(e,"click",t[12])],w=!0)},p(t,[n]){t[1]?_?_.p(t,n):(_=Te(t),_.c(),_.m(a,r)):_&&(_.d(1),_=null),t[4]&&!t[1]?y?y.p(t,n):(y=Le(t),y.c(),y.m(a,d)):y&&(y.d(1),y=null),t[6]?k?k.p(t,n):(k=Me(t),k.c(),k.m(a,m)):k&&(k.d(1),k=null),t[7]?A?A.p(t,n):(A=$e(t),A.c(),A.m(a,p)):A&&(A.d(1),A=null),t[11]||0===t[11]?T?T.p(t,n):(T=We(t),T.c(),T.m(a,f)):T&&(T.d(1),T=null),E&&E.p&&4194304&n&&L(E,D,t,t[22],n,null,null),t[9]?U?U.p(t,n):(U=Ue(t),U.c(),U.m(a,null)):U&&(U.d(1),U=null),(!b||6&n&&g!==(g="nui_main -toaster\n\t\t"+(t[2]?"color-"+t[2]+" -bg":"")+"\n\t\t"+(t[1]?t[1]+"-toaster-icon":"")+"\n\t"))&&j(a,"class",g),(!b||1&n)&&B(e,"width",t[0]+"px")},i(t){b||(at(E,t),b=!0)},o(t){rt(E,t),b=!1},d(t){t&&N(e),_&&_.d(),y&&y.d(),k&&k.d(),A&&A.d(),T&&T.d(),E&&E.d(t),U&&U.d(),w=!1,x(v)}}}function je(t,e,i){let l,{$$slots:s={},$$scope:a}=e,{windowWidth:r=360}=e,{windowHeight:d=360}=e,{theme:u}=e,{skin:m}=e,{severity:p}=e,{icon:f}=e,{iconSize:h}=e,{title:g}=e,{text:b}=e,{progress:w}=e,{textActionLabel:v}=e,{buttonLabel:_}=e,{burgerToasterTracker:y}=e,{handleClose:x}=e,{allowHtml:k}=e;const A=q();let S,T,L;var M;function $(){i(18,d=T.scrollHeight+S.scrollHeight),o.resize(r,d)}return M=()=>{$(),L=new MutationObserver($.bind(this)),L.observe(T,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),y?.toasterView&&c.toaster.view()},F().$$.after_update.push(M),Q((()=>{L&&L.disconnect()})),t.$$set=t=>{"windowWidth"in t&&i(0,r=t.windowWidth),"windowHeight"in t&&i(18,d=t.windowHeight),"theme"in t&&i(1,u=t.theme),"skin"in t&&i(2,m=t.skin),"severity"in t&&i(3,p=t.severity),"icon"in t&&i(4,f=t.icon),"iconSize"in t&&i(5,h=t.iconSize),"title"in t&&i(6,g=t.title),"text"in t&&i(7,b=t.text),"progress"in t&&i(19,w=t.progress),"textActionLabel"in t&&i(8,v=t.textActionLabel),"buttonLabel"in t&&i(9,_=t.buttonLabel),"burgerToasterTracker"in t&&i(20,y=t.burgerToasterTracker),"handleClose"in t&&i(21,x=t.handleClose),"allowHtml"in t&&i(10,k=t.allowHtml),"$$scope"in t&&i(22,a=t.$$scope)},t.$$.update=()=>{524288&t.$$.dirty&&i(11,l=Number.isNaN(parseInt(w))?w:parseInt(w))},[r,u,m,p,f,h,g,b,v,_,k,l,function(){n.event("Toaster","Click","Area"),A("areaAction")},function(){n.event("Toaster","Close"),y?.toasterClose&&c.toaster.close(),x?A("close"):o.close()},function(){A("doTextAction")},function(){A("doAction")},function(t){S=t},function(t){T=t},d,w,y,x,a,s]}class ze extends gt{constructor(t){super(),ht(this,t,je,He,A,{windowWidth:0,windowHeight:18,theme:1,skin:2,severity:3,icon:4,iconSize:5,title:6,text:7,progress:19,textActionLabel:8,buttonLabel:9,burgerToasterTracker:20,handleClose:21,allowHtml:10})}}function Ie(t){let e,n,o=t[0]&&function(t){let e,n;return e=new Se({props:{config:t[0],windowClose:t[1]}}),{c(){ut(e.$$.fragment)},m(t,o){mt(e,t,o),n=!0},p:v,i(t){n||(at(e.$$.fragment,t),n=!0)},o(t){rt(e.$$.fragment,t),n=!1},d(t){pt(e,t)}}}(t);return{c(){o&&o.c(),e=U()},m(t,c){o&&o.m(t,c),C(t,e,c),n=!0},p(t,[e]){t[0]&&o.p(t,e)},i(t){n||(at(o),n=!0)},o(t){rt(o),n=!1},d(t){o&&o.d(t),t&&N(e)}}}const Be=/[/|\\]/g;function Re(t,e,n){const c=i.createLogger("webcam.detection"),l="block",s="allow",a="ignore",r=function(){const t=o.getUrlParams(),e=t.appname,n=t.filename;return{appName:e?e.split(Be).pop():"---",appPath:e,fileName:n?n.split(Be).pop():"---",filePath:n}}(),d=function(){c.info("getConfig");const t={icon:{name:"icon-l-webcam",color:"critical"},title:u("webcamshield.detected.title"),text:u("webcamshield.detected",r.appName,r.fileName),actionText:u("webcamshield.whatToDo"),actions:[],details:f(),status:null,closeResponse:{returnCode:a},color:"red"};return t.actions.push({label:u("global.blockApp"),nextConfig:m()}),t.actions.push({label:u("global.allowApp"),nextConfig:p()}),t}();function m(){return c.info("getting the blocked config"),{icon:{name:"icon-l-webcam",color:"ok"},title:u("webcamshield.appBlocked.title"),text:u("webcamshield.appBlocked.desc",r.appName,r.fileName),actionText:u("webcamshield.weAlwaysBlock"),actions:[{label:u("global.gotIt")}],details:f(),status:{text:u("webcamshield.blocked")},closeResponse:{returnCode:l},color:"green"}}function p(){return c.info("getting the allowed config"),{icon:{name:"icon-l-webcam",color:"ok"},title:u("webcamshield.appAllowed.title"),text:u("webcamshield.appAllowed.desc",r.appName,r.fileName),actionText:u("webcamshield.weAlwaysAllow"),actions:[{label:u("global.gotIt")}],details:f(),status:{text:u("webcamshield.allowed")},closeResponse:{returnCode:s},color:"green"}}function f(){return c.info("getting details"),[{title:u("global.appName"),value:r.appPath,testValue:"threatName"},{title:u("global.filePath"),value:r.filePath,testValue:"file"},{title:u("global.detectedBy"),value:u("webcamshield"),testValue:"detectedBy_WebcamShield"}]}return o.init({width:600,height:420}),[d,function(t){o.broadcastEvent("settings.blockedAndAllowedApps.changed",{updateDelay:1e3}).finally((()=>{o.close(t)}))},!0]}class Ve extends gt{constructor(t){super(),ht(this,t,Re,Ie,A,{handlesWindowInit:2})}get handlesWindowInit(){return this.$$.ctx[2]}}function Ke(t){let e,n,o,c;return{c(){e=W("div"),n=W("img"),j(n,"class","kin-img"),j(n,"height","48"),n.src!==(o="data:image/png;base64,"+t[0].icon)&&j(n,"src",o),j(n,"alt",c=t[0].name),j(e,"class","g-margin-bottom--20")},m(t,o){C(t,e,o),$(e,n)},p(t,e){1&e&&n.src!==(o="data:image/png;base64,"+t[0].icon)&&j(n,"src",o),1&e&&c!==(c=t[0].name)&&j(n,"alt",c)},d(t){t&&N(e)}}}function Ge(t){let e,n,o,c,i,l,s,a,r,d,m=u(t[2]?"webcamshield.accessToaster.appAllowed":"webcamshield.accessToaster.appBlocked",t[0].name)+"",p=t[0].icon&&Ke(t);return{c(){p&&p.c(),e=O(),n=W("p"),o=O(),c=W("div"),i=W("div"),l=W("input"),s=O(),a=W("label"),a.textContent=`${u("webcamshield.dontShowAccessToaster")}`,j(n,"class","toaster__text p -small"),j(l,"type","checkbox"),j(l,"id","dontShowAgain"),j(l,"class","checkbox -small"),j(a,"for","dontShowAgain"),j(a,"class","checkbox__label text -secondary -small wch_checkbox__label svelte-19pta84"),j(i,"class","checkbox__row"),j(c,"class","toaster__footer")},m(u,f){p&&p.m(u,f),C(u,e,f),C(u,n,f),n.innerHTML=m,C(u,o,f),C(u,c,f),$(c,i),$(i,l),$(i,s),$(i,a),r||(d=H(l,"click",t[3]),r=!0)},p(t,o){t[0].icon?p?p.p(t,o):(p=Ke(t),p.c(),p.m(e.parentNode,e)):p&&(p.d(1),p=null),1&o&&m!==(m=u(t[2]?"webcamshield.accessToaster.appAllowed":"webcamshield.accessToaster.appBlocked",t[0].name)+"")&&(n.innerHTML=m)},d(t){p&&p.d(t),t&&N(e),t&&N(n),t&&N(o),t&&N(c),r=!1,d()}}}function Fe(t){let e,n;return e=new ze({props:{burgerToasterTracker:t[1],$$slots:{default:[Ge]},$$scope:{ctx:t}}}),{c(){ut(e.$$.fragment)},m(t,o){mt(e,t,o),n=!0},p(t,[n]){const o={};257&n&&(o.$$scope={dirty:n,ctx:t}),e.$set(o)},i(t){n||(at(e.$$.fragment,t),n=!0)},o(t){rt(e.$$.fragment,t),n=!1},d(t){pt(e,t)}}}function Qe(e,n,i){const s=o.getUrlParams(),a=s.appName,r=1==s.allowed;let d=!1,u={path:a};return l.injectAppData(u,{iconSize:"large"}).then((t=>{i(0,u=t),i(0,u.name=u.name||a,u),o.init()})),window.addEventListener("beforeunload",(()=>{d&&t("app.windowManager.SetToasterVisibility",{id:h,visible:!1})}),!1),[u,{toasterView:!0,toasterClose:!0},r,function(){d=!d,c.toaster.click({label:"checkbox_dontShowAgain_"+d})},!0]}class qe extends gt{constructor(t){var e;super(),document.getElementById("svelte-19pta84-style")||((e=W("style")).id="svelte-19pta84-style",e.textContent=".wch_checkbox__label.svelte-19pta84{margin-top:0.2rem}",$(document.head,e)),ht(this,t,Qe,Fe,A,{handlesWindowInit:4})}get handlesWindowInit(){return this.$$.ctx[4]}}const Ze={title:g.title,desc:g.desc,items:b},Pe=d.extend({template:{v:3,t:[{t:7,e:"SettingsContainer",a:{component:[{t:2,r:"component"}],ipmBuyElm:[{t:2,r:"ipmBuyElm"}],title:[{t:3,x:{r:["nls","STRINGS.title"],s:"_0(_1)"}}],desc:[{t:3,x:{r:["nls","STRINGS.desc"],s:"_0(_1)"}}],stopOptions:[{t:2,r:"stopOptions"}]},f:[{t:7,e:"SettingsRadio",a:{property:[{t:2,r:"properties.mode"}]}}," ",{t:4,f:[{t:7,e:"SettingsCheckbox",a:{property:[{t:2,r:"properties.dontShowAccessToaster"}]}}],n:50,r:"properties.dontShowAccessToaster"}," ",{t:7,e:"div",a:{id:[{t:2,r:"properties.allowedAndBlockedAppsLink.id"},"__container"]},f:[{t:7,e:"SettingsWhiteAndBlackList"}]}]}]},data:()=>({STRINGS:g,component:f,ipmBuyElm:343,stopOptions:{},properties:b}),oninit(){b.dontShowAccessToaster&&this.observe("properties.mode.value",(t=>{const e=1===t;this.set("properties.dontShowAccessToaster.disabled",e)}))}});export default w;export{qe as accessToaster,Ve as detection,Pe as settings,Ze as settingsSearchStrings};const Je={name:"WebCam",version:"1.2.443",created:"2021-09-06T10:51:18.337Z"};export{Je as metadata};