"use strict";(self.webpackChunk_1js_files_in_taskbar=self.webpackChunk_1js_files_in_taskbar||[]).push([[8114],{26153:(e,l,a)=>{a.d(l,{Qg:()=>r,_L:()=>n,hw:()=>d,kE:()=>s,ni:()=>o,ow:()=>t});const i={entityType:"",isRequired:!0,type:"search",additionalProps:{main:!0}},r={id:"filterFSC",params:[i,{entityType:"People",type:"entity",isRequired:!0},{entityType:"FileType",isRequired:!0,type:"entity"},{entityType:"FileActivity",isRequired:!0,type:"entity"},{entityType:"LocalFolder",isRequired:!0,type:"entity"}]},t=({id:"filterFSC",params:[i,{entityType:"Department",isRequired:!0,type:"entity"}]}.params.findIndex((e=>"Department"===e.entityType)),r.params.findIndex((e=>"search"===e.type))),d=r.params.findIndex((e=>"People"===e.entityType)),n=r.params.findIndex((e=>"FileType"===e.entityType)),o=r.params.findIndex((e=>"FileActivity"===e.entityType)),s=r.params.findIndex((e=>"LocalFolder"===e.entityType))},18144:(e,l,a)=>{a.d(l,{Hh:()=>o,Jx:()=>d,aw:()=>t,bL:()=>n,qp:()=>r,sl:()=>i});const i="fileType",r="people",t="You",d="Downloads",n="everything",o="fileActivity"},70145:(e,l,a)=>{a.d(l,{A:()=>r});var i=a(26153);const r=e=>{let{value:l,commanding:a,index:r,placeholder:t,ariaLabel:d}=e;const{definition:n,values:o}=(null==a?void 0:a.currentCommand)||{},s=(null==n?void 0:n.id)===i.Qg.id;return{commanding:{...a,currentCommand:{definition:s?n:i.Qg,values:i.Qg.params.map(((e,a)=>a===r?l:s?o[a]:void 0)),meta:{placeholder:t,ariaLabel:d}}}}}},19117:(e,l,a)=>{a.d(l,{A:()=>o});a(4589),a(94760);var i=a(26153),r=a(18144),t=a(38458),d=a(6062);const n={basicPlaceholderText:(0,d.Ex)("search-dl.searchux.strings.filter.basic.placeholder"),ariaLabelBasic:(0,d.Ex)("search-dl.searchux.strings.filter.basic.ariaLabel"),defaultPlaceholderText:(0,d.Ex)("search-dl.searchux.strings.filter.default.placeholder"),filterPeoplePlaceholder:(0,d.qP)("search-dl.searchux.strings.filter.people.placeholder"),filterMePlaceholder:(0,d.Ex)("search-dl.searchux.strings.filter.me.placeholder"),filterDownloadedPlaceholder:(0,d.Ex)("search-dl.searchux.strings.filter.downloaded.placeholder"),filterFileTypePlaceholder:(0,d.qP)("search-dl.searchux.strings.filter.filetype.placeholder"),ariaLabelFilterList:(0,d.qP)("search-dl.searchux.strings.ariaLabelFilterList"),ariaLabelYou:(0,d.Ex)("search-dl.searchux.strings.ariaLabelYou"),ariaLabelFilterSeparatorLabel:(0,d.Ex)("search-dl.searchux.strings.ariaLabelFilterSeparatorLabel")},o=e=>{let{values:l,valueToRemove:a,valueToAdd:d,entityType:o,isLocalFolder:s}=e;var c,u,p,h,v,y,x,f,m,b,T,L;let g=null===(c=l[i.hw])||void 0===c?void 0:c.isMe,P=null===(h=l[i.hw])||void 0===h||null===(p=h.displayTexts)||void 0===p||null===(u=p[0])||void 0===u?void 0:u.rawText,F=null===(x=l[i.ni])||void 0===x||null===(y=x.displayTexts)||void 0===y||null===(v=y[0])||void 0===v?void 0:v.rawText,w=null===(b=l[i._L])||void 0===b||null===(m=b.displayTexts)||void 0===m||null===(f=m[0])||void 0===f?void 0:f.rawText;F=(null===(T=l[i.ni])||void 0===T?void 0:T.id)===r.Jx?void 0:F;const k=(null===(L=l[i.hw])||void 0===L?void 0:L.id)===r.Jx;if(a)switch(a){case r.bL:g=!1,P=w=F=void 0;break;case r.sl:w=void 0;break;case r.Hh:F=void 0;break;case r.qp:g=!1,P=void 0}if(d)switch(o){case r.sl:w=d;break;case r.Hh:F=d;break;case r.qp:P=d;break;case r.aw:g=!0}const q=[];w&&q.push(w),F&&q.push(F);let A="";g?(A=n.filterMePlaceholder(),q.unshift(n.ariaLabelYou())):P?(A=k||s?n.filterDownloadedPlaceholder():n.filterPeoplePlaceholder({displayName:P}),q.unshift(P)):A=w?n.filterFileTypePlaceholder({fileType:w}):(0,t.A)()?n.basicPlaceholderText():n.defaultPlaceholderText();return{placeholder:A,ariaLabel:0===q.length?(0,t.A)()?n.ariaLabelBasic():n.defaultPlaceholderText():n.ariaLabelFilterList({filterList:q.join(n.ariaLabelFilterSeparatorLabel())})}}},38458:(e,l,a)=>{a.d(l,{A:()=>i});const i=(0,a(97220).regs)("searchux.enableBasicFilterPlaceholderText",!1,{required:!1})},49327:(e,l,a)=>{a.r(l),a.d(l,{default:()=>n});var i=a(26153),r=a(18144),t=a(70145),d=a(19117);const n={id:"removeLocalFolder",entityType:"",parameters:[],validate:e=>{let{context:l}=e;var a,r,t,d,n;return(null==l||null===(r=l.commanding)||void 0===r||null===(a=r.currentCommand)||void 0===a?void 0:a.definition.id)===i.Qg.id&&(null==l||null===(n=l.commanding)||void 0===n||null===(d=n.currentCommand)||void 0===d||null===(t=d.values)||void 0===t?void 0:t[i.kE])},execute:e=>{let{searchBox:l,context:a}=e;var n,o;const s=(null==a||null===(o=a.commanding)||void 0===o||null===(n=o.currentCommand)||void 0===n?void 0:n.values)||[],{placeholder:c,ariaLabel:u}=(0,d.A)({values:s,valueToRemove:r.bL});null==l||l.setContext((0,t.A)({value:void 0,commanding:a.commanding,index:i.kE,placeholder:c,ariaLabel:u}))}}}}]);