From cda77095e6a4a709a4293b2841bbefb4e9be0c96 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Wed, 8 Jul 2026 12:12:06 +0000 Subject: [PATCH] chore(assets): Recompile assets Signed-off-by: nextcloud-command --- dist/core-unified-search.js | 4 ++-- dist/core-unified-search.js.map | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/core-unified-search.js b/dist/core-unified-search.js index 3ed176404f6..3748ae82760 100644 --- a/dist/core-unified-search.js +++ b/dist/core-unified-search.js @@ -1,2 +1,2 @@ -(()=>{"use strict";var t,e={57558(t,e,i){var r=i(21777),n=i(53334),a=i(35947),s=i(10810),o=i(85471),l=i(9165),c=i(61338),d=i(97786),u=i(46855),h=i(22028),A=i(6695),p=i(53429),f=i(74095),m=i(16879);const C=(0,o.pM)({__name:"UnifiedSearchLocalSearchBar",props:{query:null,open:{type:Boolean}},emits:["update:open","update:query","global-search"],setup(t,{emit:e}){const i=t;(0,o.$9)((t,e)=>({dfb017de:e.searchGlobalButtonCSSWidth}));const r=(0,o.KR)();(0,o.nT)(()=>{i.open&&r.value&&r.value.focus()});const a=(0,p.al)(),s=(0,o.KR)(),{width:c}=(0,d.Lhy)(s),u=(0,o.EW)(()=>c.value?`${c.value}px`:"var(--default-clickable-area)");return{__sfc:!0,props:i,emit:e,searchInput:r,isMobile:a,searchGlobalButton:s,searchGlobalButtonWidth:c,searchGlobalButtonCSSWidth:u,clearAndCloseSearch:function(){e("update:query",""),e("update:open",!1)},mdiClose:l.hyP,mdiCloudSearchOutline:l.ydM,t:n.Tl,NcButton:f.A,NcIconSvgWrapper:A.A,NcInputField:m.A}}});var v=i(85072),g=i.n(v),b=i(97825),y=i.n(b),_=i(77659),x=i.n(_),w=i(55056),k=i.n(w),S=i(10540),F=i.n(S),B=i(41113),D=i.n(B),I=i(89226),E={};E.styleTagTransform=D(),E.setAttributes=k(),E.insert=x().bind(null,"head"),E.domAPI=y(),E.insertStyleElement=F(),g()(I.A,E),I.A&&I.A.locals&&I.A.locals;var M=i(14486);const R=(0,M.A)(C,function(){var t=this,e=t._self._c,i=t._self._setupProxy;return e("Transition",[t.open?e("div",{staticClass:"local-unified-search animated-width",class:{"local-unified-search--open":t.open}},[e(i.NcInputField,{ref:"searchInput",staticClass:"local-unified-search__input animated-width",attrs:{"aria-label":i.t("core","Search in current app"),placeholder:i.t("core","Search in current app"),"show-trailing-button":"","trailing-button-label":i.t("core","Clear search"),"model-value":t.query},on:{"update:value":function(e){return t.$emit("update:query",e)},"trailing-button-click":i.clearAndCloseSearch},scopedSlots:t._u([{key:"trailing-button-icon",fn:function(){return[e(i.NcIconSvgWrapper,{attrs:{path:i.mdiClose}})]},proxy:!0}],null,!1,3585538455)}),t._v(" "),e(i.NcButton,{ref:"searchGlobalButton",staticClass:"local-unified-search__global-search",attrs:{"aria-label":i.t("core","Search everywhere"),title:i.t("core","Search everywhere"),variant:"tertiary-no-background"},on:{click:function(e){return t.$emit("global-search")}},scopedSlots:t._u([i.isMobile?null:{key:"default",fn:function(){return[t._v("\n\t\t\t\t"+t._s(i.t("core","Search everywhere"))+"\n\t\t\t")]},proxy:!0},{key:"icon",fn:function(){return[e(i.NcIconSvgWrapper,{attrs:{path:i.mdiCloudSearchOutline}})]},proxy:!0}],null,!0)})],1):t._e()])},[],!1,null,"2b577e50",null).exports;var N=i(81222),P=i(57505),L=i(24764),U=i(41944),T=i(32073),H=i(94219),z=i(42507),V=i(31922),q=i(33691);const O={name:"CalendarRangeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Q=(0,M.A)(O,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon calendar-range-outline-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M7 11H9V13H7V11M21 5V19C21 20.11 20.11 21 19 21H5C3.89 21 3 20.1 3 19V5C3 3.9 3.9 3 5 3H6V1H8V3H16V1H18V3H19C20.11 3 21 3.9 21 5M5 7H19V5H5V7M19 19V9H5V19H19M15 13H17V11H15V13M11 13H13V11H11V13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports;var $=i(26690);const G={name:"FilterIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Y=(0,M.A)(G,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon filter-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,j={name:"ListBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},W=(0,M.A)(j,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon list-box-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M7 7H9V9H7V7M7 11H9V13H7V11M7 15H9V17H7V15M17 17H11V15H17V17M17 13H11V11H17V13M17 9H11V7H17V9Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,K={name:"MagnifyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Z=(0,M.A)(K,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon magnify-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports;var J=i(48198),X=i(83947);const tt={name:"CalendarRangeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},et=(0,M.A)(tt,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon calendar-range-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9,10H7V12H9V10M13,10H11V12H13V10M17,10H15V12H17V10M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V8H19V19Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,it={name:"CustomDateRangeModal",components:{NcButton:f.A,NcModal:X.A,CalendarRangeIcon:et,NcDateTimePicker:J.A},props:{isOpen:{type:Boolean,required:!0}},data:()=>({dateFilter:{startFrom:null,endAt:null}}),computed:{isModalOpen:{get(){return this.isOpen},set(t){this.$emit("update:is-open",t)}}},methods:{closeModal(){this.isModalOpen=!1},applyCustomRange(){this.$emit("set:custom-date-range",this.dateFilter),this.closeModal()}}};var rt=i(12667),nt={};nt.styleTagTransform=D(),nt.setAttributes=k(),nt.insert=x().bind(null,"head"),nt.domAPI=y(),nt.insertStyleElement=F(),g()(rt.A,nt),rt.A&&rt.A.locals&&rt.A.locals;const at=(0,M.A)(it,function(){var t=this,e=t._self._c;return t.isModalOpen?e("NcModal",{attrs:{id:"unified-search",name:t.t("core","Custom date range"),show:t.isModalOpen,size:"small","clear-view-delay":0,title:t.t("core","Custom date range")},on:{"update:show":function(e){t.isModalOpen=e},close:t.closeModal}},[e("div",{staticClass:"unified-search-custom-date-modal"},[e("h1",[t._v(t._s(t.t("core","Custom date range")))]),t._v(" "),e("div",{staticClass:"unified-search-custom-date-modal__pickers"},[e("NcDateTimePicker",{attrs:{id:"unifiedsearch-custom-date-range-start",label:t.t("core","Pick start date"),type:"date"},model:{value:t.dateFilter.startFrom,callback:function(e){t.$set(t.dateFilter,"startFrom",e)},expression:"dateFilter.startFrom"}}),t._v(" "),e("NcDateTimePicker",{attrs:{id:"unifiedsearch-custom-date-range-end",label:t.t("core","Pick end date"),type:"date"},model:{value:t.dateFilter.endAt,callback:function(e){t.$set(t.dateFilter,"endAt",e)},expression:"dateFilter.endAt"}})],1),t._v(" "),e("div",{staticClass:"unified-search-custom-date-modal__footer"},[e("NcButton",{on:{click:t.applyCustomRange},scopedSlots:t._u([{key:"icon",fn:function(){return[e("CalendarRangeIcon",{attrs:{size:20}})]},proxy:!0}],null,!1,3084610734)},[t._v("\n\t\t\t\t"+t._s(t.t("core","Search in date range"))+"\n\t\t\t\t")])],1)])]):t._e()},[],!1,null,"2907014b",null).exports;var st=i(54562),ot=i(82182);const lt={name:"SearchableList",components:{IconMagnify:Z,IconAlertCircleOutline:i(57578).A,NcAvatar:U.A,NcButton:f.A,NcEmptyContent:z.A,NcPopover:st.A,NcTextField:ot.A},props:{labelText:{type:String,default:"this is a label"},searchList:{type:Array,required:!0},emptyContentText:{type:String,required:!0}},data:()=>({opened:!1,error:!1,searchTerm:""}),computed:{filteredList(){return this.searchList.filter(t=>!this.searchTerm.toLowerCase().length||["displayName"].some(e=>t[e].toLowerCase().includes(this.searchTerm.toLowerCase())))}},methods:{clearSearch(){this.searchTerm=""},itemSelected(t){this.$emit("item-selected",t),this.clearSearch(),this.opened=!1},searchTermChanged(t){this.$emit("search-term-change",t)}}};var ct=i(85618),dt={};dt.styleTagTransform=D(),dt.setAttributes=k(),dt.insert=x().bind(null,"head"),dt.domAPI=y(),dt.insertStyleElement=F(),g()(ct.A,dt),ct.A&&ct.A.locals&&ct.A.locals;const ut=(0,M.A)(lt,function(){var t=this,e=t._self._c;return e("NcPopover",{attrs:{shown:t.opened},on:{show:function(e){t.opened=!0},hide:function(e){t.opened=!1}},scopedSlots:t._u([{key:"trigger",fn:function(){return[t._t("trigger")]},proxy:!0}],null,!0)},[t._v(" "),e("div",{staticClass:"searchable-list__wrapper"},[e("NcTextField",{attrs:{label:t.labelText,"trailing-button-icon":"close","show-trailing-button":""!==t.searchTerm},on:{"update:value":t.searchTermChanged,"trailing-button-click":t.clearSearch},model:{value:t.searchTerm,callback:function(e){t.searchTerm=e},expression:"searchTerm"}},[e("IconMagnify",{attrs:{size:20}})],1),t._v(" "),t.filteredList.length>0?e("ul",{staticClass:"searchable-list__list"},t._l(t.filteredList,function(i){return e("li",{key:i.id,attrs:{title:i.displayName,role:"button"}},[e("NcButton",{attrs:{alignment:"start",variant:"tertiary",wide:!0},on:{click:function(e){return t.itemSelected(i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[i.isUser?e("NcAvatar",{attrs:{user:i.user,"hide-user-status":""}}):e("NcAvatar",{attrs:{"is-no-user":!0,"display-name":i.displayName,"hide-user-status":""}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t"+t._s(i.displayName)+"\n\t\t\t\t")])],1)}),0):e("div",{staticClass:"searchable-list__empty-content"},[e("NcEmptyContent",{attrs:{name:t.emptyContentText},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconAlertCircleOutline")]},proxy:!0}])})],1)],1)])},[],!1,null,"37b50471",null).exports,ht={name:"SearchFilterChip",components:{CloseIcon:i(66001).A},props:{text:{type:String,required:!0},pretext:{type:String,required:!0}},methods:{deleteChip(){this.$emit("delete",this.filter)}}};var At=i(62247),pt={};pt.styleTagTransform=D(),pt.setAttributes=k(),pt.insert=x().bind(null,"head"),pt.domAPI=y(),pt.insertStyleElement=F(),g()(At.A,pt),At.A&&At.A.locals&&At.A.locals;const ft=(0,M.A)(ht,function(){var t=this,e=t._self._c;return e("div",{staticClass:"chip"},[e("span",{staticClass:"icon"},[t._t("icon"),t._v(" "),t.pretext.length?e("span",[t._v(" "+t._s(t.pretext)+" : ")]):t._e()],2),t._v(" "),e("span",{staticClass:"text"},[t._v(t._s(t.text))]),t._v(" "),e("span",{staticClass:"close-icon",on:{click:t.deleteChip}},[e("CloseIcon",{attrs:{size:18}})],1)])},[],!1,null,"60a863d2",null).exports,mt={name:"SearchResult",components:{NcListItem:i(1522).A},props:{thumbnailUrl:{type:String,default:null},title:{type:String,required:!0},subline:{type:String,default:null},resourceUrl:{type:String,default:null},icon:{type:String,default:""},rounded:{type:Boolean,default:!1},query:{type:String,default:""},focused:{type:Boolean,default:!1}},data:()=>({thumbnailHasError:!1}),watch:{thumbnailUrl(){this.thumbnailHasError=!1}},methods:{isValidIconOrPreviewUrl:t=>/^https?:\/\//.test(t)||t.startsWith("/"),thumbnailErrorHandler(){this.thumbnailHasError=!0}}};var Ct=i(11121),vt={};vt.styleTagTransform=D(),vt.setAttributes=k(),vt.insert=x().bind(null,"head"),vt.domAPI=y(),vt.insertStyleElement=F(),g()(Ct.A,vt),Ct.A&&Ct.A.locals&&Ct.A.locals;const gt=(0,M.A)(mt,function(){var t=this,e=t._self._c;return e("NcListItem",{staticClass:"result-item",attrs:{name:t.title,bold:!1,href:t.resourceUrl,target:"_self"},scopedSlots:t._u([{key:"icon",fn:function(){return[e("div",{staticClass:"result-item__icon",class:{"result-item__icon--rounded":t.rounded,"result-item__icon--no-preview":!t.isValidIconOrPreviewUrl(t.thumbnailUrl),"result-item__icon--with-thumbnail":t.isValidIconOrPreviewUrl(t.thumbnailUrl),[t.icon]:!t.isValidIconOrPreviewUrl(t.icon)},style:{backgroundImage:t.isValidIconOrPreviewUrl(t.icon)?`url(${t.icon})`:""},attrs:{"aria-hidden":"true"}},[t.isValidIconOrPreviewUrl(t.thumbnailUrl)&&!t.thumbnailHasError?e("img",{attrs:{src:t.thumbnailUrl},on:{error:t.thumbnailErrorHandler}}):t._e()])]},proxy:!0},{key:"subname",fn:function(){return[t._v("\n\t\t"+t._s(t.subline)+"\n\t")]},proxy:!0}])})},[],!1,null,"ca416b22",null).exports,bt=null===(yt=(0,r.HW)())?(0,a.YK)().setApp("core").build():(0,a.YK)().setApp("core").setUid(yt.uid).build();var yt;const _t=(0,a.YK)().setApp("unified-search").detectUser().build();var xt=i(44368),wt=i(63814);async function kt(){try{const{data:t}=await xt.Ay.get((0,wt.KT)("search/providers"),{params:{from:window.location.pathname.replace("/index.php","")+window.location.search}});if("ocs"in t&&"data"in t.ocs&&Array.isArray(t.ocs.data)&&t.ocs.data.length>0)return t.ocs.data}catch(t){bt.error(t)}return[]}async function St({searchTerm:t}){const{data:{contacts:e}}=await xt.Ay.post((0,wt.Jv)("/contactsmenu/contacts"),{filter:t});if(!t){let t=(0,r.HW)();return t={id:t.uid,fullName:t.displayName,emailAddresses:[]},e.unshift(t),e}return e}const Ft=(0,s.nY)("search",{state:()=>({externalFilters:[]}),actions:{registerExternalFilter({id:t,appId:e,searchFrom:i,label:r,callback:n,icon:a}){this.externalFilters.push({id:t,appId:e,searchFrom:i,name:r,callback:n,icon:a,isPluginFilter:!0})}}}),Bt=(0,o.pM)({name:"UnifiedSearchModal",components:{IconArrowRight:q.A,IconAccountGroup:V.A,IconCalendarRange:Q,IconDotsHorizontal:$.A,IconFilter:Y,IconListBox:W,IconMagnify:Z,CustomDateRangeModal:at,FilterChip:ft,NcActions:L.A,NcActionButton:P.A,NcAvatar:U.A,NcButton:f.A,NcEmptyContent:z.A,NcDialog:H.A,NcInputField:m.A,NcCheckboxRadioSwitch:T.A,SearchableList:ut,SearchResult:gt},props:{open:{type:Boolean,required:!0},query:{type:String,default:""},localSearch:{type:Boolean,default:!1}},emits:["update:open","update:query"],setup(){const t=(0,d.ZDG)(),e=Ft();return{t:n.t,currentLocation:t,externalFilters:e.externalFilters}},data(){return{providers:[],providerActionMenuIsOpen:!1,dateActionMenuIsOpen:!1,providerResultLimit:5,dateFilter:{id:"date",type:"date",text:"",startFrom:null,endAt:null},personFilter:{id:"person",type:"person",name:""},filteredProviders:[],searching:!1,searchQuery:"",lastSearchQuery:"",placessearchTerm:"",dateTimeFilter:null,filters:[],results:[],contacts:[],showDateRangeModal:!1,internalIsVisible:this.open,initialized:!1,searchExternalResources:!1,minSearchLength:(0,N.C)("unified-search","min-search-length",1)}},computed:{isEmptySearch(){return 0===this.searchQuery.length},hasNoResults(){return!this.isEmptySearch&&0===this.results.length},isSearchQueryTooShort(){return this.searchQuery.lengtht.isExternalProvider)},hasContentFilters(){return this.filters.some(t=>"date"===t.type||"person"===t.type)},filteredResults(){const t=t=>{if("in-folder"!==t.id)return!1;const e=t.extraParams?.path;return!e||"/"===e||""===e};return this.hasContentFilters?this.results.filter(e=>!0===e.supportsActiveFilters&&!t(e)):this.results.filter(e=>!t(e))},filteredResultUrls(){const t=new Set;return this.filteredResults.forEach(e=>{e.results.forEach(e=>{e.resourceUrl&&t.add(e.resourceUrl)})}),t},unfilteredResults(){return this.hasContentFilters?this.results.filter(t=>!1===t.supportsActiveFilters).map(t=>({...t,results:t.results.filter(t=>!this.filteredResultUrls.has(t.resourceUrl))})).filter(t=>t.results.length>0):[]}},watch:{open(){this.open&&(this.focusInput(),this.initialized||Promise.all([kt(),St({searchTerm:""})]).then(([t,e])=>{this.providers=this.groupProvidersByApp([...t,...this.externalFilters]),this.contacts=this.mapContacts(e),_t.debug("Search providers and contacts initialized:",{providers:this.providers,contacts:this.contacts}),this.initialized=!0}).catch(t=>{_t.error(t)}),this.searchQuery&&this.find(this.searchQuery))},query:{immediate:!0,handler(){this.searchQuery=this.query}},searchQuery:{handler(){this.$emit("update:query",this.searchQuery)}},searchExternalResources(){this.searchQuery&&this.find(this.searchQuery)}},mounted(){(0,c.B1)("nextcloud:unified-search:add-filter",this.handlePluginFilter)},methods:{onUpdateOpen(t){t||(this.$emit("update:open",!1),this.$emit("update:query",""))},searchLocally(){this.$emit("update:query",this.searchQuery),this.$emit("update:open",!1)},focusInput(){this.$nextTick(()=>{this.$refs.searchInput?.focus()})},find(t,e=null){if(this.isSearchQueryTooShort)return this.results=[],void(this.searching=!1);t!==this.lastSearchQuery&&(this.providerResultLimit=5),this.lastSearchQuery=t,this.searching=!0;const i=[];(e||(this.filteredProviders.length>0?this.filteredProviders:this.providers)).forEach(e=>{const r={type:e.searchFrom??e.id,query:t,cursor:null,extraQueries:e.extraParams},n=this.filters.filter(t=>"provider"!==t.type).map(t=>t.type),a=0===n.length||n.every(t=>this.providerIsCompatibleWithFilters(e,[t])),s=e.searchFrom?this.providers.find(t=>t.id===e.searchFrom)??e:e;this.filters.filter(t=>"provider"!==t.type&&this.providerIsCompatibleWithFilters(e,[t.type])).forEach(t=>{switch(t.type){case"date":s.filters?.since&&s.filters?.until&&(r.since=this.dateFilter.startFrom,r.until=this.dateFilter.endAt);break;case"person":s.filters?.person&&(r.person=this.personFilter.user)}}),this.providerResultLimit>5&&(r.limit=this.providerResultLimit,_t.debug("Limiting search to",r.limit));const o=!this.searchExternalResources&&e.isExternalProvider,l=this.filteredProviders.some(t=>t.id===e.id);!o||l?(0,function({type:t,query:e,cursor:i,since:r,until:n,limit:a,person:s,extraQueries:o={}}){const l=xt.Ay.CancelToken.source();return{request:async()=>xt.Ay.get((0,wt.KT)("search/providers/{type}/search",{type:t}),{cancelToken:l.token,params:{term:e,cursor:i,since:r,until:n,limit:a,person:s,from:window.location.pathname.replace("/index.php","")+window.location.search,...o}}),cancel:l.cancel}}(r).request)().then(t=>{i.push({...e,results:t.data.ocs.data.entries,limit:r.limit??5,supportsActiveFilters:a}),_t.debug("Unified search results:",{results:this.results,newResults:i}),this.updateResults(i),this.searching=!1}):this.searching=!1})},updateResults(t){let e=[...this.results];this.filters.length>0&&(e=e.filter(t=>this.filters.some(e=>e.id===t.id))),t.forEach(t=>{const i=e.findIndex(e=>e.id===t.id);-1!==i?0===t.results.length?e.splice(i,1):e.splice(i,1,t):t.results.length>0&&e.push(t)});const i=e.slice(0);i.sort((t,e)=>{const i=this.providers.find(e=>e.id===t.id),r=this.providers.find(t=>t.id===e.id);return(i?i.order:0)-(r?r.order:0)}),this.results=i},mapContacts:t=>t.map(t=>({displayName:t.fullName,isNoUser:!1,subname:t.emailAddresses[0]?t.emailAddresses[0]:"",icon:"",user:t.id,isUser:t.isUser})),filterContacts(t){St({searchTerm:t}).then(e=>{this.contacts=this.mapContacts(e),_t.debug(`Contacts filtered by ${t}`,{contacts:this.contacts})})},applyPersonFilter(t){const e=this.filters.findIndex(e=>e.id===t.id);-1===e?(this.personFilter.id=t.id,this.personFilter.user=t.user,this.personFilter.name=t.displayName,this.filters.push(this.personFilter)):(this.filters[e].id=t.id,this.filters[e].user=t.user,this.filters[e].name=t.displayName),this.debouncedFind(this.searchQuery),_t.debug("Person filter applied",{person:t})},async loadMoreResultsForProvider(t){this.providerResultLimit+=5,this.find(this.searchQuery,[t])},addProviderFilter(t,e=!1){if(_t.debug("Applying provider filter",{providerFilter:t,loadMoreResultsForProvider:e}),!t.id)return;if(t.isPluginFilter){const e=this.filteredProviders.some(e=>e.id===t.id);t.callback(!e)}this.providerResultLimit=e?this.providerResultLimit:5,this.providerActionMenuIsOpen=!1;const i=this.filteredProviders.findIndex(e=>e.id===t.id);i>-1&&(this.filteredProviders.splice(i,1),this.filters=this.syncProviderFilters(this.filters,this.filteredProviders)),this.filteredProviders.push({...t,type:t.type||"provider",isPluginFilter:t.isPluginFilter||!1}),this.filters=this.syncProviderFilters(this.filters,this.filteredProviders),_t.debug("Search filters (newly added)",{filters:this.filters}),this.debouncedFind(this.searchQuery)},removeFilter(t){if("provider"===t.type){for(let e=0;e{const n=t.id;"provider"===t.type&&(e.some(t=>t.id===n)||i.splice(r,1))}),e.forEach(t=>{const e=t.id;"provider"===t.type&&(i.some(t=>t.id===e)||i.push(t))}),i},updateDateFilter(){const t=this.filters.findIndex(t=>"date"===t.id);-1!==t?this.filters[t]=this.dateFilter:this.filters.push(this.dateFilter),this.debouncedFind(this.searchQuery)},applyQuickDateRange(t){this.dateActionMenuIsOpen=!1;const e=new Date;let i,r;switch(t){case"today":i=new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0),r=new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999),this.dateFilter.text=(0,n.t)("core","Today");break;case"7days":i=new Date(e.getFullYear(),e.getMonth(),e.getDate()-6,0,0,0,0),this.dateFilter.text=(0,n.t)("core","Last 7 days");break;case"30days":i=new Date(e.getFullYear(),e.getMonth(),e.getDate()-29,0,0,0,0),this.dateFilter.text=(0,n.t)("core","Last 30 days");break;case"thisyear":i=new Date(e.getFullYear(),0,1,0,0,0,0),r=new Date(e.getFullYear(),11,31,23,59,59,999),this.dateFilter.text=(0,n.t)("core","This year");break;case"lastyear":i=new Date(e.getFullYear()-1,0,1,0,0,0,0),r=new Date(e.getFullYear()-1,11,31,23,59,59,999),this.dateFilter.text=(0,n.t)("core","Last year");break;case"custom":return void(this.showDateRangeModal=!0);default:return}this.dateFilter.startFrom=i,this.dateFilter.endAt=r,this.updateDateFilter()},setCustomDateRange(t){_t.debug("Custom date range",{range:t}),this.dateFilter.startFrom=t.startFrom,this.dateFilter.endAt=t.endAt,this.dateFilter.text=(0,n.t)("core","Between {startDate} and {endDate}",{startDate:this.dateFilter.startFrom.toLocaleDateString([(0,n.lO)()]),endDate:this.dateFilter.endAt.toLocaleDateString([(0,n.lO)()])}),this.updateDateFilter()},handlePluginFilter(t){_t.debug("Handling plugin filter",{addFilterEvent:t});for(let e=0;ee.id===t.id);r>-1&&(i.extraParams=t.filterParams,this.filteredProviders[e]=i);break}}this.debouncedFind(this.searchQuery)},groupProvidersByApp(t){const e={};t.forEach(t=>{const i=t.appId?t.appId:"general";e[i]||(e[i]=[]),e[i].push(t)});const i=[];return Object.values(e).forEach(t=>{i.push(...t)}),i},providerIsCompatibleWithFilters(t,e){const i=t.searchFrom?this.providers.find(e=>e.id===t.searchFrom)??t:t;return e.every(t=>{switch(t){case"date":return void 0!==i.filters?.since&&void 0!==i.filters?.until;case"person":return void 0!==i.filters?.person;default:return void 0!==i.filters?.[t]}})},async enableAllProviders(){this.providers.forEach(async(t,e)=>{this.providers[e].disabled=!1})}}});var Dt=i(91445),It={};It.styleTagTransform=D(),It.setAttributes=k(),It.insert=x().bind(null,"head"),It.domAPI=y(),It.insertStyleElement=F(),g()(Dt.A,It),Dt.A&&Dt.A.locals&&Dt.A.locals;const Et=(0,M.A)(Bt,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("NcDialog",{ref:"unifiedSearchModal",staticClass:"unified-search-modal-root",attrs:{id:"unified-search","content-classes":"unified-search-modal__content","dialog-classes":"unified-search-modal",name:t.t("core","Unified search"),open:t.open,size:"normal"},on:{"update:open":t.onUpdateOpen}},[e("CustomDateRangeModal",{staticClass:"unified-search__date-range",attrs:{"is-open":t.showDateRangeModal},on:{"set:custom-date-range":t.setCustomDateRange,"update:is-open":function(e){t.showDateRangeModal=e}}}),t._v(" "),e("div",{staticClass:"unified-search-modal__header"},[e("NcInputField",{ref:"searchInput",attrs:{"data-cy-unified-search-input":"",type:"text",label:t.t("core","Search apps, files, tags, messages")+"..."},on:{"update:value":t.debouncedFind},model:{value:t.searchQuery,callback:function(e){t.searchQuery=e},expression:"searchQuery"}}),t._v(" "),e("div",{staticClass:"unified-search-modal__filters",attrs:{"data-cy-unified-search-filters":""}},[e("NcActions",{attrs:{open:t.providerActionMenuIsOpen,"menu-name":t.t("core","Places"),"data-cy-unified-search-filter":"places"},on:{"update:open":function(e){t.providerActionMenuIsOpen=e}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconListBox",{attrs:{size:20}})]},proxy:!0}])},[t._v(" "),t._l(t.providers,function(i){return e("NcActionButton",{key:`${i.id}-${i.name.replace(/\s/g,"")}`,attrs:{disabled:i.disabled},on:{click:function(e){return t.addProviderFilter(i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("img",{staticClass:"filter-button__icon",attrs:{src:i.icon,alt:""}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t"+t._s(i.name)+"\n\t\t\t\t")])})],2),t._v(" "),e("NcActions",{attrs:{open:t.dateActionMenuIsOpen,"menu-name":t.t("core","Date"),"data-cy-unified-search-filter":"date"},on:{"update:open":function(e){t.dateActionMenuIsOpen=e}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconCalendarRange",{attrs:{size:20}})]},proxy:!0}])},[t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("today")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Today"))+"\n\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("7days")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Last 7 days"))+"\n\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("30days")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Last 30 days"))+"\n\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("thisyear")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","This year"))+"\n\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("lastyear")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Last year"))+"\n\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("custom")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Custom date range"))+"\n\t\t\t\t")])],1),t._v(" "),e("SearchableList",{attrs:{"label-text":t.t("core","Search people"),"search-list":t.userContacts,"empty-content-text":t.t("core","Not found"),"data-cy-unified-search-filter":"people"},on:{"search-term-change":t.debouncedFilterContacts,"item-selected":t.applyPersonFilter},scopedSlots:t._u([{key:"trigger",fn:function(){return[e("NcButton",{scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconAccountGroup",{attrs:{size:20}})]},proxy:!0}])},[t._v("\n\t\t\t\t\t\t"+t._s(t.t("core","People"))+"\n\t\t\t\t\t")])]},proxy:!0}])}),t._v(" "),t.localSearch?e("NcButton",{attrs:{"data-cy-unified-search-filter":"current-view"},on:{click:t.searchLocally},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconFilter",{attrs:{size:20}})]},proxy:!0}],null,!1,4275912387)},[t._v("\n\t\t\t\t"+t._s(t.t("core","Filter in current view"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.hasExternalResources?e("NcCheckboxRadioSwitch",{staticClass:"unified-search-modal__search-external-resources",class:{"unified-search-modal__search-external-resources--aligned":t.localSearch},attrs:{type:"switch"},model:{value:t.searchExternalResources,callback:function(e){t.searchExternalResources=e},expression:"searchExternalResources"}},[t._v("\n\t\t\t\t"+t._s(t.t("core","Search connected services"))+"\n\t\t\t")]):t._e()],1),t._v(" "),e("div",{staticClass:"unified-search-modal__filters-applied"},t._l(t.filters,function(i){return e("FilterChip",{key:i.id,attrs:{text:i.name??i.text,pretext:""},on:{delete:function(e){return t.removeFilter(i)}},scopedSlots:t._u([{key:"icon",fn:function(){return["person"===i.type?e("NcAvatar",{attrs:{user:i.user,size:24,"disable-menu":"","hide-user-status":"","hide-favorite":!1}}):"date"===i.type?e("IconCalendarRange"):e("img",{attrs:{src:i.icon,alt:""}})]},proxy:!0}],null,!0)})}),1)],1),t._v(" "),t.showEmptyContentInfo?e("div",{staticClass:"unified-search-modal__no-content"},[e("NcEmptyContent",{attrs:{name:t.emptyContentMessage},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconMagnify",{attrs:{size:64}})]},proxy:!0}],null,!1,125778896)})],1):e("div",{staticClass:"unified-search-modal__results"},[e("h3",{staticClass:"hidden-visually"},[t._v("\n\t\t\t"+t._s(t.t("core","Results"))+"\n\t\t")]),t._v(" "),t._l(t.filteredResults,function(i){return e("div",{key:i.id,staticClass:"result"},[e("h4",{staticClass:"result-title",attrs:{id:`unified-search-result-${i.id}`}},[t._v("\n\t\t\t\t"+t._s(i.name)+"\n\t\t\t")]),t._v(" "),e("ul",{staticClass:"result-items",attrs:{"aria-labelledby":`unified-search-result-${i.id}`}},t._l(i.results,function(i,r){return e("SearchResult",t._b({key:r},"SearchResult",i,!1))}),1),t._v(" "),e("div",{staticClass:"result-footer"},[i.results.length===i.limit?e("NcButton",{attrs:{variant:"tertiary-no-background"},on:{click:function(e){return t.loadMoreResultsForProvider(i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconDotsHorizontal",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Load more results"))+"\n\t\t\t\t\t")]):t._e(),t._v(" "),i.inAppSearch?e("NcButton",{attrs:{alignment:"end-reverse",variant:"tertiary-no-background"},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconArrowRight",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Search in"))+" "+t._s(i.name)+"\n\t\t\t\t\t")]):t._e()],1)])}),t._v(" "),t.unfilteredResults.length>0?[e("div",{staticClass:"unified-search-modal__unfiltered-header"},[e("span",{staticClass:"unified-search-modal__unfiltered-label"},[t._v(t._s(t.t("core","Partial matches")))])]),t._v(" "),t._l(t.unfilteredResults,function(i){return e("div",{key:`unfiltered-${i.id}`,staticClass:"result result--unfiltered"},[e("h4",{staticClass:"result-title",attrs:{id:`unified-search-result-unfiltered-${i.id}`}},[t._v("\n\t\t\t\t\t"+t._s(i.name)+"\n\t\t\t\t")]),t._v(" "),e("ul",{staticClass:"result-items",attrs:{"aria-labelledby":`unified-search-result-unfiltered-${i.id}`}},t._l(i.results,function(i,r){return e("SearchResult",t._b({key:r},"SearchResult",i,!1))}),1),t._v(" "),e("div",{staticClass:"result-footer"},[i.results.length===i.limit?e("NcButton",{attrs:{variant:"tertiary-no-background"},on:{click:function(e){return t.loadMoreResultsForProvider(i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconDotsHorizontal",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t\t"+t._s(t.t("core","Load more results"))+"\n\t\t\t\t\t\t")]):t._e(),t._v(" "),i.inAppSearch?e("NcButton",{attrs:{alignment:"end-reverse",variant:"tertiary-no-background"},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconArrowRight",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t\t"+t._s(t.t("core","Search in"))+" "+t._s(i.name)+"\n\t\t\t\t\t\t")]):t._e()],1)])})]:t._e()],2)],1)},[],!1,null,"e675c164",null).exports,Mt=(0,o.pM)({name:"UnifiedSearch",components:{NcHeaderButton:h.N,NcIconSvgWrapper:A.A,UnifiedSearchModal:Et,UnifiedSearchLocalSearchBar:R},setup:()=>({currentLocation:(0,d.ZDG)(),mdiMagnify:l.U4M,t:n.t}),data:()=>({queryText:"",showUnifiedSearch:!1,showLocalSearch:!1}),computed:{debouncedQueryUpdate(){return(0,u.A)(this.emitUpdatedQuery,250)},supportsLocalSearch(){return["/settings/users","/apps/deck","/settings/apps"].some(t=>this.currentLocation.pathname?.includes?.(t))}},watch:{queryText(){this.debouncedQueryUpdate()}},mounted(){!1===window.OCP.Accessibility.disableKeyboardShortcuts()&&window.addEventListener("keydown",this.onKeyDown),(0,c.B1)("nextcloud:unified-search:reset",()=>{this.showLocalSearch=!1,this.queryText=""}),(0,c.B1)("nextcloud:unified-search:reset",()=>{(0,c.Ic)("nextcloud:unified-search.reset",{query:""})}),(0,c.B1)("nextcloud:unified-search:search",({query:t})=>{(0,c.Ic)("nextcloud:unified-search.search",{query:t})}),bt.debug("Unified search initialized!")},beforeDestroy(){window.removeEventListener("keydown",this.onKeyDown)},methods:{onKeyDown(t){t.ctrlKey&&"f"===t.key&&(this.showLocalSearch||this.showUnifiedSearch||t.preventDefault(),this.toggleUnifiedSearch())},toggleUnifiedSearch(){this.supportsLocalSearch?this.showLocalSearch=!this.showLocalSearch:(this.showUnifiedSearch=!this.showUnifiedSearch,this.showLocalSearch=!1)},openModal(){this.showUnifiedSearch=!0,this.showLocalSearch=!1},emitUpdatedQuery(){""===this.queryText?(0,c.Ic)("nextcloud:unified-search:reset"):(0,c.Ic)("nextcloud:unified-search:search",{query:this.queryText})}}});var Rt=i(45140),Nt={};Nt.styleTagTransform=D(),Nt.setAttributes=k(),Nt.insert=x().bind(null,"head"),Nt.domAPI=y(),Nt.insertStyleElement=F(),g()(Rt.A,Nt),Rt.A&&Rt.A.locals&&Rt.A.locals;const Pt=(0,M.A)(Mt,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("div",{staticClass:"unified-search-menu"},[e("NcHeaderButton",{directives:[{name:"show",rawName:"v-show",value:!t.showLocalSearch,expression:"!showLocalSearch"}],attrs:{id:"unified-search","aria-label":t.t("core","Unified search")},on:{click:t.toggleUnifiedSearch},scopedSlots:t._u([{key:"icon",fn:function(){return[e("NcIconSvgWrapper",{attrs:{path:t.mdiMagnify}})]},proxy:!0}])}),t._v(" "),t.supportsLocalSearch?e("UnifiedSearchLocalSearchBar",{attrs:{open:t.showLocalSearch,query:t.queryText},on:{"update:open":function(e){t.showLocalSearch=e},"update:query":function(e){t.queryText=e},"global-search":t.openModal}}):t._e(),t._v(" "),e("UnifiedSearchModal",{attrs:{"local-search":t.supportsLocalSearch,query:t.queryText,open:t.showUnifiedSearch},on:{"update:query":function(e){t.queryText=e},"update:open":function(e){t.showUnifiedSearch=e}}})],1)},[],!1,null,"bd38cb24",null).exports;i.nc=(0,r.aV)();const Lt=(0,a.YK)().setApp("unified-search").detectUser().build();o.Ay.mixin({data:()=>({logger:Lt}),methods:{t:n.Tl,n:n.zw}}),window.OCA=window.OCA||{},window.OCA.UnifiedSearch={registerFilterAction:({id:t,appId:e,searchFrom:i,label:r,callback:n,icon:a})=>{Ft().registerExternalFilter({id:t,appId:e,searchFrom:i,label:r,callback:n,icon:a})}},o.Ay.use(s.R2);const Ut=(0,s.Ey)();new o.Ay({el:"#unified-search",pinia:Ut,name:"UnifiedSearchRoot",render:t=>t(Pt)})},12667(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".unified-search-custom-date-modal[data-v-2907014b]{padding:10px 20px 10px 20px}.unified-search-custom-date-modal h1[data-v-2907014b]{font-size:16px;font-weight:bolder;line-height:2em}.unified-search-custom-date-modal__pickers[data-v-2907014b]{display:flex;flex-direction:column}.unified-search-custom-date-modal__footer[data-v-2907014b]{display:flex;justify-content:end}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/CustomDateRangeModal.vue"],names:[],mappings:"AACA,mDACC,2BAAA,CAEA,sDACC,cAAA,CACA,kBAAA,CACA,eAAA,CAGD,4DACC,YAAA,CACA,qBAAA,CAGD,2DACC,YAAA,CACA,mBAAA",sourcesContent:["\n.unified-search-custom-date-modal {\n\tpadding: 10px 20px 10px 20px;\n\n\th1 {\n\t\tfont-size: 16px;\n\t\tfont-weight: bolder;\n\t\tline-height: 2em;\n\t}\n\n\t&__pickers {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t}\n\n\t&__footer {\n\t\tdisplay: flex;\n\t\tjustify-content: end;\n\t}\n\n}\n"],sourceRoot:""}]);const o=s},62247(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".chip[data-v-60a863d2]{display:flex;align-items:center;padding:2px 4px;border:1px solid var(--color-primary-element-light);border-radius:20px;background-color:var(--color-primary-element-light);margin:2px}.chip .icon[data-v-60a863d2]{display:flex;align-items:center;padding-inline-end:5px}.chip .icon img[data-v-60a863d2]{width:20px;padding:2px;border-radius:20px;filter:var(--background-invert-if-bright)}.chip .text[data-v-60a863d2]{margin:0 2px}.chip .close-icon[data-v-60a863d2]{cursor:pointer}.chip .close-icon[data-v-60a863d2] :hover{filter:invert(20%)}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/SearchFilterChip.vue"],names:[],mappings:"AACA,uBACI,YAAA,CACA,kBAAA,CACA,eAAA,CACA,mDAAA,CACA,kBAAA,CACA,mDAAA,CACA,UAAA,CAEA,6BACI,YAAA,CACA,kBAAA,CACA,sBAAA,CAEA,iCACI,UAAA,CACA,WAAA,CACA,kBAAA,CACA,yCAAA,CAIR,6BACI,YAAA,CAGJ,mCACI,cAAA,CAEA,0CACI,kBAAA",sourcesContent:["\n.chip {\n display: flex;\n align-items: center;\n padding: 2px 4px;\n border: 1px solid var(--color-primary-element-light);\n border-radius: 20px;\n background-color: var(--color-primary-element-light);\n margin: 2px;\n\n .icon {\n display: flex;\n align-items: center;\n padding-inline-end: 5px;\n\n img {\n width: 20px;\n padding: 2px;\n border-radius: 20px;\n filter: var(--background-invert-if-bright);\n }\n }\n\n .text {\n margin: 0 2px;\n }\n\n .close-icon {\n cursor: pointer ;\n\n :hover {\n filter: invert(20%);\n }\n }\n}\n"],sourceRoot:""}]);const o=s},11121(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".result-item[data-v-ca416b22] a{border:2px solid rgba(0,0,0,0);border-radius:var(--border-radius-large) !important}.result-item[data-v-ca416b22] a:active,.result-item[data-v-ca416b22] a:hover,.result-item[data-v-ca416b22] a:focus{background-color:var(--color-background-hover);border:2px solid var(--color-border-maxcontrast)}.result-item[data-v-ca416b22] a *{cursor:pointer}.result-item__icon[data-v-ca416b22]{overflow:hidden;width:var(--default-clickable-area);height:var(--default-clickable-area);border-radius:var(--border-radius);background-repeat:no-repeat;background-position:center center;background-size:32px}.result-item__icon--rounded[data-v-ca416b22]{border-radius:calc(var(--default-clickable-area)/2)}.result-item__icon--no-preview[data-v-ca416b22]{background-size:32px}.result-item__icon--with-thumbnail[data-v-ca416b22]{background-size:cover}.result-item__icon--with-thumbnail[data-v-ca416b22]:not(.result-item__icon--rounded){border:1px solid var(--color-border);max-height:calc(var(--default-clickable-area) - 2px);max-width:calc(var(--default-clickable-area) - 2px)}.result-item__icon img[data-v-ca416b22]{width:100%;height:100%;object-fit:cover;object-position:center}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/SearchResult.vue"],names:[],mappings:"AAEC,gCACC,8BAAA,CACA,mDAAA,CAEA,mHAGC,8CAAA,CACA,gDAAA,CAGD,kCACC,cAAA,CAIF,oCACC,eAAA,CACA,mCAAA,CACA,oCAAA,CACA,kCAAA,CACA,2BAAA,CACA,iCAAA,CACA,oBAAA,CAEA,6CACC,mDAAA,CAGD,gDACC,oBAAA,CAGD,oDACC,qBAAA,CAGD,qFACC,oCAAA,CAEA,oDAAA,CACA,mDAAA,CAGD,wCAEC,UAAA,CACA,WAAA,CAEA,gBAAA,CACA,sBAAA",sourcesContent:["\n.result-item {\n\t:deep(a) {\n\t\tborder: 2px solid transparent;\n\t\tborder-radius: var(--border-radius-large) !important;\n\n\t\t&:active,\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t\tborder: 2px solid var(--color-border-maxcontrast);\n\t\t}\n\n\t\t* {\n\t\t\tcursor: pointer;\n\t\t}\n\t}\n\n\t&__icon {\n\t\toverflow: hidden;\n\t\twidth: var(--default-clickable-area);\n\t\theight: var(--default-clickable-area);\n\t\tborder-radius: var(--border-radius);\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: center center;\n\t\tbackground-size: 32px;\n\n\t\t&--rounded {\n\t\t\tborder-radius: calc(var(--default-clickable-area) / 2);\n\t\t}\n\n\t\t&--no-preview {\n\t\t\tbackground-size: 32px;\n\t\t}\n\n\t\t&--with-thumbnail {\n\t\t\tbackground-size: cover;\n\t\t}\n\n\t\t&--with-thumbnail:not(#{&}--rounded) {\n\t\t\tborder: 1px solid var(--color-border);\n\t\t\t// compensate for border\n\t\t\tmax-height: calc(var(--default-clickable-area) - 2px);\n\t\t\tmax-width: calc(var(--default-clickable-area) - 2px);\n\t\t}\n\n\t\timg {\n\t\t\t// Make sure to keep ratio\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\n\t\t\tobject-fit: cover;\n\t\t\tobject-position: center;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const o=s},85618(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".searchable-list__wrapper[data-v-37b50471]{padding:calc(var(--default-grid-baseline)*3);display:flex;flex-direction:column;align-items:center;width:250px}.searchable-list__list[data-v-37b50471]{width:100%;max-height:284px;overflow-y:auto;margin-top:var(--default-grid-baseline);padding:var(--default-grid-baseline)}.searchable-list__list[data-v-37b50471] .button-vue{border-radius:var(--border-radius-large) !important}.searchable-list__list[data-v-37b50471] .button-vue span{font-weight:initial}.searchable-list__empty-content[data-v-37b50471]{margin-top:calc(var(--default-grid-baseline)*3)}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/SearchableList.vue"],names:[],mappings:"AAEC,2CACC,4CAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,WAAA,CAGD,wCACC,UAAA,CACA,gBAAA,CACA,eAAA,CACA,uCAAA,CACA,oCAAA,CAEA,oDACC,mDAAA,CACA,yDACC,mBAAA,CAKH,iDACC,+CAAA",sourcesContent:["\n.searchable-list {\n\t&__wrapper {\n\t\tpadding: calc(var(--default-grid-baseline) * 3);\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t\twidth: 250px;\n\t}\n\n\t&__list {\n\t\twidth: 100%;\n\t\tmax-height: 284px;\n\t\toverflow-y: auto;\n\t\tmargin-top: var(--default-grid-baseline);\n\t\tpadding: var(--default-grid-baseline);\n\n\t\t:deep(.button-vue) {\n\t\t\tborder-radius: var(--border-radius-large) !important;\n\t\t\tspan {\n\t\t\t\tfont-weight: initial;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__empty-content {\n\t\tmargin-top: calc(var(--default-grid-baseline) * 3);\n\t}\n}\n"],sourceRoot:""}]);const o=s},89226(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".local-unified-search[data-v-2b577e50]{--local-search-width: min(calc(250px + var(--dfb017de)), 95vw);box-sizing:border-box;position:relative;height:var(--header-height);width:var(--local-search-width);display:flex;align-items:center;z-index:10;padding-inline:var(--border-width-input-focused);overflow:hidden;inset-inline-end:0}.local-unified-search .local-unified-search__global-search[data-v-2b577e50]{position:absolute;inset-inline-end:var(--default-clickable-area)}.local-unified-search .local-unified-search__input[data-v-2b577e50]{box-sizing:border-box;margin:0;width:var(--local-search-width)}.local-unified-search .local-unified-search__input[data-v-2b577e50] input{padding-inline-end:calc(var(--dfb017de) + var(--default-clickable-area))}.animated-width[data-v-2b577e50]{transition:width var(--animation-quick) linear}.v-leave-active[data-v-2b577e50]{position:absolute !important}.v-enter.local-unified-search[data-v-2b577e50],.v-leave-to.local-unified-search[data-v-2b577e50]{--local-search-width: var(--clickable-area-large)}@media screen and (max-width: 500px){.local-unified-search.local-unified-search--open[data-v-2b577e50]{--local-search-width: 100vw;padding-inline:var(--default-grid-baseline)}.unified-search-menu:has(.local-unified-search--open){position:absolute !important;inset-inline:0}.header-end:has(.local-unified-search--open) > :not(.unified-search-menu){display:none}}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue"],names:[],mappings:"AACA,uCACC,8DAAA,CACA,qBAAA,CACA,iBAAA,CACA,2BAAA,CACA,+BAAA,CACA,YAAA,CACA,kBAAA,CAEA,UAAA,CAEA,gDAAA,CAEA,eAAA,CAEA,kBAAA,CAEA,4EACC,iBAAA,CACA,8CAAA,CAGD,oEACC,qBAAA,CAEA,QAAA,CACA,+BAAA,CAIA,0EAEC,wEAAA,CAKH,iCACC,8CAAA,CAKD,iCACC,4BAAA,CAKA,iGAEC,iDAAA,CAIF,qCACC,kEAEC,2BAAA,CACA,2CAAA,CAID,sDACC,4BAAA,CACA,cAAA,CAGD,0EACC,YAAA,CAAA",sourcesContent:['\n.local-unified-search {\n\t--local-search-width: min(calc(250px + v-bind(\'searchGlobalButtonCSSWidth\')), 95vw);\n\tbox-sizing: border-box;\n\tposition: relative;\n\theight: var(--header-height);\n\twidth: var(--local-search-width);\n\tdisplay: flex;\n\talign-items: center;\n\t// Ensure it overlays the other entries\n\tz-index: 10;\n\t// add some padding for the focus visible outline\n\tpadding-inline: var(--border-width-input-focused);\n\t// hide the overflow - needed for the transition\n\toverflow: hidden;\n\t// Ensure the position is fixed also during "position: absolut" (transition)\n\tinset-inline-end: 0;\n\n\t#{&} &__global-search {\n\t\tposition: absolute;\n\t\tinset-inline-end: var(--default-clickable-area);\n\t}\n\n\t#{&} &__input {\n\t\tbox-sizing: border-box;\n\t\t// override some nextcloud-vue styles\n\t\tmargin: 0;\n\t\twidth: var(--local-search-width);\n\n\t\t// Fixup the spacing so we can fit in the "search globally" button\n\t\t// this can break at any time the component library changes\n\t\t:deep(input) {\n\t\t\t// search global width + close button width\n\t\t\tpadding-inline-end: calc(v-bind(\'searchGlobalButtonCSSWidth\') + var(--default-clickable-area));\n\t\t}\n\t}\n}\n\n.animated-width {\n\ttransition: width var(--animation-quick) linear;\n}\n\n// Make the position absolute during the transition\n// this is needed to "hide" the button behind it\n.v-leave-active {\n\tposition: absolute !important;\n}\n\n.v-enter,\n.v-leave-to {\n\t&.local-unified-search {\n\t\t// Start with only the overlay button\n\t\t--local-search-width: var(--clickable-area-large);\n\t}\n}\n\n@media screen and (max-width: 500px) {\n\t.local-unified-search.local-unified-search--open {\n\t\t// 100% but still show the menu toggle on the very right\n\t\t--local-search-width: 100vw;\n\t\tpadding-inline: var(--default-grid-baseline);\n\t}\n\n\t// when open we need to position it absolute to allow overlay the full bar\n\t:global(.unified-search-menu:has(.local-unified-search--open)) {\n\t\tposition: absolute !important;\n\t\tinset-inline: 0;\n\t}\n\t// Hide all other entries, especially the user menu as it might leak pixels\n\t:global(.header-end:has(.local-unified-search--open) > :not(.unified-search-menu)) {\n\t\tdisplay: none;\n\t}\n}\n'],sourceRoot:""}]);const o=s},91445(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".unified-search-modal-root[data-v-e675c164] .modal-container{box-sizing:border-box;height:min(80vh,800px)}[data-v-e675c164] .unified-search-modal .unified-search-modal__content{display:flex;flex-direction:column;padding-inline:0}.unified-search-modal__header[data-v-e675c164]{background-color:var(--color-main-background);padding-inline-end:12px;padding-block-end:12px;position:sticky;top:6px}.unified-search-modal__filters[data-v-e675c164]{display:flex;flex-wrap:wrap;gap:4px;justify-content:start;padding-top:4px}.unified-search-modal__search-external-resources[data-v-e675c164] span.checkbox-content{padding-top:0;padding-bottom:0}.unified-search-modal__search-external-resources[data-v-e675c164] .checkbox-content__icon{margin:auto !important}.unified-search-modal__search-external-resources--aligned[data-v-e675c164]{margin-inline-start:auto}.unified-search-modal__filters-applied[data-v-e675c164]{padding-top:4px;display:flex;flex-wrap:wrap}.unified-search-modal__no-content[data-v-e675c164]{display:flex;align-items:center;margin-top:.5em;height:70%}.unified-search-modal__results[data-v-e675c164]{overflow:hidden scroll;padding-inline:0 12px;padding-block:0 12px}.unified-search-modal__results .result-title[data-v-e675c164]{color:var(--color-primary-element);font-size:16px;margin-block:8px 4px}.unified-search-modal__results .result-footer[data-v-e675c164]{justify-content:space-between;align-items:center;display:flex}.unified-search-modal__results .result--unfiltered[data-v-e675c164]{opacity:.7}.unified-search-modal__unfiltered-header[data-v-e675c164]{display:flex;flex-direction:column;gap:2px;margin-block:16px 8px;padding-block:12px 0;border-top:1px solid var(--color-border)}.unified-search-modal__unfiltered-label[data-v-e675c164]{font-weight:bold;color:var(--color-text-maxcontrast)}.filter-button__icon[data-v-e675c164]{height:20px;width:20px;object-fit:contain;filter:var(--background-invert-if-bright);padding:11px}@media only screen and (max-height: 400px){.unified-search-modal__results[data-v-e675c164]{overflow:unset}}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/UnifiedSearchModal.vue"],names:[],mappings:"AACA,6DACC,qBAAA,CACA,sBAAA,CAGD,uEACC,YAAA,CACA,qBAAA,CAEA,gBAAA,CAIA,+CAEC,6CAAA,CAEA,uBAAA,CAEA,sBAAA,CAEA,eAAA,CACA,OAAA,CAGD,gDACC,YAAA,CACA,cAAA,CACA,OAAA,CACA,qBAAA,CACA,eAAA,CAIA,wFACC,aAAA,CACA,gBAAA,CAGD,0FACC,sBAAA,CAGD,2EACC,wBAAA,CAIF,wDACC,eAAA,CACA,YAAA,CACA,cAAA,CAGD,mDACC,YAAA,CACA,kBAAA,CACA,eAAA,CACA,UAAA,CAGD,gDACC,sBAAA,CAEA,qBAAA,CACA,oBAAA,CAGC,8DACC,kCAAA,CACA,cAAA,CACA,oBAAA,CAGD,+DACC,6BAAA,CACA,kBAAA,CACA,YAAA,CAGD,oEACC,UAAA,CAMH,0DACC,YAAA,CACA,qBAAA,CACA,OAAA,CACA,qBAAA,CACA,oBAAA,CACA,wCAAA,CAGD,yDACC,gBAAA,CACA,mCAAA,CAIF,sCACC,WAAA,CACA,UAAA,CACA,kBAAA,CACA,yCAAA,CACA,YAAA,CAID,2CACC,gDACC,cAAA,CAAA",sourcesContent:["\n.unified-search-modal-root :deep(.modal-container) {\n\tbox-sizing: border-box;\n\theight: min(80vh, 800px);\n}\n\n:deep(.unified-search-modal .unified-search-modal__content) {\n\tdisplay: flex;\n\tflex-direction: column;\n\t// No padding to prevent scrollbar misplacement\n\tpadding-inline: 0;\n}\n\n.unified-search-modal {\n\t&__header {\n\t\t// Add background to prevent leaking scrolled content (because of sticky position)\n\t\tbackground-color: var(--color-main-background);\n\t\t// Fix padding to have the input centered\n\t\tpadding-inline-end: 12px;\n\t\t// Some padding to make elements scrolled under sticky position look nicer\n\t\tpadding-block-end: 12px;\n\t\t// Make it sticky with the input margin for the label\n\t\tposition: sticky;\n\t\ttop: 6px;\n\t}\n\n\t&__filters {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tgap: 4px;\n\t\tjustify-content: start;\n\t\tpadding-top: 4px;\n\t}\n\n\t&__search-external-resources {\n\t\t:deep(span.checkbox-content) {\n\t\t\tpadding-top: 0;\n\t\t\tpadding-bottom: 0;\n\t\t}\n\n\t\t:deep(.checkbox-content__icon) {\n\t\t\tmargin: auto !important;\n\t\t}\n\n\t\t&--aligned {\n\t\t\tmargin-inline-start: auto;\n\t\t}\n\t}\n\n\t&__filters-applied {\n\t\tpadding-top: 4px;\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t}\n\n\t&__no-content {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tmargin-top: 0.5em;\n\t\theight: 70%;\n\t}\n\n\t&__results {\n\t\toverflow: hidden scroll;\n\t\t// Adjust padding to match container but keep the scrollbar on the very end\n\t\tpadding-inline: 0 12px;\n\t\tpadding-block: 0 12px;\n\n\t\t.result {\n\t\t\t&-title {\n\t\t\t\tcolor: var(--color-primary-element);\n\t\t\t\tfont-size: 16px;\n\t\t\t\tmargin-block: 8px 4px;\n\t\t\t}\n\n\t\t\t&-footer {\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\n\t\t\t&--unfiltered {\n\t\t\t\topacity: 0.7;\n\t\t\t}\n\t\t}\n\n\t}\n\n\t&__unfiltered-header {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tgap: 2px;\n\t\tmargin-block: 16px 8px;\n\t\tpadding-block: 12px 0;\n\t\tborder-top: 1px solid var(--color-border);\n\t}\n\n\t&__unfiltered-label {\n\t\tfont-weight: bold;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n}\n\n.filter-button__icon {\n\theight: 20px;\n\twidth: 20px;\n\tobject-fit: contain;\n\tfilter: var(--background-invert-if-bright);\n\tpadding: 11px; // align with text to fit at least 44px\n}\n\n// Ensure modal is accessible on small devices\n@media only screen and (max-height: 400px) {\n\t.unified-search-modal__results {\n\t\toverflow: unset;\n\t}\n}\n"],sourceRoot:""}]);const o=s},45140(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".unified-search-menu[data-v-bd38cb24]{display:flex;align-items:center;justify-content:center}","",{version:3,sources:["webpack://./core/src/views/UnifiedSearch.vue"],names:[],mappings:"AAEA,sCACC,YAAA,CACA,kBAAA,CACA,sBAAA",sourcesContent:["\n// this is needed to allow us overriding component styles (focus-visible)\n.unified-search-menu {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n"],sourceRoot:""}]);const o=s}},i={};function r(t){var n=i[t];if(void 0!==n)return n.exports;var a=i[t]={id:t,loaded:!1,exports:{}};return e[t].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=e,t=[],r.O=(e,i,n,a)=>{if(!i){var s=1/0;for(d=0;d=a)&&Object.keys(r.O).every(t=>r.O[t](i[l]))?i.splice(l--,1):(o=!1,a0&&t[d-1][2]>a;d--)t[d]=t[d-1];t[d]=[i,n,a]},r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.e=()=>Promise.resolve(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r.j=6776,(()=>{r.b="undefined"!=typeof document&&document.baseURI||self.location.href;var t={6776:0};r.O.j=e=>0===t[e];var e=(e,i)=>{var n,a,[s,o,l]=i,c=0;if(s.some(e=>0!==t[e])){for(n in o)r.o(o,n)&&(r.m[n]=o[n]);if(l)var d=l(r)}for(e&&e(i);cr(57558));n=r.O(n)})(); -//# sourceMappingURL=core-unified-search.js.map?v=83eb15bc17c0077f8b00 \ No newline at end of file +(()=>{"use strict";var t,e={86850(t,e,i){var r=i(21777),n=i(53334),a=i(35947),s=i(10810),o=i(85471),l=i(9165),c=i(61338),d=i(97786),u=i(46855),h=i(22028),A=i(6695),p=i(53429),f=i(74095),m=i(16879);const C=(0,o.pM)({__name:"UnifiedSearchLocalSearchBar",props:{query:null,open:{type:Boolean}},emits:["update:open","update:query","global-search"],setup(t,{emit:e}){const i=t;(0,o.$9)((t,e)=>({dfb017de:e.searchGlobalButtonCSSWidth}));const r=(0,o.KR)();(0,o.nT)(()=>{i.open&&r.value&&r.value.focus()});const a=(0,p.al)(),s=(0,o.KR)(),{width:c}=(0,d.Lhy)(s),u=(0,o.EW)(()=>c.value?`${c.value}px`:"var(--default-clickable-area)");return{__sfc:!0,props:i,emit:e,searchInput:r,isMobile:a,searchGlobalButton:s,searchGlobalButtonWidth:c,searchGlobalButtonCSSWidth:u,clearAndCloseSearch:function(){e("update:query",""),e("update:open",!1)},mdiClose:l.hyP,mdiCloudSearchOutline:l.ydM,t:n.Tl,NcButton:f.A,NcIconSvgWrapper:A.A,NcInputField:m.A}}});var v=i(85072),g=i.n(v),b=i(97825),y=i.n(b),_=i(77659),x=i.n(_),w=i(55056),k=i.n(w),S=i(10540),F=i.n(S),B=i(41113),D=i.n(B),I=i(89226),E={};E.styleTagTransform=D(),E.setAttributes=k(),E.insert=x().bind(null,"head"),E.domAPI=y(),E.insertStyleElement=F(),g()(I.A,E),I.A&&I.A.locals&&I.A.locals;var M=i(14486);const R=(0,M.A)(C,function(){var t=this,e=t._self._c,i=t._self._setupProxy;return e("Transition",[t.open?e("div",{staticClass:"local-unified-search animated-width",class:{"local-unified-search--open":t.open}},[e(i.NcInputField,{ref:"searchInput",staticClass:"local-unified-search__input animated-width",attrs:{"aria-label":i.t("core","Search in current app"),placeholder:i.t("core","Search in current app"),"show-trailing-button":"","trailing-button-label":i.t("core","Clear search"),"model-value":t.query},on:{"update:value":function(e){return t.$emit("update:query",e)},"trailing-button-click":i.clearAndCloseSearch},scopedSlots:t._u([{key:"trailing-button-icon",fn:function(){return[e(i.NcIconSvgWrapper,{attrs:{path:i.mdiClose}})]},proxy:!0}],null,!1,3585538455)}),t._v(" "),e(i.NcButton,{ref:"searchGlobalButton",staticClass:"local-unified-search__global-search",attrs:{"aria-label":i.t("core","Search everywhere"),title:i.t("core","Search everywhere"),variant:"tertiary-no-background"},on:{click:function(e){return t.$emit("global-search")}},scopedSlots:t._u([i.isMobile?null:{key:"default",fn:function(){return[t._v("\n\t\t\t\t"+t._s(i.t("core","Search everywhere"))+"\n\t\t\t")]},proxy:!0},{key:"icon",fn:function(){return[e(i.NcIconSvgWrapper,{attrs:{path:i.mdiCloudSearchOutline}})]},proxy:!0}],null,!0)})],1):t._e()])},[],!1,null,"2b577e50",null).exports;var N=i(81222),P=i(57505),L=i(24764),U=i(41944),T=i(32073),H=i(94219),z=i(42507),V=i(31922),q=i(33691);const O={name:"CalendarRangeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Q=(0,M.A)(O,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon calendar-range-outline-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M7 11H9V13H7V11M21 5V19C21 20.11 20.11 21 19 21H5C3.89 21 3 20.1 3 19V5C3 3.9 3.9 3 5 3H6V1H8V3H16V1H18V3H19C20.11 3 21 3.9 21 5M5 7H19V5H5V7M19 19V9H5V19H19M15 13H17V11H15V13M11 13H13V11H11V13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports;var $=i(26690);const G={name:"FilterIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Y=(0,M.A)(G,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon filter-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,j={name:"ListBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},W=(0,M.A)(j,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon list-box-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M7 7H9V9H7V7M7 11H9V13H7V11M7 15H9V17H7V15M17 17H11V15H17V17M17 13H11V11H17V13M17 9H11V7H17V9Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,K={name:"MagnifyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Z=(0,M.A)(K,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon magnify-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports;var J=i(48198),X=i(83947);const tt={name:"CalendarRangeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},et=(0,M.A)(tt,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon calendar-range-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(e){return t.$emit("click",e)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9,10H7V12H9V10M13,10H11V12H13V10M17,10H15V12H17V10M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V8H19V19Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,it={name:"CustomDateRangeModal",components:{NcButton:f.A,NcModal:X.A,CalendarRangeIcon:et,NcDateTimePicker:J.A},props:{isOpen:{type:Boolean,required:!0}},data:()=>({dateFilter:{startFrom:null,endAt:null}}),computed:{isModalOpen:{get(){return this.isOpen},set(t){this.$emit("update:is-open",t)}}},methods:{closeModal(){this.isModalOpen=!1},applyCustomRange(){this.$emit("set:custom-date-range",this.dateFilter),this.closeModal()}}};var rt=i(12667),nt={};nt.styleTagTransform=D(),nt.setAttributes=k(),nt.insert=x().bind(null,"head"),nt.domAPI=y(),nt.insertStyleElement=F(),g()(rt.A,nt),rt.A&&rt.A.locals&&rt.A.locals;const at=(0,M.A)(it,function(){var t=this,e=t._self._c;return t.isModalOpen?e("NcModal",{attrs:{id:"unified-search",name:t.t("core","Custom date range"),show:t.isModalOpen,size:"small","clear-view-delay":0,title:t.t("core","Custom date range")},on:{"update:show":function(e){t.isModalOpen=e},close:t.closeModal}},[e("div",{staticClass:"unified-search-custom-date-modal"},[e("h1",[t._v(t._s(t.t("core","Custom date range")))]),t._v(" "),e("div",{staticClass:"unified-search-custom-date-modal__pickers"},[e("NcDateTimePicker",{attrs:{id:"unifiedsearch-custom-date-range-start",label:t.t("core","Pick start date"),type:"date"},model:{value:t.dateFilter.startFrom,callback:function(e){t.$set(t.dateFilter,"startFrom",e)},expression:"dateFilter.startFrom"}}),t._v(" "),e("NcDateTimePicker",{attrs:{id:"unifiedsearch-custom-date-range-end",label:t.t("core","Pick end date"),type:"date"},model:{value:t.dateFilter.endAt,callback:function(e){t.$set(t.dateFilter,"endAt",e)},expression:"dateFilter.endAt"}})],1),t._v(" "),e("div",{staticClass:"unified-search-custom-date-modal__footer"},[e("NcButton",{on:{click:t.applyCustomRange},scopedSlots:t._u([{key:"icon",fn:function(){return[e("CalendarRangeIcon",{attrs:{size:20}})]},proxy:!0}],null,!1,3084610734)},[t._v("\n\t\t\t\t"+t._s(t.t("core","Search in date range"))+"\n\t\t\t\t")])],1)])]):t._e()},[],!1,null,"2907014b",null).exports;var st=i(54562),ot=i(82182);const lt={name:"SearchableList",components:{IconMagnify:Z,IconAlertCircleOutline:i(57578).A,NcAvatar:U.A,NcButton:f.A,NcEmptyContent:z.A,NcPopover:st.A,NcTextField:ot.A},props:{labelText:{type:String,default:"this is a label"},searchList:{type:Array,required:!0},emptyContentText:{type:String,required:!0}},data:()=>({opened:!1,error:!1,searchTerm:""}),computed:{filteredList(){return this.searchList.filter(t=>!this.searchTerm.toLowerCase().length||["displayName"].some(e=>t[e].toLowerCase().includes(this.searchTerm.toLowerCase())))}},methods:{clearSearch(){this.searchTerm=""},itemSelected(t){this.$emit("item-selected",t),this.clearSearch(),this.opened=!1},searchTermChanged(t){this.$emit("search-term-change",t)}}};var ct=i(85618),dt={};dt.styleTagTransform=D(),dt.setAttributes=k(),dt.insert=x().bind(null,"head"),dt.domAPI=y(),dt.insertStyleElement=F(),g()(ct.A,dt),ct.A&&ct.A.locals&&ct.A.locals;const ut=(0,M.A)(lt,function(){var t=this,e=t._self._c;return e("NcPopover",{attrs:{shown:t.opened},on:{show:function(e){t.opened=!0},hide:function(e){t.opened=!1}},scopedSlots:t._u([{key:"trigger",fn:function(){return[t._t("trigger")]},proxy:!0}],null,!0)},[t._v(" "),e("div",{staticClass:"searchable-list__wrapper"},[e("NcTextField",{attrs:{label:t.labelText,"trailing-button-icon":"close","show-trailing-button":""!==t.searchTerm},on:{"update:value":t.searchTermChanged,"trailing-button-click":t.clearSearch},model:{value:t.searchTerm,callback:function(e){t.searchTerm=e},expression:"searchTerm"}},[e("IconMagnify",{attrs:{size:20}})],1),t._v(" "),t.filteredList.length>0?e("ul",{staticClass:"searchable-list__list"},t._l(t.filteredList,function(i){return e("li",{key:i.id,attrs:{title:i.displayName,role:"button"}},[e("NcButton",{attrs:{alignment:"start",variant:"tertiary",wide:!0},on:{click:function(e){return t.itemSelected(i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[i.isUser?e("NcAvatar",{attrs:{user:i.user,"hide-user-status":""}}):e("NcAvatar",{attrs:{"is-no-user":!0,"display-name":i.displayName,"hide-user-status":""}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t"+t._s(i.displayName)+"\n\t\t\t\t")])],1)}),0):e("div",{staticClass:"searchable-list__empty-content"},[e("NcEmptyContent",{attrs:{name:t.emptyContentText},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconAlertCircleOutline")]},proxy:!0}])})],1)],1)])},[],!1,null,"37b50471",null).exports,ht={name:"SearchFilterChip",components:{CloseIcon:i(66001).A},props:{text:{type:String,required:!0},pretext:{type:String,required:!0}},methods:{deleteChip(){this.$emit("delete",this.filter)}}};var At=i(62247),pt={};pt.styleTagTransform=D(),pt.setAttributes=k(),pt.insert=x().bind(null,"head"),pt.domAPI=y(),pt.insertStyleElement=F(),g()(At.A,pt),At.A&&At.A.locals&&At.A.locals;const ft=(0,M.A)(ht,function(){var t=this,e=t._self._c;return e("div",{staticClass:"chip"},[e("span",{staticClass:"icon"},[t._t("icon"),t._v(" "),t.pretext.length?e("span",[t._v(" "+t._s(t.pretext)+" : ")]):t._e()],2),t._v(" "),e("span",{staticClass:"text"},[t._v(t._s(t.text))]),t._v(" "),e("span",{staticClass:"close-icon",on:{click:t.deleteChip}},[e("CloseIcon",{attrs:{size:18}})],1)])},[],!1,null,"60a863d2",null).exports,mt={name:"SearchResult",components:{NcListItem:i(1522).A},props:{thumbnailUrl:{type:String,default:null},title:{type:String,required:!0},subline:{type:String,default:null},resourceUrl:{type:String,default:null},icon:{type:String,default:""},rounded:{type:Boolean,default:!1},query:{type:String,default:""},focused:{type:Boolean,default:!1}},data:()=>({thumbnailHasError:!1}),watch:{thumbnailUrl(){this.thumbnailHasError=!1}},methods:{isValidIconOrPreviewUrl:t=>/^https?:\/\//.test(t)||t.startsWith("/"),thumbnailErrorHandler(){this.thumbnailHasError=!0}}};var Ct=i(11121),vt={};vt.styleTagTransform=D(),vt.setAttributes=k(),vt.insert=x().bind(null,"head"),vt.domAPI=y(),vt.insertStyleElement=F(),g()(Ct.A,vt),Ct.A&&Ct.A.locals&&Ct.A.locals;const gt=(0,M.A)(mt,function(){var t=this,e=t._self._c;return e("NcListItem",{staticClass:"result-item",attrs:{name:t.title,bold:!1,href:t.resourceUrl,target:"_self"},scopedSlots:t._u([{key:"icon",fn:function(){return[e("div",{staticClass:"result-item__icon",class:{"result-item__icon--rounded":t.rounded,"result-item__icon--no-preview":!t.isValidIconOrPreviewUrl(t.thumbnailUrl),"result-item__icon--with-thumbnail":t.isValidIconOrPreviewUrl(t.thumbnailUrl),[t.icon]:!t.isValidIconOrPreviewUrl(t.icon)},style:{backgroundImage:t.isValidIconOrPreviewUrl(t.icon)?`url(${t.icon})`:""},attrs:{"aria-hidden":"true"}},[t.isValidIconOrPreviewUrl(t.thumbnailUrl)&&!t.thumbnailHasError?e("img",{attrs:{src:t.thumbnailUrl},on:{error:t.thumbnailErrorHandler}}):t._e()])]},proxy:!0},{key:"subname",fn:function(){return[t._v("\n\t\t"+t._s(t.subline)+"\n\t")]},proxy:!0}])})},[],!1,null,"ca416b22",null).exports,bt=null===(yt=(0,r.HW)())?(0,a.YK)().setApp("core").build():(0,a.YK)().setApp("core").setUid(yt.uid).build();var yt;const _t=(0,a.YK)().setApp("unified-search").detectUser().build();var xt=i(44368),wt=i(63814);async function kt(){try{const{data:t}=await xt.Ay.get((0,wt.KT)("search/providers"),{params:{from:window.location.pathname.replace("/index.php","")+window.location.search}});if("ocs"in t&&"data"in t.ocs&&Array.isArray(t.ocs.data)&&t.ocs.data.length>0)return t.ocs.data}catch(t){bt.error(t)}return[]}async function St({searchTerm:t}){const{data:{contacts:e}}=await xt.Ay.post((0,wt.Jv)("/contactsmenu/contacts"),{filter:t});if(!t){let t=(0,r.HW)();return t={id:t.uid,fullName:t.displayName,emailAddresses:[]},e.unshift(t),e}return e}const Ft=(0,s.nY)("search",{state:()=>({externalFilters:[]}),actions:{registerExternalFilter({id:t,appId:e,searchFrom:i,label:r,callback:n,icon:a}){this.externalFilters.push({id:t,appId:e,searchFrom:i,name:r,callback:n,icon:a,isPluginFilter:!0})}}}),Bt=(0,o.pM)({name:"UnifiedSearchModal",components:{IconArrowRight:q.A,IconAccountGroup:V.A,IconCalendarRange:Q,IconDotsHorizontal:$.A,IconFilter:Y,IconListBox:W,IconMagnify:Z,CustomDateRangeModal:at,FilterChip:ft,NcActions:L.A,NcActionButton:P.A,NcAvatar:U.A,NcButton:f.A,NcEmptyContent:z.A,NcDialog:H.A,NcInputField:m.A,NcCheckboxRadioSwitch:T.A,SearchableList:ut,SearchResult:gt},props:{open:{type:Boolean,required:!0},query:{type:String,default:""},localSearch:{type:Boolean,default:!1}},emits:["update:open","update:query"],setup(){const t=(0,d.ZDG)(),e=Ft();return{t:n.t,currentLocation:t,externalFilters:e.externalFilters}},data(){return{providers:[],providerActionMenuIsOpen:!1,dateActionMenuIsOpen:!1,providerResultLimit:5,dateFilter:{id:"date",type:"date",text:"",startFrom:null,endAt:null},personFilter:{id:"person",type:"person",name:""},filteredProviders:[],searching:!1,searchQuery:"",lastSearchQuery:"",placessearchTerm:"",dateTimeFilter:null,filters:[],results:[],contacts:[],showDateRangeModal:!1,internalIsVisible:this.open,initialized:!1,searchExternalResources:!1,minSearchLength:(0,N.C)("unified-search","min-search-length",1)}},computed:{isEmptySearch(){return 0===this.searchQuery.length},hasNoResults(){return!this.isEmptySearch&&0===this.results.length},isSearchQueryTooShort(){return this.searchQuery.lengtht.isExternalProvider)},hasContentFilters(){return this.filters.some(t=>"date"===t.type||"person"===t.type)},filteredResults(){const t=t=>{if("in-folder"!==t.id)return!1;const e=t.extraParams?.path;return!e||"/"===e||""===e};return this.hasContentFilters?this.results.filter(e=>!0===e.supportsActiveFilters&&!t(e)):this.results.filter(e=>!t(e))},filteredResultUrls(){const t=new Set;return this.filteredResults.forEach(e=>{e.results.forEach(e=>{e.resourceUrl&&t.add(e.resourceUrl)})}),t},unfilteredResults(){return this.hasContentFilters?this.results.filter(t=>!1===t.supportsActiveFilters).map(t=>({...t,results:t.results.filter(t=>!this.filteredResultUrls.has(t.resourceUrl))})).filter(t=>t.results.length>0):[]}},watch:{open(){this.open&&(this.focusInput(),this.initialized||Promise.all([kt(),St({searchTerm:""})]).then(([t,e])=>{this.providers=this.groupProvidersByApp([...t,...this.externalFilters]),this.contacts=this.mapContacts(e),_t.debug("Search providers and contacts initialized:",{providers:this.providers,contacts:this.contacts}),this.initialized=!0}).catch(t=>{_t.error(t)}),this.searchQuery&&this.find(this.searchQuery))},query:{immediate:!0,handler(){this.searchQuery=this.query}},searchQuery:{handler(){this.$emit("update:query",this.searchQuery)}},searchExternalResources(){this.searchQuery&&this.find(this.searchQuery)}},mounted(){(0,c.B1)("nextcloud:unified-search:add-filter",this.handlePluginFilter)},methods:{onUpdateOpen(t){t||(this.$emit("update:open",!1),this.$emit("update:query",""))},searchLocally(){this.$emit("update:query",this.searchQuery),this.$emit("update:open",!1)},focusInput(){this.$nextTick(()=>{this.$refs.searchInput?.focus()})},find(t,e=null){if(this.isSearchQueryTooShort)return this.results=[],void(this.searching=!1);t!==this.lastSearchQuery&&(this.providerResultLimit=5),this.lastSearchQuery=t,this.searching=!0;const i=[];(e||(this.filteredProviders.length>0?this.filteredProviders:this.providers)).forEach(e=>{const r={type:e.searchFrom??e.id,query:t,cursor:null,extraQueries:e.extraParams},n=this.filters.filter(t=>"provider"!==t.type).map(t=>t.type),a=0===n.length||n.every(t=>this.providerIsCompatibleWithFilters(e,[t])),s=e.searchFrom?this.providers.find(t=>t.id===e.searchFrom)??e:e;this.filters.filter(t=>"provider"!==t.type&&this.providerIsCompatibleWithFilters(e,[t.type])).forEach(t=>{switch(t.type){case"date":s.filters?.since&&s.filters?.until&&(r.since=this.dateFilter.startFrom,r.until=this.dateFilter.endAt);break;case"person":s.filters?.person&&(r.person=this.personFilter.user)}}),this.providerResultLimit>5&&(r.limit=this.providerResultLimit,_t.debug("Limiting search to",r.limit));const o=!this.searchExternalResources&&e.isExternalProvider,l=this.filteredProviders.some(t=>t.id===e.id);!o||l?(0,function({type:t,query:e,cursor:i,since:r,until:n,limit:a,person:s,extraQueries:o={}}){const l=xt.Ay.CancelToken.source();return{request:async()=>xt.Ay.get((0,wt.KT)("search/providers/{type}/search",{type:t}),{cancelToken:l.token,params:{term:e,cursor:i,since:r,until:n,limit:a,person:s,from:window.location.pathname.replace("/index.php","")+window.location.search,...o}}),cancel:l.cancel}}(r).request)().then(t=>{i.push({...e,results:t.data.ocs.data.entries,limit:r.limit??5,supportsActiveFilters:a}),_t.debug("Unified search results:",{results:this.results,newResults:i}),this.updateResults(i),this.searching=!1}):this.searching=!1})},updateResults(t){let e=[...this.results];this.filters.length>0&&(e=e.filter(t=>this.filters.some(e=>e.id===t.id))),t.forEach(t=>{const i=e.findIndex(e=>e.id===t.id);-1!==i?0===t.results.length?e.splice(i,1):e.splice(i,1,t):t.results.length>0&&e.push(t)});const i=e.slice(0);i.sort((t,e)=>{const i=this.providers.find(e=>e.id===t.id),r=this.providers.find(t=>t.id===e.id);return(i?i.order:0)-(r?r.order:0)}),this.results=i},mapContacts:t=>t.map(t=>({displayName:t.fullName,isNoUser:!1,subname:t.emailAddresses[0]?t.emailAddresses[0]:"",icon:"",user:t.id,isUser:t.isUser})),filterContacts(t){St({searchTerm:t}).then(e=>{this.contacts=this.mapContacts(e),_t.debug(`Contacts filtered by ${t}`,{contacts:this.contacts})})},applyPersonFilter(t){const e=this.filters.findIndex(e=>e.id===t.id);-1===e?(this.personFilter.id=t.id,this.personFilter.user=t.user,this.personFilter.name=t.displayName,this.filters.push(this.personFilter)):(this.filters[e].id=t.id,this.filters[e].user=t.user,this.filters[e].name=t.displayName),this.debouncedFind(this.searchQuery),_t.debug("Person filter applied",{person:t})},async loadMoreResultsForProvider(t){this.providerResultLimit+=5,this.find(this.searchQuery,[t])},addProviderFilter(t,e=!1){if(_t.debug("Applying provider filter",{providerFilter:t,loadMoreResultsForProvider:e}),!t.id)return;if(t.isPluginFilter){const e=this.filteredProviders.some(e=>e.id===t.id);t.callback(!e)}this.providerResultLimit=e?this.providerResultLimit:5,this.providerActionMenuIsOpen=!1;const i=this.filteredProviders.findIndex(e=>e.id===t.id);i>-1&&(this.filteredProviders.splice(i,1),this.filters=this.syncProviderFilters(this.filters,this.filteredProviders)),this.filteredProviders.push({...t,type:t.type||"provider",isPluginFilter:t.isPluginFilter||!1}),this.filters=this.syncProviderFilters(this.filters,this.filteredProviders),_t.debug("Search filters (newly added)",{filters:this.filters}),this.debouncedFind(this.searchQuery)},removeFilter(t){if("provider"===t.type){for(let e=0;e{const n=t.id;"provider"===t.type&&(e.some(t=>t.id===n)||i.splice(r,1))}),e.forEach(t=>{const e=t.id;"provider"===t.type&&(i.some(t=>t.id===e)||i.push(t))}),i},updateDateFilter(){const t=this.filters.findIndex(t=>"date"===t.id);-1!==t?this.filters[t]=this.dateFilter:this.filters.push(this.dateFilter),this.debouncedFind(this.searchQuery)},applyQuickDateRange(t){this.dateActionMenuIsOpen=!1;const e=new Date;let i,r;switch(t){case"today":i=new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0),r=new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999),this.dateFilter.text=(0,n.t)("core","Today");break;case"7days":i=new Date(e.getFullYear(),e.getMonth(),e.getDate()-6,0,0,0,0),this.dateFilter.text=(0,n.t)("core","Last 7 days");break;case"30days":i=new Date(e.getFullYear(),e.getMonth(),e.getDate()-29,0,0,0,0),this.dateFilter.text=(0,n.t)("core","Last 30 days");break;case"thisyear":i=new Date(e.getFullYear(),0,1,0,0,0,0),r=new Date(e.getFullYear(),11,31,23,59,59,999),this.dateFilter.text=(0,n.t)("core","This year");break;case"lastyear":i=new Date(e.getFullYear()-1,0,1,0,0,0,0),r=new Date(e.getFullYear()-1,11,31,23,59,59,999),this.dateFilter.text=(0,n.t)("core","Last year");break;case"custom":return void(this.showDateRangeModal=!0);default:return}this.dateFilter.startFrom=i,this.dateFilter.endAt=r,this.updateDateFilter()},setCustomDateRange(t){_t.debug("Custom date range",{range:t}),this.dateFilter.startFrom=t.startFrom,this.dateFilter.endAt=t.endAt,this.dateFilter.text=(0,n.t)("core","Between {startDate} and {endDate}",{startDate:this.dateFilter.startFrom.toLocaleDateString([(0,n.lO)()]),endDate:this.dateFilter.endAt.toLocaleDateString([(0,n.lO)()])}),this.updateDateFilter()},handlePluginFilter(t){_t.debug("Handling plugin filter",{addFilterEvent:t});for(let e=0;ee.id===t.id);r>-1&&(i.extraParams=t.filterParams,this.filteredProviders[e]=i);break}}this.debouncedFind(this.searchQuery)},groupProvidersByApp(t){const e={};t.forEach(t=>{const i=t.appId?t.appId:"general";e[i]||(e[i]=[]),e[i].push(t)});const i=[];return Object.values(e).forEach(t=>{i.push(...t)}),i},providerIsCompatibleWithFilters(t,e){const i=t.searchFrom?this.providers.find(e=>e.id===t.searchFrom)??t:t;return e.every(t=>{switch(t){case"date":return void 0!==i.filters?.since&&void 0!==i.filters?.until;case"person":return void 0!==i.filters?.person;default:return void 0!==i.filters?.[t]}})},async enableAllProviders(){this.providers.forEach(async(t,e)=>{this.providers[e].disabled=!1})}}});var Dt=i(10672),It={};It.styleTagTransform=D(),It.setAttributes=k(),It.insert=x().bind(null,"head"),It.domAPI=y(),It.insertStyleElement=F(),g()(Dt.A,It),Dt.A&&Dt.A.locals&&Dt.A.locals;const Et=(0,M.A)(Bt,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("NcDialog",{ref:"unifiedSearchModal",staticClass:"unified-search-modal-root",attrs:{id:"unified-search","content-classes":"unified-search-modal__content","dialog-classes":"unified-search-modal",name:t.t("core","Unified search"),open:t.open,size:"normal"},on:{"update:open":t.onUpdateOpen}},[e("CustomDateRangeModal",{staticClass:"unified-search__date-range",attrs:{"is-open":t.showDateRangeModal},on:{"set:custom-date-range":t.setCustomDateRange,"update:is-open":function(e){t.showDateRangeModal=e}}}),t._v(" "),e("div",{staticClass:"unified-search-modal__header"},[e("NcInputField",{ref:"searchInput",attrs:{"data-cy-unified-search-input":"",type:"text",label:t.t("core","Search apps, files, tags, messages")+"..."},on:{"update:value":t.debouncedFind},model:{value:t.searchQuery,callback:function(e){t.searchQuery=e},expression:"searchQuery"}}),t._v(" "),e("div",{staticClass:"unified-search-modal__filters",attrs:{"data-cy-unified-search-filters":""}},[e("NcActions",{attrs:{open:t.providerActionMenuIsOpen,"menu-name":t.t("core","Places"),"data-cy-unified-search-filter":"places"},on:{"update:open":function(e){t.providerActionMenuIsOpen=e}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconListBox",{attrs:{size:20}})]},proxy:!0}])},[t._v(" "),t._l(t.providers,function(i){return e("NcActionButton",{key:`${i.id}-${i.name.replace(/\s/g,"")}`,attrs:{disabled:i.disabled},on:{click:function(e){return t.addProviderFilter(i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("img",{staticClass:"filter-button__icon",attrs:{src:i.icon,alt:""}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t"+t._s(i.name)+"\n\t\t\t\t")])})],2),t._v(" "),e("NcActions",{attrs:{open:t.dateActionMenuIsOpen,"menu-name":t.t("core","Date"),"data-cy-unified-search-filter":"date"},on:{"update:open":function(e){t.dateActionMenuIsOpen=e}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconCalendarRange",{attrs:{size:20}})]},proxy:!0}])},[t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("today")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Today"))+"\n\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("7days")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Last 7 days"))+"\n\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("30days")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Last 30 days"))+"\n\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("thisyear")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","This year"))+"\n\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("lastyear")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Last year"))+"\n\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{"close-after-click":!0},on:{click:function(e){return t.applyQuickDateRange("custom")}}},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Custom date range"))+"\n\t\t\t\t")])],1),t._v(" "),e("SearchableList",{attrs:{"label-text":t.t("core","Search people"),"search-list":t.userContacts,"empty-content-text":t.t("core","Not found"),"data-cy-unified-search-filter":"people"},on:{"search-term-change":t.debouncedFilterContacts,"item-selected":t.applyPersonFilter},scopedSlots:t._u([{key:"trigger",fn:function(){return[e("NcButton",{scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconAccountGroup",{attrs:{size:20}})]},proxy:!0}])},[t._v("\n\t\t\t\t\t\t"+t._s(t.t("core","People"))+"\n\t\t\t\t\t")])]},proxy:!0}])}),t._v(" "),t.localSearch?e("NcButton",{attrs:{"data-cy-unified-search-filter":"current-view"},on:{click:t.searchLocally},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconFilter",{attrs:{size:20}})]},proxy:!0}],null,!1,4275912387)},[t._v("\n\t\t\t\t"+t._s(t.t("core","Filter in current view"))+"\n\t\t\t\t")]):t._e(),t._v(" "),t.hasExternalResources?e("NcCheckboxRadioSwitch",{staticClass:"unified-search-modal__search-external-resources",class:{"unified-search-modal__search-external-resources--aligned":t.localSearch},attrs:{type:"switch"},model:{value:t.searchExternalResources,callback:function(e){t.searchExternalResources=e},expression:"searchExternalResources"}},[t._v("\n\t\t\t\t"+t._s(t.t("core","Search connected services"))+"\n\t\t\t")]):t._e()],1),t._v(" "),e("div",{staticClass:"unified-search-modal__filters-applied"},t._l(t.filters,function(i){return e("FilterChip",{key:i.id,attrs:{text:i.name??i.text,pretext:""},on:{delete:function(e){return t.removeFilter(i)}},scopedSlots:t._u([{key:"icon",fn:function(){return["person"===i.type?e("NcAvatar",{attrs:{user:i.user,size:24,"disable-menu":"","hide-user-status":"","hide-favorite":!1}}):"date"===i.type?e("IconCalendarRange"):e("img",{attrs:{src:i.icon,alt:""}})]},proxy:!0}],null,!0)})}),1)],1),t._v(" "),t.showEmptyContentInfo?e("div",{staticClass:"unified-search-modal__no-content"},[e("NcEmptyContent",{attrs:{name:t.emptyContentMessage},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconMagnify",{attrs:{size:64}})]},proxy:!0}],null,!1,125778896)})],1):e("div",{staticClass:"unified-search-modal__results"},[e("h3",{staticClass:"hidden-visually"},[t._v("\n\t\t\t"+t._s(t.t("core","Results"))+"\n\t\t")]),t._v(" "),t._l(t.filteredResults,function(i){return e("div",{key:i.id,staticClass:"result"},[e("h4",{staticClass:"result-title",attrs:{id:`unified-search-result-${i.id}`}},[t._v("\n\t\t\t\t"+t._s(i.name)+"\n\t\t\t")]),t._v(" "),e("ul",{staticClass:"result-items",attrs:{"aria-labelledby":`unified-search-result-${i.id}`}},t._l(i.results,function(i,r){return e("SearchResult",t._b({key:r},"SearchResult",i,!1))}),1),t._v(" "),e("div",{staticClass:"result-footer"},[i.results.length===i.limit?e("NcButton",{attrs:{variant:"tertiary-no-background"},on:{click:function(e){return t.loadMoreResultsForProvider(i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconDotsHorizontal",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Load more results"))+"\n\t\t\t\t\t")]):t._e(),t._v(" "),i.inAppSearch?e("NcButton",{attrs:{alignment:"end-reverse",variant:"tertiary-no-background"},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconArrowRight",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t"+t._s(t.t("core","Search in"))+" "+t._s(i.name)+"\n\t\t\t\t\t")]):t._e()],1)])}),t._v(" "),t.unfilteredResults.length>0?[e("div",{staticClass:"unified-search-modal__unfiltered-header"},[e("span",{staticClass:"unified-search-modal__unfiltered-label"},[t._v(t._s(t.t("core","Partial matches")))])]),t._v(" "),t._l(t.unfilteredResults,function(i){return e("div",{key:`unfiltered-${i.id}`,staticClass:"result result--unfiltered"},[e("h4",{staticClass:"result-title",attrs:{id:`unified-search-result-unfiltered-${i.id}`}},[t._v("\n\t\t\t\t\t"+t._s(i.name)+"\n\t\t\t\t")]),t._v(" "),e("ul",{staticClass:"result-items",attrs:{"aria-labelledby":`unified-search-result-unfiltered-${i.id}`}},t._l(i.results,function(i,r){return e("SearchResult",t._b({key:r},"SearchResult",i,!1))}),1),t._v(" "),e("div",{staticClass:"result-footer"},[i.results.length===i.limit?e("NcButton",{attrs:{variant:"tertiary-no-background"},on:{click:function(e){return t.loadMoreResultsForProvider(i)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconDotsHorizontal",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t\t"+t._s(t.t("core","Load more results"))+"\n\t\t\t\t\t\t")]):t._e(),t._v(" "),i.inAppSearch?e("NcButton",{attrs:{alignment:"end-reverse",variant:"tertiary-no-background"},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconArrowRight",{attrs:{size:20}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t\t"+t._s(t.t("core","Search in"))+" "+t._s(i.name)+"\n\t\t\t\t\t\t")]):t._e()],1)])})]:t._e()],2)],1)},[],!1,null,"53b3f22c",null).exports,Mt=(0,o.pM)({name:"UnifiedSearch",components:{NcHeaderButton:h.N,NcIconSvgWrapper:A.A,UnifiedSearchModal:Et,UnifiedSearchLocalSearchBar:R},setup:()=>({currentLocation:(0,d.ZDG)(),mdiMagnify:l.U4M,t:n.t}),data:()=>({queryText:"",showUnifiedSearch:!1,showLocalSearch:!1}),computed:{debouncedQueryUpdate(){return(0,u.A)(this.emitUpdatedQuery,250)},supportsLocalSearch(){return["/settings/users","/apps/deck","/settings/apps"].some(t=>this.currentLocation.pathname?.includes?.(t))}},watch:{queryText(){this.debouncedQueryUpdate()}},mounted(){!1===window.OCP.Accessibility.disableKeyboardShortcuts()&&window.addEventListener("keydown",this.onKeyDown),(0,c.B1)("nextcloud:unified-search:reset",()=>{this.showLocalSearch=!1,this.queryText=""}),(0,c.B1)("nextcloud:unified-search:reset",()=>{(0,c.Ic)("nextcloud:unified-search.reset",{query:""})}),(0,c.B1)("nextcloud:unified-search:search",({query:t})=>{(0,c.Ic)("nextcloud:unified-search.search",{query:t})}),bt.debug("Unified search initialized!")},beforeDestroy(){window.removeEventListener("keydown",this.onKeyDown)},methods:{onKeyDown(t){t.ctrlKey&&"f"===t.key&&(this.showLocalSearch||this.showUnifiedSearch||t.preventDefault(),this.toggleUnifiedSearch())},toggleUnifiedSearch(){this.supportsLocalSearch?this.showLocalSearch=!this.showLocalSearch:(this.showUnifiedSearch=!this.showUnifiedSearch,this.showLocalSearch=!1)},openModal(){this.showUnifiedSearch=!0,this.showLocalSearch=!1},emitUpdatedQuery(){""===this.queryText?(0,c.Ic)("nextcloud:unified-search:reset"):(0,c.Ic)("nextcloud:unified-search:search",{query:this.queryText})}}});var Rt=i(45140),Nt={};Nt.styleTagTransform=D(),Nt.setAttributes=k(),Nt.insert=x().bind(null,"head"),Nt.domAPI=y(),Nt.insertStyleElement=F(),g()(Rt.A,Nt),Rt.A&&Rt.A.locals&&Rt.A.locals;const Pt=(0,M.A)(Mt,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("div",{staticClass:"unified-search-menu"},[e("NcHeaderButton",{directives:[{name:"show",rawName:"v-show",value:!t.showLocalSearch,expression:"!showLocalSearch"}],attrs:{id:"unified-search","aria-label":t.t("core","Unified search")},on:{click:t.toggleUnifiedSearch},scopedSlots:t._u([{key:"icon",fn:function(){return[e("NcIconSvgWrapper",{attrs:{path:t.mdiMagnify}})]},proxy:!0}])}),t._v(" "),t.supportsLocalSearch?e("UnifiedSearchLocalSearchBar",{attrs:{open:t.showLocalSearch,query:t.queryText},on:{"update:open":function(e){t.showLocalSearch=e},"update:query":function(e){t.queryText=e},"global-search":t.openModal}}):t._e(),t._v(" "),e("UnifiedSearchModal",{attrs:{"local-search":t.supportsLocalSearch,query:t.queryText,open:t.showUnifiedSearch},on:{"update:query":function(e){t.queryText=e},"update:open":function(e){t.showUnifiedSearch=e}}})],1)},[],!1,null,"bd38cb24",null).exports;i.nc=(0,r.aV)();const Lt=(0,a.YK)().setApp("unified-search").detectUser().build();o.Ay.mixin({data:()=>({logger:Lt}),methods:{t:n.Tl,n:n.zw}}),window.OCA=window.OCA||{},window.OCA.UnifiedSearch={registerFilterAction:({id:t,appId:e,searchFrom:i,label:r,callback:n,icon:a})=>{Ft().registerExternalFilter({id:t,appId:e,searchFrom:i,label:r,callback:n,icon:a})}},o.Ay.use(s.R2);const Ut=(0,s.Ey)();new o.Ay({el:"#unified-search",pinia:Ut,name:"UnifiedSearchRoot",render:t=>t(Pt)})},12667(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".unified-search-custom-date-modal[data-v-2907014b]{padding:10px 20px 10px 20px}.unified-search-custom-date-modal h1[data-v-2907014b]{font-size:16px;font-weight:bolder;line-height:2em}.unified-search-custom-date-modal__pickers[data-v-2907014b]{display:flex;flex-direction:column}.unified-search-custom-date-modal__footer[data-v-2907014b]{display:flex;justify-content:end}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/CustomDateRangeModal.vue"],names:[],mappings:"AACA,mDACC,2BAAA,CAEA,sDACC,cAAA,CACA,kBAAA,CACA,eAAA,CAGD,4DACC,YAAA,CACA,qBAAA,CAGD,2DACC,YAAA,CACA,mBAAA",sourcesContent:["\n.unified-search-custom-date-modal {\n\tpadding: 10px 20px 10px 20px;\n\n\th1 {\n\t\tfont-size: 16px;\n\t\tfont-weight: bolder;\n\t\tline-height: 2em;\n\t}\n\n\t&__pickers {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t}\n\n\t&__footer {\n\t\tdisplay: flex;\n\t\tjustify-content: end;\n\t}\n\n}\n"],sourceRoot:""}]);const o=s},62247(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".chip[data-v-60a863d2]{display:flex;align-items:center;padding:2px 4px;border:1px solid var(--color-primary-element-light);border-radius:20px;background-color:var(--color-primary-element-light);margin:2px}.chip .icon[data-v-60a863d2]{display:flex;align-items:center;padding-inline-end:5px}.chip .icon img[data-v-60a863d2]{width:20px;padding:2px;border-radius:20px;filter:var(--background-invert-if-bright)}.chip .text[data-v-60a863d2]{margin:0 2px}.chip .close-icon[data-v-60a863d2]{cursor:pointer}.chip .close-icon[data-v-60a863d2] :hover{filter:invert(20%)}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/SearchFilterChip.vue"],names:[],mappings:"AACA,uBACI,YAAA,CACA,kBAAA,CACA,eAAA,CACA,mDAAA,CACA,kBAAA,CACA,mDAAA,CACA,UAAA,CAEA,6BACI,YAAA,CACA,kBAAA,CACA,sBAAA,CAEA,iCACI,UAAA,CACA,WAAA,CACA,kBAAA,CACA,yCAAA,CAIR,6BACI,YAAA,CAGJ,mCACI,cAAA,CAEA,0CACI,kBAAA",sourcesContent:["\n.chip {\n display: flex;\n align-items: center;\n padding: 2px 4px;\n border: 1px solid var(--color-primary-element-light);\n border-radius: 20px;\n background-color: var(--color-primary-element-light);\n margin: 2px;\n\n .icon {\n display: flex;\n align-items: center;\n padding-inline-end: 5px;\n\n img {\n width: 20px;\n padding: 2px;\n border-radius: 20px;\n filter: var(--background-invert-if-bright);\n }\n }\n\n .text {\n margin: 0 2px;\n }\n\n .close-icon {\n cursor: pointer ;\n\n :hover {\n filter: invert(20%);\n }\n }\n}\n"],sourceRoot:""}]);const o=s},11121(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".result-item[data-v-ca416b22] a{border:2px solid rgba(0,0,0,0);border-radius:var(--border-radius-large) !important}.result-item[data-v-ca416b22] a:active,.result-item[data-v-ca416b22] a:hover,.result-item[data-v-ca416b22] a:focus{background-color:var(--color-background-hover);border:2px solid var(--color-border-maxcontrast)}.result-item[data-v-ca416b22] a *{cursor:pointer}.result-item__icon[data-v-ca416b22]{overflow:hidden;width:var(--default-clickable-area);height:var(--default-clickable-area);border-radius:var(--border-radius);background-repeat:no-repeat;background-position:center center;background-size:32px}.result-item__icon--rounded[data-v-ca416b22]{border-radius:calc(var(--default-clickable-area)/2)}.result-item__icon--no-preview[data-v-ca416b22]{background-size:32px}.result-item__icon--with-thumbnail[data-v-ca416b22]{background-size:cover}.result-item__icon--with-thumbnail[data-v-ca416b22]:not(.result-item__icon--rounded){border:1px solid var(--color-border);max-height:calc(var(--default-clickable-area) - 2px);max-width:calc(var(--default-clickable-area) - 2px)}.result-item__icon img[data-v-ca416b22]{width:100%;height:100%;object-fit:cover;object-position:center}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/SearchResult.vue"],names:[],mappings:"AAEC,gCACC,8BAAA,CACA,mDAAA,CAEA,mHAGC,8CAAA,CACA,gDAAA,CAGD,kCACC,cAAA,CAIF,oCACC,eAAA,CACA,mCAAA,CACA,oCAAA,CACA,kCAAA,CACA,2BAAA,CACA,iCAAA,CACA,oBAAA,CAEA,6CACC,mDAAA,CAGD,gDACC,oBAAA,CAGD,oDACC,qBAAA,CAGD,qFACC,oCAAA,CAEA,oDAAA,CACA,mDAAA,CAGD,wCAEC,UAAA,CACA,WAAA,CAEA,gBAAA,CACA,sBAAA",sourcesContent:["\n.result-item {\n\t:deep(a) {\n\t\tborder: 2px solid transparent;\n\t\tborder-radius: var(--border-radius-large) !important;\n\n\t\t&:active,\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t\tborder: 2px solid var(--color-border-maxcontrast);\n\t\t}\n\n\t\t* {\n\t\t\tcursor: pointer;\n\t\t}\n\t}\n\n\t&__icon {\n\t\toverflow: hidden;\n\t\twidth: var(--default-clickable-area);\n\t\theight: var(--default-clickable-area);\n\t\tborder-radius: var(--border-radius);\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: center center;\n\t\tbackground-size: 32px;\n\n\t\t&--rounded {\n\t\t\tborder-radius: calc(var(--default-clickable-area) / 2);\n\t\t}\n\n\t\t&--no-preview {\n\t\t\tbackground-size: 32px;\n\t\t}\n\n\t\t&--with-thumbnail {\n\t\t\tbackground-size: cover;\n\t\t}\n\n\t\t&--with-thumbnail:not(#{&}--rounded) {\n\t\t\tborder: 1px solid var(--color-border);\n\t\t\t// compensate for border\n\t\t\tmax-height: calc(var(--default-clickable-area) - 2px);\n\t\t\tmax-width: calc(var(--default-clickable-area) - 2px);\n\t\t}\n\n\t\timg {\n\t\t\t// Make sure to keep ratio\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\n\t\t\tobject-fit: cover;\n\t\t\tobject-position: center;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const o=s},85618(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".searchable-list__wrapper[data-v-37b50471]{padding:calc(var(--default-grid-baseline)*3);display:flex;flex-direction:column;align-items:center;width:250px}.searchable-list__list[data-v-37b50471]{width:100%;max-height:284px;overflow-y:auto;margin-top:var(--default-grid-baseline);padding:var(--default-grid-baseline)}.searchable-list__list[data-v-37b50471] .button-vue{border-radius:var(--border-radius-large) !important}.searchable-list__list[data-v-37b50471] .button-vue span{font-weight:initial}.searchable-list__empty-content[data-v-37b50471]{margin-top:calc(var(--default-grid-baseline)*3)}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/SearchableList.vue"],names:[],mappings:"AAEC,2CACC,4CAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,WAAA,CAGD,wCACC,UAAA,CACA,gBAAA,CACA,eAAA,CACA,uCAAA,CACA,oCAAA,CAEA,oDACC,mDAAA,CACA,yDACC,mBAAA,CAKH,iDACC,+CAAA",sourcesContent:["\n.searchable-list {\n\t&__wrapper {\n\t\tpadding: calc(var(--default-grid-baseline) * 3);\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\t\twidth: 250px;\n\t}\n\n\t&__list {\n\t\twidth: 100%;\n\t\tmax-height: 284px;\n\t\toverflow-y: auto;\n\t\tmargin-top: var(--default-grid-baseline);\n\t\tpadding: var(--default-grid-baseline);\n\n\t\t:deep(.button-vue) {\n\t\t\tborder-radius: var(--border-radius-large) !important;\n\t\t\tspan {\n\t\t\t\tfont-weight: initial;\n\t\t\t}\n\t\t}\n\t}\n\n\t&__empty-content {\n\t\tmargin-top: calc(var(--default-grid-baseline) * 3);\n\t}\n}\n"],sourceRoot:""}]);const o=s},89226(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".local-unified-search[data-v-2b577e50]{--local-search-width: min(calc(250px + var(--dfb017de)), 95vw);box-sizing:border-box;position:relative;height:var(--header-height);width:var(--local-search-width);display:flex;align-items:center;z-index:10;padding-inline:var(--border-width-input-focused);overflow:hidden;inset-inline-end:0}.local-unified-search .local-unified-search__global-search[data-v-2b577e50]{position:absolute;inset-inline-end:var(--default-clickable-area)}.local-unified-search .local-unified-search__input[data-v-2b577e50]{box-sizing:border-box;margin:0;width:var(--local-search-width)}.local-unified-search .local-unified-search__input[data-v-2b577e50] input{padding-inline-end:calc(var(--dfb017de) + var(--default-clickable-area))}.animated-width[data-v-2b577e50]{transition:width var(--animation-quick) linear}.v-leave-active[data-v-2b577e50]{position:absolute !important}.v-enter.local-unified-search[data-v-2b577e50],.v-leave-to.local-unified-search[data-v-2b577e50]{--local-search-width: var(--clickable-area-large)}@media screen and (max-width: 500px){.local-unified-search.local-unified-search--open[data-v-2b577e50]{--local-search-width: 100vw;padding-inline:var(--default-grid-baseline)}.unified-search-menu:has(.local-unified-search--open){position:absolute !important;inset-inline:0}.header-end:has(.local-unified-search--open) > :not(.unified-search-menu){display:none}}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue"],names:[],mappings:"AACA,uCACC,8DAAA,CACA,qBAAA,CACA,iBAAA,CACA,2BAAA,CACA,+BAAA,CACA,YAAA,CACA,kBAAA,CAEA,UAAA,CAEA,gDAAA,CAEA,eAAA,CAEA,kBAAA,CAEA,4EACC,iBAAA,CACA,8CAAA,CAGD,oEACC,qBAAA,CAEA,QAAA,CACA,+BAAA,CAIA,0EAEC,wEAAA,CAKH,iCACC,8CAAA,CAKD,iCACC,4BAAA,CAKA,iGAEC,iDAAA,CAIF,qCACC,kEAEC,2BAAA,CACA,2CAAA,CAID,sDACC,4BAAA,CACA,cAAA,CAGD,0EACC,YAAA,CAAA",sourcesContent:['\n.local-unified-search {\n\t--local-search-width: min(calc(250px + v-bind(\'searchGlobalButtonCSSWidth\')), 95vw);\n\tbox-sizing: border-box;\n\tposition: relative;\n\theight: var(--header-height);\n\twidth: var(--local-search-width);\n\tdisplay: flex;\n\talign-items: center;\n\t// Ensure it overlays the other entries\n\tz-index: 10;\n\t// add some padding for the focus visible outline\n\tpadding-inline: var(--border-width-input-focused);\n\t// hide the overflow - needed for the transition\n\toverflow: hidden;\n\t// Ensure the position is fixed also during "position: absolut" (transition)\n\tinset-inline-end: 0;\n\n\t#{&} &__global-search {\n\t\tposition: absolute;\n\t\tinset-inline-end: var(--default-clickable-area);\n\t}\n\n\t#{&} &__input {\n\t\tbox-sizing: border-box;\n\t\t// override some nextcloud-vue styles\n\t\tmargin: 0;\n\t\twidth: var(--local-search-width);\n\n\t\t// Fixup the spacing so we can fit in the "search globally" button\n\t\t// this can break at any time the component library changes\n\t\t:deep(input) {\n\t\t\t// search global width + close button width\n\t\t\tpadding-inline-end: calc(v-bind(\'searchGlobalButtonCSSWidth\') + var(--default-clickable-area));\n\t\t}\n\t}\n}\n\n.animated-width {\n\ttransition: width var(--animation-quick) linear;\n}\n\n// Make the position absolute during the transition\n// this is needed to "hide" the button behind it\n.v-leave-active {\n\tposition: absolute !important;\n}\n\n.v-enter,\n.v-leave-to {\n\t&.local-unified-search {\n\t\t// Start with only the overlay button\n\t\t--local-search-width: var(--clickable-area-large);\n\t}\n}\n\n@media screen and (max-width: 500px) {\n\t.local-unified-search.local-unified-search--open {\n\t\t// 100% but still show the menu toggle on the very right\n\t\t--local-search-width: 100vw;\n\t\tpadding-inline: var(--default-grid-baseline);\n\t}\n\n\t// when open we need to position it absolute to allow overlay the full bar\n\t:global(.unified-search-menu:has(.local-unified-search--open)) {\n\t\tposition: absolute !important;\n\t\tinset-inline: 0;\n\t}\n\t// Hide all other entries, especially the user menu as it might leak pixels\n\t:global(.header-end:has(.local-unified-search--open) > :not(.unified-search-menu)) {\n\t\tdisplay: none;\n\t}\n}\n'],sourceRoot:""}]);const o=s},10672(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".unified-search-modal-root[data-v-53b3f22c] .modal-container{box-sizing:border-box;height:min(80vh,800px)}[data-v-53b3f22c] .unified-search-modal .unified-search-modal__content{display:flex;flex-direction:column;padding-inline:0}.unified-search-modal__header[data-v-53b3f22c]{background-color:var(--color-main-background);padding-inline-end:12px;padding-block-end:12px;position:sticky;top:6px}.unified-search-modal__filters[data-v-53b3f22c]{display:flex;flex-wrap:wrap;gap:4px;justify-content:start;padding-top:4px}.unified-search-modal__search-external-resources[data-v-53b3f22c] span.checkbox-content{padding-top:0;padding-bottom:0}.unified-search-modal__search-external-resources[data-v-53b3f22c] .checkbox-content__icon{margin:auto !important}.unified-search-modal__search-external-resources--aligned[data-v-53b3f22c]{margin-inline-start:auto}.unified-search-modal__filters-applied[data-v-53b3f22c]{padding-top:4px;display:flex;flex-wrap:wrap}.unified-search-modal__no-content[data-v-53b3f22c]{display:flex;align-items:center;margin-top:.5em;height:70%}.unified-search-modal__results[data-v-53b3f22c]{overflow:hidden auto;padding-inline:0 12px;padding-block:0 12px}.unified-search-modal__results .result-title[data-v-53b3f22c]{color:var(--color-primary-element);font-size:16px;margin-block:8px 4px}.unified-search-modal__results .result-footer[data-v-53b3f22c]{justify-content:space-between;align-items:center;display:flex}.unified-search-modal__results .result--unfiltered[data-v-53b3f22c]{opacity:.7}.unified-search-modal__unfiltered-header[data-v-53b3f22c]{display:flex;flex-direction:column;gap:2px;margin-block:16px 8px;padding-block:12px 0;border-top:1px solid var(--color-border)}.unified-search-modal__unfiltered-label[data-v-53b3f22c]{font-weight:bold;color:var(--color-text-maxcontrast)}.filter-button__icon[data-v-53b3f22c]{height:20px;width:20px;object-fit:contain;filter:var(--background-invert-if-bright);padding:11px}@media only screen and (max-height: 400px){.unified-search-modal__results[data-v-53b3f22c]{overflow:unset}}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/UnifiedSearchModal.vue"],names:[],mappings:"AACA,6DACC,qBAAA,CACA,sBAAA,CAGD,uEACC,YAAA,CACA,qBAAA,CAEA,gBAAA,CAIA,+CAEC,6CAAA,CAEA,uBAAA,CAEA,sBAAA,CAEA,eAAA,CACA,OAAA,CAGD,gDACC,YAAA,CACA,cAAA,CACA,OAAA,CACA,qBAAA,CACA,eAAA,CAIA,wFACC,aAAA,CACA,gBAAA,CAGD,0FACC,sBAAA,CAGD,2EACC,wBAAA,CAIF,wDACC,eAAA,CACA,YAAA,CACA,cAAA,CAGD,mDACC,YAAA,CACA,kBAAA,CACA,eAAA,CACA,UAAA,CAGD,gDACC,oBAAA,CAEA,qBAAA,CACA,oBAAA,CAGC,8DACC,kCAAA,CACA,cAAA,CACA,oBAAA,CAGD,+DACC,6BAAA,CACA,kBAAA,CACA,YAAA,CAGD,oEACC,UAAA,CAMH,0DACC,YAAA,CACA,qBAAA,CACA,OAAA,CACA,qBAAA,CACA,oBAAA,CACA,wCAAA,CAGD,yDACC,gBAAA,CACA,mCAAA,CAIF,sCACC,WAAA,CACA,UAAA,CACA,kBAAA,CACA,yCAAA,CACA,YAAA,CAID,2CACC,gDACC,cAAA,CAAA",sourcesContent:["\n.unified-search-modal-root :deep(.modal-container) {\n\tbox-sizing: border-box;\n\theight: min(80vh, 800px);\n}\n\n:deep(.unified-search-modal .unified-search-modal__content) {\n\tdisplay: flex;\n\tflex-direction: column;\n\t// No padding to prevent scrollbar misplacement\n\tpadding-inline: 0;\n}\n\n.unified-search-modal {\n\t&__header {\n\t\t// Add background to prevent leaking scrolled content (because of sticky position)\n\t\tbackground-color: var(--color-main-background);\n\t\t// Fix padding to have the input centered\n\t\tpadding-inline-end: 12px;\n\t\t// Some padding to make elements scrolled under sticky position look nicer\n\t\tpadding-block-end: 12px;\n\t\t// Make it sticky with the input margin for the label\n\t\tposition: sticky;\n\t\ttop: 6px;\n\t}\n\n\t&__filters {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tgap: 4px;\n\t\tjustify-content: start;\n\t\tpadding-top: 4px;\n\t}\n\n\t&__search-external-resources {\n\t\t:deep(span.checkbox-content) {\n\t\t\tpadding-top: 0;\n\t\t\tpadding-bottom: 0;\n\t\t}\n\n\t\t:deep(.checkbox-content__icon) {\n\t\t\tmargin: auto !important;\n\t\t}\n\n\t\t&--aligned {\n\t\t\tmargin-inline-start: auto;\n\t\t}\n\t}\n\n\t&__filters-applied {\n\t\tpadding-top: 4px;\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t}\n\n\t&__no-content {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tmargin-top: 0.5em;\n\t\theight: 70%;\n\t}\n\n\t&__results {\n\t\toverflow: hidden auto;\n\t\t// Adjust padding to match container but keep the scrollbar on the very end\n\t\tpadding-inline: 0 12px;\n\t\tpadding-block: 0 12px;\n\n\t\t.result {\n\t\t\t&-title {\n\t\t\t\tcolor: var(--color-primary-element);\n\t\t\t\tfont-size: 16px;\n\t\t\t\tmargin-block: 8px 4px;\n\t\t\t}\n\n\t\t\t&-footer {\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tdisplay: flex;\n\t\t\t}\n\n\t\t\t&--unfiltered {\n\t\t\t\topacity: 0.7;\n\t\t\t}\n\t\t}\n\n\t}\n\n\t&__unfiltered-header {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\tgap: 2px;\n\t\tmargin-block: 16px 8px;\n\t\tpadding-block: 12px 0;\n\t\tborder-top: 1px solid var(--color-border);\n\t}\n\n\t&__unfiltered-label {\n\t\tfont-weight: bold;\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n}\n\n.filter-button__icon {\n\theight: 20px;\n\twidth: 20px;\n\tobject-fit: contain;\n\tfilter: var(--background-invert-if-bright);\n\tpadding: 11px; // align with text to fit at least 44px\n}\n\n// Ensure modal is accessible on small devices\n@media only screen and (max-height: 400px) {\n\t.unified-search-modal__results {\n\t\toverflow: unset;\n\t}\n}\n"],sourceRoot:""}]);const o=s},45140(t,e,i){i.d(e,{A:()=>o});var r=i(71354),n=i.n(r),a=i(76314),s=i.n(a)()(n());s.push([t.id,".unified-search-menu[data-v-bd38cb24]{display:flex;align-items:center;justify-content:center}","",{version:3,sources:["webpack://./core/src/views/UnifiedSearch.vue"],names:[],mappings:"AAEA,sCACC,YAAA,CACA,kBAAA,CACA,sBAAA",sourcesContent:["\n// this is needed to allow us overriding component styles (focus-visible)\n.unified-search-menu {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n"],sourceRoot:""}]);const o=s}},i={};function r(t){var n=i[t];if(void 0!==n)return n.exports;var a=i[t]={id:t,loaded:!1,exports:{}};return e[t].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}r.m=e,t=[],r.O=(e,i,n,a)=>{if(!i){var s=1/0;for(d=0;d=a)&&Object.keys(r.O).every(t=>r.O[t](i[l]))?i.splice(l--,1):(o=!1,a0&&t[d-1][2]>a;d--)t[d]=t[d-1];t[d]=[i,n,a]},r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.e=()=>Promise.resolve(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r.j=6776,(()=>{r.b="undefined"!=typeof document&&document.baseURI||self.location.href;var t={6776:0};r.O.j=e=>0===t[e];var e=(e,i)=>{var n,a,[s,o,l]=i,c=0;if(s.some(e=>0!==t[e])){for(n in o)r.o(o,n)&&(r.m[n]=o[n]);if(l)var d=l(r)}for(e&&e(i);cr(86850));n=r.O(n)})(); +//# sourceMappingURL=core-unified-search.js.map?v=81e1b070f81f0d3b4c35 \ No newline at end of file diff --git a/dist/core-unified-search.js.map b/dist/core-unified-search.js.map index 0f9817b3c71..49096bf33da 100644 --- a/dist/core-unified-search.js.map +++ b/dist/core-unified-search.js.map @@ -1 +1 @@ -{"version":3,"file":"core-unified-search.js?v=83eb15bc17c0077f8b00","mappings":"uBAAIA,E,4KCUJ,MCVsR,GDUzPC,EAAAA,EAAAA,IAAiB,CAC1CC,OAAQ,8BACRC,MAAO,CACHC,MAAO,KACPC,KAAM,CAAEC,KAAMC,UAElBC,MAAO,CAAC,cAAe,eAAgB,iBACvCC,KAAAA,CAAMC,GAAS,KAAEC,IACb,MAAMR,EAAQO,GACdE,EAAAA,EAAAA,IAAY,CAACC,EAAKC,KAAM,CACpB,SAAaA,EAAOC,8BAGxB,MAAMC,GAAcC,EAAAA,EAAAA,OAEpBC,EAAAA,EAAAA,IAAY,KACJf,EAAME,MAAQW,EAAYG,OAC1BH,EAAYG,MAAMC,UAI1B,MAAMC,GAAWC,EAAAA,EAAAA,MACXC,GAAqBN,EAAAA,EAAAA,OAEnBO,MAAOC,IAA4BC,EAAAA,EAAAA,KAAeH,GACpDR,GAA6BY,EAAAA,EAAAA,IAAS,IAAMF,EAAwBN,MAAQ,GAAGM,EAAwBN,UAAY,iCAQzH,MAAO,CAAES,OAAO,EAAMzB,QAAOQ,OAAMK,cAAaK,WAAUE,qBAAoBE,0BAAyBV,6BAA4Bc,oBAJnI,WACIlB,EAAK,eAAgB,IACrBA,EAAK,eAAe,EACxB,EACwJmB,SAAQ,MAAEC,sBAAqB,MAAEC,EAAC,KAAEC,SAAQ,IAAEC,iBAAgB,IAAEC,aAAYA,EAAAA,EACxO,I,uIEjCAC,EAAU,CAA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AACC,EAA4B/W,KACvD,IAGIuU,EAAUsC,GAHT9B,EAAUiC,EAAaC,GAAWjX,EAGhBqP,EAAI,EAC3B,GAAG0F,EAAS9S,KAAMS,GAAgC,IAAxBkU,EAAgBlU,IAAa,CACtD,IAAI6R,KAAYyC,EACZ1C,EAAoBqB,EAAEqB,EAAazC,KACrCD,EAAoBO,EAAEN,GAAYyC,EAAYzC,IAGhD,GAAG0C,EAAS,IAAI/M,EAAS+M,EAAQ3C,EAClC,CAEA,IADGyC,GAA4BA,EAA2B/W,GACrDqP,EAAI0F,EAAS/S,OAAQqN,IACzBwH,EAAU9B,EAAS1F,GAChBiF,EAAoBqB,EAAEiB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOvC,EAAoBQ,EAAE5K,IAG1BgN,EAAqBC,WAA4C,gCAAIA,WAA4C,iCAAK,GAC1HD,EAAmBzM,QAAQqM,EAAqBM,KAAK,KAAM,IAC3DF,EAAmBzQ,KAAOqQ,EAAqBM,KAAK,KAAMF,EAAmBzQ,KAAK2Q,KAAKF,G,KChDvF5C,EAAoB+C,QAAK9F,ECGzB,IAAI+F,EAAsBhD,EAAoBQ,OAAEvD,EAAW,CAAC,MAAO,IAAO+C,EAAoB,QAC9FgD,EAAsBhD,EAAoBQ,EAAEwC,E","sources":["webpack:///nextcloud/webpack/runtime/chunk loaded","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue?vue&type=script&lang=ts&setup=true","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue?3651","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue?395a","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchModal.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRangeOutline.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRangeOutline.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/CalendarRangeOutline.vue?8e99","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRangeOutline.vue?vue&type=template&id=57d00bd1","webpack:///nextcloud/node_modules/vue-material-design-icons/Filter.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/Filter.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/Filter.vue?3711","webpack:///nextcloud/node_modules/vue-material-design-icons/Filter.vue?vue&type=template&id=be2cf3ce","webpack:///nextcloud/node_modules/vue-material-design-icons/ListBox.vue?vue&type=script&lang=js","webpack:///nextcloud/node_modules/vue-material-design-icons/ListBox.vue","webpack://nextcloud/./node_modules/vue-material-design-icons/ListBox.vue?d9c9","webpack:///nextcloud/node_modules/vue-material-design-icons/ListBox.vue?vue&type=template&id=4e2b82c8","webpack:///nextcloud/node_modules/vue-material-design-icons/Magnify.vue?vue&type=script&lang=js","webpack:///nextcloud/node_modules/vue-material-design-icons/Magnify.vue","webpack://nextcloud/./node_modules/vue-material-design-icons/Magnify.vue?0775","webpack:///nextcloud/node_modules/vue-material-design-icons/Magnify.vue?vue&type=template&id=194dfb2a","webpack://nextcloud/./core/src/components/UnifiedSearch/CustomDateRangeModal.vue?b7cc","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRange.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRange.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/CalendarRange.vue?f09e","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRange.vue?vue&type=template&id=5868fd9e","webpack:///nextcloud/core/src/components/UnifiedSearch/CustomDateRangeModal.vue?vue&type=script&lang=js","webpack:///nextcloud/core/src/components/UnifiedSearch/CustomDateRangeModal.vue","webpack://nextcloud/./core/src/components/UnifiedSearch/CustomDateRangeModal.vue?0fb6","webpack://nextcloud/./core/src/components/UnifiedSearch/CustomDateRangeModal.vue?92fe","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchableList.vue?a21f","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue?vue&type=script&lang=js","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchableList.vue?cd03","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchableList.vue?4344","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchFilterChip.vue?vue&type=script&lang=js","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchFilterChip.vue","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchFilterChip.vue?6432","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchFilterChip.vue?fc0d","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchFilterChip.vue?2352","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchResult.vue?vue&type=script&lang=js","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchResult.vue","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchResult.vue?1b5b","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchResult.vue?32d3","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchResult.vue?e4b5","webpack:///nextcloud/core/src/logger.js","webpack:///nextcloud/core/src/services/UnifiedSearchService.js","webpack:///nextcloud/core/src/store/unified-search-external-filters.js","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchModal.vue?vue&type=script&lang=ts","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchModal.vue?5ef3","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchModal.vue?0132","webpack:///nextcloud/core/src/views/UnifiedSearch.vue?vue&type=script&lang=ts","webpack:///nextcloud/core/src/views/UnifiedSearch.vue","webpack://nextcloud/./core/src/views/UnifiedSearch.vue?5176","webpack://nextcloud/./core/src/views/UnifiedSearch.vue?1990","webpack:///nextcloud/core/src/unified-search.ts","webpack:///nextcloud/core/src/components/UnifiedSearch/CustomDateRangeModal.vue?vue&type=style&index=0&id=2907014b&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchFilterChip.vue?vue&type=style&index=0&id=60a863d2&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchResult.vue?vue&type=style&index=0&id=ca416b22&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue?vue&type=style&index=0&id=37b50471&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue?vue&type=style&index=0&id=2b577e50&prod&scoped=true&lang=scss","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchModal.vue?vue&type=style&index=0&id=e675c164&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/views/UnifiedSearch.vue?vue&type=style&index=0&id=bd38cb24&prod&lang=scss&scoped=true","webpack:///nextcloud/webpack/bootstrap","webpack:///nextcloud/webpack/runtime/compat get default export","webpack:///nextcloud/webpack/runtime/define property getters","webpack:///nextcloud/webpack/runtime/ensure chunk","webpack:///nextcloud/webpack/runtime/hasOwnProperty shorthand","webpack:///nextcloud/webpack/runtime/make namespace object","webpack:///nextcloud/webpack/runtime/node module decorator","webpack:///nextcloud/webpack/runtime/runtimeId","webpack:///nextcloud/webpack/runtime/jsonp chunk loading","webpack:///nextcloud/webpack/runtime/nonce","webpack:///nextcloud/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('Transition',[(_vm.open)?_c('div',{staticClass:\"local-unified-search animated-width\",class:{ 'local-unified-search--open': _vm.open }},[_c(_setup.NcInputField,{ref:\"searchInput\",staticClass:\"local-unified-search__input animated-width\",attrs:{\"aria-label\":_setup.t('core', 'Search in current app'),\"placeholder\":_setup.t('core', 'Search in current app'),\"show-trailing-button\":\"\",\"trailing-button-label\":_setup.t('core', 'Clear search'),\"model-value\":_vm.query},on:{\"update:value\":function($event){return _vm.$emit('update:query', $event)},\"trailing-button-click\":_setup.clearAndCloseSearch},scopedSlots:_vm._u([{key:\"trailing-button-icon\",fn:function(){return [_c(_setup.NcIconSvgWrapper,{attrs:{\"path\":_setup.mdiClose}})]},proxy:true}],null,false,3585538455)}),_vm._v(\" \"),_c(_setup.NcButton,{ref:\"searchGlobalButton\",staticClass:\"local-unified-search__global-search\",attrs:{\"aria-label\":_setup.t('core', 'Search everywhere'),\"title\":_setup.t('core', 'Search everywhere'),\"variant\":\"tertiary-no-background\"},on:{\"click\":function($event){return _vm.$emit('global-search')}},scopedSlots:_vm._u([(!_setup.isMobile)?{key:\"default\",fn:function(){return [_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_setup.t('core', 'Search everywhere'))+\"\\n\\t\\t\\t\")]},proxy:true}:null,{key:\"icon\",fn:function(){return [_c(_setup.NcIconSvgWrapper,{attrs:{\"path\":_setup.mdiCloudSearchOutline}})]},proxy:true}],null,true)})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchLocalSearchBar.vue?vue&type=script&lang=ts&setup=true\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchLocalSearchBar.vue?vue&type=script&lang=ts&setup=true\"","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchLocalSearchBar.vue?vue&type=style&index=0&id=2b577e50&prod&scoped=true&lang=scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchLocalSearchBar.vue?vue&type=style&index=0&id=2b577e50&prod&scoped=true&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./UnifiedSearchLocalSearchBar.vue?vue&type=template&id=2b577e50&scoped=true\"\nimport script from \"./UnifiedSearchLocalSearchBar.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./UnifiedSearchLocalSearchBar.vue?vue&type=script&lang=ts&setup=true\"\nimport style0 from \"./UnifiedSearchLocalSearchBar.vue?vue&type=style&index=0&id=2b577e50&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2b577e50\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('NcDialog',{ref:\"unifiedSearchModal\",staticClass:\"unified-search-modal-root\",attrs:{\"id\":\"unified-search\",\"content-classes\":\"unified-search-modal__content\",\"dialog-classes\":\"unified-search-modal\",\"name\":_vm.t('core', 'Unified search'),\"open\":_vm.open,\"size\":\"normal\"},on:{\"update:open\":_vm.onUpdateOpen}},[_c('CustomDateRangeModal',{staticClass:\"unified-search__date-range\",attrs:{\"is-open\":_vm.showDateRangeModal},on:{\"set:custom-date-range\":_vm.setCustomDateRange,\"update:is-open\":function($event){_vm.showDateRangeModal = $event}}}),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-modal__header\"},[_c('NcInputField',{ref:\"searchInput\",attrs:{\"data-cy-unified-search-input\":\"\",\"type\":\"text\",\"label\":_vm.t('core', 'Search apps, files, tags, messages') + '...'},on:{\"update:value\":_vm.debouncedFind},model:{value:(_vm.searchQuery),callback:function ($$v) {_vm.searchQuery=$$v},expression:\"searchQuery\"}}),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-modal__filters\",attrs:{\"data-cy-unified-search-filters\":\"\"}},[_c('NcActions',{attrs:{\"open\":_vm.providerActionMenuIsOpen,\"menu-name\":_vm.t('core', 'Places'),\"data-cy-unified-search-filter\":\"places\"},on:{\"update:open\":function($event){_vm.providerActionMenuIsOpen=$event}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconListBox',{attrs:{\"size\":20}})]},proxy:true}])},[_vm._v(\" \"),_vm._l((_vm.providers),function(provider){return _c('NcActionButton',{key:`${provider.id}-${provider.name.replace(/\\s/g, '')}`,attrs:{\"disabled\":provider.disabled},on:{\"click\":function($event){return _vm.addProviderFilter(provider)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('img',{staticClass:\"filter-button__icon\",attrs:{\"src\":provider.icon,\"alt\":\"\"}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(provider.name)+\"\\n\\t\\t\\t\\t\")])})],2),_vm._v(\" \"),_c('NcActions',{attrs:{\"open\":_vm.dateActionMenuIsOpen,\"menu-name\":_vm.t('core', 'Date'),\"data-cy-unified-search-filter\":\"date\"},on:{\"update:open\":function($event){_vm.dateActionMenuIsOpen=$event}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconCalendarRange',{attrs:{\"size\":20}})]},proxy:true}])},[_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('today')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Today'))+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('7days')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last 7 days'))+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('30days')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last 30 days'))+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('thisyear')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'This year'))+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('lastyear')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last year'))+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('custom')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Custom date range'))+\"\\n\\t\\t\\t\\t\")])],1),_vm._v(\" \"),_c('SearchableList',{attrs:{\"label-text\":_vm.t('core', 'Search people'),\"search-list\":_vm.userContacts,\"empty-content-text\":_vm.t('core', 'Not found'),\"data-cy-unified-search-filter\":\"people\"},on:{\"search-term-change\":_vm.debouncedFilterContacts,\"item-selected\":_vm.applyPersonFilter},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c('NcButton',{scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconAccountGroup',{attrs:{\"size\":20}})]},proxy:true}])},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'People'))+\"\\n\\t\\t\\t\\t\\t\")])]},proxy:true}])}),_vm._v(\" \"),(_vm.localSearch)?_c('NcButton',{attrs:{\"data-cy-unified-search-filter\":\"current-view\"},on:{\"click\":_vm.searchLocally},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconFilter',{attrs:{\"size\":20}})]},proxy:true}],null,false,4275912387)},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Filter in current view'))+\"\\n\\t\\t\\t\\t\")]):_vm._e(),_vm._v(\" \"),(_vm.hasExternalResources)?_c('NcCheckboxRadioSwitch',{staticClass:\"unified-search-modal__search-external-resources\",class:{ 'unified-search-modal__search-external-resources--aligned': _vm.localSearch },attrs:{\"type\":\"switch\"},model:{value:(_vm.searchExternalResources),callback:function ($$v) {_vm.searchExternalResources=$$v},expression:\"searchExternalResources\"}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Search connected services'))+\"\\n\\t\\t\\t\")]):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-modal__filters-applied\"},_vm._l((_vm.filters),function(filter){return _c('FilterChip',{key:filter.id,attrs:{\"text\":filter.name ?? filter.text,\"pretext\":\"\"},on:{\"delete\":function($event){return _vm.removeFilter(filter)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [(filter.type === 'person')?_c('NcAvatar',{attrs:{\"user\":filter.user,\"size\":24,\"disable-menu\":\"\",\"hide-user-status\":\"\",\"hide-favorite\":false}}):(filter.type === 'date')?_c('IconCalendarRange'):_c('img',{attrs:{\"src\":filter.icon,\"alt\":\"\"}})]},proxy:true}],null,true)})}),1)],1),_vm._v(\" \"),(_vm.showEmptyContentInfo)?_c('div',{staticClass:\"unified-search-modal__no-content\"},[_c('NcEmptyContent',{attrs:{\"name\":_vm.emptyContentMessage},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconMagnify',{attrs:{\"size\":64}})]},proxy:true}],null,false,125778896)})],1):_c('div',{staticClass:\"unified-search-modal__results\"},[_c('h3',{staticClass:\"hidden-visually\"},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.t('core', 'Results'))+\"\\n\\t\\t\")]),_vm._v(\" \"),_vm._l((_vm.filteredResults),function(providerResult){return _c('div',{key:providerResult.id,staticClass:\"result\"},[_c('h4',{staticClass:\"result-title\",attrs:{\"id\":`unified-search-result-${providerResult.id}`}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\")]),_vm._v(\" \"),_c('ul',{staticClass:\"result-items\",attrs:{\"aria-labelledby\":`unified-search-result-${providerResult.id}`}},_vm._l((providerResult.results),function(result,index){return _c('SearchResult',_vm._b({key:index},'SearchResult',result,false))}),1),_vm._v(\" \"),_c('div',{staticClass:\"result-footer\"},[(providerResult.results.length === providerResult.limit)?_c('NcButton',{attrs:{\"variant\":\"tertiary-no-background\"},on:{\"click\":function($event){return _vm.loadMoreResultsForProvider(providerResult)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconDotsHorizontal',{attrs:{\"size\":20}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Load more results'))+\"\\n\\t\\t\\t\\t\\t\")]):_vm._e(),_vm._v(\" \"),(providerResult.inAppSearch)?_c('NcButton',{attrs:{\"alignment\":\"end-reverse\",\"variant\":\"tertiary-no-background\"},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconArrowRight',{attrs:{\"size\":20}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Search in'))+\" \"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\\t\")]):_vm._e()],1)])}),_vm._v(\" \"),(_vm.unfilteredResults.length > 0)?[_c('div',{staticClass:\"unified-search-modal__unfiltered-header\"},[_c('span',{staticClass:\"unified-search-modal__unfiltered-label\"},[_vm._v(_vm._s(_vm.t('core', 'Partial matches')))])]),_vm._v(\" \"),_vm._l((_vm.unfilteredResults),function(providerResult){return _c('div',{key:`unfiltered-${providerResult.id}`,staticClass:\"result result--unfiltered\"},[_c('h4',{staticClass:\"result-title\",attrs:{\"id\":`unified-search-result-unfiltered-${providerResult.id}`}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('ul',{staticClass:\"result-items\",attrs:{\"aria-labelledby\":`unified-search-result-unfiltered-${providerResult.id}`}},_vm._l((providerResult.results),function(result,index){return _c('SearchResult',_vm._b({key:index},'SearchResult',result,false))}),1),_vm._v(\" \"),_c('div',{staticClass:\"result-footer\"},[(providerResult.results.length === providerResult.limit)?_c('NcButton',{attrs:{\"variant\":\"tertiary-no-background\"},on:{\"click\":function($event){return _vm.loadMoreResultsForProvider(providerResult)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconDotsHorizontal',{attrs:{\"size\":20}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Load more results'))+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),_vm._v(\" \"),(providerResult.inAppSearch)?_c('NcButton',{attrs:{\"alignment\":\"end-reverse\",\"variant\":\"tertiary-no-background\"},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconArrowRight',{attrs:{\"size\":20}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Search in'))+\" \"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e()],1)])})]:_vm._e()],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./CalendarRangeOutline.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./CalendarRangeOutline.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CalendarRangeOutline.vue?vue&type=template&id=57d00bd1\"\nimport script from \"./CalendarRangeOutline.vue?vue&type=script&lang=js\"\nexport * from \"./CalendarRangeOutline.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon calendar-range-outline-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M7 11H9V13H7V11M21 5V19C21 20.11 20.11 21 19 21H5C3.89 21 3 20.1 3 19V5C3 3.9 3.9 3 5 3H6V1H8V3H16V1H18V3H19C20.11 3 21 3.9 21 5M5 7H19V5H5V7M19 19V9H5V19H19M15 13H17V11H15V13M11 13H13V11H11V13Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./Filter.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./Filter.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Filter.vue?vue&type=template&id=be2cf3ce\"\nimport script from \"./Filter.vue?vue&type=script&lang=js\"\nexport * from \"./Filter.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon filter-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./ListBox.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./ListBox.vue?vue&type=script&lang=js\"","\n\n","import { render, staticRenderFns } from \"./ListBox.vue?vue&type=template&id=4e2b82c8\"\nimport script from \"./ListBox.vue?vue&type=script&lang=js\"\nexport * from \"./ListBox.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon list-box-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M7 7H9V9H7V7M7 11H9V13H7V11M7 15H9V17H7V15M17 17H11V15H17V17M17 13H11V11H17V13M17 9H11V7H17V9Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./Magnify.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./Magnify.vue?vue&type=script&lang=js\"","\n\n","import { render, staticRenderFns } from \"./Magnify.vue?vue&type=template&id=194dfb2a\"\nimport script from \"./Magnify.vue?vue&type=script&lang=js\"\nexport * from \"./Magnify.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon magnify-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.isModalOpen)?_c('NcModal',{attrs:{\"id\":\"unified-search\",\"name\":_vm.t('core', 'Custom date range'),\"show\":_vm.isModalOpen,\"size\":\"small\",\"clear-view-delay\":0,\"title\":_vm.t('core', 'Custom date range')},on:{\"update:show\":function($event){_vm.isModalOpen=$event},\"close\":_vm.closeModal}},[_c('div',{staticClass:\"unified-search-custom-date-modal\"},[_c('h1',[_vm._v(_vm._s(_vm.t('core', 'Custom date range')))]),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-custom-date-modal__pickers\"},[_c('NcDateTimePicker',{attrs:{\"id\":\"unifiedsearch-custom-date-range-start\",\"label\":_vm.t('core', 'Pick start date'),\"type\":\"date\"},model:{value:(_vm.dateFilter.startFrom),callback:function ($$v) {_vm.$set(_vm.dateFilter, \"startFrom\", $$v)},expression:\"dateFilter.startFrom\"}}),_vm._v(\" \"),_c('NcDateTimePicker',{attrs:{\"id\":\"unifiedsearch-custom-date-range-end\",\"label\":_vm.t('core', 'Pick end date'),\"type\":\"date\"},model:{value:(_vm.dateFilter.endAt),callback:function ($$v) {_vm.$set(_vm.dateFilter, \"endAt\", $$v)},expression:\"dateFilter.endAt\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-custom-date-modal__footer\"},[_c('NcButton',{on:{\"click\":_vm.applyCustomRange},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('CalendarRangeIcon',{attrs:{\"size\":20}})]},proxy:true}],null,false,3084610734)},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Search in date range'))+\"\\n\\t\\t\\t\\t\")])],1)])]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./CalendarRange.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./CalendarRange.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CalendarRange.vue?vue&type=template&id=5868fd9e\"\nimport script from \"./CalendarRange.vue?vue&type=script&lang=js\"\nexport * from \"./CalendarRange.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon calendar-range-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M9,10H7V12H9V10M13,10H11V12H13V10M17,10H15V12H17V10M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V8H19V19Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomDateRangeModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomDateRangeModal.vue?vue&type=script&lang=js\"","\n\n\n\n\n\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomDateRangeModal.vue?vue&type=style&index=0&id=2907014b&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomDateRangeModal.vue?vue&type=style&index=0&id=2907014b&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./CustomDateRangeModal.vue?vue&type=template&id=2907014b&scoped=true\"\nimport script from \"./CustomDateRangeModal.vue?vue&type=script&lang=js\"\nexport * from \"./CustomDateRangeModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./CustomDateRangeModal.vue?vue&type=style&index=0&id=2907014b&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2907014b\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('NcPopover',{attrs:{\"shown\":_vm.opened},on:{\"show\":function($event){_vm.opened = true},\"hide\":function($event){_vm.opened = false}},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_vm._t(\"trigger\")]},proxy:true}],null,true)},[_vm._v(\" \"),_c('div',{staticClass:\"searchable-list__wrapper\"},[_c('NcTextField',{attrs:{\"label\":_vm.labelText,\"trailing-button-icon\":\"close\",\"show-trailing-button\":_vm.searchTerm !== ''},on:{\"update:value\":_vm.searchTermChanged,\"trailing-button-click\":_vm.clearSearch},model:{value:(_vm.searchTerm),callback:function ($$v) {_vm.searchTerm=$$v},expression:\"searchTerm\"}},[_c('IconMagnify',{attrs:{\"size\":20}})],1),_vm._v(\" \"),(_vm.filteredList.length > 0)?_c('ul',{staticClass:\"searchable-list__list\"},_vm._l((_vm.filteredList),function(element){return _c('li',{key:element.id,attrs:{\"title\":element.displayName,\"role\":\"button\"}},[_c('NcButton',{attrs:{\"alignment\":\"start\",\"variant\":\"tertiary\",\"wide\":true},on:{\"click\":function($event){return _vm.itemSelected(element)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [(element.isUser)?_c('NcAvatar',{attrs:{\"user\":element.user,\"hide-user-status\":\"\"}}):_c('NcAvatar',{attrs:{\"is-no-user\":true,\"display-name\":element.displayName,\"hide-user-status\":\"\"}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(element.displayName)+\"\\n\\t\\t\\t\\t\")])],1)}),0):_c('div',{staticClass:\"searchable-list__empty-content\"},[_c('NcEmptyContent',{attrs:{\"name\":_vm.emptyContentText},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconAlertCircleOutline')]},proxy:true}])})],1)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchableList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchableList.vue?vue&type=script&lang=js\"","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchableList.vue?vue&type=style&index=0&id=37b50471&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchableList.vue?vue&type=style&index=0&id=37b50471&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./SearchableList.vue?vue&type=template&id=37b50471&scoped=true\"\nimport script from \"./SearchableList.vue?vue&type=script&lang=js\"\nexport * from \"./SearchableList.vue?vue&type=script&lang=js\"\nimport style0 from \"./SearchableList.vue?vue&type=style&index=0&id=37b50471&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"37b50471\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchFilterChip.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchFilterChip.vue?vue&type=script&lang=js\"","\n\n\n\n\n\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchFilterChip.vue?vue&type=style&index=0&id=60a863d2&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchFilterChip.vue?vue&type=style&index=0&id=60a863d2&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./SearchFilterChip.vue?vue&type=template&id=60a863d2&scoped=true\"\nimport script from \"./SearchFilterChip.vue?vue&type=script&lang=js\"\nexport * from \"./SearchFilterChip.vue?vue&type=script&lang=js\"\nimport style0 from \"./SearchFilterChip.vue?vue&type=style&index=0&id=60a863d2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"60a863d2\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"chip\"},[_c('span',{staticClass:\"icon\"},[_vm._t(\"icon\"),_vm._v(\" \"),(_vm.pretext.length)?_c('span',[_vm._v(\" \"+_vm._s(_vm.pretext)+\" : \")]):_vm._e()],2),_vm._v(\" \"),_c('span',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.text))]),_vm._v(\" \"),_c('span',{staticClass:\"close-icon\",on:{\"click\":_vm.deleteChip}},[_c('CloseIcon',{attrs:{\"size\":18}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchResult.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchResult.vue?vue&type=script&lang=js\"","\n\n\n\n\n\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchResult.vue?vue&type=style&index=0&id=ca416b22&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchResult.vue?vue&type=style&index=0&id=ca416b22&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./SearchResult.vue?vue&type=template&id=ca416b22&scoped=true\"\nimport script from \"./SearchResult.vue?vue&type=script&lang=js\"\nexport * from \"./SearchResult.vue?vue&type=script&lang=js\"\nimport style0 from \"./SearchResult.vue?vue&type=style&index=0&id=ca416b22&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ca416b22\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('NcListItem',{staticClass:\"result-item\",attrs:{\"name\":_vm.title,\"bold\":false,\"href\":_vm.resourceUrl,\"target\":\"_self\"},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('div',{staticClass:\"result-item__icon\",class:{\n\t\t\t\t'result-item__icon--rounded': _vm.rounded,\n\t\t\t\t'result-item__icon--no-preview': !_vm.isValidIconOrPreviewUrl(_vm.thumbnailUrl),\n\t\t\t\t'result-item__icon--with-thumbnail': _vm.isValidIconOrPreviewUrl(_vm.thumbnailUrl),\n\t\t\t\t[_vm.icon]: !_vm.isValidIconOrPreviewUrl(_vm.icon),\n\t\t\t},style:({\n\t\t\t\tbackgroundImage: _vm.isValidIconOrPreviewUrl(_vm.icon) ? `url(${_vm.icon})` : '',\n\t\t\t}),attrs:{\"aria-hidden\":\"true\"}},[(_vm.isValidIconOrPreviewUrl(_vm.thumbnailUrl) && !_vm.thumbnailHasError)?_c('img',{attrs:{\"src\":_vm.thumbnailUrl},on:{\"error\":_vm.thumbnailErrorHandler}}):_vm._e()])]},proxy:true},{key:\"subname\",fn:function(){return [_vm._v(\"\\n\\t\\t\"+_vm._s(_vm.subline)+\"\\n\\t\")]},proxy:true}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getCurrentUser } from '@nextcloud/auth'\nimport { getLoggerBuilder } from '@nextcloud/logger'\n\n/**\n *\n * @param user\n */\nfunction getLogger(user) {\n\tif (user === null) {\n\t\treturn getLoggerBuilder()\n\t\t\t.setApp('core')\n\t\t\t.build()\n\t}\n\treturn getLoggerBuilder()\n\t\t.setApp('core')\n\t\t.setUid(user.uid)\n\t\t.build()\n}\n\nexport default getLogger(getCurrentUser())\n\nexport const unifiedSearchLogger = getLoggerBuilder()\n\t.setApp('unified-search')\n\t.detectUser()\n\t.build()\n","/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getCurrentUser } from '@nextcloud/auth'\nimport axios from '@nextcloud/axios'\nimport { generateOcsUrl, generateUrl } from '@nextcloud/router'\nimport logger from '../logger.js'\n\n/**\n * Create a cancel token\n *\n * @return {import('axios').CancelTokenSource}\n */\nconst createCancelToken = () => axios.CancelToken.source()\n\n/**\n * Get the list of available search providers\n *\n * @return {Promise}\n */\nexport async function getProviders() {\n\ttry {\n\t\tconst { data } = await axios.get(generateOcsUrl('search/providers'), {\n\t\t\tparams: {\n\t\t\t\t// Sending which location we're currently at\n\t\t\t\tfrom: window.location.pathname.replace('/index.php', '') + window.location.search,\n\t\t\t},\n\t\t})\n\t\tif ('ocs' in data && 'data' in data.ocs && Array.isArray(data.ocs.data) && data.ocs.data.length > 0) {\n\t\t\t// Providers are sorted by the api based on their order key\n\t\t\treturn data.ocs.data\n\t\t}\n\t} catch (error) {\n\t\tlogger.error(error)\n\t}\n\treturn []\n}\n\n/**\n * Get the list of available search providers\n *\n * @param {object} options destructuring object\n * @param {string} options.type the type to search\n * @param {string} options.query the search\n * @param {number|string|undefined} options.cursor the offset for paginated searches\n * @param {string} options.since the search\n * @param {string} options.until the search\n * @param {string} options.limit the search\n * @param {string} options.person the search\n * @param {object} options.extraQueries additional queries to filter search results\n * @return {object} {request: Promise, cancel: Promise}\n */\nexport function search({ type, query, cursor, since, until, limit, person, extraQueries = {} }) {\n\t/**\n\t * Generate an axios cancel token\n\t */\n\tconst cancelToken = createCancelToken()\n\n\tconst request = async () => axios.get(generateOcsUrl('search/providers/{type}/search', { type }), {\n\t\tcancelToken: cancelToken.token,\n\t\tparams: {\n\t\t\tterm: query,\n\t\t\tcursor,\n\t\t\tsince,\n\t\t\tuntil,\n\t\t\tlimit,\n\t\t\tperson,\n\t\t\t// Sending which location we're currently at\n\t\t\tfrom: window.location.pathname.replace('/index.php', '') + window.location.search,\n\t\t\t...extraQueries,\n\t\t},\n\t})\n\n\treturn {\n\t\trequest,\n\t\tcancel: cancelToken.cancel,\n\t}\n}\n\n/**\n * Get the list of active contacts\n *\n * @param {object} filter filter contacts by string\n * @param {string} filter.searchTerm the query\n * @return {object} {request: Promise}\n */\nexport async function getContacts({ searchTerm }) {\n\tconst { data: { contacts } } = await axios.post(generateUrl('/contactsmenu/contacts'), {\n\t\tfilter: searchTerm,\n\t})\n\t/*\n\t * Add authenticated user to list of contacts for search filter\n\t * If authtenicated user is searching/filtering, do not add them to the list\n\t */\n\tif (!searchTerm) {\n\t\tlet authenticatedUser = getCurrentUser()\n\t\tauthenticatedUser = {\n\t\t\tid: authenticatedUser.uid,\n\t\t\tfullName: authenticatedUser.displayName,\n\t\t\temailAddresses: [],\n\t\t}\n\t\tcontacts.unshift(authenticatedUser)\n\t\treturn contacts\n\t}\n\n\treturn contacts\n}\n","/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { defineStore } from 'pinia'\n\nexport const useSearchStore = defineStore('search', {\n\tstate: () => ({\n\t\texternalFilters: [],\n\t}),\n\n\tactions: {\n\t\tregisterExternalFilter({ id, appId, searchFrom, label, callback, icon }) {\n\t\t\tthis.externalFilters.push({ id, appId, searchFrom, name: label, callback, icon, isPluginFilter: true })\n\t\t},\n\t},\n})\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchModal.vue?vue&type=script&lang=ts\"","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchModal.vue?vue&type=style&index=0&id=e675c164&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchModal.vue?vue&type=style&index=0&id=e675c164&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./UnifiedSearchModal.vue?vue&type=template&id=e675c164&scoped=true\"\nimport script from \"./UnifiedSearchModal.vue?vue&type=script&lang=ts\"\nexport * from \"./UnifiedSearchModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UnifiedSearchModal.vue?vue&type=style&index=0&id=e675c164&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e675c164\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearch.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearch.vue?vue&type=script&lang=ts\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"unified-search-menu\"},[_c('NcHeaderButton',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showLocalSearch),expression:\"!showLocalSearch\"}],attrs:{\"id\":\"unified-search\",\"aria-label\":_vm.t('core', 'Unified search')},on:{\"click\":_vm.toggleUnifiedSearch},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('NcIconSvgWrapper',{attrs:{\"path\":_vm.mdiMagnify}})]},proxy:true}])}),_vm._v(\" \"),(_vm.supportsLocalSearch)?_c('UnifiedSearchLocalSearchBar',{attrs:{\"open\":_vm.showLocalSearch,\"query\":_vm.queryText},on:{\"update:open\":function($event){_vm.showLocalSearch=$event},\"update:query\":function($event){_vm.queryText=$event},\"global-search\":_vm.openModal}}):_vm._e(),_vm._v(\" \"),_c('UnifiedSearchModal',{attrs:{\"local-search\":_vm.supportsLocalSearch,\"query\":_vm.queryText,\"open\":_vm.showUnifiedSearch},on:{\"update:query\":function($event){_vm.queryText=$event},\"update:open\":function($event){_vm.showUnifiedSearch=$event}}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearch.vue?vue&type=style&index=0&id=bd38cb24&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearch.vue?vue&type=style&index=0&id=bd38cb24&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./UnifiedSearch.vue?vue&type=template&id=bd38cb24&scoped=true\"\nimport script from \"./UnifiedSearch.vue?vue&type=script&lang=ts\"\nexport * from \"./UnifiedSearch.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UnifiedSearch.vue?vue&type=style&index=0&id=bd38cb24&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bd38cb24\",\n null\n \n)\n\nexport default component.exports","/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { getCSPNonce } from '@nextcloud/auth';\nimport { translatePlural as n, translate as t } from '@nextcloud/l10n';\nimport { getLoggerBuilder } from '@nextcloud/logger';\nimport { createPinia, PiniaVuePlugin } from 'pinia';\nimport Vue from 'vue';\nimport UnifiedSearch from './views/UnifiedSearch.vue';\nimport { useSearchStore } from '../src/store/unified-search-external-filters.js';\n__webpack_nonce__ = getCSPNonce();\nconst logger = getLoggerBuilder()\n .setApp('unified-search')\n .detectUser()\n .build();\nVue.mixin({\n data() {\n return {\n logger,\n };\n },\n methods: {\n t,\n n,\n },\n});\n// Register the add/register filter action API globally\nwindow.OCA = window.OCA || {};\nwindow.OCA.UnifiedSearch = {\n registerFilterAction: ({ id, appId, searchFrom, label, callback, icon }) => {\n const searchStore = useSearchStore();\n searchStore.registerExternalFilter({ id, appId, searchFrom, label, callback, icon });\n },\n};\nVue.use(PiniaVuePlugin);\nconst pinia = createPinia();\nexport default new Vue({\n el: '#unified-search',\n pinia,\n name: 'UnifiedSearchRoot',\n render: (h) => h(UnifiedSearch),\n});\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.unified-search-custom-date-modal[data-v-2907014b]{padding:10px 20px 10px 20px}.unified-search-custom-date-modal h1[data-v-2907014b]{font-size:16px;font-weight:bolder;line-height:2em}.unified-search-custom-date-modal__pickers[data-v-2907014b]{display:flex;flex-direction:column}.unified-search-custom-date-modal__footer[data-v-2907014b]{display:flex;justify-content:end}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/CustomDateRangeModal.vue\"],\"names\":[],\"mappings\":\"AACA,mDACC,2BAAA,CAEA,sDACC,cAAA,CACA,kBAAA,CACA,eAAA,CAGD,4DACC,YAAA,CACA,qBAAA,CAGD,2DACC,YAAA,CACA,mBAAA\",\"sourcesContent\":[\"\\n.unified-search-custom-date-modal {\\n\\tpadding: 10px 20px 10px 20px;\\n\\n\\th1 {\\n\\t\\tfont-size: 16px;\\n\\t\\tfont-weight: bolder;\\n\\t\\tline-height: 2em;\\n\\t}\\n\\n\\t&__pickers {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: column;\\n\\t}\\n\\n\\t&__footer {\\n\\t\\tdisplay: flex;\\n\\t\\tjustify-content: end;\\n\\t}\\n\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.chip[data-v-60a863d2]{display:flex;align-items:center;padding:2px 4px;border:1px solid var(--color-primary-element-light);border-radius:20px;background-color:var(--color-primary-element-light);margin:2px}.chip .icon[data-v-60a863d2]{display:flex;align-items:center;padding-inline-end:5px}.chip .icon img[data-v-60a863d2]{width:20px;padding:2px;border-radius:20px;filter:var(--background-invert-if-bright)}.chip .text[data-v-60a863d2]{margin:0 2px}.chip .close-icon[data-v-60a863d2]{cursor:pointer}.chip .close-icon[data-v-60a863d2] :hover{filter:invert(20%)}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/SearchFilterChip.vue\"],\"names\":[],\"mappings\":\"AACA,uBACI,YAAA,CACA,kBAAA,CACA,eAAA,CACA,mDAAA,CACA,kBAAA,CACA,mDAAA,CACA,UAAA,CAEA,6BACI,YAAA,CACA,kBAAA,CACA,sBAAA,CAEA,iCACI,UAAA,CACA,WAAA,CACA,kBAAA,CACA,yCAAA,CAIR,6BACI,YAAA,CAGJ,mCACI,cAAA,CAEA,0CACI,kBAAA\",\"sourcesContent\":[\"\\n.chip {\\n display: flex;\\n align-items: center;\\n padding: 2px 4px;\\n border: 1px solid var(--color-primary-element-light);\\n border-radius: 20px;\\n background-color: var(--color-primary-element-light);\\n margin: 2px;\\n\\n .icon {\\n display: flex;\\n align-items: center;\\n padding-inline-end: 5px;\\n\\n img {\\n width: 20px;\\n padding: 2px;\\n border-radius: 20px;\\n filter: var(--background-invert-if-bright);\\n }\\n }\\n\\n .text {\\n margin: 0 2px;\\n }\\n\\n .close-icon {\\n cursor: pointer ;\\n\\n :hover {\\n filter: invert(20%);\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.result-item[data-v-ca416b22] a{border:2px solid rgba(0,0,0,0);border-radius:var(--border-radius-large) !important}.result-item[data-v-ca416b22] a:active,.result-item[data-v-ca416b22] a:hover,.result-item[data-v-ca416b22] a:focus{background-color:var(--color-background-hover);border:2px solid var(--color-border-maxcontrast)}.result-item[data-v-ca416b22] a *{cursor:pointer}.result-item__icon[data-v-ca416b22]{overflow:hidden;width:var(--default-clickable-area);height:var(--default-clickable-area);border-radius:var(--border-radius);background-repeat:no-repeat;background-position:center center;background-size:32px}.result-item__icon--rounded[data-v-ca416b22]{border-radius:calc(var(--default-clickable-area)/2)}.result-item__icon--no-preview[data-v-ca416b22]{background-size:32px}.result-item__icon--with-thumbnail[data-v-ca416b22]{background-size:cover}.result-item__icon--with-thumbnail[data-v-ca416b22]:not(.result-item__icon--rounded){border:1px solid var(--color-border);max-height:calc(var(--default-clickable-area) - 2px);max-width:calc(var(--default-clickable-area) - 2px)}.result-item__icon img[data-v-ca416b22]{width:100%;height:100%;object-fit:cover;object-position:center}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/SearchResult.vue\"],\"names\":[],\"mappings\":\"AAEC,gCACC,8BAAA,CACA,mDAAA,CAEA,mHAGC,8CAAA,CACA,gDAAA,CAGD,kCACC,cAAA,CAIF,oCACC,eAAA,CACA,mCAAA,CACA,oCAAA,CACA,kCAAA,CACA,2BAAA,CACA,iCAAA,CACA,oBAAA,CAEA,6CACC,mDAAA,CAGD,gDACC,oBAAA,CAGD,oDACC,qBAAA,CAGD,qFACC,oCAAA,CAEA,oDAAA,CACA,mDAAA,CAGD,wCAEC,UAAA,CACA,WAAA,CAEA,gBAAA,CACA,sBAAA\",\"sourcesContent\":[\"\\n.result-item {\\n\\t:deep(a) {\\n\\t\\tborder: 2px solid transparent;\\n\\t\\tborder-radius: var(--border-radius-large) !important;\\n\\n\\t\\t&:active,\\n\\t\\t&:hover,\\n\\t\\t&:focus {\\n\\t\\t\\tbackground-color: var(--color-background-hover);\\n\\t\\t\\tborder: 2px solid var(--color-border-maxcontrast);\\n\\t\\t}\\n\\n\\t\\t* {\\n\\t\\t\\tcursor: pointer;\\n\\t\\t}\\n\\t}\\n\\n\\t&__icon {\\n\\t\\toverflow: hidden;\\n\\t\\twidth: var(--default-clickable-area);\\n\\t\\theight: var(--default-clickable-area);\\n\\t\\tborder-radius: var(--border-radius);\\n\\t\\tbackground-repeat: no-repeat;\\n\\t\\tbackground-position: center center;\\n\\t\\tbackground-size: 32px;\\n\\n\\t\\t&--rounded {\\n\\t\\t\\tborder-radius: calc(var(--default-clickable-area) / 2);\\n\\t\\t}\\n\\n\\t\\t&--no-preview {\\n\\t\\t\\tbackground-size: 32px;\\n\\t\\t}\\n\\n\\t\\t&--with-thumbnail {\\n\\t\\t\\tbackground-size: cover;\\n\\t\\t}\\n\\n\\t\\t&--with-thumbnail:not(#{&}--rounded) {\\n\\t\\t\\tborder: 1px solid var(--color-border);\\n\\t\\t\\t// compensate for border\\n\\t\\t\\tmax-height: calc(var(--default-clickable-area) - 2px);\\n\\t\\t\\tmax-width: calc(var(--default-clickable-area) - 2px);\\n\\t\\t}\\n\\n\\t\\timg {\\n\\t\\t\\t// Make sure to keep ratio\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\theight: 100%;\\n\\n\\t\\t\\tobject-fit: cover;\\n\\t\\t\\tobject-position: center;\\n\\t\\t}\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.searchable-list__wrapper[data-v-37b50471]{padding:calc(var(--default-grid-baseline)*3);display:flex;flex-direction:column;align-items:center;width:250px}.searchable-list__list[data-v-37b50471]{width:100%;max-height:284px;overflow-y:auto;margin-top:var(--default-grid-baseline);padding:var(--default-grid-baseline)}.searchable-list__list[data-v-37b50471] .button-vue{border-radius:var(--border-radius-large) !important}.searchable-list__list[data-v-37b50471] .button-vue span{font-weight:initial}.searchable-list__empty-content[data-v-37b50471]{margin-top:calc(var(--default-grid-baseline)*3)}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/SearchableList.vue\"],\"names\":[],\"mappings\":\"AAEC,2CACC,4CAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,WAAA,CAGD,wCACC,UAAA,CACA,gBAAA,CACA,eAAA,CACA,uCAAA,CACA,oCAAA,CAEA,oDACC,mDAAA,CACA,yDACC,mBAAA,CAKH,iDACC,+CAAA\",\"sourcesContent\":[\"\\n.searchable-list {\\n\\t&__wrapper {\\n\\t\\tpadding: calc(var(--default-grid-baseline) * 3);\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: column;\\n\\t\\talign-items: center;\\n\\t\\twidth: 250px;\\n\\t}\\n\\n\\t&__list {\\n\\t\\twidth: 100%;\\n\\t\\tmax-height: 284px;\\n\\t\\toverflow-y: auto;\\n\\t\\tmargin-top: var(--default-grid-baseline);\\n\\t\\tpadding: var(--default-grid-baseline);\\n\\n\\t\\t:deep(.button-vue) {\\n\\t\\t\\tborder-radius: var(--border-radius-large) !important;\\n\\t\\t\\tspan {\\n\\t\\t\\t\\tfont-weight: initial;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\n\\t&__empty-content {\\n\\t\\tmargin-top: calc(var(--default-grid-baseline) * 3);\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.local-unified-search[data-v-2b577e50]{--local-search-width: min(calc(250px + var(--dfb017de)), 95vw);box-sizing:border-box;position:relative;height:var(--header-height);width:var(--local-search-width);display:flex;align-items:center;z-index:10;padding-inline:var(--border-width-input-focused);overflow:hidden;inset-inline-end:0}.local-unified-search .local-unified-search__global-search[data-v-2b577e50]{position:absolute;inset-inline-end:var(--default-clickable-area)}.local-unified-search .local-unified-search__input[data-v-2b577e50]{box-sizing:border-box;margin:0;width:var(--local-search-width)}.local-unified-search .local-unified-search__input[data-v-2b577e50] input{padding-inline-end:calc(var(--dfb017de) + var(--default-clickable-area))}.animated-width[data-v-2b577e50]{transition:width var(--animation-quick) linear}.v-leave-active[data-v-2b577e50]{position:absolute !important}.v-enter.local-unified-search[data-v-2b577e50],.v-leave-to.local-unified-search[data-v-2b577e50]{--local-search-width: var(--clickable-area-large)}@media screen and (max-width: 500px){.local-unified-search.local-unified-search--open[data-v-2b577e50]{--local-search-width: 100vw;padding-inline:var(--default-grid-baseline)}.unified-search-menu:has(.local-unified-search--open){position:absolute !important;inset-inline:0}.header-end:has(.local-unified-search--open) > :not(.unified-search-menu){display:none}}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue\"],\"names\":[],\"mappings\":\"AACA,uCACC,8DAAA,CACA,qBAAA,CACA,iBAAA,CACA,2BAAA,CACA,+BAAA,CACA,YAAA,CACA,kBAAA,CAEA,UAAA,CAEA,gDAAA,CAEA,eAAA,CAEA,kBAAA,CAEA,4EACC,iBAAA,CACA,8CAAA,CAGD,oEACC,qBAAA,CAEA,QAAA,CACA,+BAAA,CAIA,0EAEC,wEAAA,CAKH,iCACC,8CAAA,CAKD,iCACC,4BAAA,CAKA,iGAEC,iDAAA,CAIF,qCACC,kEAEC,2BAAA,CACA,2CAAA,CAID,sDACC,4BAAA,CACA,cAAA,CAGD,0EACC,YAAA,CAAA\",\"sourcesContent\":[\"\\n.local-unified-search {\\n\\t--local-search-width: min(calc(250px + v-bind('searchGlobalButtonCSSWidth')), 95vw);\\n\\tbox-sizing: border-box;\\n\\tposition: relative;\\n\\theight: var(--header-height);\\n\\twidth: var(--local-search-width);\\n\\tdisplay: flex;\\n\\talign-items: center;\\n\\t// Ensure it overlays the other entries\\n\\tz-index: 10;\\n\\t// add some padding for the focus visible outline\\n\\tpadding-inline: var(--border-width-input-focused);\\n\\t// hide the overflow - needed for the transition\\n\\toverflow: hidden;\\n\\t// Ensure the position is fixed also during \\\"position: absolut\\\" (transition)\\n\\tinset-inline-end: 0;\\n\\n\\t#{&} &__global-search {\\n\\t\\tposition: absolute;\\n\\t\\tinset-inline-end: var(--default-clickable-area);\\n\\t}\\n\\n\\t#{&} &__input {\\n\\t\\tbox-sizing: border-box;\\n\\t\\t// override some nextcloud-vue styles\\n\\t\\tmargin: 0;\\n\\t\\twidth: var(--local-search-width);\\n\\n\\t\\t// Fixup the spacing so we can fit in the \\\"search globally\\\" button\\n\\t\\t// this can break at any time the component library changes\\n\\t\\t:deep(input) {\\n\\t\\t\\t// search global width + close button width\\n\\t\\t\\tpadding-inline-end: calc(v-bind('searchGlobalButtonCSSWidth') + var(--default-clickable-area));\\n\\t\\t}\\n\\t}\\n}\\n\\n.animated-width {\\n\\ttransition: width var(--animation-quick) linear;\\n}\\n\\n// Make the position absolute during the transition\\n// this is needed to \\\"hide\\\" the button behind it\\n.v-leave-active {\\n\\tposition: absolute !important;\\n}\\n\\n.v-enter,\\n.v-leave-to {\\n\\t&.local-unified-search {\\n\\t\\t// Start with only the overlay button\\n\\t\\t--local-search-width: var(--clickable-area-large);\\n\\t}\\n}\\n\\n@media screen and (max-width: 500px) {\\n\\t.local-unified-search.local-unified-search--open {\\n\\t\\t// 100% but still show the menu toggle on the very right\\n\\t\\t--local-search-width: 100vw;\\n\\t\\tpadding-inline: var(--default-grid-baseline);\\n\\t}\\n\\n\\t// when open we need to position it absolute to allow overlay the full bar\\n\\t:global(.unified-search-menu:has(.local-unified-search--open)) {\\n\\t\\tposition: absolute !important;\\n\\t\\tinset-inline: 0;\\n\\t}\\n\\t// Hide all other entries, especially the user menu as it might leak pixels\\n\\t:global(.header-end:has(.local-unified-search--open) > :not(.unified-search-menu)) {\\n\\t\\tdisplay: none;\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.unified-search-modal-root[data-v-e675c164] .modal-container{box-sizing:border-box;height:min(80vh,800px)}[data-v-e675c164] .unified-search-modal .unified-search-modal__content{display:flex;flex-direction:column;padding-inline:0}.unified-search-modal__header[data-v-e675c164]{background-color:var(--color-main-background);padding-inline-end:12px;padding-block-end:12px;position:sticky;top:6px}.unified-search-modal__filters[data-v-e675c164]{display:flex;flex-wrap:wrap;gap:4px;justify-content:start;padding-top:4px}.unified-search-modal__search-external-resources[data-v-e675c164] span.checkbox-content{padding-top:0;padding-bottom:0}.unified-search-modal__search-external-resources[data-v-e675c164] .checkbox-content__icon{margin:auto !important}.unified-search-modal__search-external-resources--aligned[data-v-e675c164]{margin-inline-start:auto}.unified-search-modal__filters-applied[data-v-e675c164]{padding-top:4px;display:flex;flex-wrap:wrap}.unified-search-modal__no-content[data-v-e675c164]{display:flex;align-items:center;margin-top:.5em;height:70%}.unified-search-modal__results[data-v-e675c164]{overflow:hidden scroll;padding-inline:0 12px;padding-block:0 12px}.unified-search-modal__results .result-title[data-v-e675c164]{color:var(--color-primary-element);font-size:16px;margin-block:8px 4px}.unified-search-modal__results .result-footer[data-v-e675c164]{justify-content:space-between;align-items:center;display:flex}.unified-search-modal__results .result--unfiltered[data-v-e675c164]{opacity:.7}.unified-search-modal__unfiltered-header[data-v-e675c164]{display:flex;flex-direction:column;gap:2px;margin-block:16px 8px;padding-block:12px 0;border-top:1px solid var(--color-border)}.unified-search-modal__unfiltered-label[data-v-e675c164]{font-weight:bold;color:var(--color-text-maxcontrast)}.filter-button__icon[data-v-e675c164]{height:20px;width:20px;object-fit:contain;filter:var(--background-invert-if-bright);padding:11px}@media only screen and (max-height: 400px){.unified-search-modal__results[data-v-e675c164]{overflow:unset}}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/UnifiedSearchModal.vue\"],\"names\":[],\"mappings\":\"AACA,6DACC,qBAAA,CACA,sBAAA,CAGD,uEACC,YAAA,CACA,qBAAA,CAEA,gBAAA,CAIA,+CAEC,6CAAA,CAEA,uBAAA,CAEA,sBAAA,CAEA,eAAA,CACA,OAAA,CAGD,gDACC,YAAA,CACA,cAAA,CACA,OAAA,CACA,qBAAA,CACA,eAAA,CAIA,wFACC,aAAA,CACA,gBAAA,CAGD,0FACC,sBAAA,CAGD,2EACC,wBAAA,CAIF,wDACC,eAAA,CACA,YAAA,CACA,cAAA,CAGD,mDACC,YAAA,CACA,kBAAA,CACA,eAAA,CACA,UAAA,CAGD,gDACC,sBAAA,CAEA,qBAAA,CACA,oBAAA,CAGC,8DACC,kCAAA,CACA,cAAA,CACA,oBAAA,CAGD,+DACC,6BAAA,CACA,kBAAA,CACA,YAAA,CAGD,oEACC,UAAA,CAMH,0DACC,YAAA,CACA,qBAAA,CACA,OAAA,CACA,qBAAA,CACA,oBAAA,CACA,wCAAA,CAGD,yDACC,gBAAA,CACA,mCAAA,CAIF,sCACC,WAAA,CACA,UAAA,CACA,kBAAA,CACA,yCAAA,CACA,YAAA,CAID,2CACC,gDACC,cAAA,CAAA\",\"sourcesContent\":[\"\\n.unified-search-modal-root :deep(.modal-container) {\\n\\tbox-sizing: border-box;\\n\\theight: min(80vh, 800px);\\n}\\n\\n:deep(.unified-search-modal .unified-search-modal__content) {\\n\\tdisplay: flex;\\n\\tflex-direction: column;\\n\\t// No padding to prevent scrollbar misplacement\\n\\tpadding-inline: 0;\\n}\\n\\n.unified-search-modal {\\n\\t&__header {\\n\\t\\t// Add background to prevent leaking scrolled content (because of sticky position)\\n\\t\\tbackground-color: var(--color-main-background);\\n\\t\\t// Fix padding to have the input centered\\n\\t\\tpadding-inline-end: 12px;\\n\\t\\t// Some padding to make elements scrolled under sticky position look nicer\\n\\t\\tpadding-block-end: 12px;\\n\\t\\t// Make it sticky with the input margin for the label\\n\\t\\tposition: sticky;\\n\\t\\ttop: 6px;\\n\\t}\\n\\n\\t&__filters {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-wrap: wrap;\\n\\t\\tgap: 4px;\\n\\t\\tjustify-content: start;\\n\\t\\tpadding-top: 4px;\\n\\t}\\n\\n\\t&__search-external-resources {\\n\\t\\t:deep(span.checkbox-content) {\\n\\t\\t\\tpadding-top: 0;\\n\\t\\t\\tpadding-bottom: 0;\\n\\t\\t}\\n\\n\\t\\t:deep(.checkbox-content__icon) {\\n\\t\\t\\tmargin: auto !important;\\n\\t\\t}\\n\\n\\t\\t&--aligned {\\n\\t\\t\\tmargin-inline-start: auto;\\n\\t\\t}\\n\\t}\\n\\n\\t&__filters-applied {\\n\\t\\tpadding-top: 4px;\\n\\t\\tdisplay: flex;\\n\\t\\tflex-wrap: wrap;\\n\\t}\\n\\n\\t&__no-content {\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\tmargin-top: 0.5em;\\n\\t\\theight: 70%;\\n\\t}\\n\\n\\t&__results {\\n\\t\\toverflow: hidden scroll;\\n\\t\\t// Adjust padding to match container but keep the scrollbar on the very end\\n\\t\\tpadding-inline: 0 12px;\\n\\t\\tpadding-block: 0 12px;\\n\\n\\t\\t.result {\\n\\t\\t\\t&-title {\\n\\t\\t\\t\\tcolor: var(--color-primary-element);\\n\\t\\t\\t\\tfont-size: 16px;\\n\\t\\t\\t\\tmargin-block: 8px 4px;\\n\\t\\t\\t}\\n\\n\\t\\t\\t&-footer {\\n\\t\\t\\t\\tjustify-content: space-between;\\n\\t\\t\\t\\talign-items: center;\\n\\t\\t\\t\\tdisplay: flex;\\n\\t\\t\\t}\\n\\n\\t\\t\\t&--unfiltered {\\n\\t\\t\\t\\topacity: 0.7;\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t}\\n\\n\\t&__unfiltered-header {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: column;\\n\\t\\tgap: 2px;\\n\\t\\tmargin-block: 16px 8px;\\n\\t\\tpadding-block: 12px 0;\\n\\t\\tborder-top: 1px solid var(--color-border);\\n\\t}\\n\\n\\t&__unfiltered-label {\\n\\t\\tfont-weight: bold;\\n\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t}\\n}\\n\\n.filter-button__icon {\\n\\theight: 20px;\\n\\twidth: 20px;\\n\\tobject-fit: contain;\\n\\tfilter: var(--background-invert-if-bright);\\n\\tpadding: 11px; // align with text to fit at least 44px\\n}\\n\\n// Ensure modal is accessible on small devices\\n@media only screen and (max-height: 400px) {\\n\\t.unified-search-modal__results {\\n\\t\\toverflow: unset;\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.unified-search-menu[data-v-bd38cb24]{display:flex;align-items:center;justify-content:center}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/views/UnifiedSearch.vue\"],\"names\":[],\"mappings\":\"AAEA,sCACC,YAAA,CACA,kBAAA,CACA,sBAAA\",\"sourcesContent\":[\"\\n// this is needed to allow us overriding component styles (focus-visible)\\n.unified-search-menu {\\n\\tdisplay: flex;\\n\\talign-items: center;\\n\\tjustify-content: center;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","// The chunk loading function for additional chunks\n// Since all referenced chunks are already included\n// in this file, this function is empty here.\n__webpack_require__.e = () => (Promise.resolve());","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 6776;","__webpack_require__.b = (typeof document !== 'undefined' && document.baseURI) || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t6776: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunknextcloud_ui_legacy\"] = globalThis[\"webpackChunknextcloud_ui_legacy\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [4208], () => (__webpack_require__(57558)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","_defineComponent","__name","props","query","open","type","Boolean","emits","setup","__props","emit","_useCssVars","_vm","_setup","searchGlobalButtonCSSWidth","searchInput","ref","watchEffect","value","focus","isMobile","useIsMobile","searchGlobalButton","width","searchGlobalButtonWidth","useElementSize","computed","__sfc","clearAndCloseSearch","mdiClose","mdiCloudSearchOutline","t","NcButton","NcIconSvgWrapper","NcInputField","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","this","_c","_self","_setupProxy","staticClass","class","attrs","on","$event","$emit","scopedSlots","_u","key","fn","proxy","_v","_s","_e","name","title","String","fillColor","default","size","Number","_b","$attrs","components","NcModal","CalendarRangeIcon","NcDateTimePicker","isOpen","required","data","dateFilter","startFrom","endAt","isModalOpen","get","set","methods","closeModal","applyCustomRange","model","callback","$$v","$set","expression","IconMagnify","IconAlertCircleOutline","NcAvatar","NcEmptyContent","NcPopover","NcTextField","labelText","searchList","Array","emptyContentText","opened","error","searchTerm","filteredList","filter","element","toLowerCase","length","some","prop","includes","clearSearch","itemSelected","searchTermChanged","term","_t","_l","id","displayName","isUser","user","CloseIcon","text","pretext","deleteChip","NcListItem","thumbnailUrl","subline","resourceUrl","icon","rounded","focused","thumbnailHasError","watch","isValidIconOrPreviewUrl","url","test","startsWith","thumbnailErrorHandler","style","backgroundImage","getCurrentUser","getLoggerBuilder","setApp","build","setUid","uid","unifiedSearchLogger","detectUser","async","getProviders","axios","generateOcsUrl","params","from","window","location","pathname","replace","search","ocs","isArray","logger","getContacts","contacts","post","generateUrl","authenticatedUser","fullName","emailAddresses","unshift","useSearchStore","defineStore","state","externalFilters","actions","registerExternalFilter","appId","searchFrom","label","push","isPluginFilter","defineComponent","IconArrowRight","IconAccountGroup","IconCalendarRange","IconDotsHorizontal","IconFilter","IconListBox","CustomDateRangeModal","FilterChip","NcActions","NcActionButton","NcDialog","NcCheckboxRadioSwitch","SearchableList","SearchResult","localSearch","currentLocation","useBrowserLocation","searchStore","providers","providerActionMenuIsOpen","dateActionMenuIsOpen","providerResultLimit","personFilter","filteredProviders","searching","searchQuery","lastSearchQuery","placessearchTerm","dateTimeFilter","filters","results","showDateRangeModal","internalIsVisible","initialized","searchExternalResources","minSearchLength","loadState","isEmptySearch","hasNoResults","isSearchQueryTooShort","showEmptyContentInfo","emptyContentMessage","userContacts","debouncedFind","debounce","find","debouncedFilterContacts","filterContacts","hasExternalResources","provider","isExternalProvider","hasContentFilters","filteredResults","isInFolderAtRoot","result","path","extraParams","supportsActiveFilters","filteredResultUrls","urls","Set","forEach","entry","add","unfilteredResults","map","has","focusInput","Promise","all","then","groupProvidersByApp","mapContacts","debug","catch","immediate","handler","mounted","subscribe","handlePluginFilter","onUpdateOpen","searchLocally","$nextTick","$refs","providersToSearchOverride","newResults","cursor","extraQueries","contentFilterTypes","f","every","providerIsCompatibleWithFilters","baseProvider","p","since","until","person","limit","shouldSkipSearch","wasManuallySelected","filteredProvider","request","cancelToken","CancelToken","source","token","cancel","unifiedSearch","response","entries","updateResults","updatedResults","newResult","existingResultIndex","findIndex","splice","sortedResults","slice","sort","a","b","aProvider","bProvider","order","contact","isNoUser","subname","applyPersonFilter","existingPersonFilter","loadMoreResultsForProvider","addProviderFilter","providerFilter","isProviderFilterApplied","existingFilterIndex","existing","syncProviderFilters","removeFilter","i","firstArray","secondArray","synchronizedArray","item","index","itemId","secondItem","updateDateFilter","currFilterIndex","applyQuickDateRange","range","today","Date","startDate","endDate","getFullYear","getMonth","getDate","setCustomDateRange","event","toLocaleDateString","getCanonicalLocale","addFilterEvent","filterUpdateText","compatibleProviderIndex","filterParams","groupedByProviderApp","flattenedArray","Object","values","group","filterIds","filterId","undefined","enableAllProviders","_","disabled","providerResult","inAppSearch","NcHeaderButton","UnifiedSearchModal","UnifiedSearchLocalSearchBar","mdiMagnify","queryText","showUnifiedSearch","showLocalSearch","debouncedQueryUpdate","emitUpdatedQuery","supportsLocalSearch","OCP","Accessibility","disableKeyboardShortcuts","addEventListener","onKeyDown","beforeDestroy","removeEventListener","ctrlKey","preventDefault","toggleUnifiedSearch","openModal","directives","rawName","__webpack_nonce__","getCSPNonce","Vue","mixin","n","OCA","UnifiedSearch","registerFilterAction","use","PiniaVuePlugin","pinia","createPinia","el","render","h","___CSS_LOADER_EXPORT___","module","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","loaded","__webpack_modules__","call","m","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","keys","r","getter","__esModule","d","definition","o","defineProperty","enumerable","e","resolve","obj","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","children","document","baseURI","self","href","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","globalThis","bind","nc","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"core-unified-search.js?v=81e1b070f81f0d3b4c35","mappings":"uBAAIA,E,4KCUJ,MCVsR,GDUzPC,EAAAA,EAAAA,IAAiB,CAC1CC,OAAQ,8BACRC,MAAO,CACHC,MAAO,KACPC,KAAM,CAAEC,KAAMC,UAElBC,MAAO,CAAC,cAAe,eAAgB,iBACvCC,KAAAA,CAAMC,GAAS,KAAEC,IACb,MAAMR,EAAQO,GACdE,EAAAA,EAAAA,IAAY,CAACC,EAAKC,KAAM,CACpB,SAAaA,EAAOC,8BAGxB,MAAMC,GAAcC,EAAAA,EAAAA,OAEpBC,EAAAA,EAAAA,IAAY,KACJf,EAAME,MAAQW,EAAYG,OAC1BH,EAAYG,MAAMC,UAI1B,MAAMC,GAAWC,EAAAA,EAAAA,MACXC,GAAqBN,EAAAA,EAAAA,OAEnBO,MAAOC,IAA4BC,EAAAA,EAAAA,KAAeH,GACpDR,GAA6BY,EAAAA,EAAAA,IAAS,IAAMF,EAAwBN,MAAQ,GAAGM,EAAwBN,UAAY,iCAQzH,MAAO,CAAES,OAAO,EAAMzB,QAAOQ,OAAMK,cAAaK,WAAUE,qBAAoBE,0BAAyBV,6BAA4Bc,oBAJnI,WACIlB,EAAK,eAAgB,IACrBA,EAAK,eAAe,EACxB,EACwJmB,SAAQ,MAAEC,sBAAqB,MAAEC,EAAC,KAAEC,SAAQ,IAAEC,iBAAgB,IAAEC,aAAYA,EAAAA,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AgBC,GAGxD,IAAIC,EAAuB,CAACC,EAA4B/W,KACvD,IAGIuU,EAAUsC,GAHT9B,EAAUiC,EAAaC,GAAWjX,EAGhBqP,EAAI,EAC3B,GAAG0F,EAAS9S,KAAMS,GAAgC,IAAxBkU,EAAgBlU,IAAa,CACtD,IAAI6R,KAAYyC,EACZ1C,EAAoBqB,EAAEqB,EAAazC,KACrCD,EAAoBO,EAAEN,GAAYyC,EAAYzC,IAGhD,GAAG0C,EAAS,IAAI/M,EAAS+M,EAAQ3C,EAClC,CAEA,IADGyC,GAA4BA,EAA2B/W,GACrDqP,EAAI0F,EAAS/S,OAAQqN,IACzBwH,EAAU9B,EAAS1F,GAChBiF,EAAoBqB,EAAEiB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOvC,EAAoBQ,EAAE5K,IAG1BgN,EAAqBC,WAA4C,gCAAIA,WAA4C,iCAAK,GAC1HD,EAAmBzM,QAAQqM,EAAqBM,KAAK,KAAM,IAC3DF,EAAmBzQ,KAAOqQ,EAAqBM,KAAK,KAAMF,EAAmBzQ,KAAK2Q,KAAKF,G,KChDvF5C,EAAoB+C,QAAK9F,ECGzB,IAAI+F,EAAsBhD,EAAoBQ,OAAEvD,EAAW,CAAC,MAAO,IAAO+C,EAAoB,QAC9FgD,EAAsBhD,EAAoBQ,EAAEwC,E","sources":["webpack:///nextcloud/webpack/runtime/chunk loaded","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue?vue&type=script&lang=ts&setup=true","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue?3651","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue?395a","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchModal.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRangeOutline.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRangeOutline.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/CalendarRangeOutline.vue?8e99","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRangeOutline.vue?vue&type=template&id=57d00bd1","webpack:///nextcloud/node_modules/vue-material-design-icons/Filter.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/Filter.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/Filter.vue?3711","webpack:///nextcloud/node_modules/vue-material-design-icons/Filter.vue?vue&type=template&id=be2cf3ce","webpack:///nextcloud/node_modules/vue-material-design-icons/ListBox.vue?vue&type=script&lang=js","webpack:///nextcloud/node_modules/vue-material-design-icons/ListBox.vue","webpack://nextcloud/./node_modules/vue-material-design-icons/ListBox.vue?d9c9","webpack:///nextcloud/node_modules/vue-material-design-icons/ListBox.vue?vue&type=template&id=4e2b82c8","webpack:///nextcloud/node_modules/vue-material-design-icons/Magnify.vue?vue&type=script&lang=js","webpack:///nextcloud/node_modules/vue-material-design-icons/Magnify.vue","webpack://nextcloud/./node_modules/vue-material-design-icons/Magnify.vue?0775","webpack:///nextcloud/node_modules/vue-material-design-icons/Magnify.vue?vue&type=template&id=194dfb2a","webpack://nextcloud/./core/src/components/UnifiedSearch/CustomDateRangeModal.vue?b7cc","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRange.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRange.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/CalendarRange.vue?f09e","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarRange.vue?vue&type=template&id=5868fd9e","webpack:///nextcloud/core/src/components/UnifiedSearch/CustomDateRangeModal.vue?vue&type=script&lang=js","webpack:///nextcloud/core/src/components/UnifiedSearch/CustomDateRangeModal.vue","webpack://nextcloud/./core/src/components/UnifiedSearch/CustomDateRangeModal.vue?0fb6","webpack://nextcloud/./core/src/components/UnifiedSearch/CustomDateRangeModal.vue?92fe","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchableList.vue?a21f","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue?vue&type=script&lang=js","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchableList.vue?cd03","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchableList.vue?4344","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchFilterChip.vue?vue&type=script&lang=js","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchFilterChip.vue","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchFilterChip.vue?6432","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchFilterChip.vue?fc0d","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchFilterChip.vue?2352","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchResult.vue?vue&type=script&lang=js","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchResult.vue","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchResult.vue?1b5b","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchResult.vue?32d3","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchResult.vue?e4b5","webpack:///nextcloud/core/src/logger.js","webpack:///nextcloud/core/src/services/UnifiedSearchService.js","webpack:///nextcloud/core/src/store/unified-search-external-filters.js","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchModal.vue?vue&type=script&lang=ts","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchModal.vue?1a4e","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchModal.vue?0132","webpack:///nextcloud/core/src/views/UnifiedSearch.vue?vue&type=script&lang=ts","webpack:///nextcloud/core/src/views/UnifiedSearch.vue","webpack://nextcloud/./core/src/views/UnifiedSearch.vue?5176","webpack://nextcloud/./core/src/views/UnifiedSearch.vue?1990","webpack:///nextcloud/core/src/unified-search.ts","webpack:///nextcloud/core/src/components/UnifiedSearch/CustomDateRangeModal.vue?vue&type=style&index=0&id=2907014b&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchFilterChip.vue?vue&type=style&index=0&id=60a863d2&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchResult.vue?vue&type=style&index=0&id=ca416b22&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue?vue&type=style&index=0&id=37b50471&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue?vue&type=style&index=0&id=2b577e50&prod&scoped=true&lang=scss","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchModal.vue?vue&type=style&index=0&id=53b3f22c&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/views/UnifiedSearch.vue?vue&type=style&index=0&id=bd38cb24&prod&lang=scss&scoped=true","webpack:///nextcloud/webpack/bootstrap","webpack:///nextcloud/webpack/runtime/compat get default export","webpack:///nextcloud/webpack/runtime/define property getters","webpack:///nextcloud/webpack/runtime/ensure chunk","webpack:///nextcloud/webpack/runtime/hasOwnProperty shorthand","webpack:///nextcloud/webpack/runtime/make namespace object","webpack:///nextcloud/webpack/runtime/node module decorator","webpack:///nextcloud/webpack/runtime/runtimeId","webpack:///nextcloud/webpack/runtime/jsonp chunk loading","webpack:///nextcloud/webpack/runtime/nonce","webpack:///nextcloud/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('Transition',[(_vm.open)?_c('div',{staticClass:\"local-unified-search animated-width\",class:{ 'local-unified-search--open': _vm.open }},[_c(_setup.NcInputField,{ref:\"searchInput\",staticClass:\"local-unified-search__input animated-width\",attrs:{\"aria-label\":_setup.t('core', 'Search in current app'),\"placeholder\":_setup.t('core', 'Search in current app'),\"show-trailing-button\":\"\",\"trailing-button-label\":_setup.t('core', 'Clear search'),\"model-value\":_vm.query},on:{\"update:value\":function($event){return _vm.$emit('update:query', $event)},\"trailing-button-click\":_setup.clearAndCloseSearch},scopedSlots:_vm._u([{key:\"trailing-button-icon\",fn:function(){return [_c(_setup.NcIconSvgWrapper,{attrs:{\"path\":_setup.mdiClose}})]},proxy:true}],null,false,3585538455)}),_vm._v(\" \"),_c(_setup.NcButton,{ref:\"searchGlobalButton\",staticClass:\"local-unified-search__global-search\",attrs:{\"aria-label\":_setup.t('core', 'Search everywhere'),\"title\":_setup.t('core', 'Search everywhere'),\"variant\":\"tertiary-no-background\"},on:{\"click\":function($event){return _vm.$emit('global-search')}},scopedSlots:_vm._u([(!_setup.isMobile)?{key:\"default\",fn:function(){return [_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_setup.t('core', 'Search everywhere'))+\"\\n\\t\\t\\t\")]},proxy:true}:null,{key:\"icon\",fn:function(){return [_c(_setup.NcIconSvgWrapper,{attrs:{\"path\":_setup.mdiCloudSearchOutline}})]},proxy:true}],null,true)})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchLocalSearchBar.vue?vue&type=script&lang=ts&setup=true\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchLocalSearchBar.vue?vue&type=script&lang=ts&setup=true\"","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchLocalSearchBar.vue?vue&type=style&index=0&id=2b577e50&prod&scoped=true&lang=scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchLocalSearchBar.vue?vue&type=style&index=0&id=2b577e50&prod&scoped=true&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./UnifiedSearchLocalSearchBar.vue?vue&type=template&id=2b577e50&scoped=true\"\nimport script from \"./UnifiedSearchLocalSearchBar.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./UnifiedSearchLocalSearchBar.vue?vue&type=script&lang=ts&setup=true\"\nimport style0 from \"./UnifiedSearchLocalSearchBar.vue?vue&type=style&index=0&id=2b577e50&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2b577e50\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('NcDialog',{ref:\"unifiedSearchModal\",staticClass:\"unified-search-modal-root\",attrs:{\"id\":\"unified-search\",\"content-classes\":\"unified-search-modal__content\",\"dialog-classes\":\"unified-search-modal\",\"name\":_vm.t('core', 'Unified search'),\"open\":_vm.open,\"size\":\"normal\"},on:{\"update:open\":_vm.onUpdateOpen}},[_c('CustomDateRangeModal',{staticClass:\"unified-search__date-range\",attrs:{\"is-open\":_vm.showDateRangeModal},on:{\"set:custom-date-range\":_vm.setCustomDateRange,\"update:is-open\":function($event){_vm.showDateRangeModal = $event}}}),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-modal__header\"},[_c('NcInputField',{ref:\"searchInput\",attrs:{\"data-cy-unified-search-input\":\"\",\"type\":\"text\",\"label\":_vm.t('core', 'Search apps, files, tags, messages') + '...'},on:{\"update:value\":_vm.debouncedFind},model:{value:(_vm.searchQuery),callback:function ($$v) {_vm.searchQuery=$$v},expression:\"searchQuery\"}}),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-modal__filters\",attrs:{\"data-cy-unified-search-filters\":\"\"}},[_c('NcActions',{attrs:{\"open\":_vm.providerActionMenuIsOpen,\"menu-name\":_vm.t('core', 'Places'),\"data-cy-unified-search-filter\":\"places\"},on:{\"update:open\":function($event){_vm.providerActionMenuIsOpen=$event}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconListBox',{attrs:{\"size\":20}})]},proxy:true}])},[_vm._v(\" \"),_vm._l((_vm.providers),function(provider){return _c('NcActionButton',{key:`${provider.id}-${provider.name.replace(/\\s/g, '')}`,attrs:{\"disabled\":provider.disabled},on:{\"click\":function($event){return _vm.addProviderFilter(provider)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('img',{staticClass:\"filter-button__icon\",attrs:{\"src\":provider.icon,\"alt\":\"\"}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(provider.name)+\"\\n\\t\\t\\t\\t\")])})],2),_vm._v(\" \"),_c('NcActions',{attrs:{\"open\":_vm.dateActionMenuIsOpen,\"menu-name\":_vm.t('core', 'Date'),\"data-cy-unified-search-filter\":\"date\"},on:{\"update:open\":function($event){_vm.dateActionMenuIsOpen=$event}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconCalendarRange',{attrs:{\"size\":20}})]},proxy:true}])},[_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('today')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Today'))+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('7days')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last 7 days'))+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('30days')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last 30 days'))+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('thisyear')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'This year'))+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('lastyear')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last year'))+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"close-after-click\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('custom')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Custom date range'))+\"\\n\\t\\t\\t\\t\")])],1),_vm._v(\" \"),_c('SearchableList',{attrs:{\"label-text\":_vm.t('core', 'Search people'),\"search-list\":_vm.userContacts,\"empty-content-text\":_vm.t('core', 'Not found'),\"data-cy-unified-search-filter\":\"people\"},on:{\"search-term-change\":_vm.debouncedFilterContacts,\"item-selected\":_vm.applyPersonFilter},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c('NcButton',{scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconAccountGroup',{attrs:{\"size\":20}})]},proxy:true}])},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'People'))+\"\\n\\t\\t\\t\\t\\t\")])]},proxy:true}])}),_vm._v(\" \"),(_vm.localSearch)?_c('NcButton',{attrs:{\"data-cy-unified-search-filter\":\"current-view\"},on:{\"click\":_vm.searchLocally},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconFilter',{attrs:{\"size\":20}})]},proxy:true}],null,false,4275912387)},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Filter in current view'))+\"\\n\\t\\t\\t\\t\")]):_vm._e(),_vm._v(\" \"),(_vm.hasExternalResources)?_c('NcCheckboxRadioSwitch',{staticClass:\"unified-search-modal__search-external-resources\",class:{ 'unified-search-modal__search-external-resources--aligned': _vm.localSearch },attrs:{\"type\":\"switch\"},model:{value:(_vm.searchExternalResources),callback:function ($$v) {_vm.searchExternalResources=$$v},expression:\"searchExternalResources\"}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Search connected services'))+\"\\n\\t\\t\\t\")]):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-modal__filters-applied\"},_vm._l((_vm.filters),function(filter){return _c('FilterChip',{key:filter.id,attrs:{\"text\":filter.name ?? filter.text,\"pretext\":\"\"},on:{\"delete\":function($event){return _vm.removeFilter(filter)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [(filter.type === 'person')?_c('NcAvatar',{attrs:{\"user\":filter.user,\"size\":24,\"disable-menu\":\"\",\"hide-user-status\":\"\",\"hide-favorite\":false}}):(filter.type === 'date')?_c('IconCalendarRange'):_c('img',{attrs:{\"src\":filter.icon,\"alt\":\"\"}})]},proxy:true}],null,true)})}),1)],1),_vm._v(\" \"),(_vm.showEmptyContentInfo)?_c('div',{staticClass:\"unified-search-modal__no-content\"},[_c('NcEmptyContent',{attrs:{\"name\":_vm.emptyContentMessage},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconMagnify',{attrs:{\"size\":64}})]},proxy:true}],null,false,125778896)})],1):_c('div',{staticClass:\"unified-search-modal__results\"},[_c('h3',{staticClass:\"hidden-visually\"},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.t('core', 'Results'))+\"\\n\\t\\t\")]),_vm._v(\" \"),_vm._l((_vm.filteredResults),function(providerResult){return _c('div',{key:providerResult.id,staticClass:\"result\"},[_c('h4',{staticClass:\"result-title\",attrs:{\"id\":`unified-search-result-${providerResult.id}`}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\")]),_vm._v(\" \"),_c('ul',{staticClass:\"result-items\",attrs:{\"aria-labelledby\":`unified-search-result-${providerResult.id}`}},_vm._l((providerResult.results),function(result,index){return _c('SearchResult',_vm._b({key:index},'SearchResult',result,false))}),1),_vm._v(\" \"),_c('div',{staticClass:\"result-footer\"},[(providerResult.results.length === providerResult.limit)?_c('NcButton',{attrs:{\"variant\":\"tertiary-no-background\"},on:{\"click\":function($event){return _vm.loadMoreResultsForProvider(providerResult)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconDotsHorizontal',{attrs:{\"size\":20}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Load more results'))+\"\\n\\t\\t\\t\\t\\t\")]):_vm._e(),_vm._v(\" \"),(providerResult.inAppSearch)?_c('NcButton',{attrs:{\"alignment\":\"end-reverse\",\"variant\":\"tertiary-no-background\"},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconArrowRight',{attrs:{\"size\":20}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Search in'))+\" \"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\\t\")]):_vm._e()],1)])}),_vm._v(\" \"),(_vm.unfilteredResults.length > 0)?[_c('div',{staticClass:\"unified-search-modal__unfiltered-header\"},[_c('span',{staticClass:\"unified-search-modal__unfiltered-label\"},[_vm._v(_vm._s(_vm.t('core', 'Partial matches')))])]),_vm._v(\" \"),_vm._l((_vm.unfilteredResults),function(providerResult){return _c('div',{key:`unfiltered-${providerResult.id}`,staticClass:\"result result--unfiltered\"},[_c('h4',{staticClass:\"result-title\",attrs:{\"id\":`unified-search-result-unfiltered-${providerResult.id}`}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('ul',{staticClass:\"result-items\",attrs:{\"aria-labelledby\":`unified-search-result-unfiltered-${providerResult.id}`}},_vm._l((providerResult.results),function(result,index){return _c('SearchResult',_vm._b({key:index},'SearchResult',result,false))}),1),_vm._v(\" \"),_c('div',{staticClass:\"result-footer\"},[(providerResult.results.length === providerResult.limit)?_c('NcButton',{attrs:{\"variant\":\"tertiary-no-background\"},on:{\"click\":function($event){return _vm.loadMoreResultsForProvider(providerResult)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconDotsHorizontal',{attrs:{\"size\":20}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Load more results'))+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e(),_vm._v(\" \"),(providerResult.inAppSearch)?_c('NcButton',{attrs:{\"alignment\":\"end-reverse\",\"variant\":\"tertiary-no-background\"},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconArrowRight',{attrs:{\"size\":20}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Search in'))+\" \"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\\t\\t\")]):_vm._e()],1)])})]:_vm._e()],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./CalendarRangeOutline.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./CalendarRangeOutline.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CalendarRangeOutline.vue?vue&type=template&id=57d00bd1\"\nimport script from \"./CalendarRangeOutline.vue?vue&type=script&lang=js\"\nexport * from \"./CalendarRangeOutline.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon calendar-range-outline-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M7 11H9V13H7V11M21 5V19C21 20.11 20.11 21 19 21H5C3.89 21 3 20.1 3 19V5C3 3.9 3.9 3 5 3H6V1H8V3H16V1H18V3H19C20.11 3 21 3.9 21 5M5 7H19V5H5V7M19 19V9H5V19H19M15 13H17V11H15V13M11 13H13V11H11V13Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./Filter.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./Filter.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Filter.vue?vue&type=template&id=be2cf3ce\"\nimport script from \"./Filter.vue?vue&type=script&lang=js\"\nexport * from \"./Filter.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon filter-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M14,12V19.88C14.04,20.18 13.94,20.5 13.71,20.71C13.32,21.1 12.69,21.1 12.3,20.71L10.29,18.7C10.06,18.47 9.96,18.16 10,17.87V12H9.97L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L14.03,12H14Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./ListBox.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./ListBox.vue?vue&type=script&lang=js\"","\n\n","import { render, staticRenderFns } from \"./ListBox.vue?vue&type=template&id=4e2b82c8\"\nimport script from \"./ListBox.vue?vue&type=script&lang=js\"\nexport * from \"./ListBox.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon list-box-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M7 7H9V9H7V7M7 11H9V13H7V11M7 15H9V17H7V15M17 17H11V15H17V17M17 13H11V11H17V13M17 9H11V7H17V9Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./Magnify.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./Magnify.vue?vue&type=script&lang=js\"","\n\n","import { render, staticRenderFns } from \"./Magnify.vue?vue&type=template&id=194dfb2a\"\nimport script from \"./Magnify.vue?vue&type=script&lang=js\"\nexport * from \"./Magnify.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon magnify-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.isModalOpen)?_c('NcModal',{attrs:{\"id\":\"unified-search\",\"name\":_vm.t('core', 'Custom date range'),\"show\":_vm.isModalOpen,\"size\":\"small\",\"clear-view-delay\":0,\"title\":_vm.t('core', 'Custom date range')},on:{\"update:show\":function($event){_vm.isModalOpen=$event},\"close\":_vm.closeModal}},[_c('div',{staticClass:\"unified-search-custom-date-modal\"},[_c('h1',[_vm._v(_vm._s(_vm.t('core', 'Custom date range')))]),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-custom-date-modal__pickers\"},[_c('NcDateTimePicker',{attrs:{\"id\":\"unifiedsearch-custom-date-range-start\",\"label\":_vm.t('core', 'Pick start date'),\"type\":\"date\"},model:{value:(_vm.dateFilter.startFrom),callback:function ($$v) {_vm.$set(_vm.dateFilter, \"startFrom\", $$v)},expression:\"dateFilter.startFrom\"}}),_vm._v(\" \"),_c('NcDateTimePicker',{attrs:{\"id\":\"unifiedsearch-custom-date-range-end\",\"label\":_vm.t('core', 'Pick end date'),\"type\":\"date\"},model:{value:(_vm.dateFilter.endAt),callback:function ($$v) {_vm.$set(_vm.dateFilter, \"endAt\", $$v)},expression:\"dateFilter.endAt\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-custom-date-modal__footer\"},[_c('NcButton',{on:{\"click\":_vm.applyCustomRange},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('CalendarRangeIcon',{attrs:{\"size\":20}})]},proxy:true}],null,false,3084610734)},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Search in date range'))+\"\\n\\t\\t\\t\\t\")])],1)])]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./CalendarRange.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./CalendarRange.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CalendarRange.vue?vue&type=template&id=5868fd9e\"\nimport script from \"./CalendarRange.vue?vue&type=script&lang=js\"\nexport * from \"./CalendarRange.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',_vm._b({staticClass:\"material-design-icon calendar-range-icon\",attrs:{\"aria-hidden\":_vm.title ? null : 'true',\"aria-label\":_vm.title,\"role\":\"img\"},on:{\"click\":function($event){return _vm.$emit('click', $event)}}},'span',_vm.$attrs,false),[_c('svg',{staticClass:\"material-design-icon__svg\",attrs:{\"fill\":_vm.fillColor,\"width\":_vm.size,\"height\":_vm.size,\"viewBox\":\"0 0 24 24\"}},[_c('path',{attrs:{\"d\":\"M9,10H7V12H9V10M13,10H11V12H13V10M17,10H15V12H17V10M19,3H18V1H16V3H8V1H6V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V8H19V19Z\"}},[(_vm.title)?_c('title',[_vm._v(_vm._s(_vm.title))]):_vm._e()])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomDateRangeModal.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomDateRangeModal.vue?vue&type=script&lang=js\"","\n\n\n\n\n\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomDateRangeModal.vue?vue&type=style&index=0&id=2907014b&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomDateRangeModal.vue?vue&type=style&index=0&id=2907014b&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./CustomDateRangeModal.vue?vue&type=template&id=2907014b&scoped=true\"\nimport script from \"./CustomDateRangeModal.vue?vue&type=script&lang=js\"\nexport * from \"./CustomDateRangeModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./CustomDateRangeModal.vue?vue&type=style&index=0&id=2907014b&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2907014b\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('NcPopover',{attrs:{\"shown\":_vm.opened},on:{\"show\":function($event){_vm.opened = true},\"hide\":function($event){_vm.opened = false}},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_vm._t(\"trigger\")]},proxy:true}],null,true)},[_vm._v(\" \"),_c('div',{staticClass:\"searchable-list__wrapper\"},[_c('NcTextField',{attrs:{\"label\":_vm.labelText,\"trailing-button-icon\":\"close\",\"show-trailing-button\":_vm.searchTerm !== ''},on:{\"update:value\":_vm.searchTermChanged,\"trailing-button-click\":_vm.clearSearch},model:{value:(_vm.searchTerm),callback:function ($$v) {_vm.searchTerm=$$v},expression:\"searchTerm\"}},[_c('IconMagnify',{attrs:{\"size\":20}})],1),_vm._v(\" \"),(_vm.filteredList.length > 0)?_c('ul',{staticClass:\"searchable-list__list\"},_vm._l((_vm.filteredList),function(element){return _c('li',{key:element.id,attrs:{\"title\":element.displayName,\"role\":\"button\"}},[_c('NcButton',{attrs:{\"alignment\":\"start\",\"variant\":\"tertiary\",\"wide\":true},on:{\"click\":function($event){return _vm.itemSelected(element)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [(element.isUser)?_c('NcAvatar',{attrs:{\"user\":element.user,\"hide-user-status\":\"\"}}):_c('NcAvatar',{attrs:{\"is-no-user\":true,\"display-name\":element.displayName,\"hide-user-status\":\"\"}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(element.displayName)+\"\\n\\t\\t\\t\\t\")])],1)}),0):_c('div',{staticClass:\"searchable-list__empty-content\"},[_c('NcEmptyContent',{attrs:{\"name\":_vm.emptyContentText},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconAlertCircleOutline')]},proxy:true}])})],1)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchableList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchableList.vue?vue&type=script&lang=js\"","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchableList.vue?vue&type=style&index=0&id=37b50471&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchableList.vue?vue&type=style&index=0&id=37b50471&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./SearchableList.vue?vue&type=template&id=37b50471&scoped=true\"\nimport script from \"./SearchableList.vue?vue&type=script&lang=js\"\nexport * from \"./SearchableList.vue?vue&type=script&lang=js\"\nimport style0 from \"./SearchableList.vue?vue&type=style&index=0&id=37b50471&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"37b50471\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchFilterChip.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchFilterChip.vue?vue&type=script&lang=js\"","\n\n\n\n\n\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchFilterChip.vue?vue&type=style&index=0&id=60a863d2&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchFilterChip.vue?vue&type=style&index=0&id=60a863d2&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./SearchFilterChip.vue?vue&type=template&id=60a863d2&scoped=true\"\nimport script from \"./SearchFilterChip.vue?vue&type=script&lang=js\"\nexport * from \"./SearchFilterChip.vue?vue&type=script&lang=js\"\nimport style0 from \"./SearchFilterChip.vue?vue&type=style&index=0&id=60a863d2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"60a863d2\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"chip\"},[_c('span',{staticClass:\"icon\"},[_vm._t(\"icon\"),_vm._v(\" \"),(_vm.pretext.length)?_c('span',[_vm._v(\" \"+_vm._s(_vm.pretext)+\" : \")]):_vm._e()],2),_vm._v(\" \"),_c('span',{staticClass:\"text\"},[_vm._v(_vm._s(_vm.text))]),_vm._v(\" \"),_c('span',{staticClass:\"close-icon\",on:{\"click\":_vm.deleteChip}},[_c('CloseIcon',{attrs:{\"size\":18}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchResult.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchResult.vue?vue&type=script&lang=js\"","\n\n\n\n\n\n","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchResult.vue?vue&type=style&index=0&id=ca416b22&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchResult.vue?vue&type=style&index=0&id=ca416b22&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./SearchResult.vue?vue&type=template&id=ca416b22&scoped=true\"\nimport script from \"./SearchResult.vue?vue&type=script&lang=js\"\nexport * from \"./SearchResult.vue?vue&type=script&lang=js\"\nimport style0 from \"./SearchResult.vue?vue&type=style&index=0&id=ca416b22&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ca416b22\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('NcListItem',{staticClass:\"result-item\",attrs:{\"name\":_vm.title,\"bold\":false,\"href\":_vm.resourceUrl,\"target\":\"_self\"},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('div',{staticClass:\"result-item__icon\",class:{\n\t\t\t\t'result-item__icon--rounded': _vm.rounded,\n\t\t\t\t'result-item__icon--no-preview': !_vm.isValidIconOrPreviewUrl(_vm.thumbnailUrl),\n\t\t\t\t'result-item__icon--with-thumbnail': _vm.isValidIconOrPreviewUrl(_vm.thumbnailUrl),\n\t\t\t\t[_vm.icon]: !_vm.isValidIconOrPreviewUrl(_vm.icon),\n\t\t\t},style:({\n\t\t\t\tbackgroundImage: _vm.isValidIconOrPreviewUrl(_vm.icon) ? `url(${_vm.icon})` : '',\n\t\t\t}),attrs:{\"aria-hidden\":\"true\"}},[(_vm.isValidIconOrPreviewUrl(_vm.thumbnailUrl) && !_vm.thumbnailHasError)?_c('img',{attrs:{\"src\":_vm.thumbnailUrl},on:{\"error\":_vm.thumbnailErrorHandler}}):_vm._e()])]},proxy:true},{key:\"subname\",fn:function(){return [_vm._v(\"\\n\\t\\t\"+_vm._s(_vm.subline)+\"\\n\\t\")]},proxy:true}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getCurrentUser } from '@nextcloud/auth'\nimport { getLoggerBuilder } from '@nextcloud/logger'\n\n/**\n *\n * @param user\n */\nfunction getLogger(user) {\n\tif (user === null) {\n\t\treturn getLoggerBuilder()\n\t\t\t.setApp('core')\n\t\t\t.build()\n\t}\n\treturn getLoggerBuilder()\n\t\t.setApp('core')\n\t\t.setUid(user.uid)\n\t\t.build()\n}\n\nexport default getLogger(getCurrentUser())\n\nexport const unifiedSearchLogger = getLoggerBuilder()\n\t.setApp('unified-search')\n\t.detectUser()\n\t.build()\n","/**\n * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getCurrentUser } from '@nextcloud/auth'\nimport axios from '@nextcloud/axios'\nimport { generateOcsUrl, generateUrl } from '@nextcloud/router'\nimport logger from '../logger.js'\n\n/**\n * Create a cancel token\n *\n * @return {import('axios').CancelTokenSource}\n */\nconst createCancelToken = () => axios.CancelToken.source()\n\n/**\n * Get the list of available search providers\n *\n * @return {Promise}\n */\nexport async function getProviders() {\n\ttry {\n\t\tconst { data } = await axios.get(generateOcsUrl('search/providers'), {\n\t\t\tparams: {\n\t\t\t\t// Sending which location we're currently at\n\t\t\t\tfrom: window.location.pathname.replace('/index.php', '') + window.location.search,\n\t\t\t},\n\t\t})\n\t\tif ('ocs' in data && 'data' in data.ocs && Array.isArray(data.ocs.data) && data.ocs.data.length > 0) {\n\t\t\t// Providers are sorted by the api based on their order key\n\t\t\treturn data.ocs.data\n\t\t}\n\t} catch (error) {\n\t\tlogger.error(error)\n\t}\n\treturn []\n}\n\n/**\n * Get the list of available search providers\n *\n * @param {object} options destructuring object\n * @param {string} options.type the type to search\n * @param {string} options.query the search\n * @param {number|string|undefined} options.cursor the offset for paginated searches\n * @param {string} options.since the search\n * @param {string} options.until the search\n * @param {string} options.limit the search\n * @param {string} options.person the search\n * @param {object} options.extraQueries additional queries to filter search results\n * @return {object} {request: Promise, cancel: Promise}\n */\nexport function search({ type, query, cursor, since, until, limit, person, extraQueries = {} }) {\n\t/**\n\t * Generate an axios cancel token\n\t */\n\tconst cancelToken = createCancelToken()\n\n\tconst request = async () => axios.get(generateOcsUrl('search/providers/{type}/search', { type }), {\n\t\tcancelToken: cancelToken.token,\n\t\tparams: {\n\t\t\tterm: query,\n\t\t\tcursor,\n\t\t\tsince,\n\t\t\tuntil,\n\t\t\tlimit,\n\t\t\tperson,\n\t\t\t// Sending which location we're currently at\n\t\t\tfrom: window.location.pathname.replace('/index.php', '') + window.location.search,\n\t\t\t...extraQueries,\n\t\t},\n\t})\n\n\treturn {\n\t\trequest,\n\t\tcancel: cancelToken.cancel,\n\t}\n}\n\n/**\n * Get the list of active contacts\n *\n * @param {object} filter filter contacts by string\n * @param {string} filter.searchTerm the query\n * @return {object} {request: Promise}\n */\nexport async function getContacts({ searchTerm }) {\n\tconst { data: { contacts } } = await axios.post(generateUrl('/contactsmenu/contacts'), {\n\t\tfilter: searchTerm,\n\t})\n\t/*\n\t * Add authenticated user to list of contacts for search filter\n\t * If authtenicated user is searching/filtering, do not add them to the list\n\t */\n\tif (!searchTerm) {\n\t\tlet authenticatedUser = getCurrentUser()\n\t\tauthenticatedUser = {\n\t\t\tid: authenticatedUser.uid,\n\t\t\tfullName: authenticatedUser.displayName,\n\t\t\temailAddresses: [],\n\t\t}\n\t\tcontacts.unshift(authenticatedUser)\n\t\treturn contacts\n\t}\n\n\treturn contacts\n}\n","/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { defineStore } from 'pinia'\n\nexport const useSearchStore = defineStore('search', {\n\tstate: () => ({\n\t\texternalFilters: [],\n\t}),\n\n\tactions: {\n\t\tregisterExternalFilter({ id, appId, searchFrom, label, callback, icon }) {\n\t\t\tthis.externalFilters.push({ id, appId, searchFrom, name: label, callback, icon, isPluginFilter: true })\n\t\t},\n\t},\n})\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchModal.vue?vue&type=script&lang=ts\"","\n import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchModal.vue?vue&type=style&index=0&id=53b3f22c&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearchModal.vue?vue&type=style&index=0&id=53b3f22c&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./UnifiedSearchModal.vue?vue&type=template&id=53b3f22c&scoped=true\"\nimport script from \"./UnifiedSearchModal.vue?vue&type=script&lang=ts\"\nexport * from \"./UnifiedSearchModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UnifiedSearchModal.vue?vue&type=style&index=0&id=53b3f22c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53b3f22c\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearch.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearch.vue?vue&type=script&lang=ts\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"unified-search-menu\"},[_c('NcHeaderButton',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showLocalSearch),expression:\"!showLocalSearch\"}],attrs:{\"id\":\"unified-search\",\"aria-label\":_vm.t('core', 'Unified search')},on:{\"click\":_vm.toggleUnifiedSearch},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('NcIconSvgWrapper',{attrs:{\"path\":_vm.mdiMagnify}})]},proxy:true}])}),_vm._v(\" \"),(_vm.supportsLocalSearch)?_c('UnifiedSearchLocalSearchBar',{attrs:{\"open\":_vm.showLocalSearch,\"query\":_vm.queryText},on:{\"update:open\":function($event){_vm.showLocalSearch=$event},\"update:query\":function($event){_vm.queryText=$event},\"global-search\":_vm.openModal}}):_vm._e(),_vm._v(\" \"),_c('UnifiedSearchModal',{attrs:{\"local-search\":_vm.supportsLocalSearch,\"query\":_vm.queryText,\"open\":_vm.showUnifiedSearch},on:{\"update:query\":function($event){_vm.queryText=$event},\"update:open\":function($event){_vm.showUnifiedSearch=$event}}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearch.vue?vue&type=style&index=0&id=bd38cb24&prod&lang=scss&scoped=true\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/sass-loader/dist/cjs.js!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnifiedSearch.vue?vue&type=style&index=0&id=bd38cb24&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./UnifiedSearch.vue?vue&type=template&id=bd38cb24&scoped=true\"\nimport script from \"./UnifiedSearch.vue?vue&type=script&lang=ts\"\nexport * from \"./UnifiedSearch.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UnifiedSearch.vue?vue&type=style&index=0&id=bd38cb24&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bd38cb24\",\n null\n \n)\n\nexport default component.exports","/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { getCSPNonce } from '@nextcloud/auth';\nimport { translatePlural as n, translate as t } from '@nextcloud/l10n';\nimport { getLoggerBuilder } from '@nextcloud/logger';\nimport { createPinia, PiniaVuePlugin } from 'pinia';\nimport Vue from 'vue';\nimport UnifiedSearch from './views/UnifiedSearch.vue';\nimport { useSearchStore } from '../src/store/unified-search-external-filters.js';\n__webpack_nonce__ = getCSPNonce();\nconst logger = getLoggerBuilder()\n .setApp('unified-search')\n .detectUser()\n .build();\nVue.mixin({\n data() {\n return {\n logger,\n };\n },\n methods: {\n t,\n n,\n },\n});\n// Register the add/register filter action API globally\nwindow.OCA = window.OCA || {};\nwindow.OCA.UnifiedSearch = {\n registerFilterAction: ({ id, appId, searchFrom, label, callback, icon }) => {\n const searchStore = useSearchStore();\n searchStore.registerExternalFilter({ id, appId, searchFrom, label, callback, icon });\n },\n};\nVue.use(PiniaVuePlugin);\nconst pinia = createPinia();\nexport default new Vue({\n el: '#unified-search',\n pinia,\n name: 'UnifiedSearchRoot',\n render: (h) => h(UnifiedSearch),\n});\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.unified-search-custom-date-modal[data-v-2907014b]{padding:10px 20px 10px 20px}.unified-search-custom-date-modal h1[data-v-2907014b]{font-size:16px;font-weight:bolder;line-height:2em}.unified-search-custom-date-modal__pickers[data-v-2907014b]{display:flex;flex-direction:column}.unified-search-custom-date-modal__footer[data-v-2907014b]{display:flex;justify-content:end}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/CustomDateRangeModal.vue\"],\"names\":[],\"mappings\":\"AACA,mDACC,2BAAA,CAEA,sDACC,cAAA,CACA,kBAAA,CACA,eAAA,CAGD,4DACC,YAAA,CACA,qBAAA,CAGD,2DACC,YAAA,CACA,mBAAA\",\"sourcesContent\":[\"\\n.unified-search-custom-date-modal {\\n\\tpadding: 10px 20px 10px 20px;\\n\\n\\th1 {\\n\\t\\tfont-size: 16px;\\n\\t\\tfont-weight: bolder;\\n\\t\\tline-height: 2em;\\n\\t}\\n\\n\\t&__pickers {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: column;\\n\\t}\\n\\n\\t&__footer {\\n\\t\\tdisplay: flex;\\n\\t\\tjustify-content: end;\\n\\t}\\n\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.chip[data-v-60a863d2]{display:flex;align-items:center;padding:2px 4px;border:1px solid var(--color-primary-element-light);border-radius:20px;background-color:var(--color-primary-element-light);margin:2px}.chip .icon[data-v-60a863d2]{display:flex;align-items:center;padding-inline-end:5px}.chip .icon img[data-v-60a863d2]{width:20px;padding:2px;border-radius:20px;filter:var(--background-invert-if-bright)}.chip .text[data-v-60a863d2]{margin:0 2px}.chip .close-icon[data-v-60a863d2]{cursor:pointer}.chip .close-icon[data-v-60a863d2] :hover{filter:invert(20%)}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/SearchFilterChip.vue\"],\"names\":[],\"mappings\":\"AACA,uBACI,YAAA,CACA,kBAAA,CACA,eAAA,CACA,mDAAA,CACA,kBAAA,CACA,mDAAA,CACA,UAAA,CAEA,6BACI,YAAA,CACA,kBAAA,CACA,sBAAA,CAEA,iCACI,UAAA,CACA,WAAA,CACA,kBAAA,CACA,yCAAA,CAIR,6BACI,YAAA,CAGJ,mCACI,cAAA,CAEA,0CACI,kBAAA\",\"sourcesContent\":[\"\\n.chip {\\n display: flex;\\n align-items: center;\\n padding: 2px 4px;\\n border: 1px solid var(--color-primary-element-light);\\n border-radius: 20px;\\n background-color: var(--color-primary-element-light);\\n margin: 2px;\\n\\n .icon {\\n display: flex;\\n align-items: center;\\n padding-inline-end: 5px;\\n\\n img {\\n width: 20px;\\n padding: 2px;\\n border-radius: 20px;\\n filter: var(--background-invert-if-bright);\\n }\\n }\\n\\n .text {\\n margin: 0 2px;\\n }\\n\\n .close-icon {\\n cursor: pointer ;\\n\\n :hover {\\n filter: invert(20%);\\n }\\n }\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.result-item[data-v-ca416b22] a{border:2px solid rgba(0,0,0,0);border-radius:var(--border-radius-large) !important}.result-item[data-v-ca416b22] a:active,.result-item[data-v-ca416b22] a:hover,.result-item[data-v-ca416b22] a:focus{background-color:var(--color-background-hover);border:2px solid var(--color-border-maxcontrast)}.result-item[data-v-ca416b22] a *{cursor:pointer}.result-item__icon[data-v-ca416b22]{overflow:hidden;width:var(--default-clickable-area);height:var(--default-clickable-area);border-radius:var(--border-radius);background-repeat:no-repeat;background-position:center center;background-size:32px}.result-item__icon--rounded[data-v-ca416b22]{border-radius:calc(var(--default-clickable-area)/2)}.result-item__icon--no-preview[data-v-ca416b22]{background-size:32px}.result-item__icon--with-thumbnail[data-v-ca416b22]{background-size:cover}.result-item__icon--with-thumbnail[data-v-ca416b22]:not(.result-item__icon--rounded){border:1px solid var(--color-border);max-height:calc(var(--default-clickable-area) - 2px);max-width:calc(var(--default-clickable-area) - 2px)}.result-item__icon img[data-v-ca416b22]{width:100%;height:100%;object-fit:cover;object-position:center}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/SearchResult.vue\"],\"names\":[],\"mappings\":\"AAEC,gCACC,8BAAA,CACA,mDAAA,CAEA,mHAGC,8CAAA,CACA,gDAAA,CAGD,kCACC,cAAA,CAIF,oCACC,eAAA,CACA,mCAAA,CACA,oCAAA,CACA,kCAAA,CACA,2BAAA,CACA,iCAAA,CACA,oBAAA,CAEA,6CACC,mDAAA,CAGD,gDACC,oBAAA,CAGD,oDACC,qBAAA,CAGD,qFACC,oCAAA,CAEA,oDAAA,CACA,mDAAA,CAGD,wCAEC,UAAA,CACA,WAAA,CAEA,gBAAA,CACA,sBAAA\",\"sourcesContent\":[\"\\n.result-item {\\n\\t:deep(a) {\\n\\t\\tborder: 2px solid transparent;\\n\\t\\tborder-radius: var(--border-radius-large) !important;\\n\\n\\t\\t&:active,\\n\\t\\t&:hover,\\n\\t\\t&:focus {\\n\\t\\t\\tbackground-color: var(--color-background-hover);\\n\\t\\t\\tborder: 2px solid var(--color-border-maxcontrast);\\n\\t\\t}\\n\\n\\t\\t* {\\n\\t\\t\\tcursor: pointer;\\n\\t\\t}\\n\\t}\\n\\n\\t&__icon {\\n\\t\\toverflow: hidden;\\n\\t\\twidth: var(--default-clickable-area);\\n\\t\\theight: var(--default-clickable-area);\\n\\t\\tborder-radius: var(--border-radius);\\n\\t\\tbackground-repeat: no-repeat;\\n\\t\\tbackground-position: center center;\\n\\t\\tbackground-size: 32px;\\n\\n\\t\\t&--rounded {\\n\\t\\t\\tborder-radius: calc(var(--default-clickable-area) / 2);\\n\\t\\t}\\n\\n\\t\\t&--no-preview {\\n\\t\\t\\tbackground-size: 32px;\\n\\t\\t}\\n\\n\\t\\t&--with-thumbnail {\\n\\t\\t\\tbackground-size: cover;\\n\\t\\t}\\n\\n\\t\\t&--with-thumbnail:not(#{&}--rounded) {\\n\\t\\t\\tborder: 1px solid var(--color-border);\\n\\t\\t\\t// compensate for border\\n\\t\\t\\tmax-height: calc(var(--default-clickable-area) - 2px);\\n\\t\\t\\tmax-width: calc(var(--default-clickable-area) - 2px);\\n\\t\\t}\\n\\n\\t\\timg {\\n\\t\\t\\t// Make sure to keep ratio\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\theight: 100%;\\n\\n\\t\\t\\tobject-fit: cover;\\n\\t\\t\\tobject-position: center;\\n\\t\\t}\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.searchable-list__wrapper[data-v-37b50471]{padding:calc(var(--default-grid-baseline)*3);display:flex;flex-direction:column;align-items:center;width:250px}.searchable-list__list[data-v-37b50471]{width:100%;max-height:284px;overflow-y:auto;margin-top:var(--default-grid-baseline);padding:var(--default-grid-baseline)}.searchable-list__list[data-v-37b50471] .button-vue{border-radius:var(--border-radius-large) !important}.searchable-list__list[data-v-37b50471] .button-vue span{font-weight:initial}.searchable-list__empty-content[data-v-37b50471]{margin-top:calc(var(--default-grid-baseline)*3)}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/SearchableList.vue\"],\"names\":[],\"mappings\":\"AAEC,2CACC,4CAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,WAAA,CAGD,wCACC,UAAA,CACA,gBAAA,CACA,eAAA,CACA,uCAAA,CACA,oCAAA,CAEA,oDACC,mDAAA,CACA,yDACC,mBAAA,CAKH,iDACC,+CAAA\",\"sourcesContent\":[\"\\n.searchable-list {\\n\\t&__wrapper {\\n\\t\\tpadding: calc(var(--default-grid-baseline) * 3);\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: column;\\n\\t\\talign-items: center;\\n\\t\\twidth: 250px;\\n\\t}\\n\\n\\t&__list {\\n\\t\\twidth: 100%;\\n\\t\\tmax-height: 284px;\\n\\t\\toverflow-y: auto;\\n\\t\\tmargin-top: var(--default-grid-baseline);\\n\\t\\tpadding: var(--default-grid-baseline);\\n\\n\\t\\t:deep(.button-vue) {\\n\\t\\t\\tborder-radius: var(--border-radius-large) !important;\\n\\t\\t\\tspan {\\n\\t\\t\\t\\tfont-weight: initial;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n\\n\\t&__empty-content {\\n\\t\\tmargin-top: calc(var(--default-grid-baseline) * 3);\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.local-unified-search[data-v-2b577e50]{--local-search-width: min(calc(250px + var(--dfb017de)), 95vw);box-sizing:border-box;position:relative;height:var(--header-height);width:var(--local-search-width);display:flex;align-items:center;z-index:10;padding-inline:var(--border-width-input-focused);overflow:hidden;inset-inline-end:0}.local-unified-search .local-unified-search__global-search[data-v-2b577e50]{position:absolute;inset-inline-end:var(--default-clickable-area)}.local-unified-search .local-unified-search__input[data-v-2b577e50]{box-sizing:border-box;margin:0;width:var(--local-search-width)}.local-unified-search .local-unified-search__input[data-v-2b577e50] input{padding-inline-end:calc(var(--dfb017de) + var(--default-clickable-area))}.animated-width[data-v-2b577e50]{transition:width var(--animation-quick) linear}.v-leave-active[data-v-2b577e50]{position:absolute !important}.v-enter.local-unified-search[data-v-2b577e50],.v-leave-to.local-unified-search[data-v-2b577e50]{--local-search-width: var(--clickable-area-large)}@media screen and (max-width: 500px){.local-unified-search.local-unified-search--open[data-v-2b577e50]{--local-search-width: 100vw;padding-inline:var(--default-grid-baseline)}.unified-search-menu:has(.local-unified-search--open){position:absolute !important;inset-inline:0}.header-end:has(.local-unified-search--open) > :not(.unified-search-menu){display:none}}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/UnifiedSearchLocalSearchBar.vue\"],\"names\":[],\"mappings\":\"AACA,uCACC,8DAAA,CACA,qBAAA,CACA,iBAAA,CACA,2BAAA,CACA,+BAAA,CACA,YAAA,CACA,kBAAA,CAEA,UAAA,CAEA,gDAAA,CAEA,eAAA,CAEA,kBAAA,CAEA,4EACC,iBAAA,CACA,8CAAA,CAGD,oEACC,qBAAA,CAEA,QAAA,CACA,+BAAA,CAIA,0EAEC,wEAAA,CAKH,iCACC,8CAAA,CAKD,iCACC,4BAAA,CAKA,iGAEC,iDAAA,CAIF,qCACC,kEAEC,2BAAA,CACA,2CAAA,CAID,sDACC,4BAAA,CACA,cAAA,CAGD,0EACC,YAAA,CAAA\",\"sourcesContent\":[\"\\n.local-unified-search {\\n\\t--local-search-width: min(calc(250px + v-bind('searchGlobalButtonCSSWidth')), 95vw);\\n\\tbox-sizing: border-box;\\n\\tposition: relative;\\n\\theight: var(--header-height);\\n\\twidth: var(--local-search-width);\\n\\tdisplay: flex;\\n\\talign-items: center;\\n\\t// Ensure it overlays the other entries\\n\\tz-index: 10;\\n\\t// add some padding for the focus visible outline\\n\\tpadding-inline: var(--border-width-input-focused);\\n\\t// hide the overflow - needed for the transition\\n\\toverflow: hidden;\\n\\t// Ensure the position is fixed also during \\\"position: absolut\\\" (transition)\\n\\tinset-inline-end: 0;\\n\\n\\t#{&} &__global-search {\\n\\t\\tposition: absolute;\\n\\t\\tinset-inline-end: var(--default-clickable-area);\\n\\t}\\n\\n\\t#{&} &__input {\\n\\t\\tbox-sizing: border-box;\\n\\t\\t// override some nextcloud-vue styles\\n\\t\\tmargin: 0;\\n\\t\\twidth: var(--local-search-width);\\n\\n\\t\\t// Fixup the spacing so we can fit in the \\\"search globally\\\" button\\n\\t\\t// this can break at any time the component library changes\\n\\t\\t:deep(input) {\\n\\t\\t\\t// search global width + close button width\\n\\t\\t\\tpadding-inline-end: calc(v-bind('searchGlobalButtonCSSWidth') + var(--default-clickable-area));\\n\\t\\t}\\n\\t}\\n}\\n\\n.animated-width {\\n\\ttransition: width var(--animation-quick) linear;\\n}\\n\\n// Make the position absolute during the transition\\n// this is needed to \\\"hide\\\" the button behind it\\n.v-leave-active {\\n\\tposition: absolute !important;\\n}\\n\\n.v-enter,\\n.v-leave-to {\\n\\t&.local-unified-search {\\n\\t\\t// Start with only the overlay button\\n\\t\\t--local-search-width: var(--clickable-area-large);\\n\\t}\\n}\\n\\n@media screen and (max-width: 500px) {\\n\\t.local-unified-search.local-unified-search--open {\\n\\t\\t// 100% but still show the menu toggle on the very right\\n\\t\\t--local-search-width: 100vw;\\n\\t\\tpadding-inline: var(--default-grid-baseline);\\n\\t}\\n\\n\\t// when open we need to position it absolute to allow overlay the full bar\\n\\t:global(.unified-search-menu:has(.local-unified-search--open)) {\\n\\t\\tposition: absolute !important;\\n\\t\\tinset-inline: 0;\\n\\t}\\n\\t// Hide all other entries, especially the user menu as it might leak pixels\\n\\t:global(.header-end:has(.local-unified-search--open) > :not(.unified-search-menu)) {\\n\\t\\tdisplay: none;\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.unified-search-modal-root[data-v-53b3f22c] .modal-container{box-sizing:border-box;height:min(80vh,800px)}[data-v-53b3f22c] .unified-search-modal .unified-search-modal__content{display:flex;flex-direction:column;padding-inline:0}.unified-search-modal__header[data-v-53b3f22c]{background-color:var(--color-main-background);padding-inline-end:12px;padding-block-end:12px;position:sticky;top:6px}.unified-search-modal__filters[data-v-53b3f22c]{display:flex;flex-wrap:wrap;gap:4px;justify-content:start;padding-top:4px}.unified-search-modal__search-external-resources[data-v-53b3f22c] span.checkbox-content{padding-top:0;padding-bottom:0}.unified-search-modal__search-external-resources[data-v-53b3f22c] .checkbox-content__icon{margin:auto !important}.unified-search-modal__search-external-resources--aligned[data-v-53b3f22c]{margin-inline-start:auto}.unified-search-modal__filters-applied[data-v-53b3f22c]{padding-top:4px;display:flex;flex-wrap:wrap}.unified-search-modal__no-content[data-v-53b3f22c]{display:flex;align-items:center;margin-top:.5em;height:70%}.unified-search-modal__results[data-v-53b3f22c]{overflow:hidden auto;padding-inline:0 12px;padding-block:0 12px}.unified-search-modal__results .result-title[data-v-53b3f22c]{color:var(--color-primary-element);font-size:16px;margin-block:8px 4px}.unified-search-modal__results .result-footer[data-v-53b3f22c]{justify-content:space-between;align-items:center;display:flex}.unified-search-modal__results .result--unfiltered[data-v-53b3f22c]{opacity:.7}.unified-search-modal__unfiltered-header[data-v-53b3f22c]{display:flex;flex-direction:column;gap:2px;margin-block:16px 8px;padding-block:12px 0;border-top:1px solid var(--color-border)}.unified-search-modal__unfiltered-label[data-v-53b3f22c]{font-weight:bold;color:var(--color-text-maxcontrast)}.filter-button__icon[data-v-53b3f22c]{height:20px;width:20px;object-fit:contain;filter:var(--background-invert-if-bright);padding:11px}@media only screen and (max-height: 400px){.unified-search-modal__results[data-v-53b3f22c]{overflow:unset}}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/UnifiedSearchModal.vue\"],\"names\":[],\"mappings\":\"AACA,6DACC,qBAAA,CACA,sBAAA,CAGD,uEACC,YAAA,CACA,qBAAA,CAEA,gBAAA,CAIA,+CAEC,6CAAA,CAEA,uBAAA,CAEA,sBAAA,CAEA,eAAA,CACA,OAAA,CAGD,gDACC,YAAA,CACA,cAAA,CACA,OAAA,CACA,qBAAA,CACA,eAAA,CAIA,wFACC,aAAA,CACA,gBAAA,CAGD,0FACC,sBAAA,CAGD,2EACC,wBAAA,CAIF,wDACC,eAAA,CACA,YAAA,CACA,cAAA,CAGD,mDACC,YAAA,CACA,kBAAA,CACA,eAAA,CACA,UAAA,CAGD,gDACC,oBAAA,CAEA,qBAAA,CACA,oBAAA,CAGC,8DACC,kCAAA,CACA,cAAA,CACA,oBAAA,CAGD,+DACC,6BAAA,CACA,kBAAA,CACA,YAAA,CAGD,oEACC,UAAA,CAMH,0DACC,YAAA,CACA,qBAAA,CACA,OAAA,CACA,qBAAA,CACA,oBAAA,CACA,wCAAA,CAGD,yDACC,gBAAA,CACA,mCAAA,CAIF,sCACC,WAAA,CACA,UAAA,CACA,kBAAA,CACA,yCAAA,CACA,YAAA,CAID,2CACC,gDACC,cAAA,CAAA\",\"sourcesContent\":[\"\\n.unified-search-modal-root :deep(.modal-container) {\\n\\tbox-sizing: border-box;\\n\\theight: min(80vh, 800px);\\n}\\n\\n:deep(.unified-search-modal .unified-search-modal__content) {\\n\\tdisplay: flex;\\n\\tflex-direction: column;\\n\\t// No padding to prevent scrollbar misplacement\\n\\tpadding-inline: 0;\\n}\\n\\n.unified-search-modal {\\n\\t&__header {\\n\\t\\t// Add background to prevent leaking scrolled content (because of sticky position)\\n\\t\\tbackground-color: var(--color-main-background);\\n\\t\\t// Fix padding to have the input centered\\n\\t\\tpadding-inline-end: 12px;\\n\\t\\t// Some padding to make elements scrolled under sticky position look nicer\\n\\t\\tpadding-block-end: 12px;\\n\\t\\t// Make it sticky with the input margin for the label\\n\\t\\tposition: sticky;\\n\\t\\ttop: 6px;\\n\\t}\\n\\n\\t&__filters {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-wrap: wrap;\\n\\t\\tgap: 4px;\\n\\t\\tjustify-content: start;\\n\\t\\tpadding-top: 4px;\\n\\t}\\n\\n\\t&__search-external-resources {\\n\\t\\t:deep(span.checkbox-content) {\\n\\t\\t\\tpadding-top: 0;\\n\\t\\t\\tpadding-bottom: 0;\\n\\t\\t}\\n\\n\\t\\t:deep(.checkbox-content__icon) {\\n\\t\\t\\tmargin: auto !important;\\n\\t\\t}\\n\\n\\t\\t&--aligned {\\n\\t\\t\\tmargin-inline-start: auto;\\n\\t\\t}\\n\\t}\\n\\n\\t&__filters-applied {\\n\\t\\tpadding-top: 4px;\\n\\t\\tdisplay: flex;\\n\\t\\tflex-wrap: wrap;\\n\\t}\\n\\n\\t&__no-content {\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\tmargin-top: 0.5em;\\n\\t\\theight: 70%;\\n\\t}\\n\\n\\t&__results {\\n\\t\\toverflow: hidden auto;\\n\\t\\t// Adjust padding to match container but keep the scrollbar on the very end\\n\\t\\tpadding-inline: 0 12px;\\n\\t\\tpadding-block: 0 12px;\\n\\n\\t\\t.result {\\n\\t\\t\\t&-title {\\n\\t\\t\\t\\tcolor: var(--color-primary-element);\\n\\t\\t\\t\\tfont-size: 16px;\\n\\t\\t\\t\\tmargin-block: 8px 4px;\\n\\t\\t\\t}\\n\\n\\t\\t\\t&-footer {\\n\\t\\t\\t\\tjustify-content: space-between;\\n\\t\\t\\t\\talign-items: center;\\n\\t\\t\\t\\tdisplay: flex;\\n\\t\\t\\t}\\n\\n\\t\\t\\t&--unfiltered {\\n\\t\\t\\t\\topacity: 0.7;\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t}\\n\\n\\t&__unfiltered-header {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: column;\\n\\t\\tgap: 2px;\\n\\t\\tmargin-block: 16px 8px;\\n\\t\\tpadding-block: 12px 0;\\n\\t\\tborder-top: 1px solid var(--color-border);\\n\\t}\\n\\n\\t&__unfiltered-label {\\n\\t\\tfont-weight: bold;\\n\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t}\\n}\\n\\n.filter-button__icon {\\n\\theight: 20px;\\n\\twidth: 20px;\\n\\tobject-fit: contain;\\n\\tfilter: var(--background-invert-if-bright);\\n\\tpadding: 11px; // align with text to fit at least 44px\\n}\\n\\n// Ensure modal is accessible on small devices\\n@media only screen and (max-height: 400px) {\\n\\t.unified-search-modal__results {\\n\\t\\toverflow: unset;\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.unified-search-menu[data-v-bd38cb24]{display:flex;align-items:center;justify-content:center}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/views/UnifiedSearch.vue\"],\"names\":[],\"mappings\":\"AAEA,sCACC,YAAA,CACA,kBAAA,CACA,sBAAA\",\"sourcesContent\":[\"\\n// this is needed to allow us overriding component styles (focus-visible)\\n.unified-search-menu {\\n\\tdisplay: flex;\\n\\talign-items: center;\\n\\tjustify-content: center;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","// The chunk loading function for additional chunks\n// Since all referenced chunks are already included\n// in this file, this function is empty here.\n__webpack_require__.e = () => (Promise.resolve());","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 6776;","__webpack_require__.b = (typeof document !== 'undefined' && document.baseURI) || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t6776: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunknextcloud_ui_legacy\"] = globalThis[\"webpackChunknextcloud_ui_legacy\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [4208], () => (__webpack_require__(86850)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","_defineComponent","__name","props","query","open","type","Boolean","emits","setup","__props","emit","_useCssVars","_vm","_setup","searchGlobalButtonCSSWidth","searchInput","ref","watchEffect","value","focus","isMobile","useIsMobile","searchGlobalButton","width","searchGlobalButtonWidth","useElementSize","computed","__sfc","clearAndCloseSearch","mdiClose","mdiCloudSearchOutline","t","NcButton","NcIconSvgWrapper","NcInputField","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","this","_c","_self","_setupProxy","staticClass","class","attrs","on","$event","$emit","scopedSlots","_u","key","fn","proxy","_v","_s","_e","name","title","String","fillColor","default","size","Number","_b","$attrs","components","NcModal","CalendarRangeIcon","NcDateTimePicker","isOpen","required","data","dateFilter","startFrom","endAt","isModalOpen","get","set","methods","closeModal","applyCustomRange","model","callback","$$v","$set","expression","IconMagnify","IconAlertCircleOutline","NcAvatar","NcEmptyContent","NcPopover","NcTextField","labelText","searchList","Array","emptyContentText","opened","error","searchTerm","filteredList","filter","element","toLowerCase","length","some","prop","includes","clearSearch","itemSelected","searchTermChanged","term","_t","_l","id","displayName","isUser","user","CloseIcon","text","pretext","deleteChip","NcListItem","thumbnailUrl","subline","resourceUrl","icon","rounded","focused","thumbnailHasError","watch","isValidIconOrPreviewUrl","url","test","startsWith","thumbnailErrorHandler","style","backgroundImage","getCurrentUser","getLoggerBuilder","setApp","build","setUid","uid","unifiedSearchLogger","detectUser","async","getProviders","axios","generateOcsUrl","params","from","window","location","pathname","replace","search","ocs","isArray","logger","getContacts","contacts","post","generateUrl","authenticatedUser","fullName","emailAddresses","unshift","useSearchStore","defineStore","state","externalFilters","actions","registerExternalFilter","appId","searchFrom","label","push","isPluginFilter","defineComponent","IconArrowRight","IconAccountGroup","IconCalendarRange","IconDotsHorizontal","IconFilter","IconListBox","CustomDateRangeModal","FilterChip","NcActions","NcActionButton","NcDialog","NcCheckboxRadioSwitch","SearchableList","SearchResult","localSearch","currentLocation","useBrowserLocation","searchStore","providers","providerActionMenuIsOpen","dateActionMenuIsOpen","providerResultLimit","personFilter","filteredProviders","searching","searchQuery","lastSearchQuery","placessearchTerm","dateTimeFilter","filters","results","showDateRangeModal","internalIsVisible","initialized","searchExternalResources","minSearchLength","loadState","isEmptySearch","hasNoResults","isSearchQueryTooShort","showEmptyContentInfo","emptyContentMessage","userContacts","debouncedFind","debounce","find","debouncedFilterContacts","filterContacts","hasExternalResources","provider","isExternalProvider","hasContentFilters","filteredResults","isInFolderAtRoot","result","path","extraParams","supportsActiveFilters","filteredResultUrls","urls","Set","forEach","entry","add","unfilteredResults","map","has","focusInput","Promise","all","then","groupProvidersByApp","mapContacts","debug","catch","immediate","handler","mounted","subscribe","handlePluginFilter","onUpdateOpen","searchLocally","$nextTick","$refs","providersToSearchOverride","newResults","cursor","extraQueries","contentFilterTypes","f","every","providerIsCompatibleWithFilters","baseProvider","p","since","until","person","limit","shouldSkipSearch","wasManuallySelected","filteredProvider","request","cancelToken","CancelToken","source","token","cancel","unifiedSearch","response","entries","updateResults","updatedResults","newResult","existingResultIndex","findIndex","splice","sortedResults","slice","sort","a","b","aProvider","bProvider","order","contact","isNoUser","subname","applyPersonFilter","existingPersonFilter","loadMoreResultsForProvider","addProviderFilter","providerFilter","isProviderFilterApplied","existingFilterIndex","existing","syncProviderFilters","removeFilter","i","firstArray","secondArray","synchronizedArray","item","index","itemId","secondItem","updateDateFilter","currFilterIndex","applyQuickDateRange","range","today","Date","startDate","endDate","getFullYear","getMonth","getDate","setCustomDateRange","event","toLocaleDateString","getCanonicalLocale","addFilterEvent","filterUpdateText","compatibleProviderIndex","filterParams","groupedByProviderApp","flattenedArray","Object","values","group","filterIds","filterId","undefined","enableAllProviders","_","disabled","providerResult","inAppSearch","NcHeaderButton","UnifiedSearchModal","UnifiedSearchLocalSearchBar","mdiMagnify","queryText","showUnifiedSearch","showLocalSearch","debouncedQueryUpdate","emitUpdatedQuery","supportsLocalSearch","OCP","Accessibility","disableKeyboardShortcuts","addEventListener","onKeyDown","beforeDestroy","removeEventListener","ctrlKey","preventDefault","toggleUnifiedSearch","openModal","directives","rawName","__webpack_nonce__","getCSPNonce","Vue","mixin","n","OCA","UnifiedSearch","registerFilterAction","use","PiniaVuePlugin","pinia","createPinia","el","render","h","___CSS_LOADER_EXPORT___","module","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","loaded","__webpack_modules__","call","m","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","keys","r","getter","__esModule","d","definition","o","defineProperty","enumerable","e","resolve","obj","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","children","document","baseURI","self","href","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","globalThis","bind","nc","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file