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":"VirusChest","version":"1.2.582","created":"2021-09-06T10:49:19.405Z"} import e from"./ractive.js";import{eventer as t,napiTracker as s,serviceRequest as i}from"./napi.js";import{moment as l,nls as r}from"./i18n.js";import{logger as o}from"./libs.js";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,h=/^0o[0-7]+$/i,u=parseInt,m="object"==typeof n&&n&&n.Object===Object&&n,f="object"==typeof self&&self&&self.Object===Object&&self,_=m||f||Function("return this")(),p=Object.prototype.toString,v=Math.max,g=Math.min,x=function(){return _.Date.now()};function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function k(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==p.call(e)}(e))return NaN;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var s=c.test(e);return s||h.test(e)?u(e.slice(2),s?2:8):d.test(e)?NaN:+e}var I=function(e,t,s){var i,l,r,o,n,a,d=0,c=!1,h=!1,u=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var s=i,r=l;return i=l=void 0,d=t,o=e.apply(r,s)}function f(e){return d=e,n=setTimeout(p,t),c?m(e):o}function _(e){var s=e-a;return void 0===a||s>=t||s<0||h&&e-d>=r}function p(){var e=x();if(_(e))return I(e);n=setTimeout(p,function(e){var s=t-(e-a);return h?g(s,r-(e-d)):s}(e))}function I(e){return n=void 0,u&&i?m(e):(i=l=void 0,o)}function S(){var e=x(),s=_(e);if(i=arguments,l=this,a=e,s){if(void 0===n)return f(a);if(h)return n=setTimeout(p,t),m(a)}return void 0===n&&(n=setTimeout(p,t)),o}return t=k(t)||0,b(s)&&(c=!!s.leading,r=(h="maxWait"in s)?v(k(s.maxWait)||0,t):r,u="trailing"in s?!!s.trailing:u),S.cancel=function(){void 0!==n&&clearTimeout(n),d=0,i=a=l=n=void 0},S.flush=function(){return void 0===n?o:I(x())},S};const S={v:3,t:[{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal",autoClose:0},f:[{t:7,e:"kin-icon",a:{name:"circle-critical",class:"g-margin-bottom--30",size:"54"}}," ",{t:4,f:[{t:7,e:"h2",a:{class:"h2 -margins -center"},f:[{t:2,x:{r:["nls","selectedItem.multiple","selectedIds.length","selectedItem.name"],s:'_0("viruschest.confirmDelete.title",_1?_2:_3)'}}]}],n:50,x:{r:["selectedItem.multiple","selectedItem.name"],s:"_0||_1"}},{t:4,n:51,f:[{t:7,e:"h2",a:{class:"h2 -margins -center"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.confirmDelete.title.noName")'}}]}],x:{r:["selectedItem.multiple","selectedItem.name"],s:"_0||_1"}}," ",{t:7,e:"p",a:{class:"p"},f:[{t:2,x:{r:["nls","clickedItem","clickedItem.id","selectedIds.length"],s:'_0("viruschest.confirmDelete.text",_1&&_2?1:_3)'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"kin-button",v:{click:"delete"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.confirmDelete.btn")'}}]}," ",{t:7,e:"kin-button",a:{type:"secondary"},v:{click:"Modal.close"},f:[{t:2,x:{r:["nls"],s:'_0("global.cancel")'}}]}]}]}],n:50,x:{r:["modal"],s:'_0==="deleteConfirmModal"'}},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal",autoClose:0,title:[{t:2,x:{r:["nls"],s:'_0("viruschest.sent.title")'}}]},f:[{t:7,e:"p",a:{class:"p"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.sent.text")'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"kin-button",a:{type:"secondary"},v:{click:"Modal.close"},f:[{t:2,x:{r:["nls"],s:'_0("global.close")'}}]}]}]}],n:50,x:{r:["modal"],s:'_0==="analysisConfirmationModal"'}},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal",autoClose:0,title:[{t:2,x:{r:["nls","filesSentToRestoreCount"],s:'_0("viruschest.filesRestored.title",_1)'}}]},f:[{t:7,e:"p",a:{class:"p"},f:[{t:2,x:{r:["nls","filesSentToRestoreCount"],s:'_0("viruschest.filesRestored.text",_1)'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"kin-button",a:{type:"secondary"},v:{click:"Modal.close"},f:[{t:2,x:{r:["nls"],s:'_0("global.close")'}}]}]}]}],n:50,x:{r:["modal"],s:'_0==="filesRestoredModal"'}},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal",title:[{t:3,x:{r:["nls","currentRestoringThreat.name"],s:'_0("viruschest.restore.modalTitle",_1)'}}]},f:[{t:7,e:"p",a:{class:"p"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.restore.modalCaption")'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"kin-button",a:{type:"secondary"},v:{click:{n:"Restore.rewrite",d:[{t:2,r:"currentRestoringThreat.itemUID"},",",{t:2,r:"currentRestoringThreat.customPath"},",",{t:2,r:"currentRestoringThreat.ignore"}]}},f:[{t:3,x:{r:["nls"],s:'_0("global.rewrite")'}}]}," ",{t:4,f:[{t:7,e:"kin-button",a:{type:"secondary"},v:{click:"Restore.skip"},f:[{t:3,x:{r:["nls"],s:'_0("global.skip")'}}]}],n:50,x:{r:["existingThreatsToRestore.length"],s:"_0>0"}}," ",{t:7,e:"kin-button",a:{type:"secondary"},v:{click:"Modal.close"},f:[{t:3,x:{r:["nls"],s:'_0("global.cancel")'}}]}]}]}],n:50,r:"currentRestoringThreat"},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal modal_error",titleCssCls:"color-danger -text",title:[{t:3,x:{r:["nls"],s:'_0("viruschest.errorRestoreModal.title")'}}]},f:[{t:7,e:"p",a:{class:"p"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.errorRestoreModal.caption")'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"kin-button",a:{type:"secondary"},v:{click:"Modal.close"},f:[{t:3,x:{r:["nls"],s:'_0("global.close")'}}]}]}]}],n:50,x:{r:["modal"],s:'_0==="errorRestoreModal"'}},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal modal_error",title:[{t:3,x:{r:["nls"],s:'_0("viruschest.restore.atLeastOneTitle")'}}]},f:[{t:7,e:"p",a:{class:"p"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.filesRestored.text",2)'}}]}," ",{t:7,e:"div",a:{class:"modal__actions"},f:[{t:7,e:"kin-button",a:{type:"secondary"},v:{click:"Modal.close"},f:[{t:3,x:{r:["nls"],s:'_0("global.close")'}}]}]}]}],n:50,x:{r:["modal"],s:'_0==="someItemsRestoredModal"'}},{t:4,f:[{t:7,e:"Modal",a:{cssCls:"nui_modal"},f:[{t:7,e:"Module",a:{name:"Feedback",view:"analysis",params:[{t:2,r:"sendForAnalysisData"}]}}]}],n:50,x:{r:["modal"],s:'_0==="sendForAnalysisModal"'}}]};function y(){}const T={title:"viruschest",desc:"viruschest.settings.desc",maxSize:"viruschest.settings.maxSize.label",mb:"global.sizeUnits.megabyte.standalone"},C={maxSize:{label:r(T.maxSize),path:"avcfg://settings/Chest/MaxSize",minValue:0,required:!0,track:{subject:"Max size"},search:T.maxSize}},A={title:T.title,desc:T.desc,items:C},R=e.extend({template:{v:3,t:[{t:7,e:"SettingsContainer",a:{noInstall:"true",noEnable:"true",title:[{t:3,x:{r:["nls","STRINGS.title"],s:"_0(_1)"}}],desc:[{t:3,x:{r:["nls","STRINGS.desc"],s:"_0(_1)"}}]},f:[{t:7,e:"SettingsTextInput",a:{property:[{t:2,r:"properties.maxSize"}],labelSmall:0},f:[],p:{labelRight:[{t:7,e:"span",a:{class:"g-margin-left--5"},f:[{t:3,x:{r:["nls","STRINGS.mb"],s:"_0(_1)"}}]}]}}]}]},data:()=>({STRINGS:T,properties:C})}),w=[{path:"avcfg://settings/Communication/MaximumSendSize",label:"Maximum size of file to be sent",type:"number",minValue:0,unit:"KB"}],M=function(r){return e.extend({template:r,css:".vch_table__header,\n.vch_table__row {\n grid-template-columns: 3.5rem 22% 19% auto 24% 11%;\n}\n.vch_title {\n padding-bottom: 20px;\n text-align: center;\n}\n.vch_icon {\n font-size: 160px;\n margin-bottom: 30px;\n}\n.modal__title {\n word-wrap: break-word;\n}\n",partials:{modals:S},data:function(){return{threats:[],selectedIds:[],clickedItem:null,selectedItem:null,modal:null,filesSentToRestoreCount:0,scrolledOut:!1,existingThreatsToRestore:[],currentRestoringThreat:{},someItemsRestored:!1,hasAllSelected:!1,hasSomeSelected:!1,loading:!0}},oninit(){this.listeners=[],this._updateThreatsDebounced=I(this._updateThreats.bind(this),1e3),this.listeners.push(t.on("app.virusChest.onStatusChanged",(()=>{this._getStatusAndUpdate()}))),this._deselectAll=function(){this._hideButtonDrop();this.get("threats").forEach((e=>{e.selected=!1})),this.update("threats")},this._deselectAllBind=this._deselectAll.bind(this),window.addEventListener("kin-deselectAll",this._deselectAllBind),this.log=o.createLogger("viruschest"),this._getStatusAndUpdate(),this.observe("selectedIds",(e=>{this.fire("selectedThreatsCount",e.length)})),this.observe("threats",(e=>{const t=((e=e||[]).filter((e=>e.selected))||[]).map((e=>e.itemUID));this.fire("threatsCount",e.length),setTimeout((()=>{this.set({selectedIds:t,hasSomeSelected:t.length>0&&t.length<=e.length,hasAllSelected:t.length===e.length&&e.length>0})}))})),this.on("toggle",(e=>{const t=this.get(e.keypath);t.selected=!t.selected,this.set(e.keypath,t)})),this.on("toggleAll",(()=>{const e=this.get("threats"),t=0===this.get("selectedIds").length;e.forEach((e=>{e.selected=t})),this.update("threats")})),this.on("restoreSingle",(e=>{this._setClickedId(e),this.set("filesSentToRestoreCount",1),this._restoreThreats(),this._hideButtonDrop(),s.event("Virus Chest","restore")})),this.on("restore",(()=>{this.set("filesSentToRestoreCount",this.get("selectedIds").length),this._restoreThreats(),this._hideButtonDrop(),s.event("Virus Chest","restore")})),this.on("restoreAndIgnoreSingle",(e=>{this._setClickedId(e),this.set("filesSentToRestoreCount",1),this._restoreThreats(void 0,!0),this._hideButtonDrop(),s.event("Virus Chest","restoreIgnore")})),this.on("restoreAndIgnore",(()=>{this.set("filesSentToRestoreCount",this.get("selectedIds").length),this._restoreThreats(void 0,!0),this._hideButtonDrop(),s.event("Virus Chest","restoreIgnore")})),this.on("extractSingle",(e=>{this._setClickedId(e),i("app.utils.SelectFolder").then((e=>{const t=e.replace(/"/g,"");this.set("filesSentToRestoreCount",1),this._restoreThreats(t),this._hideButtonDrop(),s.event("Virus Chest","extract")})).catch(y)})),this.on("extract",(()=>{i("app.utils.SelectFolder").then((e=>{const t=e.replace(/"/g,"");this.set("filesSentToRestoreCount",this.get("selectedIds").length),this._restoreThreats(t),this._hideButtonDrop(),s.event("Virus Chest","extract")})).catch(y)})),this.on("requestDeleteConfirm",(()=>{this._setSelectedItem(!1),this.set("modal","deleteConfirmModal")})),this.on("requestDeleteConfirmSingle",(e=>{this._setSelectedItem(!0,e.context.name),this._setClickedId(e),this.set("modal","deleteConfirmModal")})),this.on("delete",(()=>{s.event("Virus Chest","delete");const e=this.get("clickedItem");let t=this.get("selectedIds");e&&e.id&&(t=[e.id],this._removeClickedIdFromSelectedIds()),i("app.virusChest.Delete",t).then(this._getStatusAndUpdate.bind(this)).then(this._hideButtonDrop.bind(this)),this.fire("Modal.close")})),this.on("Modal.close",(()=>{this._getStatusAndUpdate(),this.set({modal:null,existingThreatsToRestore:[],currentRestoringThreat:{}}),this.get("clickedItem")&&this.set("clickedItem",null),this.get("someItemsRestored")&&this.set({modal:"someItemsRestoredModal",someItemsRestored:!1})})),this.on("sendToAnalyseSingle",(e=>(this._setClickedId(e),s.event("Virus Chest","send to analysis"),this._submitAll()))),this.on("sendToAnalyse",(()=>(s.event("Virus Chest","send to analysis"),this._submitAll()))),this.on("addFile",(()=>{i("app.utils.SelectFile",{fileName:"",filter:"*.*|*.*|*.exe|*.exe||",multiselection:!0}).then((e=>{if("ok"===e.dialogReturnCode){const t=[];s.event("Virus Chest","add file"),e.pathNameList?e.pathNameList.forEach((e=>{t.push(i("app.virusChest.Add",e))})):t.push(i("app.virusChest.Add",e.pathName)),Promise.all(t).then(this._getStatusAndUpdate.bind(this)).catch(this._getStatusAndUpdate.bind(this))}})).catch(y)})),this.on("Restore.rewrite",((e,t,s,i=!1)=>{const l=this.get("threats").filter((e=>e.itemUID===t))[0];this._restoreThreat(l,s,i).then(this._getStatusAndUpdate.bind(this)).then(this._displayNextExistingThreatModal.bind(this)).catch((e=>{this.log.error("An error while rewriting restored threat, error: ",JSON.stringify(e)),this.set({currentRestoringThreat:{},modal:"errorRestoreModal"})}))})),this.on("Restore.skip",(()=>{this.get("threats").find((e=>e.itemUID===this.get("currentRestoringThreat").itemUID)).selected=!1,this.update("threats"),this._displayNextExistingThreatModal()})),this.on("*.AnalysisClose",(()=>this.fire("Modal.close"))),this.on("*.goBack",(()=>{location.hash="#VirusChest"}))},onteardown(){this.objectIsDead=!0,window.removeEventListener("kin-deselectAll",this._deselectAllBind),this._deselectAllBind=void 0,this.listeners.forEach((e=>{e()})),this.listeners.length=0},_setClickedId(e){e&&e.context&&e.context.itemUID&&e.keypath?this.set("clickedItem",{id:e.context.itemUID,path:e.keypath}):console.error("Missing itemUID")},_setSelectedItem(e,t){if(e)this.set("selectedItem",{name:t,multiple:!1});else{const e=this.get("threats").filter((e=>e.selected))||[];t=e.length?e[0]?.name:null,this.set("selectedItem",{name:t,multiple:e.length>1})}},_removeClickedId(){this.set("clickedItem",null)},_removeFromSelectedIds(){const e=this.get("clickedItem"),t=this.get("selectedIds");if(e&&t.includes(e.id)){const{id:s,path:i}=e,l=this.get(i);l.selected=!1,t.splice(t.indexOf(s),1),this.set("selectedIds",t),this.set(i,l)}},_removeClickedIdFromSelectedIds(){this._removeFromSelectedIds(),this._removeClickedId()},_hideButtonDrop(){const e=this.findAllComponents("ButtonDrop");for(const t of e)t.dropHide()},_getStatusAndUpdate(){return i("app.virusChest.GetStatus").then(this._updateThreatsDebounced)},_updateThreats(e){if(this.objectIsDead)return;e.Items.forEach((e=>{const t=l(1e3*e.transferTime);e.selected=this.get("selectedIds").includes(e.itemUID),e.time=t.format("lll")})),e.Items.sort(((e,t)=>t.transferTime-e.transferTime));const t=this.get("threats");t.splice(0,t.length),t.push(...e.Items),this.update("threats"),this.set({selectedIds:[],loading:!1})},_submitAll(){s.event("Virus Chest","send to analysis"),this._submitCefAnalysis()},_submitCefAnalysis(){let e=this.get("threats").filter((e=>e.selected));const t=this.get("clickedItem");t&&t.id&&t.path&&(e=[this.get(t.path)]),this.set({modal:"sendForAnalysisModal",sendForAnalysisData:{threats:e,isModal:!0,analysisType:0}}),this._hideButtonDrop(),this._removeClickedId()},_restoreThreats(e,t=!1){let s=this.get("threats").filter((e=>e.selected));const l=this.get("clickedItem");if(l&&l.path){s=[this.get(l.path)]}const r=s.map((s=>(e&&0==e.length&&(e=void 0),i("app.utils.FileExists",(e||s.dirPath)+"\\"+s.name).then((i=>this._processExistingThreat({threat:s,threatExists:i,customPath:e,ignore:t}))))));Promise.all(r).then((()=>{e?this._removeClickedId():this._removeClickedIdFromSelectedIds(),this._getStatusAndUpdate(),this._displayNextExistingThreatModal()})).catch((e=>{this.log.error("An error occured while threat restoring, error:",JSON.stringify(e)),this.set({modal:"errorRestoreModal"})}))},_processExistingThreat(e){return e.threatExists?this.push("existingThreatsToRestore",Object.assign({customPath:e.customPath,ignore:e.ignore},e.threat)):this._restoreThreat(e.threat,e.customPath,e.ignore)},_restoreThreat(e,t,s=!1){let l;return l=t?i("app.virusChest.Extract",{dstFolderPath:t,itemUIDList:[e.itemUID]}).then((()=>{this.set("someItemsRestored",!0)})):i("app.virusChest.Restore",[e.itemUID]).then((()=>{this.set("someItemsRestored",!0)})),s?l.then(i("app.utils.AddExclusion",{property:"avcfg://exclusions/Global/ExcludeFiles",exclusion:t?`"${t}"`:`"${e.dirPath}\\${e.name}"`})):l},_displayNextExistingThreatModal(){const e=this.get("existingThreatsToRestore").pop();this.set("currentRestoringThreat",e),void 0===e&&this.set({modal:"filesRestoredModal",someItemsRestored:!1})}})}({v:3,t:[{t:8,r:"modals"}," ",{t:7,e:"Page",a:{heading:[{t:3,x:{r:["nls"],s:'_0("viruschest")'}}],cssCls:"vch",settingsUrl:"#Settings/VirusChest",backHash:"#security"},f:[{t:7,e:"div",a:{slot:"breadcrumbs"},f:[{t:7,e:"Crumbs",a:{customBreadcrumbs:["[{title: ",{t:3,x:{r:["nls"],s:'_0("security")'}},", url: '#security', section: true}, {title:'",{t:3,x:{r:["nls"],s:'_0("viruschest")'}},"'}]"]}}]}," ",{t:7,e:"div",a:{slot:"controls"}}," ",{t:7,e:"div",a:{slot:"page-content"},f:[{t:7,e:"View",a:{disabled:"false",upsell:"false",loading:[{t:2,r:"loading"}]},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("viruschest.desc")'}}]}]}," ",{t:7,e:"div",a:{slot:"cta"},f:[{t:7,e:"kin-button",v:{click:"addFile"},a:{"data-test":"vch_addFile"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.action.addFile.label")'}}]}]}," ",{t:7,e:"div",a:{slot:"view-content"},f:[{t:7,e:"kin-table",a:{datalength:[{t:2,r:"threats.length"}],selecteditems:[{t:2,r:"selectedIds.length"}]},f:[{t:7,e:"div",a:{slot:"table-header",role:"row",class:"vch_table__header"},f:[{t:7,e:"input",a:{type:"checkbox",class:["checkbox ",{t:4,f:["-checked"],n:50,r:"hasAllSelected"}],checked:[{t:4,f:["true"],n:50,x:{r:["hasSomeSelected","threats.length"],s:"_0&&_1"}},{t:4,n:51,f:["false"],x:{r:["hasSomeSelected","threats.length"],s:"_0&&_1"}}],title:[{t:2,x:{r:["nls"],s:'_0("global.selectAllItems")'}}]},v:{click:"toggleAll"},m:[{t:4,f:["disabled"],n:50,x:{r:["threats.length"],s:"_0===0"}},{t:4,f:['aria-checked="mixed"'],n:50,x:{r:["hasSomeSelected","hasAllSelected"],s:"_0&&!_1"}}]}," ",{t:7,e:"div",a:{role:"columnheader"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.tableHeader.threadName")'}}]}," ",{t:7,e:"div",a:{role:"columnheader"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.tableHeader.infectedFile")'}}]}," ",{t:7,e:"div",a:{role:"columnheader"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.tableHeader.originalLocation")'}}]}," ",{t:7,e:"div",a:{role:"columnheader"},f:[{t:3,x:{r:["nls"],s:'_0("viruschest.tableHeader.dateFound")'}}]}," ",{t:7,e:"div"}]}," ",{t:7,e:"div",a:{slot:"table-body"},f:[{t:4,f:[{t:7,e:"div",a:{role:"row",class:["kin_table__row vch_table__row ",{t:2,x:{r:["selected"],s:'_0?"-selected":""'}}],"data-test":["table-row-",{t:2,r:"@index"}],"aria-rowindex":[{t:2,r:"@index"}]},f:[{t:7,e:"input",a:{type:"checkbox",checked:[{t:2,r:"selected"}],class:"checkbox",title:[{t:2,x:{r:["nls"],s:'_0("global.selectItem")'}}," - ",{t:2,r:"name"}]}}," ",{t:7,e:"div",a:{class:"kin_table__name",dir:"ltr"},f:[{t:7,e:"kin-tooltip",a:{ellipsis:"true"},f:[{t:7,e:"div",a:{slot:"tooltip-activator"},f:[{t:2,r:"virusDesc"}]}," ",{t:7,e:"div",a:{slot:"tooltip"},f:[{t:2,r:"virusDesc"}]}]}]}," ",{t:7,e:"div",a:{dir:"ltr"},f:[{t:7,e:"kin-tooltip",a:{ellipsis:"true","data-test":"kin_table-item-name"},f:[{t:7,e:"div",a:{slot:"tooltip-activator"},f:[{t:2,r:"name"}]}," ",{t:7,e:"div",a:{slot:"tooltip"},f:[{t:2,r:"name"}]}]}]}," ",{t:7,e:"div",a:{class:"kin_table__name",dir:"ltr"},f:[{t:7,e:"kin-tooltip",a:{ellipsis:"true"},f:[{t:7,e:"div",a:{slot:"tooltip-activator"},f:[{t:2,r:"dirPath"}]}," ",{t:7,e:"div",a:{slot:"tooltip"},f:[{t:2,r:"dirPath"}]}]}]}," ",{t:7,e:"div",f:[{t:7,e:"kin-tooltip",a:{ellipsis:"true"},f:[{t:7,e:"div",a:{slot:"tooltip-activator"},f:[{t:2,r:"time"}]}," ",{t:7,e:"div",a:{slot:"tooltip"},f:[{t:2,r:"time"}]}]}]}," ",{t:7,e:"div",a:{class:"kin_table__actions"},f:[{t:7,e:"kin-dropdown",f:[{t:7,e:"kin-button",a:{icononly:0,slot:"dropdown-activator",type:"blank",size:"tiny",class:["moreOptions-tooltip-",{t:2,r:"@index"}],title:[{t:2,x:{r:["nls"],s:'_0("global.moreOptions")'}}],"data-test":"kin_table-item-options"},f:[{t:7,e:"kin-icon",a:{name:"icon-s-controls-menu-more",size:"14"}}]}," ",{t:4,f:[{t:7,e:"kin-dropdown-item",v:{click:"restoreSingle"},a:{"data-test":"vch_restore"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.restore.label")'}}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"restoreAndIgnoreSingle"},a:{"data-test":"vch_restore_exception"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.restoreIgnore.label")'}}]}],n:50,x:{r:["restorable"],s:"_0!==false"}}," ",{t:7,e:"kin-dropdown-item",v:{click:"extractSingle"},a:{index:[{t:2,r:"@index"}],"data-test":"vch_extract"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.extract.label")'}}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"sendToAnalyseSingle"},a:{"data-test":"vch_sendToAnalyse"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.sendToAnalyse.label")'}}]}]}," ",{t:7,e:"kin-tooltip",f:[{t:7,e:"kin-button",a:{slot:"tooltip-activator","data-test":"requestDeleteConfirm",icononly:0,type:"blank",size:"tiny",title:[{t:2,x:{r:["nls"],s:'_0("global.delete")'}}]},v:{click:"requestDeleteConfirmSingle"},f:[{t:7,e:"kin-icon",a:{name:"icon-s-controls-bin",size:"14"}}]}," ",{t:7,e:"div",a:{slot:"tooltip"},f:[{t:3,x:{r:["nls"],s:'_0("global.delete")'}}]}]}]}]}],n:52,r:"threats"}]}," ",{t:7,e:"div",a:{slot:"table-empty-icon",class:"svg -empty-table"}}," ",{t:7,e:"div",a:{slot:"table-empty"},f:[{t:7,e:"p",f:[{t:3,x:{r:["nls"],s:'_0("viruschest.empty.desc.1")'}}]}," ",{t:7,e:"p",f:[{t:3,x:{r:["nls"],s:'_0("viruschest.empty.desc.2")'}}]}]}]}]}," ",{t:7,e:"div",a:{slot:"view-actions"},f:[{t:7,e:"div",a:{class:"kin_actions__left"},f:[{t:3,x:{r:["nls","selectedIds.length"],s:'_0("viruschest.threatsSelected",_1)'}}]}," ",{t:7,e:"div",f:[{t:7,e:"kin-button",v:{click:"requestDeleteConfirm"},a:{"data-test":"vch_table_mainCTA",size:"small"},f:[{t:2,x:{r:["hasAllSelected","nls"],s:'_0?_1("global.deleteAll"):_1("global.deleteSelected")'}}]}," ",{t:7,e:"kin-dropdown",f:[{t:7,e:"div",a:{slot:"dropdown-activator"},f:[{t:7,e:"kin-button",a:{type:"secondary",size:"small",icononly:"true","data-test":"vch_table_moreOptions",title:[{t:2,x:{r:["nls"],s:'_0("global.moreOptions")'}}]},f:[{t:7,e:"kin-icon",a:{name:"icon-s-controls-menu-more",size:"16"}}]}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"restore"},a:{"kin-disabled":[{t:2,x:{r:["hasSomeSelected"],s:"!_0"}}],"data-test":"vch_restore"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.restore.label")'}}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"restoreAndIgnore"},a:{"kin-disabled":[{t:2,x:{r:["hasSomeSelected"],s:"!_0"}}],"data-test":"vch_restore_exception"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.restoreIgnore.label")'}}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"extract"},a:{"kin-disabled":[{t:2,x:{r:["hasSomeSelected"],s:"!_0"}}],"data-test":"vch_extract"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.extract.label")'}}]}," ",{t:7,e:"kin-dropdown-item",v:{click:"sendToAnalyse"},a:{"kin-disabled":[{t:2,x:{r:["hasSomeSelected"],s:"!_0"}}],"data-test":"vch_sendToAnalyse"},f:[{t:2,x:{r:["nls"],s:'_0("viruschest.action.sendToAnalyse.label")'}}]}]}]}," ",{t:7,e:"div",a:{class:"kin_actions__right"},f:[{t:3,x:{r:["nls"],s:'_0("global.escToDeselect")'}}]}]}]}]}]}]});export default M;export{R as settings,w as settingsGeek,A as settingsSearchStrings};const D={name:"VirusChest",version:"1.2.582",created:"2021-09-06T10:49:19.405Z"};export{D as metadata};