From 95a029933f4b36cd3314be2c4cf34d8c9fc3a81c Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Tue, 21 Jul 2026 23:51:10 +0200 Subject: [PATCH 1/6] fix(search): Add end date for last 7 and last 30 days Signed-off-by: Daniel Kesselberg --- core/src/components/UnifiedSearch/UnifiedSearchModal.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/components/UnifiedSearch/UnifiedSearchModal.vue b/core/src/components/UnifiedSearch/UnifiedSearchModal.vue index 9f2a6a75662a2..9195a9b2e900d 100644 --- a/core/src/components/UnifiedSearch/UnifiedSearchModal.vue +++ b/core/src/components/UnifiedSearch/UnifiedSearchModal.vue @@ -1026,11 +1026,13 @@ export default defineComponent({ case '7days': // For 'Last 7 days', start date is 7 days ago, end is today startDate = new Date(today.getFullYear(), today.getMonth(), today.getDate() - 6, 0, 0, 0, 0) + endDate = new Date(today.getFullYear(), today.getMonth(), today.getDate(), 23, 59, 59, 999) this.dateFilter.text = t('core', 'Last 7 days') break case '30days': // For 'Last 30 days', start date is 30 days ago, end is today startDate = new Date(today.getFullYear(), today.getMonth(), today.getDate() - 29, 0, 0, 0, 0) + endDate = new Date(today.getFullYear(), today.getMonth(), today.getDate(), 23, 59, 59, 999) this.dateFilter.text = t('core', 'Last 30 days') break case 'thisyear': From 781d1666dd7ae31799c7a3b3b95452f85f609703 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Tue, 28 Jul 2026 11:05:35 +0000 Subject: [PATCH 2/6] chore(assets): Recompile assets Signed-off-by: nextcloud-command Signed-off-by: Daniel Kesselberg --- 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 9b424f3974d4d..141a0868db0b2 100644 --- a/dist/core-unified-search.js +++ b/dist/core-unified-search.js @@ -1,2 +1,2 @@ -(()=>{"use strict";var t,e={83696(t,e,n){var i=n(21777),a=n(53334),r=n(35947),s=n(10810),o=n(85471),l=n(61338),c=n(53429),d=n(97786),u=n(46855),A=n(74095),h=n(39689),p=n(52372),f=n(66001);const m={name:"FilterVariantIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var C=n(14486);const v=(0,C.A)(m,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon filter-variant-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:"M6,13H18V11H6M3,6V8H21V6M10,18H14V16H10V18Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,g={name:"MagnifyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},b=(0,C.A)(g,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,y=(0,o.pM)({__name:"UnifiedSearchInput",props:{expanded:{type:Boolean},activeDescendantId:null,query:null,filtersRevealed:{type:Boolean}},setup(t,{expose:e,emit:n}){const i=t,r=(0,c.F)(),s=(0,a.t)("core","Apps, files, messages, and more"),l={ArrowDown:"next",ArrowUp:"prev"},d=(0,o.KR)(),u=(0,o.KR)(),m=(0,o.KR)(!1),C=(0,o.EW)(()=>m.value||i.query.length>0||Boolean(i.expanded)),g=(0,o.EW)(()=>m.value&&0===i.query.length&&!i.filtersRevealed);function y(){u.value?.focus()}return e({focus:y}),{__sfc:!0,props:i,emit:n,isSmallMobile:r,placeholderText:s,resultsContainerId:"unified-search-results",directionByKey:l,fieldRef:d,inputRef:u,isFocused:m,isActive:C,showFunnel:g,onFocusOut:function(t){d.value?.contains(t.relatedTarget)||(m.value=!1)},onInput:function(t){n("update:query",t.target.value)},openFilters:function(){u.value?.focus(),n("open-filters")},clearOrClose:function(){if(i.query.length>0)return n("update:query",""),void u.value?.focus();const t=document.activeElement;t?.blur(),n("close")},onKeyDown:function(t){if(t.isComposing)return;if("Escape"===t.key&&!i.expanded)return void u.value?.blur();if(!i.expanded)return;const e=l[t.key];e?(t.preventDefault(),n("navigate",e)):"Enter"===t.key&&(t.preventDefault(),n("activate"))},focus:y,t:a.t,NcButton:A.A,NcHeaderButton:h.N,NcKbd:p.N,IconClose:f.A,IconFilterVariant:v,IconMagnify:b}}});var _=n(85072),x=n.n(_),k=n(97825),w=n.n(k),S=n(77659),B=n.n(S),F=n(55056),D=n.n(F),I=n(10540),M=n.n(I),E=n(41113),R=n.n(E),T=n(43142),z={};z.styleTagTransform=R(),z.setAttributes=D(),z.insert=B().bind(null,"head"),z.domAPI=w(),z.insertStyleElement=M(),x()(T.A,z),T.A&&T.A.locals&&T.A.locals;const O=(0,C.A)(y,function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("search",{staticClass:"unified-search-input",class:{"unified-search-input--mobile":n.isSmallMobile}},[n.isSmallMobile?e(n.NcHeaderButton,{attrs:{id:"unified-search-trigger",ariaLabel:n.placeholderText,"aria-haspopup":"dialog","aria-expanded":t.expanded?"true":"false"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconMagnify,{attrs:{size:20}})]},proxy:!0}],null,!1,1795316816)}):e("div",{ref:"fieldRef",staticClass:"unified-search-input__field",class:{"unified-search-input__field--active":n.isActive},on:{focusin:function(t){n.isFocused=!0},focusout:n.onFocusOut}},[e("div",{staticClass:"unified-search-input__resting",class:{"unified-search-input__resting--filled":t.query.length>0},attrs:{"aria-hidden":"true"}},[e(n.IconMagnify,{attrs:{size:20}}),t._v(" "),e("span",{staticClass:"unified-search-input__label"},[t._v(t._s(n.placeholderText))])],1),t._v(" "),e("input",{ref:"inputRef",staticClass:"unified-search-input__input",attrs:{type:"text",role:"combobox","aria-autocomplete":"list","aria-expanded":t.expanded?"true":"false","aria-controls":t.expanded?n.resultsContainerId:void 0,"aria-activedescendant":t.expanded&&t.activeDescendantId||void 0,"aria-label":n.placeholderText},domProps:{value:t.query},on:{input:n.onInput,keydown:n.onKeyDown}}),t._v(" "),n.showFunnel?e(n.NcButton,{staticClass:"unified-search-input__filter",attrs:{variant:"tertiary-no-background","aria-label":n.t("core","Filters")},on:{click:n.openFilters},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconFilterVariant,{attrs:{size:20}})]},proxy:!0}],null,!1,2820714996)}):t._e(),t._v(" "),n.isActive?e(n.NcButton,{staticClass:"unified-search-input__clear",attrs:{variant:"tertiary-no-background","aria-label":t.query.length>0?n.t("core","Clear search"):n.t("core","Close search")},on:{click:n.clearOrClose},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconClose,{attrs:{size:20}})]},proxy:!0}],null,!1,4099733813)}):t._e(),t._v(" "),n.isActive?t._e():e("span",{staticClass:"unified-search-input__shortcut",attrs:{"aria-hidden":"true"}},[e(n.NcKbd,{attrs:{symbol:"Control"}}),t._v(" "),e(n.NcKbd,{attrs:{symbol:"K"}})],1)],1)],1)},[],!1,null,"54238e2f",null).exports;var U=n(9165),q=n(6695),N=n(16879);const P=(0,o.pM)({__name:"UnifiedSearchLocalSearchBar",props:{query:null,open:{type:Boolean}},emits:["update:open","update:query","global-search"],setup(t,{emit:e}){const n=t;(0,o.$9)((t,e)=>({dfb017de:e.searchGlobalButtonCSSWidth}));const i=(0,o.KR)();(0,o.nT)(()=>{n.open&&i.value&&i.value.focus()});const r=(0,c.al)(),s=(0,o.KR)(),{width:l}=(0,d.Lhy)(s),u=(0,o.EW)(()=>l.value?`${l.value}px`:"var(--default-clickable-area)");return{__sfc:!0,props:n,emit:e,searchInput:i,isMobile:r,searchGlobalButton:s,searchGlobalButtonWidth:l,searchGlobalButtonCSSWidth:u,clearAndCloseSearch:function(){e("update:query",""),e("update:open",!1)},mdiClose:U.hyP,mdiCloudSearchOutline:U.ydM,t:a.Tl,NcButton:A.A,NcIconSvgWrapper:q.A,NcInputField:N.A}}});var L=n(89226),H={};H.styleTagTransform=R(),H.setAttributes=D(),H.insert=B().bind(null,"head"),H.domAPI=w(),H.insertStyleElement=M(),x()(L.A,H),L.A&&L.A.locals&&L.A.locals;const G=(0,C.A)(P,function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("Transition",[t.open?e("div",{staticClass:"local-unified-search animated-width",class:{"local-unified-search--open":t.open}},[e(n.NcInputField,{ref:"searchInput",staticClass:"local-unified-search__input animated-width",attrs:{"aria-label":n.t("core","Search in current app"),placeholder:n.t("core","Search in current app"),"show-trailing-button":"","trailing-button-label":n.t("core","Clear search"),"model-value":t.query},on:{"update:value":function(e){return t.$emit("update:query",e)},"trailing-button-click":n.clearAndCloseSearch},scopedSlots:t._u([{key:"trailing-button-icon",fn:function(){return[e(n.NcIconSvgWrapper,{attrs:{path:n.mdiClose}})]},proxy:!0}],null,!1,3585538455)}),t._v(" "),e(n.NcButton,{ref:"searchGlobalButton",staticClass:"local-unified-search__global-search",attrs:{"aria-label":n.t("core","Search everywhere"),title:n.t("core","Search everywhere"),variant:"tertiary-no-background"},on:{click:function(e){return t.$emit("global-search")}},scopedSlots:t._u([n.isMobile?null:{key:"default",fn:function(){return[t._v("\n\t\t\t\t"+t._s(n.t("core","Search everywhere"))+"\n\t\t\t")]},proxy:!0},{key:"icon",fn:function(){return[e(n.NcIconSvgWrapper,{attrs:{path:n.mdiCloudSearchOutline}})]},proxy:!0}],null,!0)})],1):t._e()])},[],!1,null,"2b577e50",null).exports;var V=n(81222),$=n(52697),Q=n(57505),K=n(24764),Y=n(41944),j=n(32073),W=n(48943),Z=n(82182);const J={name:"AccountMultipleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},X=(0,C.A)(J,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon account-multiple-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:"M13.07 10.41A5 5 0 0 0 13.07 4.59A3.39 3.39 0 0 1 15 4A3.5 3.5 0 0 1 15 11A3.39 3.39 0 0 1 13.07 10.41M5.5 7.5A3.5 3.5 0 1 1 9 11A3.5 3.5 0 0 1 5.5 7.5M7.5 7.5A1.5 1.5 0 1 0 9 6A1.5 1.5 0 0 0 7.5 7.5M16 17V19H2V17S2 13 9 13 16 17 16 17M14 17C13.86 16.22 12.67 15 9 15S4.07 16.31 4 17M15.95 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports;var tt=n(33691);const et={name:"CalendarBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},nt=(0,C.A)(et,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon calendar-blank-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:"M19 3H18V1H16V3H8V1H6V3H5C3.89 3 3 3.9 3 5V19C3 20.11 3.9 21 5 21H19C20.11 21 21 20.11 21 19V5C21 3.9 20.11 3 19 3M19 19H5V9H19V19M19 7H5V5H19V7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports;var it=n(26690);const at={name:"FilterIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},rt=(0,C.A)(at,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,st={name:"ShapeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ot=(0,C.A)(st,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon shape-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:"M11,13.5V21.5H3V13.5H11M9,15.5H5V19.5H9V15.5M12,2L17.5,11H6.5L12,2M12,5.86L10.08,9H13.92L12,5.86M17.5,13C20,13 22,15 22,17.5C22,20 20,22 17.5,22C15,22 13,20 13,17.5C13,15 15,13 17.5,13M17.5,15A2.5,2.5 0 0,0 15,17.5A2.5,2.5 0 0,0 17.5,20A2.5,2.5 0 0,0 20,17.5A2.5,2.5 0 0,0 17.5,15Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports;var lt=n(48198),ct=n(83947);const dt={name:"CalendarRangeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ut=(0,C.A)(dt,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,At={name:"CustomDateRangeModal",components:{NcButton:A.A,NcModal:ct.A,CalendarRangeIcon:ut,NcDateTimePicker:lt.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 ht=n(12667),pt={};pt.styleTagTransform=R(),pt.setAttributes=D(),pt.insert=B().bind(null,"head"),pt.domAPI=w(),pt.insertStyleElement=M(),x()(ht.A,pt),ht.A&&ht.A.locals&&ht.A.locals;const ft=(0,C.A)(At,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 mt=n(54562);const Ct={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},vt=(0,C.A)(Ct,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-circle-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:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,gt={name:"SearchableList",components:{IconMagnify:b,IconAlertCircleOutline:vt,NcAvatar:Y.A,NcButton:A.A,NcEmptyContent:W.A,NcPopover:mt.A,NcTextField:Z.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=""},setOpened(t){this.opened=t},itemSelected(t){this.$emit("item-selected",t),this.clearSearch(),this.setOpened(!1)},searchTermChanged(t){this.$emit("search-term-change",t)}}};var bt=n(60645),yt={};yt.styleTagTransform=R(),yt.setAttributes=D(),yt.insert=B().bind(null,"head"),yt.domAPI=w(),yt.insertStyleElement=M(),x()(bt.A,yt),bt.A&&bt.A.locals&&bt.A.locals;const _t=(0,C.A)(gt,function(){var t=this,e=t._self._c;return e("NcPopover",{attrs:{shown:t.opened},on:{show:function(e){return t.setOpened(!0)},hide:function(e){return t.setOpened(!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(n){return e("li",{key:n.id,attrs:{title:n.displayName,role:"button"}},[e("NcButton",{attrs:{alignment:"start",variant:"tertiary",wide:!0},on:{click:function(e){return t.itemSelected(n)}},scopedSlots:t._u([{key:"icon",fn:function(){return[n.isUser?e("NcAvatar",{attrs:{user:n.user,"hide-status":""}}):e("NcAvatar",{attrs:{"is-no-user":!0,"display-name":n.displayName,"hide-status":""}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t"+t._s(n.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,"66bd6570",null).exports,xt={name:"SearchFilterChip",components:{CloseIcon:f.A},props:{text:{type:String,required:!0},pretext:{type:String,required:!0}},emits:["delete"],computed:{removeLabel(){return(0,a.t)("core","Remove filter: {name}",{name:this.text})}},methods:{deleteChip(){this.$emit("delete")}}};var kt=n(17830),wt={};wt.styleTagTransform=R(),wt.setAttributes=D(),wt.insert=B().bind(null,"head"),wt.domAPI=w(),wt.insertStyleElement=M(),x()(kt.A,wt),kt.A&&kt.A.locals&&kt.A.locals;const St=(0,C.A)(xt,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("button",{staticClass:"close-button",attrs:{type:"button","aria-label":t.removeLabel},on:{click:t.deleteChip}},[e("CloseIcon",{attrs:{size:18}})],1)])},[],!1,null,"5a4f6249",null).exports,Bt={name:"SearchResult",components:{NcListItem:n(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:""},elementId:{type:String,default:void 0},active:{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 Ft=n(93740),Dt={};Dt.styleTagTransform=R(),Dt.setAttributes=D(),Dt.insert=B().bind(null,"head"),Dt.domAPI=w(),Dt.insertStyleElement=M(),x()(Ft.A,Dt),Ft.A&&Ft.A.locals&&Ft.A.locals;const It=(0,C.A)(Bt,function(){var t=this,e=t._self._c;return e("NcListItem",{staticClass:"result-item",attrs:{id:t.elementId,name:t.title,bold:!1,active:t.active,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,"57583211",null).exports;var Mt=n(44368),Et=n(63814);const Rt=null===(Tt=(0,i.HW)())?(0,r.YK)().setApp("core").build():(0,r.YK)().setApp("core").setUid(Tt.uid).build();var Tt;const zt=(0,r.YK)().setApp("unified-search").detectUser().build();async function Ot(){try{const{data:t}=await Mt.Ay.get((0,Et.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){Rt.error(t)}return[]}function Ut({type:t,query:e,cursor:n,since:i,until:a,limit:r,person:s,extraQueries:o={}}){const l=Mt.Ay.CancelToken.source();return{request:async()=>Mt.Ay.get((0,Et.KT)("search/providers/{type}/search",{type:t}),{cancelToken:l.token,params:{term:e,cursor:n,since:i,until:a,limit:r,person:s,from:window.location.pathname.replace("/index.php","")+window.location.search,...o}}),cancel:l.cancel}}async function qt({searchTerm:t}){const{data:{contacts:e}}=await Mt.Ay.post((0,Et.Jv)("/contactsmenu/contacts"),{filter:t});if(!t){let t=(0,i.HW)();return t={id:t.uid,fullName:t.displayName,emailAddresses:[]},e.unshift(t),e}return e}function Nt(t,e,n){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class Pt{constructor(t){Nt(this,"onChange",void 0),Nt(this,"query",""),Nt(this,"params",{}),Nt(this,"searchStates",{}),Nt(this,"searchGeneration",0),Nt(this,"revealTimer",null),Nt(this,"pendingCancels",[]),this.onChange=t}async search(t,e,n){this.cancelPendingRequests(),this.searchStates={},this.searchGeneration++;const i=this.searchGeneration;this.query=t,this.params=n||{},this.startRevealTimer(),await Promise.allSettled(e.map(t=>this.searchCategory(t,i,e)))}async loadMore(t){const e=this.searchGeneration,n={...this.searchStates[t]};if(!n.hasMore||"loaded"!==n.status)return;this.patchStates({[t]:{status:"loading",loadMoreFailed:!1}});const{request:i,cancel:a}=Ut({type:t,query:this.query,cursor:n.cursor,...this.params[t]});this.pendingCancels.push(a);try{const a=await i();if(this.searchGeneration!==e)return;const{entries:r,cursor:s,isPaginated:o}=a.data.ocs.data;this.patchStates({[t]:{entries:[...n.entries,...r],cursor:s,hasMore:this.hasMorePages(o,s),status:"loaded"}})}catch{if(this.searchGeneration!==e)return;this.patchStates({[t]:{status:"loaded",loadMoreFailed:!0}})}}getSnapshot(){return{...this.searchStates}}dispose(){this.stopBackgroundWork()}reset(){this.stopBackgroundWork(),this.searchStates={},this.query="",this.params={},this.searchGeneration++,this.onChange?.(this.getSnapshot())}async searchCategory(t,e,n){this.patchStates({[t]:{status:"loading",entries:[],cursor:null,hasMore:!1,loadMoreFailed:!1}});const{request:i,cancel:a}=Ut({type:t,query:this.query,cursor:null,...this.params[t]});this.pendingCancels.push(a);try{const a=await i();if(this.searchGeneration!==e)return;const{entries:r,cursor:s,isPaginated:o}=a.data.ocs.data;this.patchStates({[t]:{status:this.shouldBlockCategory(t,n)?"blocked":"loaded",entries:r,cursor:s,hasMore:this.hasMorePages(o,s),loadMoreFailed:!1}})}catch{if(this.searchGeneration!==e)return;this.patchStates({[t]:{status:"failed",entries:[],cursor:null,hasMore:!1,loadMoreFailed:!1}})}this.reconcileCategoryStatuses(n)}reconcileCategoryStatuses(t){t.forEach(e=>{"blocked"===this.searchStates[e].status&&(this.shouldBlockCategory(e,t)||this.patchStates({[e]:{status:"loaded"}}))})}startRevealTimer(){this.stopRevealTimer(),this.revealTimer=setTimeout(()=>{const t=Object.keys(this.searchStates),e=t.some(t=>["loading","blocked"].includes(this.searchStates[t].status));this.unblockAllCategories(t),e&&this.startRevealTimer()},1500)}stopRevealTimer(){this.revealTimer&&(clearTimeout(this.revealTimer),this.revealTimer=null)}cancelPendingRequests(){this.pendingCancels.forEach(t=>t()),this.pendingCancels=[]}stopBackgroundWork(){this.cancelPendingRequests(),this.stopRevealTimer()}unblockAllCategories(t){t.forEach(t=>{"blocked"===this.searchStates[t].status&&this.patchStates({[t]:{status:"loaded"}})})}hasMorePages(t,e){return t&&null!==e}shouldBlockCategory(t,e){return!!this.searchStates[t]&&e.slice(0,e.indexOf(t)).some(t=>{const e=this.searchStates[t];return e&&["loading","blocked"].includes(e.status)})}patchStates(t){Object.keys(t).forEach(e=>{const n={...this.searchStates[e],...t[e]};this.searchStates[e]=n}),this.onChange?.(this.getSnapshot())}}const Lt=(0,s.nY)("search",{state:()=>({externalFilters:[]}),actions:{registerExternalFilter({id:t,appId:e,searchFrom:n,label:i,callback:a,icon:r}){this.externalFilters.push({id:t,appId:e,searchFrom:n,name:i,callback:a,icon:r,isPluginFilter:!0})}}}),Ht=(0,o.pM)({name:"UnifiedSearchModal",components:{IconAccountMultipleOutline:X,IconArrowRight:tt.A,IconCalendarBlankOutline:nt,IconClose:f.A,IconDotsHorizontal:it.A,IconFilter:rt,IconMagnify:b,IconShapeOutline:ot,CustomDateRangeModal:ft,FilterChip:St,NcActions:K.A,NcActionButton:Q.A,NcAvatar:Y.A,NcButton:A.A,NcEmptyContent:W.A,NcCheckboxRadioSwitch:j.A,NcTextField:Z.A,SearchableList:_t,SearchResult:It},props:{open:{type:Boolean,required:!0},query:{type:String,default:""},localSearch:{type:Boolean,default:!1},filtersRevealed:{type:Boolean,default:!1}},emits:["update:open","update:query","update:activeDescendant"],setup(){const t=(0,d.ZDG)(),e=Lt(),n=(0,c.F)(),{searchStates:i,search:r,loadMore:s,reset:l}=function(){const t=(0,o.IJ)({}),e=new Pt(e=>{t.value=e});return(0,o.hi)(()=>{e.dispose()}),{searchStates:t,search:e.search.bind(e),loadMore:e.loadMore.bind(e),reset:e.reset.bind(e)}}();return{t:a.t,searchStates:i,search:r,loadMore:s,reset:l,currentLocation:t,externalFilters:e.externalFilters,isSmallMobile:n}},data:()=>({providers:[],providerActionMenuIsOpen:!1,dateActionMenuIsOpen:!1,dateFilter:{id:"date",type:"date",text:"",startFrom:null,endAt:null},personFilter:{id:"person",type:"person",name:""},filteredProviders:[],searchQuery:"",placessearchTerm:"",dateTimeFilter:null,filters:[],contacts:[],showDateRangeModal:!1,initialized:!1,searchExternalResources:!1,activeIndex:-1,minSearchLength:(0,V.C)("unified-search","min-search-length",1),focusTrap:null}),computed:{isEmptySearch(){return 0===this.searchQuery.length},providerFilterActive(){return this.filters.some(t=>"date"!==t.type&&"person"!==t.type)},dateFilterActive(){return this.filters.some(t=>"date"===t.type)},personFilterActive(){return this.filters.some(t=>"person"===t.type)},hasAnyActiveFilter(){return this.filters.length>0},showFilterRow(){return this.isSmallMobile||this.filtersRevealed||this.searchQuery.length>0||this.hasAnyActiveFilter},searching(){return Object.values(this.searchStates).some(t=>"loading"===t.status)},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)},results(){if(this.isEmptySearch||this.isSearchQueryTooShort)return[];const t=this.filters.filter(t=>"provider"!==t.type).map(t=>t.type);return Object.entries(this.searchStates).filter(([,t])=>t.entries.length>0&&("loaded"===t.status||"loading"===t.status)).map(([e,n])=>{const i=this.providers.find(t=>t.id===e),a=this.providerIsCompatibleWithFilters(i,t);return{...i,results:n.entries,hasMore:n.hasMore,supportsActiveFilters:a}})},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):[]},navigableRows(){if(this.showEmptyContentInfo||this.isSmallMobile)return[];const t=[];return this.filteredResults.forEach(e=>{e.results.forEach((n,i)=>{t.push({id:this.rowElementId(e.id,i),resourceUrl:n.resourceUrl})})}),this.unfilteredResults.forEach(e=>{e.results.forEach((n,i)=>{t.push({id:this.rowElementId(e.id,i,!0),resourceUrl:n.resourceUrl})})}),t},activeRow(){return this.navigableRows[this.activeIndex]??null},activeDescendantId(){return this.activeRow?.id??null},liveMessage(){return!this.open||this.isEmptySearch||this.isSearchQueryTooShort?"":this.searching||!this.initialized?(0,a.t)("core","Searching …"):0===this.navigableRows.length?(0,a.t)("core","No matching results"):(0,a.n)("core","%n result","%n results",this.navigableRows.length)},hasVisibleResults(){return this.filteredResults.length>0||this.unfilteredResults.length>0}},watch:{open(){this.open?(document.addEventListener("keydown",this.onEscapeKey),this.$nextTick(()=>this.activateFocusTrap()),this.initialized||Promise.all([Ot(),qt({searchTerm:""})]).then(([t,e])=>{this.providers=this.groupProvidersByApp([...t,...this.externalFilters]),this.contacts=this.mapContacts(e),zt.debug("Search providers and contacts initialized:",{providers:this.providers,contacts:this.contacts}),this.initialized=!0,this.open&&this.searchQuery&&this.find(this.searchQuery)}).catch(t=>{zt.error(t),this.initialized=!0}),this.searchQuery&&this.find(this.searchQuery)):(this.reset(),document.removeEventListener("keydown",this.onEscapeKey),this.deactivateFocusTrap())},query:{immediate:!0,handler(){this.searchQuery=this.query}},searchQuery:{handler(){this.$emit("update:query",this.searchQuery),this.open&&this.debouncedFind(this.searchQuery)}},searchExternalResources(){this.searchQuery&&this.find(this.searchQuery)},navigableRows(t,e){this.reconcileActiveIndex(t,e)},activeDescendantId:{immediate:!0,handler(t){this.$emit("update:activeDescendant",t),this.$nextTick(()=>this.scrollActiveIntoView())}}},mounted(){(0,l.B1)("nextcloud:unified-search:add-filter",this.handlePluginFilter)},methods:{onUpdateOpen(t){t||(this.$emit("update:open",!1),this.$emit("update:query",""))},onScrimClick(){this.deactivateFocusTrap(!1),this.onUpdateOpen(!1)},onMobileSearchInput(t){this.searchQuery=String(t)},onEscapeKey(t){if("Escape"!==t.key)return;if(this.providerActionMenuIsOpen||this.dateActionMenuIsOpen||this.showDateRangeModal)return;const e=window._nc_focus_trap??[];this.focusTrap&&e.at(-1)!==this.focusTrap||(t.preventDefault(),this.onUpdateOpen(!1))},activateFocusTrap(){if(this.focusTrap||!this.open)return;const t=this.$refs.panel;if(!t)return;const e=this.$el?.closest?.(".unified-search-menu")??null,n=e?.querySelector(".unified-search-input")??null,i=n?[n,t]:[t];this.focusTrap=(0,o.IG)((0,$.K)(i,{initialFocus:()=>t.querySelector('input[type="search"]')??n?.querySelector("input")??t,escapeDeactivates:!1,allowOutsideClick:!0,trapStack:window._nc_focus_trap??=[]})),this.focusTrap.activate()},deactivateFocusTrap(t=!0){this.focusTrap?.deactivate({returnFocus:t}),this.focusTrap=null},searchLocally(){this.$emit("update:query",this.searchQuery),this.$emit("update:open",!1)},find(t){if(this.isSearchQueryTooShort)return;if(!this.initialized)return;const e=this.filteredProviders.length>0?this.filteredProviders:this.providers.filter(t=>this.searchExternalResources||!t.isExternalProvider),n={};e.forEach(t=>{n[t.id]=this.buildCategoryParams(t)}),this.search(t,e.map(t=>t.id),n)},buildCategoryParams(t){const e={extraQueries:t.extraParams};return t.searchFrom&&(e.type=t.searchFrom),this.filters.forEach(n=>{"provider"!==n.type&&this.providerIsCompatibleWithFilters(t,[n.type])&&("date"===n.type?(e.since=this.dateFilter.startFrom?.toISOString(),e.until=this.dateFilter.endAt?.toISOString()):"person"===n.type&&(e.person=this.personFilter.user))}),e},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){qt({searchTerm:t}).then(e=>{this.contacts=this.mapContacts(e),zt.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),zt.debug("Person filter applied",{person:t})},loadMoreResultsForProvider(t){this.loadMore(t.id)},addProviderFilter(t){if(zt.debug("Applying provider filter",{providerFilter:t}),!t.id)return;if(t.isPluginFilter){const e=this.filteredProviders.some(e=>e.id===t.id);t.callback(!e)}this.providerActionMenuIsOpen=!1;const e=this.filteredProviders.findIndex(e=>e.id===t.id);e>-1&&(this.filteredProviders.splice(e,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),zt.debug("Search filters (newly added)",{filters:this.filters}),this.debouncedFind(this.searchQuery)},removeFilter(t){if("provider"===t.type){for(let e=0;e{const a=t.id;"provider"===t.type&&(e.some(t=>t.id===a)||n.splice(i,1))}),e.forEach(t=>{const e=t.id;"provider"===t.type&&(n.some(t=>t.id===e)||n.push(t))}),n},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 n,i;switch(t){case"today":n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0),i=new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999),this.dateFilter.text=(0,a.t)("core","Today");break;case"7days":n=new Date(e.getFullYear(),e.getMonth(),e.getDate()-6,0,0,0,0),this.dateFilter.text=(0,a.t)("core","Last 7 days");break;case"30days":n=new Date(e.getFullYear(),e.getMonth(),e.getDate()-29,0,0,0,0),this.dateFilter.text=(0,a.t)("core","Last 30 days");break;case"thisyear":n=new Date(e.getFullYear(),0,1,0,0,0,0),i=new Date(e.getFullYear(),11,31,23,59,59,999),this.dateFilter.text=(0,a.t)("core","This year");break;case"lastyear":n=new Date(e.getFullYear()-1,0,1,0,0,0,0),i=new Date(e.getFullYear()-1,11,31,23,59,59,999),this.dateFilter.text=(0,a.t)("core","Last year");break;case"custom":return void(this.showDateRangeModal=!0);default:return}this.dateFilter.startFrom=n,this.dateFilter.endAt=i,this.updateDateFilter()},setCustomDateRange(t){zt.debug("Custom date range",{range:t}),this.dateFilter.startFrom=t.startFrom,this.dateFilter.endAt=t.endAt,this.dateFilter.text=(0,a.t)("core","Between {startDate} and {endDate}",{startDate:this.dateFilter.startFrom.toLocaleDateString([(0,a.lO)()]),endDate:this.dateFilter.endAt.toLocaleDateString([(0,a.lO)()])}),this.updateDateFilter()},handlePluginFilter(t){zt.debug("Handling plugin filter",{addFilterEvent:t});for(let e=0;ee.id===t.id);i>-1&&(n.extraParams=t.filterParams,this.filteredProviders[e]=n);break}}this.debouncedFind(this.searchQuery)},groupProvidersByApp(t){const e={};t.forEach(t=>{const n=t.appId?t.appId:"general";e[n]||(e[n]=[]),e[n].push(t)});const n=[];return Object.values(e).forEach(t=>{n.push(...t)}),n},providerIsCompatibleWithFilters(t,e){const n=t.searchFrom?this.providers.find(e=>e.id===t.searchFrom)??t:t;return e.every(t=>{switch(t){case"date":return void 0!==n.filters?.since&&void 0!==n.filters?.until;case"person":return void 0!==n.filters?.person;default:return void 0!==n.filters?.[t]}})},async enableAllProviders(){this.providers.forEach(async(t,e)=>{this.providers[e].disabled=!1})},rowElementId:(t,e,n=!1)=>n?`unified-search-result-unfiltered-${t}-${e}`:`unified-search-result-${t}-${e}`,moveActive(t){const e=this.navigableRows.length;if(0===e)return;const n=this.activeIndex;switch(t){case"next":this.activeIndex=n<0?0:Math.min(n+1,e-1);break;case"prev":this.activeIndex=n<0?0:Math.max(n-1,0);break;case"first":this.activeIndex=0;break;case"last":this.activeIndex=e-1}},activateActive(){this.activeRow?.resourceUrl&&this.openResourceUrl(this.activeRow.resourceUrl)},openResourceUrl(t){window.location.assign(t)},scrollActiveIntoView(){if(!this.activeDescendantId)return;const t=document.getElementById(this.activeDescendantId);t?.scrollIntoView?.({block:"nearest"})},reconcileActiveIndex(t,e){if(0===t.length)return void(this.activeIndex=-1);const n=e?.[this.activeIndex]?.id;if(void 0!==n){const e=t.findIndex(t=>t.id===n);this.activeIndex=e>=0?e:0}else(this.activeIndex<0||this.activeIndex>=t.length)&&(this.activeIndex=0)}}}),Gt=Ht;var Vt=n(20723),$t={};$t.styleTagTransform=R(),$t.setAttributes=D(),$t.insert=B().bind(null,"head"),$t.domAPI=w(),$t.insertStyleElement=M(),x()(Vt.A,$t),Vt.A&&Vt.A.locals&&Vt.A.locals;const Qt=(0,C.A)(Gt,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("transition",{attrs:{name:"unified-search-modal",appear:""}},[t.open?e("div",{staticClass:"unified-search-modal-root"},[e("CustomDateRangeModal",{staticClass:"unified-search__date-range",attrs:{isOpen:t.showDateRangeModal},on:{"set:customDateRange":t.setCustomDateRange,"update:isOpen":function(e){t.showDateRangeModal=e}}}),t._v(" "),e("div",{ref:"panel",staticClass:"unified-search-modal__container",attrs:{id:"unified-search-results"}},[e("div",{staticClass:"hidden-visually",attrs:{role:"status","aria-live":"polite"}},[t._v("\n\t\t\t\t"+t._s(t.liveMessage)+"\n\t\t\t")]),t._v(" "),e("div",{staticClass:"unified-search-modal__header",class:{"unified-search-modal__header--has-results":t.hasVisibleResults}},[t.isSmallMobile?e("div",{staticClass:"unified-search-modal__mobile-input"},[e("NcTextField",{attrs:{type:"search",label:t.t("core","Apps, files, messages, and more"),modelValue:t.searchQuery,showTrailingButton:t.searchQuery.length>0,trailingButtonLabel:t.t("core","Clear search")},on:{"update:modelValue":t.onMobileSearchInput,"trailing-button-click":function(e){t.searchQuery=""}}}),t._v(" "),e("NcButton",{attrs:{variant:"tertiary","aria-label":t.t("core","Close search")},on:{click:function(e){return t.onUpdateOpen(!1)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconClose",{attrs:{size:20}})]},proxy:!0}],null,!1,2888946197)})],1):t._e(),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showFilterRow,expression:"showFilterRow"}],staticClass:"unified-search-modal__filters",attrs:{"data-cy-unified-search-filters":""}},[e("NcActions",{attrs:{wide:"",size:"small",open:t.providerActionMenuIsOpen,"menu-name":t.t("core","Type"),variant:t.providerFilterActive?"primary":"secondary","data-cy-unified-search-filter":"places"},on:{"update:open":function(e){t.providerActionMenuIsOpen=e}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconShapeOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,1084672236)},[t._v(" "),t._l(t.providers,function(n){return e("NcActionButton",{key:`${n.id}-${n.name.replace(/\s/g,"")}`,attrs:{disabled:n.disabled},on:{click:function(e){return t.addProviderFilter(n)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("img",{staticClass:"filter-button__icon",attrs:{src:n.icon,alt:""}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.name)+"\n\t\t\t\t\t\t")])})],2),t._v(" "),e("NcActions",{attrs:{size:"small",wide:"",open:t.dateActionMenuIsOpen,"menu-name":t.t("core","Date"),variant:t.dateFilterActive?"primary":"secondary","data-cy-unified-search-filter":"date"},on:{"update:open":function(e){t.dateActionMenuIsOpen=e}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconCalendarBlankOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,2513324059)},[t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("today")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","Today"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("7days")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","Last 7 days"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("30days")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","Last 30 days"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("thisyear")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","This year"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("lastyear")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","Last year"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("custom")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","Custom date range"))+"\n\t\t\t\t\t\t")])],1),t._v(" "),e("SearchableList",{attrs:{labelText:t.t("core","Search people"),searchList:t.userContacts,emptyContentText: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",{attrs:{wide:"",size:"small",variant:"secondary",pressed:t.personFilterActive},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconAccountMultipleOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,2457664786)},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.t("core","People"))+"\n\t\t\t\t\t\t\t")])]},proxy:!0}],null,!1,662085814)}),t._v(" "),t.localSearch?e("NcButton",{attrs:{variant:"tertiary","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\t"+t._s(t.t("core","Filter in current view"))+"\n\t\t\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\t"+t._s(t.t("core","Search connected services"))+"\n\t\t\t\t\t")]):t._e()],1),t._v(" "),e("div",{staticClass:"unified-search-modal__filters-applied"},t._l(t.filters,function(n){return e("FilterChip",{key:n.id,attrs:{text:n.name??n.text,pretext:""},on:{delete:function(e){return t.removeFilter(n)}},scopedSlots:t._u([{key:"icon",fn:function(){return["person"===n.type?e("NcAvatar",{attrs:{user:n.user,size:24,disableMenu:"",hideStatus:"",hideFavorite:!1}}):"date"===n.type?e("IconCalendarBlankOutline"):e("img",{attrs:{src:n.icon,alt:""}})]},proxy:!0}],null,!0)})}),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\t"+t._s(t.t("core","Results"))+"\n\t\t\t\t")]),t._v(" "),t._l(t.filteredResults,function(n){return e("div",{key:n.id,staticClass:"result"},[e("h4",{staticClass:"result-title",attrs:{id:`unified-search-result-${n.id}`}},[t._v("\n\t\t\t\t\t\t"+t._s(n.name)+"\n\t\t\t\t\t")]),t._v(" "),e("ul",{staticClass:"result-items",attrs:{role:t.isSmallMobile?void 0:"listbox","aria-labelledby":`unified-search-result-${n.id}`}},t._l(n.results,function(i,a){return e("SearchResult",t._b({key:a,attrs:{role:t.isSmallMobile?void 0:"option",elementId:t.rowElementId(n.id,a),active:t.activeDescendantId===t.rowElementId(n.id,a)}},"SearchResult",i,!1))}),1),t._v(" "),e("div",{staticClass:"result-footer"},[n.hasMore?e("NcButton",{attrs:{variant:"tertiary-no-background"},on:{click:function(e){return t.loadMoreResultsForProvider(n)}},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"+t._s(t.t("core","Load more results"))+"\n\t\t\t\t\t\t\t")]):t._e(),t._v(" "),n.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"+t._s(t.t("core","Search in"))+" "+t._s(n.name)+"\n\t\t\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(n){return e("div",{key:`unfiltered-${n.id}`,staticClass:"result result--unfiltered"},[e("h4",{staticClass:"result-title",attrs:{id:`unified-search-result-unfiltered-${n.id}`}},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.name)+"\n\t\t\t\t\t\t")]),t._v(" "),e("ul",{staticClass:"result-items",attrs:{role:t.isSmallMobile?void 0:"listbox","aria-labelledby":`unified-search-result-unfiltered-${n.id}`}},t._l(n.results,function(i,a){return e("SearchResult",t._b({key:a,attrs:{role:t.isSmallMobile?void 0:"option",elementId:t.rowElementId(n.id,a,!0),active:t.activeDescendantId===t.rowElementId(n.id,a,!0)}},"SearchResult",i,!1))}),1),t._v(" "),e("div",{staticClass:"result-footer"},[n.hasMore?e("NcButton",{attrs:{variant:"tertiary-no-background"},on:{click:function(e){return t.loadMoreResultsForProvider(n)}},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\t"+t._s(t.t("core","Load more results"))+"\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),n.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\t"+t._s(t.t("core","Search in"))+" "+t._s(n.name)+"\n\t\t\t\t\t\t\t\t")]):t._e()],1)])})]:t._e()],2)]),t._v(" "),e("div",{staticClass:"unified-search-modal__scrim",on:{click:t.onScrimClick}})],1):t._e()])},[],!1,null,"c7d9f70c",null).exports,Kt=(0,o.pM)({name:"UnifiedSearch",components:{UnifiedSearchModal:Qt,UnifiedSearchLocalSearchBar:G,UnifiedSearchInput:O},setup:()=>({currentLocation:(0,d.ZDG)(),isSmallMobile:(0,c.F)(),t:a.t}),data:()=>({queryText:"",showUnifiedSearch:!1,showLocalSearch:!1,activeDescendantId:"",filtersRevealed:!1}),computed:{debouncedQueryUpdate(){return(0,u.A)(this.emitUpdatedQuery,250)},supportsLocalSearch(){return["/apps/deck"].some(t=>this.currentLocation.pathname?.includes?.(t))},appHandlesSearchShortcut(){return["/settings/users","/settings/apps"].some(t=>this.currentLocation.pathname?.includes?.(t))}},watch:{queryText(){this.debouncedQueryUpdate(),this.supportsLocalSearch||this.isSmallMobile||(this.showUnifiedSearch=this.queryText.length>0)},showUnifiedSearch(t){t||(this.filtersRevealed=!1)}},mounted(){!1===window.OCP.Accessibility.disableKeyboardShortcuts()&&window.addEventListener("keydown",this.onKeyDown),(0,l.B1)("nextcloud:unified-search:reset",()=>{this.showLocalSearch=!1,this.queryText=""}),(0,l.B1)("nextcloud:unified-search:reset",()=>{(0,l.Ic)("nextcloud:unified-search.reset",{query:""})}),(0,l.B1)("nextcloud:unified-search:search",({query:t})=>{(0,l.Ic)("nextcloud:unified-search.search",{query:t})}),Rt.debug("Unified search initialized!")},beforeDestroy(){window.removeEventListener("keydown",this.onKeyDown)},methods:{onKeyDown(t){const e=t.key.toLowerCase();if(t.ctrlKey&&"f"===e){if(this.appHandlesSearchShortcut)return;if(this.supportsLocalSearch)return this.showLocalSearch||this.showUnifiedSearch||t.preventDefault(),void this.toggleUnifiedSearch();t.preventDefault(),this.focusSearch()}else if((t.metaKey||t.ctrlKey)&&"k"===e){if(this.appHandlesSearchShortcut)return;t.preventDefault(),this.focusSearch()}},focusSearch(){this.isSmallMobile?this.openModal():this.focusInput()},focusInput(){const t=this.$refs.searchInput;t?.focus?.()},onNavigate(t){const e=this.$refs.searchModal;e?.moveActive?.(t)},onActivate(){const t=this.$refs.searchModal;t?.activateActive?.()},toggleUnifiedSearch(){this.supportsLocalSearch?this.showLocalSearch=!this.showLocalSearch:(this.showUnifiedSearch=!this.showUnifiedSearch,this.showLocalSearch=!1)},openModal(){this.showUnifiedSearch=!0,this.showLocalSearch=!1},onOpenFilters(){this.showUnifiedSearch=!0,this.showLocalSearch=!1,this.filtersRevealed=!0},onClose(){this.showUnifiedSearch=!1,this.showLocalSearch=!1},emitUpdatedQuery(){""===this.queryText?(0,l.Ic)("nextcloud:unified-search:reset"):(0,l.Ic)("nextcloud:unified-search:search",{query:this.queryText})}}});var Yt=n(72470),jt={};jt.styleTagTransform=R(),jt.setAttributes=D(),jt.insert=B().bind(null,"head"),jt.domAPI=w(),jt.insertStyleElement=M(),x()(Yt.A,jt),Yt.A&&Yt.A.locals&&Yt.A.locals;const Wt=(0,C.A)(Kt,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("div",{staticClass:"unified-search-menu"},[e("UnifiedSearchInput",{ref:"searchInput",attrs:{query:t.queryText,expanded:t.showUnifiedSearch,activeDescendantId:t.activeDescendantId,filtersRevealed:t.filtersRevealed},on:{click:t.openModal,"open-filters":t.onOpenFilters,close:t.onClose,"update:query":function(e){t.queryText=e},navigate:t.onNavigate,activate:t.onActivate}}),t._v(" "),t.supportsLocalSearch?e("UnifiedSearchLocalSearchBar",{attrs:{open:t.showLocalSearch,query:t.queryText},on:{globalSearch:t.openModal,"update:open":function(e){t.showLocalSearch=e},"update:query":function(e){t.queryText=e}}}):t._e(),t._v(" "),e("UnifiedSearchModal",{ref:"searchModal",attrs:{localSearch:t.supportsLocalSearch,query:t.queryText,open:t.showUnifiedSearch,filtersRevealed:t.filtersRevealed},on:{"update:query":function(e){t.queryText=e},"update:open":function(e){t.showUnifiedSearch=e},"update:activeDescendant":function(e){t.activeDescendantId=e||""}}})],1)},[],!1,null,"9edc0a80",null).exports;n.nc=(0,i.aV)();const Zt=(0,r.YK)().setApp("unified-search").detectUser().build();o.Ay.mixin({data:()=>({logger:Zt}),methods:{t:a.Tl,n:a.zw}}),window.OCA=window.OCA||{},window.OCA.UnifiedSearch={registerFilterAction:({id:t,appId:e,searchFrom:n,label:i,callback:a,icon:r})=>{Lt().registerExternalFilter({id:t,appId:e,searchFrom:n,label:i,callback:a,icon:r})}},o.Ay.use(s.R2);const Jt=(0,s.Ey)();new o.Ay({el:"#unified-search",pinia:Jt,name:"UnifiedSearchRoot",render:t=>t(Wt)})},12667(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());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},17830(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());s.push([t.id,".chip[data-v-5a4f6249]{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-5a4f6249]{display:flex;align-items:center;padding-inline-end:5px}.chip .icon img[data-v-5a4f6249]{width:20px;padding:2px;border-radius:20px;filter:var(--background-invert-if-bright)}.chip .text[data-v-5a4f6249]{margin:0 2px}.chip .close-button[data-v-5a4f6249]{display:flex;align-items:center;width:auto;min-width:0;min-height:0;margin:0;padding:0;border:none;background:rgba(0,0,0,0);color:inherit;cursor:pointer;border-radius:var(--border-radius-element, 8px)}.chip .close-button[data-v-5a4f6249]:hover{filter:invert(20%)}.chip .close-button[data-v-5a4f6249]:focus-visible{outline:2px solid var(--color-main-text);outline-offset:1px}","",{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,qCACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,WAAA,CACA,YAAA,CACA,QAAA,CACA,SAAA,CACA,WAAA,CACA,wBAAA,CACA,aAAA,CACA,cAAA,CACA,+CAAA,CAEA,2CACI,kBAAA,CAGJ,mDACI,wCAAA,CACA,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-button {\n display: flex;\n align-items: center;\n width: auto;\n min-width: 0;\n min-height: 0;\n margin: 0;\n padding: 0;\n border: none;\n background: transparent;\n color: inherit;\n cursor: pointer;\n border-radius: var(--border-radius-element, 8px);\n\n &:hover {\n filter: invert(20%);\n }\n\n &:focus-visible {\n outline: 2px solid var(--color-main-text);\n outline-offset: 1px;\n }\n }\n}\n"],sourceRoot:""}]);const o=s},93740(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());s.push([t.id,".result-item[data-v-57583211] a{border:2px solid rgba(0,0,0,0);border-radius:var(--border-radius-large) !important}.result-item[data-v-57583211] a:active,.result-item[data-v-57583211] a:hover,.result-item[data-v-57583211] a:focus{background-color:var(--color-background-hover);border:2px solid var(--color-border-maxcontrast)}.result-item[data-v-57583211] a *{cursor:pointer}.result-item__icon[data-v-57583211]{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-57583211]{border-radius:calc(var(--default-clickable-area)/2)}.result-item__icon--no-preview[data-v-57583211]{background-size:32px}.result-item__icon--with-thumbnail[data-v-57583211]{background-size:cover}.result-item__icon--with-thumbnail[data-v-57583211]: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-57583211]{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},60645(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());s.push([t.id,".searchable-list__wrapper[data-v-66bd6570]{padding:calc(var(--default-grid-baseline)*3);display:flex;flex-direction:column;align-items:center;width:250px}.searchable-list__list[data-v-66bd6570]{width:100%;max-height:284px;overflow-y:auto;margin-top:var(--default-grid-baseline);padding:var(--default-grid-baseline)}.searchable-list__list[data-v-66bd6570] .button-vue{border-radius:var(--border-radius-large) !important}.searchable-list__list[data-v-66bd6570] .button-vue span{font-weight:initial}.searchable-list__empty-content[data-v-66bd6570]{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},43142(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());s.push([t.id,".unified-search-input[data-v-54238e2f]{position:relative;z-index:51}.unified-search-input[data-v-54238e2f]:not(.unified-search-input--mobile){display:flex;align-items:center;width:clamp(200px,35vw,600px);max-width:calc(100% - 32px)}.unified-search-input--mobile[data-v-54238e2f]{display:contents}.unified-search-input__field[data-v-54238e2f]{--resting-background: rgba(0, 0, 0, 0.15);--resting-background-hover: rgba(0, 0, 0, 0.22);--search-icon-pad: 12px;--search-icon-size: 20px;--search-icon-gap: 8px;--search-anim-duration: 240ms;--search-anim-easing: cubic-bezier(0.22, 1, 0.36, 1);position:relative;container-type:inline-size;display:flex;align-items:center;height:var(--default-clickable-area);width:100%;border-radius:var(--border-radius-element, 8px);box-shadow:inset 0 2px 0 rgba(0,0,0,.12);background-color:var(--resting-background);-webkit-backdrop-filter:var(--filter-background-blur);backdrop-filter:var(--filter-background-blur);transition:background-color var(--search-anim-duration) var(--search-anim-easing),box-shadow var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__field[data-v-54238e2f]:hover:not(.unified-search-input__field--active){background-color:var(--resting-background-hover)}.unified-search-input__field--active[data-v-54238e2f]{background-color:var(--color-main-background);box-shadow:none}.unified-search-input__resting[data-v-54238e2f]{--slide-sign: 1;position:absolute;inset-block:0;inset-inline-start:var(--search-icon-pad);max-width:calc(100% - 2*var(--search-icon-pad));display:flex;align-items:center;gap:var(--search-icon-gap);pointer-events:none;color:color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));transform:translateX(calc(var(--slide-sign) * (50cqi - 50% - var(--search-icon-pad))));transition:transform var(--search-anim-duration) var(--search-anim-easing),color var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__field--active .unified-search-input__resting[data-v-54238e2f]{transform:translateX(0);color:var(--color-text-maxcontrast)}.unified-search-input__label[data-v-54238e2f]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition:opacity var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__resting--filled .unified-search-input__label[data-v-54238e2f]{opacity:0}.unified-search-input__resting[data-v-54238e2f] .material-design-icon__svg{display:block;transform:translateY(1px)}.unified-search-input__input[data-v-54238e2f]{flex:1;min-width:0;height:100%;margin:0;padding-inline:calc(var(--search-icon-pad) + var(--search-icon-size) + var(--search-icon-gap)) var(--search-icon-pad);border:none !important;border-radius:0 !important;box-shadow:none !important;background-color:rgba(0,0,0,0);color:var(--color-main-text);font-size:var(--default-font-size)}.unified-search-input__input[data-v-54238e2f]::placeholder{opacity:1;color:var(--color-text-maxcontrast)}.unified-search-input__input[data-v-54238e2f]:focus-visible{outline:none}.unified-search-input__clear[data-v-54238e2f],.unified-search-input__filter[data-v-54238e2f]{flex-shrink:0;margin-inline-end:2px}.unified-search-input__shortcut[data-v-54238e2f]{position:absolute;inset-inline-end:var(--default-grid-baseline);top:50%;transform:translateY(-50%);display:flex;pointer-events:none}@container (max-width: 400px){.unified-search-input__shortcut[data-v-54238e2f]{display:none}}.unified-search-input__shortcut[data-v-54238e2f] kbd{min-width:12px;height:12px;padding-inline:5px;border:1px solid color-mix(in srgb, var(--color-background-plain-text) 20%, transparent);border-block-end-width:2px;border-radius:var(--border-radius-small, 4px);color:color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));font-size:13px}[data-theme-dark] .unified-search-input__field[data-v-54238e2f],[data-theme-dark-highcontrast] .unified-search-input__field[data-v-54238e2f]{--resting-background: color-mix(in srgb, var(--color-primary-element) 16%, transparent);--resting-background-hover: color-mix(in srgb, var(--color-primary-element) 22%, transparent)}[dir=rtl] .unified-search-input__resting[data-v-54238e2f]{--slide-sign: -1}@media(prefers-reduced-motion: reduce){.unified-search-input__resting[data-v-54238e2f],.unified-search-input__resting span[data-v-54238e2f]{transition:none}}.unified-search-input--mobile[data-v-54238e2f] .header-menu{height:var(--default-clickable-area)}.unified-search-input--mobile[data-v-54238e2f] .header-menu__trigger{--button-size: var(--default-clickable-area) !important;height:var(--default-clickable-area) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue{--color-main-text: var(--color-background-plain-text);color:var(--color-background-plain-text);border-radius:var(--border-radius-element) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:hover:not(:disabled){background-color:rgba(0,0,0,.1) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:active:not(:disabled){background-color:rgba(0,0,0,.15) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:focus-visible{background-color:rgba(0,0,0,.1) !important;outline:none !important;box-shadow:inset 0 0 0 2px var(--color-background-plain-text) !important}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/UnifiedSearchInput.vue"],names:[],mappings:"AACA,uCAGC,iBAAA,CACA,UAAA,CAEA,0EACC,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,2BAAA,CAGD,+CACC,gBAAA,CAGD,8CACC,yCAAA,CACA,+CAAA,CAGA,uBAAA,CACA,wBAAA,CACA,sBAAA,CAGA,6BAAA,CACA,oDAAA,CACA,iBAAA,CAEA,0BAAA,CACA,YAAA,CACA,kBAAA,CAGA,oCAAA,CACA,UAAA,CACA,+CAAA,CACA,wCAAA,CAEA,0CAAA,CACA,qDAAA,CACA,6CAAA,CAEA,kJACC,CAGD,8FACC,gDAAA,CAID,sDACC,6CAAA,CACA,eAAA,CAQF,gDACC,eAAA,CACA,iBAAA,CACA,aAAA,CACA,yCAAA,CACA,+CAAA,CACA,YAAA,CACA,kBAAA,CACA,0BAAA,CACA,mBAAA,CACA,+FAAA,CACA,sFAAA,CACA,sIACC,CAGD,qFACC,uBAAA,CACA,mCAAA,CAOF,8CACC,eAAA,CACA,kBAAA,CACA,sBAAA,CACA,wEAAA,CAGD,qFACC,SAAA,CAOD,2EACC,aAAA,CACA,yBAAA,CAKD,8CACC,MAAA,CACA,WAAA,CACA,WAAA,CACA,QAAA,CAGA,qHAAA,CAIA,sBAAA,CACA,0BAAA,CACA,0BAAA,CACA,8BAAA,CACA,4BAAA,CACA,kCAAA,CAEA,2DACC,SAAA,CACA,mCAAA,CAGD,4DACC,YAAA,CAIF,6FAEC,aAAA,CACA,qBAAA,CAKD,iDACC,iBAAA,CACA,6CAAA,CACA,OAAA,CACA,0BAAA,CACA,YAAA,CACA,mBAAA,CAKA,8BAXD,iDAYE,YAAA,CAAA,CAGD,qDACC,cAAA,CACA,WAAA,CACA,kBAAA,CACA,wFAAA,CACA,0BAAA,CACA,6CAAA,CACA,+FAAA,CACA,cAAA,CAOH,6IAEC,uFAAA,CACA,6FAAA,CAKD,0DACC,gBAAA,CAKD,uCACC,qGAEC,eAAA,CAAA,CAKF,4DACC,oCAAA,CAGD,qEACC,uDAAA,CACA,+CAAA,CAGD,2DACC,qDAAA,CACA,wCAAA,CACA,qDAAA,CAEA,gFACC,0CAAA,CAGD,iFACC,2CAAA,CAGD,yEACC,0CAAA,CACA,uBAAA,CACA,wEAAA",sourcesContent:["\n.unified-search-input {\n\t// Paints above the modal root (z-index: 50) so the header input stays clickable\n\t// over the scrim while the popover is open. Keep 51 one above that value.\n\tposition: relative;\n\tz-index: 51;\n\n\t&:not(.unified-search-input--mobile) {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\twidth: clamp(200px, 35vw, 600px);\n\t\tmax-width: calc(100% - 32px);\n\t}\n\n\t&--mobile {\n\t\tdisplay: contents;\n\t}\n\n\t&__field {\n\t\t--resting-background: rgba(0, 0, 0, 0.15);\n\t\t--resting-background-hover: rgba(0, 0, 0, 0.22);\n\t\t// Shared geometry: the resting group and the input's leading padding read the\n\t\t// same tokens so the placeholder and the typed value line up.\n\t\t--search-icon-pad: 12px;\n\t\t--search-icon-size: 20px;\n\t\t--search-icon-gap: 8px;\n\t\t// One shared timing for every focus transition (background, the icon/label\n\t\t// slide, the recolour) so they move together. easeOutQuart = soft landing.\n\t\t--search-anim-duration: 240ms;\n\t\t--search-anim-easing: cubic-bezier(0.22, 1, 0.36, 1);\n\t\tposition: relative;\n\t\t// Query container so the resting group can centre itself with cqi units\n\t\tcontainer-type: inline-size;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\t// Match the default clickable area so the inner (which the global\n\t\t// input reset forces to that height) fills the field without an override.\n\t\theight: var(--default-clickable-area);\n\t\twidth: 100%;\n\t\tborder-radius: var(--border-radius-element, 8px);\n\t\tbox-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.12);\n\t\t// Resting: subdued \"button\" look that sits on the themed header\n\t\tbackground-color: var(--resting-background);\n\t\t-webkit-backdrop-filter: var(--filter-background-blur);\n\t\tbackdrop-filter: var(--filter-background-blur);\n\t\t// Blue tint -> white surface on the shared timing, in step with the slide.\n\t\ttransition:\n\t\t\tbackground-color var(--search-anim-duration) var(--search-anim-easing),\n\t\t\tbox-shadow var(--search-anim-duration) var(--search-anim-easing);\n\n\t\t&:hover:not(.unified-search-input__field--active) {\n\t\t\tbackground-color: var(--resting-background-hover);\n\t\t}\n\n\t\t// Active: real input surface once focused or filled\n\t\t&--active {\n\t\t\tbackground-color: var(--color-main-background);\n\t\t\tbox-shadow: none;\n\t\t}\n\t}\n\n\t// Anchored at the leading edge and translated to the centre while at rest; on\n\t// focus (--active) the translate goes to 0 and it slides into place. Centre offset\n\t// is pure CSS: half the field (50cqi) minus half the group (50%) minus the pad, so\n\t// it self-corrects for any placeholder length or field width.\n\t&__resting {\n\t\t--slide-sign: 1;\n\t\tposition: absolute;\n\t\tinset-block: 0;\n\t\tinset-inline-start: var(--search-icon-pad);\n\t\tmax-width: calc(100% - 2 * var(--search-icon-pad));\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: var(--search-icon-gap);\n\t\tpointer-events: none;\n\t\tcolor: color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));\n\t\ttransform: translateX(calc(var(--slide-sign) * (50cqi - 50% - var(--search-icon-pad))));\n\t\ttransition:\n\t\t\ttransform var(--search-anim-duration) var(--search-anim-easing),\n\t\t\tcolor var(--search-anim-duration) var(--search-anim-easing);\n\n\t\t.unified-search-input__field--active & {\n\t\t\ttransform: translateX(0);\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\t}\n\n\t// Placeholder text inside the resting group. Ellipsised, and hidden once typing\n\t// starts so it doesn't overlap the value. Scoped to the label class so the sibling\n\t// magnifier (also rendered as a ) stays visible.\n\t&__label {\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t\ttransition: opacity var(--search-anim-duration) var(--search-anim-easing);\n\t}\n\n\t&__resting--filled &__label {\n\t\topacity: 0;\n\t}\n\n\t// The material-design icon is inline (baseline-aligned), which leaves a\n\t// descender gap and makes the glyph sit high even when its box is centred.\n\t// Render it as a block so it fills its box, then nudge 1px down to sit on the\n\t// text's optical centre (a geometrically centred glyph reads slightly high).\n\t&__resting :deep(.material-design-icon__svg) {\n\t\tdisplay: block;\n\t\ttransform: translateY(1px);\n\t}\n\n\t// Only visible once active (at rest it's empty and covered by the overlay),\n\t// so it's styled for the active/white surface throughout.\n\t&__input {\n\t\tflex: 1;\n\t\tmin-width: 0;\n\t\theight: 100%;\n\t\tmargin: 0;\n\t\t// Leading space so the placeholder/value starts one gap past the magnifier,\n\t\t// matching the resting group exactly. Trailing padding mirrors the leading pad.\n\t\tpadding-inline: calc(var(--search-icon-pad) + var(--search-icon-size) + var(--search-icon-gap)) var(--search-icon-pad);\n\t\t// Opt out of NC's global input chrome (core/css/inputs.scss adds a border,\n\t\t// radius and focus box-shadow to any text input not in its exclusion list).\n\t\t// !important because that global focus rule outweighs a scoped class.\n\t\tborder: none !important;\n\t\tborder-radius: 0 !important;\n\t\tbox-shadow: none !important;\n\t\tbackground-color: transparent;\n\t\tcolor: var(--color-main-text);\n\t\tfont-size: var(--default-font-size);\n\n\t\t&::placeholder {\n\t\t\topacity: 1;\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\n\t\t&:focus-visible {\n\t\t\toutline: none;\n\t\t}\n\t}\n\n\t&__clear,\n\t&__filter {\n\t\tflex-shrink: 0;\n\t\tmargin-inline-end: 2px;\n\t}\n\n\t// Pinned to the trailing edge, overlaid on the input (pointer-events: none so a\n\t// click there still focuses the field).\n\t&__shortcut {\n\t\tposition: absolute;\n\t\tinset-inline-end: var(--default-grid-baseline);\n\t\ttop: 50%;\n\t\ttransform: translateY(-50%);\n\t\tdisplay: flex;\n\t\tpointer-events: none;\n\n\t\t// On a narrow field the centred placeholder runs under the hint, so drop it\n\t\t// below a usable width. Keyed to the field's own inline-size (its container),\n\t\t// not the viewport, so it holds however crowded the header gets.\n\t\t@container (max-width: 400px) {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t:deep(kbd) {\n\t\t\tmin-width: 12px;\n\t\t\theight: 12px;\n\t\t\tpadding-inline: 5px;\n\t\t\tborder: 1px solid color-mix(in srgb, var(--color-background-plain-text) 20%, transparent);\n\t\t\tborder-block-end-width: 2px;\n\t\t\tborder-radius: var(--border-radius-small, 4px);\n\t\t\tcolor: color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));\n\t\t\tfont-size: 13px;\n\t\t}\n\t}\n}\n\n// On dark themes the plain overlay is nearly invisible on the header, so tint\n// the resting background with the primary colour instead.\n[data-theme-dark] .unified-search-input__field,\n[data-theme-dark-highcontrast] .unified-search-input__field {\n\t--resting-background: color-mix(in srgb, var(--color-primary-element) 16%, transparent);\n\t--resting-background-hover: color-mix(in srgb, var(--color-primary-element) 22%, transparent);\n}\n\n// translateX is physical, so flip the resting slide under RTL to keep it moving\n// toward the leading (right) edge.\n[dir=rtl] .unified-search-input__resting {\n\t--slide-sign: -1;\n}\n\n// Respect reduced-motion: keep the end states but drop the slide/fade so nothing\n// animates on focus.\n@media (prefers-reduced-motion: reduce) {\n\t.unified-search-input__resting,\n\t.unified-search-input__resting span {\n\t\ttransition: none;\n\t}\n}\n\n// Mobile: NcHeaderButton styling to match the other header items\n.unified-search-input--mobile :deep(.header-menu) {\n\theight: var(--default-clickable-area);\n}\n\n.unified-search-input--mobile :deep(.header-menu__trigger) {\n\t--button-size: var(--default-clickable-area) !important;\n\theight: var(--default-clickable-area) !important;\n}\n\n.unified-search-input--mobile :deep(.button-vue) {\n\t--color-main-text: var(--color-background-plain-text);\n\tcolor: var(--color-background-plain-text);\n\tborder-radius: var(--border-radius-element) !important;\n\n\t&:hover:not(:disabled) {\n\t\tbackground-color: rgba(0, 0, 0, 0.1) !important;\n\t}\n\n\t&:active:not(:disabled) {\n\t\tbackground-color: rgba(0, 0, 0, 0.15) !important;\n\t}\n\n\t&:focus-visible {\n\t\tbackground-color: rgba(0, 0, 0, 0.1) !important;\n\t\toutline: none !important;\n\t\tbox-shadow: inset 0 0 0 2px var(--color-background-plain-text) !important;\n\t}\n}\n"],sourceRoot:""}]);const o=s},89226(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());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},20723(t,e,n){n.d(e,{A:()=>A});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r),o=n(4417),l=n.n(o),c=new URL(n(59279),n.b),d=s()(a()),u=l()(c);d.push([t.id,`.unified-search-modal-root[data-v-c7d9f70c]{position:absolute;inset-block-start:100%;inset-inline:0;z-index:50 !important;margin-block-start:6px;display:flex;justify-content:center}.unified-search-modal__scrim[data-v-c7d9f70c]{position:fixed;inset:0;z-index:0;--backdrop-color: 0, 0, 0;background-color:rgba(var(--backdrop-color), 0.5)}.unified-search-modal__container[data-v-c7d9f70c]{position:relative;z-index:1;display:flex;flex-direction:column;flex-shrink:0;width:600px;max-width:90vw;max-height:calc(90vh - var(--header-height));border-radius:var(--border-radius-container, var(--border-radius-rounded));overflow:hidden;background-color:var(--color-main-background);color:var(--color-main-text);box-shadow:0 0 40px rgba(0,0,0,.2);transition:transform 240ms cubic-bezier(0.22, 1, 0.36, 1)}@media only screen and ((max-width: 512px) or (max-height: 400px)){.unified-search-modal-root[data-v-c7d9f70c]{position:fixed;inset-block-start:var(--header-height);inset-inline:0;inset-block-end:0;margin-block-start:0}.unified-search-modal__container[data-v-c7d9f70c]{width:100%;max-width:initial;height:100%;max-height:initial;border-radius:0}}.unified-search-modal-enter-active[data-v-c7d9f70c],.unified-search-modal-leave-active[data-v-c7d9f70c]{transition:opacity 250ms}.unified-search-modal-enter[data-v-c7d9f70c],.unified-search-modal-leave-to[data-v-c7d9f70c]{opacity:0}.unified-search-modal-enter .unified-search-modal__container[data-v-c7d9f70c],.unified-search-modal-leave-to .unified-search-modal__container[data-v-c7d9f70c]{transform:translateY(-6px)}@media(prefers-reduced-motion: reduce){.unified-search-modal__container[data-v-c7d9f70c]{transition:none}.unified-search-modal-enter .unified-search-modal__container[data-v-c7d9f70c],.unified-search-modal-leave-to .unified-search-modal__container[data-v-c7d9f70c]{transform:none}}.unified-search-modal__header[data-v-c7d9f70c]{background-color:var(--color-main-background);padding-inline:12px;position:sticky;top:6px;z-index:1}.unified-search-modal__header--has-results[data-v-c7d9f70c]{padding-bottom:12px;border-bottom:1px solid var(--color-border)}.unified-search-modal__mobile-input[data-v-c7d9f70c]{display:flex;align-items:center;gap:4px;margin-block-end:8px}.unified-search-modal__mobile-input[data-v-c7d9f70c] .input-field{flex:1 1 auto}.unified-search-modal__filters[data-v-c7d9f70c]{display:flex;flex-wrap:wrap;gap:4px;justify-content:start;padding-top:6px}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-c7d9f70c],.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-c7d9f70c],.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-c7d9f70c]{flex:1 1 0;min-width:0}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-c7d9f70c] .v-popper,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-c7d9f70c] .v-popper,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-c7d9f70c] .v-popper{display:block;width:100%}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-c7d9f70c] .button-vue__wrapper,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-c7d9f70c] .button-vue__wrapper,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-c7d9f70c] .button-vue__wrapper{justify-content:center}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-c7d9f70c] .button-vue,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-c7d9f70c] .button-vue,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-c7d9f70c] .button-vue{position:relative;width:100%;padding-inline:calc(var(--default-grid-baseline)*6)}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-c7d9f70c] .button-vue::after,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-c7d9f70c] .button-vue::after,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-c7d9f70c] .button-vue::after{content:"";position:absolute;inset-inline-end:calc(var(--default-grid-baseline)*2);inset-block:0;margin-block:auto;width:16px;height:16px;background-color:currentColor;mask-image:url(${u});mask-repeat:no-repeat;mask-position:center;mask-size:contain}.unified-search-modal__search-external-resources[data-v-c7d9f70c] span.checkbox-content{padding-top:0;padding-bottom:0}.unified-search-modal__search-external-resources[data-v-c7d9f70c] .checkbox-content__icon{margin:auto !important}.unified-search-modal__search-external-resources--aligned[data-v-c7d9f70c]{margin-inline-start:auto}.unified-search-modal__filters-applied[data-v-c7d9f70c]{padding-top:4px;display:flex;flex-wrap:wrap}.unified-search-modal__no-content[data-v-c7d9f70c]{display:flex;align-items:center;margin-top:.5em;height:70%}.unified-search-modal__results[data-v-c7d9f70c]{flex:1 1 auto;min-height:0;overflow:hidden auto;padding-inline:12px;padding-block:0 12px}.unified-search-modal__results .result-title[data-v-c7d9f70c]{color:var(--color-primary-element);font-size:16px;margin-block:8px 4px}.unified-search-modal__results .result-footer[data-v-c7d9f70c]{justify-content:space-between;align-items:center;display:flex}.unified-search-modal__results .result--unfiltered[data-v-c7d9f70c]{opacity:.7}.unified-search-modal__unfiltered-header[data-v-c7d9f70c]{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-c7d9f70c]{font-weight:bold;color:var(--color-text-maxcontrast)}.filter-button__icon[data-v-c7d9f70c]{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-c7d9f70c]{overflow:unset}}`,"",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/UnifiedSearchModal.vue"],names:[],mappings:"AAKA,4CACC,iBAAA,CACA,sBAAA,CACA,cAAA,CAGA,qBAAA,CACA,sBAAA,CACA,YAAA,CACA,sBAAA,CAKD,8CACC,cAAA,CACA,OAAA,CACA,SAAA,CACA,yBAAA,CACA,iDAAA,CAKD,kDACC,iBAAA,CACA,SAAA,CACA,YAAA,CACA,qBAAA,CAGA,aAAA,CACA,WAAA,CACA,cAAA,CAEA,4CAAA,CACA,0EAAA,CAEA,eAAA,CACA,6CAAA,CACA,4BAAA,CACA,kCAAA,CAGA,yDAAA,CAID,mEACC,4CAGC,cAAA,CACA,sCAAA,CACA,cAAA,CACA,iBAAA,CACA,oBAAA,CAGD,kDACC,UAAA,CACA,iBAAA,CACA,WAAA,CACA,kBAAA,CACA,eAAA,CAAA,CAKF,wGAEC,wBAAA,CAGD,6FAEC,SAAA,CAGD,+JAEC,0BAAA,CAKD,uCACC,kDACC,eAAA,CAGD,+JAEC,cAAA,CAAA,CAKD,+CAEC,6CAAA,CAEA,mBAAA,CAEA,eAAA,CACA,OAAA,CACA,SAAA,CAIA,4DACC,mBAAA,CACA,2CAAA,CAIF,qDACC,YAAA,CACA,kBAAA,CACA,OAAA,CACA,oBAAA,CAEA,kEACC,aAAA,CAIF,gDACC,YAAA,CACA,cAAA,CACA,OAAA,CACA,qBAAA,CACA,eAAA,CAIA,mQAGC,UAAA,CACA,WAAA,CAEA,iSACC,aAAA,CACA,UAAA,CAID,kUACC,sBAAA,CAID,uSACC,iBAAA,CACA,UAAA,CACA,mDAAA,CAEA,4TACC,UAAA,CACA,iBAAA,CACA,qDAAA,CACA,aAAA,CACA,iBAAA,CACA,UAAA,CACA,WAAA,CACA,6BAAA,CACA,kDAAA,CACA,qBAAA,CACA,oBAAA,CACA,iBAAA,CAOH,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,gDAEC,aAAA,CACA,YAAA,CACA,oBAAA,CAEA,mBAAA,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\n// Anchor the popover under the header input (the .unified-search-menu parent is\n// the positioning context) instead of centering it in the viewport. The scrim is\n// fixed separately so it still dims the whole page.\n.unified-search-modal-root {\n\tposition: absolute;\n\tinset-block-start: 100%;\n\tinset-inline: 0;\n\t// One below the header input (z-index: 51) and above the page. !important wins\n\t// the stacking cascade inside the themed #header.\n\tz-index: 50 !important;\n\tmargin-block-start: 6px;\n\tdisplay: flex;\n\tjustify-content: center;\n}\n\n// Backdrop, mirrors NcModal\'s .modal-mask. Fixed so it covers the whole viewport\n// regardless of the anchored root.\n.unified-search-modal__scrim {\n\tposition: fixed;\n\tinset: 0;\n\tz-index: 0;\n\t--backdrop-color: 0, 0, 0;\n\tbackground-color: rgba(var(--backdrop-color), 0.5);\n}\n\n// Dialog panel: NcModal\'s "normal" chrome, but width-matched to the header input\n// and anchored under it, growing downward and scrolling internally when tall.\n.unified-search-modal__container {\n\tposition: relative;\n\tz-index: 1;\n\tdisplay: flex;\n\tflex-direction: column;\n\t// Match the previous unified-search modal (NcModal "normal" size). flex-shrink: 0\n\t// stops the flex parent from collapsing it below 600px when the menu is narrower.\n\tflex-shrink: 0;\n\twidth: 600px;\n\tmax-width: 90vw;\n\t// Leave ~10vh below the panel so it does not reach the bottom of the page\n\tmax-height: calc(90vh - var(--header-height));\n\tborder-radius: var(--border-radius-container, var(--border-radius-rounded));\n\t// Clip the header/results to the rounded corners\n\toverflow: hidden;\n\tbackground-color: var(--color-main-background);\n\tcolor: var(--color-main-text);\n\tbox-shadow: 0 0 40px rgba(0, 0, 0, 0.2);\n\t// The panel slides down into place; the enter/leave classes set the start offset.\n\t// Same easeOutQuart curve as the header input so the whole search UI moves in step.\n\ttransition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);\n}\n\n// Fullscreen on small viewports, mirrors NcModal\'s responsive breakpoint\n@media only screen and ((max-width: 512px) or (max-height: 400px)) {\n\t.unified-search-modal-root {\n\t\t// Fill the viewport below the header bar, leaving it visible and interactive\n\t\t// (matches the previous unified search and the rest of the mobile chrome).\n\t\tposition: fixed;\n\t\tinset-block-start: var(--header-height);\n\t\tinset-inline: 0;\n\t\tinset-block-end: 0;\n\t\tmargin-block-start: 0;\n\t}\n\n\t.unified-search-modal__container {\n\t\twidth: 100%;\n\t\tmax-width: initial;\n\t\theight: 100%;\n\t\tmax-height: initial;\n\t\tborder-radius: 0;\n\t}\n}\n\n// Open/close animation: the backdrop fades while the panel slides down from the top\n.unified-search-modal-enter-active,\n.unified-search-modal-leave-active {\n\ttransition: opacity 250ms;\n}\n\n.unified-search-modal-enter,\n.unified-search-modal-leave-to {\n\topacity: 0;\n}\n\n.unified-search-modal-enter .unified-search-modal__container,\n.unified-search-modal-leave-to .unified-search-modal__container {\n\ttransform: translateY(-6px);\n}\n\n// Respect reduced-motion: keep the backdrop cross-fade (opacity is not motion) but\n// drop the panel slide so nothing moves on open/close.\n@media (prefers-reduced-motion: reduce) {\n\t.unified-search-modal__container {\n\t\ttransition: none;\n\t}\n\n\t.unified-search-modal-enter .unified-search-modal__container,\n\t.unified-search-modal-leave-to .unified-search-modal__container {\n\t\ttransform: none;\n\t}\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: 12px;\n\t\t// Make it sticky with the input margin for the label\n\t\tposition: sticky;\n\t\ttop: 6px;\n\t\tz-index: 1;\n\n\t\t// Some padding to make elements scrolled under sticky position look nicer.\n\t\t// Only when there are results to scroll: otherwise it just adds a dead gap.\n\t\t&--has-results {\n\t\t\tpadding-bottom: 12px;\n\t\t\tborder-bottom: 1px solid var(--color-border);\n\t\t}\n\t}\n\n\t&__mobile-input {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 4px;\n\t\tmargin-block-end: 8px;\n\n\t\t:deep(.input-field) {\n\t\t\tflex: 1 1 auto;\n\t\t}\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: 6px;\n\n\t\t// The three category triggers split the row into thirds; any extra controls\n\t\t// (local search, connected-services switch) keep their size and wrap below.\n\t\t> [data-cy-unified-search-filter="places"],\n\t\t> [data-cy-unified-search-filter="date"],\n\t\t> [data-cy-unified-search-filter="people"] {\n\t\t\tflex: 1 1 0;\n\t\t\tmin-width: 0;\n\n\t\t\t:deep(.v-popper) {\n\t\t\t\tdisplay: block;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\t// Centre [icon] label; the chevron is pinned to the trailing edge below.\n\t\t\t:deep(.button-vue__wrapper) {\n\t\t\t\tjustify-content: center;\n\t\t\t}\n\n\t\t\t// NcActions exposes no dropdown chevron, so paint one at the trailing edge.\n\t\t\t:deep(.button-vue) {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\tpadding-inline: calc(var(--default-grid-baseline) * 6);\n\n\t\t\t\t&::after {\n\t\t\t\t\tcontent: \'\';\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tinset-inline-end: calc(var(--default-grid-baseline) * 2);\n\t\t\t\t\tinset-block: 0;\n\t\t\t\t\tmargin-block: auto;\n\t\t\t\t\twidth: 16px;\n\t\t\t\t\theight: 16px;\n\t\t\t\t\tbackground-color: currentColor;\n\t\t\t\t\tmask-image: url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 24 24\'%3E%3Cpath d=\'M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z\'/%3E%3C/svg%3E");\n\t\t\t\t\tmask-repeat: no-repeat;\n\t\t\t\t\tmask-position: center;\n\t\t\t\t\tmask-size: contain;\n\t\t\t\t}\n\t\t\t}\n\t\t}\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\t// Take the remaining panel height and scroll internally (container has a max-height)\n\t\tflex: 1 1 auto;\n\t\tmin-height: 0;\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: 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 A=d},72470(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());s.push([t.id,".unified-search-menu[data-v-9edc0a80]{position:relative;display:flex;align-items:center;justify-content:center}","",{version:3,sources:["webpack://./core/src/views/UnifiedSearch.vue"],names:[],mappings:"AAEA,sCAEC,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA",sourcesContent:["\n// this is needed to allow us overriding component styles (focus-visible)\n.unified-search-menu {\n\t// Positioning context so the results popover can anchor under the input\n\tposition: relative;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n"],sourceRoot:""}]);const o=s},59279(t){t.exports="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z%27/%3E%3C/svg%3E"}},n={};function i(t){var a=n[t];if(void 0!==a)return a.exports;var r=n[t]={id:t,loaded:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=e,t=[],i.O=(e,n,a,r)=>{if(!n){var s=1/0;for(d=0;d=r)&&Object.keys(i.O).every(t=>i.O[t](n[l]))?n.splice(l--,1):(o=!1,r0&&t[d-1][2]>r;d--)t[d]=t[d-1];t[d]=[n,a,r]},i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.e=()=>Promise.resolve(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),i.j=6776,(()=>{i.b="undefined"!=typeof document&&document.baseURI||self.location.href;var t={6776:0};i.O.j=e=>0===t[e];var e=(e,n)=>{var a,r,[s,o,l]=n,c=0;if(s.some(e=>0!==t[e])){for(a in o)i.o(o,a)&&(i.m[a]=o[a]);if(l)var d=l(i)}for(e&&e(n);ci(83696));a=i.O(a)})(); -//# sourceMappingURL=core-unified-search.js.map?v=0a392ce0a4bebd9e3f72 \ No newline at end of file +(()=>{"use strict";var t,e={89472(t,e,n){var i=n(21777),a=n(53334),r=n(35947),s=n(10810),o=n(85471),l=n(61338),c=n(53429),d=n(97786),u=n(46855),A=n(74095),h=n(39689),p=n(52372),f=n(66001);const m={name:"FilterVariantIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var C=n(14486);const v=(0,C.A)(m,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon filter-variant-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:"M6,13H18V11H6M3,6V8H21V6M10,18H14V16H10V18Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,g={name:"MagnifyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},b=(0,C.A)(g,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,y=(0,o.pM)({__name:"UnifiedSearchInput",props:{expanded:{type:Boolean},activeDescendantId:null,query:null,filtersRevealed:{type:Boolean}},setup(t,{expose:e,emit:n}){const i=t,r=(0,c.F)(),s=(0,a.t)("core","Apps, files, messages, and more"),l={ArrowDown:"next",ArrowUp:"prev"},d=(0,o.KR)(),u=(0,o.KR)(),m=(0,o.KR)(!1),C=(0,o.EW)(()=>m.value||i.query.length>0||Boolean(i.expanded)),g=(0,o.EW)(()=>m.value&&0===i.query.length&&!i.filtersRevealed);function y(){u.value?.focus()}return e({focus:y}),{__sfc:!0,props:i,emit:n,isSmallMobile:r,placeholderText:s,resultsContainerId:"unified-search-results",directionByKey:l,fieldRef:d,inputRef:u,isFocused:m,isActive:C,showFunnel:g,onFocusOut:function(t){d.value?.contains(t.relatedTarget)||(m.value=!1)},onInput:function(t){n("update:query",t.target.value)},openFilters:function(){u.value?.focus(),n("open-filters")},clearOrClose:function(){if(i.query.length>0)return n("update:query",""),void u.value?.focus();const t=document.activeElement;t?.blur(),n("close")},onKeyDown:function(t){if(t.isComposing)return;if("Escape"===t.key&&!i.expanded)return void u.value?.blur();if(!i.expanded)return;const e=l[t.key];e?(t.preventDefault(),n("navigate",e)):"Enter"===t.key&&(t.preventDefault(),n("activate"))},focus:y,t:a.t,NcButton:A.A,NcHeaderButton:h.N,NcKbd:p.N,IconClose:f.A,IconFilterVariant:v,IconMagnify:b}}});var _=n(85072),x=n.n(_),k=n(97825),w=n.n(k),S=n(77659),B=n.n(S),F=n(55056),D=n.n(F),I=n(10540),M=n.n(I),E=n(41113),R=n.n(E),T=n(43142),z={};z.styleTagTransform=R(),z.setAttributes=D(),z.insert=B().bind(null,"head"),z.domAPI=w(),z.insertStyleElement=M(),x()(T.A,z),T.A&&T.A.locals&&T.A.locals;const O=(0,C.A)(y,function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("search",{staticClass:"unified-search-input",class:{"unified-search-input--mobile":n.isSmallMobile}},[n.isSmallMobile?e(n.NcHeaderButton,{attrs:{id:"unified-search-trigger",ariaLabel:n.placeholderText,"aria-haspopup":"dialog","aria-expanded":t.expanded?"true":"false"},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconMagnify,{attrs:{size:20}})]},proxy:!0}],null,!1,1795316816)}):e("div",{ref:"fieldRef",staticClass:"unified-search-input__field",class:{"unified-search-input__field--active":n.isActive},on:{focusin:function(t){n.isFocused=!0},focusout:n.onFocusOut}},[e("div",{staticClass:"unified-search-input__resting",class:{"unified-search-input__resting--filled":t.query.length>0},attrs:{"aria-hidden":"true"}},[e(n.IconMagnify,{attrs:{size:20}}),t._v(" "),e("span",{staticClass:"unified-search-input__label"},[t._v(t._s(n.placeholderText))])],1),t._v(" "),e("input",{ref:"inputRef",staticClass:"unified-search-input__input",attrs:{type:"text",role:"combobox","aria-autocomplete":"list","aria-expanded":t.expanded?"true":"false","aria-controls":t.expanded?n.resultsContainerId:void 0,"aria-activedescendant":t.expanded&&t.activeDescendantId||void 0,"aria-label":n.placeholderText},domProps:{value:t.query},on:{input:n.onInput,keydown:n.onKeyDown}}),t._v(" "),n.showFunnel?e(n.NcButton,{staticClass:"unified-search-input__filter",attrs:{variant:"tertiary-no-background","aria-label":n.t("core","Filters")},on:{click:n.openFilters},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconFilterVariant,{attrs:{size:20}})]},proxy:!0}],null,!1,2820714996)}):t._e(),t._v(" "),n.isActive?e(n.NcButton,{staticClass:"unified-search-input__clear",attrs:{variant:"tertiary-no-background","aria-label":t.query.length>0?n.t("core","Clear search"):n.t("core","Close search")},on:{click:n.clearOrClose},scopedSlots:t._u([{key:"icon",fn:function(){return[e(n.IconClose,{attrs:{size:20}})]},proxy:!0}],null,!1,4099733813)}):t._e(),t._v(" "),n.isActive?t._e():e("span",{staticClass:"unified-search-input__shortcut",attrs:{"aria-hidden":"true"}},[e(n.NcKbd,{attrs:{symbol:"Control"}}),t._v(" "),e(n.NcKbd,{attrs:{symbol:"K"}})],1)],1)],1)},[],!1,null,"54238e2f",null).exports;var U=n(9165),q=n(6695),N=n(16879);const P=(0,o.pM)({__name:"UnifiedSearchLocalSearchBar",props:{query:null,open:{type:Boolean}},emits:["update:open","update:query","global-search"],setup(t,{emit:e}){const n=t;(0,o.$9)((t,e)=>({dfb017de:e.searchGlobalButtonCSSWidth}));const i=(0,o.KR)();(0,o.nT)(()=>{n.open&&i.value&&i.value.focus()});const r=(0,c.al)(),s=(0,o.KR)(),{width:l}=(0,d.Lhy)(s),u=(0,o.EW)(()=>l.value?`${l.value}px`:"var(--default-clickable-area)");return{__sfc:!0,props:n,emit:e,searchInput:i,isMobile:r,searchGlobalButton:s,searchGlobalButtonWidth:l,searchGlobalButtonCSSWidth:u,clearAndCloseSearch:function(){e("update:query",""),e("update:open",!1)},mdiClose:U.hyP,mdiCloudSearchOutline:U.ydM,t:a.Tl,NcButton:A.A,NcIconSvgWrapper:q.A,NcInputField:N.A}}});var L=n(89226),H={};H.styleTagTransform=R(),H.setAttributes=D(),H.insert=B().bind(null,"head"),H.domAPI=w(),H.insertStyleElement=M(),x()(L.A,H),L.A&&L.A.locals&&L.A.locals;const G=(0,C.A)(P,function(){var t=this,e=t._self._c,n=t._self._setupProxy;return e("Transition",[t.open?e("div",{staticClass:"local-unified-search animated-width",class:{"local-unified-search--open":t.open}},[e(n.NcInputField,{ref:"searchInput",staticClass:"local-unified-search__input animated-width",attrs:{"aria-label":n.t("core","Search in current app"),placeholder:n.t("core","Search in current app"),"show-trailing-button":"","trailing-button-label":n.t("core","Clear search"),"model-value":t.query},on:{"update:value":function(e){return t.$emit("update:query",e)},"trailing-button-click":n.clearAndCloseSearch},scopedSlots:t._u([{key:"trailing-button-icon",fn:function(){return[e(n.NcIconSvgWrapper,{attrs:{path:n.mdiClose}})]},proxy:!0}],null,!1,3585538455)}),t._v(" "),e(n.NcButton,{ref:"searchGlobalButton",staticClass:"local-unified-search__global-search",attrs:{"aria-label":n.t("core","Search everywhere"),title:n.t("core","Search everywhere"),variant:"tertiary-no-background"},on:{click:function(e){return t.$emit("global-search")}},scopedSlots:t._u([n.isMobile?null:{key:"default",fn:function(){return[t._v("\n\t\t\t\t"+t._s(n.t("core","Search everywhere"))+"\n\t\t\t")]},proxy:!0},{key:"icon",fn:function(){return[e(n.NcIconSvgWrapper,{attrs:{path:n.mdiCloudSearchOutline}})]},proxy:!0}],null,!0)})],1):t._e()])},[],!1,null,"2b577e50",null).exports;var V=n(81222),$=n(52697),Q=n(57505),Y=n(24764),K=n(41944),j=n(32073),W=n(48943),Z=n(82182);const J={name:"AccountMultipleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},X=(0,C.A)(J,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon account-multiple-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:"M13.07 10.41A5 5 0 0 0 13.07 4.59A3.39 3.39 0 0 1 15 4A3.5 3.5 0 0 1 15 11A3.39 3.39 0 0 1 13.07 10.41M5.5 7.5A3.5 3.5 0 1 1 9 11A3.5 3.5 0 0 1 5.5 7.5M7.5 7.5A1.5 1.5 0 1 0 9 6A1.5 1.5 0 0 0 7.5 7.5M16 17V19H2V17S2 13 9 13 16 17 16 17M14 17C13.86 16.22 12.67 15 9 15S4.07 16.31 4 17M15.95 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports;var tt=n(33691);const et={name:"CalendarBlankOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},nt=(0,C.A)(et,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon calendar-blank-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:"M19 3H18V1H16V3H8V1H6V3H5C3.89 3 3 3.9 3 5V19C3 20.11 3.9 21 5 21H19C20.11 21 21 20.11 21 19V5C21 3.9 20.11 3 19 3M19 19H5V9H19V19M19 7H5V5H19V7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports;var it=n(26690);const at={name:"FilterIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},rt=(0,C.A)(at,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,st={name:"ShapeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ot=(0,C.A)(st,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon shape-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:"M11,13.5V21.5H3V13.5H11M9,15.5H5V19.5H9V15.5M12,2L17.5,11H6.5L12,2M12,5.86L10.08,9H13.92L12,5.86M17.5,13C20,13 22,15 22,17.5C22,20 20,22 17.5,22C15,22 13,20 13,17.5C13,15 15,13 17.5,13M17.5,15A2.5,2.5 0 0,0 15,17.5A2.5,2.5 0 0,0 17.5,20A2.5,2.5 0 0,0 20,17.5A2.5,2.5 0 0,0 17.5,15Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports;var lt=n(48198),ct=n(83947);const dt={name:"CalendarRangeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ut=(0,C.A)(dt,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,At={name:"CustomDateRangeModal",components:{NcButton:A.A,NcModal:ct.A,CalendarRangeIcon:ut,NcDateTimePicker:lt.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 ht=n(12667),pt={};pt.styleTagTransform=R(),pt.setAttributes=D(),pt.insert=B().bind(null,"head"),pt.domAPI=w(),pt.insertStyleElement=M(),x()(ht.A,pt),ht.A&&ht.A.locals&&ht.A.locals;const ft=(0,C.A)(At,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 mt=n(54562);const Ct={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},vt=(0,C.A)(Ct,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon alert-circle-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:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,gt={name:"SearchableList",components:{IconMagnify:b,IconAlertCircleOutline:vt,NcAvatar:K.A,NcButton:A.A,NcEmptyContent:W.A,NcPopover:mt.A,NcTextField:Z.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=""},setOpened(t){this.opened=t},itemSelected(t){this.$emit("item-selected",t),this.clearSearch(),this.setOpened(!1)},searchTermChanged(t){this.$emit("search-term-change",t)}}};var bt=n(60645),yt={};yt.styleTagTransform=R(),yt.setAttributes=D(),yt.insert=B().bind(null,"head"),yt.domAPI=w(),yt.insertStyleElement=M(),x()(bt.A,yt),bt.A&&bt.A.locals&&bt.A.locals;const _t=(0,C.A)(gt,function(){var t=this,e=t._self._c;return e("NcPopover",{attrs:{shown:t.opened},on:{show:function(e){return t.setOpened(!0)},hide:function(e){return t.setOpened(!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(n){return e("li",{key:n.id,attrs:{title:n.displayName,role:"button"}},[e("NcButton",{attrs:{alignment:"start",variant:"tertiary",wide:!0},on:{click:function(e){return t.itemSelected(n)}},scopedSlots:t._u([{key:"icon",fn:function(){return[n.isUser?e("NcAvatar",{attrs:{user:n.user,"hide-status":""}}):e("NcAvatar",{attrs:{"is-no-user":!0,"display-name":n.displayName,"hide-status":""}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t"+t._s(n.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,"66bd6570",null).exports,xt={name:"SearchFilterChip",components:{CloseIcon:f.A},props:{text:{type:String,required:!0},pretext:{type:String,required:!0}},emits:["delete"],computed:{removeLabel(){return(0,a.t)("core","Remove filter: {name}",{name:this.text})}},methods:{deleteChip(){this.$emit("delete")}}};var kt=n(17830),wt={};wt.styleTagTransform=R(),wt.setAttributes=D(),wt.insert=B().bind(null,"head"),wt.domAPI=w(),wt.insertStyleElement=M(),x()(kt.A,wt),kt.A&&kt.A.locals&&kt.A.locals;const St=(0,C.A)(xt,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("button",{staticClass:"close-button",attrs:{type:"button","aria-label":t.removeLabel},on:{click:t.deleteChip}},[e("CloseIcon",{attrs:{size:18}})],1)])},[],!1,null,"5a4f6249",null).exports,Bt={name:"SearchResult",components:{NcListItem:n(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:""},elementId:{type:String,default:void 0},active:{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 Ft=n(93740),Dt={};Dt.styleTagTransform=R(),Dt.setAttributes=D(),Dt.insert=B().bind(null,"head"),Dt.domAPI=w(),Dt.insertStyleElement=M(),x()(Ft.A,Dt),Ft.A&&Ft.A.locals&&Ft.A.locals;const It=(0,C.A)(Bt,function(){var t=this,e=t._self._c;return e("NcListItem",{staticClass:"result-item",attrs:{id:t.elementId,name:t.title,bold:!1,active:t.active,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,"57583211",null).exports;var Mt=n(44368),Et=n(63814);const Rt=null===(Tt=(0,i.HW)())?(0,r.YK)().setApp("core").build():(0,r.YK)().setApp("core").setUid(Tt.uid).build();var Tt;const zt=(0,r.YK)().setApp("unified-search").detectUser().build();async function Ot(){try{const{data:t}=await Mt.Ay.get((0,Et.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){Rt.error(t)}return[]}function Ut({type:t,query:e,cursor:n,since:i,until:a,limit:r,person:s,extraQueries:o={}}){const l=Mt.Ay.CancelToken.source();return{request:async()=>Mt.Ay.get((0,Et.KT)("search/providers/{type}/search",{type:t}),{cancelToken:l.token,params:{term:e,cursor:n,since:i,until:a,limit:r,person:s,from:window.location.pathname.replace("/index.php","")+window.location.search,...o}}),cancel:l.cancel}}async function qt({searchTerm:t}){const{data:{contacts:e}}=await Mt.Ay.post((0,Et.Jv)("/contactsmenu/contacts"),{filter:t});if(!t){let t=(0,i.HW)();return t={id:t.uid,fullName:t.displayName,emailAddresses:[]},e.unshift(t),e}return e}function Nt(t,e,n){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class Pt{constructor(t){Nt(this,"onChange",void 0),Nt(this,"query",""),Nt(this,"params",{}),Nt(this,"searchStates",{}),Nt(this,"searchGeneration",0),Nt(this,"revealTimer",null),Nt(this,"pendingCancels",[]),this.onChange=t}async search(t,e,n){this.cancelPendingRequests(),this.searchStates={},this.searchGeneration++;const i=this.searchGeneration;this.query=t,this.params=n||{},this.startRevealTimer(),await Promise.allSettled(e.map(t=>this.searchCategory(t,i,e)))}async loadMore(t){const e=this.searchGeneration,n={...this.searchStates[t]};if(!n.hasMore||"loaded"!==n.status)return;this.patchStates({[t]:{status:"loading",loadMoreFailed:!1}});const{request:i,cancel:a}=Ut({type:t,query:this.query,cursor:n.cursor,...this.params[t]});this.pendingCancels.push(a);try{const a=await i();if(this.searchGeneration!==e)return;const{entries:r,cursor:s,isPaginated:o}=a.data.ocs.data;this.patchStates({[t]:{entries:[...n.entries,...r],cursor:s,hasMore:this.hasMorePages(o,s),status:"loaded"}})}catch{if(this.searchGeneration!==e)return;this.patchStates({[t]:{status:"loaded",loadMoreFailed:!0}})}}getSnapshot(){return{...this.searchStates}}dispose(){this.stopBackgroundWork()}reset(){this.stopBackgroundWork(),this.searchStates={},this.query="",this.params={},this.searchGeneration++,this.onChange?.(this.getSnapshot())}async searchCategory(t,e,n){this.patchStates({[t]:{status:"loading",entries:[],cursor:null,hasMore:!1,loadMoreFailed:!1}});const{request:i,cancel:a}=Ut({type:t,query:this.query,cursor:null,...this.params[t]});this.pendingCancels.push(a);try{const a=await i();if(this.searchGeneration!==e)return;const{entries:r,cursor:s,isPaginated:o}=a.data.ocs.data;this.patchStates({[t]:{status:this.shouldBlockCategory(t,n)?"blocked":"loaded",entries:r,cursor:s,hasMore:this.hasMorePages(o,s),loadMoreFailed:!1}})}catch{if(this.searchGeneration!==e)return;this.patchStates({[t]:{status:"failed",entries:[],cursor:null,hasMore:!1,loadMoreFailed:!1}})}this.reconcileCategoryStatuses(n)}reconcileCategoryStatuses(t){t.forEach(e=>{"blocked"===this.searchStates[e].status&&(this.shouldBlockCategory(e,t)||this.patchStates({[e]:{status:"loaded"}}))})}startRevealTimer(){this.stopRevealTimer(),this.revealTimer=setTimeout(()=>{const t=Object.keys(this.searchStates),e=t.some(t=>["loading","blocked"].includes(this.searchStates[t].status));this.unblockAllCategories(t),e&&this.startRevealTimer()},1500)}stopRevealTimer(){this.revealTimer&&(clearTimeout(this.revealTimer),this.revealTimer=null)}cancelPendingRequests(){this.pendingCancels.forEach(t=>t()),this.pendingCancels=[]}stopBackgroundWork(){this.cancelPendingRequests(),this.stopRevealTimer()}unblockAllCategories(t){t.forEach(t=>{"blocked"===this.searchStates[t].status&&this.patchStates({[t]:{status:"loaded"}})})}hasMorePages(t,e){return t&&null!==e}shouldBlockCategory(t,e){return!!this.searchStates[t]&&e.slice(0,e.indexOf(t)).some(t=>{const e=this.searchStates[t];return e&&["loading","blocked"].includes(e.status)})}patchStates(t){Object.keys(t).forEach(e=>{const n={...this.searchStates[e],...t[e]};this.searchStates[e]=n}),this.onChange?.(this.getSnapshot())}}const Lt=(0,s.nY)("search",{state:()=>({externalFilters:[]}),actions:{registerExternalFilter({id:t,appId:e,searchFrom:n,label:i,callback:a,icon:r}){this.externalFilters.push({id:t,appId:e,searchFrom:n,name:i,callback:a,icon:r,isPluginFilter:!0})}}}),Ht=(0,o.pM)({name:"UnifiedSearchModal",components:{IconAccountMultipleOutline:X,IconArrowRight:tt.A,IconCalendarBlankOutline:nt,IconClose:f.A,IconDotsHorizontal:it.A,IconFilter:rt,IconMagnify:b,IconShapeOutline:ot,CustomDateRangeModal:ft,FilterChip:St,NcActions:Y.A,NcActionButton:Q.A,NcAvatar:K.A,NcButton:A.A,NcEmptyContent:W.A,NcCheckboxRadioSwitch:j.A,NcTextField:Z.A,SearchableList:_t,SearchResult:It},props:{open:{type:Boolean,required:!0},query:{type:String,default:""},localSearch:{type:Boolean,default:!1},filtersRevealed:{type:Boolean,default:!1}},emits:["update:open","update:query","update:activeDescendant"],setup(){const t=(0,d.ZDG)(),e=Lt(),n=(0,c.F)(),{searchStates:i,search:r,loadMore:s,reset:l}=function(){const t=(0,o.IJ)({}),e=new Pt(e=>{t.value=e});return(0,o.hi)(()=>{e.dispose()}),{searchStates:t,search:e.search.bind(e),loadMore:e.loadMore.bind(e),reset:e.reset.bind(e)}}();return{t:a.t,searchStates:i,search:r,loadMore:s,reset:l,currentLocation:t,externalFilters:e.externalFilters,isSmallMobile:n}},data:()=>({providers:[],providerActionMenuIsOpen:!1,dateActionMenuIsOpen:!1,dateFilter:{id:"date",type:"date",text:"",startFrom:null,endAt:null},personFilter:{id:"person",type:"person",name:""},filteredProviders:[],searchQuery:"",placessearchTerm:"",dateTimeFilter:null,filters:[],contacts:[],showDateRangeModal:!1,initialized:!1,searchExternalResources:!1,activeIndex:-1,minSearchLength:(0,V.C)("unified-search","min-search-length",1),focusTrap:null}),computed:{isEmptySearch(){return 0===this.searchQuery.length},providerFilterActive(){return this.filters.some(t=>"date"!==t.type&&"person"!==t.type)},dateFilterActive(){return this.filters.some(t=>"date"===t.type)},personFilterActive(){return this.filters.some(t=>"person"===t.type)},hasAnyActiveFilter(){return this.filters.length>0},showFilterRow(){return this.isSmallMobile||this.filtersRevealed||this.searchQuery.length>0||this.hasAnyActiveFilter},searching(){return Object.values(this.searchStates).some(t=>"loading"===t.status)},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)},results(){if(this.isEmptySearch||this.isSearchQueryTooShort)return[];const t=this.filters.filter(t=>"provider"!==t.type).map(t=>t.type);return Object.entries(this.searchStates).filter(([,t])=>t.entries.length>0&&("loaded"===t.status||"loading"===t.status)).map(([e,n])=>{const i=this.providers.find(t=>t.id===e),a=this.providerIsCompatibleWithFilters(i,t);return{...i,results:n.entries,hasMore:n.hasMore,supportsActiveFilters:a}})},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):[]},navigableRows(){if(this.showEmptyContentInfo||this.isSmallMobile)return[];const t=[];return this.filteredResults.forEach(e=>{e.results.forEach((n,i)=>{t.push({id:this.rowElementId(e.id,i),resourceUrl:n.resourceUrl})})}),this.unfilteredResults.forEach(e=>{e.results.forEach((n,i)=>{t.push({id:this.rowElementId(e.id,i,!0),resourceUrl:n.resourceUrl})})}),t},activeRow(){return this.navigableRows[this.activeIndex]??null},activeDescendantId(){return this.activeRow?.id??null},liveMessage(){return!this.open||this.isEmptySearch||this.isSearchQueryTooShort?"":this.searching||!this.initialized?(0,a.t)("core","Searching …"):0===this.navigableRows.length?(0,a.t)("core","No matching results"):(0,a.n)("core","%n result","%n results",this.navigableRows.length)},hasVisibleResults(){return this.filteredResults.length>0||this.unfilteredResults.length>0}},watch:{open(){this.open?(document.addEventListener("keydown",this.onEscapeKey),this.$nextTick(()=>this.activateFocusTrap()),this.initialized||Promise.all([Ot(),qt({searchTerm:""})]).then(([t,e])=>{this.providers=this.groupProvidersByApp([...t,...this.externalFilters]),this.contacts=this.mapContacts(e),zt.debug("Search providers and contacts initialized:",{providers:this.providers,contacts:this.contacts}),this.initialized=!0,this.open&&this.searchQuery&&this.find(this.searchQuery)}).catch(t=>{zt.error(t),this.initialized=!0}),this.searchQuery&&this.find(this.searchQuery)):(this.reset(),document.removeEventListener("keydown",this.onEscapeKey),this.deactivateFocusTrap())},query:{immediate:!0,handler(){this.searchQuery=this.query}},searchQuery:{handler(){this.$emit("update:query",this.searchQuery),this.open&&this.debouncedFind(this.searchQuery)}},searchExternalResources(){this.searchQuery&&this.find(this.searchQuery)},navigableRows(t,e){this.reconcileActiveIndex(t,e)},activeDescendantId:{immediate:!0,handler(t){this.$emit("update:activeDescendant",t),this.$nextTick(()=>this.scrollActiveIntoView())}}},mounted(){(0,l.B1)("nextcloud:unified-search:add-filter",this.handlePluginFilter)},methods:{onUpdateOpen(t){t||(this.$emit("update:open",!1),this.$emit("update:query",""))},onScrimClick(){this.deactivateFocusTrap(!1),this.onUpdateOpen(!1)},onMobileSearchInput(t){this.searchQuery=String(t)},onEscapeKey(t){if("Escape"!==t.key)return;if(this.providerActionMenuIsOpen||this.dateActionMenuIsOpen||this.showDateRangeModal)return;const e=window._nc_focus_trap??[];this.focusTrap&&e.at(-1)!==this.focusTrap||(t.preventDefault(),this.onUpdateOpen(!1))},activateFocusTrap(){if(this.focusTrap||!this.open)return;const t=this.$refs.panel;if(!t)return;const e=this.$el?.closest?.(".unified-search-menu")??null,n=e?.querySelector(".unified-search-input")??null,i=n?[n,t]:[t];this.focusTrap=(0,o.IG)((0,$.K)(i,{initialFocus:()=>t.querySelector('input[type="search"]')??n?.querySelector("input")??t,escapeDeactivates:!1,allowOutsideClick:!0,trapStack:window._nc_focus_trap??=[]})),this.focusTrap.activate()},deactivateFocusTrap(t=!0){this.focusTrap?.deactivate({returnFocus:t}),this.focusTrap=null},searchLocally(){this.$emit("update:query",this.searchQuery),this.$emit("update:open",!1)},find(t){if(this.isSearchQueryTooShort)return;if(!this.initialized)return;const e=this.filteredProviders.length>0?this.filteredProviders:this.providers.filter(t=>this.searchExternalResources||!t.isExternalProvider),n={};e.forEach(t=>{n[t.id]=this.buildCategoryParams(t)}),this.search(t,e.map(t=>t.id),n)},buildCategoryParams(t){const e={extraQueries:t.extraParams};return t.searchFrom&&(e.type=t.searchFrom),this.filters.forEach(n=>{"provider"!==n.type&&this.providerIsCompatibleWithFilters(t,[n.type])&&("date"===n.type?(e.since=this.dateFilter.startFrom?.toISOString(),e.until=this.dateFilter.endAt?.toISOString()):"person"===n.type&&(e.person=this.personFilter.user))}),e},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){qt({searchTerm:t}).then(e=>{this.contacts=this.mapContacts(e),zt.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),zt.debug("Person filter applied",{person:t})},loadMoreResultsForProvider(t){this.loadMore(t.id)},addProviderFilter(t){if(zt.debug("Applying provider filter",{providerFilter:t}),!t.id)return;if(t.isPluginFilter){const e=this.filteredProviders.some(e=>e.id===t.id);t.callback(!e)}this.providerActionMenuIsOpen=!1;const e=this.filteredProviders.findIndex(e=>e.id===t.id);e>-1&&(this.filteredProviders.splice(e,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),zt.debug("Search filters (newly added)",{filters:this.filters}),this.debouncedFind(this.searchQuery)},removeFilter(t){if("provider"===t.type){for(let e=0;e{const a=t.id;"provider"===t.type&&(e.some(t=>t.id===a)||n.splice(i,1))}),e.forEach(t=>{const e=t.id;"provider"===t.type&&(n.some(t=>t.id===e)||n.push(t))}),n},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 n,i;switch(t){case"today":n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0),i=new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999),this.dateFilter.text=(0,a.t)("core","Today");break;case"7days":n=new Date(e.getFullYear(),e.getMonth(),e.getDate()-6,0,0,0,0),i=new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999),this.dateFilter.text=(0,a.t)("core","Last 7 days");break;case"30days":n=new Date(e.getFullYear(),e.getMonth(),e.getDate()-29,0,0,0,0),i=new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999),this.dateFilter.text=(0,a.t)("core","Last 30 days");break;case"thisyear":n=new Date(e.getFullYear(),0,1,0,0,0,0),i=new Date(e.getFullYear(),11,31,23,59,59,999),this.dateFilter.text=(0,a.t)("core","This year");break;case"lastyear":n=new Date(e.getFullYear()-1,0,1,0,0,0,0),i=new Date(e.getFullYear()-1,11,31,23,59,59,999),this.dateFilter.text=(0,a.t)("core","Last year");break;case"custom":return void(this.showDateRangeModal=!0);default:return}this.dateFilter.startFrom=n,this.dateFilter.endAt=i,this.updateDateFilter()},setCustomDateRange(t){zt.debug("Custom date range",{range:t}),this.dateFilter.startFrom=t.startFrom,this.dateFilter.endAt=t.endAt,this.dateFilter.text=(0,a.t)("core","Between {startDate} and {endDate}",{startDate:this.dateFilter.startFrom.toLocaleDateString([(0,a.lO)()]),endDate:this.dateFilter.endAt.toLocaleDateString([(0,a.lO)()])}),this.updateDateFilter()},handlePluginFilter(t){zt.debug("Handling plugin filter",{addFilterEvent:t});for(let e=0;ee.id===t.id);i>-1&&(n.extraParams=t.filterParams,this.filteredProviders[e]=n);break}}this.debouncedFind(this.searchQuery)},groupProvidersByApp(t){const e={};t.forEach(t=>{const n=t.appId?t.appId:"general";e[n]||(e[n]=[]),e[n].push(t)});const n=[];return Object.values(e).forEach(t=>{n.push(...t)}),n},providerIsCompatibleWithFilters(t,e){const n=t.searchFrom?this.providers.find(e=>e.id===t.searchFrom)??t:t;return e.every(t=>{switch(t){case"date":return void 0!==n.filters?.since&&void 0!==n.filters?.until;case"person":return void 0!==n.filters?.person;default:return void 0!==n.filters?.[t]}})},async enableAllProviders(){this.providers.forEach(async(t,e)=>{this.providers[e].disabled=!1})},rowElementId:(t,e,n=!1)=>n?`unified-search-result-unfiltered-${t}-${e}`:`unified-search-result-${t}-${e}`,moveActive(t){const e=this.navigableRows.length;if(0===e)return;const n=this.activeIndex;switch(t){case"next":this.activeIndex=n<0?0:Math.min(n+1,e-1);break;case"prev":this.activeIndex=n<0?0:Math.max(n-1,0);break;case"first":this.activeIndex=0;break;case"last":this.activeIndex=e-1}},activateActive(){this.activeRow?.resourceUrl&&this.openResourceUrl(this.activeRow.resourceUrl)},openResourceUrl(t){window.location.assign(t)},scrollActiveIntoView(){if(!this.activeDescendantId)return;const t=document.getElementById(this.activeDescendantId);t?.scrollIntoView?.({block:"nearest"})},reconcileActiveIndex(t,e){if(0===t.length)return void(this.activeIndex=-1);const n=e?.[this.activeIndex]?.id;if(void 0!==n){const e=t.findIndex(t=>t.id===n);this.activeIndex=e>=0?e:0}else(this.activeIndex<0||this.activeIndex>=t.length)&&(this.activeIndex=0)}}}),Gt=Ht;var Vt=n(73724),$t={};$t.styleTagTransform=R(),$t.setAttributes=D(),$t.insert=B().bind(null,"head"),$t.domAPI=w(),$t.insertStyleElement=M(),x()(Vt.A,$t),Vt.A&&Vt.A.locals&&Vt.A.locals;const Qt=(0,C.A)(Gt,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("transition",{attrs:{name:"unified-search-modal",appear:""}},[t.open?e("div",{staticClass:"unified-search-modal-root"},[e("CustomDateRangeModal",{staticClass:"unified-search__date-range",attrs:{isOpen:t.showDateRangeModal},on:{"set:customDateRange":t.setCustomDateRange,"update:isOpen":function(e){t.showDateRangeModal=e}}}),t._v(" "),e("div",{ref:"panel",staticClass:"unified-search-modal__container",attrs:{id:"unified-search-results"}},[e("div",{staticClass:"hidden-visually",attrs:{role:"status","aria-live":"polite"}},[t._v("\n\t\t\t\t"+t._s(t.liveMessage)+"\n\t\t\t")]),t._v(" "),e("div",{staticClass:"unified-search-modal__header",class:{"unified-search-modal__header--has-results":t.hasVisibleResults}},[t.isSmallMobile?e("div",{staticClass:"unified-search-modal__mobile-input"},[e("NcTextField",{attrs:{type:"search",label:t.t("core","Apps, files, messages, and more"),modelValue:t.searchQuery,showTrailingButton:t.searchQuery.length>0,trailingButtonLabel:t.t("core","Clear search")},on:{"update:modelValue":t.onMobileSearchInput,"trailing-button-click":function(e){t.searchQuery=""}}}),t._v(" "),e("NcButton",{attrs:{variant:"tertiary","aria-label":t.t("core","Close search")},on:{click:function(e){return t.onUpdateOpen(!1)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconClose",{attrs:{size:20}})]},proxy:!0}],null,!1,2888946197)})],1):t._e(),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showFilterRow,expression:"showFilterRow"}],staticClass:"unified-search-modal__filters",attrs:{"data-cy-unified-search-filters":""}},[e("NcActions",{attrs:{wide:"",size:"small",open:t.providerActionMenuIsOpen,"menu-name":t.t("core","Type"),variant:t.providerFilterActive?"primary":"secondary","data-cy-unified-search-filter":"places"},on:{"update:open":function(e){t.providerActionMenuIsOpen=e}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconShapeOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,1084672236)},[t._v(" "),t._l(t.providers,function(n){return e("NcActionButton",{key:`${n.id}-${n.name.replace(/\s/g,"")}`,attrs:{disabled:n.disabled},on:{click:function(e){return t.addProviderFilter(n)}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("img",{staticClass:"filter-button__icon",attrs:{src:n.icon,alt:""}})]},proxy:!0}],null,!0)},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.name)+"\n\t\t\t\t\t\t")])})],2),t._v(" "),e("NcActions",{attrs:{size:"small",wide:"",open:t.dateActionMenuIsOpen,"menu-name":t.t("core","Date"),variant:t.dateFilterActive?"primary":"secondary","data-cy-unified-search-filter":"date"},on:{"update:open":function(e){t.dateActionMenuIsOpen=e}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconCalendarBlankOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,2513324059)},[t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("today")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","Today"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("7days")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","Last 7 days"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("30days")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","Last 30 days"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("thisyear")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","This year"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("lastyear")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","Last year"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("NcActionButton",{attrs:{closeAfterClick:!0},on:{click:function(e){return t.applyQuickDateRange("custom")}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.t("core","Custom date range"))+"\n\t\t\t\t\t\t")])],1),t._v(" "),e("SearchableList",{attrs:{labelText:t.t("core","Search people"),searchList:t.userContacts,emptyContentText: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",{attrs:{wide:"",size:"small",variant:"secondary",pressed:t.personFilterActive},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconAccountMultipleOutline",{attrs:{size:20}})]},proxy:!0}],null,!1,2457664786)},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.t("core","People"))+"\n\t\t\t\t\t\t\t")])]},proxy:!0}],null,!1,662085814)}),t._v(" "),t.localSearch?e("NcButton",{attrs:{variant:"tertiary","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\t"+t._s(t.t("core","Filter in current view"))+"\n\t\t\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\t"+t._s(t.t("core","Search connected services"))+"\n\t\t\t\t\t")]):t._e()],1),t._v(" "),e("div",{staticClass:"unified-search-modal__filters-applied"},t._l(t.filters,function(n){return e("FilterChip",{key:n.id,attrs:{text:n.name??n.text,pretext:""},on:{delete:function(e){return t.removeFilter(n)}},scopedSlots:t._u([{key:"icon",fn:function(){return["person"===n.type?e("NcAvatar",{attrs:{user:n.user,size:24,disableMenu:"",hideStatus:"",hideFavorite:!1}}):"date"===n.type?e("IconCalendarBlankOutline"):e("img",{attrs:{src:n.icon,alt:""}})]},proxy:!0}],null,!0)})}),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\t"+t._s(t.t("core","Results"))+"\n\t\t\t\t")]),t._v(" "),t._l(t.filteredResults,function(n){return e("div",{key:n.id,staticClass:"result"},[e("h4",{staticClass:"result-title",attrs:{id:`unified-search-result-${n.id}`}},[t._v("\n\t\t\t\t\t\t"+t._s(n.name)+"\n\t\t\t\t\t")]),t._v(" "),e("ul",{staticClass:"result-items",attrs:{role:t.isSmallMobile?void 0:"listbox","aria-labelledby":`unified-search-result-${n.id}`}},t._l(n.results,function(i,a){return e("SearchResult",t._b({key:a,attrs:{role:t.isSmallMobile?void 0:"option",elementId:t.rowElementId(n.id,a),active:t.activeDescendantId===t.rowElementId(n.id,a)}},"SearchResult",i,!1))}),1),t._v(" "),e("div",{staticClass:"result-footer"},[n.hasMore?e("NcButton",{attrs:{variant:"tertiary-no-background"},on:{click:function(e){return t.loadMoreResultsForProvider(n)}},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"+t._s(t.t("core","Load more results"))+"\n\t\t\t\t\t\t\t")]):t._e(),t._v(" "),n.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"+t._s(t.t("core","Search in"))+" "+t._s(n.name)+"\n\t\t\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(n){return e("div",{key:`unfiltered-${n.id}`,staticClass:"result result--unfiltered"},[e("h4",{staticClass:"result-title",attrs:{id:`unified-search-result-unfiltered-${n.id}`}},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.name)+"\n\t\t\t\t\t\t")]),t._v(" "),e("ul",{staticClass:"result-items",attrs:{role:t.isSmallMobile?void 0:"listbox","aria-labelledby":`unified-search-result-unfiltered-${n.id}`}},t._l(n.results,function(i,a){return e("SearchResult",t._b({key:a,attrs:{role:t.isSmallMobile?void 0:"option",elementId:t.rowElementId(n.id,a,!0),active:t.activeDescendantId===t.rowElementId(n.id,a,!0)}},"SearchResult",i,!1))}),1),t._v(" "),e("div",{staticClass:"result-footer"},[n.hasMore?e("NcButton",{attrs:{variant:"tertiary-no-background"},on:{click:function(e){return t.loadMoreResultsForProvider(n)}},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\t"+t._s(t.t("core","Load more results"))+"\n\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),n.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\t"+t._s(t.t("core","Search in"))+" "+t._s(n.name)+"\n\t\t\t\t\t\t\t\t")]):t._e()],1)])})]:t._e()],2)]),t._v(" "),e("div",{staticClass:"unified-search-modal__scrim",on:{click:t.onScrimClick}})],1):t._e()])},[],!1,null,"7b80d2c4",null).exports,Yt=(0,o.pM)({name:"UnifiedSearch",components:{UnifiedSearchModal:Qt,UnifiedSearchLocalSearchBar:G,UnifiedSearchInput:O},setup:()=>({currentLocation:(0,d.ZDG)(),isSmallMobile:(0,c.F)(),t:a.t}),data:()=>({queryText:"",showUnifiedSearch:!1,showLocalSearch:!1,activeDescendantId:"",filtersRevealed:!1}),computed:{debouncedQueryUpdate(){return(0,u.A)(this.emitUpdatedQuery,250)},supportsLocalSearch(){return["/apps/deck"].some(t=>this.currentLocation.pathname?.includes?.(t))},appHandlesSearchShortcut(){return["/settings/users","/settings/apps"].some(t=>this.currentLocation.pathname?.includes?.(t))}},watch:{queryText(){this.debouncedQueryUpdate(),this.supportsLocalSearch||this.isSmallMobile||(this.showUnifiedSearch=this.queryText.length>0)},showUnifiedSearch(t){t||(this.filtersRevealed=!1)}},mounted(){!1===window.OCP.Accessibility.disableKeyboardShortcuts()&&window.addEventListener("keydown",this.onKeyDown),(0,l.B1)("nextcloud:unified-search:reset",()=>{this.showLocalSearch=!1,this.queryText=""}),(0,l.B1)("nextcloud:unified-search:reset",()=>{(0,l.Ic)("nextcloud:unified-search.reset",{query:""})}),(0,l.B1)("nextcloud:unified-search:search",({query:t})=>{(0,l.Ic)("nextcloud:unified-search.search",{query:t})}),Rt.debug("Unified search initialized!")},beforeDestroy(){window.removeEventListener("keydown",this.onKeyDown)},methods:{onKeyDown(t){const e=t.key.toLowerCase();if(t.ctrlKey&&"f"===e){if(this.appHandlesSearchShortcut)return;if(this.supportsLocalSearch)return this.showLocalSearch||this.showUnifiedSearch||t.preventDefault(),void this.toggleUnifiedSearch();t.preventDefault(),this.focusSearch()}else if((t.metaKey||t.ctrlKey)&&"k"===e){if(this.appHandlesSearchShortcut)return;t.preventDefault(),this.focusSearch()}},focusSearch(){this.isSmallMobile?this.openModal():this.focusInput()},focusInput(){const t=this.$refs.searchInput;t?.focus?.()},onNavigate(t){const e=this.$refs.searchModal;e?.moveActive?.(t)},onActivate(){const t=this.$refs.searchModal;t?.activateActive?.()},toggleUnifiedSearch(){this.supportsLocalSearch?this.showLocalSearch=!this.showLocalSearch:(this.showUnifiedSearch=!this.showUnifiedSearch,this.showLocalSearch=!1)},openModal(){this.showUnifiedSearch=!0,this.showLocalSearch=!1},onOpenFilters(){this.showUnifiedSearch=!0,this.showLocalSearch=!1,this.filtersRevealed=!0},onClose(){this.showUnifiedSearch=!1,this.showLocalSearch=!1},emitUpdatedQuery(){""===this.queryText?(0,l.Ic)("nextcloud:unified-search:reset"):(0,l.Ic)("nextcloud:unified-search:search",{query:this.queryText})}}});var Kt=n(72470),jt={};jt.styleTagTransform=R(),jt.setAttributes=D(),jt.insert=B().bind(null,"head"),jt.domAPI=w(),jt.insertStyleElement=M(),x()(Kt.A,jt),Kt.A&&Kt.A.locals&&Kt.A.locals;const Wt=(0,C.A)(Yt,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("div",{staticClass:"unified-search-menu"},[e("UnifiedSearchInput",{ref:"searchInput",attrs:{query:t.queryText,expanded:t.showUnifiedSearch,activeDescendantId:t.activeDescendantId,filtersRevealed:t.filtersRevealed},on:{click:t.openModal,"open-filters":t.onOpenFilters,close:t.onClose,"update:query":function(e){t.queryText=e},navigate:t.onNavigate,activate:t.onActivate}}),t._v(" "),t.supportsLocalSearch?e("UnifiedSearchLocalSearchBar",{attrs:{open:t.showLocalSearch,query:t.queryText},on:{globalSearch:t.openModal,"update:open":function(e){t.showLocalSearch=e},"update:query":function(e){t.queryText=e}}}):t._e(),t._v(" "),e("UnifiedSearchModal",{ref:"searchModal",attrs:{localSearch:t.supportsLocalSearch,query:t.queryText,open:t.showUnifiedSearch,filtersRevealed:t.filtersRevealed},on:{"update:query":function(e){t.queryText=e},"update:open":function(e){t.showUnifiedSearch=e},"update:activeDescendant":function(e){t.activeDescendantId=e||""}}})],1)},[],!1,null,"9edc0a80",null).exports;n.nc=(0,i.aV)();const Zt=(0,r.YK)().setApp("unified-search").detectUser().build();o.Ay.mixin({data:()=>({logger:Zt}),methods:{t:a.Tl,n:a.zw}}),window.OCA=window.OCA||{},window.OCA.UnifiedSearch={registerFilterAction:({id:t,appId:e,searchFrom:n,label:i,callback:a,icon:r})=>{Lt().registerExternalFilter({id:t,appId:e,searchFrom:n,label:i,callback:a,icon:r})}},o.Ay.use(s.R2);const Jt=(0,s.Ey)();new o.Ay({el:"#unified-search",pinia:Jt,name:"UnifiedSearchRoot",render:t=>t(Wt)})},12667(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());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},17830(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());s.push([t.id,".chip[data-v-5a4f6249]{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-5a4f6249]{display:flex;align-items:center;padding-inline-end:5px}.chip .icon img[data-v-5a4f6249]{width:20px;padding:2px;border-radius:20px;filter:var(--background-invert-if-bright)}.chip .text[data-v-5a4f6249]{margin:0 2px}.chip .close-button[data-v-5a4f6249]{display:flex;align-items:center;width:auto;min-width:0;min-height:0;margin:0;padding:0;border:none;background:rgba(0,0,0,0);color:inherit;cursor:pointer;border-radius:var(--border-radius-element, 8px)}.chip .close-button[data-v-5a4f6249]:hover{filter:invert(20%)}.chip .close-button[data-v-5a4f6249]:focus-visible{outline:2px solid var(--color-main-text);outline-offset:1px}","",{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,qCACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,WAAA,CACA,YAAA,CACA,QAAA,CACA,SAAA,CACA,WAAA,CACA,wBAAA,CACA,aAAA,CACA,cAAA,CACA,+CAAA,CAEA,2CACI,kBAAA,CAGJ,mDACI,wCAAA,CACA,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-button {\n display: flex;\n align-items: center;\n width: auto;\n min-width: 0;\n min-height: 0;\n margin: 0;\n padding: 0;\n border: none;\n background: transparent;\n color: inherit;\n cursor: pointer;\n border-radius: var(--border-radius-element, 8px);\n\n &:hover {\n filter: invert(20%);\n }\n\n &:focus-visible {\n outline: 2px solid var(--color-main-text);\n outline-offset: 1px;\n }\n }\n}\n"],sourceRoot:""}]);const o=s},93740(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());s.push([t.id,".result-item[data-v-57583211] a{border:2px solid rgba(0,0,0,0);border-radius:var(--border-radius-large) !important}.result-item[data-v-57583211] a:active,.result-item[data-v-57583211] a:hover,.result-item[data-v-57583211] a:focus{background-color:var(--color-background-hover);border:2px solid var(--color-border-maxcontrast)}.result-item[data-v-57583211] a *{cursor:pointer}.result-item__icon[data-v-57583211]{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-57583211]{border-radius:calc(var(--default-clickable-area)/2)}.result-item__icon--no-preview[data-v-57583211]{background-size:32px}.result-item__icon--with-thumbnail[data-v-57583211]{background-size:cover}.result-item__icon--with-thumbnail[data-v-57583211]: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-57583211]{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},60645(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());s.push([t.id,".searchable-list__wrapper[data-v-66bd6570]{padding:calc(var(--default-grid-baseline)*3);display:flex;flex-direction:column;align-items:center;width:250px}.searchable-list__list[data-v-66bd6570]{width:100%;max-height:284px;overflow-y:auto;margin-top:var(--default-grid-baseline);padding:var(--default-grid-baseline)}.searchable-list__list[data-v-66bd6570] .button-vue{border-radius:var(--border-radius-large) !important}.searchable-list__list[data-v-66bd6570] .button-vue span{font-weight:initial}.searchable-list__empty-content[data-v-66bd6570]{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},43142(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());s.push([t.id,".unified-search-input[data-v-54238e2f]{position:relative;z-index:51}.unified-search-input[data-v-54238e2f]:not(.unified-search-input--mobile){display:flex;align-items:center;width:clamp(200px,35vw,600px);max-width:calc(100% - 32px)}.unified-search-input--mobile[data-v-54238e2f]{display:contents}.unified-search-input__field[data-v-54238e2f]{--resting-background: rgba(0, 0, 0, 0.15);--resting-background-hover: rgba(0, 0, 0, 0.22);--search-icon-pad: 12px;--search-icon-size: 20px;--search-icon-gap: 8px;--search-anim-duration: 240ms;--search-anim-easing: cubic-bezier(0.22, 1, 0.36, 1);position:relative;container-type:inline-size;display:flex;align-items:center;height:var(--default-clickable-area);width:100%;border-radius:var(--border-radius-element, 8px);box-shadow:inset 0 2px 0 rgba(0,0,0,.12);background-color:var(--resting-background);-webkit-backdrop-filter:var(--filter-background-blur);backdrop-filter:var(--filter-background-blur);transition:background-color var(--search-anim-duration) var(--search-anim-easing),box-shadow var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__field[data-v-54238e2f]:hover:not(.unified-search-input__field--active){background-color:var(--resting-background-hover)}.unified-search-input__field--active[data-v-54238e2f]{background-color:var(--color-main-background);box-shadow:none}.unified-search-input__resting[data-v-54238e2f]{--slide-sign: 1;position:absolute;inset-block:0;inset-inline-start:var(--search-icon-pad);max-width:calc(100% - 2*var(--search-icon-pad));display:flex;align-items:center;gap:var(--search-icon-gap);pointer-events:none;color:color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));transform:translateX(calc(var(--slide-sign) * (50cqi - 50% - var(--search-icon-pad))));transition:transform var(--search-anim-duration) var(--search-anim-easing),color var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__field--active .unified-search-input__resting[data-v-54238e2f]{transform:translateX(0);color:var(--color-text-maxcontrast)}.unified-search-input__label[data-v-54238e2f]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition:opacity var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__resting--filled .unified-search-input__label[data-v-54238e2f]{opacity:0}.unified-search-input__resting[data-v-54238e2f] .material-design-icon__svg{display:block;transform:translateY(1px)}.unified-search-input__input[data-v-54238e2f]{flex:1;min-width:0;height:100%;margin:0;padding-inline:calc(var(--search-icon-pad) + var(--search-icon-size) + var(--search-icon-gap)) var(--search-icon-pad);border:none !important;border-radius:0 !important;box-shadow:none !important;background-color:rgba(0,0,0,0);color:var(--color-main-text);font-size:var(--default-font-size)}.unified-search-input__input[data-v-54238e2f]::placeholder{opacity:1;color:var(--color-text-maxcontrast)}.unified-search-input__input[data-v-54238e2f]:focus-visible{outline:none}.unified-search-input__clear[data-v-54238e2f],.unified-search-input__filter[data-v-54238e2f]{flex-shrink:0;margin-inline-end:2px}.unified-search-input__shortcut[data-v-54238e2f]{position:absolute;inset-inline-end:var(--default-grid-baseline);top:50%;transform:translateY(-50%);display:flex;pointer-events:none}@container (max-width: 400px){.unified-search-input__shortcut[data-v-54238e2f]{display:none}}.unified-search-input__shortcut[data-v-54238e2f] kbd{min-width:12px;height:12px;padding-inline:5px;border:1px solid color-mix(in srgb, var(--color-background-plain-text) 20%, transparent);border-block-end-width:2px;border-radius:var(--border-radius-small, 4px);color:color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));font-size:13px}[data-theme-dark] .unified-search-input__field[data-v-54238e2f],[data-theme-dark-highcontrast] .unified-search-input__field[data-v-54238e2f]{--resting-background: color-mix(in srgb, var(--color-primary-element) 16%, transparent);--resting-background-hover: color-mix(in srgb, var(--color-primary-element) 22%, transparent)}[dir=rtl] .unified-search-input__resting[data-v-54238e2f]{--slide-sign: -1}@media(prefers-reduced-motion: reduce){.unified-search-input__resting[data-v-54238e2f],.unified-search-input__resting span[data-v-54238e2f]{transition:none}}.unified-search-input--mobile[data-v-54238e2f] .header-menu{height:var(--default-clickable-area)}.unified-search-input--mobile[data-v-54238e2f] .header-menu__trigger{--button-size: var(--default-clickable-area) !important;height:var(--default-clickable-area) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue{--color-main-text: var(--color-background-plain-text);color:var(--color-background-plain-text);border-radius:var(--border-radius-element) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:hover:not(:disabled){background-color:rgba(0,0,0,.1) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:active:not(:disabled){background-color:rgba(0,0,0,.15) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:focus-visible{background-color:rgba(0,0,0,.1) !important;outline:none !important;box-shadow:inset 0 0 0 2px var(--color-background-plain-text) !important}","",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/UnifiedSearchInput.vue"],names:[],mappings:"AACA,uCAGC,iBAAA,CACA,UAAA,CAEA,0EACC,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,2BAAA,CAGD,+CAC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CAAA,CACA,uBAAA,CACA,wEAAA",sourcesContent:["\n.unified-search-input {\n\t// Paints above the modal root (z-index: 50) so the header input stays clickable\n\t// over the scrim while the popover is open. Keep 51 one above that value.\n\tposition: relative;\n\tz-index: 51;\n\n\t&:not(.unified-search-input--mobile) {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\twidth: clamp(200px, 35vw, 600px);\n\t\tmax-width: calc(100% - 32px);\n\t}\n\n\t&--mobile {\n\t\tdisplay: contents;\n\t}\n\n\t&__field {\n\t\t--resting-background: rgba(0, 0, 0, 0.15);\n\t\t--resting-background-hover: rgba(0, 0, 0, 0.22);\n\t\t// Shared geometry: the resting group and the input's leading padding read the\n\t\t// same tokens so the placeholder and the typed value line up.\n\t\t--search-icon-pad: 12px;\n\t\t--search-icon-size: 20px;\n\t\t--search-icon-gap: 8px;\n\t\t// One shared timing for every focus transition (background, the icon/label\n\t\t// slide, the recolour) so they move together. easeOutQuart = soft landing.\n\t\t--search-anim-duration: 240ms;\n\t\t--search-anim-easing: cubic-bezier(0.22, 1, 0.36, 1);\n\t\tposition: relative;\n\t\t// Query container so the resting group can centre itself with cqi units\n\t\tcontainer-type: inline-size;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\t// Match the default clickable area so the inner ) stays visible.\n\t&__label {\n\t\toverflow: hidden;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;\n\t\ttransition: opacity var(--search-anim-duration) var(--search-anim-easing);\n\t}\n\n\t&__resting--filled &__label {\n\t\topacity: 0;\n\t}\n\n\t// The material-design icon is inline (baseline-aligned), which leaves a\n\t// descender gap and makes the glyph sit high even when its box is centred.\n\t// Render it as a block so it fills its box, then nudge 1px down to sit on the\n\t// text's optical centre (a geometrically centred glyph reads slightly high).\n\t&__resting :deep(.material-design-icon__svg) {\n\t\tdisplay: block;\n\t\ttransform: translateY(1px);\n\t}\n\n\t// Only visible once active (at rest it's empty and covered by the overlay),\n\t// so it's styled for the active/white surface throughout.\n\t&__input {\n\t\tflex: 1;\n\t\tmin-width: 0;\n\t\theight: 100%;\n\t\tmargin: 0;\n\t\t// Leading space so the placeholder/value starts one gap past the magnifier,\n\t\t// matching the resting group exactly. Trailing padding mirrors the leading pad.\n\t\tpadding-inline: calc(var(--search-icon-pad) + var(--search-icon-size) + var(--search-icon-gap)) var(--search-icon-pad);\n\t\t// Opt out of NC's global input chrome (core/css/inputs.scss adds a border,\n\t\t// radius and focus box-shadow to any text input not in its exclusion list).\n\t\t// !important because that global focus rule outweighs a scoped class.\n\t\tborder: none !important;\n\t\tborder-radius: 0 !important;\n\t\tbox-shadow: none !important;\n\t\tbackground-color: transparent;\n\t\tcolor: var(--color-main-text);\n\t\tfont-size: var(--default-font-size);\n\n\t\t&::placeholder {\n\t\t\topacity: 1;\n\t\t\tcolor: var(--color-text-maxcontrast);\n\t\t}\n\n\t\t&:focus-visible {\n\t\t\toutline: none;\n\t\t}\n\t}\n\n\t&__clear,\n\t&__filter {\n\t\tflex-shrink: 0;\n\t\tmargin-inline-end: 2px;\n\t}\n\n\t// Pinned to the trailing edge, overlaid on the input (pointer-events: none so a\n\t// click there still focuses the field).\n\t&__shortcut {\n\t\tposition: absolute;\n\t\tinset-inline-end: var(--default-grid-baseline);\n\t\ttop: 50%;\n\t\ttransform: translateY(-50%);\n\t\tdisplay: flex;\n\t\tpointer-events: none;\n\n\t\t// On a narrow field the centred placeholder runs under the hint, so drop it\n\t\t// below a usable width. Keyed to the field's own inline-size (its container),\n\t\t// not the viewport, so it holds however crowded the header gets.\n\t\t@container (max-width: 400px) {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t:deep(kbd) {\n\t\t\tmin-width: 12px;\n\t\t\theight: 12px;\n\t\t\tpadding-inline: 5px;\n\t\t\tborder: 1px solid color-mix(in srgb, var(--color-background-plain-text) 20%, transparent);\n\t\t\tborder-block-end-width: 2px;\n\t\t\tborder-radius: var(--border-radius-small, 4px);\n\t\t\tcolor: color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));\n\t\t\tfont-size: 13px;\n\t\t}\n\t}\n}\n\n// On dark themes the plain overlay is nearly invisible on the header, so tint\n// the resting background with the primary colour instead.\n[data-theme-dark] .unified-search-input__field,\n[data-theme-dark-highcontrast] .unified-search-input__field {\n\t--resting-background: color-mix(in srgb, var(--color-primary-element) 16%, transparent);\n\t--resting-background-hover: color-mix(in srgb, var(--color-primary-element) 22%, transparent);\n}\n\n// translateX is physical, so flip the resting slide under RTL to keep it moving\n// toward the leading (right) edge.\n[dir=rtl] .unified-search-input__resting {\n\t--slide-sign: -1;\n}\n\n// Respect reduced-motion: keep the end states but drop the slide/fade so nothing\n// animates on focus.\n@media (prefers-reduced-motion: reduce) {\n\t.unified-search-input__resting,\n\t.unified-search-input__resting span {\n\t\ttransition: none;\n\t}\n}\n\n// Mobile: NcHeaderButton styling to match the other header items\n.unified-search-input--mobile :deep(.header-menu) {\n\theight: var(--default-clickable-area);\n}\n\n.unified-search-input--mobile :deep(.header-menu__trigger) {\n\t--button-size: var(--default-clickable-area) !important;\n\theight: var(--default-clickable-area) !important;\n}\n\n.unified-search-input--mobile :deep(.button-vue) {\n\t--color-main-text: var(--color-background-plain-text);\n\tcolor: var(--color-background-plain-text);\n\tborder-radius: var(--border-radius-element) !important;\n\n\t&:hover:not(:disabled) {\n\t\tbackground-color: rgba(0, 0, 0, 0.1) !important;\n\t}\n\n\t&:active:not(:disabled) {\n\t\tbackground-color: rgba(0, 0, 0, 0.15) !important;\n\t}\n\n\t&:focus-visible {\n\t\tbackground-color: rgba(0, 0, 0, 0.1) !important;\n\t\toutline: none !important;\n\t\tbox-shadow: inset 0 0 0 2px var(--color-background-plain-text) !important;\n\t}\n}\n"],sourceRoot:""}]);const o=s},89226(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());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},73724(t,e,n){n.d(e,{A:()=>A});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r),o=n(4417),l=n.n(o),c=new URL(n(59279),n.b),d=s()(a()),u=l()(c);d.push([t.id,`.unified-search-modal-root[data-v-7b80d2c4]{position:absolute;inset-block-start:100%;inset-inline:0;z-index:50 !important;margin-block-start:6px;display:flex;justify-content:center}.unified-search-modal__scrim[data-v-7b80d2c4]{position:fixed;inset:0;z-index:0;--backdrop-color: 0, 0, 0;background-color:rgba(var(--backdrop-color), 0.5)}.unified-search-modal__container[data-v-7b80d2c4]{position:relative;z-index:1;display:flex;flex-direction:column;flex-shrink:0;width:600px;max-width:90vw;max-height:calc(90vh - var(--header-height));border-radius:var(--border-radius-container, var(--border-radius-rounded));overflow:hidden;background-color:var(--color-main-background);color:var(--color-main-text);box-shadow:0 0 40px rgba(0,0,0,.2);transition:transform 240ms cubic-bezier(0.22, 1, 0.36, 1)}@media only screen and ((max-width: 512px) or (max-height: 400px)){.unified-search-modal-root[data-v-7b80d2c4]{position:fixed;inset-block-start:var(--header-height);inset-inline:0;inset-block-end:0;margin-block-start:0}.unified-search-modal__container[data-v-7b80d2c4]{width:100%;max-width:initial;height:100%;max-height:initial;border-radius:0}}.unified-search-modal-enter-active[data-v-7b80d2c4],.unified-search-modal-leave-active[data-v-7b80d2c4]{transition:opacity 250ms}.unified-search-modal-enter[data-v-7b80d2c4],.unified-search-modal-leave-to[data-v-7b80d2c4]{opacity:0}.unified-search-modal-enter .unified-search-modal__container[data-v-7b80d2c4],.unified-search-modal-leave-to .unified-search-modal__container[data-v-7b80d2c4]{transform:translateY(-6px)}@media(prefers-reduced-motion: reduce){.unified-search-modal__container[data-v-7b80d2c4]{transition:none}.unified-search-modal-enter .unified-search-modal__container[data-v-7b80d2c4],.unified-search-modal-leave-to .unified-search-modal__container[data-v-7b80d2c4]{transform:none}}.unified-search-modal__header[data-v-7b80d2c4]{background-color:var(--color-main-background);padding-inline:12px;position:sticky;top:6px;z-index:1}.unified-search-modal__header--has-results[data-v-7b80d2c4]{padding-bottom:12px;border-bottom:1px solid var(--color-border)}.unified-search-modal__mobile-input[data-v-7b80d2c4]{display:flex;align-items:center;gap:4px;margin-block-end:8px}.unified-search-modal__mobile-input[data-v-7b80d2c4] .input-field{flex:1 1 auto}.unified-search-modal__filters[data-v-7b80d2c4]{display:flex;flex-wrap:wrap;gap:4px;justify-content:start;padding-top:6px}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-7b80d2c4],.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-7b80d2c4],.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-7b80d2c4]{flex:1 1 0;min-width:0}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-7b80d2c4] .v-popper,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-7b80d2c4] .v-popper,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-7b80d2c4] .v-popper{display:block;width:100%}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-7b80d2c4] .button-vue__wrapper,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-7b80d2c4] .button-vue__wrapper,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-7b80d2c4] .button-vue__wrapper{justify-content:center}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-7b80d2c4] .button-vue,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-7b80d2c4] .button-vue,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-7b80d2c4] .button-vue{position:relative;width:100%;padding-inline:calc(var(--default-grid-baseline)*6)}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-7b80d2c4] .button-vue::after,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-7b80d2c4] .button-vue::after,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-7b80d2c4] .button-vue::after{content:"";position:absolute;inset-inline-end:calc(var(--default-grid-baseline)*2);inset-block:0;margin-block:auto;width:16px;height:16px;background-color:currentColor;mask-image:url(${u});mask-repeat:no-repeat;mask-position:center;mask-size:contain}.unified-search-modal__search-external-resources[data-v-7b80d2c4] span.checkbox-content{padding-top:0;padding-bottom:0}.unified-search-modal__search-external-resources[data-v-7b80d2c4] .checkbox-content__icon{margin:auto !important}.unified-search-modal__search-external-resources--aligned[data-v-7b80d2c4]{margin-inline-start:auto}.unified-search-modal__filters-applied[data-v-7b80d2c4]{padding-top:4px;display:flex;flex-wrap:wrap}.unified-search-modal__no-content[data-v-7b80d2c4]{display:flex;align-items:center;margin-top:.5em;height:70%}.unified-search-modal__results[data-v-7b80d2c4]{flex:1 1 auto;min-height:0;overflow:hidden auto;padding-inline:12px;padding-block:0 12px}.unified-search-modal__results .result-title[data-v-7b80d2c4]{color:var(--color-primary-element);font-size:16px;margin-block:8px 4px}.unified-search-modal__results .result-footer[data-v-7b80d2c4]{justify-content:space-between;align-items:center;display:flex}.unified-search-modal__results .result--unfiltered[data-v-7b80d2c4]{opacity:.7}.unified-search-modal__unfiltered-header[data-v-7b80d2c4]{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-7b80d2c4]{font-weight:bold;color:var(--color-text-maxcontrast)}.filter-button__icon[data-v-7b80d2c4]{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-7b80d2c4]{overflow:unset}}`,"",{version:3,sources:["webpack://./core/src/components/UnifiedSearch/UnifiedSearchModal.vue"],names:[],mappings:"AAKA,4CACC,iBAAA,CACA,sBAAA,CACA,cAAA,CAGA,qBAAA,CACA,sBAAA,CACA,YAAA,CACA,sBAAA,CAKD,8CACC,cAAA,CACA,OAAA,CACA,SAAA,CACA,yBAAA,CACA,iDAAA,CAKD,kDACC,iBAAA,CACA,SAAA,CACA,YAAA,CACA,qBAAA,CAGA,aAAA,CACA,WAAA,CACA,cAAA,CAEA,4CAAA,CACA,0EAAA,CAEA,eAAA,CACA,6CAAA,CACA,4BAAA,CACA,kCAAA,CAGA,yDAAA,CAID,mEACC,4CAGC,cAAA,CACA,sCA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,cAAA,CAAA",sourcesContent:['\n\n// Anchor the popover under the header input (the .unified-search-menu parent is\n// the positioning context) instead of centering it in the viewport. The scrim is\n// fixed separately so it still dims the whole page.\n.unified-search-modal-root {\n\tposition: absolute;\n\tinset-block-start: 100%;\n\tinset-inline: 0;\n\t// One below the header input (z-index: 51) and above the page. !important wins\n\t// the stacking cascade inside the themed #header.\n\tz-index: 50 !important;\n\tmargin-block-start: 6px;\n\tdisplay: flex;\n\tjustify-content: center;\n}\n\n// Backdrop, mirrors NcModal\'s .modal-mask. Fixed so it covers the whole viewport\n// regardless of the anchored root.\n.unified-search-modal__scrim {\n\tposition: fixed;\n\tinset: 0;\n\tz-index: 0;\n\t--backdrop-color: 0, 0, 0;\n\tbackground-color: rgba(var(--backdrop-color), 0.5);\n}\n\n// Dialog panel: NcModal\'s "normal" chrome, but width-matched to the header input\n// and anchored under it, growing downward and scrolling internally when tall.\n.unified-search-modal__container {\n\tposition: relative;\n\tz-index: 1;\n\tdisplay: flex;\n\tflex-direction: column;\n\t// Match the previous unified-search modal (NcModal "normal" size). flex-shrink: 0\n\t// stops the flex parent from collapsing it below 600px when the menu is narrower.\n\tflex-shrink: 0;\n\twidth: 600px;\n\tmax-width: 90vw;\n\t// Leave ~10vh below the panel so it does not reach the bottom of the page\n\tmax-height: calc(90vh - var(--header-height));\n\tborder-radius: var(--border-radius-container, var(--border-radius-rounded));\n\t// Clip the header/results to the rounded corners\n\toverflow: hidden;\n\tbackground-color: var(--color-main-background);\n\tcolor: var(--color-main-text);\n\tbox-shadow: 0 0 40px rgba(0, 0, 0, 0.2);\n\t// The panel slides down into place; the enter/leave classes set the start offset.\n\t// Same easeOutQuart curve as the header input so the whole search UI moves in step.\n\ttransition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);\n}\n\n// Fullscreen on small viewports, mirrors NcModal\'s responsive breakpoint\n@media only screen and ((max-width: 512px) or (max-height: 400px)) {\n\t.unified-search-modal-root {\n\t\t// Fill the viewport below the header bar, leaving it visible and interactive\n\t\t// (matches the previous unified search and the rest of the mobile chrome).\n\t\tposition: fixed;\n\t\tinset-block-start: var(--header-height);\n\t\tinset-inline: 0;\n\t\tinset-block-end: 0;\n\t\tmargin-block-start: 0;\n\t}\n\n\t.unified-search-modal__container {\n\t\twidth: 100%;\n\t\tmax-width: initial;\n\t\theight: 100%;\n\t\tmax-height: initial;\n\t\tborder-radius: 0;\n\t}\n}\n\n// Open/close animation: the backdrop fades while the panel slides down from the top\n.unified-search-modal-enter-active,\n.unified-search-modal-leave-active {\n\ttransition: opacity 250ms;\n}\n\n.unified-search-modal-enter,\n.unified-search-modal-leave-to {\n\topacity: 0;\n}\n\n.unified-search-modal-enter .unified-search-modal__container,\n.unified-search-modal-leave-to .unified-search-modal__container {\n\ttransform: translateY(-6px);\n}\n\n// Respect reduced-motion: keep the backdrop cross-fade (opacity is not motion) but\n// drop the panel slide so nothing moves on open/close.\n@media (prefers-reduced-motion: reduce) {\n\t.unified-search-modal__container {\n\t\ttransition: none;\n\t}\n\n\t.unified-search-modal-enter .unified-search-modal__container,\n\t.unified-search-modal-leave-to .unified-search-modal__container {\n\t\ttransform: none;\n\t}\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: 12px;\n\t\t// Make it sticky with the input margin for the label\n\t\tposition: sticky;\n\t\ttop: 6px;\n\t\tz-index: 1;\n\n\t\t// Some padding to make elements scrolled under sticky position look nicer.\n\t\t// Only when there are results to scroll: otherwise it just adds a dead gap.\n\t\t&--has-results {\n\t\t\tpadding-bottom: 12px;\n\t\t\tborder-bottom: 1px solid var(--color-border);\n\t\t}\n\t}\n\n\t&__mobile-input {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 4px;\n\t\tmargin-block-end: 8px;\n\n\t\t:deep(.input-field) {\n\t\t\tflex: 1 1 auto;\n\t\t}\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: 6px;\n\n\t\t// The three category triggers split the row into thirds; any extra controls\n\t\t// (local search, connected-services switch) keep their size and wrap below.\n\t\t> [data-cy-unified-search-filter="places"],\n\t\t> [data-cy-unified-search-filter="date"],\n\t\t> [data-cy-unified-search-filter="people"] {\n\t\t\tflex: 1 1 0;\n\t\t\tmin-width: 0;\n\n\t\t\t:deep(.v-popper) {\n\t\t\t\tdisplay: block;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\t// Centre [icon] label; the chevron is pinned to the trailing edge below.\n\t\t\t:deep(.button-vue__wrapper) {\n\t\t\t\tjustify-content: center;\n\t\t\t}\n\n\t\t\t// NcActions exposes no dropdown chevron, so paint one at the trailing edge.\n\t\t\t:deep(.button-vue) {\n\t\t\t\tposition: relative;\n\t\t\t\twidth: 100%;\n\t\t\t\tpadding-inline: calc(var(--default-grid-baseline) * 6);\n\n\t\t\t\t&::after {\n\t\t\t\t\tcontent: \'\';\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tinset-inline-end: calc(var(--default-grid-baseline) * 2);\n\t\t\t\t\tinset-block: 0;\n\t\t\t\t\tmargin-block: auto;\n\t\t\t\t\twidth: 16px;\n\t\t\t\t\theight: 16px;\n\t\t\t\t\tbackground-color: currentColor;\n\t\t\t\t\tmask-image: url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 24 24\'%3E%3Cpath d=\'M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z\'/%3E%3C/svg%3E");\n\t\t\t\t\tmask-repeat: no-repeat;\n\t\t\t\t\tmask-position: center;\n\t\t\t\t\tmask-size: contain;\n\t\t\t\t}\n\t\t\t}\n\t\t}\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\t// Take the remaining panel height and scroll internally (container has a max-height)\n\t\tflex: 1 1 auto;\n\t\tmin-height: 0;\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: 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 A=d},72470(t,e,n){n.d(e,{A:()=>o});var i=n(71354),a=n.n(i),r=n(76314),s=n.n(r)()(a());s.push([t.id,".unified-search-menu[data-v-9edc0a80]{position:relative;display:flex;align-items:center;justify-content:center}","",{version:3,sources:["webpack://./core/src/views/UnifiedSearch.vue"],names:[],mappings:"AAEA,sCAEC,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA",sourcesContent:["\n// this is needed to allow us overriding component styles (focus-visible)\n.unified-search-menu {\n\t// Positioning context so the results popover can anchor under the input\n\tposition: relative;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n"],sourceRoot:""}]);const o=s},59279(t){t.exports="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z%27/%3E%3C/svg%3E"}},n={};function i(t){var a=n[t];if(void 0!==a)return a.exports;var r=n[t]={id:t,loaded:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=e,t=[],i.O=(e,n,a,r)=>{if(!n){var s=1/0;for(d=0;d=r)&&Object.keys(i.O).every(t=>i.O[t](n[l]))?n.splice(l--,1):(o=!1,r0&&t[d-1][2]>r;d--)t[d]=t[d-1];t[d]=[n,a,r]},i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.e=()=>Promise.resolve(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),i.j=6776,(()=>{i.b="undefined"!=typeof document&&document.baseURI||self.location.href;var t={6776:0};i.O.j=e=>0===t[e];var e=(e,n)=>{var a,r,[s,o,l]=n,c=0;if(s.some(e=>0!==t[e])){for(a in o)i.o(o,a)&&(i.m[a]=o[a]);if(l)var d=l(i)}for(e&&e(n);ci(89472));a=i.O(a)})(); +//# sourceMappingURL=core-unified-search.js.map?v=6d96a659c9c4f0afc9fe \ No newline at end of file diff --git a/dist/core-unified-search.js.map b/dist/core-unified-search.js.map index 5a777df4617ba..5c7d2405d64ad 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=0a392ce0a4bebd9e3f72","mappings":"uBAAAA,qKCoBA,MCpBgHC,EDoBhH,CACAC,KAAA,oBACAC,MAAA,UACAC,MAAA,CACAC,MAAA,CACAC,KAAAC,QAEAC,UAAA,CACAF,KAAAC,OACAE,QAAA,gBAEAC,KAAA,CACAJ,KAAAK,OACAF,QAAA,qBEfA,MAAAG,GAXgB,EAAAC,EAAAC,GACdb,ECRQ,WAAqB,IAAAc,EAAAC,KAAAC,EAAAF,EAAAG,MAAAD,GAA6B,OAAAA,EAAA,OAAAF,EAAAI,GAAA,CAAyBC,YAAA,2CAAAC,MAAA,CAA8D,cAAAN,EAAAV,MAAA,yBAAAU,EAAAV,MAAAiB,KAAA,OAA4EC,GAAA,CAAKC,MAAA,SAAAC,GAAyB,OAAAV,EAAAW,MAAA,QAAAD,EAAA,IAAoC,OAAAV,EAAAY,QAAA,IAAAV,EAAA,OAAqCG,YAAA,4BAAAC,MAAA,CAA+CO,KAAAb,EAAAP,UAAAqB,MAAAd,EAAAL,KAAAoB,OAAAf,EAAAL,KAAAqB,QAAA,cAA+E,CAAAd,EAAA,QAAaI,MAAA,CAAOW,EAAA,gDAAmD,CAAAjB,EAAA,MAAAE,EAAA,SAAAF,EAAAkB,GAAAlB,EAAAmB,GAAAnB,EAAAV,UAAAU,EAAAoB,UAC3gB,EACmB,IDSnB,EACA,KACA,KACA,cEd0GC,ECoB1G,CACAlC,KAAA,cACAC,MAAA,UACAC,MAAA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AkkB,QChDA7C,EAAA+C,QAAAhjB,ECGA,IAAAijB,EAAAhD,EAAAY,OAAA7gB,EAAA,WAAAigB,EAAA,QACAgD,EAAAhD,EAAAY,EAAAoC","sources":["webpack:///nextcloud/webpack/runtime/chunk loaded","webpack:///nextcloud/node_modules/vue-material-design-icons/FilterVariant.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/FilterVariant.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/FilterVariant.vue?a827","webpack:///nextcloud/node_modules/vue-material-design-icons/FilterVariant.vue?vue&type=template&id=30f11e8a","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/UnifiedSearchInput.vue?vue&type=script&setup=true&lang=ts","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchInput.vue","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchInput.vue?a95e","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchInput.vue?8fd4","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/AccountMultipleOutline.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/AccountMultipleOutline.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/AccountMultipleOutline.vue?b80e","webpack:///nextcloud/node_modules/vue-material-design-icons/AccountMultipleOutline.vue?vue&type=template&id=970e2386","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarBlankOutline.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarBlankOutline.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/CalendarBlankOutline.vue?3bca","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarBlankOutline.vue?vue&type=template&id=784b59e6","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/ShapeOutline.vue?vue&type=script&lang=js","webpack:///nextcloud/node_modules/vue-material-design-icons/ShapeOutline.vue","webpack://nextcloud/./node_modules/vue-material-design-icons/ShapeOutline.vue?da7c","webpack:///nextcloud/node_modules/vue-material-design-icons/ShapeOutline.vue?vue&type=template&id=3f5754ea","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/node_modules/vue-material-design-icons/AlertCircleOutline.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/AlertCircleOutline.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/AlertCircleOutline.vue?730b","webpack:///nextcloud/node_modules/vue-material-design-icons/AlertCircleOutline.vue?vue&type=template&id=da40788e","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue?vue&type=script&lang=js","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchableList.vue?ade6","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?ad3b","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?1c57","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/services/UnifiedSearchController.ts","webpack:///nextcloud/core/src/store/unified-search-external-filters.js","webpack:///nextcloud/core/src/composables/useUnifiedSearch.ts","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchModal.vue?vue&type=script&lang=ts","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchModal.vue?d40b","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?8ffe","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=5a4f6249&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchResult.vue?vue&type=style&index=0&id=57583211&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue?vue&type=style&index=0&id=66bd6570&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchInput.vue?vue&type=style&index=0&id=54238e2f&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=c7d9f70c&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/views/UnifiedSearch.vue?vue&type=style&index=0&id=9edc0a80&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};","\n \n \n {{ title }}\n \n \n \n\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./FilterVariant.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./FilterVariant.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./FilterVariant.vue?vue&type=template&id=30f11e8a\"\nimport script from \"./FilterVariant.vue?vue&type=script&lang=js\"\nexport * from \"./FilterVariant.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-variant-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\":\"M6,13H18V11H6M3,6V8H21V6M10,18H14V16H10V18Z\"}},[(_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 }","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!./UnifiedSearchInput.vue?vue&type=script&setup=true&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!./UnifiedSearchInput.vue?vue&type=script&setup=true&lang=ts\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('search',{staticClass:\"unified-search-input\",class:{ 'unified-search-input--mobile': _setup.isSmallMobile }},[(_setup.isSmallMobile)?_c(_setup.NcHeaderButton,{attrs:{\"id\":\"unified-search-trigger\",\"ariaLabel\":_setup.placeholderText,\"aria-haspopup\":\"dialog\",\"aria-expanded\":_vm.expanded ? 'true' : 'false'},on:{\"click\":function($event){return _vm.$emit('click', $event)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c(_setup.IconMagnify,{attrs:{\"size\":20}})]},proxy:true}],null,false,1795316816)}):_c('div',{ref:\"fieldRef\",staticClass:\"unified-search-input__field\",class:{ 'unified-search-input__field--active': _setup.isActive },on:{\"focusin\":function($event){_setup.isFocused = true},\"focusout\":_setup.onFocusOut}},[_c('div',{staticClass:\"unified-search-input__resting\",class:{ 'unified-search-input__resting--filled': _vm.query.length > 0 },attrs:{\"aria-hidden\":\"true\"}},[_c(_setup.IconMagnify,{attrs:{\"size\":20}}),_vm._v(\" \"),_c('span',{staticClass:\"unified-search-input__label\"},[_vm._v(_vm._s(_setup.placeholderText))])],1),_vm._v(\" \"),_c('input',{ref:\"inputRef\",staticClass:\"unified-search-input__input\",attrs:{\"type\":\"text\",\"role\":\"combobox\",\"aria-autocomplete\":\"list\",\"aria-expanded\":_vm.expanded ? 'true' : 'false',\"aria-controls\":_vm.expanded ? _setup.resultsContainerId : undefined,\"aria-activedescendant\":_vm.expanded ? (_vm.activeDescendantId || undefined) : undefined,\"aria-label\":_setup.placeholderText},domProps:{\"value\":_vm.query},on:{\"input\":_setup.onInput,\"keydown\":_setup.onKeyDown}}),_vm._v(\" \"),(_setup.showFunnel)?_c(_setup.NcButton,{staticClass:\"unified-search-input__filter\",attrs:{\"variant\":\"tertiary-no-background\",\"aria-label\":_setup.t('core', 'Filters')},on:{\"click\":_setup.openFilters},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c(_setup.IconFilterVariant,{attrs:{\"size\":20}})]},proxy:true}],null,false,2820714996)}):_vm._e(),_vm._v(\" \"),(_setup.isActive)?_c(_setup.NcButton,{staticClass:\"unified-search-input__clear\",attrs:{\"variant\":\"tertiary-no-background\",\"aria-label\":_vm.query.length > 0 ? _setup.t('core', 'Clear search') : _setup.t('core', 'Close search')},on:{\"click\":_setup.clearOrClose},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c(_setup.IconClose,{attrs:{\"size\":20}})]},proxy:true}],null,false,4099733813)}):_vm._e(),_vm._v(\" \"),(!_setup.isActive)?_c('span',{staticClass:\"unified-search-input__shortcut\",attrs:{\"aria-hidden\":\"true\"}},[_c(_setup.NcKbd,{attrs:{\"symbol\":\"Control\"}}),_vm._v(\" \"),_c(_setup.NcKbd,{attrs:{\"symbol\":\"K\"}})],1):_vm._e()],1)],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!./UnifiedSearchInput.vue?vue&type=style&index=0&id=54238e2f&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!./UnifiedSearchInput.vue?vue&type=style&index=0&id=54238e2f&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./UnifiedSearchInput.vue?vue&type=template&id=54238e2f&scoped=true\"\nimport script from \"./UnifiedSearchInput.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UnifiedSearchInput.vue?vue&type=script&setup=true&lang=ts\"\nimport style0 from \"./UnifiedSearchInput.vue?vue&type=style&index=0&id=54238e2f&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 \"54238e2f\",\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('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('transition',{attrs:{\"name\":\"unified-search-modal\",\"appear\":\"\"}},[(_vm.open)?_c('div',{staticClass:\"unified-search-modal-root\"},[_c('CustomDateRangeModal',{staticClass:\"unified-search__date-range\",attrs:{\"isOpen\":_vm.showDateRangeModal},on:{\"set:customDateRange\":_vm.setCustomDateRange,\"update:isOpen\":function($event){_vm.showDateRangeModal = $event}}}),_vm._v(\" \"),_c('div',{ref:\"panel\",staticClass:\"unified-search-modal__container\",attrs:{\"id\":\"unified-search-results\"}},[_c('div',{staticClass:\"hidden-visually\",attrs:{\"role\":\"status\",\"aria-live\":\"polite\"}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.liveMessage)+\"\\n\\t\\t\\t\")]),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-modal__header\",class:{ 'unified-search-modal__header--has-results': _vm.hasVisibleResults }},[(_vm.isSmallMobile)?_c('div',{staticClass:\"unified-search-modal__mobile-input\"},[_c('NcTextField',{attrs:{\"type\":\"search\",\"label\":_vm.t('core', 'Apps, files, messages, and more'),\"modelValue\":_vm.searchQuery,\"showTrailingButton\":_vm.searchQuery.length > 0,\"trailingButtonLabel\":_vm.t('core', 'Clear search')},on:{\"update:modelValue\":_vm.onMobileSearchInput,\"trailing-button-click\":function($event){_vm.searchQuery = ''}}}),_vm._v(\" \"),_c('NcButton',{attrs:{\"variant\":\"tertiary\",\"aria-label\":_vm.t('core', 'Close search')},on:{\"click\":function($event){return _vm.onUpdateOpen(false)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconClose',{attrs:{\"size\":20}})]},proxy:true}],null,false,2888946197)})],1):_vm._e(),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showFilterRow),expression:\"showFilterRow\"}],staticClass:\"unified-search-modal__filters\",attrs:{\"data-cy-unified-search-filters\":\"\"}},[_c('NcActions',{attrs:{\"wide\":\"\",\"size\":\"small\",\"open\":_vm.providerActionMenuIsOpen,\"menu-name\":_vm.t('core', 'Type'),\"variant\":_vm.providerFilterActive ? 'primary' : 'secondary',\"data-cy-unified-search-filter\":\"places\"},on:{\"update:open\":function($event){_vm.providerActionMenuIsOpen=$event}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconShapeOutline',{attrs:{\"size\":20}})]},proxy:true}],null,false,1084672236)},[_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\\t\\t\"+_vm._s(provider.name)+\"\\n\\t\\t\\t\\t\\t\\t\")])})],2),_vm._v(\" \"),_c('NcActions',{attrs:{\"size\":\"small\",\"wide\":\"\",\"open\":_vm.dateActionMenuIsOpen,\"menu-name\":_vm.t('core', 'Date'),\"variant\":_vm.dateFilterActive ? 'primary' : 'secondary',\"data-cy-unified-search-filter\":\"date\"},on:{\"update:open\":function($event){_vm.dateActionMenuIsOpen=$event}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconCalendarBlankOutline',{attrs:{\"size\":20}})]},proxy:true}],null,false,2513324059)},[_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('today')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Today'))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('7days')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last 7 days'))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('30days')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last 30 days'))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('thisyear')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'This year'))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('lastyear')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last year'))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('custom')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Custom date range'))+\"\\n\\t\\t\\t\\t\\t\\t\")])],1),_vm._v(\" \"),_c('SearchableList',{attrs:{\"labelText\":_vm.t('core', 'Search people'),\"searchList\":_vm.userContacts,\"emptyContentText\":_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',{attrs:{\"wide\":\"\",\"size\":\"small\",\"variant\":\"secondary\",\"pressed\":_vm.personFilterActive},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconAccountMultipleOutline',{attrs:{\"size\":20}})]},proxy:true}],null,false,2457664786)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'People'))+\"\\n\\t\\t\\t\\t\\t\\t\\t\")])]},proxy:true}],null,false,662085814)}),_vm._v(\" \"),(_vm.localSearch)?_c('NcButton',{attrs:{\"variant\":\"tertiary\",\"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\\t\\t\"+_vm._s(_vm.t('core', 'Filter in current view'))+\"\\n\\t\\t\\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\\t\\t\"+_vm._s(_vm.t('core', 'Search connected services'))+\"\\n\\t\\t\\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,\"disableMenu\":\"\",\"hideStatus\":\"\",\"hideFavorite\":false}}):(filter.type === 'date')?_c('IconCalendarBlankOutline'):_c('img',{attrs:{\"src\":filter.icon,\"alt\":\"\"}})]},proxy:true}],null,true)})}),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\\t\\t\"+_vm._s(_vm.t('core', 'Results'))+\"\\n\\t\\t\\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\\t\\t\"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('ul',{staticClass:\"result-items\",attrs:{\"role\":_vm.isSmallMobile ? undefined : 'listbox',\"aria-labelledby\":`unified-search-result-${providerResult.id}`}},_vm._l((providerResult.results),function(result,index){return _c('SearchResult',_vm._b({key:index,attrs:{\"role\":_vm.isSmallMobile ? undefined : 'option',\"elementId\":_vm.rowElementId(providerResult.id, index),\"active\":_vm.activeDescendantId === _vm.rowElementId(providerResult.id, index)}},'SearchResult',result,false))}),1),_vm._v(\" \"),_c('div',{staticClass:\"result-footer\"},[(providerResult.hasMore)?_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\\t\"+_vm._s(_vm.t('core', 'Load more results'))+\"\\n\\t\\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\\t\"+_vm._s(_vm.t('core', 'Search in'))+\" \"+_vm._s(providerResult.name)+\"\\n\\t\\t\\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\\t\\t\"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('ul',{staticClass:\"result-items\",attrs:{\"role\":_vm.isSmallMobile ? undefined : 'listbox',\"aria-labelledby\":`unified-search-result-unfiltered-${providerResult.id}`}},_vm._l((providerResult.results),function(result,index){return _c('SearchResult',_vm._b({key:index,attrs:{\"role\":_vm.isSmallMobile ? undefined : 'option',\"elementId\":_vm.rowElementId(providerResult.id, index, true),\"active\":_vm.activeDescendantId === _vm.rowElementId(providerResult.id, index, true)}},'SearchResult',result,false))}),1),_vm._v(\" \"),_c('div',{staticClass:\"result-footer\"},[(providerResult.hasMore)?_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\\t\\t\"+_vm._s(_vm.t('core', 'Load more results'))+\"\\n\\t\\t\\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\\t\\t\"+_vm._s(_vm.t('core', 'Search in'))+\" \"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e()],1)])})]:_vm._e()],2)]),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-modal__scrim\",on:{\"click\":_vm.onScrimClick}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./AccountMultipleOutline.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./AccountMultipleOutline.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AccountMultipleOutline.vue?vue&type=template&id=970e2386\"\nimport script from \"./AccountMultipleOutline.vue?vue&type=script&lang=js\"\nexport * from \"./AccountMultipleOutline.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 account-multiple-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\":\"M13.07 10.41A5 5 0 0 0 13.07 4.59A3.39 3.39 0 0 1 15 4A3.5 3.5 0 0 1 15 11A3.39 3.39 0 0 1 13.07 10.41M5.5 7.5A3.5 3.5 0 1 1 9 11A3.5 3.5 0 0 1 5.5 7.5M7.5 7.5A1.5 1.5 0 1 0 9 6A1.5 1.5 0 0 0 7.5 7.5M16 17V19H2V17S2 13 9 13 16 17 16 17M14 17C13.86 16.22 12.67 15 9 15S4.07 16.31 4 17M15.95 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13Z\"}},[(_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!./CalendarBlankOutline.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./CalendarBlankOutline.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CalendarBlankOutline.vue?vue&type=template&id=784b59e6\"\nimport script from \"./CalendarBlankOutline.vue?vue&type=script&lang=js\"\nexport * from \"./CalendarBlankOutline.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-blank-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\":\"M19 3H18V1H16V3H8V1H6V3H5C3.89 3 3 3.9 3 5V19C3 20.11 3.9 21 5 21H19C20.11 21 21 20.11 21 19V5C21 3.9 20.11 3 19 3M19 19H5V9H19V19M19 7H5V5H19V7Z\"}},[(_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!./ShapeOutline.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./ShapeOutline.vue?vue&type=script&lang=js\"","\n\n","import { render, staticRenderFns } from \"./ShapeOutline.vue?vue&type=template&id=3f5754ea\"\nimport script from \"./ShapeOutline.vue?vue&type=script&lang=js\"\nexport * from \"./ShapeOutline.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 shape-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\":\"M11,13.5V21.5H3V13.5H11M9,15.5H5V19.5H9V15.5M12,2L17.5,11H6.5L12,2M12,5.86L10.08,9H13.92L12,5.86M17.5,13C20,13 22,15 22,17.5C22,20 20,22 17.5,22C15,22 13,20 13,17.5C13,15 15,13 17.5,13M17.5,15A2.5,2.5 0 0,0 15,17.5A2.5,2.5 0 0,0 17.5,20A2.5,2.5 0 0,0 20,17.5A2.5,2.5 0 0,0 17.5,15Z\"}},[(_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){return _vm.setOpened(true)},\"hide\":function($event){return _vm.setOpened(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-status\":\"\"}}):_c('NcAvatar',{attrs:{\"is-no-user\":true,\"display-name\":element.displayName,\"hide-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","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./AlertCircleOutline.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./AlertCircleOutline.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AlertCircleOutline.vue?vue&type=template&id=da40788e\"\nimport script from \"./AlertCircleOutline.vue?vue&type=script&lang=js\"\nexport * from \"./AlertCircleOutline.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 alert-circle-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\":\"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z\"}},[(_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!./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\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!./SearchableList.vue?vue&type=style&index=0&id=66bd6570&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=66bd6570&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=66bd6570&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=66bd6570&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 \"66bd6570\",\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=5a4f6249&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=5a4f6249&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=5a4f6249&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=5a4f6249&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 \"5a4f6249\",\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('button',{staticClass:\"close-button\",attrs:{\"type\":\"button\",\"aria-label\":_vm.removeLabel},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=57583211&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=57583211&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=57583211&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=57583211&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 \"57583211\",\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:{\"id\":_vm.elementId,\"name\":_vm.title,\"bold\":false,\"active\":_vm.active,\"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 term\n * @param {number|string|null} [options.cursor] the offset for paginated searches\n * @param {string} [options.since] start of the date-range filter\n * @param {string} [options.until] end of the date-range filter\n * @param {string} [options.limit] maximum number of results\n * @param {string} [options.person] filter results by person\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: 2026 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { search as unifiedSearch } from './UnifiedSearchService.js';\nexport const REVEAL_INTERVAL_MS = 1500;\n/**\n * Runs a unified search across categories in priority order, blocking\n * lower-priority results until their predecessors arrive or a timer reveals them.\n */\nexport class UnifiedSearchController {\n onChange;\n query = '';\n params = {};\n searchStates = {};\n searchGeneration = 0;\n revealTimer = null;\n pendingCancels = [];\n constructor(onChange) {\n this.onChange = onChange;\n }\n /**\n * Start a search. Cancels and replaces any search already in flight.\n *\n * @param query the search term\n * @param categories category ids in priority order\n * @param params optional per-category search parameters\n * @return resolves once every category has settled\n */\n async search(query, categories, params) {\n this.cancelPendingRequests();\n this.searchStates = {};\n this.searchGeneration++;\n const generation = this.searchGeneration;\n this.query = query;\n this.params = params || {};\n this.startRevealTimer();\n await Promise.allSettled(categories.map((category) => this.searchCategory(category, generation, categories)));\n }\n /**\n * Fetch the next page for one category and append it. A no-op unless the\n * category is loaded with more pages. On failure the existing results stay\n * and `loadMoreFailed` is raised, so calling again retries.\n *\n * @param category the category id to page\n */\n async loadMore(category) {\n const generation = this.searchGeneration;\n const categoryState = { ...this.searchStates[category] };\n if (!categoryState.hasMore || categoryState.status !== 'loaded') {\n return;\n }\n this.patchStates({ [category]: { status: 'loading', loadMoreFailed: false } });\n const { request, cancel } = unifiedSearch({\n type: category,\n query: this.query,\n cursor: categoryState.cursor,\n ...this.params[category],\n });\n this.pendingCancels.push(cancel);\n try {\n const response = await request();\n if (this.searchGeneration !== generation) {\n return;\n }\n const { entries, cursor, isPaginated } = response.data.ocs.data;\n this.patchStates({ [category]: {\n entries: [...categoryState.entries, ...entries],\n cursor,\n hasMore: this.hasMorePages(isPaginated, cursor),\n status: 'loaded',\n } });\n }\n catch {\n if (this.searchGeneration !== generation) {\n return;\n }\n this.patchStates({ [category]: { status: 'loaded', loadMoreFailed: true } });\n }\n }\n /**\n * A shallow copy of the current per-category state, safe to read for rendering.\n *\n * @return the current search states keyed by category id\n */\n getSnapshot() {\n return { ...this.searchStates };\n }\n dispose() {\n this.stopBackgroundWork();\n }\n reset() {\n this.stopBackgroundWork();\n this.searchStates = {};\n this.query = '';\n this.params = {};\n this.searchGeneration++;\n this.onChange?.(this.getSnapshot());\n }\n async searchCategory(category, generation, categories) {\n this.patchStates({ [category]: {\n status: 'loading',\n entries: [],\n cursor: null,\n hasMore: false,\n loadMoreFailed: false,\n } });\n const { request, cancel } = unifiedSearch({\n type: category,\n query: this.query,\n cursor: null,\n ...this.params[category],\n });\n this.pendingCancels.push(cancel);\n try {\n const response = await request();\n if (this.searchGeneration !== generation) {\n // A new search has been started, ignore this result\n return;\n }\n const { entries, cursor, isPaginated } = response.data.ocs.data;\n // Decide blocked vs loaded once, here at settle. Reconcile only promotes after this\n // (never re-blocks), so this is the only place a category becomes blocked.\n this.patchStates({ [category]: {\n status: this.shouldBlockCategory(category, categories) ? 'blocked' : 'loaded',\n entries,\n cursor,\n hasMore: this.hasMorePages(isPaginated, cursor),\n loadMoreFailed: false,\n } });\n }\n catch {\n if (this.searchGeneration !== generation) {\n return;\n }\n this.patchStates({ [category]: {\n status: 'failed',\n entries: [],\n cursor: null,\n hasMore: false,\n loadMoreFailed: false,\n } });\n }\n this.reconcileCategoryStatuses(categories);\n }\n reconcileCategoryStatuses(categories) {\n categories.forEach((category) => {\n // Promotion only: reveal a blocked category once its predecessors clear, never demote.\n // A revealed category must stay revealed, else it flickers when a slower one settles.\n if (this.searchStates[category].status !== 'blocked') {\n return;\n }\n if (!this.shouldBlockCategory(category, categories)) {\n this.patchStates({ [category]: { status: 'loaded' } });\n }\n });\n }\n startRevealTimer() {\n this.stopRevealTimer();\n this.revealTimer = setTimeout(() => {\n const categories = Object.keys(this.searchStates);\n const hasPendingCategories = categories.some((category) => ['loading', 'blocked'].includes(this.searchStates[category].status));\n this.unblockAllCategories(categories);\n if (hasPendingCategories) {\n this.startRevealTimer();\n }\n }, REVEAL_INTERVAL_MS);\n }\n stopRevealTimer() {\n if (this.revealTimer) {\n clearTimeout(this.revealTimer);\n this.revealTimer = null;\n }\n }\n cancelPendingRequests() {\n this.pendingCancels.forEach((cancel) => cancel());\n this.pendingCancels = [];\n }\n stopBackgroundWork() {\n this.cancelPendingRequests();\n this.stopRevealTimer();\n }\n unblockAllCategories(categories) {\n categories.forEach((category) => {\n if (this.searchStates[category].status === 'blocked') {\n this.patchStates({ [category]: { status: 'loaded' } });\n }\n });\n }\n /**\n * Whether a category can page further. The backend never sends a \"has more\"\n * flag, only `isPaginated` and a `cursor`, so derive it: a category has more\n * pages when it paginates and handed back a cursor to continue from.\n *\n * @param isPaginated whether the provider returned a paginated result\n * @param cursor the cursor to continue from, or null when there is none\n */\n hasMorePages(isPaginated, cursor) {\n return isPaginated && cursor !== null;\n }\n shouldBlockCategory(category, categories) {\n if (!this.searchStates[category]) {\n return false;\n }\n return categories.slice(0, categories.indexOf(category)).some((c) => {\n const categoryState = this.searchStates[c];\n return categoryState && ['loading', 'blocked'].includes(categoryState.status);\n });\n }\n patchStates(next) {\n Object.keys(next).forEach((category) => {\n const categoryState = { ...this.searchStates[category], ...next[category] };\n this.searchStates[category] = categoryState;\n });\n this.onChange?.(this.getSnapshot());\n }\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","/*!\n * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { onUnmounted, shallowRef } from 'vue';\nimport { UnifiedSearchController } from '../services/UnifiedSearchController.ts';\n/**\n * Reactive adapter over UnifiedSearchController for use in an SFC.\n */\nexport function useUnifiedSearch() {\n const searchStates = shallowRef({});\n const controller = new UnifiedSearchController((states) => {\n searchStates.value = states;\n });\n onUnmounted(() => {\n controller.dispose();\n });\n return {\n searchStates,\n search: controller.search.bind(controller),\n loadMore: controller.loadMore.bind(controller),\n reset: controller.reset.bind(controller),\n };\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=c7d9f70c&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=c7d9f70c&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=c7d9f70c&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=c7d9f70c&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 \"c7d9f70c\",\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('UnifiedSearchInput',{ref:\"searchInput\",attrs:{\"query\":_vm.queryText,\"expanded\":_vm.showUnifiedSearch,\"activeDescendantId\":_vm.activeDescendantId,\"filtersRevealed\":_vm.filtersRevealed},on:{\"click\":_vm.openModal,\"open-filters\":_vm.onOpenFilters,\"close\":_vm.onClose,\"update:query\":function($event){_vm.queryText = $event},\"navigate\":_vm.onNavigate,\"activate\":_vm.onActivate}}),_vm._v(\" \"),(_vm.supportsLocalSearch)?_c('UnifiedSearchLocalSearchBar',{attrs:{\"open\":_vm.showLocalSearch,\"query\":_vm.queryText},on:{\"globalSearch\":_vm.openModal,\"update:open\":function($event){_vm.showLocalSearch = $event},\"update:query\":function($event){_vm.queryText = $event}}}):_vm._e(),_vm._v(\" \"),_c('UnifiedSearchModal',{ref:\"searchModal\",attrs:{\"localSearch\":_vm.supportsLocalSearch,\"query\":_vm.queryText,\"open\":_vm.showUnifiedSearch,\"filtersRevealed\":_vm.filtersRevealed},on:{\"update:query\":function($event){_vm.queryText = $event},\"update:open\":function($event){_vm.showUnifiedSearch = $event},\"update:activeDescendant\":function($event){_vm.activeDescendantId = $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=9edc0a80&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=9edc0a80&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=9edc0a80&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=9edc0a80&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 \"9edc0a80\",\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-5a4f6249]{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-5a4f6249]{display:flex;align-items:center;padding-inline-end:5px}.chip .icon img[data-v-5a4f6249]{width:20px;padding:2px;border-radius:20px;filter:var(--background-invert-if-bright)}.chip .text[data-v-5a4f6249]{margin:0 2px}.chip .close-button[data-v-5a4f6249]{display:flex;align-items:center;width:auto;min-width:0;min-height:0;margin:0;padding:0;border:none;background:rgba(0,0,0,0);color:inherit;cursor:pointer;border-radius:var(--border-radius-element, 8px)}.chip .close-button[data-v-5a4f6249]:hover{filter:invert(20%)}.chip .close-button[data-v-5a4f6249]:focus-visible{outline:2px solid var(--color-main-text);outline-offset:1px}`, \"\",{\"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,qCACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,WAAA,CACA,YAAA,CACA,QAAA,CACA,SAAA,CACA,WAAA,CACA,wBAAA,CACA,aAAA,CACA,cAAA,CACA,+CAAA,CAEA,2CACI,kBAAA,CAGJ,mDACI,wCAAA,CACA,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-button {\\n display: flex;\\n align-items: center;\\n width: auto;\\n min-width: 0;\\n min-height: 0;\\n margin: 0;\\n padding: 0;\\n border: none;\\n background: transparent;\\n color: inherit;\\n cursor: pointer;\\n border-radius: var(--border-radius-element, 8px);\\n\\n &:hover {\\n filter: invert(20%);\\n }\\n\\n &:focus-visible {\\n outline: 2px solid var(--color-main-text);\\n outline-offset: 1px;\\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-57583211] a{border:2px solid rgba(0,0,0,0);border-radius:var(--border-radius-large) !important}.result-item[data-v-57583211] a:active,.result-item[data-v-57583211] a:hover,.result-item[data-v-57583211] a:focus{background-color:var(--color-background-hover);border:2px solid var(--color-border-maxcontrast)}.result-item[data-v-57583211] a *{cursor:pointer}.result-item__icon[data-v-57583211]{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-57583211]{border-radius:calc(var(--default-clickable-area)/2)}.result-item__icon--no-preview[data-v-57583211]{background-size:32px}.result-item__icon--with-thumbnail[data-v-57583211]{background-size:cover}.result-item__icon--with-thumbnail[data-v-57583211]: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-57583211]{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-66bd6570]{padding:calc(var(--default-grid-baseline)*3);display:flex;flex-direction:column;align-items:center;width:250px}.searchable-list__list[data-v-66bd6570]{width:100%;max-height:284px;overflow-y:auto;margin-top:var(--default-grid-baseline);padding:var(--default-grid-baseline)}.searchable-list__list[data-v-66bd6570] .button-vue{border-radius:var(--border-radius-large) !important}.searchable-list__list[data-v-66bd6570] .button-vue span{font-weight:initial}.searchable-list__empty-content[data-v-66bd6570]{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, `.unified-search-input[data-v-54238e2f]{position:relative;z-index:51}.unified-search-input[data-v-54238e2f]:not(.unified-search-input--mobile){display:flex;align-items:center;width:clamp(200px,35vw,600px);max-width:calc(100% - 32px)}.unified-search-input--mobile[data-v-54238e2f]{display:contents}.unified-search-input__field[data-v-54238e2f]{--resting-background: rgba(0, 0, 0, 0.15);--resting-background-hover: rgba(0, 0, 0, 0.22);--search-icon-pad: 12px;--search-icon-size: 20px;--search-icon-gap: 8px;--search-anim-duration: 240ms;--search-anim-easing: cubic-bezier(0.22, 1, 0.36, 1);position:relative;container-type:inline-size;display:flex;align-items:center;height:var(--default-clickable-area);width:100%;border-radius:var(--border-radius-element, 8px);box-shadow:inset 0 2px 0 rgba(0,0,0,.12);background-color:var(--resting-background);-webkit-backdrop-filter:var(--filter-background-blur);backdrop-filter:var(--filter-background-blur);transition:background-color var(--search-anim-duration) var(--search-anim-easing),box-shadow var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__field[data-v-54238e2f]:hover:not(.unified-search-input__field--active){background-color:var(--resting-background-hover)}.unified-search-input__field--active[data-v-54238e2f]{background-color:var(--color-main-background);box-shadow:none}.unified-search-input__resting[data-v-54238e2f]{--slide-sign: 1;position:absolute;inset-block:0;inset-inline-start:var(--search-icon-pad);max-width:calc(100% - 2*var(--search-icon-pad));display:flex;align-items:center;gap:var(--search-icon-gap);pointer-events:none;color:color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));transform:translateX(calc(var(--slide-sign) * (50cqi - 50% - var(--search-icon-pad))));transition:transform var(--search-anim-duration) var(--search-anim-easing),color var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__field--active .unified-search-input__resting[data-v-54238e2f]{transform:translateX(0);color:var(--color-text-maxcontrast)}.unified-search-input__label[data-v-54238e2f]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition:opacity var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__resting--filled .unified-search-input__label[data-v-54238e2f]{opacity:0}.unified-search-input__resting[data-v-54238e2f] .material-design-icon__svg{display:block;transform:translateY(1px)}.unified-search-input__input[data-v-54238e2f]{flex:1;min-width:0;height:100%;margin:0;padding-inline:calc(var(--search-icon-pad) + var(--search-icon-size) + var(--search-icon-gap)) var(--search-icon-pad);border:none !important;border-radius:0 !important;box-shadow:none !important;background-color:rgba(0,0,0,0);color:var(--color-main-text);font-size:var(--default-font-size)}.unified-search-input__input[data-v-54238e2f]::placeholder{opacity:1;color:var(--color-text-maxcontrast)}.unified-search-input__input[data-v-54238e2f]:focus-visible{outline:none}.unified-search-input__clear[data-v-54238e2f],.unified-search-input__filter[data-v-54238e2f]{flex-shrink:0;margin-inline-end:2px}.unified-search-input__shortcut[data-v-54238e2f]{position:absolute;inset-inline-end:var(--default-grid-baseline);top:50%;transform:translateY(-50%);display:flex;pointer-events:none}@container (max-width: 400px){.unified-search-input__shortcut[data-v-54238e2f]{display:none}}.unified-search-input__shortcut[data-v-54238e2f] kbd{min-width:12px;height:12px;padding-inline:5px;border:1px solid color-mix(in srgb, var(--color-background-plain-text) 20%, transparent);border-block-end-width:2px;border-radius:var(--border-radius-small, 4px);color:color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));font-size:13px}[data-theme-dark] .unified-search-input__field[data-v-54238e2f],[data-theme-dark-highcontrast] .unified-search-input__field[data-v-54238e2f]{--resting-background: color-mix(in srgb, var(--color-primary-element) 16%, transparent);--resting-background-hover: color-mix(in srgb, var(--color-primary-element) 22%, transparent)}[dir=rtl] .unified-search-input__resting[data-v-54238e2f]{--slide-sign: -1}@media(prefers-reduced-motion: reduce){.unified-search-input__resting[data-v-54238e2f],.unified-search-input__resting span[data-v-54238e2f]{transition:none}}.unified-search-input--mobile[data-v-54238e2f] .header-menu{height:var(--default-clickable-area)}.unified-search-input--mobile[data-v-54238e2f] .header-menu__trigger{--button-size: var(--default-clickable-area) !important;height:var(--default-clickable-area) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue{--color-main-text: var(--color-background-plain-text);color:var(--color-background-plain-text);border-radius:var(--border-radius-element) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:hover:not(:disabled){background-color:rgba(0,0,0,.1) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:active:not(:disabled){background-color:rgba(0,0,0,.15) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:focus-visible{background-color:rgba(0,0,0,.1) !important;outline:none !important;box-shadow:inset 0 0 0 2px var(--color-background-plain-text) !important}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/UnifiedSearchInput.vue\"],\"names\":[],\"mappings\":\"AACA,uCAGC,iBAAA,CACA,UAAA,CAEA,0EACC,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,2BAAA,CAGD,+CACC,gBAAA,CAGD,8CACC,yCAAA,CACA,+CAAA,CAGA,uBAAA,CACA,wBAAA,CACA,sBAAA,CAGA,6BAAA,CACA,oDAAA,CACA,iBAAA,CAEA,0BAAA,CACA,YAAA,CACA,kBAAA,CAGA,oCAAA,CACA,UAAA,CACA,+CAAA,CACA,wCAAA,CAEA,0CAAA,CACA,qDAAA,CACA,6CAAA,CAEA,kJACC,CAGD,8FACC,gDAAA,CAID,sDACC,6CAAA,CACA,eAAA,CAQF,gDACC,eAAA,CACA,iBAAA,CACA,aAAA,CACA,yCAAA,CACA,+CAAA,CACA,YAAA,CACA,kBAAA,CACA,0BAAA,CACA,mBAAA,CACA,+FAAA,CACA,sFAAA,CACA,sIACC,CAGD,qFACC,uBAAA,CACA,mCAAA,CAOF,8CACC,eAAA,CACA,kBAAA,CACA,sBAAA,CACA,wEAAA,CAGD,qFACC,SAAA,CAOD,2EACC,aAAA,CACA,yBAAA,CAKD,8CACC,MAAA,CACA,WAAA,CACA,WAAA,CACA,QAAA,CAGA,qHAAA,CAIA,sBAAA,CACA,0BAAA,CACA,0BAAA,CACA,8BAAA,CACA,4BAAA,CACA,kCAAA,CAEA,2DACC,SAAA,CACA,mCAAA,CAGD,4DACC,YAAA,CAIF,6FAEC,aAAA,CACA,qBAAA,CAKD,iDACC,iBAAA,CACA,6CAAA,CACA,OAAA,CACA,0BAAA,CACA,YAAA,CACA,mBAAA,CAKA,8BAXD,iDAYE,YAAA,CAAA,CAGD,qDACC,cAAA,CACA,WAAA,CACA,kBAAA,CACA,wFAAA,CACA,0BAAA,CACA,6CAAA,CACA,+FAAA,CACA,cAAA,CAOH,6IAEC,uFAAA,CACA,6FAAA,CAKD,0DACC,gBAAA,CAKD,uCACC,qGAEC,eAAA,CAAA,CAKF,4DACC,oCAAA,CAGD,qEACC,uDAAA,CACA,+CAAA,CAGD,2DACC,qDAAA,CACA,wCAAA,CACA,qDAAA,CAEA,gFACC,0CAAA,CAGD,iFACC,2CAAA,CAGD,yEACC,0CAAA,CACA,uBAAA,CACA,wEAAA\",\"sourcesContent\":[\"\\n.unified-search-input {\\n\\t// Paints above the modal root (z-index: 50) so the header input stays clickable\\n\\t// over the scrim while the popover is open. Keep 51 one above that value.\\n\\tposition: relative;\\n\\tz-index: 51;\\n\\n\\t&:not(.unified-search-input--mobile) {\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\twidth: clamp(200px, 35vw, 600px);\\n\\t\\tmax-width: calc(100% - 32px);\\n\\t}\\n\\n\\t&--mobile {\\n\\t\\tdisplay: contents;\\n\\t}\\n\\n\\t&__field {\\n\\t\\t--resting-background: rgba(0, 0, 0, 0.15);\\n\\t\\t--resting-background-hover: rgba(0, 0, 0, 0.22);\\n\\t\\t// Shared geometry: the resting group and the input's leading padding read the\\n\\t\\t// same tokens so the placeholder and the typed value line up.\\n\\t\\t--search-icon-pad: 12px;\\n\\t\\t--search-icon-size: 20px;\\n\\t\\t--search-icon-gap: 8px;\\n\\t\\t// One shared timing for every focus transition (background, the icon/label\\n\\t\\t// slide, the recolour) so they move together. easeOutQuart = soft landing.\\n\\t\\t--search-anim-duration: 240ms;\\n\\t\\t--search-anim-easing: cubic-bezier(0.22, 1, 0.36, 1);\\n\\t\\tposition: relative;\\n\\t\\t// Query container so the resting group can centre itself with cqi units\\n\\t\\tcontainer-type: inline-size;\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\t// Match the default clickable area so the inner (which the global\\n\\t\\t// input reset forces to that height) fills the field without an override.\\n\\t\\theight: var(--default-clickable-area);\\n\\t\\twidth: 100%;\\n\\t\\tborder-radius: var(--border-radius-element, 8px);\\n\\t\\tbox-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.12);\\n\\t\\t// Resting: subdued \\\"button\\\" look that sits on the themed header\\n\\t\\tbackground-color: var(--resting-background);\\n\\t\\t-webkit-backdrop-filter: var(--filter-background-blur);\\n\\t\\tbackdrop-filter: var(--filter-background-blur);\\n\\t\\t// Blue tint -> white surface on the shared timing, in step with the slide.\\n\\t\\ttransition:\\n\\t\\t\\tbackground-color var(--search-anim-duration) var(--search-anim-easing),\\n\\t\\t\\tbox-shadow var(--search-anim-duration) var(--search-anim-easing);\\n\\n\\t\\t&:hover:not(.unified-search-input__field--active) {\\n\\t\\t\\tbackground-color: var(--resting-background-hover);\\n\\t\\t}\\n\\n\\t\\t// Active: real input surface once focused or filled\\n\\t\\t&--active {\\n\\t\\t\\tbackground-color: var(--color-main-background);\\n\\t\\t\\tbox-shadow: none;\\n\\t\\t}\\n\\t}\\n\\n\\t// Anchored at the leading edge and translated to the centre while at rest; on\\n\\t// focus (--active) the translate goes to 0 and it slides into place. Centre offset\\n\\t// is pure CSS: half the field (50cqi) minus half the group (50%) minus the pad, so\\n\\t// it self-corrects for any placeholder length or field width.\\n\\t&__resting {\\n\\t\\t--slide-sign: 1;\\n\\t\\tposition: absolute;\\n\\t\\tinset-block: 0;\\n\\t\\tinset-inline-start: var(--search-icon-pad);\\n\\t\\tmax-width: calc(100% - 2 * var(--search-icon-pad));\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\tgap: var(--search-icon-gap);\\n\\t\\tpointer-events: none;\\n\\t\\tcolor: color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));\\n\\t\\ttransform: translateX(calc(var(--slide-sign) * (50cqi - 50% - var(--search-icon-pad))));\\n\\t\\ttransition:\\n\\t\\t\\ttransform var(--search-anim-duration) var(--search-anim-easing),\\n\\t\\t\\tcolor var(--search-anim-duration) var(--search-anim-easing);\\n\\n\\t\\t.unified-search-input__field--active & {\\n\\t\\t\\ttransform: translateX(0);\\n\\t\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\t}\\n\\t}\\n\\n\\t// Placeholder text inside the resting group. Ellipsised, and hidden once typing\\n\\t// starts so it doesn't overlap the value. Scoped to the label class so the sibling\\n\\t// magnifier (also rendered as a ) stays visible.\\n\\t&__label {\\n\\t\\toverflow: hidden;\\n\\t\\twhite-space: nowrap;\\n\\t\\ttext-overflow: ellipsis;\\n\\t\\ttransition: opacity var(--search-anim-duration) var(--search-anim-easing);\\n\\t}\\n\\n\\t&__resting--filled &__label {\\n\\t\\topacity: 0;\\n\\t}\\n\\n\\t// The material-design icon is inline (baseline-aligned), which leaves a\\n\\t// descender gap and makes the glyph sit high even when its box is centred.\\n\\t// Render it as a block so it fills its box, then nudge 1px down to sit on the\\n\\t// text's optical centre (a geometrically centred glyph reads slightly high).\\n\\t&__resting :deep(.material-design-icon__svg) {\\n\\t\\tdisplay: block;\\n\\t\\ttransform: translateY(1px);\\n\\t}\\n\\n\\t// Only visible once active (at rest it's empty and covered by the overlay),\\n\\t// so it's styled for the active/white surface throughout.\\n\\t&__input {\\n\\t\\tflex: 1;\\n\\t\\tmin-width: 0;\\n\\t\\theight: 100%;\\n\\t\\tmargin: 0;\\n\\t\\t// Leading space so the placeholder/value starts one gap past the magnifier,\\n\\t\\t// matching the resting group exactly. Trailing padding mirrors the leading pad.\\n\\t\\tpadding-inline: calc(var(--search-icon-pad) + var(--search-icon-size) + var(--search-icon-gap)) var(--search-icon-pad);\\n\\t\\t// Opt out of NC's global input chrome (core/css/inputs.scss adds a border,\\n\\t\\t// radius and focus box-shadow to any text input not in its exclusion list).\\n\\t\\t// !important because that global focus rule outweighs a scoped class.\\n\\t\\tborder: none !important;\\n\\t\\tborder-radius: 0 !important;\\n\\t\\tbox-shadow: none !important;\\n\\t\\tbackground-color: transparent;\\n\\t\\tcolor: var(--color-main-text);\\n\\t\\tfont-size: var(--default-font-size);\\n\\n\\t\\t&::placeholder {\\n\\t\\t\\topacity: 1;\\n\\t\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\t}\\n\\n\\t\\t&:focus-visible {\\n\\t\\t\\toutline: none;\\n\\t\\t}\\n\\t}\\n\\n\\t&__clear,\\n\\t&__filter {\\n\\t\\tflex-shrink: 0;\\n\\t\\tmargin-inline-end: 2px;\\n\\t}\\n\\n\\t// Pinned to the trailing edge, overlaid on the input (pointer-events: none so a\\n\\t// click there still focuses the field).\\n\\t&__shortcut {\\n\\t\\tposition: absolute;\\n\\t\\tinset-inline-end: var(--default-grid-baseline);\\n\\t\\ttop: 50%;\\n\\t\\ttransform: translateY(-50%);\\n\\t\\tdisplay: flex;\\n\\t\\tpointer-events: none;\\n\\n\\t\\t// On a narrow field the centred placeholder runs under the hint, so drop it\\n\\t\\t// below a usable width. Keyed to the field's own inline-size (its container),\\n\\t\\t// not the viewport, so it holds however crowded the header gets.\\n\\t\\t@container (max-width: 400px) {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\n\\t\\t:deep(kbd) {\\n\\t\\t\\tmin-width: 12px;\\n\\t\\t\\theight: 12px;\\n\\t\\t\\tpadding-inline: 5px;\\n\\t\\t\\tborder: 1px solid color-mix(in srgb, var(--color-background-plain-text) 20%, transparent);\\n\\t\\t\\tborder-block-end-width: 2px;\\n\\t\\t\\tborder-radius: var(--border-radius-small, 4px);\\n\\t\\t\\tcolor: color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));\\n\\t\\t\\tfont-size: 13px;\\n\\t\\t}\\n\\t}\\n}\\n\\n// On dark themes the plain overlay is nearly invisible on the header, so tint\\n// the resting background with the primary colour instead.\\n[data-theme-dark] .unified-search-input__field,\\n[data-theme-dark-highcontrast] .unified-search-input__field {\\n\\t--resting-background: color-mix(in srgb, var(--color-primary-element) 16%, transparent);\\n\\t--resting-background-hover: color-mix(in srgb, var(--color-primary-element) 22%, transparent);\\n}\\n\\n// translateX is physical, so flip the resting slide under RTL to keep it moving\\n// toward the leading (right) edge.\\n[dir=rtl] .unified-search-input__resting {\\n\\t--slide-sign: -1;\\n}\\n\\n// Respect reduced-motion: keep the end states but drop the slide/fade so nothing\\n// animates on focus.\\n@media (prefers-reduced-motion: reduce) {\\n\\t.unified-search-input__resting,\\n\\t.unified-search-input__resting span {\\n\\t\\ttransition: none;\\n\\t}\\n}\\n\\n// Mobile: NcHeaderButton styling to match the other header items\\n.unified-search-input--mobile :deep(.header-menu) {\\n\\theight: var(--default-clickable-area);\\n}\\n\\n.unified-search-input--mobile :deep(.header-menu__trigger) {\\n\\t--button-size: var(--default-clickable-area) !important;\\n\\theight: var(--default-clickable-area) !important;\\n}\\n\\n.unified-search-input--mobile :deep(.button-vue) {\\n\\t--color-main-text: var(--color-background-plain-text);\\n\\tcolor: var(--color-background-plain-text);\\n\\tborder-radius: var(--border-radius-element) !important;\\n\\n\\t&:hover:not(:disabled) {\\n\\t\\tbackground-color: rgba(0, 0, 0, 0.1) !important;\\n\\t}\\n\\n\\t&:active:not(:disabled) {\\n\\t\\tbackground-color: rgba(0, 0, 0, 0.15) !important;\\n\\t}\\n\\n\\t&:focus-visible {\\n\\t\\tbackground-color: rgba(0, 0, 0, 0.1) !important;\\n\\t\\toutline: none !important;\\n\\t\\tbox-shadow: inset 0 0 0 2px var(--color-background-plain-text) !important;\\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\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z%27/%3E%3C/svg%3E\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.unified-search-modal-root[data-v-c7d9f70c]{position:absolute;inset-block-start:100%;inset-inline:0;z-index:50 !important;margin-block-start:6px;display:flex;justify-content:center}.unified-search-modal__scrim[data-v-c7d9f70c]{position:fixed;inset:0;z-index:0;--backdrop-color: 0, 0, 0;background-color:rgba(var(--backdrop-color), 0.5)}.unified-search-modal__container[data-v-c7d9f70c]{position:relative;z-index:1;display:flex;flex-direction:column;flex-shrink:0;width:600px;max-width:90vw;max-height:calc(90vh - var(--header-height));border-radius:var(--border-radius-container, var(--border-radius-rounded));overflow:hidden;background-color:var(--color-main-background);color:var(--color-main-text);box-shadow:0 0 40px rgba(0,0,0,.2);transition:transform 240ms cubic-bezier(0.22, 1, 0.36, 1)}@media only screen and ((max-width: 512px) or (max-height: 400px)){.unified-search-modal-root[data-v-c7d9f70c]{position:fixed;inset-block-start:var(--header-height);inset-inline:0;inset-block-end:0;margin-block-start:0}.unified-search-modal__container[data-v-c7d9f70c]{width:100%;max-width:initial;height:100%;max-height:initial;border-radius:0}}.unified-search-modal-enter-active[data-v-c7d9f70c],.unified-search-modal-leave-active[data-v-c7d9f70c]{transition:opacity 250ms}.unified-search-modal-enter[data-v-c7d9f70c],.unified-search-modal-leave-to[data-v-c7d9f70c]{opacity:0}.unified-search-modal-enter .unified-search-modal__container[data-v-c7d9f70c],.unified-search-modal-leave-to .unified-search-modal__container[data-v-c7d9f70c]{transform:translateY(-6px)}@media(prefers-reduced-motion: reduce){.unified-search-modal__container[data-v-c7d9f70c]{transition:none}.unified-search-modal-enter .unified-search-modal__container[data-v-c7d9f70c],.unified-search-modal-leave-to .unified-search-modal__container[data-v-c7d9f70c]{transform:none}}.unified-search-modal__header[data-v-c7d9f70c]{background-color:var(--color-main-background);padding-inline:12px;position:sticky;top:6px;z-index:1}.unified-search-modal__header--has-results[data-v-c7d9f70c]{padding-bottom:12px;border-bottom:1px solid var(--color-border)}.unified-search-modal__mobile-input[data-v-c7d9f70c]{display:flex;align-items:center;gap:4px;margin-block-end:8px}.unified-search-modal__mobile-input[data-v-c7d9f70c] .input-field{flex:1 1 auto}.unified-search-modal__filters[data-v-c7d9f70c]{display:flex;flex-wrap:wrap;gap:4px;justify-content:start;padding-top:6px}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-c7d9f70c],.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-c7d9f70c],.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-c7d9f70c]{flex:1 1 0;min-width:0}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-c7d9f70c] .v-popper,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-c7d9f70c] .v-popper,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-c7d9f70c] .v-popper{display:block;width:100%}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-c7d9f70c] .button-vue__wrapper,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-c7d9f70c] .button-vue__wrapper,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-c7d9f70c] .button-vue__wrapper{justify-content:center}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-c7d9f70c] .button-vue,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-c7d9f70c] .button-vue,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-c7d9f70c] .button-vue{position:relative;width:100%;padding-inline:calc(var(--default-grid-baseline)*6)}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-c7d9f70c] .button-vue::after,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-c7d9f70c] .button-vue::after,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-c7d9f70c] .button-vue::after{content:\"\";position:absolute;inset-inline-end:calc(var(--default-grid-baseline)*2);inset-block:0;margin-block:auto;width:16px;height:16px;background-color:currentColor;mask-image:url(${___CSS_LOADER_URL_REPLACEMENT_0___});mask-repeat:no-repeat;mask-position:center;mask-size:contain}.unified-search-modal__search-external-resources[data-v-c7d9f70c] span.checkbox-content{padding-top:0;padding-bottom:0}.unified-search-modal__search-external-resources[data-v-c7d9f70c] .checkbox-content__icon{margin:auto !important}.unified-search-modal__search-external-resources--aligned[data-v-c7d9f70c]{margin-inline-start:auto}.unified-search-modal__filters-applied[data-v-c7d9f70c]{padding-top:4px;display:flex;flex-wrap:wrap}.unified-search-modal__no-content[data-v-c7d9f70c]{display:flex;align-items:center;margin-top:.5em;height:70%}.unified-search-modal__results[data-v-c7d9f70c]{flex:1 1 auto;min-height:0;overflow:hidden auto;padding-inline:12px;padding-block:0 12px}.unified-search-modal__results .result-title[data-v-c7d9f70c]{color:var(--color-primary-element);font-size:16px;margin-block:8px 4px}.unified-search-modal__results .result-footer[data-v-c7d9f70c]{justify-content:space-between;align-items:center;display:flex}.unified-search-modal__results .result--unfiltered[data-v-c7d9f70c]{opacity:.7}.unified-search-modal__unfiltered-header[data-v-c7d9f70c]{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-c7d9f70c]{font-weight:bold;color:var(--color-text-maxcontrast)}.filter-button__icon[data-v-c7d9f70c]{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-c7d9f70c]{overflow:unset}}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/UnifiedSearchModal.vue\"],\"names\":[],\"mappings\":\"AAKA,4CACC,iBAAA,CACA,sBAAA,CACA,cAAA,CAGA,qBAAA,CACA,sBAAA,CACA,YAAA,CACA,sBAAA,CAKD,8CACC,cAAA,CACA,OAAA,CACA,SAAA,CACA,yBAAA,CACA,iDAAA,CAKD,kDACC,iBAAA,CACA,SAAA,CACA,YAAA,CACA,qBAAA,CAGA,aAAA,CACA,WAAA,CACA,cAAA,CAEA,4CAAA,CACA,0EAAA,CAEA,eAAA,CACA,6CAAA,CACA,4BAAA,CACA,kCAAA,CAGA,yDAAA,CAID,mEACC,4CAGC,cAAA,CACA,sCAAA,CACA,cAAA,CACA,iBAAA,CACA,oBAAA,CAGD,kDACC,UAAA,CACA,iBAAA,CACA,WAAA,CACA,kBAAA,CACA,eAAA,CAAA,CAKF,wGAEC,wBAAA,CAGD,6FAEC,SAAA,CAGD,+JAEC,0BAAA,CAKD,uCACC,kDACC,eAAA,CAGD,+JAEC,cAAA,CAAA,CAKD,+CAEC,6CAAA,CAEA,mBAAA,CAEA,eAAA,CACA,OAAA,CACA,SAAA,CAIA,4DACC,mBAAA,CACA,2CAAA,CAIF,qDACC,YAAA,CACA,kBAAA,CACA,OAAA,CACA,oBAAA,CAEA,kEACC,aAAA,CAIF,gDACC,YAAA,CACA,cAAA,CACA,OAAA,CACA,qBAAA,CACA,eAAA,CAIA,mQAGC,UAAA,CACA,WAAA,CAEA,iSACC,aAAA,CACA,UAAA,CAID,kUACC,sBAAA,CAID,uSACC,iBAAA,CACA,UAAA,CACA,mDAAA,CAEA,4TACC,UAAA,CACA,iBAAA,CACA,qDAAA,CACA,aAAA,CACA,iBAAA,CACA,UAAA,CACA,WAAA,CACA,6BAAA,CACA,kDAAA,CACA,qBAAA,CACA,oBAAA,CACA,iBAAA,CAOH,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,gDAEC,aAAA,CACA,YAAA,CACA,oBAAA,CAEA,mBAAA,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\\n// Anchor the popover under the header input (the .unified-search-menu parent is\\n// the positioning context) instead of centering it in the viewport. The scrim is\\n// fixed separately so it still dims the whole page.\\n.unified-search-modal-root {\\n\\tposition: absolute;\\n\\tinset-block-start: 100%;\\n\\tinset-inline: 0;\\n\\t// One below the header input (z-index: 51) and above the page. !important wins\\n\\t// the stacking cascade inside the themed #header.\\n\\tz-index: 50 !important;\\n\\tmargin-block-start: 6px;\\n\\tdisplay: flex;\\n\\tjustify-content: center;\\n}\\n\\n// Backdrop, mirrors NcModal's .modal-mask. Fixed so it covers the whole viewport\\n// regardless of the anchored root.\\n.unified-search-modal__scrim {\\n\\tposition: fixed;\\n\\tinset: 0;\\n\\tz-index: 0;\\n\\t--backdrop-color: 0, 0, 0;\\n\\tbackground-color: rgba(var(--backdrop-color), 0.5);\\n}\\n\\n// Dialog panel: NcModal's \\\"normal\\\" chrome, but width-matched to the header input\\n// and anchored under it, growing downward and scrolling internally when tall.\\n.unified-search-modal__container {\\n\\tposition: relative;\\n\\tz-index: 1;\\n\\tdisplay: flex;\\n\\tflex-direction: column;\\n\\t// Match the previous unified-search modal (NcModal \\\"normal\\\" size). flex-shrink: 0\\n\\t// stops the flex parent from collapsing it below 600px when the menu is narrower.\\n\\tflex-shrink: 0;\\n\\twidth: 600px;\\n\\tmax-width: 90vw;\\n\\t// Leave ~10vh below the panel so it does not reach the bottom of the page\\n\\tmax-height: calc(90vh - var(--header-height));\\n\\tborder-radius: var(--border-radius-container, var(--border-radius-rounded));\\n\\t// Clip the header/results to the rounded corners\\n\\toverflow: hidden;\\n\\tbackground-color: var(--color-main-background);\\n\\tcolor: var(--color-main-text);\\n\\tbox-shadow: 0 0 40px rgba(0, 0, 0, 0.2);\\n\\t// The panel slides down into place; the enter/leave classes set the start offset.\\n\\t// Same easeOutQuart curve as the header input so the whole search UI moves in step.\\n\\ttransition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);\\n}\\n\\n// Fullscreen on small viewports, mirrors NcModal's responsive breakpoint\\n@media only screen and ((max-width: 512px) or (max-height: 400px)) {\\n\\t.unified-search-modal-root {\\n\\t\\t// Fill the viewport below the header bar, leaving it visible and interactive\\n\\t\\t// (matches the previous unified search and the rest of the mobile chrome).\\n\\t\\tposition: fixed;\\n\\t\\tinset-block-start: var(--header-height);\\n\\t\\tinset-inline: 0;\\n\\t\\tinset-block-end: 0;\\n\\t\\tmargin-block-start: 0;\\n\\t}\\n\\n\\t.unified-search-modal__container {\\n\\t\\twidth: 100%;\\n\\t\\tmax-width: initial;\\n\\t\\theight: 100%;\\n\\t\\tmax-height: initial;\\n\\t\\tborder-radius: 0;\\n\\t}\\n}\\n\\n// Open/close animation: the backdrop fades while the panel slides down from the top\\n.unified-search-modal-enter-active,\\n.unified-search-modal-leave-active {\\n\\ttransition: opacity 250ms;\\n}\\n\\n.unified-search-modal-enter,\\n.unified-search-modal-leave-to {\\n\\topacity: 0;\\n}\\n\\n.unified-search-modal-enter .unified-search-modal__container,\\n.unified-search-modal-leave-to .unified-search-modal__container {\\n\\ttransform: translateY(-6px);\\n}\\n\\n// Respect reduced-motion: keep the backdrop cross-fade (opacity is not motion) but\\n// drop the panel slide so nothing moves on open/close.\\n@media (prefers-reduced-motion: reduce) {\\n\\t.unified-search-modal__container {\\n\\t\\ttransition: none;\\n\\t}\\n\\n\\t.unified-search-modal-enter .unified-search-modal__container,\\n\\t.unified-search-modal-leave-to .unified-search-modal__container {\\n\\t\\ttransform: none;\\n\\t}\\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: 12px;\\n\\t\\t// Make it sticky with the input margin for the label\\n\\t\\tposition: sticky;\\n\\t\\ttop: 6px;\\n\\t\\tz-index: 1;\\n\\n\\t\\t// Some padding to make elements scrolled under sticky position look nicer.\\n\\t\\t// Only when there are results to scroll: otherwise it just adds a dead gap.\\n\\t\\t&--has-results {\\n\\t\\t\\tpadding-bottom: 12px;\\n\\t\\t\\tborder-bottom: 1px solid var(--color-border);\\n\\t\\t}\\n\\t}\\n\\n\\t&__mobile-input {\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\tgap: 4px;\\n\\t\\tmargin-block-end: 8px;\\n\\n\\t\\t:deep(.input-field) {\\n\\t\\t\\tflex: 1 1 auto;\\n\\t\\t}\\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: 6px;\\n\\n\\t\\t// The three category triggers split the row into thirds; any extra controls\\n\\t\\t// (local search, connected-services switch) keep their size and wrap below.\\n\\t\\t> [data-cy-unified-search-filter=\\\"places\\\"],\\n\\t\\t> [data-cy-unified-search-filter=\\\"date\\\"],\\n\\t\\t> [data-cy-unified-search-filter=\\\"people\\\"] {\\n\\t\\t\\tflex: 1 1 0;\\n\\t\\t\\tmin-width: 0;\\n\\n\\t\\t\\t:deep(.v-popper) {\\n\\t\\t\\t\\tdisplay: block;\\n\\t\\t\\t\\twidth: 100%;\\n\\t\\t\\t}\\n\\n\\t\\t\\t// Centre [icon] label; the chevron is pinned to the trailing edge below.\\n\\t\\t\\t:deep(.button-vue__wrapper) {\\n\\t\\t\\t\\tjustify-content: center;\\n\\t\\t\\t}\\n\\n\\t\\t\\t// NcActions exposes no dropdown chevron, so paint one at the trailing edge.\\n\\t\\t\\t:deep(.button-vue) {\\n\\t\\t\\t\\tposition: relative;\\n\\t\\t\\t\\twidth: 100%;\\n\\t\\t\\t\\tpadding-inline: calc(var(--default-grid-baseline) * 6);\\n\\n\\t\\t\\t\\t&::after {\\n\\t\\t\\t\\t\\tcontent: '';\\n\\t\\t\\t\\t\\tposition: absolute;\\n\\t\\t\\t\\t\\tinset-inline-end: calc(var(--default-grid-baseline) * 2);\\n\\t\\t\\t\\t\\tinset-block: 0;\\n\\t\\t\\t\\t\\tmargin-block: auto;\\n\\t\\t\\t\\t\\twidth: 16px;\\n\\t\\t\\t\\t\\theight: 16px;\\n\\t\\t\\t\\t\\tbackground-color: currentColor;\\n\\t\\t\\t\\t\\tmask-image: url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E\\\");\\n\\t\\t\\t\\t\\tmask-repeat: no-repeat;\\n\\t\\t\\t\\t\\tmask-position: center;\\n\\t\\t\\t\\t\\tmask-size: contain;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\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\\t// Take the remaining panel height and scroll internally (container has a max-height)\\n\\t\\tflex: 1 1 auto;\\n\\t\\tmin-height: 0;\\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: 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-9edc0a80]{position:relative;display:flex;align-items:center;justify-content:center}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/views/UnifiedSearch.vue\"],\"names\":[],\"mappings\":\"AAEA,sCAEC,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA\",\"sourcesContent\":[\"\\n// this is needed to allow us overriding component styles (focus-visible)\\n.unified-search-menu {\\n\\t// Positioning context so the results popover can anchor under the input\\n\\tposition: relative;\\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__(83696)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","vue_material_design_icons_FilterVariantvue_type_script_lang_js","name","emits","props","title","type","String","fillColor","default","size","Number","FilterVariant","componentNormalizer","A","_vm","this","_c","_self","_b","staticClass","attrs","role","on","click","$event","$emit","$attrs","fill","width","height","viewBox","d","_v","_s","_e","vue_material_design_icons_Magnifyvue_type_script_lang_js","Magnify","UnifiedSearch_UnifiedSearchInputvue_type_script_setup_true_lang_ts","_defineComponent","__name","expanded","Boolean","activeDescendantId","query","filtersRevealed","setup","__props","expose","emit","isSmallMobile","useIsSmallMobile","placeholderText","t","directionByKey","ArrowDown","ArrowUp","fieldRef","ref","inputRef","isFocused","isActive","computed","value","length","showFunnel","focus","__sfc","resultsContainerId","onFocusOut","event","contains","relatedTarget","onInput","target","openFilters","clearOrClose","focused","document","activeElement","blur","onKeyDown","isComposing","key","direction","preventDefault","l10n_dist","NcButton","NcHeaderButton","NcHeaderButton_MEyDJghO","N","NcKbd","NcKbd_CXJA9sCj","IconClose","Close","IconFilterVariant","IconMagnify","options","styleTagTransform","styleTagTransform_default","setAttributes","setAttributesWithoutAttributes_default","insert","insertBySelector_default","bind","domAPI","styleDomAPI_default","insertStyleElement","insertStyleElement_default","injectStylesIntoStyleTag_default","UnifiedSearchInputvue_type_style_index_0_id_54238e2f_prod_lang_scss_scoped_true","locals","UnifiedSearchInput","_setup","_setupProxy","class","id","ariaLabel","scopedSlots","_u","fn","proxy","focusin","focusout","undefined","domProps","input","keydown","variant","symbol","UnifiedSearch_UnifiedSearchLocalSearchBarvue_type_script_lang_ts_setup_true","open","_useCssVars","dfb017de","searchGlobalButtonCSSWidth","searchInput","watchEffect","isMobile","useIsMobile","searchGlobalButton","searchGlobalButtonWidth","useElementSize","clearAndCloseSearch","mdiClose","mdi","hyP","mdiCloudSearchOutline","ydM","Tl","NcIconSvgWrapper","NcInputField","UnifiedSearchLocalSearchBarvue_type_style_index_0_id_2b577e50_prod_scoped_true_lang_scss_options","UnifiedSearchLocalSearchBarvue_type_style_index_0_id_2b577e50_prod_scoped_true_lang_scss","UnifiedSearchLocalSearchBar","placeholder","path","vue_material_design_icons_AccountMultipleOutlinevue_type_script_lang_js","AccountMultipleOutline","vue_material_design_icons_CalendarBlankOutlinevue_type_script_lang_js","CalendarBlankOutline","vue_material_design_icons_Filtervue_type_script_lang_js","Filter","vue_material_design_icons_ShapeOutlinevue_type_script_lang_js","ShapeOutline","vue_material_design_icons_CalendarRangevue_type_script_lang_js","CalendarRange","UnifiedSearch_CustomDateRangeModalvue_type_script_lang_js","components","NcModal","CalendarRangeIcon","NcDateTimePicker","isOpen","required","data","dateFilter","startFrom","endAt","isModalOpen","get","set","methods","closeModal","applyCustomRange","CustomDateRangeModalvue_type_style_index_0_id_2907014b_prod_lang_scss_scoped_true_options","CustomDateRangeModalvue_type_style_index_0_id_2907014b_prod_lang_scss_scoped_true","CustomDateRangeModal","show","close","label","model","callback","$$v","$set","expression","vue_material_design_icons_AlertCircleOutlinevue_type_script_lang_js","AlertCircleOutline","UnifiedSearch_SearchableListvue_type_script_lang_js","IconAlertCircleOutline","NcAvatar","NcEmptyContent","NcPopover","NcTextField","labelText","searchList","Array","emptyContentText","opened","error","searchTerm","filteredList","filter","element","toLowerCase","some","prop","includes","clearSearch","setOpened","itemSelected","searchTermChanged","term","SearchableListvue_type_style_index_0_id_66bd6570_prod_lang_scss_scoped_true_options","SearchableListvue_type_style_index_0_id_66bd6570_prod_lang_scss_scoped_true","SearchableList","shown","hide","_t","_l","displayName","alignment","wide","isUser","user","UnifiedSearch_SearchFilterChipvue_type_script_lang_js","CloseIcon","text","pretext","removeLabel","deleteChip","SearchFilterChipvue_type_style_index_0_id_5a4f6249_prod_lang_scss_scoped_true_options","SearchFilterChipvue_type_style_index_0_id_5a4f6249_prod_lang_scss_scoped_true","SearchFilterChip","UnifiedSearch_SearchResultvue_type_script_lang_js","NcListItem","thumbnailUrl","subline","resourceUrl","icon","rounded","elementId","active","thumbnailHasError","watch","isValidIconOrPreviewUrl","url","test","startsWith","thumbnailErrorHandler","SearchResultvue_type_style_index_0_id_57583211_prod_lang_scss_scoped_true_options","SearchResultvue_type_style_index_0_id_57583211_prod_lang_scss_scoped_true","SearchResult","bold","href","style","backgroundImage","src","logger","getCurrentUser","getLoggerBuilder","setApp","build","setUid","uid","unifiedSearchLogger","detectUser","async","getProviders","axios","generateOcsUrl","params","from","window","location","pathname","replace","search","ocs","isArray","cursor","since","until","limit","person","extraQueries","cancelToken","CancelToken","source","request","token","cancel","getContacts","contacts","post","generateUrl","authenticatedUser","fullName","emailAddresses","unshift","UnifiedSearchController","constructor","onChange","_defineProperty","categories","cancelPendingRequests","searchStates","searchGeneration","generation","startRevealTimer","Promise","allSettled","map","category","searchCategory","loadMore","categoryState","hasMore","status","patchStates","loadMoreFailed","unifiedSearch","pendingCancels","push","response","entries","isPaginated","hasMorePages","getSnapshot","dispose","stopBackgroundWork","reset","shouldBlockCategory","reconcileCategoryStatuses","forEach","stopRevealTimer","revealTimer","setTimeout","Object","keys","hasPendingCategories","unblockAllCategories","clearTimeout","slice","indexOf","c","next","useSearchStore","defineStore","state","externalFilters","actions","registerExternalFilter","appId","searchFrom","isPluginFilter","UnifiedSearchModalvue_type_script_lang_ts","defineComponent","IconAccountMultipleOutline","IconArrowRight","ArrowRight","IconCalendarBlankOutline","IconDotsHorizontal","DotsHorizontal","IconFilter","IconShapeOutline","FilterChip","NcActions","NcActionButton","NcCheckboxRadioSwitch","localSearch","currentLocation","useBrowserLocation","searchStore","shallowRef","controller","states","onUnmounted","useUnifiedSearch","providers","providerActionMenuIsOpen","dateActionMenuIsOpen","personFilter","filteredProviders","searchQuery","placessearchTerm","dateTimeFilter","filters","showDateRangeModal","initialized","searchExternalResources","activeIndex","minSearchLength","loadState","focusTrap","isEmptySearch","providerFilterActive","dateFilterActive","personFilterActive","hasAnyActiveFilter","showFilterRow","searching","values","hasNoResults","results","isSearchQueryTooShort","showEmptyContentInfo","emptyContentMessage","n","userContacts","debouncedFind","debounce","find","debouncedFilterContacts","filterContacts","hasExternalResources","provider","isExternalProvider","hasContentFilters","contentFilterTypes","providerId","p","supportsActiveFilters","providerIsCompatibleWithFilters","filteredResults","isInFolderAtRoot","result","extraParams","filteredResultUrls","urls","Set","entry","add","unfilteredResults","has","navigableRows","rows","index","rowElementId","activeRow","liveMessage","hasVisibleResults","addEventListener","onEscapeKey","$nextTick","activateFocusTrap","all","then","groupProvidersByApp","mapContacts","debug","catch","removeEventListener","deactivateFocusTrap","immediate","handler","previous","reconcileActiveIndex","scrollActiveIntoView","mounted","subscribe","handlePluginFilter","onUpdateOpen","onScrimClick","onMobileSearchInput","stack","_nc_focus_trap","at","panel","$refs","menu","$el","closest","inputContainer","querySelector","containers","markRaw","createFocusTrap","initialFocus","escapeDeactivates","allowOutsideClick","trapStack","activate","returnFocus","deactivate","searchLocally","searchable","buildCategoryParams","toISOString","contact","isNoUser","subname","applyPersonFilter","existingPersonFilter","findIndex","loadMoreResultsForProvider","addProviderFilter","providerFilter","isProviderFilterApplied","existingFilterIndex","existing","splice","syncProviderFilters","removeFilter","i","firstArray","secondArray","synchronizedArray","item","itemId","secondItem","updateDateFilter","currFilterIndex","applyQuickDateRange","range","today","Date","startDate","endDate","getFullYear","getMonth","getDate","setCustomDateRange","toLocaleDateString","getCanonicalLocale","addFilterEvent","filterUpdateText","compatibleProviderIndex","filterParams","groupedByProviderApp","flattenedArray","group","filterIds","baseProvider","every","filterId","enableAllProviders","_","disabled","unfiltered","moveActive","count","current","Math","min","max","activateActive","openResourceUrl","assign","getElementById","scrollIntoView","block","selectedId","row","UnifiedSearch_UnifiedSearchModalvue_type_script_lang_ts","UnifiedSearchModalvue_type_style_index_0_id_c7d9f70c_prod_lang_scss_scoped_true_options","UnifiedSearchModalvue_type_style_index_0_id_c7d9f70c_prod_lang_scss_scoped_true","UnifiedSearchModal","appear","modelValue","showTrailingButton","trailingButtonLabel","directives","rawName","alt","closeAfterClick","pressed","delete","disableMenu","hideStatus","hideFavorite","providerResult","inAppSearch","views_UnifiedSearchvue_type_script_lang_ts","queryText","showUnifiedSearch","showLocalSearch","debouncedQueryUpdate","emitUpdatedQuery","supportsLocalSearch","appHandlesSearchShortcut","OCP","Accessibility","disableKeyboardShortcuts","beforeDestroy","ctrlKey","toggleUnifiedSearch","focusSearch","metaKey","openModal","focusInput","onNavigate","modal","searchModal","onActivate","onOpenFilters","onClose","UnifiedSearchvue_type_style_index_0_id_9edc0a80_prod_lang_scss_scoped_true_options","UnifiedSearchvue_type_style_index_0_id_9edc0a80_prod_lang_scss_scoped_true","UnifiedSearch","navigate","globalSearch","__webpack_nonce__","getCSPNonce","Vue","mixin","OCA","registerFilterAction","use","PiniaVuePlugin","pinia","createPinia","el","unified_search_pinia","render","h","___CSS_LOADER_EXPORT___","_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default","_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default","module","version","sources","names","mappings","sourcesContent","sourceRoot","__WEBPACK_DEFAULT_EXPORT__","___CSS_LOADER_URL_IMPORT_0___","URL","__webpack_require__","b","___CSS_LOADER_URL_REPLACEMENT_0___","_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default","__webpack_module_cache__","moduleId","cachedModule","exports","loaded","__webpack_modules__","call","m","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","r","getter","__esModule","a","definition","o","defineProperty","enumerable","e","resolve","obj","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","children","baseURI","self","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","globalThis","nc","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"core-unified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/chunk loaded","webpack:///nextcloud/node_modules/vue-material-design-icons/FilterVariant.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/FilterVariant.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/FilterVariant.vue?a827","webpack:///nextcloud/node_modules/vue-material-design-icons/FilterVariant.vue?vue&type=template&id=30f11e8a","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/UnifiedSearchInput.vue?vue&type=script&setup=true&lang=ts","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchInput.vue","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchInput.vue?a95e","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchInput.vue?8fd4","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/AccountMultipleOutline.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/AccountMultipleOutline.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/AccountMultipleOutline.vue?b80e","webpack:///nextcloud/node_modules/vue-material-design-icons/AccountMultipleOutline.vue?vue&type=template&id=970e2386","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarBlankOutline.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarBlankOutline.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/CalendarBlankOutline.vue?3bca","webpack:///nextcloud/node_modules/vue-material-design-icons/CalendarBlankOutline.vue?vue&type=template&id=784b59e6","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/ShapeOutline.vue?vue&type=script&lang=js","webpack:///nextcloud/node_modules/vue-material-design-icons/ShapeOutline.vue","webpack://nextcloud/./node_modules/vue-material-design-icons/ShapeOutline.vue?da7c","webpack:///nextcloud/node_modules/vue-material-design-icons/ShapeOutline.vue?vue&type=template&id=3f5754ea","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/node_modules/vue-material-design-icons/AlertCircleOutline.vue","webpack:///nextcloud/node_modules/vue-material-design-icons/AlertCircleOutline.vue?vue&type=script&lang=js","webpack://nextcloud/./node_modules/vue-material-design-icons/AlertCircleOutline.vue?730b","webpack:///nextcloud/node_modules/vue-material-design-icons/AlertCircleOutline.vue?vue&type=template&id=da40788e","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue?vue&type=script&lang=js","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue","webpack://nextcloud/./core/src/components/UnifiedSearch/SearchableList.vue?ade6","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?ad3b","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?1c57","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/services/UnifiedSearchController.ts","webpack:///nextcloud/core/src/store/unified-search-external-filters.js","webpack:///nextcloud/core/src/composables/useUnifiedSearch.ts","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchModal.vue?vue&type=script&lang=ts","webpack://nextcloud/./core/src/components/UnifiedSearch/UnifiedSearchModal.vue?a304","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?8ffe","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=5a4f6249&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchResult.vue?vue&type=style&index=0&id=57583211&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/SearchableList.vue?vue&type=style&index=0&id=66bd6570&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/components/UnifiedSearch/UnifiedSearchInput.vue?vue&type=style&index=0&id=54238e2f&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=7b80d2c4&prod&lang=scss&scoped=true","webpack:///nextcloud/core/src/views/UnifiedSearch.vue?vue&type=style&index=0&id=9edc0a80&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};","\n \n \n {{ title }}\n \n \n \n\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./FilterVariant.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./FilterVariant.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./FilterVariant.vue?vue&type=template&id=30f11e8a\"\nimport script from \"./FilterVariant.vue?vue&type=script&lang=js\"\nexport * from \"./FilterVariant.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-variant-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\":\"M6,13H18V11H6M3,6V8H21V6M10,18H14V16H10V18Z\"}},[(_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 }","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!./UnifiedSearchInput.vue?vue&type=script&setup=true&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!./UnifiedSearchInput.vue?vue&type=script&setup=true&lang=ts\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('search',{staticClass:\"unified-search-input\",class:{ 'unified-search-input--mobile': _setup.isSmallMobile }},[(_setup.isSmallMobile)?_c(_setup.NcHeaderButton,{attrs:{\"id\":\"unified-search-trigger\",\"ariaLabel\":_setup.placeholderText,\"aria-haspopup\":\"dialog\",\"aria-expanded\":_vm.expanded ? 'true' : 'false'},on:{\"click\":function($event){return _vm.$emit('click', $event)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c(_setup.IconMagnify,{attrs:{\"size\":20}})]},proxy:true}],null,false,1795316816)}):_c('div',{ref:\"fieldRef\",staticClass:\"unified-search-input__field\",class:{ 'unified-search-input__field--active': _setup.isActive },on:{\"focusin\":function($event){_setup.isFocused = true},\"focusout\":_setup.onFocusOut}},[_c('div',{staticClass:\"unified-search-input__resting\",class:{ 'unified-search-input__resting--filled': _vm.query.length > 0 },attrs:{\"aria-hidden\":\"true\"}},[_c(_setup.IconMagnify,{attrs:{\"size\":20}}),_vm._v(\" \"),_c('span',{staticClass:\"unified-search-input__label\"},[_vm._v(_vm._s(_setup.placeholderText))])],1),_vm._v(\" \"),_c('input',{ref:\"inputRef\",staticClass:\"unified-search-input__input\",attrs:{\"type\":\"text\",\"role\":\"combobox\",\"aria-autocomplete\":\"list\",\"aria-expanded\":_vm.expanded ? 'true' : 'false',\"aria-controls\":_vm.expanded ? _setup.resultsContainerId : undefined,\"aria-activedescendant\":_vm.expanded ? (_vm.activeDescendantId || undefined) : undefined,\"aria-label\":_setup.placeholderText},domProps:{\"value\":_vm.query},on:{\"input\":_setup.onInput,\"keydown\":_setup.onKeyDown}}),_vm._v(\" \"),(_setup.showFunnel)?_c(_setup.NcButton,{staticClass:\"unified-search-input__filter\",attrs:{\"variant\":\"tertiary-no-background\",\"aria-label\":_setup.t('core', 'Filters')},on:{\"click\":_setup.openFilters},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c(_setup.IconFilterVariant,{attrs:{\"size\":20}})]},proxy:true}],null,false,2820714996)}):_vm._e(),_vm._v(\" \"),(_setup.isActive)?_c(_setup.NcButton,{staticClass:\"unified-search-input__clear\",attrs:{\"variant\":\"tertiary-no-background\",\"aria-label\":_vm.query.length > 0 ? _setup.t('core', 'Clear search') : _setup.t('core', 'Close search')},on:{\"click\":_setup.clearOrClose},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c(_setup.IconClose,{attrs:{\"size\":20}})]},proxy:true}],null,false,4099733813)}):_vm._e(),_vm._v(\" \"),(!_setup.isActive)?_c('span',{staticClass:\"unified-search-input__shortcut\",attrs:{\"aria-hidden\":\"true\"}},[_c(_setup.NcKbd,{attrs:{\"symbol\":\"Control\"}}),_vm._v(\" \"),_c(_setup.NcKbd,{attrs:{\"symbol\":\"K\"}})],1):_vm._e()],1)],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!./UnifiedSearchInput.vue?vue&type=style&index=0&id=54238e2f&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!./UnifiedSearchInput.vue?vue&type=style&index=0&id=54238e2f&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./UnifiedSearchInput.vue?vue&type=template&id=54238e2f&scoped=true\"\nimport script from \"./UnifiedSearchInput.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./UnifiedSearchInput.vue?vue&type=script&setup=true&lang=ts\"\nimport style0 from \"./UnifiedSearchInput.vue?vue&type=style&index=0&id=54238e2f&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 \"54238e2f\",\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('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('transition',{attrs:{\"name\":\"unified-search-modal\",\"appear\":\"\"}},[(_vm.open)?_c('div',{staticClass:\"unified-search-modal-root\"},[_c('CustomDateRangeModal',{staticClass:\"unified-search__date-range\",attrs:{\"isOpen\":_vm.showDateRangeModal},on:{\"set:customDateRange\":_vm.setCustomDateRange,\"update:isOpen\":function($event){_vm.showDateRangeModal = $event}}}),_vm._v(\" \"),_c('div',{ref:\"panel\",staticClass:\"unified-search-modal__container\",attrs:{\"id\":\"unified-search-results\"}},[_c('div',{staticClass:\"hidden-visually\",attrs:{\"role\":\"status\",\"aria-live\":\"polite\"}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm.liveMessage)+\"\\n\\t\\t\\t\")]),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-modal__header\",class:{ 'unified-search-modal__header--has-results': _vm.hasVisibleResults }},[(_vm.isSmallMobile)?_c('div',{staticClass:\"unified-search-modal__mobile-input\"},[_c('NcTextField',{attrs:{\"type\":\"search\",\"label\":_vm.t('core', 'Apps, files, messages, and more'),\"modelValue\":_vm.searchQuery,\"showTrailingButton\":_vm.searchQuery.length > 0,\"trailingButtonLabel\":_vm.t('core', 'Clear search')},on:{\"update:modelValue\":_vm.onMobileSearchInput,\"trailing-button-click\":function($event){_vm.searchQuery = ''}}}),_vm._v(\" \"),_c('NcButton',{attrs:{\"variant\":\"tertiary\",\"aria-label\":_vm.t('core', 'Close search')},on:{\"click\":function($event){return _vm.onUpdateOpen(false)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconClose',{attrs:{\"size\":20}})]},proxy:true}],null,false,2888946197)})],1):_vm._e(),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showFilterRow),expression:\"showFilterRow\"}],staticClass:\"unified-search-modal__filters\",attrs:{\"data-cy-unified-search-filters\":\"\"}},[_c('NcActions',{attrs:{\"wide\":\"\",\"size\":\"small\",\"open\":_vm.providerActionMenuIsOpen,\"menu-name\":_vm.t('core', 'Type'),\"variant\":_vm.providerFilterActive ? 'primary' : 'secondary',\"data-cy-unified-search-filter\":\"places\"},on:{\"update:open\":function($event){_vm.providerActionMenuIsOpen=$event}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconShapeOutline',{attrs:{\"size\":20}})]},proxy:true}],null,false,1084672236)},[_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\\t\\t\"+_vm._s(provider.name)+\"\\n\\t\\t\\t\\t\\t\\t\")])})],2),_vm._v(\" \"),_c('NcActions',{attrs:{\"size\":\"small\",\"wide\":\"\",\"open\":_vm.dateActionMenuIsOpen,\"menu-name\":_vm.t('core', 'Date'),\"variant\":_vm.dateFilterActive ? 'primary' : 'secondary',\"data-cy-unified-search-filter\":\"date\"},on:{\"update:open\":function($event){_vm.dateActionMenuIsOpen=$event}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconCalendarBlankOutline',{attrs:{\"size\":20}})]},proxy:true}],null,false,2513324059)},[_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('today')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Today'))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('7days')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last 7 days'))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('30days')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last 30 days'))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('thisyear')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'This year'))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('lastyear')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Last year'))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('NcActionButton',{attrs:{\"closeAfterClick\":true},on:{\"click\":function($event){return _vm.applyQuickDateRange('custom')}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'Custom date range'))+\"\\n\\t\\t\\t\\t\\t\\t\")])],1),_vm._v(\" \"),_c('SearchableList',{attrs:{\"labelText\":_vm.t('core', 'Search people'),\"searchList\":_vm.userContacts,\"emptyContentText\":_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',{attrs:{\"wide\":\"\",\"size\":\"small\",\"variant\":\"secondary\",\"pressed\":_vm.personFilterActive},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconAccountMultipleOutline',{attrs:{\"size\":20}})]},proxy:true}],null,false,2457664786)},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.t('core', 'People'))+\"\\n\\t\\t\\t\\t\\t\\t\\t\")])]},proxy:true}],null,false,662085814)}),_vm._v(\" \"),(_vm.localSearch)?_c('NcButton',{attrs:{\"variant\":\"tertiary\",\"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\\t\\t\"+_vm._s(_vm.t('core', 'Filter in current view'))+\"\\n\\t\\t\\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\\t\\t\"+_vm._s(_vm.t('core', 'Search connected services'))+\"\\n\\t\\t\\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,\"disableMenu\":\"\",\"hideStatus\":\"\",\"hideFavorite\":false}}):(filter.type === 'date')?_c('IconCalendarBlankOutline'):_c('img',{attrs:{\"src\":filter.icon,\"alt\":\"\"}})]},proxy:true}],null,true)})}),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\\t\\t\"+_vm._s(_vm.t('core', 'Results'))+\"\\n\\t\\t\\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\\t\\t\"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('ul',{staticClass:\"result-items\",attrs:{\"role\":_vm.isSmallMobile ? undefined : 'listbox',\"aria-labelledby\":`unified-search-result-${providerResult.id}`}},_vm._l((providerResult.results),function(result,index){return _c('SearchResult',_vm._b({key:index,attrs:{\"role\":_vm.isSmallMobile ? undefined : 'option',\"elementId\":_vm.rowElementId(providerResult.id, index),\"active\":_vm.activeDescendantId === _vm.rowElementId(providerResult.id, index)}},'SearchResult',result,false))}),1),_vm._v(\" \"),_c('div',{staticClass:\"result-footer\"},[(providerResult.hasMore)?_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\\t\"+_vm._s(_vm.t('core', 'Load more results'))+\"\\n\\t\\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\\t\"+_vm._s(_vm.t('core', 'Search in'))+\" \"+_vm._s(providerResult.name)+\"\\n\\t\\t\\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\\t\\t\"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_c('ul',{staticClass:\"result-items\",attrs:{\"role\":_vm.isSmallMobile ? undefined : 'listbox',\"aria-labelledby\":`unified-search-result-unfiltered-${providerResult.id}`}},_vm._l((providerResult.results),function(result,index){return _c('SearchResult',_vm._b({key:index,attrs:{\"role\":_vm.isSmallMobile ? undefined : 'option',\"elementId\":_vm.rowElementId(providerResult.id, index, true),\"active\":_vm.activeDescendantId === _vm.rowElementId(providerResult.id, index, true)}},'SearchResult',result,false))}),1),_vm._v(\" \"),_c('div',{staticClass:\"result-footer\"},[(providerResult.hasMore)?_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\\t\\t\"+_vm._s(_vm.t('core', 'Load more results'))+\"\\n\\t\\t\\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\\t\\t\"+_vm._s(_vm.t('core', 'Search in'))+\" \"+_vm._s(providerResult.name)+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\")]):_vm._e()],1)])})]:_vm._e()],2)]),_vm._v(\" \"),_c('div',{staticClass:\"unified-search-modal__scrim\",on:{\"click\":_vm.onScrimClick}})],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./AccountMultipleOutline.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./AccountMultipleOutline.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AccountMultipleOutline.vue?vue&type=template&id=970e2386\"\nimport script from \"./AccountMultipleOutline.vue?vue&type=script&lang=js\"\nexport * from \"./AccountMultipleOutline.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 account-multiple-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\":\"M13.07 10.41A5 5 0 0 0 13.07 4.59A3.39 3.39 0 0 1 15 4A3.5 3.5 0 0 1 15 11A3.39 3.39 0 0 1 13.07 10.41M5.5 7.5A3.5 3.5 0 1 1 9 11A3.5 3.5 0 0 1 5.5 7.5M7.5 7.5A1.5 1.5 0 1 0 9 6A1.5 1.5 0 0 0 7.5 7.5M16 17V19H2V17S2 13 9 13 16 17 16 17M14 17C13.86 16.22 12.67 15 9 15S4.07 16.31 4 17M15.95 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13Z\"}},[(_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!./CalendarBlankOutline.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./CalendarBlankOutline.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CalendarBlankOutline.vue?vue&type=template&id=784b59e6\"\nimport script from \"./CalendarBlankOutline.vue?vue&type=script&lang=js\"\nexport * from \"./CalendarBlankOutline.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-blank-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\":\"M19 3H18V1H16V3H8V1H6V3H5C3.89 3 3 3.9 3 5V19C3 20.11 3.9 21 5 21H19C20.11 21 21 20.11 21 19V5C21 3.9 20.11 3 19 3M19 19H5V9H19V19M19 7H5V5H19V7Z\"}},[(_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!./ShapeOutline.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./ShapeOutline.vue?vue&type=script&lang=js\"","\n\n","import { render, staticRenderFns } from \"./ShapeOutline.vue?vue&type=template&id=3f5754ea\"\nimport script from \"./ShapeOutline.vue?vue&type=script&lang=js\"\nexport * from \"./ShapeOutline.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 shape-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\":\"M11,13.5V21.5H3V13.5H11M9,15.5H5V19.5H9V15.5M12,2L17.5,11H6.5L12,2M12,5.86L10.08,9H13.92L12,5.86M17.5,13C20,13 22,15 22,17.5C22,20 20,22 17.5,22C15,22 13,20 13,17.5C13,15 15,13 17.5,13M17.5,15A2.5,2.5 0 0,0 15,17.5A2.5,2.5 0 0,0 17.5,20A2.5,2.5 0 0,0 20,17.5A2.5,2.5 0 0,0 17.5,15Z\"}},[(_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){return _vm.setOpened(true)},\"hide\":function($event){return _vm.setOpened(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-status\":\"\"}}):_c('NcAvatar',{attrs:{\"is-no-user\":true,\"display-name\":element.displayName,\"hide-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","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./AlertCircleOutline.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./AlertCircleOutline.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AlertCircleOutline.vue?vue&type=template&id=da40788e\"\nimport script from \"./AlertCircleOutline.vue?vue&type=script&lang=js\"\nexport * from \"./AlertCircleOutline.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 alert-circle-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\":\"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z\"}},[(_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!./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\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!./SearchableList.vue?vue&type=style&index=0&id=66bd6570&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=66bd6570&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=66bd6570&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=66bd6570&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 \"66bd6570\",\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=5a4f6249&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=5a4f6249&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=5a4f6249&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=5a4f6249&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 \"5a4f6249\",\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('button',{staticClass:\"close-button\",attrs:{\"type\":\"button\",\"aria-label\":_vm.removeLabel},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=57583211&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=57583211&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=57583211&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=57583211&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 \"57583211\",\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:{\"id\":_vm.elementId,\"name\":_vm.title,\"bold\":false,\"active\":_vm.active,\"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 term\n * @param {number|string|null} [options.cursor] the offset for paginated searches\n * @param {string} [options.since] start of the date-range filter\n * @param {string} [options.until] end of the date-range filter\n * @param {string} [options.limit] maximum number of results\n * @param {string} [options.person] filter results by person\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: 2026 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { search as unifiedSearch } from './UnifiedSearchService.js';\nexport const REVEAL_INTERVAL_MS = 1500;\n/**\n * Runs a unified search across categories in priority order, blocking\n * lower-priority results until their predecessors arrive or a timer reveals them.\n */\nexport class UnifiedSearchController {\n onChange;\n query = '';\n params = {};\n searchStates = {};\n searchGeneration = 0;\n revealTimer = null;\n pendingCancels = [];\n constructor(onChange) {\n this.onChange = onChange;\n }\n /**\n * Start a search. Cancels and replaces any search already in flight.\n *\n * @param query the search term\n * @param categories category ids in priority order\n * @param params optional per-category search parameters\n * @return resolves once every category has settled\n */\n async search(query, categories, params) {\n this.cancelPendingRequests();\n this.searchStates = {};\n this.searchGeneration++;\n const generation = this.searchGeneration;\n this.query = query;\n this.params = params || {};\n this.startRevealTimer();\n await Promise.allSettled(categories.map((category) => this.searchCategory(category, generation, categories)));\n }\n /**\n * Fetch the next page for one category and append it. A no-op unless the\n * category is loaded with more pages. On failure the existing results stay\n * and `loadMoreFailed` is raised, so calling again retries.\n *\n * @param category the category id to page\n */\n async loadMore(category) {\n const generation = this.searchGeneration;\n const categoryState = { ...this.searchStates[category] };\n if (!categoryState.hasMore || categoryState.status !== 'loaded') {\n return;\n }\n this.patchStates({ [category]: { status: 'loading', loadMoreFailed: false } });\n const { request, cancel } = unifiedSearch({\n type: category,\n query: this.query,\n cursor: categoryState.cursor,\n ...this.params[category],\n });\n this.pendingCancels.push(cancel);\n try {\n const response = await request();\n if (this.searchGeneration !== generation) {\n return;\n }\n const { entries, cursor, isPaginated } = response.data.ocs.data;\n this.patchStates({ [category]: {\n entries: [...categoryState.entries, ...entries],\n cursor,\n hasMore: this.hasMorePages(isPaginated, cursor),\n status: 'loaded',\n } });\n }\n catch {\n if (this.searchGeneration !== generation) {\n return;\n }\n this.patchStates({ [category]: { status: 'loaded', loadMoreFailed: true } });\n }\n }\n /**\n * A shallow copy of the current per-category state, safe to read for rendering.\n *\n * @return the current search states keyed by category id\n */\n getSnapshot() {\n return { ...this.searchStates };\n }\n dispose() {\n this.stopBackgroundWork();\n }\n reset() {\n this.stopBackgroundWork();\n this.searchStates = {};\n this.query = '';\n this.params = {};\n this.searchGeneration++;\n this.onChange?.(this.getSnapshot());\n }\n async searchCategory(category, generation, categories) {\n this.patchStates({ [category]: {\n status: 'loading',\n entries: [],\n cursor: null,\n hasMore: false,\n loadMoreFailed: false,\n } });\n const { request, cancel } = unifiedSearch({\n type: category,\n query: this.query,\n cursor: null,\n ...this.params[category],\n });\n this.pendingCancels.push(cancel);\n try {\n const response = await request();\n if (this.searchGeneration !== generation) {\n // A new search has been started, ignore this result\n return;\n }\n const { entries, cursor, isPaginated } = response.data.ocs.data;\n // Decide blocked vs loaded once, here at settle. Reconcile only promotes after this\n // (never re-blocks), so this is the only place a category becomes blocked.\n this.patchStates({ [category]: {\n status: this.shouldBlockCategory(category, categories) ? 'blocked' : 'loaded',\n entries,\n cursor,\n hasMore: this.hasMorePages(isPaginated, cursor),\n loadMoreFailed: false,\n } });\n }\n catch {\n if (this.searchGeneration !== generation) {\n return;\n }\n this.patchStates({ [category]: {\n status: 'failed',\n entries: [],\n cursor: null,\n hasMore: false,\n loadMoreFailed: false,\n } });\n }\n this.reconcileCategoryStatuses(categories);\n }\n reconcileCategoryStatuses(categories) {\n categories.forEach((category) => {\n // Promotion only: reveal a blocked category once its predecessors clear, never demote.\n // A revealed category must stay revealed, else it flickers when a slower one settles.\n if (this.searchStates[category].status !== 'blocked') {\n return;\n }\n if (!this.shouldBlockCategory(category, categories)) {\n this.patchStates({ [category]: { status: 'loaded' } });\n }\n });\n }\n startRevealTimer() {\n this.stopRevealTimer();\n this.revealTimer = setTimeout(() => {\n const categories = Object.keys(this.searchStates);\n const hasPendingCategories = categories.some((category) => ['loading', 'blocked'].includes(this.searchStates[category].status));\n this.unblockAllCategories(categories);\n if (hasPendingCategories) {\n this.startRevealTimer();\n }\n }, REVEAL_INTERVAL_MS);\n }\n stopRevealTimer() {\n if (this.revealTimer) {\n clearTimeout(this.revealTimer);\n this.revealTimer = null;\n }\n }\n cancelPendingRequests() {\n this.pendingCancels.forEach((cancel) => cancel());\n this.pendingCancels = [];\n }\n stopBackgroundWork() {\n this.cancelPendingRequests();\n this.stopRevealTimer();\n }\n unblockAllCategories(categories) {\n categories.forEach((category) => {\n if (this.searchStates[category].status === 'blocked') {\n this.patchStates({ [category]: { status: 'loaded' } });\n }\n });\n }\n /**\n * Whether a category can page further. The backend never sends a \"has more\"\n * flag, only `isPaginated` and a `cursor`, so derive it: a category has more\n * pages when it paginates and handed back a cursor to continue from.\n *\n * @param isPaginated whether the provider returned a paginated result\n * @param cursor the cursor to continue from, or null when there is none\n */\n hasMorePages(isPaginated, cursor) {\n return isPaginated && cursor !== null;\n }\n shouldBlockCategory(category, categories) {\n if (!this.searchStates[category]) {\n return false;\n }\n return categories.slice(0, categories.indexOf(category)).some((c) => {\n const categoryState = this.searchStates[c];\n return categoryState && ['loading', 'blocked'].includes(categoryState.status);\n });\n }\n patchStates(next) {\n Object.keys(next).forEach((category) => {\n const categoryState = { ...this.searchStates[category], ...next[category] };\n this.searchStates[category] = categoryState;\n });\n this.onChange?.(this.getSnapshot());\n }\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","/*!\n * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { onUnmounted, shallowRef } from 'vue';\nimport { UnifiedSearchController } from '../services/UnifiedSearchController.ts';\n/**\n * Reactive adapter over UnifiedSearchController for use in an SFC.\n */\nexport function useUnifiedSearch() {\n const searchStates = shallowRef({});\n const controller = new UnifiedSearchController((states) => {\n searchStates.value = states;\n });\n onUnmounted(() => {\n controller.dispose();\n });\n return {\n searchStates,\n search: controller.search.bind(controller),\n loadMore: controller.loadMore.bind(controller),\n reset: controller.reset.bind(controller),\n };\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=7b80d2c4&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=7b80d2c4&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=7b80d2c4&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=7b80d2c4&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 \"7b80d2c4\",\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('UnifiedSearchInput',{ref:\"searchInput\",attrs:{\"query\":_vm.queryText,\"expanded\":_vm.showUnifiedSearch,\"activeDescendantId\":_vm.activeDescendantId,\"filtersRevealed\":_vm.filtersRevealed},on:{\"click\":_vm.openModal,\"open-filters\":_vm.onOpenFilters,\"close\":_vm.onClose,\"update:query\":function($event){_vm.queryText = $event},\"navigate\":_vm.onNavigate,\"activate\":_vm.onActivate}}),_vm._v(\" \"),(_vm.supportsLocalSearch)?_c('UnifiedSearchLocalSearchBar',{attrs:{\"open\":_vm.showLocalSearch,\"query\":_vm.queryText},on:{\"globalSearch\":_vm.openModal,\"update:open\":function($event){_vm.showLocalSearch = $event},\"update:query\":function($event){_vm.queryText = $event}}}):_vm._e(),_vm._v(\" \"),_c('UnifiedSearchModal',{ref:\"searchModal\",attrs:{\"localSearch\":_vm.supportsLocalSearch,\"query\":_vm.queryText,\"open\":_vm.showUnifiedSearch,\"filtersRevealed\":_vm.filtersRevealed},on:{\"update:query\":function($event){_vm.queryText = $event},\"update:open\":function($event){_vm.showUnifiedSearch = $event},\"update:activeDescendant\":function($event){_vm.activeDescendantId = $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=9edc0a80&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=9edc0a80&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=9edc0a80&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=9edc0a80&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 \"9edc0a80\",\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-5a4f6249]{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-5a4f6249]{display:flex;align-items:center;padding-inline-end:5px}.chip .icon img[data-v-5a4f6249]{width:20px;padding:2px;border-radius:20px;filter:var(--background-invert-if-bright)}.chip .text[data-v-5a4f6249]{margin:0 2px}.chip .close-button[data-v-5a4f6249]{display:flex;align-items:center;width:auto;min-width:0;min-height:0;margin:0;padding:0;border:none;background:rgba(0,0,0,0);color:inherit;cursor:pointer;border-radius:var(--border-radius-element, 8px)}.chip .close-button[data-v-5a4f6249]:hover{filter:invert(20%)}.chip .close-button[data-v-5a4f6249]:focus-visible{outline:2px solid var(--color-main-text);outline-offset:1px}`, \"\",{\"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,qCACI,YAAA,CACA,kBAAA,CACA,UAAA,CACA,WAAA,CACA,YAAA,CACA,QAAA,CACA,SAAA,CACA,WAAA,CACA,wBAAA,CACA,aAAA,CACA,cAAA,CACA,+CAAA,CAEA,2CACI,kBAAA,CAGJ,mDACI,wCAAA,CACA,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-button {\\n display: flex;\\n align-items: center;\\n width: auto;\\n min-width: 0;\\n min-height: 0;\\n margin: 0;\\n padding: 0;\\n border: none;\\n background: transparent;\\n color: inherit;\\n cursor: pointer;\\n border-radius: var(--border-radius-element, 8px);\\n\\n &:hover {\\n filter: invert(20%);\\n }\\n\\n &:focus-visible {\\n outline: 2px solid var(--color-main-text);\\n outline-offset: 1px;\\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-57583211] a{border:2px solid rgba(0,0,0,0);border-radius:var(--border-radius-large) !important}.result-item[data-v-57583211] a:active,.result-item[data-v-57583211] a:hover,.result-item[data-v-57583211] a:focus{background-color:var(--color-background-hover);border:2px solid var(--color-border-maxcontrast)}.result-item[data-v-57583211] a *{cursor:pointer}.result-item__icon[data-v-57583211]{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-57583211]{border-radius:calc(var(--default-clickable-area)/2)}.result-item__icon--no-preview[data-v-57583211]{background-size:32px}.result-item__icon--with-thumbnail[data-v-57583211]{background-size:cover}.result-item__icon--with-thumbnail[data-v-57583211]: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-57583211]{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-66bd6570]{padding:calc(var(--default-grid-baseline)*3);display:flex;flex-direction:column;align-items:center;width:250px}.searchable-list__list[data-v-66bd6570]{width:100%;max-height:284px;overflow-y:auto;margin-top:var(--default-grid-baseline);padding:var(--default-grid-baseline)}.searchable-list__list[data-v-66bd6570] .button-vue{border-radius:var(--border-radius-large) !important}.searchable-list__list[data-v-66bd6570] .button-vue span{font-weight:initial}.searchable-list__empty-content[data-v-66bd6570]{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, `.unified-search-input[data-v-54238e2f]{position:relative;z-index:51}.unified-search-input[data-v-54238e2f]:not(.unified-search-input--mobile){display:flex;align-items:center;width:clamp(200px,35vw,600px);max-width:calc(100% - 32px)}.unified-search-input--mobile[data-v-54238e2f]{display:contents}.unified-search-input__field[data-v-54238e2f]{--resting-background: rgba(0, 0, 0, 0.15);--resting-background-hover: rgba(0, 0, 0, 0.22);--search-icon-pad: 12px;--search-icon-size: 20px;--search-icon-gap: 8px;--search-anim-duration: 240ms;--search-anim-easing: cubic-bezier(0.22, 1, 0.36, 1);position:relative;container-type:inline-size;display:flex;align-items:center;height:var(--default-clickable-area);width:100%;border-radius:var(--border-radius-element, 8px);box-shadow:inset 0 2px 0 rgba(0,0,0,.12);background-color:var(--resting-background);-webkit-backdrop-filter:var(--filter-background-blur);backdrop-filter:var(--filter-background-blur);transition:background-color var(--search-anim-duration) var(--search-anim-easing),box-shadow var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__field[data-v-54238e2f]:hover:not(.unified-search-input__field--active){background-color:var(--resting-background-hover)}.unified-search-input__field--active[data-v-54238e2f]{background-color:var(--color-main-background);box-shadow:none}.unified-search-input__resting[data-v-54238e2f]{--slide-sign: 1;position:absolute;inset-block:0;inset-inline-start:var(--search-icon-pad);max-width:calc(100% - 2*var(--search-icon-pad));display:flex;align-items:center;gap:var(--search-icon-gap);pointer-events:none;color:color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));transform:translateX(calc(var(--slide-sign) * (50cqi - 50% - var(--search-icon-pad))));transition:transform var(--search-anim-duration) var(--search-anim-easing),color var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__field--active .unified-search-input__resting[data-v-54238e2f]{transform:translateX(0);color:var(--color-text-maxcontrast)}.unified-search-input__label[data-v-54238e2f]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition:opacity var(--search-anim-duration) var(--search-anim-easing)}.unified-search-input__resting--filled .unified-search-input__label[data-v-54238e2f]{opacity:0}.unified-search-input__resting[data-v-54238e2f] .material-design-icon__svg{display:block;transform:translateY(1px)}.unified-search-input__input[data-v-54238e2f]{flex:1;min-width:0;height:100%;margin:0;padding-inline:calc(var(--search-icon-pad) + var(--search-icon-size) + var(--search-icon-gap)) var(--search-icon-pad);border:none !important;border-radius:0 !important;box-shadow:none !important;background-color:rgba(0,0,0,0);color:var(--color-main-text);font-size:var(--default-font-size)}.unified-search-input__input[data-v-54238e2f]::placeholder{opacity:1;color:var(--color-text-maxcontrast)}.unified-search-input__input[data-v-54238e2f]:focus-visible{outline:none}.unified-search-input__clear[data-v-54238e2f],.unified-search-input__filter[data-v-54238e2f]{flex-shrink:0;margin-inline-end:2px}.unified-search-input__shortcut[data-v-54238e2f]{position:absolute;inset-inline-end:var(--default-grid-baseline);top:50%;transform:translateY(-50%);display:flex;pointer-events:none}@container (max-width: 400px){.unified-search-input__shortcut[data-v-54238e2f]{display:none}}.unified-search-input__shortcut[data-v-54238e2f] kbd{min-width:12px;height:12px;padding-inline:5px;border:1px solid color-mix(in srgb, var(--color-background-plain-text) 20%, transparent);border-block-end-width:2px;border-radius:var(--border-radius-small, 4px);color:color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));font-size:13px}[data-theme-dark] .unified-search-input__field[data-v-54238e2f],[data-theme-dark-highcontrast] .unified-search-input__field[data-v-54238e2f]{--resting-background: color-mix(in srgb, var(--color-primary-element) 16%, transparent);--resting-background-hover: color-mix(in srgb, var(--color-primary-element) 22%, transparent)}[dir=rtl] .unified-search-input__resting[data-v-54238e2f]{--slide-sign: -1}@media(prefers-reduced-motion: reduce){.unified-search-input__resting[data-v-54238e2f],.unified-search-input__resting span[data-v-54238e2f]{transition:none}}.unified-search-input--mobile[data-v-54238e2f] .header-menu{height:var(--default-clickable-area)}.unified-search-input--mobile[data-v-54238e2f] .header-menu__trigger{--button-size: var(--default-clickable-area) !important;height:var(--default-clickable-area) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue{--color-main-text: var(--color-background-plain-text);color:var(--color-background-plain-text);border-radius:var(--border-radius-element) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:hover:not(:disabled){background-color:rgba(0,0,0,.1) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:active:not(:disabled){background-color:rgba(0,0,0,.15) !important}.unified-search-input--mobile[data-v-54238e2f] .button-vue:focus-visible{background-color:rgba(0,0,0,.1) !important;outline:none !important;box-shadow:inset 0 0 0 2px var(--color-background-plain-text) !important}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/UnifiedSearchInput.vue\"],\"names\":[],\"mappings\":\"AACA,uCAGC,iBAAA,CACA,UAAA,CAEA,0EACC,YAAA,CACA,kBAAA,CACA,6BAAA,CACA,2BAAA,CAGD,+CACC,gBAAA,CAGD,8CACC,yCAAA,CACA,+CAAA,CAGA,uBAAA,CACA,wBAAA,CACA,sBAAA,CAGA,6BAAA,CACA,oDAAA,CACA,iBAAA,CAEA,0BAAA,CACA,YAAA,CACA,kBAAA,CAGA,oCAAA,CACA,UAAA,CACA,+CAAA,CACA,wCAAA,CAEA,0CAAA,CACA,qDAAA,CACA,6CAAA,CAEA,kJACC,CAGD,8FACC,gDAAA,CAID,sDACC,6CAAA,CACA,eAAA,CAQF,gDACC,eAAA,CACA,iBAAA,CACA,aAAA,CACA,yCAAA,CACA,+CAAA,CACA,YAAA,CACA,kBAAA,CACA,0BAAA,CACA,mBAAA,CACA,+FAAA,CACA,sFAAA,CACA,sIACC,CAGD,qFACC,uBAAA,CACA,mCAAA,CAOF,8CACC,eAAA,CACA,kBAAA,CACA,sBAAA,CACA,wEAAA,CAGD,qFACC,SAAA,CAOD,2EACC,aAAA,CACA,yBAAA,CAKD,8CACC,MAAA,CACA,WAAA,CACA,WAAA,CACA,QAAA,CAGA,qHAAA,CAIA,sBAAA,CACA,0BAAA,CACA,0BAAA,CACA,8BAAA,CACA,4BAAA,CACA,kCAAA,CAEA,2DACC,SAAA,CACA,mCAAA,CAGD,4DACC,YAAA,CAIF,6FAEC,aAAA,CACA,qBAAA,CAKD,iDACC,iBAAA,CACA,6CAAA,CACA,OAAA,CACA,0BAAA,CACA,YAAA,CACA,mBAAA,CAKA,8BAXD,iDAYE,YAAA,CAAA,CAGD,qDACC,cAAA,CACA,WAAA,CACA,kBAAA,CACA,wFAAA,CACA,0BAAA,CACA,6CAAA,CACA,+FAAA,CACA,cAAA,CAOH,6IAEC,uFAAA,CACA,6FAAA,CAKD,0DACC,gBAAA,CAKD,uCACC,qGAEC,eAAA,CAAA,CAKF,4DACC,oCAAA,CAGD,qEACC,uDAAA,CACA,+CAAA,CAGD,2DACC,qDAAA,CACA,wCAAA,CACA,qDAAA,CAEA,gFACC,0CAAA,CAGD,iFACC,2CAAA,CAGD,yEACC,0CAAA,CACA,uBAAA,CACA,wEAAA\",\"sourcesContent\":[\"\\n.unified-search-input {\\n\\t// Paints above the modal root (z-index: 50) so the header input stays clickable\\n\\t// over the scrim while the popover is open. Keep 51 one above that value.\\n\\tposition: relative;\\n\\tz-index: 51;\\n\\n\\t&:not(.unified-search-input--mobile) {\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\twidth: clamp(200px, 35vw, 600px);\\n\\t\\tmax-width: calc(100% - 32px);\\n\\t}\\n\\n\\t&--mobile {\\n\\t\\tdisplay: contents;\\n\\t}\\n\\n\\t&__field {\\n\\t\\t--resting-background: rgba(0, 0, 0, 0.15);\\n\\t\\t--resting-background-hover: rgba(0, 0, 0, 0.22);\\n\\t\\t// Shared geometry: the resting group and the input's leading padding read the\\n\\t\\t// same tokens so the placeholder and the typed value line up.\\n\\t\\t--search-icon-pad: 12px;\\n\\t\\t--search-icon-size: 20px;\\n\\t\\t--search-icon-gap: 8px;\\n\\t\\t// One shared timing for every focus transition (background, the icon/label\\n\\t\\t// slide, the recolour) so they move together. easeOutQuart = soft landing.\\n\\t\\t--search-anim-duration: 240ms;\\n\\t\\t--search-anim-easing: cubic-bezier(0.22, 1, 0.36, 1);\\n\\t\\tposition: relative;\\n\\t\\t// Query container so the resting group can centre itself with cqi units\\n\\t\\tcontainer-type: inline-size;\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\t// Match the default clickable area so the inner (which the global\\n\\t\\t// input reset forces to that height) fills the field without an override.\\n\\t\\theight: var(--default-clickable-area);\\n\\t\\twidth: 100%;\\n\\t\\tborder-radius: var(--border-radius-element, 8px);\\n\\t\\tbox-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.12);\\n\\t\\t// Resting: subdued \\\"button\\\" look that sits on the themed header\\n\\t\\tbackground-color: var(--resting-background);\\n\\t\\t-webkit-backdrop-filter: var(--filter-background-blur);\\n\\t\\tbackdrop-filter: var(--filter-background-blur);\\n\\t\\t// Blue tint -> white surface on the shared timing, in step with the slide.\\n\\t\\ttransition:\\n\\t\\t\\tbackground-color var(--search-anim-duration) var(--search-anim-easing),\\n\\t\\t\\tbox-shadow var(--search-anim-duration) var(--search-anim-easing);\\n\\n\\t\\t&:hover:not(.unified-search-input__field--active) {\\n\\t\\t\\tbackground-color: var(--resting-background-hover);\\n\\t\\t}\\n\\n\\t\\t// Active: real input surface once focused or filled\\n\\t\\t&--active {\\n\\t\\t\\tbackground-color: var(--color-main-background);\\n\\t\\t\\tbox-shadow: none;\\n\\t\\t}\\n\\t}\\n\\n\\t// Anchored at the leading edge and translated to the centre while at rest; on\\n\\t// focus (--active) the translate goes to 0 and it slides into place. Centre offset\\n\\t// is pure CSS: half the field (50cqi) minus half the group (50%) minus the pad, so\\n\\t// it self-corrects for any placeholder length or field width.\\n\\t&__resting {\\n\\t\\t--slide-sign: 1;\\n\\t\\tposition: absolute;\\n\\t\\tinset-block: 0;\\n\\t\\tinset-inline-start: var(--search-icon-pad);\\n\\t\\tmax-width: calc(100% - 2 * var(--search-icon-pad));\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\tgap: var(--search-icon-gap);\\n\\t\\tpointer-events: none;\\n\\t\\tcolor: color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));\\n\\t\\ttransform: translateX(calc(var(--slide-sign) * (50cqi - 50% - var(--search-icon-pad))));\\n\\t\\ttransition:\\n\\t\\t\\ttransform var(--search-anim-duration) var(--search-anim-easing),\\n\\t\\t\\tcolor var(--search-anim-duration) var(--search-anim-easing);\\n\\n\\t\\t.unified-search-input__field--active & {\\n\\t\\t\\ttransform: translateX(0);\\n\\t\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\t}\\n\\t}\\n\\n\\t// Placeholder text inside the resting group. Ellipsised, and hidden once typing\\n\\t// starts so it doesn't overlap the value. Scoped to the label class so the sibling\\n\\t// magnifier (also rendered as a ) stays visible.\\n\\t&__label {\\n\\t\\toverflow: hidden;\\n\\t\\twhite-space: nowrap;\\n\\t\\ttext-overflow: ellipsis;\\n\\t\\ttransition: opacity var(--search-anim-duration) var(--search-anim-easing);\\n\\t}\\n\\n\\t&__resting--filled &__label {\\n\\t\\topacity: 0;\\n\\t}\\n\\n\\t// The material-design icon is inline (baseline-aligned), which leaves a\\n\\t// descender gap and makes the glyph sit high even when its box is centred.\\n\\t// Render it as a block so it fills its box, then nudge 1px down to sit on the\\n\\t// text's optical centre (a geometrically centred glyph reads slightly high).\\n\\t&__resting :deep(.material-design-icon__svg) {\\n\\t\\tdisplay: block;\\n\\t\\ttransform: translateY(1px);\\n\\t}\\n\\n\\t// Only visible once active (at rest it's empty and covered by the overlay),\\n\\t// so it's styled for the active/white surface throughout.\\n\\t&__input {\\n\\t\\tflex: 1;\\n\\t\\tmin-width: 0;\\n\\t\\theight: 100%;\\n\\t\\tmargin: 0;\\n\\t\\t// Leading space so the placeholder/value starts one gap past the magnifier,\\n\\t\\t// matching the resting group exactly. Trailing padding mirrors the leading pad.\\n\\t\\tpadding-inline: calc(var(--search-icon-pad) + var(--search-icon-size) + var(--search-icon-gap)) var(--search-icon-pad);\\n\\t\\t// Opt out of NC's global input chrome (core/css/inputs.scss adds a border,\\n\\t\\t// radius and focus box-shadow to any text input not in its exclusion list).\\n\\t\\t// !important because that global focus rule outweighs a scoped class.\\n\\t\\tborder: none !important;\\n\\t\\tborder-radius: 0 !important;\\n\\t\\tbox-shadow: none !important;\\n\\t\\tbackground-color: transparent;\\n\\t\\tcolor: var(--color-main-text);\\n\\t\\tfont-size: var(--default-font-size);\\n\\n\\t\\t&::placeholder {\\n\\t\\t\\topacity: 1;\\n\\t\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\t}\\n\\n\\t\\t&:focus-visible {\\n\\t\\t\\toutline: none;\\n\\t\\t}\\n\\t}\\n\\n\\t&__clear,\\n\\t&__filter {\\n\\t\\tflex-shrink: 0;\\n\\t\\tmargin-inline-end: 2px;\\n\\t}\\n\\n\\t// Pinned to the trailing edge, overlaid on the input (pointer-events: none so a\\n\\t// click there still focuses the field).\\n\\t&__shortcut {\\n\\t\\tposition: absolute;\\n\\t\\tinset-inline-end: var(--default-grid-baseline);\\n\\t\\ttop: 50%;\\n\\t\\ttransform: translateY(-50%);\\n\\t\\tdisplay: flex;\\n\\t\\tpointer-events: none;\\n\\n\\t\\t// On a narrow field the centred placeholder runs under the hint, so drop it\\n\\t\\t// below a usable width. Keyed to the field's own inline-size (its container),\\n\\t\\t// not the viewport, so it holds however crowded the header gets.\\n\\t\\t@container (max-width: 400px) {\\n\\t\\t\\tdisplay: none;\\n\\t\\t}\\n\\n\\t\\t:deep(kbd) {\\n\\t\\t\\tmin-width: 12px;\\n\\t\\t\\theight: 12px;\\n\\t\\t\\tpadding-inline: 5px;\\n\\t\\t\\tborder: 1px solid color-mix(in srgb, var(--color-background-plain-text) 20%, transparent);\\n\\t\\t\\tborder-block-end-width: 2px;\\n\\t\\t\\tborder-radius: var(--border-radius-small, 4px);\\n\\t\\t\\tcolor: color-mix(in srgb, var(--color-background-plain-text) 70%, var(--color-background-plain));\\n\\t\\t\\tfont-size: 13px;\\n\\t\\t}\\n\\t}\\n}\\n\\n// On dark themes the plain overlay is nearly invisible on the header, so tint\\n// the resting background with the primary colour instead.\\n[data-theme-dark] .unified-search-input__field,\\n[data-theme-dark-highcontrast] .unified-search-input__field {\\n\\t--resting-background: color-mix(in srgb, var(--color-primary-element) 16%, transparent);\\n\\t--resting-background-hover: color-mix(in srgb, var(--color-primary-element) 22%, transparent);\\n}\\n\\n// translateX is physical, so flip the resting slide under RTL to keep it moving\\n// toward the leading (right) edge.\\n[dir=rtl] .unified-search-input__resting {\\n\\t--slide-sign: -1;\\n}\\n\\n// Respect reduced-motion: keep the end states but drop the slide/fade so nothing\\n// animates on focus.\\n@media (prefers-reduced-motion: reduce) {\\n\\t.unified-search-input__resting,\\n\\t.unified-search-input__resting span {\\n\\t\\ttransition: none;\\n\\t}\\n}\\n\\n// Mobile: NcHeaderButton styling to match the other header items\\n.unified-search-input--mobile :deep(.header-menu) {\\n\\theight: var(--default-clickable-area);\\n}\\n\\n.unified-search-input--mobile :deep(.header-menu__trigger) {\\n\\t--button-size: var(--default-clickable-area) !important;\\n\\theight: var(--default-clickable-area) !important;\\n}\\n\\n.unified-search-input--mobile :deep(.button-vue) {\\n\\t--color-main-text: var(--color-background-plain-text);\\n\\tcolor: var(--color-background-plain-text);\\n\\tborder-radius: var(--border-radius-element) !important;\\n\\n\\t&:hover:not(:disabled) {\\n\\t\\tbackground-color: rgba(0, 0, 0, 0.1) !important;\\n\\t}\\n\\n\\t&:active:not(:disabled) {\\n\\t\\tbackground-color: rgba(0, 0, 0, 0.15) !important;\\n\\t}\\n\\n\\t&:focus-visible {\\n\\t\\tbackground-color: rgba(0, 0, 0, 0.1) !important;\\n\\t\\toutline: none !important;\\n\\t\\tbox-shadow: inset 0 0 0 2px var(--color-background-plain-text) !important;\\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\";\nimport ___CSS_LOADER_GET_URL_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/getUrl.js\";\nvar ___CSS_LOADER_URL_IMPORT_0___ = new URL(\"data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z%27/%3E%3C/svg%3E\", import.meta.url);\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\nvar ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.unified-search-modal-root[data-v-7b80d2c4]{position:absolute;inset-block-start:100%;inset-inline:0;z-index:50 !important;margin-block-start:6px;display:flex;justify-content:center}.unified-search-modal__scrim[data-v-7b80d2c4]{position:fixed;inset:0;z-index:0;--backdrop-color: 0, 0, 0;background-color:rgba(var(--backdrop-color), 0.5)}.unified-search-modal__container[data-v-7b80d2c4]{position:relative;z-index:1;display:flex;flex-direction:column;flex-shrink:0;width:600px;max-width:90vw;max-height:calc(90vh - var(--header-height));border-radius:var(--border-radius-container, var(--border-radius-rounded));overflow:hidden;background-color:var(--color-main-background);color:var(--color-main-text);box-shadow:0 0 40px rgba(0,0,0,.2);transition:transform 240ms cubic-bezier(0.22, 1, 0.36, 1)}@media only screen and ((max-width: 512px) or (max-height: 400px)){.unified-search-modal-root[data-v-7b80d2c4]{position:fixed;inset-block-start:var(--header-height);inset-inline:0;inset-block-end:0;margin-block-start:0}.unified-search-modal__container[data-v-7b80d2c4]{width:100%;max-width:initial;height:100%;max-height:initial;border-radius:0}}.unified-search-modal-enter-active[data-v-7b80d2c4],.unified-search-modal-leave-active[data-v-7b80d2c4]{transition:opacity 250ms}.unified-search-modal-enter[data-v-7b80d2c4],.unified-search-modal-leave-to[data-v-7b80d2c4]{opacity:0}.unified-search-modal-enter .unified-search-modal__container[data-v-7b80d2c4],.unified-search-modal-leave-to .unified-search-modal__container[data-v-7b80d2c4]{transform:translateY(-6px)}@media(prefers-reduced-motion: reduce){.unified-search-modal__container[data-v-7b80d2c4]{transition:none}.unified-search-modal-enter .unified-search-modal__container[data-v-7b80d2c4],.unified-search-modal-leave-to .unified-search-modal__container[data-v-7b80d2c4]{transform:none}}.unified-search-modal__header[data-v-7b80d2c4]{background-color:var(--color-main-background);padding-inline:12px;position:sticky;top:6px;z-index:1}.unified-search-modal__header--has-results[data-v-7b80d2c4]{padding-bottom:12px;border-bottom:1px solid var(--color-border)}.unified-search-modal__mobile-input[data-v-7b80d2c4]{display:flex;align-items:center;gap:4px;margin-block-end:8px}.unified-search-modal__mobile-input[data-v-7b80d2c4] .input-field{flex:1 1 auto}.unified-search-modal__filters[data-v-7b80d2c4]{display:flex;flex-wrap:wrap;gap:4px;justify-content:start;padding-top:6px}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-7b80d2c4],.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-7b80d2c4],.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-7b80d2c4]{flex:1 1 0;min-width:0}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-7b80d2c4] .v-popper,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-7b80d2c4] .v-popper,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-7b80d2c4] .v-popper{display:block;width:100%}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-7b80d2c4] .button-vue__wrapper,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-7b80d2c4] .button-vue__wrapper,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-7b80d2c4] .button-vue__wrapper{justify-content:center}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-7b80d2c4] .button-vue,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-7b80d2c4] .button-vue,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-7b80d2c4] .button-vue{position:relative;width:100%;padding-inline:calc(var(--default-grid-baseline)*6)}.unified-search-modal__filters>[data-cy-unified-search-filter=places][data-v-7b80d2c4] .button-vue::after,.unified-search-modal__filters>[data-cy-unified-search-filter=date][data-v-7b80d2c4] .button-vue::after,.unified-search-modal__filters>[data-cy-unified-search-filter=people][data-v-7b80d2c4] .button-vue::after{content:\"\";position:absolute;inset-inline-end:calc(var(--default-grid-baseline)*2);inset-block:0;margin-block:auto;width:16px;height:16px;background-color:currentColor;mask-image:url(${___CSS_LOADER_URL_REPLACEMENT_0___});mask-repeat:no-repeat;mask-position:center;mask-size:contain}.unified-search-modal__search-external-resources[data-v-7b80d2c4] span.checkbox-content{padding-top:0;padding-bottom:0}.unified-search-modal__search-external-resources[data-v-7b80d2c4] .checkbox-content__icon{margin:auto !important}.unified-search-modal__search-external-resources--aligned[data-v-7b80d2c4]{margin-inline-start:auto}.unified-search-modal__filters-applied[data-v-7b80d2c4]{padding-top:4px;display:flex;flex-wrap:wrap}.unified-search-modal__no-content[data-v-7b80d2c4]{display:flex;align-items:center;margin-top:.5em;height:70%}.unified-search-modal__results[data-v-7b80d2c4]{flex:1 1 auto;min-height:0;overflow:hidden auto;padding-inline:12px;padding-block:0 12px}.unified-search-modal__results .result-title[data-v-7b80d2c4]{color:var(--color-primary-element);font-size:16px;margin-block:8px 4px}.unified-search-modal__results .result-footer[data-v-7b80d2c4]{justify-content:space-between;align-items:center;display:flex}.unified-search-modal__results .result--unfiltered[data-v-7b80d2c4]{opacity:.7}.unified-search-modal__unfiltered-header[data-v-7b80d2c4]{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-7b80d2c4]{font-weight:bold;color:var(--color-text-maxcontrast)}.filter-button__icon[data-v-7b80d2c4]{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-7b80d2c4]{overflow:unset}}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/UnifiedSearch/UnifiedSearchModal.vue\"],\"names\":[],\"mappings\":\"AAKA,4CACC,iBAAA,CACA,sBAAA,CACA,cAAA,CAGA,qBAAA,CACA,sBAAA,CACA,YAAA,CACA,sBAAA,CAKD,8CACC,cAAA,CACA,OAAA,CACA,SAAA,CACA,yBAAA,CACA,iDAAA,CAKD,kDACC,iBAAA,CACA,SAAA,CACA,YAAA,CACA,qBAAA,CAGA,aAAA,CACA,WAAA,CACA,cAAA,CAEA,4CAAA,CACA,0EAAA,CAEA,eAAA,CACA,6CAAA,CACA,4BAAA,CACA,kCAAA,CAGA,yDAAA,CAID,mEACC,4CAGC,cAAA,CACA,sCAAA,CACA,cAAA,CACA,iBAAA,CACA,oBAAA,CAGD,kDACC,UAAA,CACA,iBAAA,CACA,WAAA,CACA,kBAAA,CACA,eAAA,CAAA,CAKF,wGAEC,wBAAA,CAGD,6FAEC,SAAA,CAGD,+JAEC,0BAAA,CAKD,uCACC,kDACC,eAAA,CAGD,+JAEC,cAAA,CAAA,CAKD,+CAEC,6CAAA,CAEA,mBAAA,CAEA,eAAA,CACA,OAAA,CACA,SAAA,CAIA,4DACC,mBAAA,CACA,2CAAA,CAIF,qDACC,YAAA,CACA,kBAAA,CACA,OAAA,CACA,oBAAA,CAEA,kEACC,aAAA,CAIF,gDACC,YAAA,CACA,cAAA,CACA,OAAA,CACA,qBAAA,CACA,eAAA,CAIA,mQAGC,UAAA,CACA,WAAA,CAEA,iSACC,aAAA,CACA,UAAA,CAID,kUACC,sBAAA,CAID,uSACC,iBAAA,CACA,UAAA,CACA,mDAAA,CAEA,4TACC,UAAA,CACA,iBAAA,CACA,qDAAA,CACA,aAAA,CACA,iBAAA,CACA,UAAA,CACA,WAAA,CACA,6BAAA,CACA,kDAAA,CACA,qBAAA,CACA,oBAAA,CACA,iBAAA,CAOH,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,gDAEC,aAAA,CACA,YAAA,CACA,oBAAA,CAEA,mBAAA,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\\n// Anchor the popover under the header input (the .unified-search-menu parent is\\n// the positioning context) instead of centering it in the viewport. The scrim is\\n// fixed separately so it still dims the whole page.\\n.unified-search-modal-root {\\n\\tposition: absolute;\\n\\tinset-block-start: 100%;\\n\\tinset-inline: 0;\\n\\t// One below the header input (z-index: 51) and above the page. !important wins\\n\\t// the stacking cascade inside the themed #header.\\n\\tz-index: 50 !important;\\n\\tmargin-block-start: 6px;\\n\\tdisplay: flex;\\n\\tjustify-content: center;\\n}\\n\\n// Backdrop, mirrors NcModal's .modal-mask. Fixed so it covers the whole viewport\\n// regardless of the anchored root.\\n.unified-search-modal__scrim {\\n\\tposition: fixed;\\n\\tinset: 0;\\n\\tz-index: 0;\\n\\t--backdrop-color: 0, 0, 0;\\n\\tbackground-color: rgba(var(--backdrop-color), 0.5);\\n}\\n\\n// Dialog panel: NcModal's \\\"normal\\\" chrome, but width-matched to the header input\\n// and anchored under it, growing downward and scrolling internally when tall.\\n.unified-search-modal__container {\\n\\tposition: relative;\\n\\tz-index: 1;\\n\\tdisplay: flex;\\n\\tflex-direction: column;\\n\\t// Match the previous unified-search modal (NcModal \\\"normal\\\" size). flex-shrink: 0\\n\\t// stops the flex parent from collapsing it below 600px when the menu is narrower.\\n\\tflex-shrink: 0;\\n\\twidth: 600px;\\n\\tmax-width: 90vw;\\n\\t// Leave ~10vh below the panel so it does not reach the bottom of the page\\n\\tmax-height: calc(90vh - var(--header-height));\\n\\tborder-radius: var(--border-radius-container, var(--border-radius-rounded));\\n\\t// Clip the header/results to the rounded corners\\n\\toverflow: hidden;\\n\\tbackground-color: var(--color-main-background);\\n\\tcolor: var(--color-main-text);\\n\\tbox-shadow: 0 0 40px rgba(0, 0, 0, 0.2);\\n\\t// The panel slides down into place; the enter/leave classes set the start offset.\\n\\t// Same easeOutQuart curve as the header input so the whole search UI moves in step.\\n\\ttransition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);\\n}\\n\\n// Fullscreen on small viewports, mirrors NcModal's responsive breakpoint\\n@media only screen and ((max-width: 512px) or (max-height: 400px)) {\\n\\t.unified-search-modal-root {\\n\\t\\t// Fill the viewport below the header bar, leaving it visible and interactive\\n\\t\\t// (matches the previous unified search and the rest of the mobile chrome).\\n\\t\\tposition: fixed;\\n\\t\\tinset-block-start: var(--header-height);\\n\\t\\tinset-inline: 0;\\n\\t\\tinset-block-end: 0;\\n\\t\\tmargin-block-start: 0;\\n\\t}\\n\\n\\t.unified-search-modal__container {\\n\\t\\twidth: 100%;\\n\\t\\tmax-width: initial;\\n\\t\\theight: 100%;\\n\\t\\tmax-height: initial;\\n\\t\\tborder-radius: 0;\\n\\t}\\n}\\n\\n// Open/close animation: the backdrop fades while the panel slides down from the top\\n.unified-search-modal-enter-active,\\n.unified-search-modal-leave-active {\\n\\ttransition: opacity 250ms;\\n}\\n\\n.unified-search-modal-enter,\\n.unified-search-modal-leave-to {\\n\\topacity: 0;\\n}\\n\\n.unified-search-modal-enter .unified-search-modal__container,\\n.unified-search-modal-leave-to .unified-search-modal__container {\\n\\ttransform: translateY(-6px);\\n}\\n\\n// Respect reduced-motion: keep the backdrop cross-fade (opacity is not motion) but\\n// drop the panel slide so nothing moves on open/close.\\n@media (prefers-reduced-motion: reduce) {\\n\\t.unified-search-modal__container {\\n\\t\\ttransition: none;\\n\\t}\\n\\n\\t.unified-search-modal-enter .unified-search-modal__container,\\n\\t.unified-search-modal-leave-to .unified-search-modal__container {\\n\\t\\ttransform: none;\\n\\t}\\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: 12px;\\n\\t\\t// Make it sticky with the input margin for the label\\n\\t\\tposition: sticky;\\n\\t\\ttop: 6px;\\n\\t\\tz-index: 1;\\n\\n\\t\\t// Some padding to make elements scrolled under sticky position look nicer.\\n\\t\\t// Only when there are results to scroll: otherwise it just adds a dead gap.\\n\\t\\t&--has-results {\\n\\t\\t\\tpadding-bottom: 12px;\\n\\t\\t\\tborder-bottom: 1px solid var(--color-border);\\n\\t\\t}\\n\\t}\\n\\n\\t&__mobile-input {\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\tgap: 4px;\\n\\t\\tmargin-block-end: 8px;\\n\\n\\t\\t:deep(.input-field) {\\n\\t\\t\\tflex: 1 1 auto;\\n\\t\\t}\\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: 6px;\\n\\n\\t\\t// The three category triggers split the row into thirds; any extra controls\\n\\t\\t// (local search, connected-services switch) keep their size and wrap below.\\n\\t\\t> [data-cy-unified-search-filter=\\\"places\\\"],\\n\\t\\t> [data-cy-unified-search-filter=\\\"date\\\"],\\n\\t\\t> [data-cy-unified-search-filter=\\\"people\\\"] {\\n\\t\\t\\tflex: 1 1 0;\\n\\t\\t\\tmin-width: 0;\\n\\n\\t\\t\\t:deep(.v-popper) {\\n\\t\\t\\t\\tdisplay: block;\\n\\t\\t\\t\\twidth: 100%;\\n\\t\\t\\t}\\n\\n\\t\\t\\t// Centre [icon] label; the chevron is pinned to the trailing edge below.\\n\\t\\t\\t:deep(.button-vue__wrapper) {\\n\\t\\t\\t\\tjustify-content: center;\\n\\t\\t\\t}\\n\\n\\t\\t\\t// NcActions exposes no dropdown chevron, so paint one at the trailing edge.\\n\\t\\t\\t:deep(.button-vue) {\\n\\t\\t\\t\\tposition: relative;\\n\\t\\t\\t\\twidth: 100%;\\n\\t\\t\\t\\tpadding-inline: calc(var(--default-grid-baseline) * 6);\\n\\n\\t\\t\\t\\t&::after {\\n\\t\\t\\t\\t\\tcontent: '';\\n\\t\\t\\t\\t\\tposition: absolute;\\n\\t\\t\\t\\t\\tinset-inline-end: calc(var(--default-grid-baseline) * 2);\\n\\t\\t\\t\\t\\tinset-block: 0;\\n\\t\\t\\t\\t\\tmargin-block: auto;\\n\\t\\t\\t\\t\\twidth: 16px;\\n\\t\\t\\t\\t\\theight: 16px;\\n\\t\\t\\t\\t\\tbackground-color: currentColor;\\n\\t\\t\\t\\t\\tmask-image: url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E\\\");\\n\\t\\t\\t\\t\\tmask-repeat: no-repeat;\\n\\t\\t\\t\\t\\tmask-position: center;\\n\\t\\t\\t\\t\\tmask-size: contain;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\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\\t// Take the remaining panel height and scroll internally (container has a max-height)\\n\\t\\tflex: 1 1 auto;\\n\\t\\tmin-height: 0;\\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: 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-9edc0a80]{position:relative;display:flex;align-items:center;justify-content:center}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/views/UnifiedSearch.vue\"],\"names\":[],\"mappings\":\"AAEA,sCAEC,iBAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA\",\"sourcesContent\":[\"\\n// this is needed to allow us overriding component styles (focus-visible)\\n.unified-search-menu {\\n\\t// Positioning context so the results popover can anchor under the input\\n\\tposition: relative;\\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__(89472)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","vue_material_design_icons_FilterVariantvue_type_script_lang_js","name","emits","props","title","type","String","fillColor","default","size","Number","FilterVariant","componentNormalizer","A","_vm","this","_c","_self","_b","staticClass","attrs","role","on","click","$event","$emit","$attrs","fill","width","height","viewBox","d","_v","_s","_e","vue_material_design_icons_Magnifyvue_type_script_lang_js","Magnify","UnifiedSearch_UnifiedSearchInputvue_type_script_setup_true_lang_ts","_defineComponent","__name","expanded","Boolean","activeDescendantId","query","filtersRevealed","setup","__props","expose","emit","isSmallMobile","useIsSmallMobile","placeholderText","t","directionByKey","ArrowDown","ArrowUp","fieldRef","ref","inputRef","isFocused","isActive","computed","value","length","showFunnel","focus","__sfc","resultsContainerId","onFocusOut","event","contains","relatedTarget","onInput","target","openFilters","clearOrClose","focused","document","activeElement","blur","onKeyDown","isComposing","key","direction","preventDefault","l10n_dist","NcButton","NcHeaderButton","NcHeaderButton_MEyDJghO","N","NcKbd","NcKbd_CXJA9sCj","IconClose","Close","IconFilterVariant","IconMagnify","options","styleTagTransform","styleTagTransform_default","setAttributes","setAttributesWithoutAttributes_default","insert","insertBySelector_default","bind","domAPI","styleDomAPI_default","insertStyleElement","insertStyleElement_default","injectStylesIntoStyleTag_default","UnifiedSearchInputvue_type_style_index_0_id_54238e2f_prod_lang_scss_scoped_true","locals","UnifiedSearchInput","_setup","_setupProxy","class","id","ariaLabel","scopedSlots","_u","fn","proxy","focusin","focusout","undefined","domProps","input","keydown","variant","symbol","UnifiedSearch_UnifiedSearchLocalSearchBarvue_type_script_lang_ts_setup_true","open","_useCssVars","dfb017de","searchGlobalButtonCSSWidth","searchInput","watchEffect","isMobile","useIsMobile","searchGlobalButton","searchGlobalButtonWidth","useElementSize","clearAndCloseSearch","mdiClose","mdi","hyP","mdiCloudSearchOutline","ydM","Tl","NcIconSvgWrapper","NcInputField","UnifiedSearchLocalSearchBarvue_type_style_index_0_id_2b577e50_prod_scoped_true_lang_scss_options","UnifiedSearchLocalSearchBarvue_type_style_index_0_id_2b577e50_prod_scoped_true_lang_scss","UnifiedSearchLocalSearchBar","placeholder","path","vue_material_design_icons_AccountMultipleOutlinevue_type_script_lang_js","AccountMultipleOutline","vue_material_design_icons_CalendarBlankOutlinevue_type_script_lang_js","CalendarBlankOutline","vue_material_design_icons_Filtervue_type_script_lang_js","Filter","vue_material_design_icons_ShapeOutlinevue_type_script_lang_js","ShapeOutline","vue_material_design_icons_CalendarRangevue_type_script_lang_js","CalendarRange","UnifiedSearch_CustomDateRangeModalvue_type_script_lang_js","components","NcModal","CalendarRangeIcon","NcDateTimePicker","isOpen","required","data","dateFilter","startFrom","endAt","isModalOpen","get","set","methods","closeModal","applyCustomRange","CustomDateRangeModalvue_type_style_index_0_id_2907014b_prod_lang_scss_scoped_true_options","CustomDateRangeModalvue_type_style_index_0_id_2907014b_prod_lang_scss_scoped_true","CustomDateRangeModal","show","close","label","model","callback","$$v","$set","expression","vue_material_design_icons_AlertCircleOutlinevue_type_script_lang_js","AlertCircleOutline","UnifiedSearch_SearchableListvue_type_script_lang_js","IconAlertCircleOutline","NcAvatar","NcEmptyContent","NcPopover","NcTextField","labelText","searchList","Array","emptyContentText","opened","error","searchTerm","filteredList","filter","element","toLowerCase","some","prop","includes","clearSearch","setOpened","itemSelected","searchTermChanged","term","SearchableListvue_type_style_index_0_id_66bd6570_prod_lang_scss_scoped_true_options","SearchableListvue_type_style_index_0_id_66bd6570_prod_lang_scss_scoped_true","SearchableList","shown","hide","_t","_l","displayName","alignment","wide","isUser","user","UnifiedSearch_SearchFilterChipvue_type_script_lang_js","CloseIcon","text","pretext","removeLabel","deleteChip","SearchFilterChipvue_type_style_index_0_id_5a4f6249_prod_lang_scss_scoped_true_options","SearchFilterChipvue_type_style_index_0_id_5a4f6249_prod_lang_scss_scoped_true","SearchFilterChip","UnifiedSearch_SearchResultvue_type_script_lang_js","NcListItem","thumbnailUrl","subline","resourceUrl","icon","rounded","elementId","active","thumbnailHasError","watch","isValidIconOrPreviewUrl","url","test","startsWith","thumbnailErrorHandler","SearchResultvue_type_style_index_0_id_57583211_prod_lang_scss_scoped_true_options","SearchResultvue_type_style_index_0_id_57583211_prod_lang_scss_scoped_true","SearchResult","bold","href","style","backgroundImage","src","logger","getCurrentUser","getLoggerBuilder","setApp","build","setUid","uid","unifiedSearchLogger","detectUser","async","getProviders","axios","generateOcsUrl","params","from","window","location","pathname","replace","search","ocs","isArray","cursor","since","until","limit","person","extraQueries","cancelToken","CancelToken","source","request","token","cancel","getContacts","contacts","post","generateUrl","authenticatedUser","fullName","emailAddresses","unshift","UnifiedSearchController","constructor","onChange","_defineProperty","categories","cancelPendingRequests","searchStates","searchGeneration","generation","startRevealTimer","Promise","allSettled","map","category","searchCategory","loadMore","categoryState","hasMore","status","patchStates","loadMoreFailed","unifiedSearch","pendingCancels","push","response","entries","isPaginated","hasMorePages","getSnapshot","dispose","stopBackgroundWork","reset","shouldBlockCategory","reconcileCategoryStatuses","forEach","stopRevealTimer","revealTimer","setTimeout","Object","keys","hasPendingCategories","unblockAllCategories","clearTimeout","slice","indexOf","c","next","useSearchStore","defineStore","state","externalFilters","actions","registerExternalFilter","appId","searchFrom","isPluginFilter","UnifiedSearchModalvue_type_script_lang_ts","defineComponent","IconAccountMultipleOutline","IconArrowRight","ArrowRight","IconCalendarBlankOutline","IconDotsHorizontal","DotsHorizontal","IconFilter","IconShapeOutline","FilterChip","NcActions","NcActionButton","NcCheckboxRadioSwitch","localSearch","currentLocation","useBrowserLocation","searchStore","shallowRef","controller","states","onUnmounted","useUnifiedSearch","providers","providerActionMenuIsOpen","dateActionMenuIsOpen","personFilter","filteredProviders","searchQuery","placessearchTerm","dateTimeFilter","filters","showDateRangeModal","initialized","searchExternalResources","activeIndex","minSearchLength","loadState","focusTrap","isEmptySearch","providerFilterActive","dateFilterActive","personFilterActive","hasAnyActiveFilter","showFilterRow","searching","values","hasNoResults","results","isSearchQueryTooShort","showEmptyContentInfo","emptyContentMessage","n","userContacts","debouncedFind","debounce","find","debouncedFilterContacts","filterContacts","hasExternalResources","provider","isExternalProvider","hasContentFilters","contentFilterTypes","providerId","p","supportsActiveFilters","providerIsCompatibleWithFilters","filteredResults","isInFolderAtRoot","result","extraParams","filteredResultUrls","urls","Set","entry","add","unfilteredResults","has","navigableRows","rows","index","rowElementId","activeRow","liveMessage","hasVisibleResults","addEventListener","onEscapeKey","$nextTick","activateFocusTrap","all","then","groupProvidersByApp","mapContacts","debug","catch","removeEventListener","deactivateFocusTrap","immediate","handler","previous","reconcileActiveIndex","scrollActiveIntoView","mounted","subscribe","handlePluginFilter","onUpdateOpen","onScrimClick","onMobileSearchInput","stack","_nc_focus_trap","at","panel","$refs","menu","$el","closest","inputContainer","querySelector","containers","markRaw","createFocusTrap","initialFocus","escapeDeactivates","allowOutsideClick","trapStack","activate","returnFocus","deactivate","searchLocally","searchable","buildCategoryParams","toISOString","contact","isNoUser","subname","applyPersonFilter","existingPersonFilter","findIndex","loadMoreResultsForProvider","addProviderFilter","providerFilter","isProviderFilterApplied","existingFilterIndex","existing","splice","syncProviderFilters","removeFilter","i","firstArray","secondArray","synchronizedArray","item","itemId","secondItem","updateDateFilter","currFilterIndex","applyQuickDateRange","range","today","Date","startDate","endDate","getFullYear","getMonth","getDate","setCustomDateRange","toLocaleDateString","getCanonicalLocale","addFilterEvent","filterUpdateText","compatibleProviderIndex","filterParams","groupedByProviderApp","flattenedArray","group","filterIds","baseProvider","every","filterId","enableAllProviders","_","disabled","unfiltered","moveActive","count","current","Math","min","max","activateActive","openResourceUrl","assign","getElementById","scrollIntoView","block","selectedId","row","UnifiedSearch_UnifiedSearchModalvue_type_script_lang_ts","UnifiedSearchModalvue_type_style_index_0_id_7b80d2c4_prod_lang_scss_scoped_true_options","UnifiedSearchModalvue_type_style_index_0_id_7b80d2c4_prod_lang_scss_scoped_true","UnifiedSearchModal","appear","modelValue","showTrailingButton","trailingButtonLabel","directives","rawName","alt","closeAfterClick","pressed","delete","disableMenu","hideStatus","hideFavorite","providerResult","inAppSearch","views_UnifiedSearchvue_type_script_lang_ts","queryText","showUnifiedSearch","showLocalSearch","debouncedQueryUpdate","emitUpdatedQuery","supportsLocalSearch","appHandlesSearchShortcut","OCP","Accessibility","disableKeyboardShortcuts","beforeDestroy","ctrlKey","toggleUnifiedSearch","focusSearch","metaKey","openModal","focusInput","onNavigate","modal","searchModal","onActivate","onOpenFilters","onClose","UnifiedSearchvue_type_style_index_0_id_9edc0a80_prod_lang_scss_scoped_true_options","UnifiedSearchvue_type_style_index_0_id_9edc0a80_prod_lang_scss_scoped_true","UnifiedSearch","navigate","globalSearch","__webpack_nonce__","getCSPNonce","Vue","mixin","OCA","registerFilterAction","use","PiniaVuePlugin","pinia","createPinia","el","unified_search_pinia","render","h","___CSS_LOADER_EXPORT___","_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default","_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default","module","version","sources","names","mappings","sourcesContent","sourceRoot","__WEBPACK_DEFAULT_EXPORT__","___CSS_LOADER_URL_IMPORT_0___","URL","__webpack_require__","b","___CSS_LOADER_URL_REPLACEMENT_0___","_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default","__webpack_module_cache__","moduleId","cachedModule","exports","loaded","__webpack_modules__","call","m","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","r","getter","__esModule","a","definition","o","defineProperty","enumerable","e","resolve","obj","prototype","hasOwnProperty","Symbol","toStringTag","nmd","paths","children","baseURI","self","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","globalThis","nc","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file From 319a6497947dcf4f7f95c140da0169fdea9523e5 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 29 Jul 2026 17:01:05 +0200 Subject: [PATCH 3/6] chore: remove deprecated global aliases for OC functions Those aliases were deprecated since Nextcloud 17 and scheduled for removal since Nextcloud 20. No app uses them except `oc_requesttoken` for which I reported this: - https://github.com/nextcloud/passman/issues/869 Signed-off-by: Ferdinand Thiessen --- core/src/globals.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/core/src/globals.js b/core/src/globals.js index 4d2867203b5c1..3c5e36645b3d4 100644 --- a/core/src/globals.js +++ b/core/src/globals.js @@ -1,4 +1,3 @@ -/* eslint-disable @nextcloud/no-deprecated-globals */ /*! * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later @@ -10,7 +9,6 @@ import moment from 'moment' import _ from 'underscore' import { initCore } from './init.js' import OC from './OC/index.js' -import { getRequestToken } from './OC/requesttoken.ts' import OCA from './OCA/index.js' import OCP from './OCP/index.js' @@ -55,15 +53,6 @@ setDeprecatedProp('moment', () => moment, 'please ship your own, this will be re window.OC = OC setDeprecatedProp('initCore', () => initCore, 'this is an internal function') -setDeprecatedProp('oc_appswebroots', () => OC.appswebroots, 'use OC.appswebroots instead, this will be removed in Nextcloud 20') -setDeprecatedProp('oc_config', () => OC.config, 'use OC.config instead, this will be removed in Nextcloud 20') -setDeprecatedProp('oc_current_user', () => OC.getCurrentUser().uid, 'use OC.getCurrentUser().uid instead, this will be removed in Nextcloud 20') -setDeprecatedProp('oc_debug', () => OC.debug, 'use OC.debug instead, this will be removed in Nextcloud 20') -setDeprecatedProp('oc_defaults', () => OC.theme, 'use OC.theme instead, this will be removed in Nextcloud 20') -setDeprecatedProp('oc_isadmin', OC.isUserAdmin, 'use OC.isUserAdmin() instead, this will be removed in Nextcloud 20') -setDeprecatedProp('oc_requesttoken', () => getRequestToken(), 'use OC.requestToken instead, this will be removed in Nextcloud 20') -setDeprecatedProp('oc_webroot', () => OC.webroot, 'use OC.getRootPath() instead, this will be removed in Nextcloud 20') -setDeprecatedProp('OCDialogs', () => OC.dialogs, 'use OC.dialogs instead, this will be removed in Nextcloud 20') window.OCP = OCP window.OCA = OCA From 84380c5d51eb6b8188a9bf498d089620548e219e Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Wed, 29 Jul 2026 23:28:11 +0000 Subject: [PATCH 4/6] chore(assets): Recompile assets Signed-off-by: nextcloud-command --- dist/core-main.js | 4 ++-- dist/core-main.js.map | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/core-main.js b/dist/core-main.js index c48c431996a71..f0fbca914b876 100644 --- a/dist/core-main.js +++ b/dist/core-main.js @@ -1,2 +1,2 @@ -(()=>{var e,r,n,o={58595(e,r,n){"use strict";var o={};n.r(o),n.d(o,{VERSION:()=>f,after:()=>Ue,all:()=>ir,allKeys:()=>wt,any:()=>ar,assign:()=>Ut,before:()=>Fe,bind:()=>ke,bindAll:()=>Ie,chain:()=>Ce,chunk:()=>Hr,clone:()=>Vt,collect:()=>Ze,compact:()=>Rr,compose:()=>Be,constant:()=>it,contains:()=>sr,countBy:()=>wr,create:()=>Ht,debounce:()=>Pe,default:()=>Wr,defaults:()=>Ft,defer:()=>Me,delay:()=>je,detect:()=>Je,difference:()=>Mr,drop:()=>Tr,each:()=>Qe,escape:()=>fe,every:()=>ir,extend:()=>Bt,extendOwn:()=>Ut,filter:()=>nr,find:()=>Je,findIndex:()=>qe,findKey:()=>He,findLastIndex:()=>We,findWhere:()=>Xe,first:()=>Or,flatten:()=>jr,foldl:()=>er,foldr:()=>rr,forEach:()=>Qe,functions:()=>Lt,get:()=>Yt,groupBy:()=>Ar,has:()=>Kt,head:()=>Or,identity:()=>Jt,include:()=>sr,includes:()=>sr,indexBy:()=>br,indexOf:()=>Ye,initial:()=>kr,inject:()=>er,intersection:()=>Dr,invert:()=>Pt,invoke:()=>cr,isArguments:()=>rt,isArray:()=>Z,isArrayBuffer:()=>q,isBoolean:()=>P,isDataView:()=>Q,isDate:()=>F,isElement:()=>L,isEmpty:()=>vt,isEqual:()=>bt,isError:()=>H,isFinite:()=>nt,isFunction:()=>$,isMap:()=>Tt,isMatch:()=>gt,isNaN:()=>ot,isNull:()=>M,isNumber:()=>U,isObject:()=>j,isRegExp:()=>z,isSet:()=>Rt,isString:()=>B,isSymbol:()=>V,isTypedArray:()=>ft,isUndefined:()=>N,isWeakMap:()=>It,isWeakSet:()=>jt,iteratee:()=>ee,keys:()=>ht,last:()=>Ir,lastIndexOf:()=>Ke,map:()=>Ze,mapObject:()=>ne,matcher:()=>Xt,matches:()=>Xt,max:()=>fr,memoize:()=>Re,methods:()=>Lt,min:()=>pr,mixin:()=>qr,negate:()=>De,noop:()=>oe,now:()=>ce,object:()=>Fr,omit:()=>Er,once:()=>ze,pairs:()=>Nt,partial:()=>Ee,partition:()=>xr,pick:()=>Sr,pluck:()=>ur,property:()=>Qt,propertyOf:()=>ie,random:()=>se,range:()=>zr,reduce:()=>er,reduceRight:()=>rr,reject:()=>or,rest:()=>Tr,restArguments:()=>R,result:()=>be,sample:()=>vr,select:()=>nr,shuffle:()=>gr,size:()=>Cr,some:()=>ar,sortBy:()=>mr,sortedIndex:()=>Ge,tail:()=>Tr,take:()=>Or,tap:()=>qt,template:()=>Ae,templateSettings:()=>de,throttle:()=>Ne,times:()=>ae,toArray:()=>hr,toPath:()=>Wt,transpose:()=>Br,unescape:()=>pe,union:()=>Lr,uniq:()=>Pr,unique:()=>Pr,uniqueId:()=>xe,unzip:()=>Br,values:()=>Mt,where:()=>lr,without:()=>Nr,wrap:()=>Le,zip:()=>Ur});var i={};n.r(i),n.d(i,{clearIconCache:()=>hi,getIconUrl:()=>pi});var a={};n.r(a),n.d(a,{deleteKey:()=>Ni,getApps:()=>Ii,getKeys:()=>Ri,getValue:()=>ji,setValue:()=>Mi});var s={};n.r(s),n.d(s,{formatLinksPlain:()=>Vi,formatLinksRich:()=>Hi,plainToRich:()=>Fi,richToPlain:()=>zi});var c=n(21777),u=n(44368),l=n(63814),f="1.13.8",p="object"==typeof self&&self.self===self&&self||"object"==typeof globalThis&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},d=Array.prototype,h=Object.prototype,v="undefined"!=typeof Symbol?Symbol.prototype:null,g=d.push,m=d.slice,y=h.toString,A=h.hasOwnProperty,b="undefined"!=typeof ArrayBuffer,w="undefined"!=typeof DataView,x=Array.isArray,C=Object.keys,_=Object.create,S=b&&ArrayBuffer.isView,E=isNaN,k=isFinite,O=!{toString:null}.propertyIsEnumerable("toString"),T=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],I=Math.pow(2,53)-1;function R(t,e){return e=null==e?t.length-1:+e,function(){for(var r=Math.max(arguments.length-e,0),n=Array(r),o=0;o=0&&r<=I}}function st(t){return function(e){return null==e?void 0:e[t]}}const ct=st("byteLength"),ut=at(ct);var lt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const ft=b?function(t){return S?S(t)&&!Q(t):ut(t)&<.test(y.call(t))}:it(!1),pt=st("length");function dt(t,e){e=function(t){for(var e={},r=t.length,n=0;n=0))if(n.push(t),o.push(e),r.push(!0),c){if((f=t.length)!==e.length)return!1;for(;f--;)r.push({a:t[f],b:e[f]})}else{var p,d=ht(t);if(f=d.length,ht(e).length!==f)return!1;for(;f--;){if(!tt(e,p=d[f]))return!1;r.push({a:t[p],b:e[p]})}}}else n.pop(),o.pop()}return!0}function wt(t){if(!j(t))return[];var e=[];for(var r in t)e.push(r);return O&&dt(t,e),e}function xt(t){var e=pt(t);return function(r){if(null==r)return!1;var n=wt(r);if(pt(n))return!1;for(var o=0;o":">",'"':""","'":"'","`":"`"},fe=ue(le),pe=ue(Pt(le)),de=mt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var he=/(.)^/,ve={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ge=/\\|'|\r|\n|\u2028|\u2029/g;function me(t){return"\\"+ve[t]}var ye=/^\s*(\w|\$)+\s*$/;function Ae(t,e,r){!e&&r&&(e=r),e=Ft({},e,mt.templateSettings);var n=RegExp([(e.escape||he).source,(e.interpolate||he).source,(e.evaluate||he).source].join("|")+"|$","g"),o=0,i="__p+='";t.replace(n,function(e,r,n,a,s){return i+=t.slice(o,s).replace(ge,me),o=s+e.length,r?i+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?i+="'+\n((__t=("+n+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),e}),i+="';\n";var a,s=e.variable;if(s){if(!ye.test(s))throw new Error("variable is not a bare identifier: "+s)}else i="with(obj||{}){\n"+i+"}\n",s="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{a=new Function(s,"_",i)}catch(t){throw t.source=i,t}var c=function(t){return a.call(this,t,mt)};return c.source="function("+s+"){\n"+i+"}",c}function be(t,e,r){var n=(e=Gt(e)).length;if(!n)return $(r)?r.call(t):r;for(var o=0;o=a){if(!s.length)break;var c=s.pop();i=c.i,t=c.v,a=pt(t)}else{var u=t[i++];s.length>=e?n[o++]=u:Oe(u)&&(Z(u)||rt(u))?(s.push({i,v:t}),i=0,a=pt(t=u)):r||(n[o++]=u)}return n}const Ie=R(function(t,e){var r=(e=Te(e,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=e[r];t[n]=ke(t[n],t)}return t});function Re(t,e){var r=function(n){var o=r.cache,i=""+(e?e.apply(this,arguments):n);return tt(o,i)||(o[i]=t.apply(this,arguments)),o[i]};return r.cache={},r}const je=R(function(t,e,r){return setTimeout(function(){return t.apply(null,r)},e)}),Me=Ee(je,mt,1);function Ne(t,e,r){var n,o,i,a,s=0;r||(r={});var c=function(){s=!1===r.leading?0:ce(),n=null,a=t.apply(o,i),n||(o=i=null)},u=function(){var u=ce();s||!1!==r.leading||(s=u);var l=e-(u-s);return o=this,i=arguments,l<=0||l>e?(n&&(clearTimeout(n),n=null),s=u,a=t.apply(o,i),n||(o=i=null)):n||!1===r.trailing||(n=setTimeout(c,l)),a};return u.cancel=function(){clearTimeout(n),s=0,n=o=i=null},u}function Pe(t,e,r){var n,o,i,a,s,c=function(){var u=ce()-o;e>u?n=setTimeout(c,e-u):(n=null,r||(a=t.apply(s,i)),n||(i=s=null))},u=R(function(u){return s=this,i=u,o=ce(),n||(n=setTimeout(c,e),r&&(a=t.apply(s,i))),a});return u.cancel=function(){clearTimeout(n),n=i=s=null},u}function Le(t,e){return Ee(e,t)}function De(t){return function(){return!t.apply(this,arguments)}}function Be(){var t=arguments,e=t.length-1;return function(){for(var r=e,n=t[e].apply(this,arguments);r--;)n=t[r].call(this,n);return n}}function Ue(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Fe(t,e){var r;return function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=null),r}}const ze=Ee(Fe,2);function He(t,e,r){e=re(e,r);for(var n,o=ht(t),i=0,a=o.length;i0?0:o-1;i>=0&&i0?a=i>=0?i:Math.max(i+s,a):s=i>=0?Math.min(i+1,s):i+s+1;else if(r&&i&&s)return n[i=r(n,o)]===o?i:-1;if(o!=o)return(i=e(m.call(n,a,s),ot))>=0?i+a:-1;for(i=t>0?a:s-1;i>=0&&i=3;return function(e,r,n,o){var i=!Oe(e)&&ht(e),a=(i||e).length,s=t>0?0:a-1;for(o||(n=e[i?i[s]:s],s+=t);s>=0&&s=0}const cr=R(function(t,e,r){var n,o;return $(e)?o=e:(e=Gt(e),n=e.slice(0,-1),e=e[e.length-1]),Ze(t,function(t){var i=o;if(!i){if(n&&n.length&&(t=$t(t,n)),null==t)return;i=t[e]}return null==i?i:i.apply(t,r)})});function ur(t,e){return Ze(t,Qt(e))}function lr(t,e){return nr(t,Xt(e))}function fr(t,e,r){var n,o,i=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var s=0,c=(t=Oe(t)?t:Mt(t)).length;si&&(i=n);else e=re(e,r),Qe(t,function(t,r,n){((o=e(t,r,n))>a||o===-1/0&&i===-1/0)&&(i=t,a=o)});return i}function pr(t,e,r){var n,o,i=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var s=0,c=(t=Oe(t)?t:Mt(t)).length;sn||void 0===r)return 1;if(r1&&(n=Zt(n,e[1])),e=wt(t)):(n=_r,e=Te(e,!1,!1),t=Object(t));for(var o=0,i=e.length;o1&&(r=e[1])):(e=Ze(Te(e,!1,!1),String),n=function(t,r){return!sr(e,r)}),Sr(t,n,r)});function kr(t,e,r){return m.call(t,0,Math.max(0,t.length-(null==e||r?1:e)))}function Or(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[0]:kr(t,t.length-e)}function Tr(t,e,r){return m.call(t,null==e||r?1:e)}function Ir(t,e,r){return null==t||t.length<1?null==e||r?void 0:[]:null==e||r?t[t.length-1]:Tr(t,Math.max(0,t.length-e))}function Rr(t){return nr(t,Boolean)}function jr(t,e){return Te(t,e,!1)}const Mr=R(function(t,e){return e=Te(e,!0,!0),nr(t,function(t){return!sr(e,t)})}),Nr=R(function(t,e){return Mr(t,e)});function Pr(t,e,r,n){P(e)||(n=r,r=e,e=!1),null!=r&&(r=re(r,n));for(var o=[],i=[],a=0,s=pt(t);av.value.find(t=>t.teamId===g.value)?.displayName);async function y(t){p.value=""===t?(0,Yr.t)("core","Loading your contacts …"):(0,Yr.t)("core","Looking for {term} …",{term:t}),d.value=!1;try{const{data:e}=await u.Ay.post((0,l.Jv)("/contactsmenu/contacts"),{filter:t,teamId:"$_all_$"!==g.value?g.value:void 0});f.value=e.contacts,s.value=e.contactsAppEnabled,p.value=void 0}catch(e){jn.error("could not load contacts",{error:e,searchTerm:t}),d.value=!0}}(0,Xr.sV)(async()=>{const t=e.getItem("core:contacts:team");if(t&&(g.value=JSON.parse(t)),0===Nn.length)try{const{data:t}=await u.Ay.get((0,l.Jv)("/contactsmenu/teams"));Nn.push(...t)}catch(t){jn.error("could not load user teams",{error:t})}v.value=[...Nn]}),(0,Xr.wB)(g,()=>{e.setItem("core:contacts:team",JSON.stringify(g.value)),y(h.value)});const A=(0,tn.A)(function(){y(h.value)},500);function b(){(0,Xr.dY)(()=>{i.value?.focus(),i.value?.select()})}return{__sfc:!0,userTeams:Nn,storage:e,user:r,contactsAppURL:n,contactsAppMgmtURL:o,contactsMenuInput:i,actions:a,contactsAppEnabled:s,contacts:f,loadingText:p,hasError:d,searchTerm:h,teams:v,selectedTeam:g,selectedTeamName:m,onOpened:async function(){await y("")},getContacts:y,onInputDebounced:A,onReset:function(){h.value="",f.value=[],b()},focusInput:b,mdiAccountGroupOutline:Qr.dgQ,mdiContacts:Qr.aB4,mdiMagnify:Qr.U4M,t:Yr.t,NcActionButton:en.A,NcActions:rn.A,NcButton:nn.A,NcEmptyContent:on.A,NcHeaderMenu:an.A,NcIconSvgWrapper:sn.A,NcLoadingIcon:cn.A,NcTextField:un.A,ContactMenuEntry:In}}}),Ln=Pn;var Dn=n(32351),Bn={};Bn.styleTagTransform=En(),Bn.setAttributes=xn(),Bn.insert=bn().bind(null,"head"),Bn.domAPI=yn(),Bn.insertStyleElement=_n(),gn()(Dn.A,Bn),Dn.A&&Dn.A.locals&&Dn.A.locals;const Un=(0,Tn.A)(Ln,function(){var t=this,e=t._self._c,r=t._self._setupProxy;return e(r.NcHeaderMenu,{staticClass:"contactsmenu",attrs:{id:"contactsmenu","aria-label":r.t("core","Search contacts"),"exclude-click-outside-selectors":".v-popper__popper"},on:{open:r.onOpened},scopedSlots:t._u([{key:"trigger",fn:function(){return[e(r.NcIconSvgWrapper,{staticClass:"contactsmenu__trigger-icon",attrs:{path:r.mdiContacts}})]},proxy:!0}])},[t._v(" "),e("div",{staticClass:"contactsmenu__menu"},[e("div",{staticClass:"contactsmenu__menu__search-container"},[e("div",{staticClass:"contactsmenu__menu__input-wrapper"},[e(r.NcActions,{attrs:{"force-menu":"","aria-label":r.t("core","Filter by team"),variant:"tertiary"},scopedSlots:t._u([{key:"icon",fn:function(){return[e(r.NcIconSvgWrapper,{attrs:{path:r.mdiAccountGroupOutline}})]},proxy:!0},{key:"default",fn:function(){return[e(r.NcActionButton,{attrs:{modelValue:r.selectedTeam,value:"$_all_$",type:"radio"},on:{"update:modelValue":function(t){r.selectedTeam=t},"update:model-value":function(t){r.selectedTeam=t}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(r.t("core","All teams"))+"\n\t\t\t\t\t\t")]),t._v(" "),t._l(r.teams,function(n){return e(r.NcActionButton,{key:n.teamId,attrs:{modelValue:r.selectedTeam,value:n.teamId,type:"radio"},on:{"update:modelValue":function(t){r.selectedTeam=t},"update:model-value":function(t){r.selectedTeam=t}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(n.displayName)+"\n\t\t\t\t\t\t")])})]},proxy:!0}])}),t._v(" "),e(r.NcTextField,{ref:"contactsMenuInput",staticClass:"contactsmenu__menu__search",attrs:{id:"contactsmenu__menu__search","trailing-button-icon":"close",label:r.selectedTeamName?r.t("core","Search contacts in team {team}",{team:r.selectedTeamName}):r.t("core","Search contacts …"),"trailing-button-label":r.t("core","Reset search"),"show-trailing-button":""!==r.searchTerm,type:"search"},on:{input:r.onInputDebounced,"trailing-button-click":r.onReset},model:{value:r.searchTerm,callback:function(t){r.searchTerm=t},expression:"searchTerm"}})],1),t._v(" "),t._l(r.actions,function(n){return e(r.NcButton,{key:n.id,staticClass:"contactsmenu__menu__action",attrs:{"aria-label":n.label,title:n.label,variant:"tertiary-no-background"},on:{click:n.onClick},scopedSlots:t._u([{key:"icon",fn:function(){return[e(r.NcIconSvgWrapper,{attrs:{svg:n.icon}})]},proxy:!0}],null,!0)})})],2),t._v(" "),r.hasError?e(r.NcEmptyContent,{attrs:{name:r.t("core","Could not load your contacts")},scopedSlots:t._u([{key:"icon",fn:function(){return[e(r.NcIconSvgWrapper,{attrs:{path:r.mdiMagnify}})]},proxy:!0}],null,!1,1853740774)}):r.loadingText?e(r.NcEmptyContent,{attrs:{name:r.loadingText},scopedSlots:t._u([{key:"icon",fn:function(){return[e(r.NcLoadingIcon)]},proxy:!0}])}):0===r.contacts.length?e(r.NcEmptyContent,{attrs:{name:r.t("core","No contacts found")},scopedSlots:t._u([{key:"icon",fn:function(){return[e(r.NcIconSvgWrapper,{attrs:{path:r.mdiMagnify}})]},proxy:!0}])}):e("div",{staticClass:"contactsmenu__menu__content"},[e("div",{attrs:{id:"contactsmenu-contacts"}},[e("ul",{attrs:{"aria-label":r.t("core","Contacts list")}},t._l(r.contacts,function(t){return e(r.ContactMenuEntry,{key:t.id,attrs:{contact:t}})}),1)]),t._v(" "),r.contactsAppEnabled?e("div",{staticClass:"contactsmenu__menu__content__footer"},[e(r.NcButton,{attrs:{variant:"tertiary",href:r.contactsAppURL}},[t._v("\n\t\t\t\t\t"+t._s(r.t("core","Show all contacts"))+"\n\t\t\t\t")])],1):r.user.isAdmin?e("div",{staticClass:"contactsmenu__menu__content__footer"},[e(r.NcButton,{attrs:{variant:"tertiary",href:r.contactsAppMgmtURL}},[t._v("\n\t\t\t\t\t"+t._s(r.t("core","Install the Contacts app"))+"\n\t\t\t\t")])],1):t._e()])],1)])},[],!1,null,"253ecd69",null).exports;class Fn{constructor(){(function(t,e,r){(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r})(this,"_actions",void 0),this._actions=[]}get actions(){return this._actions}addAction(t){this._actions.push(t)}}var zn=n(61338),Hn=n(81222),Vn=n(54562);const qn={name:"CogIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wn=(0,Tn.A)(qn,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon cog-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:"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,Gn={name:"DotsGridIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$n=(0,Tn.A)(Gn,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon dots-grid-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:"M12 16C13.1 16 14 16.9 14 18S13.1 20 12 20 10 19.1 10 18 10.9 16 12 16M12 10C13.1 10 14 10.9 14 12S13.1 14 12 14 10 13.1 10 12 10.9 10 12 10M12 4C13.1 4 14 4.9 14 6S13.1 8 12 8 10 7.1 10 6 10.9 4 12 4M6 16C7.1 16 8 16.9 8 18S7.1 20 6 20 4 19.1 4 18 4.9 16 6 16M6 10C7.1 10 8 10.9 8 12S7.1 14 6 14 4 13.1 4 12 4.9 10 6 10M6 4C7.1 4 8 4.9 8 6S7.1 8 6 8 4 7.1 4 6 4.9 4 6 4M18 16C19.1 16 20 16.9 20 18S19.1 20 18 20 16 19.1 16 18 16.9 16 18 16M18 10C19.1 10 20 10.9 20 12S19.1 14 18 14 16 13.1 16 12 16.9 10 18 10M18 4C19.1 4 20 4.9 20 6S19.1 8 18 8 16 7.1 16 6 16.9 4 18 4Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports,Yn=(0,Xr.pM)({__name:"AppItem",props:{app:null,newTab:{type:Boolean},outlined:{type:Boolean},tabindex:{default:-1}},setup(t){const e=t,r=(0,Xr.EW)(()=>{if(e.app.unread)return(0,Yr.n)("core","{count} notification","{count} notifications",e.app.unread,{count:e.app.unread})});return{__sfc:!0,props:e,unreadLabel:r}}});var Kn=n(17973),Jn={};Jn.styleTagTransform=En(),Jn.setAttributes=xn(),Jn.insert=bn().bind(null,"head"),Jn.domAPI=yn(),Jn.insertStyleElement=_n(),gn()(Kn.A,Jn),Kn.A&&Kn.A.locals&&Kn.A.locals;const Xn=(0,Tn.A)(Yn,function(){var t=this,e=t._self._c,r=t._self._setupProxy;return e("a",{staticClass:"app-item",class:{"app-item--active":t.app.active,"app-item--outlined":t.outlined},attrs:{href:t.app.href,target:t.newTab?"_blank":void 0,rel:t.newTab?"noopener noreferrer":void 0,"aria-current":t.app.active?"page":void 0,tabindex:t.tabindex,title:t.app.name,role:"menuitem"}},[e("span",{staticClass:"app-item__circle"},[e("img",{staticClass:"app-item__icon",attrs:{src:t.app.icon,alt:"","aria-hidden":"true"}}),t._v(" "),t.app.unread?e("span",{staticClass:"app-item__unread",attrs:{"aria-hidden":"true"}}):t._e()]),t._v(" "),e("span",{staticClass:"app-item__label"},[t._v("\n\t\t"+t._s(t.app.name)+"\n\t\t"),t.app.unread?e("span",{staticClass:"hidden-visually"},[t._v(", "+t._s(r.unreadLabel))]):t._e()])])},[],!1,null,"278c0168",null).exports,Qn=new Set(["logout"]),Zn=(0,Xr.pM)({name:"AppMenu",components:{AppItem:Xn,IconCog:Wn,IconDotsGrid:$n,NcButton:nn.A,NcPopover:Vn.A},setup(){const t=(0,Xr.KR)(!1);return{t:Yr.t,n:Yr.n,opened:t}},data:()=>({appList:(0,Hn.C)("core","apps",[]),settingsList:(0,Hn.C)("core","settingsNavEntries",{}),isAdmin:(0,c.HW)()?.isAdmin??!1,focusedIndex:0,openedFrom:null,moreAppsEntry:{id:"more-apps",active:!1,order:Number.MAX_SAFE_INTEGER,href:(0,l.Jv)("/settings/apps"),icon:(0,l.d0)("core","actions/add.svg"),type:"link",name:(0,Yr.t)("core","More apps"),unread:0},appStoreEntry:{id:"app-store",active:!1,order:Number.MAX_SAFE_INTEGER,href:"https://apps.nextcloud.com/",icon:(0,l.d0)("core","actions/add.svg"),type:"link",name:(0,Yr.t)("core","App store"),unread:0},popoverSkidding:(0,Yr.V8)()?82:-82}),computed:{currentApp(){return this.appList.find(t=>t.active)??Object.values(this.settingsList).find(t=>t.active&&!Qn.has(t.id))},displayName(){return this.currentApp?"settings"===this.currentApp.type?(0,Yr.t)("core","Settings"):this.currentApp.name:""},currentAppLabel(){return this.currentApp?(0,Yr.t)("core","Open apps menu, currently in {app}",{app:this.displayName}):(0,Yr.t)("core","Open apps menu")},gridItems(){const t=this.isAdmin?this.moreAppsEntry:this.appStoreEntry;return[...this.appList,t]}},watch:{opened(t){t&&(this.focusedIndex=this.activeGridIndex(),this.tryRecomputeGridMaxHeight(5))}},mounted(){(0,zn.B1)("nextcloud:app-menu.refresh",this.setApps),this.focusedIndex=this.activeGridIndex(),this.$refs.popover.$on("after-hide",this.onPopoverAfterHide)},beforeUnmount(){(0,zn.al)("nextcloud:app-menu.refresh",this.setApps),this.$refs.popover?.$off("after-hide",this.onPopoverAfterHide)},methods:{returnFocusTarget(){return"currentApp"===this.openedFrom?this.$el.querySelector(".app-menu__current-app"):this.$el.querySelector(".app-menu__waffle")},onPopoverAfterHide(){this.openedFrom=null},onTriggerClick(t){this.openedFrom=t,this.opened=!this.opened},setNavigationCounter(t,e){const r=this.appList.find(({app:e})=>e===t);r?r.unread=e:jn.warn(`Could not find app "${t}" for setting navigation count`)},setApps({apps:t}){this.appList=t,this.focusedIndex>=this.gridItems.length&&(this.focusedIndex=this.activeGridIndex())},tryRecomputeGridMaxHeight(t){!this.opened||t<=0||(this.$refs.grid?this.recomputeGridMaxHeight():requestAnimationFrame(()=>this.tryRecomputeGridMaxHeight(t-1)))},recomputeGridMaxHeight(){const t=this.$refs.grid;if(!t)return;const e=t.children;if(e.length<=24)return void(t.style.maxHeight="");const r=e[24],n=e[0];if(!r||!n)return;const o=r.getBoundingClientRect().top-n.getBoundingClientRect().top,i=parseFloat(getComputedStyle(t).getPropertyValue("--default-grid-baseline"))||4;t.style.maxHeight=`${o+6*i}px`},activeGridIndex(){const t=this.gridItems.findIndex(t=>t.active);return-1===t?0:t},async onGridKeydown(t){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey)return;if(0===this.gridItems.length)return;const e=this.gridItems.length,r=this.focusedIndex;let n=r;switch(t.key){case"ArrowRight":r%4!=3&&r+1=0&&(n=r-4);break;case"Home":n=0;break;case"End":n=e-1;break;case"Enter":case" ":{const e=this.$refs.items;return e?.[this.focusedIndex]?.$el?.click(),this.opened=!1,t.preventDefault(),void t.stopPropagation()}default:return}t.preventDefault(),t.stopPropagation(),n!==r&&(this.focusedIndex=n),await this.$nextTick();const o=this.$refs.items;o?.[this.focusedIndex]?.$el?.focus()}}});var to=n(27359),eo={};eo.styleTagTransform=En(),eo.setAttributes=xn(),eo.insert=bn().bind(null,"head"),eo.domAPI=yn(),eo.insertStyleElement=_n(),gn()(to.A,eo),to.A&&to.A.locals&&to.A.locals;var ro=n(23639),no={};no.styleTagTransform=En(),no.setAttributes=xn(),no.insert=bn().bind(null,"head"),no.domAPI=yn(),no.insertStyleElement=_n(),gn()(ro.A,no),ro.A&&ro.A.locals&&ro.A.locals;const oo=(0,Tn.A)(Zn,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("nav",{staticClass:"app-menu",attrs:{"aria-label":t.t("core","Applications")}},[e("NcPopover",{ref:"popover",attrs:{shown:t.opened,triggers:[],placement:"bottom-start",skidding:t.popoverSkidding,"set-return-focus":t.returnFocusTarget,"popover-base-class":"app-menu__popover-base","popup-role":"menu"},on:{"update:shown":function(e){t.opened=e}},scopedSlots:t._u([{key:"trigger",fn:function(){return[e("NcButton",{staticClass:"app-menu__waffle",attrs:{variant:"tertiary-no-background","aria-label":t.t("core","Open apps menu"),"aria-haspopup":"menu","aria-expanded":t.opened?"true":"false"},on:{click:function(e){return t.onTriggerClick("waffle")}},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconDotsGrid",{attrs:{size:20}})]},proxy:!0}])})]},proxy:!0}])},[t._v(" "),e("div",{staticClass:"app-menu__popover",attrs:{role:"menu","aria-label":t.t("core","Apps")}},[e("div",{ref:"grid",staticClass:"app-menu__grid",on:{keydown:t.onGridKeydown}},t._l(t.gridItems,function(r,n){return e("AppItem",{key:r.id,ref:"items",refInFor:!0,attrs:{app:r,outlined:"more-apps"===r.id||"app-store"===r.id,"new-tab":"app-store"===r.id,tabindex:n===t.focusedIndex?0:-1}})}),1)])]),t._v(" "),t.currentApp?e("NcButton",{staticClass:"app-menu__current-app",attrs:{variant:"tertiary-no-background","aria-label":t.currentAppLabel,"aria-haspopup":"menu","aria-expanded":t.opened?"true":"false"},on:{click:function(e){return t.onTriggerClick("currentApp")}},scopedSlots:t._u([{key:"icon",fn:function(){return["settings"===t.currentApp.type?e("IconCog",{staticClass:"app-menu__current-app-cog",attrs:{size:20}}):e("img",{staticClass:"app-menu__current-app-icon",attrs:{src:t.currentApp.icon,alt:"","aria-hidden":"true"}})]},proxy:!0}],null,!1,3821102756)},[t._v(" "),e("span",{staticClass:"app-menu__current-app-name"},[t._v("\n\t\t\t"+t._s(t.displayName)+"\n\t\t")])]):t._e()],1)},[],!1,null,"36dadc6d",null).exports;var io=n(87485),ao=n(1522);const so=(0,Hn.C)("core","versionHash",""),co=(0,Xr.pM)({name:"AccountMenuEntry",components:{NcListItem:ao.A,NcLoadingIcon:cn.A},props:{id:{type:String,required:!0},name:{type:String,required:!0},href:{type:String,required:!0},active:{type:Boolean,default:!1},icon:{type:String,default:""}},data:()=>({loading:!1}),computed:{iconSource(){return`${this.icon}?v=${so}`}},methods:{onClick(t){this.$emit("click",t),t.defaultPrevented||(this.loading=!0)}}});var uo=n(51286),lo={};lo.styleTagTransform=En(),lo.setAttributes=xn(),lo.insert=bn().bind(null,"head"),lo.domAPI=yn(),lo.insertStyleElement=_n(),gn()(uo.A,lo),uo.A&&uo.A.locals&&uo.A.locals;const fo=(0,Tn.A)(co,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("NcListItem",{staticClass:"account-menu-entry",attrs:{id:t.href?void 0:t.id,"anchor-id":t.id,active:t.active,compact:"",href:t.href,name:t.name,target:"_self"},on:{click:t.onClick},scopedSlots:t._u([{key:"icon",fn:function(){return[t.loading?e("NcLoadingIcon",{staticClass:"account-menu-entry__loading",attrs:{size:20}}):t.$scopedSlots.icon?t._t("icon"):e("img",{staticClass:"account-menu-entry__icon",class:{"account-menu-entry__icon--active":t.active},attrs:{src:t.iconSource,alt:""}})]},proxy:!0}])})},[],!1,null,"bdb908d2",null).exports;var po=n(77690),ho=n(98469);const vo={name:"QrcodeScanIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},go=(0,Tn.A)(vo,function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon qrcode-scan-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:"M4,4H10V10H4V4M20,4V10H14V4H20M14,15H16V13H14V11H16V13H18V11H20V13H18V15H20V18H18V20H16V18H13V20H11V16H14V15M16,15V18H18V15H16M4,20V14H10V20H4M6,6V8H8V6H6M16,6V8H18V6H16M6,16V18H8V16H6M4,11H6V13H4V11M9,11H13V15H11V13H9V11M11,6H13V10H11V6M2,2V6H0V2A2,2 0 0,1 2,0H6V2H2M22,0A2,2 0 0,1 24,2V6H22V2H18V0H22M2,18V22H6V24H2A2,2 0 0,1 0,22V18H2M22,22V18H24V22A2,2 0 0,1 22,24H18V22H22Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},[],!1,null,null,null).exports;var mo=n(17816),yo=n.n(mo),Ao=n(55581),bo=n(94219);const wo=(0,Xr.pM)({__name:"AccountQRLoginDialog",props:{data:null},emits:["close"],setup(t,{emit:e}){const r=t,n=window.OC.theme.productName,o=[{label:(0,Yr.t)("spreed","Done"),variant:"primary",callback:()=>{}}],i=3===(r.data?.deviceToken?.type??1),a=(0,Xr.EW)(()=>{const t=r.data?.loginName??"",e=r.data?.token??"";return`nc://${i?"onetime-login":"login"}/user:${t}&password:${e}&server:${(0,l.$_)()}`}),s=(r.data?.deviceToken?.lastActivity?1e3*r.data.deviceToken.lastActivity:Date.now())+12e4,c=setTimeout(()=>{f("expired")},s-Date.now()),u=(0,Ao.SX)(s);function f(t){clearTimeout(c),e("close",t)}return{__sfc:!0,props:r,emit:e,productName:n,buttons:o,isOneTimeToken:i,qrUrl:a,expirationTimestamp:s,expireTimeout:c,timeCountdown:u,onClosing:f,QR:yo(),t:Yr.t,NcDialog:bo.A}}}),xo=wo;var Co=n(35644),_o={};_o.styleTagTransform=En(),_o.setAttributes=xn(),_o.insert=bn().bind(null,"head"),_o.domAPI=yn(),_o.insertStyleElement=_n(),gn()(Co.A,_o),Co.A&&Co.A.locals&&Co.A.locals;const So=(0,Tn.A)(xo,function(){var t=this,e=t._self._c,r=t._self._setupProxy;return e(r.NcDialog,{attrs:{name:r.t("core","Scan QR code to log in"),buttons:r.buttons},on:{closing:r.onClosing}},[e("div",{staticClass:"qr-login__content"},[e("p",{staticClass:"qr-login__description"},[t._v("\n\t\t\t"+t._s(r.t("core","Use {productName} mobile client you want to connect to scan the code",{productName:r.productName}))+"\n\t\t")]),t._v(" "),e(r.QR,{attrs:{value:r.qrUrl}}),t._v(" "),r.isOneTimeToken?[t._v("\n\t\t\t"+t._s(r.t("core","Code will expire {timeCountdown} or after use",{timeCountdown:r.timeCountdown}))+"\n\t\t")]:t._e()],2)])},[],!1,null,null,null).exports;(0,po.IF)(u.Ay);const{profileEnabled:Eo}=(0,Hn.C)("user_status","profileEnabled",{profileEnabled:!1}),ko=(0,io.F)().core?.["can-create-app-token"]??!1,Oo=(0,Xr.pM)({name:"AccountMenuProfileEntry",components:{IconQrcodeScan:go,NcButton:nn.A,NcListItem:ao.A,NcLoadingIcon:cn.A},props:{id:{type:String,required:!0},name:{type:String,required:!0},href:{type:String,required:!0},active:{type:Boolean,required:!0}},setup:()=>({canCreateAppToken:ko,displayName:(0,c.HW)().displayName,profileEnabled:Eo,t:Yr.t}),data:()=>({loading:!1}),mounted(){(0,zn.B1)("settings:profile-enabled:updated",this.handleProfileEnabledUpdate),(0,zn.B1)("settings:display-name:updated",this.handleDisplayNameUpdate)},beforeDestroy(){(0,zn.al)("settings:profile-enabled:updated",this.handleProfileEnabledUpdate),(0,zn.al)("settings:display-name:updated",this.handleDisplayNameUpdate)},methods:{handleClick(){this.profileEnabled&&(this.loading=!0)},async handleQrCodeClick(){const{data:t}=await u.Ay.post((0,l.Jv)("/settings/personal/authtokens"),{qrcodeLogin:!0},{confirmPassword:po.mH.Strict});await(0,ho.S)(So,{data:t})},handleProfileEnabledUpdate(t){this.profileEnabled=t},handleDisplayNameUpdate(t){this.displayName=t}}}),To=Oo,Io=(0,Tn.A)(To,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("NcListItem",{attrs:{id:t.profileEnabled?void 0:t.id,"anchor-id":t.id,active:t.active,compact:"",href:t.profileEnabled?t.href:void 0,name:t.displayName,target:"_self"},scopedSlots:t._u([t.profileEnabled?{key:"subname",fn:function(){return[t._v("\n\t\t"+t._s(t.name)+"\n\t")]},proxy:!0}:null,t.canCreateAppToken?{key:"extra-actions",fn:function(){return[e("NcButton",{attrs:{"aria-label":t.t("core","Show QR code for mobile app login"),variant:"secondary"},on:{click:t.handleQrCodeClick},scopedSlots:t._u([{key:"icon",fn:function(){return[e("IconQrcodeScan",{attrs:{size:20}})]},proxy:!0}],null,!1,3784924786)})]},proxy:!0}:null,t.loading?{key:"indicator",fn:function(){return[e("NcLoadingIcon")]},proxy:!0}:null],null,!0)})},[],!1,null,null,null).exports,Ro=[{type:"online",label:(0,Yr.t)("user_status","Online")},{type:"away",label:(0,Yr.t)("user_status","Away")},{type:"busy",label:(0,Yr.t)("user_status","Busy")},{type:"dnd",label:(0,Yr.t)("user_status","Do not disturb"),subline:(0,Yr.t)("user_status","Mute all notifications")},{type:"invisible",label:(0,Yr.t)("user_status","Invisible"),subline:(0,Yr.t)("user_status","Appear offline")}],jo=(0,Xr.pM)({name:"AccountMenu",components:{AccountMenuEntry:fo,AccountMenuProfileEntry:Io,NcAvatar:dn.A,NcHeaderMenu:an.A},setup(){const t=(0,Hn.C)("core","settingsNavEntries",{}),{profile:e,...r}=t;return{currentDisplayName:(0,c.HW)()?.displayName??(0,c.HW)().uid,currentUserId:(0,c.HW)().uid,profileEntry:e,otherEntries:r,t:Yr.t}},data:()=>({showUserStatus:!1,userStatus:{status:null,icon:null,message:null}}),computed:{translatedUserStatus(){return{...this.userStatus,status:this.translateStatus(this.userStatus.status)}},avatarDescription(){return[(0,Yr.t)("core","Avatar of {displayName}",{displayName:this.currentDisplayName}),...Object.values(this.translatedUserStatus).filter(Boolean)].join(" — ")}},async created(){if(!(0,io.F)()?.user_status?.enabled)return;const t=(0,l.KT)("/apps/user_status/api/v1/user_status");try{const e=await u.Ay.get(t),{status:r,icon:n,message:o}=e.data.ocs.data;this.userStatus={status:r,icon:n,message:o}}catch(t){jn.error("Failed to load user status",{error:t})}this.showUserStatus=!0},mounted(){(0,zn.B1)("user_status:status.updated",this.handleUserStatusUpdated),(0,zn.Ic)("core:user-menu:mounted")},methods:{handleUserStatusUpdated(t){this.currentUserId===t.userId&&(this.userStatus={status:t.status,icon:t.icon,message:t.message})},translateStatus(t){const e=Object.fromEntries(Ro.map(({type:t,label:e})=>[t,e]));return e[t]?e[t]:t}}});var Mo=n(33096),No={};No.styleTagTransform=En(),No.setAttributes=xn(),No.insert=bn().bind(null,"head"),No.domAPI=yn(),No.insertStyleElement=_n(),gn()(Mo.A,No),Mo.A&&Mo.A.locals&&Mo.A.locals;const Po=(0,Tn.A)(jo,function(){var t=this,e=t._self._c;return t._self._setupProxy,e("NcHeaderMenu",{staticClass:"account-menu",attrs:{id:"user-menu","is-nav":"","aria-label":t.t("core","Settings menu"),description:t.avatarDescription},scopedSlots:t._u([{key:"trigger",fn:function(){return[e("NcAvatar",{key:String(t.showUserStatus),staticClass:"account-menu__avatar",attrs:{"disable-menu":"","disable-tooltip":"","hide-user-status":!t.showUserStatus,user:t.currentUserId,"preloaded-user-status":t.userStatus}})]},proxy:!0}])},[t._v(" "),e("ul",{staticClass:"account-menu__list"},[e("AccountMenuProfileEntry",{attrs:{id:t.profileEntry.id,name:t.profileEntry.name,href:t.profileEntry.href,active:t.profileEntry.active}}),t._v(" "),t._l(t.otherEntries,function(t){return e("AccountMenuEntry",{key:t.id,attrs:{id:t.id,name:t.name,href:t.href,active:t.active,icon:t.icon}})})],2)])},[],!1,null,"6c007912",null).exports;function Lo(){return document.head.dataset.requesttoken}const{auto_logout:Do,session_keepalive:Bo,session_lifetime:Uo}=(0,Hn.C)("core","config",{});async function Fo(){try{await async function(){const t=(0,l.Jv)("/csrftoken"),e=await fetch(t);if(!e.ok)throw new Error("Could not fetch CSRF token from API",{cause:e});const{token:r}=await e.json();return function(t){if(!t||"string"!=typeof t)throw new Error("Invalid CSRF token given",{cause:{token:t}});document.head.dataset.requesttoken=t,(0,zn.Ic)("csrf-token-update",{token:t})}(r),r}()}catch(t){jn.error("session heartbeat failed",{error:t})}}function zo(){const t=window.setInterval(Fo,1e3*function(){const t=Uo?Math.floor(Uo/2):900;return Math.min(86400,Math.max(60,t))}());return jn.info("session heartbeat polling started"),t}function Ho(t){const e=document.createElement("textarea"),r=document.createTextNode(t);e.appendChild(r),document.body.appendChild(e),e.focus({preventScroll:!0}),e.select();try{document.execCommand("copy")}catch(e){window.prompt((0,Yr.t)("core","Clipboard not available, please copy manually"),t),jn.error("files Unable to copy to clipboard",{error:e})}document.body.removeChild(e)}function Vo(t){const e=window.location.protocol+"//"+window.location.host+(0,l.aU)();return t.startsWith(e)||function(t){return!t.startsWith("https://")&&!t.startsWith("http://")}(t)&&t.startsWith((0,l.aU)())}async function qo(){if(null!==(0,c.HW)()&&!0!==qo.running){qo.running=!0;try{const{status:t}=await window.fetch((0,l.Jv)("/apps/files"));401===t&&(jn.warn("User session was terminated, forwarding to login page."),await async function(){try{window.localStorage.clear(),window.sessionStorage.clear();const t=await window.indexedDB.databases();for(const e of t)await window.indexedDB.deleteDatabase(e.name);jn.debug("Browser storages cleared")}catch(t){jn.error("Could not clear browser storages",{error:t})}}(),window.location=(0,l.Jv)("/login?redirect_url={url}",{url:window.location.pathname+window.location.search+window.location.hash}))}catch(t){jn.warn("Could not check login-state",{error:t})}finally{delete qo.running}}}const Wo={zh:"zh-cn",zh_Hans:"zh-cn",zh_Hans_CN:"zh-cn",zh_Hans_HK:"zh-cn",zh_Hans_MO:"zh-cn",zh_Hans_SG:"zh-cn",zh_Hant:"zh-hk",zh_Hant_HK:"zh-hk",zh_Hant_MO:"zh-mo",zh_Hant_TW:"zh-tw"};let Go=(0,Yr.JK)();function $o(){var t;XMLHttpRequest.prototype.open=(t=XMLHttpRequest.prototype.open,function(e,r){t.apply(this,arguments),Vo(r)&&(this.getResponseHeader("X-Requested-With")||this.setRequestHeader("X-Requested-With","XMLHttpRequest"),this.addEventListener("loadend",function(){401===this.status&&qo()}))}),window.fetch=function(t){return async(e,r)=>{if(!Vo(e.url??e.toString()))return await t(e,r);r||(r={}),r.headers||(r.headers=new Headers),r.headers instanceof Headers&&!r.headers.has("X-Requested-With")?r.headers.append("X-Requested-With","XMLHttpRequest"):r.headers instanceof Object&&!r.headers["X-Requested-With"]&&(r.headers["X-Requested-With"]="XMLHttpRequest");const n=await t(e,r);return 401===n.status&&qo(),n}}(window.fetch),window.navigator?.clipboard?.writeText||(jn.info("Clipboard API not available, using fallback"),Object.defineProperty(window.navigator,"clipboard",{value:{writeText:Ho},writable:!1})),function(){if(function(){if(!Do||!(0,c.HW)())return;let t=Date.now();window.addEventListener("mousemove",()=>{t=Date.now(),localStorage.setItem("lastActive",JSON.stringify(t))}),window.addEventListener("touchstart",()=>{t=Date.now(),localStorage.setItem("lastActive",JSON.stringify(t))}),window.addEventListener("storage",e=>{"lastActive"===e.key&&null!==e.newValue&&(t=JSON.parse(e.newValue))});let e=0;e=window.setInterval(()=>{const r=Date.now()-1e3*(Uo??86400);if(t{jn.info("Browser is online again, resuming heartbeat"),t=zo();try{await Fo(),jn.info("Session token successfully updated after resuming network"),(0,zn.Ic)("networkOnline",{success:!0})}catch(t){jn.error("could not update session token after resuming network",{error:t}),(0,zn.Ic)("networkOnline",{success:!1})}}),window.addEventListener("offline",()=>{jn.info("Browser is offline, stopping heartbeat"),(0,zn.Ic)("networkOffline",{}),clearInterval(t),jn.info("Session heartbeat polling stopped")})}(),function(){Xr.Ay.mixin({methods:{t:Yr.Tl,n:Yr.zw}});const t=document.getElementById("header-start__appmenu");if(!t)return;const e=new(Xr.Ay.extend(oo))({}).$mount(t);Object.assign(OC,{setNavigationCounter(t,r){e.setNavigationCounter(t,r)}})}(),function(){const t=document.getElementById("user-menu");t&&new Xr.Ay({name:"AccountMenuRoot",el:t,render:t=>t(Po)})}(),function(){const t=document.getElementById("contactsmenu");t&&(window.OC.ContactsMenu=new Fn,new Xr.Ay({name:"ContactsMenuRoot",el:t,render:t=>t(Un)}))}()}Object.hasOwn(Wo,Go)&&(Go=Wo[Go]),Jr().locale(Go);var Yo=n(71225);const Ko=!!window._oc_isadmin,Jo=window.oc_appconfig||{},Xo=void 0!==window._oc_appswebroots&&window._oc_appswebroots,Qo=window._oc_config||{},Zo=document.getElementsByTagName("head")[0].getAttribute("data-user"),ti=document.getElementsByTagName("head")[0].getAttribute("data-user-displayname"),ei=void 0!==Zo&&Zo,ri=window._oc_debug;var ni=n(21363),oi=n(85168),ii=n(43627);const ai={YES_NO_BUTTONS:70,OK_BUTTONS:71,FILEPICKER_TYPE_CHOOSE:1,FILEPICKER_TYPE_MOVE:2,FILEPICKER_TYPE_COPY:3,FILEPICKER_TYPE_COPY_MOVE:4,FILEPICKER_TYPE_CUSTOM:5,alert:function(t,e,r,n){this.message(t,e,"alert",ai.OK_BUTTON,r,n)},info:function(t,e,r,n){this.message(t,e,"info",ai.OK_BUTTON,r,n)},confirm:function(t,e,r,n){return this.message(t,e,"notice",ai.YES_NO_BUTTONS,r,n)},confirmDestructive:function(t,e,r=ai.OK_BUTTONS,n=()=>{}){return(new oi.ik).setName(e).setText(t).setButtons(r===ai.OK_BUTTONS?[{label:(0,Yr.t)("core","Yes"),variant:"error",callback:()=>{n.clicked=!0,n(!0)}}]:ai._getLegacyButtons(r,n)).build().show().then(()=>{n.clicked||n(!1)})},confirmHtml:function(t,e,r){return(new oi.ik).setName(e).setText("").setButtons([{label:(0,Yr.t)("core","No"),callback:()=>{}},{label:(0,Yr.t)("core","Yes"),variant:"primary",callback:()=>{r.clicked=!0,r(!0)}}]).build().setHTML(t).show().then(()=>{r.clicked||r(!1)})},prompt:function(t,e,r,o,i,a){return new Promise(o=>{(0,ho.S)((0,Xr.$V)(()=>Promise.all([n.e(4208),n.e(9553)]).then(n.bind(n,99553))),{text:t,name:e,callback:r,inputName:i,isPassword:!!a},(...t)=>{r(...t),o()})})},filepicker(t,e,r=!1,n=void 0,o=void 0,i=oi.bh.Choose,a=void 0,s=void 0){const c=(t,e)=>{const n=t=>{const e=t?.root||"";let r=t?.path||"";return r.startsWith(e)&&(r=r.slice(e.length)||"/"),r};return r?r=>t(r.map(n),e):r=>t(n(r[0]),e)},u=(0,oi.a1)(t);i===this.FILEPICKER_TYPE_CUSTOM?(s.buttons||[]).forEach(t=>{u.addButton({callback:c(e,t.type),label:t.text,variant:t.defaultButton?"primary":"secondary"})}):u.setButtonFactory((t,r)=>{const n=[],[o]=t,a=o?.displayname||o?.basename||(0,ii.basename)(r);return i===oi.bh.Choose&&n.push({callback:c(e,oi.bh.Choose),label:o&&!this.multiSelect?(0,Yr.t)("core","Choose {file}",{file:a}):(0,Yr.t)("core","Choose"),variant:"primary"}),i!==oi.bh.CopyMove&&i!==oi.bh.Copy||n.push({callback:c(e,oi.bh.Copy),label:a?(0,Yr.t)("core","Copy to {target}",{target:a}):(0,Yr.t)("core","Copy"),variant:"primary",icon:ni}),i!==oi.bh.Move&&i!==oi.bh.CopyMove||n.push({callback:c(e,oi.bh.Move),label:a?(0,Yr.t)("core","Move to {target}",{target:a}):(0,Yr.t)("core","Move"),variant:i===oi.bh.Move?"primary":"secondary",icon:''}),n}),n&&u.setMimeTypeFilter("string"==typeof n?[n]:n||[]),"function"==typeof s?.filter&&u.setFilter(t=>s.filter((t=>({id:t.fileid||null,path:t.path,mimetype:t.mime||null,mtime:t.mtime?.getTime()||null,permissions:t.permissions,name:t.attributes?.displayName||t.basename,etag:t.attributes?.etag||null,hasPreview:t.attributes?.hasPreview||null,mountType:t.attributes?.mountType||null,quotaAvailableBytes:t.attributes?.quotaAvailableBytes||null,icon:null,sharePermissions:null}))(t))),u.allowDirectories(!0===s?.allowDirectoryChooser||n?.includes("httpd/unix-directory")||!1).setMultiSelect(r).startAt(a).build().pick()},message:function(t,e,r,n,o=()=>{},i,a){const s=(new oi.ik).setName(e).setText(a?"":t).setButtons(ai._getLegacyButtons(n,o));switch(r){case"alert":s.setSeverity("warning");break;case"notice":s.setSeverity("info")}const c=s.build();return a&&c.setHTML(t),c.show().then(()=>{o._clicked||o(!1)})},_getLegacyButtons(t,e){const r=[];switch("object"==typeof t?t.type:t){case ai.YES_NO_BUTTONS:r.push({label:t?.cancel??(0,Yr.t)("core","No"),callback:()=>{e._clicked=!0,e(!1)}}),r.push({label:t?.confirm??(0,Yr.t)("core","Yes"),variant:"primary",callback:()=>{e._clicked=!0,e(!0)}});break;case ai.OK_BUTTONS:r.push({label:t?.confirm??(0,Yr.t)("core","OK"),variant:"primary",callback:()=>{e._clicked=!0,e(!0)}});break;default:jn.error("Invalid call to OC.dialogs")}return r}},si=ai;function ci(t,e){let r,n,o="";if(this.typelessListeners=[],this.closed=!1,e)for(r in e)o+=r+"="+encodeURIComponent(e[r])+"&";o+="requesttoken="+encodeURIComponent(Lo()),n="&",-1===t.indexOf("?")&&(n="?"),this.source=new EventSource(t+n+o),this.source.onmessage=function(t){for(let e=0;et.cancel()),r.style.display="block")},finishedSaving(t,e){this.finishedAction(t,e)},finishedAction(t,e){"success"===e.status?this.finishedSuccess(t,e.data.message):this.finishedError(t,e.data.message)},finishedSuccess(t,e){const r=document.querySelector(t);r&&r instanceof HTMLElement&&(r.textContent=e,r.classList.remove("error"),r.classList.add("success"),r.getAnimations?.().forEach(t=>t.cancel()),window.setTimeout(function(){if(!(r&&r instanceof HTMLElement))return;const t=r.animate?.([{opacity:1},{opacity:0}],{duration:900,fill:"forwards"});t?t.addEventListener("finish",()=>{r.style.display="none"}):window.setTimeout(()=>{r.style.display="none"},900)},3e3),r.style.display="block")},finishedError(t,e){const r=document.querySelector(t);r&&r instanceof HTMLElement&&(r.textContent=e,r.classList.remove("success"),r.classList.add("error"),r.style.display="block")}},gi={requiresPasswordConfirmation:()=>(0,po.oB)(),requirePasswordConfirmation(t,e,r){(0,po.C5)().then(t,r)}},mi={_plugins:{},register(t,e){let r=this._plugins[t];r||(r=this._plugins[t]=[]),r.push(e)},getPlugins(t){return this._plugins[t]||[]},attach(t,e,r){const n=this.getPlugins(t);for(let t=0;t="0"&&r<="9";a!==i&&(o++,e[o]="",i=a),e[o]+=r,n++}return e}const wi={History:{_handlers:[],_pushState(t,e,r){let n;if(n="string"==typeof t?t:_i.buildQueryString(t),window.history.pushState){if(e=e||location.pathname+"?"+n,navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&parseInt(navigator.userAgent.split("/").pop())<51){const t=document.querySelectorAll('[fill^="url(#"], [stroke^="url(#"], [filter^="url(#invert"]');for(let e,r=0,n=t.length;r=0?t.substr(e+1):t.length?t.substr(1):""},_decodeQuery:t=>t.replace(/\+/g," "),parseUrlQuery(){const t=this._parseHashQuery();let e;return t&&(e=_i.parseQueryString(this._decodeQuery(t))),e=$r.extend(e||{},_i.parseQueryString(this._decodeQuery(location.search))),e||{}},_onPopState(t){if(this._cancelPop)return void(this._cancelPop=!1);let e;if(this._handlers.length){e=t&&t.state,$r.isString(e)?e=_i.parseQueryString(e):e||(e=this.parseUrlQuery()||{});for(let t=0;t(void 0===window.TESTING&&_i.debug&&jn.warn("OC.Util.formatDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment"),e=e||"LLL",Jr()(t).format(e)),relativeModifiedDate(e){void 0===window.TESTING&&_i.debug&&jn.warn("OC.Util.relativeModifiedDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment");const r=Jr()().diff(Jr()(e));return r>=0&&r<45e3?t("core","seconds ago"):Jr()(e).fromNow()},getScrollBarWidth(){if(this._scrollBarWidth)return this._scrollBarWidth;const t=document.createElement("p");t.style.width="100%",t.style.height="200px";const e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.visibility="hidden",e.style.width="200px",e.style.height="150px",e.style.overflow="hidden",e.appendChild(t),document.body.appendChild(e);const r=t.offsetWidth;e.style.overflow="scroll";let n=t.offsetWidth;return r===n&&(n=e.clientWidth),document.body.removeChild(e),this._scrollBarWidth=r-n,this._scrollBarWidth},stripTime:t=>new Date(t.getFullYear(),t.getMonth(),t.getDate()),naturalSortCompare(t,e){let r;const n=bi(t),o=bi(e);for(r=0;n[r]&&o[r];r++)if(n[r]!==o[r]){const t=Number(n[r]),e=Number(o[r]);return t==n[r]&&e==o[r]?t-e:n[r].localeCompare(o[r],_i.getLanguage())}return n.length-o.length},waitFor(t,e){const r=function(){!0!==t()&&setTimeout(r,e)};r()},isCookieSetToValue(t,e){const r=document.cookie.split(";");for(let n=0;n!$_",appConfig:Jo,appswebroots:Xo,config:Qo,currentUser:ei,dialogs:si,EventSource:ui,MimeType:i,getCurrentUser:function(){return{uid:ei,displayName:ti}},isUserAdmin:()=>Ko,L10N:li,registerXHRForErrorProcessing:()=>{},getCapabilities:function(){return OC.debug&&jn.warn("OC.getCapabilities is deprecated and will be removed in Nextcloud 21. See @nextcloud/capabilities"),(0,io.F)()},basename:Yo.P8,encodePath:Yo.O0,dirname:Yo.pD,isSamePath:Yo.ys,joinPaths:Yo.fj,getCanonicalLocale:Yr.lO,getLocale:Yr.JK,getLanguage:Yr.Z0,buildQueryString:function(t){return t?new URLSearchParams(t).toString():""},parseQueryString:function(t){const e=new URLSearchParams(t);return Object.fromEntries(e.entries())},msg:vi,PasswordConfirmation:gi,Plugins:mi,theme:yi,Util:wi,debug:ri,filePath:l.fg,generateUrl:l.Jv,getRootPath:l.aU,imagePath:l.d0,requestToken:Lo(),linkTo:l.uM,linkToOCS:(t,e)=>(0,l.KT)(t,{},{ocsVersion:e||1})+"/",linkToRemote:l.dC,linkToRemoteBase:function(t){return(0,l.aU)()+"/remote.php/"+t},webroot:Ci};(0,zn.B1)("csrf-token-update",t=>{OC.requestToken=t.token,jn.info("OC.requestToken changed",{token:t.token})}),n(84315),n(7452);var Si=n(57576),Ei=n.n(Si),ki=n(78112);const Oi={disableKeyboardShortcuts:()=>(0,Hn.C)("theming","shortcutsDisabled",!1),setPageHeading:function(t){const e=document.getElementById("page-heading-level-1");e&&(e.textContent=t)}};async function Ti(t,e,r={}){"post"!==t&&"delete"!==t||!(0,po.oB)(po.mH.Lax)||await(0,po.C5)();try{const{data:n}=await u.Ay.request({method:t.toLowerCase(),url:(0,l.KT)("apps/provisioning_api/api/v1/config/apps")+e,data:r.data||{}});r.success?.(n.ocs.data)}catch(t){r.error?.(t)}}function Ii(t){Ti("get","",t)}function Ri(t,e){Ti("get","/"+t,e)}function ji(t,e,r,n){(n=n||{}).data={defaultValue:r},Ti("get","/"+t+"/"+e,n)}function Mi(t,e,r,n){(n=n||{}).data={value:r},Ti("post","/"+t+"/"+e,n)}function Ni(t,e,r){Ti("delete","/"+t+"/"+e,r)}var Pi=n(70580),Li=n.n(Pi);const Di={},Bi={registerType(t,e){Di[t]=e},trigger:t=>Di[t].action(),getTypes:()=>Object.keys(Di),getIcon:t=>Di[t].typeIconClass||"",getLabel:t=>Li()(Di[t].typeString||t),getLink:(t,e)=>void 0!==Di[t]?Di[t].link(e):""},Ui=/(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/gi;function Fi(t){return Hi(t)}function zi(t){return Vi(t)}function Hi(t){return t.replace(Ui,function(t,e,r,n,o){let i=n;return r?"http://"===r&&(i=r+n):r="https://",e+''+i+""+o})}function Vi(t){const e=document.createElement("div");return e.innerHTML=t,e.querySelectorAll("a").forEach(t=>{t.replaceWith(document.createTextNode(t.getAttribute("href")||""))}),e.innerHTML}const qi={},Wi={},Gi={loadScript(t,e){const r=t+e;return Object.hasOwn(qi,r)?Promise.resolve():(qi[r]=!0,new Promise(function(r,n){const o=(0,l.fg)(t,"js",e),i=document.createElement("script");i.src=o,i.setAttribute("nonce",btoa(OC.requestToken)),i.onload=()=>r(),i.onerror=()=>n(new Error(`Failed to load script from ${o}`)),document.head.appendChild(i)}))},loadStylesheet(t,e){const r=t+e;return Object.hasOwn(Wi,r)?Promise.resolve():(Wi[r]=!0,new Promise(function(r,n){const o=(0,l.fg)(t,"css",e),i=document.createElement("link");i.href=o,i.type="text/css",i.rel="stylesheet",i.onload=()=>r(),i.onerror=()=>n(new Error(`Failed to load stylesheet from ${o}`)),document.head.appendChild(i)}))}},$i={success:(t,e)=>(0,oi.Te)(t,e),warning:(t,e)=>(0,oi.I9)(t,e),error:(t,e)=>(0,oi.Qg)(t,e),info:(t,e)=>(0,oi.cf)(t,e),message:(t,e)=>(0,oi.rG)(t,e)},Yi={Accessibility:Oi,AppConfig:a,Collaboration:Bi,Comments:s,InitialState:{loadState:Hn.C},Loader:Gi,Toast:$i};function Ki(t,e,r){(Array.isArray(t)?t:[t]).forEach(t=>{void 0!==window[t]&&delete window[t],Object.defineProperty(window,t,{get:()=>(function(){void 0===window.TESTING&&_i.debug&&console.warn.apply(console,arguments)}(r?`${t} is deprecated: ${r}`:`${t} is deprecated`),e())})})}Ki(["_"],()=>$r,"The global underscore is deprecated. It will be removed in a later versions without another warning. Please ship your own."),Ki(["Clipboard","ClipboardJS"],()=>Ei(),"please ship your own, this will be removed in Nextcloud 20"),Ki(["dav"],()=>ki.dav,"please ship your own. It will be removed in a later versions without another warning. Please ship your own."),Ki("moment",()=>Jr(),"please ship your own, this will be removed in Nextcloud 20"),window.OC=_i,Ki("initCore",()=>$o,"this is an internal function"),Ki("oc_appswebroots",()=>_i.appswebroots,"use OC.appswebroots instead, this will be removed in Nextcloud 20"),Ki("oc_config",()=>_i.config,"use OC.config instead, this will be removed in Nextcloud 20"),Ki("oc_current_user",()=>_i.getCurrentUser().uid,"use OC.getCurrentUser().uid instead, this will be removed in Nextcloud 20"),Ki("oc_debug",()=>_i.debug,"use OC.debug instead, this will be removed in Nextcloud 20"),Ki("oc_defaults",()=>_i.theme,"use OC.theme instead, this will be removed in Nextcloud 20"),Ki("oc_isadmin",_i.isUserAdmin,"use OC.isUserAdmin() instead, this will be removed in Nextcloud 20"),Ki("oc_requesttoken",()=>Lo(),"use OC.requestToken instead, this will be removed in Nextcloud 20"),Ki("oc_webroot",()=>_i.webroot,"use OC.getRootPath() instead, this will be removed in Nextcloud 20"),Ki("OCDialogs",()=>_i.dialogs,"use OC.dialogs instead, this will be removed in Nextcloud 20"),window.OCP=Yi,window.OCA={},window.t=$r.bind(_i.L10N.translate,_i.L10N),window.n=$r.bind(_i.L10N.translatePlural,_i.L10N),n.nc=(0,c.aV)(),window.addEventListener("DOMContentLoaded",function(){$o(),window.history.pushState?window.onpopstate=$r.bind(_i.Util.History._onPopState,_i.Util.History):window.onhashchange=$r.bind(_i.Util.History._onPopState,_i.Util.History)}),document.addEventListener("DOMContentLoaded",function(){const t=document.getElementById("password-input-form");t&&t.addEventListener("submit",async function(e){e.preventDefault();const r=document.getElementById("requesttoken");if(r){const t=(0,l.Jv)("/csrftoken"),e=await u.Ay.get(t);r.value=e.data.token}t.submit()})})},57576(t){var e;e=function(){return function(){var t={686:function(t,e,r){"use strict";r.d(e,{default:function(){return b}});var n=r(279),o=r.n(n),i=r(370),a=r.n(i),s=r(817),c=r.n(s);function u(t){try{return document.execCommand(t)}catch(t){return!1}}var l=function(t){var e=c()(t);return u("cut"),e},f=function(t,e){var r=function(t){var e="rtl"===document.documentElement.getAttribute("dir"),r=document.createElement("textarea");r.style.fontSize="12pt",r.style.border="0",r.style.padding="0",r.style.margin="0",r.style.position="absolute",r.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;return r.style.top="".concat(n,"px"),r.setAttribute("readonly",""),r.value=t,r}(t);e.container.appendChild(r);var n=c()(r);return u("copy"),r.remove(),n},p=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},r="";return"string"==typeof t?r=f(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?r=f(t.value,e):(r=c()(t),u("copy")),r};function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function v(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===h(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=a()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,r=this.action(e)||"copy",n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,r=void 0===e?"copy":e,n=t.container,o=t.target,i=t.text;if("copy"!==r&&"cut"!==r)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==d(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===r&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===r&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return i?p(i,{container:n}):o?"cut"===r?l(o):p(o,{container:n}):void 0}({action:r,container:this.container,target:this.target(e),text:this.text(e)});this.emit(n?"success":"error",{action:r,text:n,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return y("action",t)}},{key:"defaultTarget",value:function(t){var e=y("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return y("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}],n=[{key:"copy",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return p(t,e)}},{key:"cut",value:function(t){return l(t)}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,r=!!document.queryCommandSupported;return e.forEach(function(t){r=r&&!!document.queryCommandSupported(t)}),r}}],r&&v(e.prototype,r),n&&v(e,n),c}(o()),b=A},828:function(t){if("undefined"!=typeof Element&&!Element.prototype.matches){var e=Element.prototype;e.matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,r){var n=r(828);function o(t,e,r,n,o){var a=i.apply(this,arguments);return t.addEventListener(r,a,o),{destroy:function(){t.removeEventListener(r,a,o)}}}function i(t,e,r,o){return function(r){r.delegateTarget=n(r.target,e),r.delegateTarget&&o.call(t,r)}}t.exports=function(t,e,r,n,i){return"function"==typeof t.addEventListener?o.apply(null,arguments):"function"==typeof r?o.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return o(t,e,r,n,i)}))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var r=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===r||"[object HTMLCollection]"===r)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,r){var n=r(879),o=r(438);t.exports=function(t,e,r){if(!t&&!e&&!r)throw new Error("Missing required arguments");if(!n.string(e))throw new TypeError("Second argument must be a String");if(!n.fn(r))throw new TypeError("Third argument must be a Function");if(n.node(t))return function(t,e,r){return t.addEventListener(e,r),{destroy:function(){t.removeEventListener(e,r)}}}(t,e,r);if(n.nodeList(t))return function(t,e,r){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,r)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,r)})}}}(t,e,r);if(n.string(t))return function(t,e,r){return o(document.body,t,e,r)}(t,e,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var r=t.hasAttribute("readonly");r||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),r||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var n=window.getSelection(),o=document.createRange();o.selectNodeContents(t),n.removeAllRanges(),n.addRange(o),e=n.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,r){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var n=this;function o(){n.off(t,o),e.apply(r,arguments)}return o._=e,this.on(t,o,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),n=0,o=r.length;ns});var n=r(71354),o=r.n(n),i=r(76314),a=r.n(i)()(o());a.push([t.id,".account-menu-entry__icon[data-v-bdb908d2]{height:16px;width:16px;margin:calc((var(--default-clickable-area) - 16px)/2);filter:var(--background-invert-if-dark)}.account-menu-entry__icon--active[data-v-bdb908d2]{filter:var(--primary-invert-if-dark)}.account-menu-entry__loading[data-v-bdb908d2]{height:20px;width:20px;margin:calc((var(--default-clickable-area) - 20px)/2)}.account-menu-entry[data-v-bdb908d2] .list-item-content__main{width:fit-content}","",{version:3,sources:["webpack://./core/src/components/AccountMenu/AccountMenuEntry.vue"],names:[],mappings:"AAEC,2CACC,WAAA,CACA,UAAA,CACA,qDAAA,CACA,uCAAA,CAEA,mDACC,oCAAA,CAIF,8CACC,WAAA,CACA,UAAA,CACA,qDAAA,CAGD,8DACC,iBAAA",sourcesContent:["\n.account-menu-entry {\n\t&__icon {\n\t\theight: 16px;\n\t\twidth: 16px;\n\t\tmargin: calc((var(--default-clickable-area) - 16px) / 2); // 16px icon size\n\t\tfilter: var(--background-invert-if-dark);\n\n\t\t&--active {\n\t\t\tfilter: var(--primary-invert-if-dark);\n\t\t}\n\t}\n\n\t&__loading {\n\t\theight: 20px;\n\t\twidth: 20px;\n\t\tmargin: calc((var(--default-clickable-area) - 20px) / 2); // 20px icon size\n\t}\n\n\t:deep(.list-item-content__main) {\n\t\twidth: fit-content;\n\t}\n}\n"],sourceRoot:""}]);const s=a},35644(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(71354),o=r.n(n),i=r(76314),a=r.n(i)()(o());a.push([t.id,".qr-login__content{display:flex;flex-direction:column;align-items:center;gap:var(--default-grid-baseline)}.qr-login__description{text-align:center}","",{version:3,sources:["webpack://./core/src/components/AccountMenu/AccountQRLoginDialog.vue"],names:[],mappings:"AACA,mBACC,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,gCAAA,CAGD,uBACC,iBAAA",sourcesContent:["\n.qr-login__content {\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tgap: var(--default-grid-baseline);\n}\n\n.qr-login__description {\n\ttext-align: center;\n}\n"],sourceRoot:""}]);const s=a},17973(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(71354),o=r.n(n),i=r(76314),a=r.n(i)()(o());a.push([t.id,".app-item[data-v-278c0168]{--app-item-circle-size: calc(var(--default-grid-baseline) * 10);--app-item-icon-size: 22px;display:flex;flex-direction:column;align-items:center;gap:var(--default-grid-baseline);padding-block:var(--default-grid-baseline);border-radius:var(--border-radius-element);text-decoration:none;color:var(--color-main-text);min-width:0}.app-item[data-v-278c0168]:hover,.app-item[data-v-278c0168]:focus-visible{background-color:var(--color-background-hover)}.app-item[data-v-278c0168]:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--color-primary-element)}.app-item__circle[data-v-278c0168]{box-sizing:border-box;position:relative;width:var(--app-item-circle-size);height:var(--app-item-circle-size);border-radius:50%;background-color:var(--color-primary-element);background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.15) 100%);box-shadow:inset 0 1px 0 0 hsla(0,0%,100%,.25),inset 0 -1px 0 0 rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center}.app-item__icon[data-v-278c0168]{width:var(--app-item-icon-size);height:var(--app-item-icon-size);filter:var(--primary-invert-if-bright);mask:var(--header-menu-icon-mask)}.app-item__unread[data-v-278c0168]{position:absolute;top:0;inset-inline-end:0;width:calc(var(--default-grid-baseline)*3);height:calc(var(--default-grid-baseline)*3);border-radius:50%;background-color:var(--color-error);border:2px solid var(--color-main-background);box-sizing:content-box}.app-item__label[data-v-278c0168]{font-size:12px;line-height:1.3;text-align:center;color:var(--color-main-text);-webkit-hyphens:auto;hyphens:auto;word-break:normal;overflow-wrap:break-word;max-width:100%;letter-spacing:-0.3px}.app-item--active .app-item__label[data-v-278c0168]{font-weight:bold}.app-item--outlined .app-item__circle[data-v-278c0168]{background:rgba(0,0,0,0);background-image:none;box-shadow:inset 0 0 0 2px var(--color-border-maxcontrast)}.app-item--outlined .app-item__icon[data-v-278c0168]{filter:var(--background-invert-if-dark);mask:none}","",{version:3,sources:["webpack://./core/src/components/AppItem.vue"],names:[],mappings:"AACA,2BACC,+DAAA,CACA,0BAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,gCAAA,CAGA,0CAAA,CACA,0CAAA,CACA,oBAAA,CACA,4BAAA,CACA,WAAA,CAEA,0EAEC,8CAAA,CAMD,yCACC,YAAA,CACA,uDAAA,CAGD,mCACC,qBAAA,CACA,iBAAA,CACA,iCAAA,CACA,kCAAA,CACA,iBAAA,CACA,6CAAA,CACA,+HAAA,CAMA,wGACC,CAGD,YAAA,CACA,kBAAA,CACA,sBAAA,CAGD,iCACC,+BAAA,CACA,gCAAA,CAGA,sCAAA,CACA,iCAAA,CAGD,mCACC,iBAAA,CACA,KAAA,CACA,kBAAA,CACA,0CAAA,CACA,2CAAA,CACA,iBAAA,CACA,mCAAA,CACA,6CAAA,CACA,sBAAA,CAGD,kCACC,cAAA,CACA,eAAA,CACA,iBAAA,CACA,4BAAA,CAEA,oBAAA,CACA,YAAA,CACA,iBAAA,CACA,wBAAA,CACA,cAAA,CACA,qBAAA,CAGD,oDACC,gBAAA,CAID,uDACC,wBAAA,CACA,qBAAA,CACA,0DAAA,CAGD,qDACC,uCAAA,CACA,SAAA",sourcesContent:["\n.app-item {\n\t--app-item-circle-size: calc(var(--default-grid-baseline) * 10);\n\t--app-item-icon-size: 22px;\n\tdisplay: flex;\n\tflex-direction: column;\n\talign-items: center;\n\tgap: var(--default-grid-baseline);\n\t// Inset so the hover/focus highlight floats around the circle and label\n\t// rather than sitting flush against the icon at the top edge.\n\tpadding-block: var(--default-grid-baseline);\n\tborder-radius: var(--border-radius-element);\n\ttext-decoration: none;\n\tcolor: var(--color-main-text);\n\tmin-width: 0;\n\n\t&:hover,\n\t&:focus-visible {\n\t\tbackground-color: var(--color-background-hover);\n\t}\n\n\t// Inset ring instead of outline + offset: the offset version visibly\n\t// clips at the popover's rounded edge for items in the first/last row\n\t// or column. The inset shadow stays inside the highlight rectangle.\n\t&:focus-visible {\n\t\toutline: none;\n\t\tbox-shadow: inset 0 0 0 2px var(--color-primary-element);\n\t}\n\n\t&__circle {\n\t\tbox-sizing: border-box;\n\t\tposition: relative;\n\t\twidth: var(--app-item-circle-size);\n\t\theight: var(--app-item-circle-size);\n\t\tborder-radius: 50%;\n\t\tbackground-color: var(--color-primary-element);\n\t\tbackground-image: linear-gradient(\n\t\t\tto bottom,\n\t\t\trgba(255, 255, 255, 0.18) 0%,\n\t\t\trgba(255, 255, 255, 0) 45%,\n\t\t\trgba(0, 0, 0, 0.15) 100%\n\t\t);\n\t\tbox-shadow:\n\t\t\tinset 0 1px 0 0 rgba(255, 255, 255, 0.25),\n\t\t\tinset 0 -1px 0 0 rgba(0, 0, 0, 0.2),\n\t\t\t0 2px 4px rgba(0, 0, 0, 0.15);\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t}\n\n\t&__icon {\n\t\twidth: var(--app-item-icon-size);\n\t\theight: var(--app-item-icon-size);\n\t\t// App icons are bright by default; flip them to dark when the\n\t\t// primary color (circle background) is bright (e.g. white in dark mode).\n\t\tfilter: var(--primary-invert-if-bright);\n\t\tmask: var(--header-menu-icon-mask);\n\t}\n\n\t&__unread {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tinset-inline-end: 0;\n\t\twidth: calc(var(--default-grid-baseline) * 3);\n\t\theight: calc(var(--default-grid-baseline) * 3);\n\t\tborder-radius: 50%;\n\t\tbackground-color: var(--color-error);\n\t\tborder: 2px solid var(--color-main-background);\n\t\tbox-sizing: content-box;\n\t}\n\n\t&__label {\n\t\tfont-size: 12px;\n\t\tline-height: 1.3;\n\t\ttext-align: center;\n\t\tcolor: var(--color-main-text);\n\t\t// Needs a matching to actually break with a hyphen.\n\t\t-webkit-hyphens: auto;\n\t\thyphens: auto;\n\t\tword-break: normal;\n\t\toverflow-wrap: break-word;\n\t\tmax-width: 100%;\n\t\tletter-spacing: -0.3px;\n\t}\n\n\t&--active &__label {\n\t\tfont-weight: bold;\n\t}\n\n\t// Outlined variant: no fill or gradient.\n\t&--outlined &__circle {\n\t\tbackground: transparent;\n\t\tbackground-image: none;\n\t\tbox-shadow: inset 0 0 0 2px var(--color-border-maxcontrast);\n\t}\n\n\t&--outlined &__icon {\n\t\tfilter: var(--background-invert-if-dark);\n\t\tmask: none;\n\t}\n}\n"],sourceRoot:""}]);const s=a},27359(t,e,r){"use strict";r.d(e,{A:()=>s});var n=r(71354),o=r.n(n),i=r(76314),a=r.n(i)()(o());a.push([t.id,".app-menu[data-v-36dadc6d]{display:flex;align-items:center}.app-menu__waffle[data-v-36dadc6d]{--color-main-text: var(--color-background-plain-text);color:var(--color-background-plain-text)}.app-menu__waffle[data-v-36dadc6d]:hover:not(:disabled){background-color:rgba(0,0,0,.1) !important}.app-menu__waffle[data-v-36dadc6d]:active:not(:disabled){background-color:rgba(0,0,0,.15) !important}.app-menu__waffle[data-v-36dadc6d]:focus-visible{background-color:rgba(0,0,0,.1) !important;outline:none !important;box-shadow:inset 0 0 0 2px var(--color-background-plain-text) !important}.app-menu__current-app[data-v-36dadc6d]{--color-main-text: var(--color-background-plain-text);color:var(--color-background-plain-text)}.app-menu__current-app[data-v-36dadc6d]:hover:not(:disabled){background-color:rgba(0,0,0,.1) !important}.app-menu__current-app[data-v-36dadc6d]:active:not(:disabled){background-color:rgba(0,0,0,.15) !important}.app-menu__current-app[data-v-36dadc6d]:focus-visible{background-color:rgba(0,0,0,.1) !important;outline:none !important;box-shadow:inset 0 0 0 2px var(--color-background-plain-text) !important}.app-menu__current-app[data-v-36dadc6d] .button-vue__text{min-width:0}@media only screen and (max-width: 1024px){.app-menu__current-app[data-v-36dadc6d]{display:none !important}}.app-menu__current-app-icon[data-v-36dadc6d]{width:calc(var(--default-grid-baseline)*5);height:calc(var(--default-grid-baseline)*5);filter:var(--background-image-invert-if-bright);mask:var(--header-menu-icon-mask)}.app-menu__current-app-cog[data-v-36dadc6d]{mask:var(--header-menu-icon-mask)}.app-menu__current-app-name[data-v-36dadc6d]{display:inline-block;vertical-align:middle;font-size:var(--default-font-size);font-weight:500;white-space:nowrap;letter-spacing:-0.5px;overflow:hidden;text-overflow:ellipsis;max-width:clamp(80px,22vw,320px)}.app-menu__popover[data-v-36dadc6d]{max-width:calc(100vw - var(--default-grid-baseline)*4);background-color:var(--color-main-background)}.app-menu__grid[data-v-36dadc6d]{--app-item-col-width: 69px;--app-item-row-height: 64px;box-sizing:border-box;padding:calc(var(--default-grid-baseline)*2);display:grid;grid-template-columns:repeat(4, var(--app-item-col-width));grid-auto-rows:minmax(var(--app-item-row-height), max-content);overflow-y:auto}.app-menu__grid[data-v-36dadc6d]>:nth-child(-n+4){padding-block-start:calc(var(--default-grid-baseline)*2) !important}.app-menu__grid[data-v-36dadc6d]{scrollbar-width:thin;scrollbar-color:var(--color-scrollbar) rgba(0,0,0,0)}","",{version:3,sources:["webpack://./core/src/components/AppMenu.vue"],names:[],mappings:"AACA,2BACC,YAAA,CACA,kBAAA,CAEA,mCAIC,qDAAA,CACA,wCAAA,CAKA,wDACC,0CAAA,CAGD,yDACC,2CAAA,CAGD,iDACC,0CAAA,CACA,uBAAA,CACA,wEAAA,CAIF,wCAIC,qDAAA,CACA,wCAAA,CAMA,6DACC,0CAAA,CAGD,8DACC,2CAAA,CAGD,sDACC,0CAAA,CACA,uBAAA,CACA,wEAAA,CAKD,0DACC,WAAA,CAGD,2CA/BD,wCAgCE,uBAAA,CAAA,CAIF,6CACC,0CAAA,CACA,2CAAA,CAEA,+CAAA,CACA,iCAAA,CAGD,4CACC,iCAAA,CAGD,6CAEC,oBAAA,CACA,qBAAA,CACA,kCAAA,CACA,eAAA,CACA,kBAAA,CACA,qBAAA,CACA,eAAA,CACA,sBAAA,CAGA,gCAAA,CAGD,oCACC,sDAAA,CACA,6CAAA,CAGD,iCACC,0BAAA,CACA,2BAAA,CAGA,qBAAA,CACA,4CAAA,CACA,YAAA,CACA,0DAAA,CACA,8DAAA,CAEA,eAAA,CAKA,kDACC,mEAAA,CAjBF,iCAsBC,oBAAA,CACA,oDAAA",sourcesContent:["\n.app-menu {\n\tdisplay: flex;\n\talign-items: center;\n\n\t&__waffle {\n\t\t// NcButton's tertiary-no-background variant uses --color-main-text,\n\t\t// which is dark on light themes. The header sits on the theme primary\n\t\t// background, so override to use the matching plain-text color.\n\t\t--color-main-text: var(--color-background-plain-text);\n\t\tcolor: var(--color-background-plain-text);\n\n\t\t// Class merges onto NcButton's root
  • \n\t\t\n\t\t\n\t\t\t
    {{ contact.fullName }}
    \n\t\t\t
    {{ contact.lastMessage }}
    \n\t\t\t
    {{ contact.statusMessage }}
    \n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t{{ action.displayName(contact) }}\n\t\t\t\n\t\t\n\t
  • \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!./ContactMenuEntry.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!./ContactMenuEntry.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!./ContactMenuEntry.vue?vue&type=style&index=0&id=56b7b257&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!./ContactMenuEntry.vue?vue&type=style&index=0&id=56b7b257&prod&scoped=true&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./ContactMenuEntry.vue?vue&type=template&id=56b7b257&scoped=true\"\nimport script from \"./ContactMenuEntry.vue?vue&type=script&lang=js\"\nexport * from \"./ContactMenuEntry.vue?vue&type=script&lang=js\"\nimport style0 from \"./ContactMenuEntry.vue?vue&type=style&index=0&id=56b7b257&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 \"56b7b257\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('li',{staticClass:\"contact\"},[_c('NcAvatar',{staticClass:\"contact__avatar\",attrs:{\"user\":_vm.contact.isUser ? _vm.contact.uid : undefined,\"is-no-user\":!_vm.contact.isUser,\"disable-menu\":true,\"display-name\":_vm.contact.avatarLabel,\"preloaded-user-status\":_vm.preloadedUserStatus}}),_vm._v(\" \"),_c('a',{staticClass:\"contact__body\",attrs:{\"href\":_vm.contact.profileUrl || _vm.contact.topAction?.hyperlink}},[_c('div',{staticClass:\"contact__body__full-name\"},[_vm._v(_vm._s(_vm.contact.fullName))]),_vm._v(\" \"),(_vm.contact.lastMessage)?_c('div',{staticClass:\"contact__body__last-message\"},[_vm._v(_vm._s(_vm.contact.lastMessage))]):_vm._e(),_vm._v(\" \"),(_vm.contact.statusMessage)?_c('div',{staticClass:\"contact__body__status-message\"},[_vm._v(_vm._s(_vm.contact.statusMessage))]):_c('div',{staticClass:\"contact__body__email-address\"},[_vm._v(_vm._s(_vm.contact.emailAddresses[0]))])]),_vm._v(\" \"),(_vm.actions.length)?_c('NcActions',{attrs:{\"inline\":_vm.contact.topAction ? 1 : 0}},[_vm._l((_vm.actions),function(action,idx){return [(action.hyperlink !== '#')?_c('NcActionLink',{key:`${idx}-link`,staticClass:\"other-actions\",attrs:{\"href\":action.hyperlink},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('img',{staticClass:\"contact__action__icon\",attrs:{\"aria-hidden\":\"true\",\"src\":action.icon}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(action.title)+\"\\n\\t\\t\\t\")]):_c('NcActionText',{key:`${idx}-text`,staticClass:\"other-actions\",scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('img',{staticClass:\"contact__action__icon\",attrs:{\"aria-hidden\":\"true\",\"src\":action.icon}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(action.title)+\"\\n\\t\\t\\t\")])]}),_vm._v(\" \"),_vm._l((_vm.jsActions),function(action){return _c('NcActionButton',{key:action.id,staticClass:\"other-actions\",attrs:{\"close-after-click\":true},on:{\"click\":function($event){return action.callback(_vm.contact)}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('NcIconSvgWrapper',{attrs:{\"svg\":action.iconSvg(_vm.contact)}})]},proxy:true}],null,true)},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(action.displayName(_vm.contact))+\"\\n\\t\\t\")])})],2):_vm._e()],1)\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","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c(_setup.NcHeaderMenu,{staticClass:\"contactsmenu\",attrs:{\"id\":\"contactsmenu\",\"aria-label\":_setup.t('core', 'Search contacts'),\"exclude-click-outside-selectors\":\".v-popper__popper\"},on:{\"open\":_setup.onOpened},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c(_setup.NcIconSvgWrapper,{staticClass:\"contactsmenu__trigger-icon\",attrs:{\"path\":_setup.mdiContacts}})]},proxy:true}])},[_vm._v(\" \"),_c('div',{staticClass:\"contactsmenu__menu\"},[_c('div',{staticClass:\"contactsmenu__menu__search-container\"},[_c('div',{staticClass:\"contactsmenu__menu__input-wrapper\"},[_c(_setup.NcActions,{attrs:{\"force-menu\":\"\",\"aria-label\":_setup.t('core', 'Filter by team'),\"variant\":\"tertiary\"},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c(_setup.NcIconSvgWrapper,{attrs:{\"path\":_setup.mdiAccountGroupOutline}})]},proxy:true},{key:\"default\",fn:function(){return [_c(_setup.NcActionButton,{attrs:{\"modelValue\":_setup.selectedTeam,\"value\":\"$_all_$\",\"type\":\"radio\"},on:{\"update:modelValue\":function($event){_setup.selectedTeam=$event},\"update:model-value\":function($event){_setup.selectedTeam=$event}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_setup.t('core', 'All teams'))+\"\\n\\t\\t\\t\\t\\t\\t\")]),_vm._v(\" \"),_vm._l((_setup.teams),function(team){return _c(_setup.NcActionButton,{key:team.teamId,attrs:{\"modelValue\":_setup.selectedTeam,\"value\":team.teamId,\"type\":\"radio\"},on:{\"update:modelValue\":function($event){_setup.selectedTeam=$event},\"update:model-value\":function($event){_setup.selectedTeam=$event}}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(team.displayName)+\"\\n\\t\\t\\t\\t\\t\\t\")])})]},proxy:true}])}),_vm._v(\" \"),_c(_setup.NcTextField,{ref:\"contactsMenuInput\",staticClass:\"contactsmenu__menu__search\",attrs:{\"id\":\"contactsmenu__menu__search\",\"trailing-button-icon\":\"close\",\"label\":_setup.selectedTeamName\n\t\t\t\t\t\t? _setup.t('core', 'Search contacts in team {team}', { team: _setup.selectedTeamName })\n\t\t\t\t\t\t: _setup.t('core', 'Search contacts …'),\"trailing-button-label\":_setup.t('core', 'Reset search'),\"show-trailing-button\":_setup.searchTerm !== '',\"type\":\"search\"},on:{\"input\":_setup.onInputDebounced,\"trailing-button-click\":_setup.onReset},model:{value:(_setup.searchTerm),callback:function ($$v) {_setup.searchTerm=$$v},expression:\"searchTerm\"}})],1),_vm._v(\" \"),_vm._l((_setup.actions),function(action){return _c(_setup.NcButton,{key:action.id,staticClass:\"contactsmenu__menu__action\",attrs:{\"aria-label\":action.label,\"title\":action.label,\"variant\":\"tertiary-no-background\"},on:{\"click\":action.onClick},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c(_setup.NcIconSvgWrapper,{attrs:{\"svg\":action.icon}})]},proxy:true}],null,true)})})],2),_vm._v(\" \"),(_setup.hasError)?_c(_setup.NcEmptyContent,{attrs:{\"name\":_setup.t('core', 'Could not load your contacts')},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c(_setup.NcIconSvgWrapper,{attrs:{\"path\":_setup.mdiMagnify}})]},proxy:true}],null,false,1853740774)}):(_setup.loadingText)?_c(_setup.NcEmptyContent,{attrs:{\"name\":_setup.loadingText},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c(_setup.NcLoadingIcon)]},proxy:true}])}):(_setup.contacts.length === 0)?_c(_setup.NcEmptyContent,{attrs:{\"name\":_setup.t('core', 'No contacts found')},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c(_setup.NcIconSvgWrapper,{attrs:{\"path\":_setup.mdiMagnify}})]},proxy:true}])}):_c('div',{staticClass:\"contactsmenu__menu__content\"},[_c('div',{attrs:{\"id\":\"contactsmenu-contacts\"}},[_c('ul',{attrs:{\"aria-label\":_setup.t('core', 'Contacts list')}},_vm._l((_setup.contacts),function(contact){return _c(_setup.ContactMenuEntry,{key:contact.id,attrs:{\"contact\":contact}})}),1)]),_vm._v(\" \"),(_setup.contactsAppEnabled)?_c('div',{staticClass:\"contactsmenu__menu__content__footer\"},[_c(_setup.NcButton,{attrs:{\"variant\":\"tertiary\",\"href\":_setup.contactsAppURL}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_setup.t('core', 'Show all contacts'))+\"\\n\\t\\t\\t\\t\")])],1):(_setup.user.isAdmin)?_c('div',{staticClass:\"contactsmenu__menu__content__footer\"},[_c(_setup.NcButton,{attrs:{\"variant\":\"tertiary\",\"href\":_setup.contactsAppMgmtURL}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_setup.t('core', 'Install the Contacts app'))+\"\\n\\t\\t\\t\\t\")])],1):_vm._e()])],1)])\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!./ContactsMenu.vue?vue&type=script&setup=true&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!./ContactsMenu.vue?vue&type=script&setup=true&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!./ContactsMenu.vue?vue&type=style&index=0&id=253ecd69&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!./ContactsMenu.vue?vue&type=style&index=0&id=253ecd69&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./ContactsMenu.vue?vue&type=template&id=253ecd69&scoped=true\"\nimport script from \"./ContactsMenu.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ContactsMenu.vue?vue&type=script&setup=true&lang=ts\"\nimport style0 from \"./ContactsMenu.vue?vue&type=style&index=0&id=253ecd69&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 \"253ecd69\",\n null\n \n)\n\nexport default component.exports","/**\n * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nexport default class ContactsMenuService {\n _actions;\n constructor() {\n this._actions = [];\n }\n get actions() {\n return this._actions;\n }\n /*\n * Register an action for the contacts menu\n * Actions use NcButton\n */\n addAction(action) {\n this._actions.push(action);\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('nav',{staticClass:\"app-menu\",attrs:{\"aria-label\":_vm.t('core', 'Applications')}},[_c('NcPopover',{ref:\"popover\",attrs:{\"shown\":_vm.opened,\"triggers\":[],\"placement\":\"bottom-start\",\"skidding\":_vm.popoverSkidding,\"set-return-focus\":_vm.returnFocusTarget,\"popover-base-class\":\"app-menu__popover-base\",\"popup-role\":\"menu\"},on:{\"update:shown\":function($event){_vm.opened = $event}},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c('NcButton',{staticClass:\"app-menu__waffle\",attrs:{\"variant\":\"tertiary-no-background\",\"aria-label\":_vm.t('core', 'Open apps menu'),\"aria-haspopup\":\"menu\",\"aria-expanded\":_vm.opened ? 'true' : 'false'},on:{\"click\":function($event){return _vm.onTriggerClick('waffle')}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconDotsGrid',{attrs:{\"size\":20}})]},proxy:true}])})]},proxy:true}])},[_vm._v(\" \"),_c('div',{staticClass:\"app-menu__popover\",attrs:{\"role\":\"menu\",\"aria-label\":_vm.t('core', 'Apps')}},[_c('div',{ref:\"grid\",staticClass:\"app-menu__grid\",on:{\"keydown\":_vm.onGridKeydown}},_vm._l((_vm.gridItems),function(item,i){return _c('AppItem',{key:item.id,ref:\"items\",refInFor:true,attrs:{\"app\":item,\"outlined\":item.id === 'more-apps' || item.id === 'app-store',\"new-tab\":item.id === 'app-store',\"tabindex\":i === _vm.focusedIndex ? 0 : -1}})}),1)])]),_vm._v(\" \"),(_vm.currentApp)?_c('NcButton',{staticClass:\"app-menu__current-app\",attrs:{\"variant\":\"tertiary-no-background\",\"aria-label\":_vm.currentAppLabel,\"aria-haspopup\":\"menu\",\"aria-expanded\":_vm.opened ? 'true' : 'false'},on:{\"click\":function($event){return _vm.onTriggerClick('currentApp')}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [(_vm.currentApp.type === 'settings')?_c('IconCog',{staticClass:\"app-menu__current-app-cog\",attrs:{\"size\":20}}):_c('img',{staticClass:\"app-menu__current-app-icon\",attrs:{\"src\":_vm.currentApp.icon,\"alt\":\"\",\"aria-hidden\":\"true\"}})]},proxy:true}],null,false,3821102756)},[_vm._v(\" \"),_c('span',{staticClass:\"app-menu__current-app-name\"},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.displayName)+\"\\n\\t\\t\")])]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./Cog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./Cog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Cog.vue?vue&type=template&id=209aff25\"\nimport script from \"./Cog.vue?vue&type=script&lang=js\"\nexport * from \"./Cog.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 cog-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\":\"M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z\"}},[(_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!./DotsGrid.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./DotsGrid.vue?vue&type=script&lang=js\"","\n\n","import { render, staticRenderFns } from \"./DotsGrid.vue?vue&type=template&id=39d551be\"\nimport script from \"./DotsGrid.vue?vue&type=script&lang=js\"\nexport * from \"./DotsGrid.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 dots-grid-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\":\"M12 16C13.1 16 14 16.9 14 18S13.1 20 12 20 10 19.1 10 18 10.9 16 12 16M12 10C13.1 10 14 10.9 14 12S13.1 14 12 14 10 13.1 10 12 10.9 10 12 10M12 4C13.1 4 14 4.9 14 6S13.1 8 12 8 10 7.1 10 6 10.9 4 12 4M6 16C7.1 16 8 16.9 8 18S7.1 20 6 20 4 19.1 4 18 4.9 16 6 16M6 10C7.1 10 8 10.9 8 12S7.1 14 6 14 4 13.1 4 12 4.9 10 6 10M6 4C7.1 4 8 4.9 8 6S7.1 8 6 8 4 7.1 4 6 4.9 4 6 4M18 16C19.1 16 20 16.9 20 18S19.1 20 18 20 16 19.1 16 18 16.9 16 18 16M18 10C19.1 10 20 10.9 20 12S19.1 14 18 14 16 13.1 16 12 16.9 10 18 10M18 4C19.1 4 20 4.9 20 6S19.1 8 18 8 16 7.1 16 6 16.9 4 18 4Z\"}},[(_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/ts-loader/index.js??clonedRuleSet-6.use[1]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppItem.vue?vue&type=script&setup=true&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!./AppItem.vue?vue&type=script&setup=true&lang=ts\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('a',{staticClass:\"app-item\",class:{\n\t\t'app-item--active': _vm.app.active,\n\t\t'app-item--outlined': _vm.outlined,\n\t},attrs:{\"href\":_vm.app.href,\"target\":_vm.newTab ? '_blank' : undefined,\"rel\":_vm.newTab ? 'noopener noreferrer' : undefined,\"aria-current\":_vm.app.active ? 'page' : undefined,\"tabindex\":_vm.tabindex,\"title\":_vm.app.name,\"role\":\"menuitem\"}},[_c('span',{staticClass:\"app-item__circle\"},[_c('img',{staticClass:\"app-item__icon\",attrs:{\"src\":_vm.app.icon,\"alt\":\"\",\"aria-hidden\":\"true\"}}),_vm._v(\" \"),(_vm.app.unread)?_c('span',{staticClass:\"app-item__unread\",attrs:{\"aria-hidden\":\"true\"}}):_vm._e()]),_vm._v(\" \"),_c('span',{staticClass:\"app-item__label\"},[_vm._v(\"\\n\\t\\t\"+_vm._s(_vm.app.name)+\"\\n\\t\\t\"),(_vm.app.unread)?_c('span',{staticClass:\"hidden-visually\"},[_vm._v(\", \"+_vm._s(_setup.unreadLabel))]):_vm._e()])])\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!./AppItem.vue?vue&type=style&index=0&id=278c0168&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!./AppItem.vue?vue&type=style&index=0&id=278c0168&prod&scoped=true&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./AppItem.vue?vue&type=template&id=278c0168&scoped=true\"\nimport script from \"./AppItem.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AppItem.vue?vue&type=script&setup=true&lang=ts\"\nimport style0 from \"./AppItem.vue?vue&type=style&index=0&id=278c0168&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 \"278c0168\",\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!./AppMenu.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!./AppMenu.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!./AppMenu.vue?vue&type=style&index=0&id=36dadc6d&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!./AppMenu.vue?vue&type=style&index=0&id=36dadc6d&prod&scoped=true&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\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!./AppMenu.vue?vue&type=style&index=1&id=36dadc6d&prod&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!./AppMenu.vue?vue&type=style&index=1&id=36dadc6d&prod&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./AppMenu.vue?vue&type=template&id=36dadc6d&scoped=true\"\nimport script from \"./AppMenu.vue?vue&type=script&lang=ts\"\nexport * from \"./AppMenu.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AppMenu.vue?vue&type=style&index=0&id=36dadc6d&prod&scoped=true&lang=scss\"\nimport style1 from \"./AppMenu.vue?vue&type=style&index=1&id=36dadc6d&prod&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 \"36dadc6d\",\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('NcHeaderMenu',{staticClass:\"account-menu\",attrs:{\"id\":\"user-menu\",\"is-nav\":\"\",\"aria-label\":_vm.t('core', 'Settings menu'),\"description\":_vm.avatarDescription},scopedSlots:_vm._u([{key:\"trigger\",fn:function(){return [_c('NcAvatar',{key:String(_vm.showUserStatus),staticClass:\"account-menu__avatar\",attrs:{\"disable-menu\":\"\",\"disable-tooltip\":\"\",\"hide-user-status\":!_vm.showUserStatus,\"user\":_vm.currentUserId,\"preloaded-user-status\":_vm.userStatus}})]},proxy:true}])},[_vm._v(\" \"),_c('ul',{staticClass:\"account-menu__list\"},[_c('AccountMenuProfileEntry',{attrs:{\"id\":_vm.profileEntry.id,\"name\":_vm.profileEntry.name,\"href\":_vm.profileEntry.href,\"active\":_vm.profileEntry.active}}),_vm._v(\" \"),_vm._l((_vm.otherEntries),function(entry){return _c('AccountMenuEntry',{key:entry.id,attrs:{\"id\":entry.id,\"name\":entry.name,\"href\":entry.href,\"active\":entry.active,\"icon\":entry.icon}})})],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('NcListItem',{staticClass:\"account-menu-entry\",attrs:{\"id\":_vm.href ? undefined : _vm.id,\"anchor-id\":_vm.id,\"active\":_vm.active,\"compact\":\"\",\"href\":_vm.href,\"name\":_vm.name,\"target\":\"_self\"},on:{\"click\":_vm.onClick},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [(_vm.loading)?_c('NcLoadingIcon',{staticClass:\"account-menu-entry__loading\",attrs:{\"size\":20}}):(_vm.$scopedSlots.icon)?_vm._t(\"icon\"):_c('img',{staticClass:\"account-menu-entry__icon\",class:{ 'account-menu-entry__icon--active': _vm.active },attrs:{\"src\":_vm.iconSource,\"alt\":\"\"}})]},proxy:true}])})\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!./AccountMenuEntry.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!./AccountMenuEntry.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!./AccountMenuEntry.vue?vue&type=style&index=0&id=bdb908d2&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!./AccountMenuEntry.vue?vue&type=style&index=0&id=bdb908d2&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./AccountMenuEntry.vue?vue&type=template&id=bdb908d2&scoped=true\"\nimport script from \"./AccountMenuEntry.vue?vue&type=script&lang=ts\"\nexport * from \"./AccountMenuEntry.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AccountMenuEntry.vue?vue&type=style&index=0&id=bdb908d2&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 \"bdb908d2\",\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('NcListItem',{attrs:{\"id\":_vm.profileEnabled ? undefined : _vm.id,\"anchor-id\":_vm.id,\"active\":_vm.active,\"compact\":\"\",\"href\":_vm.profileEnabled ? _vm.href : undefined,\"name\":_vm.displayName,\"target\":\"_self\"},scopedSlots:_vm._u([(_vm.profileEnabled)?{key:\"subname\",fn:function(){return [_vm._v(\"\\n\\t\\t\"+_vm._s(_vm.name)+\"\\n\\t\")]},proxy:true}:null,(_vm.canCreateAppToken)?{key:\"extra-actions\",fn:function(){return [_c('NcButton',{attrs:{\"aria-label\":_vm.t('core', 'Show QR code for mobile app login'),\"variant\":\"secondary\"},on:{\"click\":_vm.handleQrCodeClick},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('IconQrcodeScan',{attrs:{\"size\":20}})]},proxy:true}],null,false,3784924786)})]},proxy:true}:null,(_vm.loading)?{key:\"indicator\",fn:function(){return [_c('NcLoadingIcon')]},proxy:true}:null],null,true)})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../vue-loader/lib/index.js??vue-loader-options!./QrcodeScan.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../vue-loader/lib/index.js??vue-loader-options!./QrcodeScan.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./QrcodeScan.vue?vue&type=template&id=7489e3c8\"\nimport script from \"./QrcodeScan.vue?vue&type=script&lang=js\"\nexport * from \"./QrcodeScan.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 qrcode-scan-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\":\"M4,4H10V10H4V4M20,4V10H14V4H20M14,15H16V13H14V11H16V13H18V11H20V13H18V15H20V18H18V20H16V18H13V20H11V16H14V15M16,15V18H18V15H16M4,20V14H10V20H4M6,6V8H8V6H6M16,6V8H18V6H16M6,16V18H8V16H6M4,11H6V13H4V11M9,11H13V15H11V13H9V11M11,6H13V10H11V6M2,2V6H0V2A2,2 0 0,1 2,0H6V2H2M22,0A2,2 0 0,1 24,2V6H22V2H18V0H22M2,18V22H6V24H2A2,2 0 0,1 0,22V18H2M22,22V18H24V22A2,2 0 0,1 22,24H18V22H22Z\"}},[(_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,_setup=_vm._self._setupProxy;return _c(_setup.NcDialog,{attrs:{\"name\":_setup.t('core', 'Scan QR code to log in'),\"buttons\":_setup.buttons},on:{\"closing\":_setup.onClosing}},[_c('div',{staticClass:\"qr-login__content\"},[_c('p',{staticClass:\"qr-login__description\"},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_setup.t('core', 'Use {productName} mobile client you want to connect to scan the code', { productName: _setup.productName }))+\"\\n\\t\\t\")]),_vm._v(\" \"),_c(_setup.QR,{attrs:{\"value\":_setup.qrUrl}}),_vm._v(\" \"),(_setup.isOneTimeToken)?[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_setup.t('core', 'Code will expire {timeCountdown} or after use', { timeCountdown: _setup.timeCountdown }))+\"\\n\\t\\t\")]:_vm._e()],2)])\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!./AccountQRLoginDialog.vue?vue&type=script&setup=true&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!./AccountQRLoginDialog.vue?vue&type=script&setup=true&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!./AccountQRLoginDialog.vue?vue&type=style&index=0&id=666075e8&prod&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!./AccountQRLoginDialog.vue?vue&type=style&index=0&id=666075e8&prod&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./AccountQRLoginDialog.vue?vue&type=template&id=666075e8\"\nimport script from \"./AccountQRLoginDialog.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./AccountQRLoginDialog.vue?vue&type=script&setup=true&lang=ts\"\nimport style0 from \"./AccountQRLoginDialog.vue?vue&type=style&index=0&id=666075e8&prod&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 null,\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!./AccountMenuProfileEntry.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!./AccountMenuProfileEntry.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AccountMenuProfileEntry.vue?vue&type=template&id=25579474\"\nimport script from \"./AccountMenuProfileEntry.vue?vue&type=script&lang=ts\"\nexport * from \"./AccountMenuProfileEntry.vue?vue&type=script&lang=ts\"\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 null,\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!./AccountMenu.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!./AccountMenu.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!./AccountMenu.vue?vue&type=style&index=0&id=6c007912&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!./AccountMenu.vue?vue&type=style&index=0&id=6c007912&prod&lang=scss&scoped=true\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./AccountMenu.vue?vue&type=template&id=6c007912&scoped=true\"\nimport script from \"./AccountMenu.vue?vue&type=script&lang=ts\"\nexport * from \"./AccountMenu.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AccountMenu.vue?vue&type=style&index=0&id=6c007912&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 \"6c007912\",\n null\n \n)\n\nexport default component.exports","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { emit } from '@nextcloud/event-bus';\nimport { generateUrl } from '@nextcloud/router';\n/**\n * Get the current CSRF token.\n */\nexport function getRequestToken() {\n return document.head.dataset.requesttoken;\n}\n/**\n * Set a new CSRF token (e.g. because of session refresh).\n * This also emits an event bus event for the updated token.\n *\n * @param token - The new token\n * @fires Error - If the passed token is not a potential valid token\n */\nexport function setRequestToken(token) {\n if (!token || typeof token !== 'string') {\n throw new Error('Invalid CSRF token given', { cause: { token } });\n }\n document.head.dataset.requesttoken = token;\n emit('csrf-token-update', { token });\n}\n/**\n * Fetch the request token from the API.\n * This does also set it on the current context, see `setRequestToken`.\n *\n * @fires Error - If the request failed\n */\nexport async function fetchRequestToken() {\n const url = generateUrl('/csrftoken');\n const response = await fetch(url);\n if (!response.ok) {\n throw new Error('Could not fetch CSRF token from API', { cause: response });\n }\n const { token } = await response.json();\n setRequestToken(token);\n return token;\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { getCurrentUser } from '@nextcloud/auth';\nimport { emit } from '@nextcloud/event-bus';\nimport { loadState } from '@nextcloud/initial-state';\nimport { generateUrl } from '@nextcloud/router';\nimport logger from './logger.js';\nimport { fetchRequestToken, getRequestToken, } from './OC/requesttoken.ts';\n// This is always set, exception would be e.g. error pages where this is undefined\nconst { auto_logout: autoLogout, session_keepalive: keepSessionAlive, session_lifetime: sessionLifetime, } = loadState('core', 'config', {});\n/**\n * Calls the server periodically to ensure that session and CSRF\n * token doesn't expire\n */\nexport function initSessionHeartBeat() {\n registerAutoLogout();\n if (!keepSessionAlive) {\n logger.info('Session heartbeat disabled');\n return;\n }\n let interval = startPolling();\n window.addEventListener('online', async () => {\n logger.info('Browser is online again, resuming heartbeat');\n interval = startPolling();\n try {\n await poll();\n logger.info('Session token successfully updated after resuming network');\n // Let apps know we're online and requests will have the new token\n emit('networkOnline', {\n success: true,\n });\n }\n catch (error) {\n logger.error('could not update session token after resuming network', { error });\n // Let apps know we're online but requests might have an outdated token\n emit('networkOnline', {\n success: false,\n });\n }\n });\n window.addEventListener('offline', () => {\n logger.info('Browser is offline, stopping heartbeat');\n // Let apps know we're offline\n emit('networkOffline', {});\n clearInterval(interval);\n logger.info('Session heartbeat polling stopped');\n });\n}\n/**\n * Get interval in seconds\n */\nfunction getInterval() {\n const interval = sessionLifetime\n ? Math.floor(sessionLifetime / 2)\n : 900;\n // minimum one minute, max 24 hours, default 15 minutes\n return Math.min(24 * 3600, Math.max(60, interval));\n}\n/**\n * Poll the CSRF token for changes.\n * This will also extend the current session if needed.\n */\nasync function poll() {\n try {\n await fetchRequestToken();\n }\n catch (error) {\n logger.error('session heartbeat failed', { error });\n }\n}\n/**\n * Start an window interval with the polling as the callback.\n *\n * @return The interval id\n */\nfunction startPolling() {\n const interval = window.setInterval(poll, getInterval() * 1000);\n logger.info('session heartbeat polling started');\n return interval;\n}\n/**\n * If enabled this will register event listeners to track if a user is active.\n * If not the user will be automatically logged out after the configured IDLE time.\n */\nfunction registerAutoLogout() {\n if (!autoLogout || !getCurrentUser()) {\n return;\n }\n let lastActive = Date.now();\n window.addEventListener('mousemove', () => {\n lastActive = Date.now();\n localStorage.setItem('lastActive', JSON.stringify(lastActive));\n });\n window.addEventListener('touchstart', () => {\n lastActive = Date.now();\n localStorage.setItem('lastActive', JSON.stringify(lastActive));\n });\n window.addEventListener('storage', (event) => {\n if (event.key !== 'lastActive') {\n return;\n }\n if (event.newValue === null) {\n return;\n }\n lastActive = JSON.parse(event.newValue);\n });\n let intervalId = 0;\n const logoutCheck = () => {\n const timeout = Date.now() - (sessionLifetime ?? 86400) * 1000;\n if (lastActive < timeout) {\n clearTimeout(intervalId);\n logger.info('Inactivity timout reached, logging out');\n const logoutUrl = generateUrl('/logout') + '?requesttoken=' + encodeURIComponent(getRequestToken());\n window.location.href = logoutUrl;\n }\n };\n intervalId = window.setInterval(logoutCheck, 1000);\n}\n","/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { t } from '@nextcloud/l10n';\nimport logger from '../logger.js';\n/**\n *\n * @param text\n */\nfunction unsecuredCopyToClipboard(text) {\n const textArea = document.createElement('textarea');\n const textAreaContent = document.createTextNode(text);\n textArea.appendChild(textAreaContent);\n document.body.appendChild(textArea);\n textArea.focus({ preventScroll: true });\n textArea.select();\n try {\n // This is a fallback for browsers that do not support the Clipboard API\n // execCommand is deprecated, but it is the only way to copy text to the clipboard in some browsers\n document.execCommand('copy');\n }\n catch (error) {\n window.prompt(t('core', 'Clipboard not available, please copy manually'), text);\n logger.error('files Unable to copy to clipboard', { error });\n }\n document.body.removeChild(textArea);\n}\n/**\n *\n */\nfunction initFallbackClipboardAPI() {\n if (!window.navigator?.clipboard?.writeText) {\n logger.info('Clipboard API not available, using fallback');\n Object.defineProperty(window.navigator, 'clipboard', {\n value: {\n writeText: unsecuredCopyToClipboard,\n },\n writable: false,\n });\n }\n}\nexport { initFallbackClipboardAPI };\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 { generateUrl, getRootUrl } from '@nextcloud/router'\nimport logger from '../logger.js'\n\n/**\n *\n * @param {string} url the URL to check\n * @return {boolean}\n */\nfunction isRelativeUrl(url) {\n\treturn !url.startsWith('https://') && !url.startsWith('http://')\n}\n\n/**\n * @param {string} url The URL to check\n * @return {boolean} true if the URL points to this nextcloud instance\n */\nfunction isNextcloudUrl(url) {\n\tconst nextcloudBaseUrl = window.location.protocol + '//' + window.location.host + getRootUrl()\n\t// if the URL is absolute and starts with the baseUrl+rootUrl\n\t// OR if the URL is relative and starts with rootUrl\n\treturn url.startsWith(nextcloudBaseUrl)\n\t\t|| (isRelativeUrl(url) && url.startsWith(getRootUrl()))\n}\n\n/**\n * Check if a user was logged in but is now logged-out.\n * If this is the case then the user will be forwarded to the login page.\n *\n * @return {Promise}\n */\nasync function checkLoginStatus() {\n\t// skip if no logged in user\n\tif (getCurrentUser() === null) {\n\t\treturn\n\t}\n\n\t// skip if already running\n\tif (checkLoginStatus.running === true) {\n\t\treturn\n\t}\n\n\t// only run one request in parallel\n\tcheckLoginStatus.running = true\n\n\ttry {\n\t\t// We need to check this as a 401 in the first place could also come from other reasons\n\t\tconst { status } = await window.fetch(generateUrl('/apps/files'))\n\t\tif (status === 401) {\n\t\t\tlogger.warn('User session was terminated, forwarding to login page.')\n\t\t\tawait wipeBrowserStorages()\n\t\t\twindow.location = generateUrl('/login?redirect_url={url}', {\n\t\t\t\turl: window.location.pathname + window.location.search + window.location.hash,\n\t\t\t})\n\t\t}\n\t} catch (error) {\n\t\tlogger.warn('Could not check login-state', { error })\n\t} finally {\n\t\tdelete checkLoginStatus.running\n\t}\n}\n\n/**\n * Clear all Browser storages connected to current origin.\n *\n * @return {Promise}\n */\nexport async function wipeBrowserStorages() {\n\ttry {\n\t\twindow.localStorage.clear()\n\t\twindow.sessionStorage.clear()\n\t\tconst indexedDBList = await window.indexedDB.databases()\n\t\tfor (const indexedDB of indexedDBList) {\n\t\t\tawait window.indexedDB.deleteDatabase(indexedDB.name)\n\t\t}\n\t\tlogger.debug('Browser storages cleared')\n\t} catch (error) {\n\t\tlogger.error('Could not clear browser storages', { error })\n\t}\n}\n\n/**\n * Intercept XMLHttpRequest and fetch API calls to add X-Requested-With header\n *\n * This is also done in @nextcloud/axios but not all requests pass through that\n */\nexport function interceptRequests() {\n\tXMLHttpRequest.prototype.open = (function(open) {\n\t\treturn function(method, url) {\n\t\t\topen.apply(this, arguments)\n\t\t\tif (isNextcloudUrl(url)) {\n\t\t\t\tif (!this.getResponseHeader('X-Requested-With')) {\n\t\t\t\t\tthis.setRequestHeader('X-Requested-With', 'XMLHttpRequest')\n\t\t\t\t}\n\t\t\t\tthis.addEventListener('loadend', function() {\n\t\t\t\t\tif (this.status === 401) {\n\t\t\t\t\t\tcheckLoginStatus()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t})(XMLHttpRequest.prototype.open)\n\n\twindow.fetch = (function(fetch) {\n\t\treturn async (resource, options) => {\n\t\t\t// fetch allows the `input` to be either a Request object or any stringifyable value\n\t\t\tif (!isNextcloudUrl(resource.url ?? resource.toString())) {\n\t\t\t\treturn await fetch(resource, options)\n\t\t\t}\n\t\t\tif (!options) {\n\t\t\t\toptions = {}\n\t\t\t}\n\t\t\tif (!options.headers) {\n\t\t\t\toptions.headers = new Headers()\n\t\t\t}\n\n\t\t\tif (options.headers instanceof Headers && !options.headers.has('X-Requested-With')) {\n\t\t\t\toptions.headers.append('X-Requested-With', 'XMLHttpRequest')\n\t\t\t} else if (options.headers instanceof Object && !options.headers['X-Requested-With']) {\n\t\t\t\toptions.headers['X-Requested-With'] = 'XMLHttpRequest'\n\t\t\t}\n\n\t\t\tconst response = await fetch(resource, options)\n\t\t\tif (response.status === 401) {\n\t\t\t\tcheckLoginStatus()\n\t\t\t}\n\t\t\treturn response\n\t\t}\n\t})(window.fetch)\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getLocale } from '@nextcloud/l10n'\nimport moment from 'moment'\nimport { setUp as setUpContactsMenu } from './components/ContactsMenu.js'\nimport { setUp as setUpMainMenu } from './components/MainMenu.js'\nimport { setUp as setUpUserMenu } from './components/UserMenu.js'\nimport { initSessionHeartBeat } from './session-heartbeat.ts'\nimport { initFallbackClipboardAPI } from './utils/ClipboardFallback.ts'\nimport { interceptRequests } from './utils/xhr-request.js'\n\n/**\n * Moment doesn't have aliases for every locale and doesn't parse some locale IDs correctly so we need to alias them\n */\nconst localeAliases = {\n\tzh: 'zh-cn',\n\tzh_Hans: 'zh-cn',\n\tzh_Hans_CN: 'zh-cn',\n\tzh_Hans_HK: 'zh-cn',\n\tzh_Hans_MO: 'zh-cn',\n\tzh_Hans_SG: 'zh-cn',\n\tzh_Hant: 'zh-hk',\n\tzh_Hant_HK: 'zh-hk',\n\tzh_Hant_MO: 'zh-mo',\n\tzh_Hant_TW: 'zh-tw',\n}\nlet locale = getLocale()\nif (Object.hasOwn(localeAliases, locale)) {\n\tlocale = localeAliases[locale]\n}\n\n/**\n * Set users locale to moment.js as soon as possible\n */\nmoment.locale(locale)\n\n/**\n * Initializes core\n */\nexport function initCore() {\n\tinterceptRequests()\n\tinitFallbackClipboardAPI()\n\n\tinitSessionHeartBeat()\n\n\tsetUpMainMenu()\n\tsetUpUserMenu()\n\tsetUpContactsMenu()\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { translatePlural as n, translate as t } from '@nextcloud/l10n'\nimport Vue from 'vue'\nimport AppMenu from './AppMenu.vue'\n\n/**\n * Set up the main menu component (\"AppMenu\")\n * This is the top left menu where users can navigate between different apps.\n */\nexport function setUp() {\n\tVue.mixin({\n\t\tmethods: {\n\t\t\tt,\n\t\t\tn,\n\t\t},\n\t})\n\n\tconst container = document.getElementById('header-start__appmenu')\n\tif (!container) {\n\t\t// no container, possibly we're on a public page\n\t\treturn\n\t}\n\tconst AppMenuApp = Vue.extend(AppMenu)\n\tconst appMenu = new AppMenuApp({}).$mount(container)\n\n\tObject.assign(OC, {\n\t\tsetNavigationCounter(id, counter) {\n\t\t\tappMenu.setNavigationCounter(id, counter)\n\t\t},\n\t})\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport Vue from 'vue'\nimport AccountMenu from '../views/AccountMenu.vue'\n\n/**\n * Set up the user menu component (\"AccountMenu\")\n * This is the top right menu where users can access their settings, profile, logout, etc.\n */\nexport function setUp() {\n\tconst mountPoint = document.getElementById('user-menu')\n\tif (mountPoint) {\n\t\tnew Vue({\n\t\t\tname: 'AccountMenuRoot',\n\t\t\tel: mountPoint,\n\t\t\trender: (h) => h(AccountMenu),\n\t\t})\n\t}\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport Vue from 'vue'\nimport ContactsMenu from '../views/ContactsMenu.vue'\nimport ContactsMenuService from '../services/ContactsMenuService.ts'\n\n/**\n * Set up the contacts menu component (\"ContactsMenu\")\n * This is the menu where users can access their contacts or other users on this instance.\n */\nexport function setUp() {\n\tconst mountPoint = document.getElementById('contactsmenu')\n\n\tif (mountPoint) {\n\t\twindow.OC.ContactsMenu = new ContactsMenuService()\n\n\t\tnew Vue({\n\t\t\tname: 'ContactsMenuRoot',\n\t\t\tel: mountPoint,\n\t\t\trender: (h) => h(ContactsMenu),\n\t\t})\n\t}\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nconst isAdmin = !!window._oc_isadmin\n\n/**\n * Returns whether the current user is an administrator\n *\n * @return {boolean} true if the user is an admin, false otherwise\n * @since 9.0.0\n */\nexport const isUserAdmin = () => isAdmin\n","/*!\n * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors\n * SPDX-FileCopyrightText: 2014 ownCloud, Inc.\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * @deprecated 16.0.0 Use OCP.AppConfig instead\n */\nexport const appConfig = window.oc_appconfig || {}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nconst appswebroots = (window._oc_appswebroots !== undefined) ? window._oc_appswebroots : false\n\nexport default appswebroots\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nconst config = window._oc_config || {}\n\nexport default config\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nconst rawUid = document\n\t.getElementsByTagName('head')[0]\n\t.getAttribute('data-user')\nconst displayName = document\n\t.getElementsByTagName('head')[0]\n\t.getAttribute('data-user-displayname')\n\nexport const currentUser = rawUid !== undefined ? rawUid : false\n\n/**\n *\n */\nexport function getCurrentUser() {\n\treturn {\n\t\tuid: currentUser,\n\t\tdisplayName,\n\t}\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nconst base = window._oc_debug\n\nexport const debug = base\n","/**\n * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors\n * SPDX-FileCopyrightText: 2015 ownCloud, Inc.\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport IconMove from '@mdi/svg/svg/folder-move.svg?raw'\nimport IconCopy from '@mdi/svg/svg/folder-multiple-outline.svg?raw'\nimport { DialogBuilder, FilePickerType, getFilePickerBuilder } from '@nextcloud/dialogs'\nimport { t } from '@nextcloud/l10n'\nimport { spawnDialog } from '@nextcloud/vue/functions/dialog'\nimport { basename } from 'path'\nimport { defineAsyncComponent } from 'vue'\nimport logger from '../logger.js'\n\n/**\n * this class to ease the usage of dialogs\n */\nconst Dialogs = {\n\t// dialog button types\n\t/** @deprecated use `@nextcloud/dialogs` */\n\tYES_NO_BUTTONS: 70,\n\t/** @deprecated use `@nextcloud/dialogs` */\n\tOK_BUTTONS: 71,\n\n\t/** @deprecated use FilePickerType from `@nextcloud/dialogs` */\n\tFILEPICKER_TYPE_CHOOSE: 1,\n\t/** @deprecated use FilePickerType from `@nextcloud/dialogs` */\n\tFILEPICKER_TYPE_MOVE: 2,\n\t/** @deprecated use FilePickerType from `@nextcloud/dialogs` */\n\tFILEPICKER_TYPE_COPY: 3,\n\t/** @deprecated use FilePickerType from `@nextcloud/dialogs` */\n\tFILEPICKER_TYPE_COPY_MOVE: 4,\n\t/** @deprecated use FilePickerType from `@nextcloud/dialogs` */\n\tFILEPICKER_TYPE_CUSTOM: 5,\n\n\t/**\n\t * displays alert dialog\n\t *\n\t * @param {string} text content of dialog\n\t * @param {string} title dialog title\n\t * @param {Function} callback which will be triggered when user presses OK\n\t * @param {boolean} [modal] make the dialog modal\n\t *\n\t * @deprecated 30.0.0 Use `@nextcloud/dialogs` instead or build your own with `@nextcloud/vue` NcDialog\n\t */\n\talert: function(text, title, callback, modal) {\n\t\tthis.message(\n\t\t\ttext,\n\t\t\ttitle,\n\t\t\t'alert',\n\t\t\tDialogs.OK_BUTTON,\n\t\t\tcallback,\n\t\t\tmodal,\n\t\t)\n\t},\n\n\t/**\n\t * displays info dialog\n\t *\n\t * @param {string} text content of dialog\n\t * @param {string} title dialog title\n\t * @param {Function} callback which will be triggered when user presses OK\n\t * @param {boolean} [modal] make the dialog modal\n\t *\n\t * @deprecated 30.0.0 Use `@nextcloud/dialogs` instead or build your own with `@nextcloud/vue` NcDialog\n\t */\n\tinfo: function(text, title, callback, modal) {\n\t\tthis.message(text, title, 'info', Dialogs.OK_BUTTON, callback, modal)\n\t},\n\n\t/**\n\t * displays confirmation dialog\n\t *\n\t * @param {string} text content of dialog\n\t * @param {string} title dialog title\n\t * @param {Function} callback which will be triggered when user presses OK (true or false would be passed to callback respectively)\n\t * @param {boolean} [modal] make the dialog modal\n\t * @return {Promise}\n\t *\n\t * @deprecated 30.0.0 Use `@nextcloud/dialogs` instead or build your own with `@nextcloud/vue` NcDialog\n\t */\n\tconfirm: function(text, title, callback, modal) {\n\t\treturn this.message(\n\t\t\ttext,\n\t\t\ttitle,\n\t\t\t'notice',\n\t\t\tDialogs.YES_NO_BUTTONS,\n\t\t\tcallback,\n\t\t\tmodal,\n\t\t)\n\t},\n\t/**\n\t * displays confirmation dialog\n\t *\n\t * @param {string} text content of dialog\n\t * @param {string} title dialog title\n\t * @param {(number|{type: number, confirm: string, cancel: string, confirmClasses: string})} buttons text content of buttons\n\t * @param {Function} callback which will be triggered when user presses OK (true or false would be passed to callback respectively)\n\t * @return {Promise}\n\t *\n\t * @deprecated 30.0.0 Use `@nextcloud/dialogs` instead or build your own with `@nextcloud/vue` NcDialog\n\t */\n\tconfirmDestructive: function(text, title, buttons = Dialogs.OK_BUTTONS, callback = () => {}) {\n\t\treturn (new DialogBuilder())\n\t\t\t.setName(title)\n\t\t\t.setText(text)\n\t\t\t.setButtons(buttons === Dialogs.OK_BUTTONS\n\t\t\t\t? [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('core', 'Yes'),\n\t\t\t\t\t\t\tvariant: 'error',\n\t\t\t\t\t\t\tcallback: () => {\n\t\t\t\t\t\t\t\tcallback.clicked = true\n\t\t\t\t\t\t\t\tcallback(true)\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t]\n\t\t\t\t: Dialogs._getLegacyButtons(buttons, callback))\n\t\t\t.build()\n\t\t\t.show()\n\t\t\t.then(() => {\n\t\t\t\tif (!callback.clicked) {\n\t\t\t\t\tcallback(false)\n\t\t\t\t}\n\t\t\t})\n\t},\n\t/**\n\t * displays confirmation dialog\n\t *\n\t * @param {string} text content of dialog\n\t * @param {string} title dialog title\n\t * @param {Function} callback which will be triggered when user presses OK (true or false would be passed to callback respectively)\n\t * @return {Promise}\n\t *\n\t * @deprecated 30.0.0 Use `@nextcloud/dialogs` instead or build your own with `@nextcloud/vue` NcDialog\n\t */\n\tconfirmHtml: function(text, title, callback) {\n\t\treturn (new DialogBuilder())\n\t\t\t.setName(title)\n\t\t\t.setText('')\n\t\t\t.setButtons([\n\t\t\t\t{\n\t\t\t\t\tlabel: t('core', 'No'),\n\t\t\t\t\tcallback: () => {},\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tlabel: t('core', 'Yes'),\n\t\t\t\t\tvariant: 'primary',\n\t\t\t\t\tcallback: () => {\n\t\t\t\t\t\tcallback.clicked = true\n\t\t\t\t\t\tcallback(true)\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t])\n\t\t\t.build()\n\t\t\t.setHTML(text)\n\t\t\t.show()\n\t\t\t.then(() => {\n\t\t\t\tif (!callback.clicked) {\n\t\t\t\t\tcallback(false)\n\t\t\t\t}\n\t\t\t})\n\t},\n\t/**\n\t * displays prompt dialog\n\t *\n\t * @param {string} text content of dialog\n\t * @param {string} title dialog title\n\t * @param {Function} callback which will be triggered when user presses OK (true or false would be passed to callback respectively)\n\t * @param {boolean} [modal] make the dialog modal\n\t * @param {string} name name of the input field\n\t * @param {boolean} password whether the input should be a password input\n\t * @return {Promise}\n\t *\n\t * @deprecated Use NcDialog from `@nextcloud/vue` instead\n\t */\n\tprompt: function(text, title, callback, modal, name, password) {\n\t\treturn new Promise((resolve) => {\n\t\t\tspawnDialog(\n\t\t\t\tdefineAsyncComponent(() => import('../components/LegacyDialogPrompt.vue')),\n\t\t\t\t{\n\t\t\t\t\ttext,\n\t\t\t\t\tname: title,\n\t\t\t\t\tcallback,\n\t\t\t\t\tinputName: name,\n\t\t\t\t\tisPassword: !!password,\n\t\t\t\t},\n\t\t\t\t(...args) => {\n\t\t\t\t\tcallback(...args)\n\t\t\t\t\tresolve()\n\t\t\t\t},\n\t\t\t)\n\t\t})\n\t},\n\n\t/**\n\t * Legacy wrapper to the new Vue based filepicker from `@nextcloud/dialogs`\n\t *\n\t * Prefer to use the Vue filepicker directly instead.\n\t *\n\t * In order to pick several types of mime types they need to be passed as an\n\t * array of strings.\n\t *\n\t * When no mime type filter is given only files can be selected. In order to\n\t * be able to select both files and folders \"['*', 'httpd/unix-directory']\"\n\t * should be used instead.\n\t *\n\t * @param {string} title dialog title\n\t * @param {Function} callback which will be triggered when user presses Choose\n\t * @param {boolean} [multiselect] whether it should be possible to select multiple files\n\t * @param {string[]} [mimetype] mimetype to filter by - directories will always be included\n\t * @param {boolean} [_modal] do not use\n\t * @param {string} [type] Type of file picker : Choose, copy, move, copy and move\n\t * @param {string} [path] path to the folder that the the file can be picket from\n\t * @param {object} [options] additonal options that need to be set\n\t * @param {Function} [options.filter] filter function for advanced filtering\n\t * @param {boolean} [options.allowDirectoryChooser] Allow to select directories\n\t * @deprecated since 27.1.0 use the filepicker from `@nextcloud/dialogs` instead\n\t */\n\t// eslint-disable-next-line no-unused-vars\n\tfilepicker(title, callback, multiselect = false, mimetype = undefined, _modal = undefined, type = FilePickerType.Choose, path = undefined, options = undefined) {\n\t\t/**\n\t\t * Create legacy callback wrapper to support old filepicker syntax\n\t\t *\n\t\t * @param fn The original callback\n\t\t * @param type The file picker type which was used to pick the file(s)\n\t\t */\n\t\tconst legacyCallback = (fn, type) => {\n\t\t\tconst getPath = (node) => {\n\t\t\t\tconst root = node?.root || ''\n\t\t\t\tlet path = node?.path || ''\n\t\t\t\t// TODO: Fix this in @nextcloud/files\n\t\t\t\tif (path.startsWith(root)) {\n\t\t\t\t\tpath = path.slice(root.length) || '/'\n\t\t\t\t}\n\t\t\t\treturn path\n\t\t\t}\n\n\t\t\tif (multiselect) {\n\t\t\t\treturn (nodes) => fn(nodes.map(getPath), type)\n\t\t\t} else {\n\t\t\t\treturn (nodes) => fn(getPath(nodes[0]), type)\n\t\t\t}\n\t\t}\n\n\t\t/**\n\t\t * Coverting a Node into a legacy file info to support the OC.dialogs.filepicker filter function\n\t\t *\n\t\t * @param node The node to convert\n\t\t */\n\t\tconst nodeToLegacyFile = (node) => ({\n\t\t\tid: node.fileid || null,\n\t\t\tpath: node.path,\n\t\t\tmimetype: node.mime || null,\n\t\t\tmtime: node.mtime?.getTime() || null,\n\t\t\tpermissions: node.permissions,\n\t\t\tname: node.attributes?.displayName || node.basename,\n\t\t\tetag: node.attributes?.etag || null,\n\t\t\thasPreview: node.attributes?.hasPreview || null,\n\t\t\tmountType: node.attributes?.mountType || null,\n\t\t\tquotaAvailableBytes: node.attributes?.quotaAvailableBytes || null,\n\t\t\ticon: null,\n\t\t\tsharePermissions: null,\n\t\t})\n\n\t\tconst builder = getFilePickerBuilder(title)\n\n\t\t// Setup buttons\n\t\tif (type === this.FILEPICKER_TYPE_CUSTOM) {\n\t\t\t(options.buttons || []).forEach((button) => {\n\t\t\t\tbuilder.addButton({\n\t\t\t\t\tcallback: legacyCallback(callback, button.type),\n\t\t\t\t\tlabel: button.text,\n\t\t\t\t\tvariant: button.defaultButton ? 'primary' : 'secondary',\n\t\t\t\t})\n\t\t\t})\n\t\t} else {\n\t\t\tbuilder.setButtonFactory((nodes, path) => {\n\t\t\t\tconst buttons = []\n\t\t\t\tconst [node] = nodes\n\t\t\t\tconst target = node?.displayname || node?.basename || basename(path)\n\n\t\t\t\tif (type === FilePickerType.Choose) {\n\t\t\t\t\tbuttons.push({\n\t\t\t\t\t\tcallback: legacyCallback(callback, FilePickerType.Choose),\n\t\t\t\t\t\tlabel: node && !this.multiSelect ? t('core', 'Choose {file}', { file: target }) : t('core', 'Choose'),\n\t\t\t\t\t\tvariant: 'primary',\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\tif (type === FilePickerType.CopyMove || type === FilePickerType.Copy) {\n\t\t\t\t\tbuttons.push({\n\t\t\t\t\t\tcallback: legacyCallback(callback, FilePickerType.Copy),\n\t\t\t\t\t\tlabel: target ? t('core', 'Copy to {target}', { target }) : t('core', 'Copy'),\n\t\t\t\t\t\tvariant: 'primary',\n\t\t\t\t\t\ticon: IconCopy,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\tif (type === FilePickerType.Move || type === FilePickerType.CopyMove) {\n\t\t\t\t\tbuttons.push({\n\t\t\t\t\t\tcallback: legacyCallback(callback, FilePickerType.Move),\n\t\t\t\t\t\tlabel: target ? t('core', 'Move to {target}', { target }) : t('core', 'Move'),\n\t\t\t\t\t\tvariant: type === FilePickerType.Move ? 'primary' : 'secondary',\n\t\t\t\t\t\ticon: IconMove,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\treturn buttons\n\t\t\t})\n\t\t}\n\n\t\tif (mimetype) {\n\t\t\tbuilder.setMimeTypeFilter(typeof mimetype === 'string' ? [mimetype] : (mimetype || []))\n\t\t}\n\t\tif (typeof options?.filter === 'function') {\n\t\t\tbuilder.setFilter((node) => options.filter(nodeToLegacyFile(node)))\n\t\t}\n\t\tbuilder.allowDirectories(options?.allowDirectoryChooser === true || mimetype?.includes('httpd/unix-directory') || false)\n\t\t\t.setMultiSelect(multiselect)\n\t\t\t.startAt(path)\n\t\t\t.build()\n\t\t\t.pick()\n\t},\n\n\t/**\n\t * Displays raw dialog\n\t * You better use a wrapper instead ...\n\t *\n\t * @param content\n\t * @param title\n\t * @param dialogType\n\t * @param buttons\n\t * @param callback\n\t * @param modal\n\t * @param allowHtml\n\t * @deprecated 30.0.0 Use `@nextcloud/dialogs` instead or build your own with `@nextcloud/vue` NcDialog\n\t */\n\tmessage: function(content, title, dialogType, buttons, callback = () => {}, modal, allowHtml) {\n\t\tconst builder = (new DialogBuilder())\n\t\t\t.setName(title)\n\t\t\t.setText(allowHtml ? '' : content)\n\t\t\t.setButtons(Dialogs._getLegacyButtons(buttons, callback))\n\n\t\tswitch (dialogType) {\n\t\t\tcase 'alert':\n\t\t\t\tbuilder.setSeverity('warning')\n\t\t\t\tbreak\n\t\t\tcase 'notice':\n\t\t\t\tbuilder.setSeverity('info')\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tbreak\n\t\t}\n\n\t\tconst dialog = builder.build()\n\n\t\tif (allowHtml) {\n\t\t\tdialog.setHTML(content)\n\t\t}\n\n\t\treturn dialog.show().then(() => {\n\t\t\tif (!callback._clicked) {\n\t\t\t\tcallback(false)\n\t\t\t}\n\t\t})\n\t},\n\n\t/**\n\t * Helper for legacy API\n\t *\n\t * @param buttons\n\t * @param callback\n\t * @deprecated\n\t */\n\t_getLegacyButtons(buttons, callback) {\n\t\tconst buttonList = []\n\n\t\tswitch (typeof buttons === 'object' ? buttons.type : buttons) {\n\t\t\tcase Dialogs.YES_NO_BUTTONS:\n\t\t\t\tbuttonList.push({\n\t\t\t\t\tlabel: buttons?.cancel ?? t('core', 'No'),\n\t\t\t\t\tcallback: () => {\n\t\t\t\t\t\tcallback._clicked = true\n\t\t\t\t\t\tcallback(false)\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\tbuttonList.push({\n\t\t\t\t\tlabel: buttons?.confirm ?? t('core', 'Yes'),\n\t\t\t\t\tvariant: 'primary',\n\t\t\t\t\tcallback: () => {\n\t\t\t\t\t\tcallback._clicked = true\n\t\t\t\t\t\tcallback(true)\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\tbreak\n\t\t\tcase Dialogs.OK_BUTTONS:\n\t\t\t\tbuttonList.push({\n\t\t\t\t\tlabel: buttons?.confirm ?? t('core', 'OK'),\n\t\t\t\t\tvariant: 'primary',\n\t\t\t\t\tcallback: () => {\n\t\t\t\t\t\tcallback._clicked = true\n\t\t\t\t\t\tcallback(true)\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tlogger.error('Invalid call to OC.dialogs')\n\t\t\t\tbreak\n\t\t}\n\t\treturn buttonList\n\t},\n}\n\nexport default Dialogs\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-FileCopyrightText: 2015 ownCloud, Inc.\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getRequestToken } from './requesttoken.ts'\n\n/**\n * Create a new event source\n *\n * @param {string} src\n * @param {object} [data] to be send as GET\n *\n * @constructs OCEventSource\n */\nfunction OCEventSource(src, data) {\n\tlet dataStr = ''\n\tlet name\n\tlet joinChar\n\tthis.typelessListeners = []\n\tthis.closed = false\n\tif (data) {\n\t\tfor (name in data) {\n\t\t\tdataStr += name + '=' + encodeURIComponent(data[name]) + '&'\n\t\t}\n\t}\n\tdataStr += 'requesttoken=' + encodeURIComponent(getRequestToken())\n\tjoinChar = '&'\n\tif (src.indexOf('?') === -1) {\n\t\tjoinChar = '?'\n\t}\n\tthis.source = new EventSource(src + joinChar + dataStr)\n\tthis.source.onmessage = function(e) {\n\t\tfor (let i = 0; i < this.typelessListeners.length; i++) {\n\t\t\tthis.typelessListeners[i](JSON.parse(e.data))\n\t\t}\n\t}.bind(this)\n\t// add close listener\n\tthis.listen('__internal__', function(data) {\n\t\tif (data === 'close') {\n\t\t\tthis.close()\n\t\t}\n\t}.bind(this))\n}\nOCEventSource.prototype = {\n\ttypelessListeners: [],\n\t/**\n\t * Listen to a given type of events.\n\t *\n\t * @param {string} type event type\n\t * @param {Function} callback event callback\n\t */\n\tlisten: function(type, callback) {\n\t\tif (callback && callback.call) {\n\t\t\tif (type) {\n\t\t\t\tthis.source.addEventListener(type, function(e) {\n\t\t\t\t\tif (typeof e.data !== 'undefined') {\n\t\t\t\t\t\tcallback(JSON.parse(e.data))\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcallback('')\n\t\t\t\t\t}\n\t\t\t\t}, false)\n\t\t\t} else {\n\t\t\t\tthis.typelessListeners.push(callback)\n\t\t\t}\n\t\t}\n\t},\n\t/**\n\t * Closes this event source.\n\t */\n\tclose: function() {\n\t\tthis.closed = true\n\t\tthis.source.close()\n\t},\n}\n\nexport default OCEventSource\n","/**\n * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors\n * SPDX-FileCopyrightText: 2014 ownCloud, Inc.\n * SPDX-FileCopyrightText: 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport {\n\tloadTranslations,\n\tregister,\n\ttranslate,\n\ttranslatePlural,\n\tunregister,\n} from '@nextcloud/l10n'\n\n/**\n * L10N namespace with localization functions.\n *\n * @namespace OC.L10n\n * @deprecated 26.0.0 use https://www.npmjs.com/package/@nextcloud/l10n\n */\nconst L10n = {\n\n\t/**\n\t * Load an app's translation bundle if not loaded already.\n\t *\n\t * @deprecated 26.0.0 use `loadTranslations` from https://www.npmjs.com/package/@nextcloud/l10n\n\t *\n\t * @param {string} appName name of the app\n\t * @param {Function} callback callback to be called when\n\t * the translations are loaded\n\t * @return {Promise} promise\n\t */\n\tload: loadTranslations,\n\n\t/**\n\t * Register an app's translation bundle.\n\t *\n\t * @deprecated 26.0.0 use `register` from https://www.npmjs.com/package/@nextcloud/l10\n\t *\n\t * @param {string} appName name of the app\n\t * @param {Record} bundle bundle\n\t */\n\tregister,\n\n\t/**\n\t * @private\n\t * @deprecated 26.0.0 use `unregister` from https://www.npmjs.com/package/@nextcloud/l10n\n\t */\n\t_unregister: unregister,\n\n\t/**\n\t * Translate a string\n\t *\n\t * @deprecated 26.0.0 use `translate` from https://www.npmjs.com/package/@nextcloud/l10n\n\t *\n\t * @param {string} app the id of the app for which to translate the string\n\t * @param {string} text the string to translate\n\t * @param {object} [vars] map of placeholder key to value\n\t * @param {number} [count] number to replace %n with\n\t * @param {Array} [options] options array\n\t * @param {boolean} [options.escape=true] enable/disable auto escape of placeholders (by default enabled)\n\t * @param {boolean} [options.sanitize=true] enable/disable sanitization (by default enabled)\n\t * @return {string}\n\t */\n\ttranslate,\n\n\t/**\n\t * Translate a plural string\n\t *\n\t * @deprecated 26.0.0 use `translatePlural` from https://www.npmjs.com/package/@nextcloud/l10n\n\t *\n\t * @param {string} app the id of the app for which to translate the string\n\t * @param {string} textSingular the string to translate for exactly one object\n\t * @param {string} textPlural the string to translate for n objects\n\t * @param {number} count number to determine whether to use singular or plural\n\t * @param {object} [vars] map of placeholder key to value\n\t * @param {Array} [options] options array\n\t * @param {boolean} [options.escape=true] enable/disable auto escape of placeholders (by default enabled)\n\t * @return {string} Translated string\n\t */\n\ttranslatePlural,\n}\n\nexport default L10n\n","/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { generateUrl, getRootUrl } from '@nextcloud/router'\n\nconst iconCache = new Map()\n\n/**\n * Return the url to icon of the given mimeType\n *\n * @param {string} mimeType The mimeType to get the icon for\n * @return {string} Url to the icon for mimeType\n */\nexport function getIconUrl(mimeType) {\n\tif (typeof mimeType === 'undefined') {\n\t\treturn undefined\n\t}\n\n\twhile (mimeType in window.OC.MimeTypeList.aliases) {\n\t\tmimeType = window.OC.MimeTypeList.aliases[mimeType]\n\t}\n\n\tif (!iconCache.has(mimeType)) {\n\t\tlet gotIcon = false\n\t\tlet path = ''\n\t\t// First try to get the correct icon from the current legacy-theme\n\t\tif (OC.theme.folder !== '' && Array.isArray(OC.MimeTypeList.themes[OC.theme.folder])) {\n\t\t\tpath = getRootUrl() + '/themes/' + window.OC.theme.folder + '/core/img/filetypes/'\n\t\t\tconst icon = getMimeTypeIcon(mimeType, window.OC.MimeTypeList.themes[OC.theme.folder])\n\t\t\tif (icon) {\n\t\t\t\tgotIcon = true\n\t\t\t\tpath += icon + '.svg'\n\t\t\t}\n\t\t}\n\n\t\t// theming is always enabled since Nextcloud 20 so we get it from that\n\t\tif (!gotIcon) {\n\t\t\tpath = generateUrl('/apps/theming/img/core/filetypes/' + getMimeTypeIcon(mimeType, window.OC.MimeTypeList.files) + '.svg')\n\t\t}\n\n\t\tpath += '?v=' + window.OCA.Theming.cacheBuster\n\t\t// Cache the result\n\t\ticonCache.set(mimeType, path)\n\t}\n\n\treturn iconCache.get(mimeType)\n}\n\n/**\n * Return the file icon we want to use for the given mimeType.\n * The file needs to be present in the supplied file list\n *\n * @param {string} mimeType The mimeType we want an icon for\n * @param {string[]} files The available icons in this theme\n * @return {string | null} The icon to use or null if there is no match\n */\nfunction getMimeTypeIcon(mimeType, files) {\n\tconst icon = mimeType.replace(new RegExp('/', 'g'), '-')\n\n\t// Generate path\n\tif (mimeType === 'dir' && files.includes('folder')) {\n\t\treturn 'folder'\n\t} else if (mimeType === 'dir-encrypted' && files.includes('folder-encrypted')) {\n\t\treturn 'folder-encrypted'\n\t} else if (mimeType === 'dir-shared' && files.includes('folder-shared')) {\n\t\treturn 'folder-shared'\n\t} else if (mimeType === 'dir-public' && files.includes('folder-public')) {\n\t\treturn 'folder-public'\n\t} else if ((mimeType === 'dir-external' || mimeType === 'dir-external-root') && files.includes('folder-external')) {\n\t\treturn 'folder-external'\n\t} else if (files.includes(icon)) {\n\t\treturn icon\n\t} else if (files.includes(icon.split('-')[0])) {\n\t\treturn icon.split('-')[0]\n\t} else if (files.includes('file')) {\n\t\treturn 'file'\n\t}\n\n\treturn null\n}\n\n/**\n * Clear the icon cache\n */\nexport function clearIconCache() {\n\ticonCache.clear()\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport { t } from '@nextcloud/l10n';\n/**\n * A little class to manage a status field for a \"saving\" process.\n * It can be used to display a starting message (e.g. \"Saving...\") and then\n * replace it with a green success message or a red error message.\n */\nexport default {\n /**\n * Displayes a \"Saving...\" message in the given message placeholder\n *\n * @param selector - Query selectior for the element to display the message in\n */\n startSaving(selector) {\n this.startAction(selector, t('core', 'Saving …'));\n },\n /**\n * Displayes a custom message in the given message placeholder\n *\n * @param selector - Query selectior for the element to display the message in\n * @param message - Plain text message to display (no HTML allowed)\n */\n startAction(selector, message) {\n const el = document.querySelector(selector);\n if (!el || !(el instanceof HTMLElement)) {\n return;\n }\n el.textContent = message;\n el.classList.remove('success');\n el.classList.remove('error');\n el.getAnimations?.().forEach((animation) => animation.cancel());\n el.style.display = 'block';\n },\n /**\n * Displayes an success/error message in the given selector\n *\n * @param selector - Query selectior for the element to display the message in\n * @param response - Response of the server\n * @param response.data - Data of the servers response\n * @param response.data.message - Plain text message to display (no HTML allowed)\n * @param response.status - is being used to decide whether the message is displayed as an error/success\n */\n finishedSaving(selector, response) {\n this.finishedAction(selector, response);\n },\n /**\n * Displayes an success/error message in the given selector\n *\n * @param selector - Query selector for the element to display the message in\n * @param response - Response of the server\n * @param response.data - Data of the servers response\n * @param response.data.message - Plain text message to display (no HTML allowed)\n * @param response.status . Is being used to decide whether the message is displayed as an error/success\n */\n finishedAction(selector, response) {\n if (response.status === 'success') {\n this.finishedSuccess(selector, response.data.message);\n }\n else {\n this.finishedError(selector, response.data.message);\n }\n },\n /**\n * Displayes an success message in the given selector\n *\n * @param selector - Query selector for the element to display the message in\n * @param message - Plain text success message to display (no HTML allowed)\n */\n finishedSuccess(selector, message) {\n const el = document.querySelector(selector);\n if (!el || !(el instanceof HTMLElement)) {\n return;\n }\n el.textContent = message;\n el.classList.remove('error');\n el.classList.add('success');\n el.getAnimations?.().forEach((animation) => animation.cancel());\n window.setTimeout(fadeOut, 3000);\n el.style.display = 'block';\n /**\n * Fades out the message element\n */\n function fadeOut() {\n if (!el || !(el instanceof HTMLElement)) {\n return;\n }\n const animation = el.animate?.([\n { opacity: 1 },\n { opacity: 0 },\n ], {\n duration: 900,\n fill: 'forwards',\n });\n if (animation) {\n animation.addEventListener('finish', () => {\n el.style.display = 'none';\n });\n }\n else {\n window.setTimeout(() => {\n el.style.display = 'none';\n }, 900);\n }\n }\n },\n /**\n * Displayes an error message in the given selector\n *\n * @param selector - Query selector for the element to display the message in\n * @param message - Plain text error message to display (no HTML allowed)\n */\n finishedError(selector, message) {\n const el = document.querySelector(selector);\n if (!el || !(el instanceof HTMLElement)) {\n return;\n }\n el.textContent = message;\n el.classList.remove('success');\n el.classList.add('error');\n el.style.display = 'block';\n },\n};\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { confirmPassword, isPasswordConfirmationRequired } from '@nextcloud/password-confirmation'\n\n/**\n * @namespace OC.PasswordConfirmation\n */\nexport default {\n\n\t/**\n\t * @deprecated 28.0.0 use methods from '@nextcloud/password-confirmation'\n\t */\n\trequiresPasswordConfirmation() {\n\t\treturn isPasswordConfirmationRequired()\n\t},\n\n\t/**\n\t * @param {Function} callback success callback function\n\t * @param {object} options options currently not used by confirmPassword\n\t * @param {Function} rejectCallback error callback function\n\t *\n\t * @deprecated 28.0.0 use methods from '@nextcloud/password-confirmation'\n\t */\n\trequirePasswordConfirmation(callback, options, rejectCallback) {\n\t\tconfirmPassword().then(callback, rejectCallback)\n\t},\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nexport default {\n\n\t/**\n\t * @type {Array.}\n\t */\n\t_plugins: {},\n\n\t/**\n\t * Register plugin\n\t *\n\t * @param {string} targetName app name / class name to hook into\n\t * @param {OC.Plugin} plugin plugin\n\t */\n\tregister(targetName, plugin) {\n\t\tlet plugins = this._plugins[targetName]\n\t\tif (!plugins) {\n\t\t\tplugins = this._plugins[targetName] = []\n\t\t}\n\t\tplugins.push(plugin)\n\t},\n\n\t/**\n\t * Returns all plugin registered to the given target\n\t * name / app name / class name.\n\t *\n\t * @param {string} targetName app name / class name to hook into\n\t * @return {Array.} array of plugins\n\t */\n\tgetPlugins(targetName) {\n\t\treturn this._plugins[targetName] || []\n\t},\n\n\t/**\n\t * Call attach() on all plugins registered to the given target name.\n\t *\n\t * @param {string} targetName app name / class name\n\t * @param {object} targetObject to be extended\n\t * @param {object} [options] options\n\t */\n\tattach(targetName, targetObject, options) {\n\t\tconst plugins = this.getPlugins(targetName)\n\t\tfor (let i = 0; i < plugins.length; i++) {\n\t\t\tif (plugins[i].attach) {\n\t\t\t\tplugins[i].attach(targetObject, options)\n\t\t\t}\n\t\t}\n\t},\n\n\t/**\n\t * Call detach() on all plugins registered to the given target name.\n\t *\n\t * @param {string} targetName app name / class name\n\t * @param {object} targetObject to be extended\n\t * @param {object} [options] options\n\t */\n\tdetach(targetName, targetObject, options) {\n\t\tconst plugins = this.getPlugins(targetName)\n\t\tfor (let i = 0; i < plugins.length; i++) {\n\t\t\tif (plugins[i].detach) {\n\t\t\t\tplugins[i].detach(targetObject, options)\n\t\t\t}\n\t\t}\n\t},\n\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nexport const theme = window._theme || {}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { formatFileSize as humanFileSize } from '@nextcloud/files'\nimport moment from 'moment'\nimport logger from '../logger.js'\nimport OC from './index.js'\nimport History from './util-history.js'\n\n/**\n * @param {any} t -\n */\nfunction chunkify(t) {\n\t// Adapted from http://my.opera.com/GreyWyvern/blog/show.dml/1671288\n\tconst tz = []\n\tlet x = 0\n\tlet y = -1\n\tlet n = 0\n\tlet c\n\n\twhile (x < t.length) {\n\t\tc = t.charAt(x)\n\t\t// only include the dot in strings\n\t\tconst m = ((!n && c === '.') || (c >= '0' && c <= '9'))\n\t\tif (m !== n) {\n\t\t\t// next chunk\n\t\t\ty++\n\t\t\ttz[y] = ''\n\t\t\tn = m\n\t\t}\n\t\ttz[y] += c\n\t\tx++\n\t}\n\treturn tz\n}\n\n/**\n * Utility functions\n *\n * @namespace OC.Util\n */\nexport default {\n\n\tHistory,\n\n\t/**\n\t * @deprecated use https://nextcloud.github.io/nextcloud-files/functions/formatFileSize.html\n\t */\n\thumanFileSize,\n\n\t/**\n\t * Returns a file size in bytes from a humanly readable string\n\t * Makes 2kB to 2048.\n\t * Inspired by computerFileSize in helper.php\n\t *\n\t * @param {string} string file size in human-readable format\n\t * @return {number} or null if string could not be parsed\n\t */\n\tcomputerFileSize(string) {\n\t\tif (typeof string !== 'string') {\n\t\t\treturn null\n\t\t}\n\n\t\tconst s = string.toLowerCase().trim()\n\t\tconst bytesArray = {\n\t\t\tb: 1,\n\t\t\tk: 1024,\n\t\t\tkb: 1024,\n\t\t\tmb: 1024 * 1024,\n\t\t\tm: 1024 * 1024,\n\t\t\tgb: 1024 * 1024 * 1024,\n\t\t\tg: 1024 * 1024 * 1024,\n\t\t\ttb: 1024 * 1024 * 1024 * 1024,\n\t\t\tt: 1024 * 1024 * 1024 * 1024,\n\t\t\tpb: 1024 * 1024 * 1024 * 1024 * 1024,\n\t\t\tp: 1024 * 1024 * 1024 * 1024 * 1024,\n\t\t}\n\n\t\tlet bytes\n\t\tconst matches = s.match(/^[\\s+]?([0-9]*)(\\.([0-9]+))?( +)?([kmgtp]?b?)$/i)\n\t\tif (matches !== null) {\n\t\t\tbytes = parseFloat(s)\n\t\t\tif (!isFinite(bytes)) {\n\t\t\t\treturn null\n\t\t\t}\n\t\t} else {\n\t\t\treturn null\n\t\t}\n\t\tif (matches[5]) {\n\t\t\tbytes = bytes * bytesArray[matches[5]]\n\t\t}\n\n\t\tbytes = Math.round(bytes)\n\t\treturn bytes\n\t},\n\n\t/**\n\t * @param {string|number} timestamp timestamp\n\t * @param {string} format date format, see momentjs docs\n\t * @return {string} timestamp formatted as requested\n\t */\n\tformatDate(timestamp, format) {\n\t\tif (window.TESTING === undefined && OC.debug) {\n\t\t\tlogger.warn('OC.Util.formatDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment')\n\t\t}\n\t\tformat = format || 'LLL'\n\t\treturn moment(timestamp).format(format)\n\t},\n\n\t/**\n\t * @param {string|number} timestamp timestamp\n\t * @return {string} human readable difference from now\n\t */\n\trelativeModifiedDate(timestamp) {\n\t\tif (window.TESTING === undefined && OC.debug) {\n\t\t\tlogger.warn('OC.Util.relativeModifiedDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment')\n\t\t}\n\t\tconst diff = moment().diff(moment(timestamp))\n\t\tif (diff >= 0 && diff < 45000) {\n\t\t\treturn t('core', 'seconds ago')\n\t\t}\n\t\treturn moment(timestamp).fromNow()\n\t},\n\n\t/**\n\t * Returns the width of a generic browser scrollbar\n\t *\n\t * @return {number} width of scrollbar\n\t */\n\tgetScrollBarWidth() {\n\t\tif (this._scrollBarWidth) {\n\t\t\treturn this._scrollBarWidth\n\t\t}\n\n\t\tconst inner = document.createElement('p')\n\t\tinner.style.width = '100%'\n\t\tinner.style.height = '200px'\n\n\t\tconst outer = document.createElement('div')\n\t\touter.style.position = 'absolute'\n\t\touter.style.top = '0px'\n\t\touter.style.left = '0px'\n\t\touter.style.visibility = 'hidden'\n\t\touter.style.width = '200px'\n\t\touter.style.height = '150px'\n\t\touter.style.overflow = 'hidden'\n\t\touter.appendChild(inner)\n\n\t\tdocument.body.appendChild(outer)\n\t\tconst w1 = inner.offsetWidth\n\t\touter.style.overflow = 'scroll'\n\t\tlet w2 = inner.offsetWidth\n\t\tif (w1 === w2) {\n\t\t\tw2 = outer.clientWidth\n\t\t}\n\n\t\tdocument.body.removeChild(outer)\n\n\t\tthis._scrollBarWidth = (w1 - w2)\n\n\t\treturn this._scrollBarWidth\n\t},\n\n\t/**\n\t * Remove the time component from a given date\n\t *\n\t * @param {Date} date date\n\t * @return {Date} date with stripped time\n\t */\n\tstripTime(date) {\n\t\t// FIXME: likely to break when crossing DST\n\t\t// would be better to use a library like momentJS\n\t\treturn new Date(date.getFullYear(), date.getMonth(), date.getDate())\n\t},\n\n\t/**\n\t * Compare two strings to provide a natural sort\n\t *\n\t * @param {string} a first string to compare\n\t * @param {string} b second string to compare\n\t * @return {number} -1 if b comes before a, 1 if a comes before b\n\t * or 0 if the strings are identical\n\t */\n\tnaturalSortCompare(a, b) {\n\t\tlet x\n\t\tconst aa = chunkify(a)\n\t\tconst bb = chunkify(b)\n\n\t\tfor (x = 0; aa[x] && bb[x]; x++) {\n\t\t\tif (aa[x] !== bb[x]) {\n\t\t\t\tconst aNum = Number(aa[x])\n\t\t\t\tconst bNum = Number(bb[x])\n\t\t\t\t// note: == is correct here to include null == undefined\n\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\tif (aNum == aa[x] && bNum == bb[x]) {\n\t\t\t\t\treturn aNum - bNum\n\t\t\t\t} else {\n\t\t\t\t\t// Note: This locale setting isn't supported by all browsers but for the ones\n\t\t\t\t\t// that do there will be more consistency between client-server sorting\n\t\t\t\t\treturn aa[x].localeCompare(bb[x], OC.getLanguage())\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn aa.length - bb.length\n\t},\n\n\t/**\n\t * Calls the callback in a given interval until it returns true\n\t *\n\t * @param {Function} callback function to call on success\n\t * @param {number} interval in milliseconds\n\t */\n\twaitFor(callback, interval) {\n\t\tconst internalCallback = function() {\n\t\t\tif (callback() !== true) {\n\t\t\t\tsetTimeout(internalCallback, interval)\n\t\t\t}\n\t\t}\n\n\t\tinternalCallback()\n\t},\n\n\t/**\n\t * Checks if a cookie with the given name is present and is set to the provided value.\n\t *\n\t * @param {string} name name of the cookie\n\t * @param {string} value value of the cookie\n\t * @return {boolean} true if the cookie with the given name has the given value\n\t */\n\tisCookieSetToValue(name, value) {\n\t\tconst cookies = document.cookie.split(';')\n\t\tfor (let i = 0; i < cookies.length; i++) {\n\t\t\tconst cookie = cookies[i].split('=')\n\t\t\tif (cookie[0].trim() === name && cookie[1].trim() === value) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t}\n\t\treturn false\n\t},\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport _ from 'underscore'\nimport OC from './index.js'\n\n/**\n * Utility class for the history API,\n * includes fallback to using the URL hash when\n * the browser doesn't support the history API.\n *\n * @namespace OC.Util.History\n */\nexport default {\n\n\t_handlers: [],\n\n\t/**\n\t * Push the current URL parameters to the history stack\n\t * and change the visible URL.\n\t * Note: this includes a workaround for IE8/IE9 that uses\n\t * the hash part instead of the search part.\n\t *\n\t * @param {object | string} params to append to the URL, can be either a string\n\t * or a map\n\t * @param {string} [url] URL to be used, otherwise the current URL will be used,\n\t * using the params as query string\n\t * @param {boolean} [replace] whether to replace instead of pushing\n\t */\n\t_pushState(params, url, replace) {\n\t\tlet strParams\n\t\tif (typeof (params) === 'string') {\n\t\t\tstrParams = params\n\t\t} else {\n\t\t\tstrParams = OC.buildQueryString(params)\n\t\t}\n\n\t\tif (window.history.pushState) {\n\t\t\turl = url || location.pathname + '?' + strParams\n\t\t\t// Workaround for bug with SVG and window.history.pushState on Firefox < 51\n\t\t\t// https://bugzilla.mozilla.org/show_bug.cgi?id=652991\n\t\t\tconst isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1\n\t\t\tif (isFirefox && parseInt(navigator.userAgent.split('/').pop()) < 51) {\n\t\t\t\tconst patterns = document.querySelectorAll('[fill^=\"url(#\"], [stroke^=\"url(#\"], [filter^=\"url(#invert\"]')\n\t\t\t\tfor (let i = 0, ii = patterns.length, pattern; i < ii; i++) {\n\t\t\t\t\tpattern = patterns[i]\n\t\t\t\t\t// eslint-disable-next-line no-self-assign\n\t\t\t\t\tpattern.style.fill = pattern.style.fill\n\t\t\t\t\t// eslint-disable-next-line no-self-assign\n\t\t\t\t\tpattern.style.stroke = pattern.style.stroke\n\t\t\t\t\tpattern.removeAttribute('filter')\n\t\t\t\t\tpattern.setAttribute('filter', 'url(#invert)')\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (replace) {\n\t\t\t\twindow.history.replaceState(params, '', url)\n\t\t\t} else {\n\t\t\t\twindow.history.pushState(params, '', url)\n\t\t\t}\n\t\t} else {\n\t\t\t// use URL hash for IE8\n\t\t\twindow.location.hash = '?' + strParams\n\t\t\t// inhibit next onhashchange that just added itself\n\t\t\t// to the event queue\n\t\t\tthis._cancelPop = true\n\t\t}\n\t},\n\n\t/**\n\t * Push the current URL parameters to the history stack\n\t * and change the visible URL.\n\t * Note: this includes a workaround for IE8/IE9 that uses\n\t * the hash part instead of the search part.\n\t *\n\t * @param {object | string} params to append to the URL, can be either a string or a map\n\t * @param {string} [url] URL to be used, otherwise the current URL will be used, using the params as query string\n\t */\n\tpushState(params, url) {\n\t\tthis._pushState(params, url, false)\n\t},\n\n\t/**\n\t * Push the current URL parameters to the history stack\n\t * and change the visible URL.\n\t * Note: this includes a workaround for IE8/IE9 that uses\n\t * the hash part instead of the search part.\n\t *\n\t * @param {object | string} params to append to the URL, can be either a string\n\t * or a map\n\t * @param {string} [url] URL to be used, otherwise the current URL will be used,\n\t * using the params as query string\n\t */\n\treplaceState(params, url) {\n\t\tthis._pushState(params, url, true)\n\t},\n\n\t/**\n\t * Add a popstate handler\n\t *\n\t * @param {Function} handler handler\n\t */\n\taddOnPopStateHandler(handler) {\n\t\tthis._handlers.push(handler)\n\t},\n\n\t/**\n\t * Parse a query string from the hash part of the URL.\n\t * (workaround for IE8 / IE9)\n\t *\n\t * @return {string}\n\t */\n\t_parseHashQuery() {\n\t\tconst hash = window.location.hash\n\t\tconst pos = hash.indexOf('?')\n\t\tif (pos >= 0) {\n\t\t\treturn hash.substr(pos + 1)\n\t\t}\n\t\tif (hash.length) {\n\t\t\t// remove hash sign\n\t\t\treturn hash.substr(1)\n\t\t}\n\t\treturn ''\n\t},\n\n\t_decodeQuery(query) {\n\t\treturn query.replace(/\\+/g, ' ')\n\t},\n\n\t/**\n\t * Parse the query/search part of the URL.\n\t * Also try and parse it from the URL hash (for IE8)\n\t *\n\t * @return {object} map of parameters\n\t */\n\tparseUrlQuery() {\n\t\tconst query = this._parseHashQuery()\n\t\tlet params\n\t\t// try and parse from URL hash first\n\t\tif (query) {\n\t\t\tparams = OC.parseQueryString(this._decodeQuery(query))\n\t\t}\n\t\t// else read from query attributes\n\t\tparams = _.extend(params || {}, OC.parseQueryString(this._decodeQuery(location.search)))\n\t\treturn params || {}\n\t},\n\n\t_onPopState(e) {\n\t\tif (this._cancelPop) {\n\t\t\tthis._cancelPop = false\n\t\t\treturn\n\t\t}\n\t\tlet params\n\t\tif (!this._handlers.length) {\n\t\t\treturn\n\t\t}\n\t\tparams = (e && e.state)\n\t\tif (_.isString(params)) {\n\t\t\tparams = OC.parseQueryString(params)\n\t\t} else if (!params) {\n\t\t\tparams = this.parseUrlQuery() || {}\n\t\t}\n\t\tfor (let i = 0; i < this._handlers.length; i++) {\n\t\t\tthis._handlers[i](params)\n\t\t}\n\t},\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nlet webroot = window._oc_webroot\n\nif (typeof webroot === 'undefined') {\n\twebroot = location.pathname\n\tconst pos = webroot.indexOf('/index.php/')\n\tif (pos !== -1) {\n\t\twebroot = webroot.substr(0, pos)\n\t} else {\n\t\twebroot = webroot.substr(0, webroot.lastIndexOf('/'))\n\t}\n}\n\nexport default webroot\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { subscribe } from '@nextcloud/event-bus'\nimport {\n\tgetCanonicalLocale,\n\tgetLanguage,\n\tgetLocale,\n} from '@nextcloud/l10n'\nimport {\n\tbasename,\n\tdirname,\n\tencodePath,\n\tisSamePath,\n\tjoin,\n} from '@nextcloud/paths'\nimport {\n\tgenerateFilePath,\n\tgenerateOcsUrl,\n\tgenerateRemoteUrl,\n\tgenerateUrl,\n\tgetRootUrl,\n\timagePath,\n\tlinkTo,\n} from '@nextcloud/router'\nimport logger from '../logger.js'\nimport { isUserAdmin } from './admin.js'\nimport { appConfig } from './appconfig.js'\nimport appswebroots from './appswebroots.js'\nimport { getCapabilities } from './capabilities.js'\nimport Config from './config.js'\nimport {\n\tcoreApps,\n\tmenuSpeed,\n\tPERMISSION_ALL,\n\tPERMISSION_CREATE,\n\tPERMISSION_DELETE,\n\tPERMISSION_NONE,\n\tPERMISSION_READ,\n\tPERMISSION_SHARE,\n\tPERMISSION_UPDATE,\n\tTAG_FAVORITE,\n} from './constants.js'\nimport { currentUser, getCurrentUser } from './currentuser.js'\nimport { debug } from './debug.js'\nimport Dialogs from './dialogs.js'\nimport EventSource from './eventsource.js'\nimport L10N from './l10n.js'\nimport * as MimeType from './mimeType.js'\nimport msg from './msg.js'\nimport PasswordConfirmation from './password-confirmation.js'\nimport Plugins from './plugins.js'\nimport {\n\tbuild as buildQueryString,\n\tparse as parseQueryString,\n} from './query-string.ts'\nimport { getRequestToken } from './requesttoken.ts'\nimport {\n\tlinkToRemoteBase,\n} from './routing.js'\nimport { theme } from './theme.js'\nimport Util from './util.js'\nimport webroot from './webroot.js'\n\n/** @namespace OC */\nexport default {\n\t/*\n\t * Constants\n\t */\n\tcoreApps,\n\tmenuSpeed,\n\tPERMISSION_ALL,\n\tPERMISSION_CREATE,\n\tPERMISSION_DELETE,\n\tPERMISSION_NONE,\n\tPERMISSION_READ,\n\tPERMISSION_SHARE,\n\tPERMISSION_UPDATE,\n\tTAG_FAVORITE,\n\n\t/*\n\t * Deprecated helpers to be removed\n\t */\n\tappConfig,\n\tappswebroots,\n\tconfig: Config,\n\t/**\n\t * Currently logged in user or null if none\n\t *\n\t * @type {string}\n\t * @deprecated use `getCurrentUser` from https://www.npmjs.com/package/@nextcloud/auth\n\t */\n\tcurrentUser,\n\tdialogs: Dialogs,\n\tEventSource,\n\tMimeType,\n\t/**\n\t * Returns the currently logged in user or null if there is no logged in\n\t * user (public page mode)\n\t *\n\t * @since 9.0.0\n\t * @deprecated 19.0.0 use `getCurrentUser` from https://www.npmjs.com/package/@nextcloud/auth\n\t */\n\tgetCurrentUser,\n\tisUserAdmin,\n\tL10N,\n\n\t/**\n\t * This is already handled by `interceptRequests` in `core/src/init.js`.\n\t *\n\t * @deprecated 33.0.0 - unused by Nextcloud and only a stub remains. Just remove usage.\n\t */\n\tregisterXHRForErrorProcessing: () => {},\n\n\t/**\n\t * Capabilities\n\t *\n\t * @type {Array}\n\t * @deprecated 20.0.0 use @nextcloud/capabilities instead\n\t */\n\tgetCapabilities,\n\n\t/*\n\t * Path helpers\n\t */\n\t/**\n\t * @deprecated 18.0.0 use https://www.npmjs.com/package/@nextcloud/paths\n\t */\n\tbasename,\n\t/**\n\t * @deprecated 18.0.0 use https://www.npmjs.com/package/@nextcloud/paths\n\t */\n\tencodePath,\n\t/**\n\t * @deprecated 18.0.0 use https://www.npmjs.com/package/@nextcloud/paths\n\t */\n\tdirname,\n\t/**\n\t * @deprecated 18.0.0 use https://www.npmjs.com/package/@nextcloud/paths\n\t */\n\tisSamePath,\n\t/**\n\t * @deprecated 18.0.0 use https://www.npmjs.com/package/@nextcloud/paths\n\t */\n\tjoinPaths: join,\n\n\t/**\n\t * @deprecated 20.0.0 use `getCanonicalLocale` from https://www.npmjs.com/package/@nextcloud/l10n\n\t */\n\tgetCanonicalLocale,\n\t/**\n\t * @deprecated 26.0.0 use `getLocale` from https://www.npmjs.com/package/@nextcloud/l10n\n\t */\n\tgetLocale,\n\t/**\n\t * @deprecated 26.0.0 use `getLanguage` from https://www.npmjs.com/package/@nextcloud/l10n\n\t */\n\tgetLanguage,\n\n\t// Query string helpers\n\tbuildQueryString,\n\tparseQueryString,\n\n\tmsg,\n\t/**\n\t * @deprecated 28.0.0 use methods from '@nextcloud/password-confirmation'\n\t */\n\tPasswordConfirmation,\n\tPlugins,\n\ttheme,\n\tUtil,\n\tdebug,\n\t/**\n\t * @deprecated 19.0.0 use `generateFilePath` from https://www.npmjs.com/package/@nextcloud/router\n\t */\n\tfilePath: generateFilePath,\n\t/**\n\t * @deprecated 19.0.0 use `generateUrl` from https://www.npmjs.com/package/@nextcloud/router\n\t */\n\tgenerateUrl,\n\t/**\n\t * @deprecated 19.0.0 use `getRootUrl` from https://www.npmjs.com/package/@nextcloud/router\n\t */\n\tgetRootPath: getRootUrl,\n\t/**\n\t * @deprecated 19.0.0 use `imagePath` from https://www.npmjs.com/package/@nextcloud/router\n\t */\n\timagePath,\n\trequestToken: getRequestToken(),\n\t/**\n\t * @deprecated 19.0.0 use `linkTo` from https://www.npmjs.com/package/@nextcloud/router\n\t */\n\tlinkTo,\n\t/**\n\t * @param {string} service service name\n\t * @param {number} version OCS API version\n\t * @return {string} OCS API base path\n\t * @deprecated 19.0.0 use `generateOcsUrl` from https://www.npmjs.com/package/@nextcloud/router\n\t */\n\tlinkToOCS: (service, version) => {\n\t\treturn generateOcsUrl(service, {}, {\n\t\t\tocsVersion: version || 1,\n\t\t}) + '/'\n\t},\n\t/**\n\t * @deprecated 19.0.0 use `generateRemoteUrl` from https://www.npmjs.com/package/@nextcloud/router\n\t */\n\tlinkToRemote: generateRemoteUrl,\n\tlinkToRemoteBase,\n\t/**\n\t * Relative path to Nextcloud root.\n\t * For example: \"/nextcloud\"\n\t *\n\t * @type {string}\n\t *\n\t * @deprecated 19.0.0 use `getRootUrl` from https://www.npmjs.com/package/@nextcloud/router\n\t * @see OC#getRootPath\n\t */\n\twebroot,\n}\n\n// Keep the request token prop in sync\nsubscribe('csrf-token-update', (e) => {\n\tOC.requestToken = e.token\n\n\t// Logging might help debug (Sentry) issues\n\tlogger.info('OC.requestToken changed', { token: e.token })\n})\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nexport const coreApps = ['', 'admin', 'log', 'core/search', 'core', '3rdparty']\nexport const menuSpeed = 50\nexport const PERMISSION_NONE = 0\nexport const PERMISSION_CREATE = 4\nexport const PERMISSION_READ = 1\nexport const PERMISSION_UPDATE = 2\nexport const PERMISSION_DELETE = 8\nexport const PERMISSION_SHARE = 16\nexport const PERMISSION_ALL = 31\nexport const TAG_FAVORITE = '_$!!$_'\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getCapabilities as realGetCapabilities } from '@nextcloud/capabilities'\nimport logger from '../logger.js'\n\n/**\n * Returns the capabilities\n *\n * @return {Array} capabilities\n *\n * @since 14.0.0\n */\nexport function getCapabilities() {\n\tif (OC.debug) {\n\t\tlogger.warn('OC.getCapabilities is deprecated and will be removed in Nextcloud 21. See @nextcloud/capabilities')\n\t}\n\treturn realGetCapabilities()\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * Parses a URL query string into a JS map\n *\n * @param queryString - Query string in the format param1=1234¶m2=abcde¶m3=xyz\n * @return Object containing key/values matching the URL parameters\n * @deprecated 33.0.0 - Use `URLSearchParams` instead\n */\nexport function parse(queryString) {\n const params = new URLSearchParams(queryString);\n return Object.fromEntries(params.entries());\n}\n/**\n * Builds a URL query from a JS map.\n *\n * @param params - Object containing key/values matching the URL parameters\n * @return String containing a URL query (without question) mark\n * @deprecated 33.0.0 - Use `URLSearchParams` instead\n */\nexport function build(params) {\n if (!params) {\n return '';\n }\n const search = new URLSearchParams(params);\n return search.toString();\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport {\n\tgetRootUrl as realGetRootUrl,\n} from '@nextcloud/router'\n\n/**\n * Creates a relative url for remote use\n *\n * @param {string} service id\n * @return {string} the url\n */\nexport function linkToRemoteBase(service) {\n\treturn realGetRootUrl() + '/remote.php/' + service\n}\n","/**\n * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { loadState } from '@nextcloud/initial-state'\n\n/**\n * Set the page heading\n *\n * @param {string} heading page title from the history api\n * @since 27.0.0\n */\nexport function setPageHeading(heading) {\n\tconst headingEl = document.getElementById('page-heading-level-1')\n\tif (headingEl) {\n\t\theadingEl.textContent = heading\n\t}\n}\nexport default {\n\t/**\n\t * @return {boolean} Whether the user opted-out of shortcuts so that they should not be registered\n\t */\n\tdisableKeyboardShortcuts() {\n\t\treturn loadState('theming', 'shortcutsDisabled', false)\n\t},\n\tsetPageHeading,\n}\n","/**\n * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors\n * SPDX-FileCopyrightText: 2016 ownCloud, Inc.\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\nimport axios from '@nextcloud/axios';\nimport { confirmPassword, isPasswordConfirmationRequired, PwdConfirmationMode } from '@nextcloud/password-confirmation';\nimport { generateOcsUrl } from '@nextcloud/router';\n/**\n * @param method - 'post' or 'delete'\n * @param endpoint - endpoint endpoint\n * @param options - destructuring object\n * @param options.data - option data\n * @param options.success - success callback\n * @param options.error - error callback\n */\nasync function call(method, endpoint, options = {}) {\n if ((method === 'post' || method === 'delete') && isPasswordConfirmationRequired(PwdConfirmationMode.Lax)) {\n await confirmPassword();\n }\n try {\n const { data } = await axios.request({\n method: method.toLowerCase(),\n url: generateOcsUrl('apps/provisioning_api/api/v1/config/apps') + endpoint,\n data: options.data || {},\n });\n options.success?.(data.ocs.data);\n }\n catch (error) {\n options.error?.(error);\n }\n}\n/**\n * @param [options] destructuring object\n * @param [options.success] success callback\n * @since 11.0.0\n */\nexport function getApps(options) {\n call('get', '', options);\n}\n/**\n * @param app app id\n * @param [options] destructuring object\n * @param [options.success] success callback\n * @param [options.error] error callback\n * @since 11.0.0\n */\nexport function getKeys(app, options) {\n call('get', '/' + app, options);\n}\n/**\n * @param app app id\n * @param key key\n * @param defaultValue default value\n * @param [options] destructuring object\n * @param [options.success] success callback\n * @param [options.error] error callback\n * @since 11.0.0\n */\nexport function getValue(app, key, defaultValue, options) {\n options = options || {};\n options.data = {\n defaultValue,\n };\n call('get', '/' + app + '/' + key, options);\n}\n/**\n * @param app app id\n * @param key key\n * @param value value\n * @param [options] destructuring object\n * @param [options.success] success callback\n * @param [options.error] error callback\n * @since 11.0.0\n */\nexport function setValue(app, key, value, options) {\n options = options || {};\n options.data = {\n value,\n };\n call('post', '/' + app + '/' + key, options);\n}\n/**\n * @param app app id\n * @param key key\n * @param [options] destructuring object\n * @param [options.success] success callback\n * @param [options.error] error callback\n * @since 11.0.0\n */\nexport function deleteKey(app, key, options) {\n call('delete', '/' + app + '/' + key, options);\n}\n","/**\n * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport escapeHTML from 'escape-html'\n\n/**\n * @typedef TypeDefinition\n * @function action This action is executed to let the user select a resource\n * @param {string} icon Contains the icon css class for the type\n * @function Object() { [native code] }\n */\n\n/**\n * @type {TypeDefinition[]}\n */\nconst types = {}\n\n/**\n * Those translations will be used by the vue component but they should be shipped with the server\n * FIXME: Those translations should be added to the library\n *\n * @return {Array}\n */\nexport function l10nProjects() {\n\treturn [\n\t\tt('core', 'Add to a project'),\n\t\tt('core', 'Show details'),\n\t\tt('core', 'Hide details'),\n\t\tt('core', 'Rename project'),\n\t\tt('core', 'Failed to rename the project'),\n\t\tt('core', 'Failed to create a project'),\n\t\tt('core', 'Failed to add the item to the project'),\n\t\tt('core', 'Connect items to a project to make them easier to find'),\n\t\tt('core', 'Type to search for existing projects'),\n\t]\n}\n\nexport default {\n\t/**\n\t *\n\t * @param {string} type type\n\t * @param {TypeDefinition} typeDefinition typeDefinition\n\t */\n\tregisterType(type, typeDefinition) {\n\t\ttypes[type] = typeDefinition\n\t},\n\ttrigger(type) {\n\t\treturn types[type].action()\n\t},\n\tgetTypes() {\n\t\treturn Object.keys(types)\n\t},\n\tgetIcon(type) {\n\t\treturn types[type].typeIconClass || ''\n\t},\n\tgetLabel(type) {\n\t\treturn escapeHTML(types[type].typeString || type)\n\t},\n\tgetLink(type, id) {\n\t\t/* TODO: Allow action to be executed instead of href as well */\n\t\treturn typeof types[type] !== 'undefined' ? types[type].link(id) : ''\n\t},\n}\n","/**\n * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/*\n * Detects links:\n * Either the http(s) protocol is given or two strings, basically limited to ascii with the last\n * word being at least one digit long,\n * followed by at least another character\n *\n * The downside: anything not ascii is excluded. Not sure how common it is in areas using different\n * alphabets… the upside: fake domains with similar looking characters won't be formatted as links\n *\n * This is a copy of the backend regex in IURLGenerator, make sure to adjust both when changing\n */\nconst urlRegex = /(\\s|^)(https?:\\/\\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\\s|$)/ig;\n/**\n * Converts plain text to rich text\n *\n * @param content - The plain text content\n */\nexport function plainToRich(content) {\n return formatLinksRich(content);\n}\n/**\n * Converts rich text to plain text\n *\n * @param content - The rich text content\n */\nexport function richToPlain(content) {\n return formatLinksPlain(content);\n}\n/**\n * Format links in the given content to rich text links\n *\n * @param content - The content containing plain text URLs\n */\nexport function formatLinksRich(content) {\n return content.replace(urlRegex, function (_, leadingSpace, protocol, url, trailingSpace) {\n let linkText = url;\n if (!protocol) {\n protocol = 'https://';\n }\n else if (protocol === 'http://') {\n linkText = protocol + url;\n }\n return leadingSpace + '' + linkText + '' + trailingSpace;\n });\n}\n/**\n * Format links in the given content to plain text links\n *\n * @param content - The content containing rich text URLs\n */\nexport function formatLinksPlain(content) {\n const el = document.createElement('div');\n el.innerHTML = content;\n el.querySelectorAll('a').forEach((anchor) => {\n anchor.replaceWith(document.createTextNode(anchor.getAttribute('href') || ''));\n });\n return el.innerHTML;\n}\n","/**\n * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { generateFilePath } from '@nextcloud/router'\n\nconst loadedScripts = {}\nconst loadedStylesheets = {}\n/**\n * @namespace OCP\n * @class Loader\n */\nexport default {\n\n\t/**\n\t * Load a script asynchronously\n\t *\n\t * @param {string} app the app name\n\t * @param {string} file the script file name\n\t * @return {Promise}\n\t */\n\tloadScript(app, file) {\n\t\tconst key = app + file\n\t\tif (Object.hasOwn(loadedScripts, key)) {\n\t\t\treturn Promise.resolve()\n\t\t}\n\t\tloadedScripts[key] = true\n\t\treturn new Promise(function(resolve, reject) {\n\t\t\tconst scriptPath = generateFilePath(app, 'js', file)\n\t\t\tconst script = document.createElement('script')\n\t\t\tscript.src = scriptPath\n\t\t\tscript.setAttribute('nonce', btoa(OC.requestToken))\n\t\t\tscript.onload = () => resolve()\n\t\t\tscript.onerror = () => reject(new Error(`Failed to load script from ${scriptPath}`))\n\t\t\tdocument.head.appendChild(script)\n\t\t})\n\t},\n\n\t/**\n\t * Load a stylesheet file asynchronously\n\t *\n\t * @param {string} app the app name\n\t * @param {string} file the script file name\n\t * @return {Promise}\n\t */\n\tloadStylesheet(app, file) {\n\t\tconst key = app + file\n\t\tif (Object.hasOwn(loadedStylesheets, key)) {\n\t\t\treturn Promise.resolve()\n\t\t}\n\t\tloadedStylesheets[key] = true\n\t\treturn new Promise(function(resolve, reject) {\n\t\t\tconst stylePath = generateFilePath(app, 'css', file)\n\t\t\tconst link = document.createElement('link')\n\t\t\tlink.href = stylePath\n\t\t\tlink.type = 'text/css'\n\t\t\tlink.rel = 'stylesheet'\n\t\t\tlink.onload = () => resolve()\n\t\t\tlink.onerror = () => reject(new Error(`Failed to load stylesheet from ${stylePath}`))\n\t\t\tdocument.head.appendChild(link)\n\t\t})\n\t},\n}\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport {\n\tshowError,\n\tshowInfo,\n\tshowMessage,\n\tshowSuccess,\n\tshowWarning,\n} from '@nextcloud/dialogs'\n\n/** @typedef {import('toastify-js')} Toast */\n\nexport default {\n\t/**\n\t * @deprecated 19.0.0 use `showSuccess` from the `@nextcloud/dialogs` package instead\n\t *\n\t * @param {string} text the toast text\n\t * @param {object} options options\n\t * @return {Toast}\n\t */\n\tsuccess(text, options) {\n\t\treturn showSuccess(text, options)\n\t},\n\t/**\n\t * @deprecated 19.0.0 use `showWarning` from the `@nextcloud/dialogs` package instead\n\t *\n\t * @param {string} text the toast text\n\t * @param {object} options options\n\t * @return {Toast}\n\t */\n\twarning(text, options) {\n\t\treturn showWarning(text, options)\n\t},\n\t/**\n\t * @deprecated 19.0.0 use `showError` from the `@nextcloud/dialogs` package instead\n\t *\n\t * @param {string} text the toast text\n\t * @param {object} options options\n\t * @return {Toast}\n\t */\n\terror(text, options) {\n\t\treturn showError(text, options)\n\t},\n\t/**\n\t * @deprecated 19.0.0 use `showInfo` from the `@nextcloud/dialogs` package instead\n\t *\n\t * @param {string} text the toast text\n\t * @param {object} options options\n\t * @return {Toast}\n\t */\n\tinfo(text, options) {\n\t\treturn showInfo(text, options)\n\t},\n\t/**\n\t * @deprecated 19.0.0 use `showMessage` from the `@nextcloud/dialogs` package instead\n\t *\n\t * @param {string} text the toast text\n\t * @param {object} options options\n\t * @return {Toast}\n\t */\n\tmessage(text, options) {\n\t\treturn showMessage(text, options)\n\t},\n\n}\n","/**\n * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { loadState } from '@nextcloud/initial-state'\nimport Accessibility from './accessibility.js'\nimport * as AppConfig from './appconfig.ts'\nimport Collaboration from './collaboration.js'\nimport * as Comments from './comments.ts'\nimport Loader from './loader.js'\nimport Toast from './toast.js'\n\n/** @namespace OCP */\nexport default {\n\tAccessibility,\n\tAppConfig,\n\tCollaboration,\n\t/**\n\t * @deprecated 33.0.0\n\t */\n\tComments,\n\tInitialState: {\n\t\t/**\n\t\t * @deprecated 18.0.0 add https://www.npmjs.com/package/@nextcloud/initial-state to your app\n\t\t */\n\t\tloadState,\n\t},\n\tLoader,\n\t/**\n\t * @deprecated 19.0.0 use the `@nextcloud/dialogs` package instead\n\t */\n\tToast,\n}\n","/* eslint-disable @nextcloud/no-deprecated-globals */\n/*!\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport ClipboardJS from 'clipboard'\nimport { dav } from 'davclient.js'\nimport moment from 'moment'\nimport _ from 'underscore'\nimport { initCore } from './init.js'\nimport OC from './OC/index.js'\nimport { getRequestToken } from './OC/requesttoken.ts'\nimport OCA from './OCA/index.js'\nimport OCP from './OCP/index.js'\n\n/**\n *\n */\nfunction warnIfNotTesting() {\n\tif (window.TESTING === undefined) {\n\t\t// eslint-disable-next-line no-console\n\t\tOC.debug && console.warn.apply(console, arguments)\n\t}\n}\n\n/**\n * @param {string|string[]} global - a string or array of strings with the name of the global variable(s) to deprecate\n * @param {function} cb - a callback that returns the value of the global variable when accessed\n * @param {string} msg - an optional message to show in the warning\n */\nfunction setDeprecatedProp(global, cb, msg) {\n\t(Array.isArray(global) ? global : [global]).forEach((global) => {\n\t\tif (window[global] !== undefined) {\n\t\t\tdelete window[global]\n\t\t}\n\t\tObject.defineProperty(window, global, {\n\t\t\tget: () => {\n\t\t\t\tif (msg) {\n\t\t\t\t\twarnIfNotTesting(`${global} is deprecated: ${msg}`)\n\t\t\t\t} else {\n\t\t\t\t\twarnIfNotTesting(`${global} is deprecated`)\n\t\t\t\t}\n\n\t\t\t\treturn cb()\n\t\t\t},\n\t\t})\n\t})\n}\n\nsetDeprecatedProp(['_'], () => _, 'The global underscore is deprecated. It will be removed in a later versions without another warning. Please ship your own.')\nsetDeprecatedProp(['Clipboard', 'ClipboardJS'], () => ClipboardJS, 'please ship your own, this will be removed in Nextcloud 20')\nsetDeprecatedProp(['dav'], () => dav, 'please ship your own. It will be removed in a later versions without another warning. Please ship your own.')\nsetDeprecatedProp('moment', () => moment, 'please ship your own, this will be removed in Nextcloud 20')\n\nwindow.OC = OC\nsetDeprecatedProp('initCore', () => initCore, 'this is an internal function')\nsetDeprecatedProp('oc_appswebroots', () => OC.appswebroots, 'use OC.appswebroots instead, this will be removed in Nextcloud 20')\nsetDeprecatedProp('oc_config', () => OC.config, 'use OC.config instead, this will be removed in Nextcloud 20')\nsetDeprecatedProp('oc_current_user', () => OC.getCurrentUser().uid, 'use OC.getCurrentUser().uid instead, this will be removed in Nextcloud 20')\nsetDeprecatedProp('oc_debug', () => OC.debug, 'use OC.debug instead, this will be removed in Nextcloud 20')\nsetDeprecatedProp('oc_defaults', () => OC.theme, 'use OC.theme instead, this will be removed in Nextcloud 20')\nsetDeprecatedProp('oc_isadmin', OC.isUserAdmin, 'use OC.isUserAdmin() instead, this will be removed in Nextcloud 20')\nsetDeprecatedProp('oc_requesttoken', () => getRequestToken(), 'use OC.requestToken instead, this will be removed in Nextcloud 20')\nsetDeprecatedProp('oc_webroot', () => OC.webroot, 'use OC.getRootPath() instead, this will be removed in Nextcloud 20')\nsetDeprecatedProp('OCDialogs', () => OC.dialogs, 'use OC.dialogs instead, this will be removed in Nextcloud 20')\nwindow.OCP = OCP\nwindow.OCA = OCA\n\n/**\n * translate a string\n *\n * @param {string} app the id of the app for which to translate the string\n * @param {string} text the string to translate\n * @param [vars] map of placeholder key to value\n * @param {number} [count] number to replace %n with\n * @return {string}\n */\nwindow.t = _.bind(OC.L10N.translate, OC.L10N)\n\n/**\n * translate a string\n *\n * @param {string} app the id of the app for which to translate the string\n * @param {string} text_singular the string to translate for exactly one object\n * @param {string} text_plural the string to translate for n objects\n * @param {number} count number to determine whether to use singular or plural\n * @param [vars] map of placeholder key to value\n * @return {string} Translated string\n */\nwindow.n = _.bind(OC.L10N.translatePlural, OC.L10N)\n","/**\n * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\n/**\n * Namespace for apps\n *\n * @namespace OCA\n */\nexport default { }\n","/**\n * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport { getCSPNonce } from '@nextcloud/auth'\nimport Axios from '@nextcloud/axios'\nimport { generateUrl } from '@nextcloud/router'\nimport _ from 'underscore'\nimport { initCore } from './init.js'\nimport OC from './OC/index.js'\n\nimport 'core-js/stable/index.js'\nimport 'regenerator-runtime/runtime.js'\nimport './globals.js'\n\n__webpack_nonce__ = getCSPNonce()\n\nwindow.addEventListener('DOMContentLoaded', function() {\n\tinitCore()\n\n\t// fallback to hashchange when no history support\n\tif (window.history.pushState) {\n\t\twindow.onpopstate = _.bind(OC.Util.History._onPopState, OC.Util.History)\n\t} else {\n\t\twindow.onhashchange = _.bind(OC.Util.History._onPopState, OC.Util.History)\n\t}\n})\n\n// Fix error \"CSRF check failed\"\ndocument.addEventListener('DOMContentLoaded', function() {\n\tconst form = document.getElementById('password-input-form')\n\tif (form) {\n\t\tform.addEventListener('submit', async function(event) {\n\t\t\tevent.preventDefault()\n\t\t\tconst requestToken = document.getElementById('requesttoken')\n\t\t\tif (requestToken) {\n\t\t\t\tconst url = generateUrl('/csrftoken')\n\t\t\t\tconst resp = await Axios.get(url)\n\t\t\t\trequestToken.value = resp.data.token\n\t\t\t}\n\t\t\tform.submit()\n\t\t})\n\t}\n})\n","/*!\n * clipboard.js v2.0.11\n * https://clipboardjs.com/\n *\n * Licensed MIT © Zeno Rocha\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ClipboardJS\"] = factory();\n\telse\n\t\troot[\"ClipboardJS\"] = factory();\n})(this, function() {\nreturn /******/ (function() { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 686:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n \"default\": function() { return /* binding */ clipboard; }\n});\n\n// EXTERNAL MODULE: ./node_modules/tiny-emitter/index.js\nvar tiny_emitter = __webpack_require__(279);\nvar tiny_emitter_default = /*#__PURE__*/__webpack_require__.n(tiny_emitter);\n// EXTERNAL MODULE: ./node_modules/good-listener/src/listen.js\nvar listen = __webpack_require__(370);\nvar listen_default = /*#__PURE__*/__webpack_require__.n(listen);\n// EXTERNAL MODULE: ./node_modules/select/src/select.js\nvar src_select = __webpack_require__(817);\nvar select_default = /*#__PURE__*/__webpack_require__.n(src_select);\n;// CONCATENATED MODULE: ./src/common/command.js\n/**\n * Executes a given operation type.\n * @param {String} type\n * @return {Boolean}\n */\nfunction command(type) {\n try {\n return document.execCommand(type);\n } catch (err) {\n return false;\n }\n}\n;// CONCATENATED MODULE: ./src/actions/cut.js\n\n\n/**\n * Cut action wrapper.\n * @param {String|HTMLElement} target\n * @return {String}\n */\n\nvar ClipboardActionCut = function ClipboardActionCut(target) {\n var selectedText = select_default()(target);\n command('cut');\n return selectedText;\n};\n\n/* harmony default export */ var actions_cut = (ClipboardActionCut);\n;// CONCATENATED MODULE: ./src/common/create-fake-element.js\n/**\n * Creates a fake textarea element with a value.\n * @param {String} value\n * @return {HTMLElement}\n */\nfunction createFakeElement(value) {\n var isRTL = document.documentElement.getAttribute('dir') === 'rtl';\n var fakeElement = document.createElement('textarea'); // Prevent zooming on iOS\n\n fakeElement.style.fontSize = '12pt'; // Reset box model\n\n fakeElement.style.border = '0';\n fakeElement.style.padding = '0';\n fakeElement.style.margin = '0'; // Move element out of screen horizontally\n\n fakeElement.style.position = 'absolute';\n fakeElement.style[isRTL ? 'right' : 'left'] = '-9999px'; // Move element to the same position vertically\n\n var yPosition = window.pageYOffset || document.documentElement.scrollTop;\n fakeElement.style.top = \"\".concat(yPosition, \"px\");\n fakeElement.setAttribute('readonly', '');\n fakeElement.value = value;\n return fakeElement;\n}\n;// CONCATENATED MODULE: ./src/actions/copy.js\n\n\n\n/**\n * Create fake copy action wrapper using a fake element.\n * @param {String} target\n * @param {Object} options\n * @return {String}\n */\n\nvar fakeCopyAction = function fakeCopyAction(value, options) {\n var fakeElement = createFakeElement(value);\n options.container.appendChild(fakeElement);\n var selectedText = select_default()(fakeElement);\n command('copy');\n fakeElement.remove();\n return selectedText;\n};\n/**\n * Copy action wrapper.\n * @param {String|HTMLElement} target\n * @param {Object} options\n * @return {String}\n */\n\n\nvar ClipboardActionCopy = function ClipboardActionCopy(target) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n container: document.body\n };\n var selectedText = '';\n\n if (typeof target === 'string') {\n selectedText = fakeCopyAction(target, options);\n } else if (target instanceof HTMLInputElement && !['text', 'search', 'url', 'tel', 'password'].includes(target === null || target === void 0 ? void 0 : target.type)) {\n // If input type doesn't support `setSelectionRange`. Simulate it. https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange\n selectedText = fakeCopyAction(target.value, options);\n } else {\n selectedText = select_default()(target);\n command('copy');\n }\n\n return selectedText;\n};\n\n/* harmony default export */ var actions_copy = (ClipboardActionCopy);\n;// CONCATENATED MODULE: ./src/actions/default.js\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n\n\n/**\n * Inner function which performs selection from either `text` or `target`\n * properties and then executes copy or cut operations.\n * @param {Object} options\n */\n\nvar ClipboardActionDefault = function ClipboardActionDefault() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // Defines base properties passed from constructor.\n var _options$action = options.action,\n action = _options$action === void 0 ? 'copy' : _options$action,\n container = options.container,\n target = options.target,\n text = options.text; // Sets the `action` to be performed which can be either 'copy' or 'cut'.\n\n if (action !== 'copy' && action !== 'cut') {\n throw new Error('Invalid \"action\" value, use either \"copy\" or \"cut\"');\n } // Sets the `target` property using an element that will be have its content copied.\n\n\n if (target !== undefined) {\n if (target && _typeof(target) === 'object' && target.nodeType === 1) {\n if (action === 'copy' && target.hasAttribute('disabled')) {\n throw new Error('Invalid \"target\" attribute. Please use \"readonly\" instead of \"disabled\" attribute');\n }\n\n if (action === 'cut' && (target.hasAttribute('readonly') || target.hasAttribute('disabled'))) {\n throw new Error('Invalid \"target\" attribute. You can\\'t cut text from elements with \"readonly\" or \"disabled\" attributes');\n }\n } else {\n throw new Error('Invalid \"target\" value, use a valid Element');\n }\n } // Define selection strategy based on `text` property.\n\n\n if (text) {\n return actions_copy(text, {\n container: container\n });\n } // Defines which selection strategy based on `target` property.\n\n\n if (target) {\n return action === 'cut' ? actions_cut(target) : actions_copy(target, {\n container: container\n });\n }\n};\n\n/* harmony default export */ var actions_default = (ClipboardActionDefault);\n;// CONCATENATED MODULE: ./src/clipboard.js\nfunction clipboard_typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { clipboard_typeof = function _typeof(obj) { return typeof obj; }; } else { clipboard_typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return clipboard_typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (clipboard_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n/**\n * Helper function to retrieve attribute value.\n * @param {String} suffix\n * @param {Element} element\n */\n\nfunction getAttributeValue(suffix, element) {\n var attribute = \"data-clipboard-\".concat(suffix);\n\n if (!element.hasAttribute(attribute)) {\n return;\n }\n\n return element.getAttribute(attribute);\n}\n/**\n * Base class which takes one or more elements, adds event listeners to them,\n * and instantiates a new `ClipboardAction` on each click.\n */\n\n\nvar Clipboard = /*#__PURE__*/function (_Emitter) {\n _inherits(Clipboard, _Emitter);\n\n var _super = _createSuper(Clipboard);\n\n /**\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n * @param {Object} options\n */\n function Clipboard(trigger, options) {\n var _this;\n\n _classCallCheck(this, Clipboard);\n\n _this = _super.call(this);\n\n _this.resolveOptions(options);\n\n _this.listenClick(trigger);\n\n return _this;\n }\n /**\n * Defines if attributes would be resolved using internal setter functions\n * or custom functions that were passed in the constructor.\n * @param {Object} options\n */\n\n\n _createClass(Clipboard, [{\n key: \"resolveOptions\",\n value: function resolveOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n this.action = typeof options.action === 'function' ? options.action : this.defaultAction;\n this.target = typeof options.target === 'function' ? options.target : this.defaultTarget;\n this.text = typeof options.text === 'function' ? options.text : this.defaultText;\n this.container = clipboard_typeof(options.container) === 'object' ? options.container : document.body;\n }\n /**\n * Adds a click event listener to the passed trigger.\n * @param {String|HTMLElement|HTMLCollection|NodeList} trigger\n */\n\n }, {\n key: \"listenClick\",\n value: function listenClick(trigger) {\n var _this2 = this;\n\n this.listener = listen_default()(trigger, 'click', function (e) {\n return _this2.onClick(e);\n });\n }\n /**\n * Defines a new `ClipboardAction` on each click event.\n * @param {Event} e\n */\n\n }, {\n key: \"onClick\",\n value: function onClick(e) {\n var trigger = e.delegateTarget || e.currentTarget;\n var action = this.action(trigger) || 'copy';\n var text = actions_default({\n action: action,\n container: this.container,\n target: this.target(trigger),\n text: this.text(trigger)\n }); // Fires an event based on the copy operation result.\n\n this.emit(text ? 'success' : 'error', {\n action: action,\n text: text,\n trigger: trigger,\n clearSelection: function clearSelection() {\n if (trigger) {\n trigger.focus();\n }\n\n window.getSelection().removeAllRanges();\n }\n });\n }\n /**\n * Default `action` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: \"defaultAction\",\n value: function defaultAction(trigger) {\n return getAttributeValue('action', trigger);\n }\n /**\n * Default `target` lookup function.\n * @param {Element} trigger\n */\n\n }, {\n key: \"defaultTarget\",\n value: function defaultTarget(trigger) {\n var selector = getAttributeValue('target', trigger);\n\n if (selector) {\n return document.querySelector(selector);\n }\n }\n /**\n * Allow fire programmatically a copy action\n * @param {String|HTMLElement} target\n * @param {Object} options\n * @returns Text copied.\n */\n\n }, {\n key: \"defaultText\",\n\n /**\n * Default `text` lookup function.\n * @param {Element} trigger\n */\n value: function defaultText(trigger) {\n return getAttributeValue('text', trigger);\n }\n /**\n * Destroy lifecycle.\n */\n\n }, {\n key: \"destroy\",\n value: function destroy() {\n this.listener.destroy();\n }\n }], [{\n key: \"copy\",\n value: function copy(target) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {\n container: document.body\n };\n return actions_copy(target, options);\n }\n /**\n * Allow fire programmatically a cut action\n * @param {String|HTMLElement} target\n * @returns Text cutted.\n */\n\n }, {\n key: \"cut\",\n value: function cut(target) {\n return actions_cut(target);\n }\n /**\n * Returns the support of the given action, or all actions if no action is\n * given.\n * @param {String} [action]\n */\n\n }, {\n key: \"isSupported\",\n value: function isSupported() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['copy', 'cut'];\n var actions = typeof action === 'string' ? [action] : action;\n var support = !!document.queryCommandSupported;\n actions.forEach(function (action) {\n support = support && !!document.queryCommandSupported(action);\n });\n return support;\n }\n }]);\n\n return Clipboard;\n}((tiny_emitter_default()));\n\n/* harmony default export */ var clipboard = (Clipboard);\n\n/***/ }),\n\n/***/ 828:\n/***/ (function(module) {\n\nvar DOCUMENT_NODE_TYPE = 9;\n\n/**\n * A polyfill for Element.matches()\n */\nif (typeof Element !== 'undefined' && !Element.prototype.matches) {\n var proto = Element.prototype;\n\n proto.matches = proto.matchesSelector ||\n proto.mozMatchesSelector ||\n proto.msMatchesSelector ||\n proto.oMatchesSelector ||\n proto.webkitMatchesSelector;\n}\n\n/**\n * Finds the closest parent that matches a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @return {Function}\n */\nfunction closest (element, selector) {\n while (element && element.nodeType !== DOCUMENT_NODE_TYPE) {\n if (typeof element.matches === 'function' &&\n element.matches(selector)) {\n return element;\n }\n element = element.parentNode;\n }\n}\n\nmodule.exports = closest;\n\n\n/***/ }),\n\n/***/ 438:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nvar closest = __webpack_require__(828);\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction _delegate(element, selector, type, callback, useCapture) {\n var listenerFn = listener.apply(this, arguments);\n\n element.addEventListener(type, listenerFn, useCapture);\n\n return {\n destroy: function() {\n element.removeEventListener(type, listenerFn, useCapture);\n }\n }\n}\n\n/**\n * Delegates event to a selector.\n *\n * @param {Element|String|Array} [elements]\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @param {Boolean} useCapture\n * @return {Object}\n */\nfunction delegate(elements, selector, type, callback, useCapture) {\n // Handle the regular Element usage\n if (typeof elements.addEventListener === 'function') {\n return _delegate.apply(null, arguments);\n }\n\n // Handle Element-less usage, it defaults to global delegation\n if (typeof type === 'function') {\n // Use `document` as the first parameter, then apply arguments\n // This is a short way to .unshift `arguments` without running into deoptimizations\n return _delegate.bind(null, document).apply(null, arguments);\n }\n\n // Handle Selector-based usage\n if (typeof elements === 'string') {\n elements = document.querySelectorAll(elements);\n }\n\n // Handle Array-like based usage\n return Array.prototype.map.call(elements, function (element) {\n return _delegate(element, selector, type, callback, useCapture);\n });\n}\n\n/**\n * Finds closest match and invokes callback.\n *\n * @param {Element} element\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Function}\n */\nfunction listener(element, selector, type, callback) {\n return function(e) {\n e.delegateTarget = closest(e.target, selector);\n\n if (e.delegateTarget) {\n callback.call(element, e);\n }\n }\n}\n\nmodule.exports = delegate;\n\n\n/***/ }),\n\n/***/ 879:\n/***/ (function(__unused_webpack_module, exports) {\n\n/**\n * Check if argument is a HTML element.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.node = function(value) {\n return value !== undefined\n && value instanceof HTMLElement\n && value.nodeType === 1;\n};\n\n/**\n * Check if argument is a list of HTML elements.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.nodeList = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return value !== undefined\n && (type === '[object NodeList]' || type === '[object HTMLCollection]')\n && ('length' in value)\n && (value.length === 0 || exports.node(value[0]));\n};\n\n/**\n * Check if argument is a string.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.string = function(value) {\n return typeof value === 'string'\n || value instanceof String;\n};\n\n/**\n * Check if argument is a function.\n *\n * @param {Object} value\n * @return {Boolean}\n */\nexports.fn = function(value) {\n var type = Object.prototype.toString.call(value);\n\n return type === '[object Function]';\n};\n\n\n/***/ }),\n\n/***/ 370:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nvar is = __webpack_require__(879);\nvar delegate = __webpack_require__(438);\n\n/**\n * Validates all params and calls the right\n * listener function based on its target type.\n *\n * @param {String|HTMLElement|HTMLCollection|NodeList} target\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listen(target, type, callback) {\n if (!target && !type && !callback) {\n throw new Error('Missing required arguments');\n }\n\n if (!is.string(type)) {\n throw new TypeError('Second argument must be a String');\n }\n\n if (!is.fn(callback)) {\n throw new TypeError('Third argument must be a Function');\n }\n\n if (is.node(target)) {\n return listenNode(target, type, callback);\n }\n else if (is.nodeList(target)) {\n return listenNodeList(target, type, callback);\n }\n else if (is.string(target)) {\n return listenSelector(target, type, callback);\n }\n else {\n throw new TypeError('First argument must be a String, HTMLElement, HTMLCollection, or NodeList');\n }\n}\n\n/**\n * Adds an event listener to a HTML element\n * and returns a remove listener function.\n *\n * @param {HTMLElement} node\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNode(node, type, callback) {\n node.addEventListener(type, callback);\n\n return {\n destroy: function() {\n node.removeEventListener(type, callback);\n }\n }\n}\n\n/**\n * Add an event listener to a list of HTML elements\n * and returns a remove listener function.\n *\n * @param {NodeList|HTMLCollection} nodeList\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenNodeList(nodeList, type, callback) {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.addEventListener(type, callback);\n });\n\n return {\n destroy: function() {\n Array.prototype.forEach.call(nodeList, function(node) {\n node.removeEventListener(type, callback);\n });\n }\n }\n}\n\n/**\n * Add an event listener to a selector\n * and returns a remove listener function.\n *\n * @param {String} selector\n * @param {String} type\n * @param {Function} callback\n * @return {Object}\n */\nfunction listenSelector(selector, type, callback) {\n return delegate(document.body, selector, type, callback);\n}\n\nmodule.exports = listen;\n\n\n/***/ }),\n\n/***/ 817:\n/***/ (function(module) {\n\nfunction select(element) {\n var selectedText;\n\n if (element.nodeName === 'SELECT') {\n element.focus();\n\n selectedText = element.value;\n }\n else if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {\n var isReadOnly = element.hasAttribute('readonly');\n\n if (!isReadOnly) {\n element.setAttribute('readonly', '');\n }\n\n element.select();\n element.setSelectionRange(0, element.value.length);\n\n if (!isReadOnly) {\n element.removeAttribute('readonly');\n }\n\n selectedText = element.value;\n }\n else {\n if (element.hasAttribute('contenteditable')) {\n element.focus();\n }\n\n var selection = window.getSelection();\n var range = document.createRange();\n\n range.selectNodeContents(element);\n selection.removeAllRanges();\n selection.addRange(range);\n\n selectedText = selection.toString();\n }\n\n return selectedText;\n}\n\nmodule.exports = select;\n\n\n/***/ }),\n\n/***/ 279:\n/***/ (function(module) {\n\nfunction E () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n}\n\nE.prototype = {\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx\n });\n\n return this;\n },\n\n once: function (name, callback, ctx) {\n var self = this;\n function listener () {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n };\n\n listener._ = callback\n return this.on(name, listener, ctx);\n },\n\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n\n return this;\n },\n\n off: function (name, callback) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n\n if (evts && callback) {\n for (var i = 0, len = evts.length; i < len; i++) {\n if (evts[i].fn !== callback && evts[i].fn._ !== callback)\n liveEvents.push(evts[i]);\n }\n }\n\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n\n (liveEvents.length)\n ? e[name] = liveEvents\n : delete e[name];\n\n return this;\n }\n};\n\nmodule.exports = E;\nmodule.exports.TinyEmitter = E;\n\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(__webpack_module_cache__[moduleId]) {\n/******/ \t\t\treturn __webpack_module_cache__[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t!function() {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__webpack_require__.n = function(module) {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\tfunction() { return module['default']; } :\n/******/ \t\t\t\tfunction() { return module; };\n/******/ \t\t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t!function() {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__webpack_require__.d = function(exports, definition) {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t}();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t!function() {\n/******/ \t\t__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }\n/******/ \t}();\n/******/ \t\n/************************************************************************/\n/******/ \t// module exports must be returned from runtime so entry inlining is disabled\n/******/ \t// startup\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(686);\n/******/ })()\n.default;\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, `.account-menu-entry__icon[data-v-bdb908d2]{height:16px;width:16px;margin:calc((var(--default-clickable-area) - 16px)/2);filter:var(--background-invert-if-dark)}.account-menu-entry__icon--active[data-v-bdb908d2]{filter:var(--primary-invert-if-dark)}.account-menu-entry__loading[data-v-bdb908d2]{height:20px;width:20px;margin:calc((var(--default-clickable-area) - 20px)/2)}.account-menu-entry[data-v-bdb908d2] .list-item-content__main{width:fit-content}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/AccountMenu/AccountMenuEntry.vue\"],\"names\":[],\"mappings\":\"AAEC,2CACC,WAAA,CACA,UAAA,CACA,qDAAA,CACA,uCAAA,CAEA,mDACC,oCAAA,CAIF,8CACC,WAAA,CACA,UAAA,CACA,qDAAA,CAGD,8DACC,iBAAA\",\"sourcesContent\":[\"\\n.account-menu-entry {\\n\\t&__icon {\\n\\t\\theight: 16px;\\n\\t\\twidth: 16px;\\n\\t\\tmargin: calc((var(--default-clickable-area) - 16px) / 2); // 16px icon size\\n\\t\\tfilter: var(--background-invert-if-dark);\\n\\n\\t\\t&--active {\\n\\t\\t\\tfilter: var(--primary-invert-if-dark);\\n\\t\\t}\\n\\t}\\n\\n\\t&__loading {\\n\\t\\theight: 20px;\\n\\t\\twidth: 20px;\\n\\t\\tmargin: calc((var(--default-clickable-area) - 20px) / 2); // 20px icon size\\n\\t}\\n\\n\\t:deep(.list-item-content__main) {\\n\\t\\twidth: fit-content;\\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, `.qr-login__content{display:flex;flex-direction:column;align-items:center;gap:var(--default-grid-baseline)}.qr-login__description{text-align:center}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/AccountMenu/AccountQRLoginDialog.vue\"],\"names\":[],\"mappings\":\"AACA,mBACC,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,gCAAA,CAGD,uBACC,iBAAA\",\"sourcesContent\":[\"\\n.qr-login__content {\\n\\tdisplay: flex;\\n\\tflex-direction: column;\\n\\talign-items: center;\\n\\tgap: var(--default-grid-baseline);\\n}\\n\\n.qr-login__description {\\n\\ttext-align: center;\\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, `.app-item[data-v-278c0168]{--app-item-circle-size: calc(var(--default-grid-baseline) * 10);--app-item-icon-size: 22px;display:flex;flex-direction:column;align-items:center;gap:var(--default-grid-baseline);padding-block:var(--default-grid-baseline);border-radius:var(--border-radius-element);text-decoration:none;color:var(--color-main-text);min-width:0}.app-item[data-v-278c0168]:hover,.app-item[data-v-278c0168]:focus-visible{background-color:var(--color-background-hover)}.app-item[data-v-278c0168]:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--color-primary-element)}.app-item__circle[data-v-278c0168]{box-sizing:border-box;position:relative;width:var(--app-item-circle-size);height:var(--app-item-circle-size);border-radius:50%;background-color:var(--color-primary-element);background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.15) 100%);box-shadow:inset 0 1px 0 0 hsla(0,0%,100%,.25),inset 0 -1px 0 0 rgba(0,0,0,.2),0 2px 4px rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center}.app-item__icon[data-v-278c0168]{width:var(--app-item-icon-size);height:var(--app-item-icon-size);filter:var(--primary-invert-if-bright);mask:var(--header-menu-icon-mask)}.app-item__unread[data-v-278c0168]{position:absolute;top:0;inset-inline-end:0;width:calc(var(--default-grid-baseline)*3);height:calc(var(--default-grid-baseline)*3);border-radius:50%;background-color:var(--color-error);border:2px solid var(--color-main-background);box-sizing:content-box}.app-item__label[data-v-278c0168]{font-size:12px;line-height:1.3;text-align:center;color:var(--color-main-text);-webkit-hyphens:auto;hyphens:auto;word-break:normal;overflow-wrap:break-word;max-width:100%;letter-spacing:-0.3px}.app-item--active .app-item__label[data-v-278c0168]{font-weight:bold}.app-item--outlined .app-item__circle[data-v-278c0168]{background:rgba(0,0,0,0);background-image:none;box-shadow:inset 0 0 0 2px var(--color-border-maxcontrast)}.app-item--outlined .app-item__icon[data-v-278c0168]{filter:var(--background-invert-if-dark);mask:none}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/AppItem.vue\"],\"names\":[],\"mappings\":\"AACA,2BACC,+DAAA,CACA,0BAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CACA,gCAAA,CAGA,0CAAA,CACA,0CAAA,CACA,oBAAA,CACA,4BAAA,CACA,WAAA,CAEA,0EAEC,8CAAA,CAMD,yCACC,YAAA,CACA,uDAAA,CAGD,mCACC,qBAAA,CACA,iBAAA,CACA,iCAAA,CACA,kCAAA,CACA,iBAAA,CACA,6CAAA,CACA,+HAAA,CAMA,wGACC,CAGD,YAAA,CACA,kBAAA,CACA,sBAAA,CAGD,iCACC,+BAAA,CACA,gCAAA,CAGA,sCAAA,CACA,iCAAA,CAGD,mCACC,iBAAA,CACA,KAAA,CACA,kBAAA,CACA,0CAAA,CACA,2CAAA,CACA,iBAAA,CACA,mCAAA,CACA,6CAAA,CACA,sBAAA,CAGD,kCACC,cAAA,CACA,eAAA,CACA,iBAAA,CACA,4BAAA,CAEA,oBAAA,CACA,YAAA,CACA,iBAAA,CACA,wBAAA,CACA,cAAA,CACA,qBAAA,CAGD,oDACC,gBAAA,CAID,uDACC,wBAAA,CACA,qBAAA,CACA,0DAAA,CAGD,qDACC,uCAAA,CACA,SAAA\",\"sourcesContent\":[\"\\n.app-item {\\n\\t--app-item-circle-size: calc(var(--default-grid-baseline) * 10);\\n\\t--app-item-icon-size: 22px;\\n\\tdisplay: flex;\\n\\tflex-direction: column;\\n\\talign-items: center;\\n\\tgap: var(--default-grid-baseline);\\n\\t// Inset so the hover/focus highlight floats around the circle and label\\n\\t// rather than sitting flush against the icon at the top edge.\\n\\tpadding-block: var(--default-grid-baseline);\\n\\tborder-radius: var(--border-radius-element);\\n\\ttext-decoration: none;\\n\\tcolor: var(--color-main-text);\\n\\tmin-width: 0;\\n\\n\\t&:hover,\\n\\t&:focus-visible {\\n\\t\\tbackground-color: var(--color-background-hover);\\n\\t}\\n\\n\\t// Inset ring instead of outline + offset: the offset version visibly\\n\\t// clips at the popover's rounded edge for items in the first/last row\\n\\t// or column. The inset shadow stays inside the highlight rectangle.\\n\\t&:focus-visible {\\n\\t\\toutline: none;\\n\\t\\tbox-shadow: inset 0 0 0 2px var(--color-primary-element);\\n\\t}\\n\\n\\t&__circle {\\n\\t\\tbox-sizing: border-box;\\n\\t\\tposition: relative;\\n\\t\\twidth: var(--app-item-circle-size);\\n\\t\\theight: var(--app-item-circle-size);\\n\\t\\tborder-radius: 50%;\\n\\t\\tbackground-color: var(--color-primary-element);\\n\\t\\tbackground-image: linear-gradient(\\n\\t\\t\\tto bottom,\\n\\t\\t\\trgba(255, 255, 255, 0.18) 0%,\\n\\t\\t\\trgba(255, 255, 255, 0) 45%,\\n\\t\\t\\trgba(0, 0, 0, 0.15) 100%\\n\\t\\t);\\n\\t\\tbox-shadow:\\n\\t\\t\\tinset 0 1px 0 0 rgba(255, 255, 255, 0.25),\\n\\t\\t\\tinset 0 -1px 0 0 rgba(0, 0, 0, 0.2),\\n\\t\\t\\t0 2px 4px rgba(0, 0, 0, 0.15);\\n\\t\\tdisplay: flex;\\n\\t\\talign-items: center;\\n\\t\\tjustify-content: center;\\n\\t}\\n\\n\\t&__icon {\\n\\t\\twidth: var(--app-item-icon-size);\\n\\t\\theight: var(--app-item-icon-size);\\n\\t\\t// App icons are bright by default; flip them to dark when the\\n\\t\\t// primary color (circle background) is bright (e.g. white in dark mode).\\n\\t\\tfilter: var(--primary-invert-if-bright);\\n\\t\\tmask: var(--header-menu-icon-mask);\\n\\t}\\n\\n\\t&__unread {\\n\\t\\tposition: absolute;\\n\\t\\ttop: 0;\\n\\t\\tinset-inline-end: 0;\\n\\t\\twidth: calc(var(--default-grid-baseline) * 3);\\n\\t\\theight: calc(var(--default-grid-baseline) * 3);\\n\\t\\tborder-radius: 50%;\\n\\t\\tbackground-color: var(--color-error);\\n\\t\\tborder: 2px solid var(--color-main-background);\\n\\t\\tbox-sizing: content-box;\\n\\t}\\n\\n\\t&__label {\\n\\t\\tfont-size: 12px;\\n\\t\\tline-height: 1.3;\\n\\t\\ttext-align: center;\\n\\t\\tcolor: var(--color-main-text);\\n\\t\\t// Needs a matching to actually break with a hyphen.\\n\\t\\t-webkit-hyphens: auto;\\n\\t\\thyphens: auto;\\n\\t\\tword-break: normal;\\n\\t\\toverflow-wrap: break-word;\\n\\t\\tmax-width: 100%;\\n\\t\\tletter-spacing: -0.3px;\\n\\t}\\n\\n\\t&--active &__label {\\n\\t\\tfont-weight: bold;\\n\\t}\\n\\n\\t// Outlined variant: no fill or gradient.\\n\\t&--outlined &__circle {\\n\\t\\tbackground: transparent;\\n\\t\\tbackground-image: none;\\n\\t\\tbox-shadow: inset 0 0 0 2px var(--color-border-maxcontrast);\\n\\t}\\n\\n\\t&--outlined &__icon {\\n\\t\\tfilter: var(--background-invert-if-dark);\\n\\t\\tmask: 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, `.app-menu[data-v-36dadc6d]{display:flex;align-items:center}.app-menu__waffle[data-v-36dadc6d]{--color-main-text: var(--color-background-plain-text);color:var(--color-background-plain-text)}.app-menu__waffle[data-v-36dadc6d]:hover:not(:disabled){background-color:rgba(0,0,0,.1) !important}.app-menu__waffle[data-v-36dadc6d]:active:not(:disabled){background-color:rgba(0,0,0,.15) !important}.app-menu__waffle[data-v-36dadc6d]:focus-visible{background-color:rgba(0,0,0,.1) !important;outline:none !important;box-shadow:inset 0 0 0 2px var(--color-background-plain-text) !important}.app-menu__current-app[data-v-36dadc6d]{--color-main-text: var(--color-background-plain-text);color:var(--color-background-plain-text)}.app-menu__current-app[data-v-36dadc6d]:hover:not(:disabled){background-color:rgba(0,0,0,.1) !important}.app-menu__current-app[data-v-36dadc6d]:active:not(:disabled){background-color:rgba(0,0,0,.15) !important}.app-menu__current-app[data-v-36dadc6d]:focus-visible{background-color:rgba(0,0,0,.1) !important;outline:none !important;box-shadow:inset 0 0 0 2px var(--color-background-plain-text) !important}.app-menu__current-app[data-v-36dadc6d] .button-vue__text{min-width:0}@media only screen and (max-width: 1024px){.app-menu__current-app[data-v-36dadc6d]{display:none !important}}.app-menu__current-app-icon[data-v-36dadc6d]{width:calc(var(--default-grid-baseline)*5);height:calc(var(--default-grid-baseline)*5);filter:var(--background-image-invert-if-bright);mask:var(--header-menu-icon-mask)}.app-menu__current-app-cog[data-v-36dadc6d]{mask:var(--header-menu-icon-mask)}.app-menu__current-app-name[data-v-36dadc6d]{display:inline-block;vertical-align:middle;font-size:var(--default-font-size);font-weight:500;white-space:nowrap;letter-spacing:-0.5px;overflow:hidden;text-overflow:ellipsis;max-width:clamp(80px,22vw,320px)}.app-menu__popover[data-v-36dadc6d]{max-width:calc(100vw - var(--default-grid-baseline)*4);background-color:var(--color-main-background)}.app-menu__grid[data-v-36dadc6d]{--app-item-col-width: 69px;--app-item-row-height: 64px;box-sizing:border-box;padding:calc(var(--default-grid-baseline)*2);display:grid;grid-template-columns:repeat(4, var(--app-item-col-width));grid-auto-rows:minmax(var(--app-item-row-height), max-content);overflow-y:auto}.app-menu__grid[data-v-36dadc6d]>:nth-child(-n+4){padding-block-start:calc(var(--default-grid-baseline)*2) !important}.app-menu__grid[data-v-36dadc6d]{scrollbar-width:thin;scrollbar-color:var(--color-scrollbar) rgba(0,0,0,0)}`, \"\",{\"version\":3,\"sources\":[\"webpack://./core/src/components/AppMenu.vue\"],\"names\":[],\"mappings\":\"AACA,2BACC,YAAA,CACA,kBAAA,CAEA,mCAIC,qDAAA,CACA,wCAAA,CAKA,wDACC,0CAAA,CAGD,yDACC,2CAAA,CAGD,iDACC,0CAAA,CACA,uBAAA,CACA,wEAAA,CAIF,wCAIC,qDAAA,CACA,wCAAA,CAMA,6DACC,0CAAA,CAGD,8DACC,2CAAA,CAGD,sDACC,0CAAA,CACA,uBAAA,CACA,wEAAA,CAKD,0DACC,WAAA,CAGD,2CA/BD,wCAgCE,uBAAA,CAAA,CAIF,6CACC,0CAAA,CACA,2CAAA,CAEA,+CAAA,CACA,iCAAA,CAGD,4CACC,iCAAA,CAGD,6CAEC,oBAAA,CACA,qBAAA,CACA,kCAAA,CACA,eAAA,CACA,kBAAA,CACA,qBAAA,CACA,eAAA,CACA,sBAAA,CAGA,gCAAA,CAGD,oCACC,sDAAA,CACA,6CAAA,CAGD,iCACC,0BAAA,CACA,2BAAA,CAGA,qBAAA,CACA,4CAAA,CACA,YAAA,CACA,0DAAA,CACA,8DAAA,CAEA,eAAA,CAKA,kDACC,mEAAA,CAjBF,iCAsBC,oBAAA,CACA,oDAAA\",\"sourcesContent\":[\"\\n.app-menu {\\n\\tdisplay: flex;\\n\\talign-items: center;\\n\\n\\t&__waffle {\\n\\t\\t// NcButton's tertiary-no-background variant uses --color-main-text,\\n\\t\\t// which is dark on light themes. The header sits on the theme primary\\n\\t\\t// background, so override to use the matching plain-text color.\\n\\t\\t--color-main-text: var(--color-background-plain-text);\\n\\t\\tcolor: var(--color-background-plain-text);\\n\\n\\t\\t// Class merges onto NcButton's root