-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathBrowserStorage-CiIszpku.chunk.mjs
51 lines (50 loc) · 105 KB
/
BrowserStorage-CiIszpku.chunk.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*! third party licenses: js/vendor.LICENSE.txt */
import{d as V,R as vi,c as Tn,S as wi,T as xi,U as Si,I as _i,V as Ci,r as Tt,W as Ai,X as ki,e as D,a as $e,v as In,Y as Oi,g as Li,_ as Mn,D as Gt,Z as sn,$ as Ei,a0 as At,a1 as Bi,a2 as Ne,a3 as Pn,a4 as Ht,a5 as Di,a6 as on,a7 as Ni,a8 as Fn,a9 as Ti,aa as Ii,ab as Mi,f as Pi,ac as jn,P as Se,Q as _e,C as Fi,G as rn,u as ji,ad as Ui}from"./_plugin-vue2_normalizer-DAw9bTCy.chunk.mjs";import{V as Xt,a as It,b as Un,w as Ve,c as zi}from"./style-CmLvDuwV.chunk.mjs";const Ri={name:"NcIconSvgWrapper",props:{inline:{type:Boolean,default:!1},svg:{type:String,default:""},name:{type:String,default:""},path:{type:String,default:""},size:{type:[Number,String],default:20,validator:t=>typeof t=="number"||t==="auto"}},computed:{iconSize(){return typeof this.size=="number"?`${this.size}px`:this.size},cleanSvg(){if(!this.svg||this.path)return;const t=vi.sanitize(this.svg),e=new DOMParser().parseFromString(t,"image/svg+xml");return e.querySelector("parsererror")?(Xt.util.warn("SVG is not valid"),""):(e.documentElement.id&&e.documentElement.removeAttribute("id"),e.documentElement.outerHTML)},attributes(){return{class:["icon-vue",{"icon-vue--inline":this.inline}],style:{"--icon-size":this.iconSize},role:"img","aria-hidden":this.name?void 0:!0,"aria-label":this.name||void 0}}}};var $i=function(){var t=this,e=t._self._c;return t.cleanSvg?e("span",t._b({domProps:{innerHTML:t._s(t.cleanSvg)}},"span",t.attributes,!1)):e("span",t._b({},"span",t.attributes,!1),[e("svg",{attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:t.path}})])])},Vi=[],Hi=V(Ri,$i,Vi,!1,null,"2d0a4d76");const zn=Hi.exports;var Rn={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(typeof self<"u"?self:Tn,function(){return(()=>{var n={646:l=>{l.exports=function(r){if(Array.isArray(r)){for(var p=0,u=new Array(r.length);p<r.length;p++)u[p]=r[p];return u}}},713:l=>{l.exports=function(r,p,u){return p in r?Object.defineProperty(r,p,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[p]=u,r}},860:l=>{l.exports=function(r){if(Symbol.iterator in Object(r)||Object.prototype.toString.call(r)==="[object Arguments]")return Array.from(r)}},206:l=>{l.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},319:(l,r,p)=>{var u=p(646),h=p(860),c=p(206);l.exports=function(d){return u(d)||h(d)||c()}},8:l=>{function r(p){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l.exports=r=function(u){return typeof u}:l.exports=r=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},r(p)}l.exports=r}},i={};function s(l){var r=i[l];if(r!==void 0)return r.exports;var p=i[l]={exports:{}};return n[l](p,p.exports,s),p.exports}s.n=l=>{var r=l&&l.__esModule?()=>l.default:()=>l;return s.d(r,{a:r}),r},s.d=(l,r)=>{for(var p in r)s.o(r,p)&&!s.o(l,p)&&Object.defineProperty(l,p,{enumerable:!0,get:r[p]})},s.o=(l,r)=>Object.prototype.hasOwnProperty.call(l,r),s.r=l=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})};var a={};return(()=>{s.r(a),s.d(a,{VueSelect:()=>T,default:()=>M,mixins:()=>H});var l=s(319),r=s.n(l),p=s(8),u=s.n(p),h=s(713),c=s.n(h);const d={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer:function(){this.autoscroll&&this.maybeAdjustScroll()},open:function(o){var m=this;this.autoscroll&&o&&this.$nextTick(function(){return m.maybeAdjustScroll()})}},methods:{maybeAdjustScroll:function(){var o,m=((o=this.$refs.dropdownMenu)===null||o===void 0?void 0:o.children[this.typeAheadPointer])||!1;if(m){var y=this.getDropdownViewport(),w=m.getBoundingClientRect(),L=w.top,O=w.bottom,N=w.height;if(L<y.top)return this.$refs.dropdownMenu.scrollTop=m.offsetTop;if(O>y.bottom)return this.$refs.dropdownMenu.scrollTop=m.offsetTop-(y.height-N)}},getDropdownViewport:function(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},f={data:function(){return{typeAheadPointer:-1}},watch:{filteredOptions:function(){if(this.resetFocusOnOptionsChange){for(var o=0;o<this.filteredOptions.length;o++)if(this.selectable(this.filteredOptions[o])){this.typeAheadPointer=o;break}}},open:function(o){o&&this.typeAheadToLastSelected()},selectedValue:function(){this.open&&this.typeAheadToLastSelected()}},methods:{typeAheadUp:function(){for(var o=this.typeAheadPointer-1;o>=0;o--)if(this.selectable(this.filteredOptions[o])){this.typeAheadPointer=o;break}},typeAheadDown:function(){for(var o=this.typeAheadPointer+1;o<this.filteredOptions.length;o++)if(this.selectable(this.filteredOptions[o])){this.typeAheadPointer=o;break}},typeAheadSelect:function(){var o=this.filteredOptions[this.typeAheadPointer];o&&this.selectable(o)&&this.select(o)},typeAheadToLastSelected:function(){var o=this.selectedValue.length!==0?this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length-1]):-1;o!==-1&&(this.typeAheadPointer=o)}}},g={props:{loading:{type:Boolean,default:!1}},data:function(){return{mutableLoading:!1}},watch:{search:function(){this.$emit("search",this.search,this.toggleLoading)},loading:function(o){this.mutableLoading=o}},methods:{toggleLoading:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.mutableLoading=o??!this.mutableLoading}}};function b(o,m,y,w,L,O,N,F){var W,z=typeof o=="function"?o.options:o;return m&&(z.render=m,z.staticRenderFns=y,z._compiled=!0),{exports:o,options:z}}const S={Deselect:b({},function(){var o=this.$createElement,m=this._self._c||o;return m("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[m("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])},[]).exports,OpenIndicator:b({},function(){var o=this.$createElement,m=this._self._c||o;return m("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[m("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])},[]).exports},x={inserted:function(o,m,y){var w=y.context;if(w.appendToBody){document.body.appendChild(o);var L=w.$refs.toggle.getBoundingClientRect(),O=L.height,N=L.top,F=L.left,W=L.width,z=window.scrollX||window.pageXOffset,at=window.scrollY||window.pageYOffset;o.unbindPosition=w.calculatePosition(o,w,{width:W+"px",left:z+F+"px",top:at+N+O+"px"})}},unbind:function(o,m,y){y.context.appendToBody&&(o.unbindPosition&&typeof o.unbindPosition=="function"&&o.unbindPosition(),o.parentNode&&o.parentNode.removeChild(o))}},A=function(o){var m={};return Object.keys(o).sort().forEach(function(y){m[y]=o[y]}),JSON.stringify(m)};var C=0;const B=function(){return++C};function E(o,m){var y=Object.keys(o);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(o);m&&(w=w.filter(function(L){return Object.getOwnPropertyDescriptor(o,L).enumerable})),y.push.apply(y,w)}return y}function k(o){for(var m=1;m<arguments.length;m++){var y=arguments[m]!=null?arguments[m]:{};m%2?E(Object(y),!0).forEach(function(w){c()(o,w,y[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(y)):E(Object(y)).forEach(function(w){Object.defineProperty(o,w,Object.getOwnPropertyDescriptor(y,w))})}return o}const T=b({components:k({},S),directives:{appendToBody:x},mixins:[d,f,g],props:{value:{},components:{type:Object,default:function(){return{}}},options:{type:Array,default:function(){return[]}},limit:{type:Number,default:null},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},ariaLabelCombobox:{type:String,default:"Search for options"},ariaLabelListbox:{type:String,default:"Options"},ariaLabelClearSelected:{type:String,default:"Clear selected"},ariaLabelDeselectOption:{type:Function,default:function(o){return"Deselect ".concat(o)}},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:function(o){return o}},selectable:{type:Function,default:function(o){return!0}},getOptionLabel:{type:Function,default:function(o){return u()(o)==="object"?o.hasOwnProperty(this.label)?o[this.label]:console.warn('[vue-select warn]: Label key "option.'.concat(this.label,'" does not')+" exist in options object ".concat(JSON.stringify(o),`.
`)+"https://vue-select.org/api/props.html#getoptionlabel"):o}},getOptionKey:{type:Function,default:function(o){if(u()(o)!=="object")return o;try{return o.hasOwnProperty("id")?o.id:A(o)}catch(m){return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
https://vue-select.org/api/props.html#getoptionkey`,o,m)}}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:function(o,m,y){return(m||"").toLocaleLowerCase().indexOf(y.toLocaleLowerCase())>-1}},filter:{type:Function,default:function(o,m){var y=this;return o.filter(function(w){var L=y.getOptionLabel(w);return typeof L=="number"&&(L=L.toString()),y.filterBy(w,L,m)})}},createOption:{type:Function,default:function(o){return u()(this.optionList[0])==="object"?c()({},this.label,o):o}},resetFocusOnOptionsChange:{type:Boolean,default:!0},resetOnOptionsChange:{default:!1,validator:function(o){return["function","boolean"].includes(u()(o))}},clearSearchOnBlur:{type:Function,default:function(o){var m=o.clearSearchOnSelect,y=o.multiple;return m&&!y}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:function(){return[13]}},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:function(o,m){return o}},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(o,m,y){var w=y.width,L=y.top,O=y.left;o.style.top=L,o.style.left=O,o.style.width=w}},dropdownShouldOpen:{type:Function,default:function(o){var m=o.noDrop,y=o.open,w=o.mutableLoading;return!m&&y&&!w}},keyboardFocusBorder:{type:Boolean,default:!1},uid:{type:[String,Number],default:function(){return B()}}},data:function(){return{search:"",open:!1,isComposing:!1,isKeyboardNavigation:!1,pushedTags:[],_value:[]}},computed:{isTrackingValues:function(){return this.value===void 0||this.$options.propsData.hasOwnProperty("reduce")},selectedValue:function(){var o=this.value;return this.isTrackingValues&&(o=this.$data._value),o!=null&&o!==""?[].concat(o):[]},optionList:function(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl:function(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope:function(){var o=this,m={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:k({id:this.inputId,disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,role:"combobox","aria-autocomplete":"list","aria-label":this.ariaLabelCombobox,"aria-controls":"vs-".concat(this.uid,"__listbox"),"aria-owns":"vs-".concat(this.uid,"__listbox"),"aria-expanded":this.dropdownOpen.toString(),ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":"vs-".concat(this.uid,"__option-").concat(this.typeAheadPointer)}:{}),events:{compositionstart:function(){return o.isComposing=!0},compositionend:function(){return o.isComposing=!1},keydown:this.onSearchKeyDown,keypress:this.onSearchKeyPress,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(y){return o.search=y.target.value}}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:m,listFooter:m,header:k({},m,{deselect:this.deselect}),footer:k({},m,{deselect:this.deselect})}},childComponents:function(){return k({},S,{},this.components)},stateClasses:function(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching:function(){return!!this.search},dropdownOpen:function(){return this.dropdownShouldOpen(this)},searchPlaceholder:function(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions:function(){var o=this,m=function(O){return o.limit!==null?O.slice(0,o.limit):O},y=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return m(y);var w=this.search.length?this.filter(y,this.search,this):y;if(this.taggable&&this.search.length){var L=this.createOption(this.search);this.optionExists(L)||w.unshift(L)}return m(w)},isValueEmpty:function(){return this.selectedValue.length===0},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options:function(o,m){var y=this;!this.taggable&&(typeof y.resetOnOptionsChange=="function"?y.resetOnOptionsChange(o,m,y.selectedValue):y.resetOnOptionsChange)&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:{immediate:!0,handler:function(o){this.isTrackingValues&&this.setInternalValueFromOptions(o)}},multiple:function(){this.clearSelection()},open:function(o){this.$emit(o?"open":"close")},search:function(o){o.length&&(this.open=!0)}},created:function(){this.mutableLoading=this.loading,this.$on("option:created",this.pushTag)},methods:{setInternalValueFromOptions:function(o){var m=this;Array.isArray(o)?this.$data._value=o.map(function(y){return m.findOptionFromReducedValue(y)}):this.$data._value=this.findOptionFromReducedValue(o)},select:function(o){this.$emit("option:selecting",o),this.isOptionSelected(o)?this.deselectFromDropdown&&(this.clearable||this.multiple&&this.selectedValue.length>1)&&this.deselect(o):(this.taggable&&!this.optionExists(o)&&this.$emit("option:created",o),this.multiple&&(o=this.selectedValue.concat(o)),this.updateValue(o),this.$emit("option:selected",o)),this.onAfterSelect(o)},deselect:function(o){var m=this;this.$emit("option:deselecting",o),this.updateValue(this.selectedValue.filter(function(y){return!m.optionComparator(y,o)})),this.$emit("option:deselected",o)},keyboardDeselect:function(o,m){var y,w;this.deselect(o);var L=(y=this.$refs.deselectButtons)===null||y===void 0?void 0:y[m+1],O=(w=this.$refs.deselectButtons)===null||w===void 0?void 0:w[m-1],N=L??O;N?N.focus():this.searchEl.focus()},clearSelection:function(){this.updateValue(this.multiple?[]:null),this.searchEl.focus()},onAfterSelect:function(o){var m=this;this.closeOnSelect&&(this.open=!this.open),this.clearSearchOnSelect&&(this.search=""),this.noDrop&&this.multiple&&this.$nextTick(function(){return m.$refs.search.focus()})},updateValue:function(o){var m=this;this.value===void 0&&(this.$data._value=o),o!==null&&(o=Array.isArray(o)?o.map(function(y){return m.reduce(y)}):this.reduce(o)),this.$emit("input",o)},toggleDropdown:function(o){var m=o.target!==this.searchEl;m&&o.preventDefault();var y=[].concat(r()(this.$refs.deselectButtons||[]),r()([this.$refs.clearButton]));this.searchEl===void 0||y.filter(Boolean).some(function(w){return w.contains(o.target)||w===o.target})?o.preventDefault():this.open&&m?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected:function(o){var m=this;return this.selectedValue.some(function(y){return m.optionComparator(y,o)})},isOptionDeselectable:function(o){return this.isOptionSelected(o)&&this.deselectFromDropdown},hasKeyboardFocusBorder:function(o){return!(!this.keyboardFocusBorder||!this.isKeyboardNavigation)&&o===this.typeAheadPointer},optionComparator:function(o,m){return this.getOptionKey(o)===this.getOptionKey(m)},findOptionFromReducedValue:function(o){var m=this,y=[].concat(r()(this.options),r()(this.pushedTags)).filter(function(w){return JSON.stringify(m.reduce(w))===JSON.stringify(o)});return y.length===1?y[0]:y.find(function(w){return m.optionComparator(w,m.$data._value)})||o},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){if(!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable){var o=null;this.multiple&&(o=r()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateValue(o)}},optionExists:function(o){var m=this;return this.optionList.some(function(y){return m.optionComparator(y,o)})},optionAriaSelected:function(o){return this.selectable(o)?String(this.isOptionSelected(o)):null},normalizeOptionForSlot:function(o){return u()(o)==="object"?o:c()({},this.label,o)},pushTag:function(o){this.pushedTags.push(o)},onEscape:function(){this.search.length?this.search="":this.open=!1},onSearchBlur:function(){if(!this.mousedown||this.searching){var o=this.clearSearchOnSelect,m=this.multiple;return this.clearSearchOnBlur({clearSearchOnSelect:o,multiple:m})&&(this.search=""),void this.closeSearchOptions()}this.mousedown=!1,this.search.length!==0||this.options.length!==0||this.closeSearchOptions()},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},onMousedown:function(){this.mousedown=!0},onMouseUp:function(){this.mousedown=!1},onMouseMove:function(o,m){this.isKeyboardNavigation=!1,this.selectable(o)&&(this.typeAheadPointer=m)},onSearchKeyDown:function(o){var m=this,y=function(O){if(O.preventDefault(),m.open)return!m.isComposing&&m.typeAheadSelect();m.open=!0},w={8:function(O){return m.maybeDeleteValue()},9:function(O){return m.onTab()},27:function(O){return m.onEscape()},38:function(O){if(O.preventDefault(),m.isKeyboardNavigation=!0,m.open)return m.typeAheadUp();m.open=!0},40:function(O){if(O.preventDefault(),m.isKeyboardNavigation=!0,m.open)return m.typeAheadDown();m.open=!0}};this.selectOnKeyCodes.forEach(function(O){return w[O]=y});var L=this.mapKeydown(w,this);if(typeof L[o.keyCode]=="function")return L[o.keyCode](o)},onSearchKeyPress:function(o){this.open||o.keyCode!==32||(o.preventDefault(),this.open=!0)}}},function(){var o=this,m=o.$createElement,y=o._self._c||m;return y("div",{staticClass:"v-select",class:o.stateClasses,attrs:{id:"v-select-"+o.uid,dir:o.dir}},[o._t("header",null,null,o.scope.header),o._v(" "),y("div",{ref:"toggle",staticClass:"vs__dropdown-toggle"},[y("div",{ref:"selectedOptions",staticClass:"vs__selected-options",on:{mousedown:o.toggleDropdown}},[o._l(o.selectedValue,function(w,L){return o._t("selected-option-container",[y("span",{key:o.getOptionKey(w),staticClass:"vs__selected"},[o._t("selected-option",[o._v(`
`+o._s(o.getOptionLabel(w))+`
`)],null,o.normalizeOptionForSlot(w)),o._v(" "),o.multiple?y("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:o.disabled,type:"button",title:o.ariaLabelDeselectOption(o.getOptionLabel(w)),"aria-label":o.ariaLabelDeselectOption(o.getOptionLabel(w))},on:{mousedown:function(O){return O.stopPropagation(),o.deselect(w)},keydown:function(O){return!O.type.indexOf("key")&&o._k(O.keyCode,"enter",13,O.key,"Enter")?null:o.keyboardDeselect(w,L)}}},[y(o.childComponents.Deselect,{tag:"component"})],1):o._e()],2)],{option:o.normalizeOptionForSlot(w),deselect:o.deselect,multiple:o.multiple,disabled:o.disabled})}),o._v(" "),o._t("search",[y("input",o._g(o._b({staticClass:"vs__search"},"input",o.scope.search.attributes,!1),o.scope.search.events))],null,o.scope.search)],2),o._v(" "),y("div",{ref:"actions",staticClass:"vs__actions"},[y("button",{directives:[{name:"show",rawName:"v-show",value:o.showClearButton,expression:"showClearButton"}],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:o.disabled,type:"button",title:o.ariaLabelClearSelected,"aria-label":o.ariaLabelClearSelected},on:{click:o.clearSelection}},[y(o.childComponents.Deselect,{tag:"component"})],1),o._v(" "),o.noDrop?o._e():y("button",{ref:"openIndicatorButton",staticClass:"vs__open-indicator-button",attrs:{type:"button",tabindex:"-1","aria-labelledby":"vs-"+o.uid+"__listbox","aria-controls":"vs-"+o.uid+"__listbox","aria-expanded":o.dropdownOpen.toString()},on:{mousedown:o.toggleDropdown}},[o._t("open-indicator",[y(o.childComponents.OpenIndicator,o._b({tag:"component"},"component",o.scope.openIndicator.attributes,!1))],null,o.scope.openIndicator)],2),o._v(" "),o._t("spinner",[y("div",{directives:[{name:"show",rawName:"v-show",value:o.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[o._v("Loading...")])],null,o.scope.spinner)],2)]),o._v(" "),y("transition",{attrs:{name:o.transition}},[o.dropdownOpen?y("ul",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],key:"vs-"+o.uid+"__listbox",ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{id:"vs-"+o.uid+"__listbox",role:"listbox","aria-label":o.ariaLabelListbox,"aria-multiselectable":o.multiple,tabindex:"-1"},on:{mousedown:function(w){return w.preventDefault(),o.onMousedown(w)},mouseup:o.onMouseUp}},[o._t("list-header",null,null,o.scope.listHeader),o._v(" "),o._l(o.filteredOptions,function(w,L){return y("li",{key:o.getOptionKey(w),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--deselect":o.isOptionDeselectable(w)&&L===o.typeAheadPointer,"vs__dropdown-option--selected":o.isOptionSelected(w),"vs__dropdown-option--highlight":L===o.typeAheadPointer,"vs__dropdown-option--kb-focus":o.hasKeyboardFocusBorder(L),"vs__dropdown-option--disabled":!o.selectable(w)},attrs:{id:"vs-"+o.uid+"__option-"+L,role:"option","aria-selected":o.optionAriaSelected(w)},on:{mousemove:function(O){return o.onMouseMove(w,L)},click:function(O){O.preventDefault(),O.stopPropagation(),o.selectable(w)&&o.select(w)}}},[o._t("option",[o._v(`
`+o._s(o.getOptionLabel(w))+`
`)],null,o.normalizeOptionForSlot(w))],2)}),o._v(" "),o.filteredOptions.length===0?y("li",{staticClass:"vs__no-options"},[o._t("no-options",[o._v(`
Sorry, no matching options.
`)],null,o.scope.noOptions)],2):o._e(),o._v(" "),o._t("list-footer",null,null,o.scope.listFooter)],2):y("ul",{staticStyle:{display:"none",visibility:"hidden"},attrs:{id:"vs-"+o.uid+"__listbox",role:"listbox","aria-label":o.ariaLabelListbox}})]),o._v(" "),o._t("footer",null,null,o.scope.footer)],2)},[]).exports,H={ajax:g,pointer:f,pointerScroll:d},M=T})(),a})()})})(Rn);var lt=Rn.exports;const Qt=Math.min,pt=Math.max,Yt=Math.round,zt=Math.floor,st=t=>({x:t,y:t}),Wi={left:"right",right:"left",bottom:"top",top:"bottom"},Ki={start:"end",end:"start"};function an(t,e,n){return pt(t,Qt(e,n))}function xt(t,e){return typeof t=="function"?t(e):t}function ot(t){return t.split("-")[0]}function me(t){return t.split("-")[1]}function He(t){return t==="x"?"y":"x"}function $n(t){return t==="y"?"height":"width"}function Mt(t){return["top","bottom"].includes(ot(t))?"y":"x"}function Vn(t){return He(Mt(t))}function qi(t,e,n){n===void 0&&(n=!1);const i=me(t),s=Vn(t),a=$n(s);let l=s==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(l=Zt(l)),[l,Zt(l)]}function Gi(t){const e=Zt(t);return[Te(t),e,Te(e)]}function Te(t){return t.replace(/start|end/g,e=>Ki[e])}function Xi(t,e,n){const i=["left","right"],s=["right","left"],a=["top","bottom"],l=["bottom","top"];switch(t){case"top":case"bottom":return n?e?s:i:e?i:s;case"left":case"right":return e?a:l;default:return[]}}function Qi(t,e,n,i){const s=me(t);let a=Xi(ot(t),n==="start",i);return s&&(a=a.map(l=>l+"-"+s),e&&(a=a.concat(a.map(Te)))),a}function Zt(t){return t.replace(/left|right|bottom|top/g,e=>Wi[e])}function Yi(t){return{top:0,right:0,bottom:0,left:0,...t}}function Zi(t){return typeof t!="number"?Yi(t):{top:t,right:t,bottom:t,left:t}}function Jt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ln(t,e,n){let{reference:i,floating:s}=t;const a=Mt(e),l=Vn(e),r=$n(l),p=ot(e),u=a==="y",h=i.x+i.width/2-s.width/2,c=i.y+i.height/2-s.height/2,d=i[r]/2-s[r]/2;let f;switch(p){case"top":f={x:h,y:i.y-s.height};break;case"bottom":f={x:h,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:c};break;case"left":f={x:i.x-s.width,y:c};break;default:f={x:i.x,y:i.y}}switch(me(e)){case"start":f[l]-=d*(n&&u?-1:1);break;case"end":f[l]+=d*(n&&u?-1:1);break}return f}const Ji=async(t,e,n)=>{const{placement:i="bottom",strategy:s="absolute",middleware:a=[],platform:l}=n,r=a.filter(Boolean),p=await(l.isRTL==null?void 0:l.isRTL(e));let u=await l.getElementRects({reference:t,floating:e,strategy:s}),{x:h,y:c}=ln(u,i,p),d=i,f={},g=0;for(let b=0;b<r.length;b++){const{name:S,fn:x}=r[b],{x:A,y:C,data:B,reset:E}=await x({x:h,y:c,initialPlacement:i,placement:d,strategy:s,middlewareData:f,rects:u,platform:l,elements:{reference:t,floating:e}});if(h=A??h,c=C??c,f={...f,[S]:{...f[S],...B}},E&&g<=50){g++,typeof E=="object"&&(E.placement&&(d=E.placement),E.rects&&(u=E.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:s}):E.rects),{x:h,y:c}=ln(u,d,p)),b=-1;continue}}return{x:h,y:c,placement:d,strategy:s,middlewareData:f}};async function Hn(t,e){var n;e===void 0&&(e={});const{x:i,y:s,platform:a,rects:l,elements:r,strategy:p}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:c="floating",altBoundary:d=!1,padding:f=0}=xt(e,t),g=Zi(f),b=r[d?c==="floating"?"reference":"floating":c],S=Jt(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(b)))==null||n?b:b.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(r.floating)),boundary:u,rootBoundary:h,strategy:p})),x=c==="floating"?{...l.floating,x:i,y:s}:l.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(r.floating)),C=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},B=Jt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:x,offsetParent:A,strategy:p}):x);return{top:(S.top-B.top+g.top)/C.y,bottom:(B.bottom-S.bottom+g.bottom)/C.y,left:(S.left-B.left+g.left)/C.x,right:(B.right-S.right+g.right)/C.x}}const ts=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;const{placement:s,middlewareData:a,rects:l,initialPlacement:r,platform:p,elements:u}=e,{mainAxis:h=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:b=!0,...S}=xt(t,e);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const x=ot(s),A=ot(r)===r,C=await(p.isRTL==null?void 0:p.isRTL(u.floating)),B=d||(A||!b?[Zt(r)]:Gi(r));!d&&g!=="none"&&B.push(...Qi(r,b,g,C));const E=[r,...B],k=await Hn(e,S),T=[];let H=((i=a.flip)==null?void 0:i.overflows)||[];if(h&&T.push(k[x]),c){const y=qi(s,l,C);T.push(k[y[0]],k[y[1]])}if(H=[...H,{placement:s,overflows:T}],!T.every(y=>y<=0)){var M,o;const y=(((M=a.flip)==null?void 0:M.index)||0)+1,w=E[y];if(w)return{data:{index:y,overflows:H},reset:{placement:w}};let L=(o=H.filter(O=>O.overflows[0]<=0).sort((O,N)=>O.overflows[1]-N.overflows[1])[0])==null?void 0:o.placement;if(!L)switch(f){case"bestFit":{var m;const O=(m=H.map(N=>[N.placement,N.overflows.filter(F=>F>0).reduce((F,W)=>F+W,0)]).sort((N,F)=>N[1]-F[1])[0])==null?void 0:m[0];O&&(L=O);break}case"initialPlacement":L=r;break}if(s!==L)return{reset:{placement:L}}}return{}}}};async function es(t,e){const{placement:n,platform:i,elements:s}=t,a=await(i.isRTL==null?void 0:i.isRTL(s.floating)),l=ot(n),r=me(n),p=Mt(n)==="y",u=["left","top"].includes(l)?-1:1,h=a&&p?-1:1,c=xt(e,t);let{mainAxis:d,crossAxis:f,alignmentAxis:g}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return r&&typeof g=="number"&&(f=r==="end"?g*-1:g),p?{x:f*h,y:d*u}:{x:d*u,y:f*h}}const ns=function(t){return{name:"offset",options:t,async fn(e){const{x:n,y:i}=e,s=await es(e,t);return{x:n+s.x,y:i+s.y,data:s}}}},is=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:i,placement:s}=e,{mainAxis:a=!0,crossAxis:l=!1,limiter:r={fn:S=>{let{x,y:A}=S;return{x,y:A}}},...p}=xt(t,e),u={x:n,y:i},h=await Hn(e,p),c=Mt(ot(s)),d=He(c);let f=u[d],g=u[c];if(a){const S=d==="y"?"top":"left",x=d==="y"?"bottom":"right",A=f+h[S],C=f-h[x];f=an(A,f,C)}if(l){const S=c==="y"?"top":"left",x=c==="y"?"bottom":"right",A=g+h[S],C=g-h[x];g=an(A,g,C)}const b=r.fn({...e,[d]:f,[c]:g});return{...b,data:{x:b.x-n,y:b.y-i}}}}},ss=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:i,placement:s,rects:a,middlewareData:l}=e,{offset:r=0,mainAxis:p=!0,crossAxis:u=!0}=xt(t,e),h={x:n,y:i},c=Mt(s),d=He(c);let f=h[d],g=h[c];const b=xt(r,e),S=typeof b=="number"?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(p){const C=d==="y"?"height":"width",B=a.reference[d]-a.floating[C]+S.mainAxis,E=a.reference[d]+a.reference[C]-S.mainAxis;f<B?f=B:f>E&&(f=E)}if(u){var x,A;const C=d==="y"?"width":"height",B=["top","left"].includes(ot(s)),E=a.reference[c]-a.floating[C]+(B&&((x=l.offset)==null?void 0:x[c])||0)+(B?0:S.crossAxis),k=a.reference[c]+a.reference[C]+(B?0:((A=l.offset)==null?void 0:A[c])||0)-(B?S.crossAxis:0);g<E?g=E:g>k&&(g=k)}return{[d]:f,[c]:g}}}};function rt(t){return Wn(t)?(t.nodeName||"").toLowerCase():"#document"}function $(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function tt(t){var e;return(e=(Wn(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Wn(t){return t instanceof Node||t instanceof $(t).Node}function J(t){return t instanceof Element||t instanceof $(t).Element}function Y(t){return t instanceof HTMLElement||t instanceof $(t).HTMLElement}function un(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof $(t).ShadowRoot}function Pt(t){const{overflow:e,overflowX:n,overflowY:i,display:s}=q(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&!["inline","contents"].includes(s)}function os(t){return["table","td","th"].includes(rt(t))}function We(t){const e=Ke(),n=q(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function rs(t){let e=St(t);for(;Y(e)&&!ye(e);){if(We(e))return e;e=St(e)}return null}function Ke(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ye(t){return["html","body","#document"].includes(rt(t))}function q(t){return $(t).getComputedStyle(t)}function be(t){return J(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function St(t){if(rt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||un(t)&&t.host||tt(t);return un(e)?e.host:e}function Kn(t){const e=St(t);return ye(e)?t.ownerDocument?t.ownerDocument.body:t.body:Y(e)&&Pt(e)?e:Kn(e)}function Bt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);const s=Kn(t),a=s===((i=t.ownerDocument)==null?void 0:i.body),l=$(s);return a?e.concat(l,l.visualViewport||[],Pt(s)?s:[],l.frameElement&&n?Bt(l.frameElement):[]):e.concat(s,Bt(s,[],n))}function qn(t){const e=q(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const s=Y(t),a=s?t.offsetWidth:n,l=s?t.offsetHeight:i,r=Yt(n)!==a||Yt(i)!==l;return r&&(n=a,i=l),{width:n,height:i,$:r}}function qe(t){return J(t)?t:t.contextElement}function wt(t){const e=qe(t);if(!Y(e))return st(1);const n=e.getBoundingClientRect(),{width:i,height:s,$:a}=qn(e);let l=(a?Yt(n.width):n.width)/i,r=(a?Yt(n.height):n.height)/s;return(!l||!Number.isFinite(l))&&(l=1),(!r||!Number.isFinite(r))&&(r=1),{x:l,y:r}}const as=st(0);function Gn(t){const e=$(t);return!Ke()||!e.visualViewport?as:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ls(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==$(t)?!1:e}function ft(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),a=qe(t);let l=st(1);e&&(i?J(i)&&(l=wt(i)):l=wt(t));const r=ls(a,n,i)?Gn(a):st(0);let p=(s.left+r.x)/l.x,u=(s.top+r.y)/l.y,h=s.width/l.x,c=s.height/l.y;if(a){const d=$(a),f=i&&J(i)?$(i):i;let g=d.frameElement;for(;g&&i&&f!==d;){const b=wt(g),S=g.getBoundingClientRect(),x=q(g),A=S.left+(g.clientLeft+parseFloat(x.paddingLeft))*b.x,C=S.top+(g.clientTop+parseFloat(x.paddingTop))*b.y;p*=b.x,u*=b.y,h*=b.x,c*=b.y,p+=A,u+=C,g=$(g).frameElement}}return Jt({width:h,height:c,x:p,y:u})}function us(t){let{rect:e,offsetParent:n,strategy:i}=t;const s=Y(n),a=tt(n);if(n===a)return e;let l={scrollLeft:0,scrollTop:0},r=st(1);const p=st(0);if((s||!s&&i!=="fixed")&&((rt(n)!=="body"||Pt(a))&&(l=be(n)),Y(n))){const u=ft(n);r=wt(n),p.x=u.x+n.clientLeft,p.y=u.y+n.clientTop}return{width:e.width*r.x,height:e.height*r.y,x:e.x*r.x-l.scrollLeft*r.x+p.x,y:e.y*r.y-l.scrollTop*r.y+p.y}}function cs(t){return Array.from(t.getClientRects())}function Xn(t){return ft(tt(t)).left+be(t).scrollLeft}function hs(t){const e=tt(t),n=be(t),i=t.ownerDocument.body,s=pt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=pt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let l=-n.scrollLeft+Xn(t);const r=-n.scrollTop;return q(i).direction==="rtl"&&(l+=pt(e.clientWidth,i.clientWidth)-s),{width:s,height:a,x:l,y:r}}function ds(t,e){const n=$(t),i=tt(t),s=n.visualViewport;let a=i.clientWidth,l=i.clientHeight,r=0,p=0;if(s){a=s.width,l=s.height;const u=Ke();(!u||u&&e==="fixed")&&(r=s.offsetLeft,p=s.offsetTop)}return{width:a,height:l,x:r,y:p}}function ps(t,e){const n=ft(t,!0,e==="fixed"),i=n.top+t.clientTop,s=n.left+t.clientLeft,a=Y(t)?wt(t):st(1),l=t.clientWidth*a.x,r=t.clientHeight*a.y,p=s*a.x,u=i*a.y;return{width:l,height:r,x:p,y:u}}function cn(t,e,n){let i;if(e==="viewport")i=ds(t,n);else if(e==="document")i=hs(tt(t));else if(J(e))i=ps(e,n);else{const s=Gn(t);i={...e,x:e.x-s.x,y:e.y-s.y}}return Jt(i)}function Qn(t,e){const n=St(t);return n===e||!J(n)||ye(n)?!1:q(n).position==="fixed"||Qn(n,e)}function fs(t,e){const n=e.get(t);if(n)return n;let i=Bt(t,[],!1).filter(r=>J(r)&&rt(r)!=="body"),s=null;const a=q(t).position==="fixed";let l=a?St(t):t;for(;J(l)&&!ye(l);){const r=q(l),p=We(l);!p&&r.position==="fixed"&&(s=null),(a?!p&&!s:!p&&r.position==="static"&&s&&["absolute","fixed"].includes(s.position)||Pt(l)&&!p&&Qn(t,l))?i=i.filter(u=>u!==l):s=r,l=St(l)}return e.set(t,i),i}function gs(t){let{element:e,boundary:n,rootBoundary:i,strategy:s}=t;const a=[...n==="clippingAncestors"?fs(e,this._c):[].concat(n),i],l=a[0],r=a.reduce((p,u)=>{const h=cn(e,u,s);return p.top=pt(h.top,p.top),p.right=Qt(h.right,p.right),p.bottom=Qt(h.bottom,p.bottom),p.left=pt(h.left,p.left),p},cn(e,l,s));return{width:r.right-r.left,height:r.bottom-r.top,x:r.left,y:r.top}}function ms(t){return qn(t)}function ys(t,e,n){const i=Y(e),s=tt(e),a=n==="fixed",l=ft(t,!0,a,e);let r={scrollLeft:0,scrollTop:0};const p=st(0);if(i||!i&&!a)if((rt(e)!=="body"||Pt(s))&&(r=be(e)),i){const u=ft(e,!0,a,e);p.x=u.x+e.clientLeft,p.y=u.y+e.clientTop}else s&&(p.x=Xn(s));return{x:l.left+r.scrollLeft-p.x,y:l.top+r.scrollTop-p.y,width:l.width,height:l.height}}function hn(t,e){return!Y(t)||q(t).position==="fixed"?null:e?e(t):t.offsetParent}function Yn(t,e){const n=$(t);if(!Y(t))return n;let i=hn(t,e);for(;i&&os(i)&&q(i).position==="static";)i=hn(i,e);return i&&(rt(i)==="html"||rt(i)==="body"&&q(i).position==="static"&&!We(i))?n:i||rs(t)||n}const bs=async function(t){let{reference:e,floating:n,strategy:i}=t;const s=this.getOffsetParent||Yn,a=this.getDimensions;return{reference:ys(e,await s(n),i),floating:{x:0,y:0,...await a(n)}}};function vs(t){return q(t).direction==="rtl"}const ws={convertOffsetParentRelativeRectToViewportRelativeRect:us,getDocumentElement:tt,getClippingRect:gs,getOffsetParent:Yn,getElementRects:bs,getClientRects:cs,getDimensions:ms,getScale:wt,isElement:J,isRTL:vs};function xs(t,e){let n=null,i;const s=tt(t);function a(){clearTimeout(i),n&&n.disconnect(),n=null}function l(r,p){r===void 0&&(r=!1),p===void 0&&(p=1),a();const{left:u,top:h,width:c,height:d}=t.getBoundingClientRect();if(r||e(),!c||!d)return;const f=zt(h),g=zt(s.clientWidth-(u+c)),b=zt(s.clientHeight-(h+d)),S=zt(u),x={rootMargin:-f+"px "+-g+"px "+-b+"px "+-S+"px",threshold:pt(0,Qt(1,p))||1};let A=!0;function C(B){const E=B[0].intersectionRatio;if(E!==p){if(!A)return l();E?l(!1,E):i=setTimeout(()=>{l(!1,1e-7)},100)}A=!1}try{n=new IntersectionObserver(C,{...x,root:s.ownerDocument})}catch{n=new IntersectionObserver(C,x)}n.observe(t)}return l(!0),a}function Ss(t,e,n,i){i===void 0&&(i={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:r=typeof IntersectionObserver=="function",animationFrame:p=!1}=i,u=qe(t),h=s||a?[...u?Bt(u):[],...Bt(e)]:[];h.forEach(x=>{s&&x.addEventListener("scroll",n,{passive:!0}),a&&x.addEventListener("resize",n)});const c=u&&r?xs(u,n):null;let d=-1,f=null;l&&(f=new ResizeObserver(x=>{let[A]=x;A&&A.target===u&&f&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{f&&f.observe(e)})),n()}),u&&!p&&f.observe(u),f.observe(e));let g,b=p?ft(t):null;p&&S();function S(){const x=ft(t);b&&(x.x!==b.x||x.y!==b.y||x.width!==b.width||x.height!==b.height)&&n(),b=x,g=requestAnimationFrame(S)}return n(),()=>{h.forEach(x=>{s&&x.removeEventListener("scroll",n),a&&x.removeEventListener("resize",n)}),c&&c(),f&&f.disconnect(),f=null,p&&cancelAnimationFrame(g)}}const _s=(t,e,n)=>{const i=new Map,s={platform:ws,...n},a={...s.platform,_c:i};return Ji(t,e,{...s,platform:a})},Cs={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var As=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon chevron-down-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"span",t.$attrs,!1),[e("svg",{staticClass:"material-design-icon__svg",attrs:{fill:t.fillColor,width:t.size,height:t.size,viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},ks=[],Os=V(Cs,As,ks,!1,null,null);const Ls=Os.exports,Zn=(t,e)=>{const n=[];let i=0,s=t.toLowerCase().indexOf(e.toLowerCase(),i),a=0;for(;s>-1&&a<t.length;)i=s+e.length,n.push({start:s,end:i}),s=t.toLowerCase().indexOf(e.toLowerCase(),i),a++;return n},Es={name:"NcHighlight",props:{text:{type:String,default:""},search:{type:String,default:""},highlight:{type:Array,default:()=>[]}},computed:{ranges(){let t=[];return!this.search&&this.highlight.length===0||(this.highlight.length>0?t=this.highlight:t=Zn(this.text,this.search),t.forEach((e,n)=>{e.end<e.start&&(t[n]={start:e.end,end:e.start})}),t=t.reduce((e,n)=>(n.start<this.text.length&&n.end>0&&e.push({start:n.start<0?0:n.start,end:n.end>this.text.length?this.text.length:n.end}),e),[]),t.sort((e,n)=>e.start-n.start),t=t.reduce((e,n)=>{if(!e.length)e.push(n);else{const i=e.length-1;e[i].end>=n.start?e[i]={start:e[i].start,end:Math.max(e[i].end,n.end)}:e.push(n)}return e},[])),t},chunks(){if(this.ranges.length===0)return[{start:0,end:this.text.length,highlight:!1,text:this.text}];const t=[];let e=0,n=0;for(;e<this.text.length;){const i=this.ranges[n];if(i.start===e){t.push({...i,highlight:!0,text:this.text.slice(i.start,i.end)}),n++,e=i.end,n>=this.ranges.length&&e<this.text.length&&(t.push({start:e,end:this.text.length,highlight:!1,text:this.text.slice(e)}),e=this.text.length);continue}t.push({start:e,end:i.start,highlight:!1,text:this.text.slice(e,i.start)}),e=i.start}return t}},render(t){return this.ranges.length?t("span",{},this.chunks.map(e=>e.highlight?t("strong",{},e.text):e.text)):t("span",{},this.text)}},Bs=null,Ds=null;var Ns=V(Es,Bs,Ds,!1,null,null);const Jn=Ns.exports,Ts={name:"NcEllipsisedOption",components:{NcHighlight:Jn},props:{name:{type:String,default:""},search:{type:String,default:""}},computed:{needsTruncate(){return this.name&&this.name.length>=10},split(){return this.name.length-Math.min(Math.floor(this.name.length/2),10)},part1(){return this.needsTruncate?this.name.slice(0,this.split):this.name},part2(){return this.needsTruncate?this.name.slice(this.split):""},highlight1(){return this.search?Zn(this.name,this.search):[]},highlight2(){return this.highlight1.map(t=>({start:t.start-this.split,end:t.end-this.split}))}}};var Is=function(){var t=this,e=t._self._c;return e("span",{staticClass:"name-parts",attrs:{dir:"auto",title:t.name}},[e("NcHighlight",{staticClass:"name-parts__first",attrs:{text:t.part1,search:t.search,highlight:t.highlight1}}),t.part2?e("NcHighlight",{staticClass:"name-parts__last",attrs:{text:t.part2,search:t.search,highlight:t.highlight2}}):t._e()],1)},Ms=[],Ps=V(Ts,Is,Ms,!1,null,"f6384352");const Fs=Ps.exports,js={beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){return this.$slots.default?this.$slots.default[0].text.trim():""}}},Us=function(t,e){let n=t.$parent;for(;n;){if(n.$options.name===e)return n;n=n.$parent}},ve={mixins:[js],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},ariaHidden:{type:Boolean,default:null}},emits:["click"],computed:{isIconUrl(){try{return!!new URL(this.icon,this.icon.startsWith("/")?window.location.origin:void 0)}catch{return!1}}},methods:{onClick(t){if(this.$emit("click",t),this.closeAfterClick){const e=Us(this,"NcActions");e&&e.closeMenu&&e.closeMenu(!1)}}}},zs={name:"NcActionLink",mixins:[ve],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{href:{type:String,default:"#",required:!0,validator:t=>{try{return new URL(t)}catch{return t.startsWith("#")||t.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:t=>t&&(!t.startsWith("_")||["_blank","_self","_parent","_top"].indexOf(t)>-1)},title:{type:String,default:null},ariaHidden:{type:Boolean,default:null}}};var Rs=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("a",{staticClass:"action-link focusable",attrs:{download:t.download,href:t.href,"aria-label":t.ariaLabel,target:t.target,title:t.title,rel:"nofollow noreferrer noopener",role:t.isInSemanticMenu&&"menuitem"},on:{click:t.onClick}},[t._t("icon",function(){return[e("span",{staticClass:"action-link__icon",class:[t.isIconUrl?"action-link__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?`url(${t.icon})`:null},attrs:{"aria-hidden":"true"}})]}),t.name?e("span",{staticClass:"action-link__longtext-wrapper"},[e("strong",{staticClass:"action-link__name"},[t._v(" "+t._s(t.name)+" ")]),e("br"),e("span",{staticClass:"action-link__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("span",{staticClass:"action-link__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-link__text"},[t._v(t._s(t.text))]),t._e()],2)])},$s=[],Vs=V(zs,Rs,$s,!1,null,"30c015f0");const Hs=Vs.exports,Ws={name:"NcActionRouter",mixins:[ve],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{to:{type:[String,Object],default:"",required:!0},exact:{type:Boolean,default:!1}}};var Ks=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("RouterLink",{staticClass:"action-router focusable",attrs:{to:t.to,"aria-label":t.ariaLabel,exact:t.exact,title:t.title,rel:"nofollow noreferrer noopener",role:t.isInSemanticMenu&&"menuitem"},nativeOn:{click:function(n){return t.onClick.apply(null,arguments)}}},[t._t("icon",function(){return[e("span",{staticClass:"action-router__icon",class:[t.isIconUrl?"action-router__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?`url(${t.icon})`:null},attrs:{"aria-hidden":"true"}})]}),t.name?e("span",{staticClass:"action-router__longtext-wrapper"},[e("strong",{staticClass:"action-router__name"},[t._v(" "+t._s(t.name)+" ")]),e("br"),e("span",{staticClass:"action-router__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("span",{staticClass:"action-router__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-router__text"},[t._v(t._s(t.text))]),t._e()],2)],1)},qs=[],Gs=V(Ws,Ks,qs,!1,null,"579c6b4d");const Xs=Gs.exports,Qs={name:"NcActionText",mixins:[ve],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}}};var Ys=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("span",{staticClass:"action-text",on:{click:t.onClick}},[t._t("icon",function(){return[t.icon!==""?e("span",{staticClass:"action-text__icon",class:[t.isIconUrl?"action-text__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?`url(${t.icon})`:null},attrs:{"aria-hidden":"true"}}):t._e()]}),t.name?e("span",{staticClass:"action-text__longtext-wrapper"},[e("strong",{staticClass:"action-text__name"},[t._v(" "+t._s(t.name)+" ")]),e("br"),e("span",{staticClass:"action-text__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("span",{staticClass:"action-text__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-text__text"},[t._v(t._s(t.text))]),t._e()],2)])},Zs=[],Js=V(Qs,Ys,Zs,!1,null,"824615f4");const to=Js.exports,eo={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var no=function(){var t=this,e=t._self._c;return e("span",t._b({staticClass:"material-design-icon check-icon",attrs:{"aria-hidden":t.title?null:"true","aria-label":t.title,role:"img"},on:{click:function(n){return t.$emit("click",n)}}},"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:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[t.title?e("title",[t._v(t._s(t.title))]):t._e()])])])},io=[],so=V(eo,no,io,!1,null,null);const oo=so.exports,ro={name:"NcActionButton",components:{CheckIcon:oo,ChevronRightIcon:wi,ChevronLeftIcon:xi},setup(){return{isRTL:Si()}},mixins:[ve],inject:{isInSemanticMenu:{from:"NcActions:isSemanticMenu",default:!1}},props:{ariaHidden:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},isMenu:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>["button","checkbox","radio","reset","submit"].includes(t)},modelValue:{type:[Boolean,String],default:null},value:{type:String,default:null}},computed:{isFocusable(){return!this.disabled},isChecked(){return this.type==="radio"&&typeof this.modelValue!="boolean"?this.modelValue===this.value:this.modelValue},nativeType(){return this.type==="submit"||this.type==="reset"?this.type:"button"},buttonAttributes(){const t={};return this.isInSemanticMenu?(t.role="menuitem",this.type==="radio"?(t.role="menuitemradio",t["aria-checked"]=this.isChecked?"true":"false"):(this.type==="checkbox"||this.nativeType==="button"&&this.modelValue!==null)&&(t.role="menuitemcheckbox",t["aria-checked"]=this.modelValue===null?"mixed":this.modelValue?"true":"false")):this.modelValue!==null&&this.nativeType==="button"&&(t["aria-pressed"]=this.modelValue?"true":"false"),t}},methods:{handleClick(t){this.onClick(t),(this.modelValue!==null||this.type!=="button")&&(this.type==="radio"?typeof this.modelValue!="boolean"?this.isChecked||this.$emit("update:modelValue",this.value):this.$emit("update:modelValue",!this.isChecked):this.$emit("update:modelValue",!this.isChecked))}}};var ao=function(){var t=this,e=t._self._c;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled},attrs:{role:t.isInSemanticMenu&&"presentation"}},[e("button",t._b({class:["action-button button-vue",{"action-button--active":t.isChecked,focusable:t.isFocusable}],attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,title:t.title,type:t.nativeType},on:{click:t.handleClick}},"button",t.buttonAttributes,!1),[t._t("icon",function(){return[e("span",{staticClass:"action-button__icon",class:[t.isIconUrl?"action-button__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?`url(${t.icon})`:null},attrs:{"aria-hidden":"true"}})]}),t.name?e("span",{staticClass:"action-button__longtext-wrapper"},[e("strong",{staticClass:"action-button__name"},[t._v(" "+t._s(t.name)+" ")]),e("br"),e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("span",{staticClass:"action-button__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-button__text"},[t._v(t._s(t.text))]),t.isMenu&&!t.isRTL?e("ChevronRightIcon",{staticClass:"action-button__menu-icon",attrs:{size:20}}):t.isMenu&&t.isRTL?e("ChevronLeftIcon",{staticClass:"action-button__menu-icon",attrs:{size:20}}):t.isChecked===!0?e("CheckIcon",{staticClass:"action-button__pressed-icon",attrs:{size:20}}):t.isChecked===!1?e("span",{staticClass:"action-button__pressed-icon material-design-icon"}):t._e(),t._e()],2)])},lo=[],uo=V(ro,ao,lo,!1,null,"903e8d3b");const co=uo.exports;var Ge={};const ho=_i(Ci);(function(t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const e=ho;function n(){try{return e.loadState("core","capabilities")}catch{return console.debug("Could not find capabilities initial state fall back to _oc_capabilities"),"_oc_capabilities"in window?window._oc_capabilities:{}}}t.getCapabilities=n})(Ge);const po=`<!--
- SPDX-FileCopyrightText: 2020 Google Inc.
- SPDX-License-Identifier: Apache-2.0
-->
<svg viewBox="0 0 16 16" width="16" height="16" xmlns="http://www.w3.org/2000/svg">
<path fill="var(--color-success)" d="M4.8 11.2h6.4V4.8H4.8v6.4zM8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z" />
</svg>
`,dn=`<!--
- SPDX-FileCopyrightText: 2020 Google Inc.
- SPDX-License-Identifier: Apache-2.0
-->
<svg viewBox="0 0 16 16" width="16" height="16" xmlns="http://www.w3.org/2000/svg">
<path fill="none" d="M-4-4h24v24H-4z" />
<path fill="var(--color-warning)" d="M6.9.1C3 .6-.1 4-.1 8c0 4.4 3.6 8 8 8 4 0 7.4-3 8-6.9-1.2 1.3-2.9 2.1-4.7 2.1-3.5 0-6.4-2.9-6.4-6.4 0-1.9.8-3.6 2.1-4.7z" />
</svg>
`,fo=`<!--
- SPDX-FileCopyrightText: 2020 Google Inc.
- SPDX-License-Identifier: Apache-2.0
-->
<svg viewBox="0 0 16 16" width="16" height="16" xmlns="http://www.w3.org/2000/svg">
<path fill="none" d="M-4-4h24v24H-4V-4z" />
<path fill="var(--color-error)" d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8z" />
<path fill="#fdffff" d="M5 6.5h6c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5H5c-.8 0-1.5-.7-1.5-1.5S4.2 6.5 5 6.5z" />
</svg>
`,pn=`<!--
- SPDX-FileCopyrightText: 2020 Google Inc.
- SPDX-License-Identifier: Apache-2.0
-->
<svg viewBox="0 0 16 16" width="16" height="16" xmlns="http://www.w3.org/2000/svg">
<path fill="none" d="M-4-4h24v24H-4V-4z" />
<path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 3.2c2.7 0 4.8 2.1 4.8 4.8s-2.1 4.8-4.8 4.8S3.2 10.7 3.2 8 5.3 3.2 8 3.2z" />
</svg>
`;Tt(Ai);const ti=t=>{switch(t){case"away":return D("away");case"busy":return D("busy");case"dnd":return D("do not disturb");case"online":return D("online");case"invisible":return D("invisible");case"offline":return D("offline");default:return t}};Tt(ki);const go={name:"NcUserStatusIcon",props:{user:{type:String,default:null},status:{type:String,default:null,validator:t=>["online","away","busy","dnd","invisible","offline"].includes(t)},ariaHidden:{type:String,default:null,validator:t=>["true","false"].includes(t)}},data(){return{fetchedUserStatus:null}},computed:{activeStatus(){return this.status??this.fetchedUserStatus},activeSvg(){return{online:po,away:dn,busy:dn,dnd:fo,invisible:pn,offline:pn}[this.activeStatus]??null},ariaLabel(){return this.ariaHidden==="true"?null:D("User status: {status}",{status:ti(this.activeStatus)})}},watch:{user:{immediate:!0,async handler(t,e){if(!t||!Ge.getCapabilities()?.user_status?.enabled){this.fetchedUserStatus=null;return}try{const{data:n}=await $e.get(In("/apps/user_status/api/v1/statuses/{user}",{user:t}));this.fetchedUserStatus=n.ocs?.data?.status}catch{this.fetchedUserStatus=null}}}}};var mo=function(){var t=this,e=t._self._c;return t.activeStatus?e("span",{staticClass:"user-status-icon",class:{"user-status-icon--invisible":["invisible","offline"].includes(t.status)},attrs:{role:"img","aria-hidden":t.ariaHidden,"aria-label":t.ariaLabel},domProps:{innerHTML:t._s(t.activeSvg)}}):t._e()},yo=[],bo=V(go,mo,yo,!1,null,"0555d8d0");const vo=bo.exports;Tt(Oi);class j{constructor(e,n,i,s){this.r=e,this.g=n,this.b=i,s&&(this.name=s)}get color(){const e=n=>`00${n.toString(16)}`.slice(-2);return`#${e(this.r)}${e(this.g)}${e(this.b)}`}}function wo(t,e){const n=new Array(3);return n[0]=(e[1].r-e[0].r)/t,n[1]=(e[1].g-e[0].g)/t,n[2]=(e[1].b-e[0].b)/t,n}function Ce(t,e,n){const i=[];i.push(e);const s=wo(t,[e,n]);for(let a=1;a<t;a++){const l=Math.floor(e.r+s[0]*a),r=Math.floor(e.g+s[1]*a),p=Math.floor(e.b+s[2]*a);i.push(new j(l,r,p))}return i}new j(182,70,157,D("Purple")),new j(191,103,139,D("Rosy brown")),new j(201,136,121,D("Feldspar")),new j(211,169,103,D("Whiskey")),new j(221,203,85,D("Gold")),new j(165,184,114,D("Olivine")),new j(110,166,143,D("Acapulco")),new j(55,148,172,D("Boston Blue")),new j(0,130,201,D("Nextcloud blue")),new j(45,115,190,D("Mariner")),new j(91,100,179,D("Blue Violet")),new j(136,85,168,D("Deluge"));function xo(t){const e=new j(182,70,157,D("Purple")),n=new j(221,203,85,D("Gold")),i=new j(0,130,201,D("Nextcloud blue")),s=Ce(t,e,n),a=Ce(t,n,i),l=Ce(t,i,e);return s.concat(a).concat(l)}var ei={exports:{}},ni={exports:{}};(function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e={rotl:function(n,i){return n<<i|n>>>32-i},rotr:function(n,i){return n<<32-i|n>>>i},endian:function(n){if(n.constructor==Number)return e.rotl(n,8)&16711935|e.rotl(n,24)&4278255360;for(var i=0;i<n.length;i++)n[i]=e.endian(n[i]);return n},randomBytes:function(n){for(var i=[];n>0;n--)i.push(Math.floor(Math.random()*256));return i},bytesToWords:function(n){for(var i=[],s=0,a=0;s<n.length;s++,a+=8)i[a>>>5]|=n[s]<<24-a%32;return i},wordsToBytes:function(n){for(var i=[],s=0;s<n.length*32;s+=8)i.push(n[s>>>5]>>>24-s%32&255);return i},bytesToHex:function(n){for(var i=[],s=0;s<n.length;s++)i.push((n[s]>>>4).toString(16)),i.push((n[s]&15).toString(16));return i.join("")},hexToBytes:function(n){for(var i=[],s=0;s<n.length;s+=2)i.push(parseInt(n.substr(s,2),16));return i},bytesToBase64:function(n){for(var i=[],s=0;s<n.length;s+=3)for(var a=n[s]<<16|n[s+1]<<8|n[s+2],l=0;l<4;l++)s*8+l*6<=n.length*8?i.push(t.charAt(a>>>6*(3-l)&63)):i.push("=");return i.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var i=[],s=0,a=0;s<n.length;a=++s%4)a!=0&&i.push((t.indexOf(n.charAt(s-1))&Math.pow(2,-2*a+8)-1)<<a*2|t.indexOf(n.charAt(s))>>>6-a*2);return i}};ni.exports=e})();var So=ni.exports,Ie={utf8:{stringToBytes:function(t){return Ie.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(Ie.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(t.charCodeAt(n)&255);return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}},fn=Ie,_o=function(t){return t!=null&&(ii(t)||Co(t)||!!t._isBuffer)};function ii(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Co(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&ii(t.slice(0,0))}(function(){var t=So,e=fn.utf8,n=_o,i=fn.bin,s=function(a,l){a.constructor==String?l&&l.encoding==="binary"?a=i.stringToBytes(a):a=e.stringToBytes(a):n(a)?a=Array.prototype.slice.call(a,0):!Array.isArray(a)&&a.constructor!==Uint8Array&&(a=a.toString());for(var r=t.bytesToWords(a),p=a.length*8,u=1732584193,h=-271733879,c=-1732584194,d=271733878,f=0;f<r.length;f++)r[f]=(r[f]<<8|r[f]>>>24)&16711935|(r[f]<<24|r[f]>>>8)&4278255360;r[p>>>5]|=128<<p%32,r[(p+64>>>9<<4)+14]=p;for(var g=s._ff,b=s._gg,S=s._hh,x=s._ii,f=0;f<r.length;f+=16){var A=u,C=h,B=c,E=d;u=g(u,h,c,d,r[f+0],7,-680876936),d=g(d,u,h,c,r[f+1],12,-389564586),c=g(c,d,u,h,r[f+2],17,606105819),h=g(h,c,d,u,r[f+3],22,-1044525330),u=g(u,h,c,d,r[f+4],7,-176418897),d=g(d,u,h,c,r[f+5],12,1200080426),c=g(c,d,u,h,r[f+6],17,-1473231341),h=g(h,c,d,u,r[f+7],22,-45705983),u=g(u,h,c,d,r[f+8],7,1770035416),d=g(d,u,h,c,r[f+9],12,-1958414417),c=g(c,d,u,h,r[f+10],17,-42063),h=g(h,c,d,u,r[f+11],22,-1990404162),u=g(u,h,c,d,r[f+12],7,1804603682),d=g(d,u,h,c,r[f+13],12,-40341101),c=g(c,d,u,h,r[f+14],17,-1502002290),h=g(h,c,d,u,r[f+15],22,1236535329),u=b(u,h,c,d,r[f+1],5,-165796510),d=b(d,u,h,c,r[f+6],9,-1069501632),c=b(c,d,u,h,r[f+11],14,643717713),h=b(h,c,d,u,r[f+0],20,-373897302),u=b(u,h,c,d,r[f+5],5,-701558691),d=b(d,u,h,c,r[f+10],9,38016083),c=b(c,d,u,h,r[f+15],14,-660478335),h=b(h,c,d,u,r[f+4],20,-405537848),u=b(u,h,c,d,r[f+9],5,568446438),d=b(d,u,h,c,r[f+14],9,-1019803690),c=b(c,d,u,h,r[f+3],14,-187363961),h=b(h,c,d,u,r[f+8],20,1163531501),u=b(u,h,c,d,r[f+13],5,-1444681467),d=b(d,u,h,c,r[f+2],9,-51403784),c=b(c,d,u,h,r[f+7],14,1735328473),h=b(h,c,d,u,r[f+12],20,-1926607734),u=S(u,h,c,d,r[f+5],4,-378558),d=S(d,u,h,c,r[f+8],11,-2022574463),c=S(c,d,u,h,r[f+11],16,1839030562),h=S(h,c,d,u,r[f+14],23,-35309556),u=S(u,h,c,d,r[f+1],4,-1530992060),d=S(d,u,h,c,r[f+4],11,1272893353),c=S(c,d,u,h,r[f+7],16,-155497632),h=S(h,c,d,u,r[f+10],23,-1094730640),u=S(u,h,c,d,r[f+13],4,681279174),d=S(d,u,h,c,r[f+0],11,-358537222),c=S(c,d,u,h,r[f+3],16,-722521979),h=S(h,c,d,u,r[f+6],23,76029189),u=S(u,h,c,d,r[f+9],4,-640364487),d=S(d,u,h,c,r[f+12],11,-421815835),c=S(c,d,u,h,r[f+15],16,530742520),h=S(h,c,d,u,r[f+2],23,-995338651),u=x(u,h,c,d,r[f+0],6,-198630844),d=x(d,u,h,c,r[f+7],10,1126891415),c=x(c,d,u,h,r[f+14],15,-1416354905),h=x(h,c,d,u,r[f+5],21,-57434055),u=x(u,h,c,d,r[f+12],6,1700485571),d=x(d,u,h,c,r[f+3],10,-1894986606),c=x(c,d,u,h,r[f+10],15,-1051523),h=x(h,c,d,u,r[f+1],21,-2054922799),u=x(u,h,c,d,r[f+8],6,1873313359),d=x(d,u,h,c,r[f+15],10,-30611744),c=x(c,d,u,h,r[f+6],15,-1560198380),h=x(h,c,d,u,r[f+13],21,1309151649),u=x(u,h,c,d,r[f+4],6,-145523070),d=x(d,u,h,c,r[f+11],10,-1120210379),c=x(c,d,u,h,r[f+2],15,718787259),h=x(h,c,d,u,r[f+9],21,-343485551),u=u+A>>>0,h=h+C>>>0,c=c+B>>>0,d=d+E>>>0}return t.endian([u,h,c,d])};s._ff=function(a,l,r,p,u,h,c){var d=a+(l&r|~l&p)+(u>>>0)+c;return(d<<h|d>>>32-h)+l},s._gg=function(a,l,r,p,u,h,c){var d=a+(l&p|r&~p)+(u>>>0)+c;return(d<<h|d>>>32-h)+l},s._hh=function(a,l,r,p,u,h,c){var d=a+(l^r^p)+(u>>>0)+c;return(d<<h|d>>>32-h)+l},s._ii=function(a,l,r,p,u,h,c){var d=a+(r^(l|~p))+(u>>>0)+c;return(d<<h|d>>>32-h)+l},s._blocksize=16,s._digestsize=16,ei.exports=function(a,l){if(a==null)throw new Error("Illegal argument "+a);var r=t.wordsToBytes(s(a,l));return l&&l.asBytes?r:l&&l.asString?i.bytesToString(r):t.bytesToHex(r)}})();var Ao=ei.exports;const ko=Li(Ao),gn=function(t){let e=t.toLowerCase();e.match(/^([0-9a-f]{4}-?){8}$/)===null&&(e=ko(e)),e=e.replace(/[^0-9a-f]/g,"");const n=6,i=xo(n);function s(a,l){let r=0;const p=[];for(let u=0;u<a.length;u++)p.push(parseInt(a.charAt(u),16)%16);for(const u in p)r+=p[u];return parseInt(parseInt(r,10)%l,10)}return i[s(e,n*3)]},Oo=(t,e,n)=>{const i=window.getComputedStyle(document.body).getPropertyValue("--background-invert-if-dark")==="invert(100%)";return Mn("/avatar"+(n?"/guest":"")+"/{user}/{size}"+(i?"/dark":""),{user:t,size:e})};var I=(t=>(t[t.Debug=0]="Debug",t[t.Info=1]="Info",t[t.Warn=2]="Warn",t[t.Error=3]="Error",t[t.Fatal=4]="Fatal",t))(I||{}),Lo=Object.defineProperty,Eo=(t,e,n)=>e in t?Lo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Bo=(t,e,n)=>(Eo(t,e+"",n),n);class Do{constructor(e){Bo(this,"context"),this.context=e||{}}formatMessage(e,n,i){let s="["+I[n].toUpperCase()+"] ";return i&&i.app&&(s+=i.app+": "),typeof e=="string"?s+e:(s+="Unexpected ".concat(e.name),e.message&&(s+=' "'.concat(e.message,'"')),n===I.Debug&&e.stack&&(s+=`
Stack trace:
`.concat(e.stack)),s)}log(e,n,i){var s,a;if(!(typeof((s=this.context)==null?void 0:s.level)=="number"&&e<((a=this.context)==null?void 0:a.level)))switch(typeof n=="object"&&i?.error===void 0&&(i.error=n),e){case I.Debug:console.debug(this.formatMessage(n,I.Debug,i),i);break;case I.Info:console.info(this.formatMessage(n,I.Info,i),i);break;case I.Warn:console.warn(this.formatMessage(n,I.Warn,i),i);break;case I.Error:console.error(this.formatMessage(n,I.Error,i),i);break;case I.Fatal:default:console.error(this.formatMessage(n,I.Fatal,i),i);break}}debug(e,n){this.log(I.Debug,e,Object.assign({},this.context,n))}info(e,n){this.log(I.Info,e,Object.assign({},this.context,n))}warn(e,n){this.log(I.Warn,e,Object.assign({},this.context,n))}error(e,n){this.log(I.Error,e,Object.assign({},this.context,n))}fatal(e,n){this.log(I.Fatal,e,Object.assign({},this.context,n))}}function No(t){return new Do(t)}var To=Object.defineProperty,Io=(t,e,n)=>e in t?To(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mn=(t,e,n)=>(Io(t,typeof e!="symbol"?e+"":e,n),n);class Mo{constructor(e){mn(this,"context"),mn(this,"factory"),this.context={},this.factory=e}setApp(e){return this.context.app=e,this}setLogLevel(e){return this.context.level=e,this}setUid(e){return this.context.uid=e,this}detectUser(){const e=Gt();return e!==null&&(this.context.uid=e.uid),this}detectLogLevel(){const e=this,n=()=>{var i,s;document.readyState==="complete"||document.readyState==="interactive"?(e.context.level=(s=(i=window._oc_config)==null?void 0:i.loglevel)!=null?s:I.Warn,window._oc_debug&&(e.context.level=I.Debug),document.removeEventListener("readystatechange",n)):document.addEventListener("readystatechange",n)};return n(),this}build(){return this.context.level===void 0&&this.detectLogLevel(),this.factory(this.context)}}function Po(){return new Mo(No)}const Fo=Po().detectUser().setApp("@nextcloud/vue").build();function jo(t){return window._nc_contacts_menu_hooks?Object.values(window._nc_contacts_menu_hooks).filter(e=>e.enabled(t)):[]}const si=function(t){if(t==null)return $o;if(typeof t=="function")return we(t);if(typeof t=="object")return Array.isArray(t)?Uo(t):zo(t);if(typeof t=="string")return Ro(t);throw new Error("Expected function, string, or object as test")};function Uo(t){const e=[];let n=-1;for(;++n<t.length;)e[n]=si(t[n]);return we(i);function i(...s){let a=-1;for(;++a<e.length;)if(e[a].apply(this,s))return!0;return!1}}function zo(t){const e=t;return we(n);function n(i){const s=i;let a;for(a in t)if(s[a]!==e[a])return!1;return!0}}function Ro(t){return we(e);function e(n){return n&&n.type===t}}function we(t){return e;function e(n,i,s){return!!(Vo(n)&&t.call(this,n,typeof i=="number"?i:void 0,s||void 0))}}function $o(){return!0}function Vo(t){return t!==null&&typeof t=="object"&&"type"in t}const oi=[],Ho=!0,yn=!1,ri="skip";function Wo(t,e,n,i){let s;typeof e=="function"&&typeof n!="function"?(i=n,n=e):s=e;const a=si(s),l=i?-1:1;r(t,void 0,[])();function r(p,u,h){const c=p&&typeof p=="object"?p:{};if(typeof c.type=="string"){const f=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(p.type+(f?"<"+f+">":""))+")"})}return d;function d(){let f=oi,g,b,S;if((!e||a(p,u,h[h.length-1]||void 0))&&(f=Ko(n(p,h)),f[0]===yn))return f;if("children"in p&&p.children){const x=p;if(x.children&&f[0]!==ri)for(b=(i?x.children.length:-1)+l,S=h.concat(x);b>-1&&b<x.children.length;){const A=x.children[b];if(g=r(A,b,S)(),g[0]===yn)return g;b=typeof g[1]=="number"?g[1]:b+l}}return f}}}function Ko(t){return Array.isArray(t)?t:typeof t=="number"?[Ho,t]:t==null?oi:[t]}function qo(t,e,n,i){let s,a,l;typeof e=="function"&&typeof n!="function"?(a=void 0,l=e,s=n):(a=e,l=n,s=i),Wo(t,a,r,s);function r(p,u){const h=u[u.length-1],c=h?h.children.indexOf(p):void 0;return l(p,c,h)}}function Ae(t,e,n){const i={type:String(t)};return n==null&&(typeof e=="string"||Array.isArray(e))?n=e:Object.assign(i,e),Array.isArray(n)?i.children=n:n!=null&&(i.value=String(n)),i}const Rr=/(\s|^)(https?:\/\/)([-A-Z0-9+_.]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig,bn=/(\s|\(|^)((https?:\/\/)([-A-Z0-9+_.]+[-A-Z0-9]+(?::[0-9]+)?(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*))(?=\s|\)|$)/ig,Go={name:"NcLink",props:{href:{type:String,required:!0}},render(t){return t("a",{attrs:{href:this.href,rel:"noopener noreferrer",target:"_blank",class:"rich-text--external-link"}},[this.href.trim()])}},$r=function({autolink:t,useMarkdown:e,useExtendedMarkdown:n}){return function(i){n||!e||!t||qo(i,s=>s.type==="text",(s,a,l)=>{let r=Xo(s.value);return r=r.map(p=>typeof p=="string"?Ae("text",p):Ae("link",{url:p.props.href},[Ae("text",p.props.href)])).filter(p=>p),l.children.splice(a,1,...r.flat()),[ri,a+r.flat().length]})}},Xo=t=>{let e=bn.exec(t);const n=[];let i=0;for(;e!==null;){let a=e[2],l,r=t.substring(i,e.index+e[1].length);a[0]===" "&&(r+=a[0],a=a.substring(1).trim());const p=a[a.length-1];(p==="."||p===","||p===";"||e[0][0]==="("&&p===")")&&(a=a.substring(0,a.length-1),l=p),n.push(r),n.push({component:Go,props:{href:a}}),l&&n.push(l),i=e.index+e[0].length,e=bn.exec(t)}n.push(t.substring(i));const s=n.map(a=>typeof a=="string"?a:a.props.href).join("");return t===s?n:(console.error("Failed to reassemble the chunked text: "+t),t)},Qo=(t,e)=>{const n=(h,c)=>h.startsWith(c)?h.slice(c.length):h,i=(h,...c)=>c.reduce((d,f)=>n(d,f),h);if(!t)return null;const s=/^https?:\/\//.test(e),a=/^[a-z][a-z0-9+.-]*:.+/.test(e);if(!s&&a||s&&!e.startsWith(sn())||!s&&!e.startsWith("/"))return null;const l=s?i(e,sn(),"/index.php"):e,r=i(t.history.base,Ei(),"/index.php"),p=i(l,r)||"/",u=t.resolve(p).route;return u.matched.length?u.fullPath:null},ai=()=>window.outerHeight===screen.height,vn=It(ai());window.addEventListener("resize",()=>{vn.value=ai()}),Un(vn);const Xe=1024,li=Xe/2,te=t=>document.documentElement.clientWidth<t,wn=It(te(Xe)),Yo=It(te(li));window.addEventListener("resize",()=>{wn.value=te(Xe),Yo.value=te(li)},{passive:!0}),Un(wn);const Zo="aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",Jo="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",_t=(t,e)=>{for(const n in e)t[n]=e[n];return t},Me="numeric",Pe="ascii",Fe="alpha",Wt="asciinumeric",Rt="alphanumeric",je="domain",ui="emoji",tr="scheme",er="slashscheme",xn="whitespace";function nr(t,e){return t in e||(e[t]=[]),e[t]}function dt(t,e,n){e[Me]&&(e[Wt]=!0,e[Rt]=!0),e[Pe]&&(e[Wt]=!0,e[Fe]=!0),e[Wt]&&(e[Rt]=!0),e[Fe]&&(e[Rt]=!0),e[Rt]&&(e[je]=!0),e[ui]&&(e[je]=!0);for(const i in e){const s=nr(i,n);s.indexOf(t)<0&&s.push(t)}}function ir(t,e){const n={};for(const i in e)e[i].indexOf(t)>=0&&(n[i]=!0);return n}function R(t){t===void 0&&(t=null),this.j={},this.jr=[],this.jd=null,this.t=t}R.groups={},R.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let i=0;i<e.jr.length;i++){const s=e.jr[i][0],a=e.jr[i][1];if(a&&s.test(t))return a}return e.jd},has(t,e){return e===void 0&&(e=!1),e?t in this.j:!!this.go(t)},ta(t,e,n,i){for(let s=0;s<t.length;s++)this.tt(t[s],e,n,i)},tr(t,e,n,i){i=i||R.groups;let s;return e&&e.j?s=e:(s=new R(e),n&&i&&dt(e,n,i)),this.jr.push([t,s]),s},ts(t,e,n,i){let s=this;const a=t.length;if(!a)return s;for(let l=0;l<a-1;l++)s=s.tt(t[l]);return s.tt(t[a-1],e,n,i)},tt(t,e,n,i){i=i||R.groups;const s=this;if(e&&e.j)return s.j[t]=e,e;const a=e;let l,r=s.go(t);if(r?(l=new R,_t(l.j,r.j),l.jr.push.apply(l.jr,r.jr),l.jd=r.jd,l.t=r.t):l=new R,a){if(i)if(l.t&&typeof l.t=="string"){const p=_t(ir(l.t,i),n);dt(a,p,i)}else n&&dt(a,n,i);l.t=a}return s.j[t]=l,l}};const _=(t,e,n,i,s)=>t.ta(e,n,i,s),K=(t,e,n,i,s)=>t.tr(e,n,i,s),Sn=(t,e,n,i,s)=>t.ts(e,n,i,s),v=(t,e,n,i,s)=>t.tt(e,n,i,s),Z="WORD",Ue="UWORD",Dt="LOCALHOST",ze="TLD",Re="UTLD",Kt="SCHEME",mt="SLASH_SCHEME",Qe="NUM",ci="WS",Ye="NL",yt="OPENBRACE",kt="OPENBRACKET",Ot="OPENANGLEBRACKET",Lt="OPENPAREN",ct="CLOSEBRACE",bt="CLOSEBRACKET",vt="CLOSEANGLEBRACKET",ht="CLOSEPAREN",ee="AMPERSAND",ne="APOSTROPHE",ie="ASTERISK",nt="AT",se="BACKSLASH",oe="BACKTICK",re="CARET",it="COLON",Ze="COMMA",ae="DOLLAR",G="DOT",le="EQUALS",Je="EXCLAMATION",X="HYPHEN",ue="PERCENT",ce="PIPE",he="PLUS",de="POUND",pe="QUERY",tn="QUOTE",en="SEMI",Q="SLASH",Et="TILDE",fe="UNDERSCORE",hi="EMOJI",ge="SYM";var di=Object.freeze({__proto__:null,WORD:Z,UWORD:Ue,LOCALHOST:Dt,TLD:ze,UTLD:Re,SCHEME:Kt,SLASH_SCHEME:mt,NUM:Qe,WS:ci,NL:Ye,OPENBRACE:yt,OPENBRACKET:kt,OPENANGLEBRACKET:Ot,OPENPAREN:Lt,CLOSEBRACE:ct,CLOSEBRACKET:bt,CLOSEANGLEBRACKET:vt,CLOSEPAREN:ht,AMPERSAND:ee,APOSTROPHE:ne,ASTERISK:ie,AT:nt,BACKSLASH:se,BACKTICK:oe,CARET:re,COLON:it,COMMA:Ze,DOLLAR:ae,DOT:G,EQUALS:le,EXCLAMATION:Je,HYPHEN:X,PERCENT:ue,PIPE:ce,PLUS:he,POUND:de,QUERY:pe,QUOTE:tn,SEMI:en,SLASH:Q,TILDE:Et,UNDERSCORE:fe,EMOJI:hi,SYM:ge});const gt=/[a-z]/,ke=new RegExp("\\p{L}","u"),Oe=new RegExp("\\p{Emoji}","u"),Le=/\d/,_n=/\s/,Cn=`
`,sr="️",or="";let $t=null,Vt=null;function rr(t){t===void 0&&(t=[]);const e={};R.groups=e;const n=new R;$t==null&&($t=An(Zo)),Vt==null&&(Vt=An(Jo)),v(n,"'",ne),v(n,"{",yt),v(n,"[",kt),v(n,"<",Ot),v(n,"(",Lt),v(n,"}",ct),v(n,"]",bt),v(n,">",vt),v(n,")",ht),v(n,"&",ee),v(n,"*",ie),v(n,"@",nt),v(n,"`",oe),v(n,"^",re),v(n,":",it),v(n,",",Ze),v(n,"$",ae),v(n,".",G),v(n,"=",le),v(n,"!",Je),v(n,"-",X),v(n,"%",ue),v(n,"|",ce),v(n,"+",he),v(n,"#",de),v(n,"?",pe),v(n,'"',tn),v(n,"/",Q),v(n,";",en),v(n,"~",Et),v(n,"_",fe),v(n,"\\",se);const i=K(n,Le,Qe,{[Me]:!0});K(i,Le,i);const s=K(n,gt,Z,{[Pe]:!0});K(s,gt,s);const a=K(n,ke,Ue,{[Fe]:!0});K(a,gt),K(a,ke,a);const l=K(n,_n,ci,{[xn]:!0});v(n,Cn,Ye,{[xn]:!0}),v(l,Cn),K(l,_n,l);const r=K(n,Oe,hi,{[ui]:!0});K(r,Oe,r),v(r,sr,r);const p=v(r,or);K(p,Oe,r);const u=[[gt,s]],h=[[gt,null],[ke,a]];for(let c=0;c<$t.length;c++)et(n,$t[c],ze,Z,u);for(let c=0;c<Vt.length;c++)et(n,Vt[c],Re,Ue,h);dt(ze,{tld:!0,ascii:!0},e),dt(Re,{utld:!0,alpha:!0},e),et(n,"file",Kt,Z,u),et(n,"mailto",Kt,Z,u),et(n,"http",mt,Z,u),et(n,"https",mt,Z,u),et(n,"ftp",mt,Z,u),et(n,"ftps",mt,Z,u),dt(Kt,{scheme:!0,ascii:!0},e),dt(mt,{slashscheme:!0,ascii:!0},e),t=t.sort((c,d)=>c[0]>d[0]?1:-1);for(let c=0;c<t.length;c++){const d=t[c][0],f=t[c][1]?{[tr]:!0}:{[er]:!0};d.indexOf("-")>=0?f[je]=!0:gt.test(d)?Le.test(d)?f[Wt]=!0:f[Pe]=!0:f[Me]=!0,Sn(n,d,d,f)}return Sn(n,"localhost",Dt,{ascii:!0}),n.jd=new R(ge),{start:n,tokens:_t({groups:e},di)}}function ar(t,e){const n=lr(e.replace(/[A-Z]/g,r=>r.toLowerCase())),i=n.length,s=[];let a=0,l=0;for(;l<i;){let r=t,p=null,u=0,h=null,c=-1,d=-1;for(;l<i&&(p=r.go(n[l]));)r=p,r.accepts()?(c=0,d=0,h=r):c>=0&&(c+=n[l].length,d++),u+=n[l].length,a+=n[l].length,l++;a-=c,l-=d,u-=c,s.push({t:h.t,v:e.slice(a-u,a),s:a-u,e:a})}return s}function lr(t){const e=[],n=t.length;let i=0;for(;i<n;){let s=t.charCodeAt(i),a,l=s<55296||s>56319||i+1===n||(a=t.charCodeAt(i+1))<56320||a>57343?t[i]:t.slice(i,i+2);e.push(l),i+=l.length}return e}function et(t,e,n,i,s){let a;const l=e.length;for(let r=0;r<l-1;r++){const p=e[r];t.j[p]?a=t.j[p]:(a=new R(i),a.jr=s.slice(),t.j[p]=a),t=a}return a=new R(n),a.jr=s.slice(),t.j[e[l-1]]=a,a}function An(t){const e=[],n=[];let i=0,s="0123456789";for(;i<t.length;){let a=0;for(;s.indexOf(t[i+a])>=0;)a++;if(a>0){e.push(n.join(""));for(let l=parseInt(t.substring(i,i+a),10);l>0;l--)n.pop();i+=a}else n.push(t[i]),i++}return e}const Nt={defaultProtocol:"http",events:null,format:kn,formatHref:kn,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function nn(t,e){e===void 0&&(e=null);let n=_t({},Nt);t&&(n=_t(n,t instanceof nn?t.o:t));const i=n.ignoreTags,s=[];for(let a=0;a<i.length;a++)s.push(i[a].toUpperCase());this.o=n,e&&(this.defaultRender=e),this.ignoreTags=s}nn.prototype={o:Nt,ignoreTags:[],defaultRender(t){return t},check(t){return this.get("validate",t.toString(),t)},get(t,e,n){const i=e!=null;let s=this.o[t];return s&&(typeof s=="object"?(s=n.t in s?s[n.t]:Nt[t],typeof s=="function"&&i&&(s=s(e,n))):typeof s=="function"&&i&&(s=s(e,n.t,n)),s)},getObj(t,e,n){let i=this.o[t];return typeof i=="function"&&e!=null&&(i=i(e,n.t,n)),i},render(t){const e=t.render(this);return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}};function kn(t){return t}function pi(t,e){this.t="token",this.v=t,this.tk=e}pi.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const e=this.toString(),n=t.get("truncate",e,this),i=t.get("format",e,this);return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t){return t===void 0&&(t=Nt.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),i=t.get("formatHref",n,this),s=t.get("tagName",n,e),a=this.toFormattedString(t),l={},r=t.get("className",n,e),p=t.get("target",n,e),u=t.get("rel",n,e),h=t.getObj("attributes",n,e),c=t.getObj("events",n,e);return l.href=i,r&&(l.class=r),p&&(l.target=p),u&&(l.rel=u),h&&_t(l,h),{tagName:s,attributes:l,content:a,eventListeners:c}}};function xe(t,e){class n extends pi{constructor(s,a){super(s,a),this.t=t}}for(const i in e)n.prototype[i]=e[i];return n.t=t,n}const On=xe("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Ln=xe("text"),ur=xe("nl"),ut=xe("url",{isLink:!0,toHref(t){return t===void 0&&(t=Nt.defaultProtocol),this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==Dt&&t[1].t===it}}),P=t=>new R(t);function cr(t){let{groups:e}=t;const n=e.domain.concat([ee,ie,nt,se,oe,re,ae,le,X,Qe,ue,ce,he,de,Q,ge,Et,fe]),i=[ne,vt,ct,bt,ht,it,Ze,G,Je,Ot,yt,kt,Lt,pe,tn,en],s=[ee,ne,ie,se,oe,re,ct,ae,le,X,yt,ue,ce,he,de,pe,Q,ge,Et,fe],a=P(),l=v(a,Et);_(l,s,l),_(l,e.domain,l);const r=P(),p=P(),u=P();_(a,e.domain,r),_(a,e.scheme,p),_(a,e.slashscheme,u),_(r,s,l),_(r,e.domain,r);const h=v(r,nt);v(l,nt,h),v(p,nt,h),v(u,nt,h);const c=v(l,G);_(c,s,l),_(c,e.domain,l);const d=P();_(h,e.domain,d),_(d,e.domain,d);const f=v(d,G);_(f,e.domain,d);const g=P(On);_(f,e.tld,g),_(f,e.utld,g),v(h,Dt,g);const b=v(d,X);_(b,e.domain,d),_(g,e.domain,d),v(g,G,f),v(g,X,b);const S=v(g,it);_(S,e.numeric,On);const x=v(r,X),A=v(r,G);_(x,e.domain,r),_(A,s,l),_(A,e.domain,r);const C=P(ut);_(A,e.tld,C),_(A,e.utld,C),_(C,e.domain,r),_(C,s,l),v(C,G,A),v(C,X,x),v(C,nt,h);const B=v(C,it),E=P(ut);_(B,e.numeric,E);const k=P(ut),T=P();_(k,n,k),_(k,i,T),_(T,n,k),_(T,i,T),v(C,Q,k),v(E,Q,k);const H=v(p,it),M=v(u,it),o=v(M,Q),m=v(o,Q);_(p,e.domain,r),v(p,G,A),v(p,X,x),_(u,e.domain,r),v(u,G,A),v(u,X,x),_(H,e.domain,k),v(H,Q,k),_(m,e.domain,k),_(m,n,k),v(m,Q,k);const y=v(k,yt),w=v(k,kt),L=v(k,Ot),O=v(k,Lt);v(T,yt,y),v(T,kt,w),v(T,Ot,L),v(T,Lt,O),v(y,ct,k),v(w,bt,k),v(L,vt,k),v(O,ht,k),v(y,ct,k);const N=P(ut),F=P(ut),W=P(ut),z=P(ut);_(y,n,N),_(w,n,F),_(L,n,W),_(O,n,z);const at=P(),Ft=P(),jt=P(),Ut=P();return _(y,i),_(w,i),_(L,i),_(O,i),_(N,n,N),_(F,n,F),_(W,n,W),_(z,n,z),_(N,i,N),_(F,i,F),_(W,i,W),_(z,i,z),_(at,n,at),_(Ft,n,F),_(jt,n,W),_(Ut,n,z),_(at,i,at),_(Ft,i,Ft),_(jt,i,jt),_(Ut,i,Ut),v(F,bt,k),v(W,vt,k),v(z,ht,k),v(N,ct,k),v(Ft,bt,k),v(jt,vt,k),v(Ut,ht,k),v(at,ht,k),v(a,Dt,C),v(a,Ye,ur),{start:a,tokens:di}}function hr(t,e,n){let i=n.length,s=0,a=[],l=[];for(;s<i;){let r=t,p=null,u=null,h=0,c=null,d=-1;for(;s<i&&!(p=r.go(n[s].t));)l.push(n[s++]);for(;s<i&&(u=p||r.go(n[s].t));)p=null,r=u,r.accepts()?(d=0,c=r):d>=0&&d++,s++,h++;if(d<0)s-=h,s<i&&(l.push(n[s]),s++);else{l.length>0&&(a.push(Ee(Ln,e,l)),l=[]),s-=d,h-=d;const f=c.t,g=n.slice(s-h,s);a.push(Ee(f,e,g))}}return l.length>0&&a.push(Ee(Ln,e,l)),a}function Ee(t,e,n){const i=n[0].s,s=n[n.length-1].e,a=e.slice(i,s);return new t(a,n)}const U={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function dr(){U.scanner=rr(U.customSchemes);for(let t=0;t<U.tokenQueue.length;t++)U.tokenQueue[t][1]({scanner:U.scanner});U.parser=cr(U.scanner.tokens);for(let t=0;t<U.pluginQueue.length;t++)U.pluginQueue[t][1]({scanner:U.scanner,parser:U.parser});U.initialized=!0}function pr(t){return U.initialized||dr(),hr(U.parser.start,t,ar(U.scanner.start,t))}function fi(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function fr(t){return t.replace(/"/g,""")}function gr(t){const e=[];for(const n in t){let i=t[n]+"";e.push(`${n}="${fr(i)}"`)}return e.join(" ")}function mr(t){let{tagName:e,attributes:n,content:i}=t;return`<${e} ${gr(n)}>${fi(i)}</${e}>`}function yr(t,e){e===void 0&&(e={}),e=new nn(e,mr);const n=pr(t),i=[];for(let s=0;s<n.length;s++){const a=n[s];a.t==="nl"&&e.get("nl2br")?i.push(`<br>
`):!a.isLink||!e.check(a)?i.push(fi(a.toString())):i.push(e.render(a))}return i.join("")}String.prototype.linkify||Object.defineProperty(String.prototype,"linkify",{writable:!1,value:function(t){return yr(this,t)}});var br={exports:{}};(function(t){(function(e){if(typeof n!="function"){var n=function(g){return g};n.nonNative=!0}const i=n("plaintext"),s=n("html"),a=n("comment"),l=/<(\w*)>/g,r=/<\/?([^\s\/>]+)/;function p(g,b,S){g=g||"",b=b||[],S=S||"";let x=h(b,S);return c(g,x)}function u(g,b){g=g||[],b=b||"";let S=h(g,b);return function(x){return c(x||"",S)}}p.init_streaming_mode=u;function h(g,b){return g=d(g),{allowable_tags:g,tag_replacement:b,state:i,tag_buffer:"",depth:0,in_quote_char:""}}function c(g,b){if(typeof g!="string")throw new TypeError("'html' parameter must be a string");let S=b.allowable_tags,x=b.tag_replacement,A=b.state,C=b.tag_buffer,B=b.depth,E=b.in_quote_char,k="";for(let T=0,H=g.length;T<H;T++){let M=g[T];if(A===i)switch(M){case"<":A=s,C+=M;break;default:k+=M;break}else if(A===s)switch(M){case"<":if(E)break;B++;break;case">":if(E)break;if(B){B--;break}E="",A=i,C+=">",S.has(f(C))?k+=C:k+=x,C="";break;case'"':case"'":M===E?E="":E=E||M,C+=M;break;case"-":C==="<!-"&&(A=a),C+=M;break;case" ":case`
`:if(C==="<"){A=i,k+="< ",C="";break}C+=M;break;default:C+=M;break}else if(A===a)switch(M){case">":C.slice(-2)=="--"&&(A=i),C="";break;default:C+=M;break}}return b.state=A,b.tag_buffer=C,b.depth=B,b.in_quote_char=E,k}function d(g){let b=new Set;if(typeof g=="string"){let S;for(;S=l.exec(g);)b.add(S[1])}else!n.nonNative&&typeof g[n.iterator]=="function"?b=new Set(g):typeof g.forEach=="function"&&g.forEach(b.add,b);return b}function f(g){let b=r.exec(g);return b?b[1].toLowerCase():null}t.exports?t.exports=p:e.striptags=p})(Tn)})(br),Xt.util.warn;function Ct(t){var e;const n=At(t);return(e=n?.$el)!=null?e:n}const gi=Ni?window:void 0;function qt(...t){let e,n,i,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,i,s]=t,e=gi):[e,n,i,s]=t,!e)return Ht;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const a=[],l=()=>{a.forEach(h=>h()),a.length=0},r=(h,c,d,f)=>(h.addEventListener(c,d,f),()=>h.removeEventListener(c,d,f)),p=Ve(()=>[Ct(e),At(s)],([h,c])=>{if(l(),!h)return;const d=Di(c)?{...c}:c;a.push(...n.flatMap(f=>i.map(g=>r(h,f,g,d))))},{immediate:!0,flush:"post"}),u=()=>{p(),l()};return Pn(u),u}let En=!1;function Bn(t,e,n={}){const{window:i=gi,ignore:s=[],capture:a=!0,detectIframe:l=!1}=n;if(!i)return Ht;Ne&&!En&&(En=!0,Array.from(i.document.body.children).forEach(h=>h.addEventListener("click",Ht)),i.document.documentElement.addEventListener("click",Ht));let r=!0;const p=h=>s.some(c=>{if(typeof c=="string")return Array.from(i.document.querySelectorAll(c)).some(d=>d===h.target||h.composedPath().includes(d));{const d=Ct(c);return d&&(h.target===d||h.composedPath().includes(d))}}),u=[qt(i,"click",h=>{const c=Ct(t);if(!(!c||c===h.target||h.composedPath().includes(c))){if(h.detail===0&&(r=!p(h)),!r){r=!0;return}e(h)}},{passive:!0,capture:a}),qt(i,"pointerdown",h=>{const c=Ct(t);r=!p(h)&&!!(c&&!h.composedPath().includes(c))},{passive:!0}),l&&qt(i,"blur",h=>{setTimeout(()=>{var c;const d=Ct(t);((c=i.document.activeElement)==null?void 0:c.tagName)==="IFRAME"&&!d?.contains(i.document.activeElement)&&e(h)},0)})].filter(Boolean);return()=>u.forEach(h=>h())}const vr={[on.mounted](t,e){const n=!e.modifiers.bubble;if(typeof e.value=="function")t.__onClickOutside_stop=Bn(t,e.value,{capture:n});else{const[i,s]=e.value;t.__onClickOutside_stop=Bn(t,i,Object.assign({capture:n},s))}},[on.unmounted](t){t.__onClickOutside_stop()}};function Be(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function mi(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth<t.scrollWidth||e.overflowY==="auto"&&t.clientHeight<t.scrollHeight)return!0;{const n=t.parentNode;return!n||n.tagName==="BODY"?!1:mi(n)}}function wr(t){const e=t||window.event,n=e.target;return mi(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const De=new WeakMap;function xr(t,e=!1){const n=It(e);let i=null,s="";Ve(Bi(t),r=>{const p=Be(At(r));if(p){const u=p;if(De.get(u)||De.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const a=()=>{const r=Be(At(t));!r||n.value||(Ne&&(i=qt(r,"touchmove",p=>{wr(p)},{passive:!1})),r.style.overflow="hidden",n.value=!0)},l=()=>{const r=Be(At(t));!r||!n.value||(Ne&&i?.(),r.style.overflow=s,De.delete(r),n.value=!1)};return Pn(l),zi({get(){return n.value},set(r){r?a():l()}})}function Sr(){let t=!1;const e=It(!1);return(n,i)=>{if(e.value=i.value,t)return;t=!0;const s=xr(n,i.value);Ve(e,a=>s.value=a)}}Sr(),Tt(Ti);const yi={data(){return{hasStatus:!1,userStatus:{status:null,message:null,icon:null}}},methods:{async fetchUserStatus(t){if(!t)return;const e=Ge.getCapabilities();if(!(!Object.prototype.hasOwnProperty.call(e,"user_status")||!e.user_status.enabled)&&Gt())try{const{data:n}=await $e.get(In("apps/user_status/api/v1/statuses/{userId}",{userId:t})),{status:i,message:s,icon:a}=n.ocs.data;this.userStatus.status=i,this.userStatus.message=s||"",this.userStatus.icon=a||"",this.hasStatus=!0}catch(n){if(n.response.status===404&&n.response.data.ocs?.data?.length===0)return;console.error(n)}}}},bi=Fn("nextcloud").persist().build();function _r(t){const e=bi.getItem("user-has-avatar."+t);return typeof e=="string"?!!e:null}function Dn(t,e){t&&bi.setItem("user-has-avatar."+t,e)}const Cr={name:"NcAvatar",directives:{ClickOutside:vr},components:{DotsHorizontal:Ii,NcActions:Mi,NcButton:Pi,NcIconSvgWrapper:zn,NcLoadingIcon:jn,NcUserStatusIcon:vo},mixins:[yi],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!0},showUserStatusCompact:{type:Boolean,default:!0},preloadedUserStatus:{type:Object,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},menuContainer:{type:[String,Object,Element,Boolean],default:"body"}},data(){return{avatarUrlLoaded:null,avatarSrcSetLoaded:null,userDoesNotExist:!1,isAvatarLoaded:!1,isMenuLoaded:!1,contactsMenuLoading:!1,contactsMenuData:{},contactsMenuActions:[],contactsMenuOpenState:!1}},computed:{avatarAriaLabel(){if(this.hasMenu)return this.canDisplayUserStatus||this.showUserStatusIconOnAvatar?D("Avatar of {displayName}, {status}",{displayName:this.displayName??this.user,status:ti(this.userStatus.status)}):D("Avatar of {displayName}",{displayName:this.displayName??this.user})},canDisplayUserStatus(){return this.showUserStatus&&this.hasStatus&&["online","away","busy","dnd"].includes(this.userStatus.status)},showUserStatusIconOnAvatar(){return this.showUserStatus&&this.showUserStatusCompact&&this.hasStatus&&this.userStatus.status!=="dnd"&&this.userStatus.icon},userIdentifier(){return this.isDisplayNameDefined?this.displayName:this.isUserDefined?this.user:""},isUserDefined(){return typeof this.user<"u"},isDisplayNameDefined(){return typeof this.displayName<"u"},isUrlDefined(){return typeof this.url<"u"},hasMenu(){return this.disableMenu?!1:this.isMenuLoaded?this.menu.length>0:!(this.user===Gt()?.uid||this.userDoesNotExist||this.url)},showInitials(){return this.allowPlaceholder&&this.userDoesNotExist&&!(this.iconClass||this.$slots.icon)},avatarStyle(){return{"--size":this.size+"px",lineHeight:this.size+"px",fontSize:Math.round(this.size*.45)+"px"}},initialsWrapperStyle(){const{r:t,g:e,b:n}=gn(this.userIdentifier);return{backgroundColor:`rgba(${t}, ${e}, ${n}, 0.1)`}},initialsStyle(){const{r:t,g:e,b:n}=gn(this.userIdentifier);return{color:`rgb(${t}, ${e}, ${n})`}},tooltip(){return this.disableTooltip?!1:this.tooltipMessage?this.tooltipMessage:this.displayName},initials(){let t="?";if(this.showInitials){const e=this.userIdentifier.trim();if(e==="")return t;const n=e.match(/[\p{L}\p{N}\s]/gu);if(n==null)return t;const i=n.join(""),s=i.lastIndexOf(" ");t=String.fromCodePoint(i.codePointAt(0)),s!==-1&&(t=t.concat(String.fromCodePoint(i.codePointAt(s+1))))}return t.toLocaleUpperCase()},menu(){const t=this.contactsMenuActions.map(n=>{const i=Qo(this.$router,n.hyperlink);return{ncActionComponent:i?Xs:Hs,ncActionComponentProps:i?{to:i,icon:n.icon}:{href:n.hyperlink,icon:n.icon},text:n.title}});for(const n of jo(this.contactsMenuData))try{t.push({ncActionComponent:co,ncActionComponentProps:{},ncActionComponentHandlers:{click:()=>n.callback(this.contactsMenuData)},text:n.displayName(this.contactsMenuData),iconSvg:n.iconSvg(this.contactsMenuData)})}catch(i){Fo.error(`Failed to render ContactsMenu action ${n.id}`,{error:i,action:n})}function e(n){const i=document.createTextNode(n),s=document.createElement("p");return s.appendChild(i),s.innerHTML}if(this.showUserStatus&&(this.userStatus.icon||this.userStatus.message)){const n=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<text x="50%" y="50%" text-anchor="middle" style="dominant-baseline: central; font-size: 85%">${e(this.userStatus.icon)}</text>
</svg>`;return[{ncActionComponent:to,ncActionComponentProps:{},iconSvg:this.userStatus.icon?n:void 0,text:`${this.userStatus.message}`}].concat(t)}return t}},watch:{url(){this.userDoesNotExist=!1,this.loadAvatarUrl()},user(){this.userDoesNotExist=!1,this.isMenuLoaded=!1,this.loadAvatarUrl()}},mounted(){this.loadAvatarUrl(),Se("settings:avatar:updated",this.loadAvatarUrl),Se("settings:display-name:updated",this.loadAvatarUrl),this.showUserStatus&&this.user&&!this.isNoUser&&(this.preloadedUserStatus?(this.userStatus.status=this.preloadedUserStatus.status||"",this.userStatus.message=this.preloadedUserStatus.message||"",this.userStatus.icon=this.preloadedUserStatus.icon||"",this.hasStatus=this.preloadedUserStatus.status!==null):this.fetchUserStatus(this.user),Se("user_status:status.updated",this.handleUserStatusUpdated))},beforeDestroy(){_e("settings:avatar:updated",this.loadAvatarUrl),_e("settings:display-name:updated",this.loadAvatarUrl),this.showUserStatus&&this.user&&!this.isNoUser&&_e("user_status:status.updated",this.handleUserStatusUpdated)},methods:{t:D,handleUserStatusUpdated(t){this.user===t.userId&&(this.userStatus={status:t.status,icon:t.icon,message:t.message})},async toggleMenu(t){t.type==="keydown"&&t.key!=="Enter"||(this.contactsMenuOpenState||await this.fetchContactsMenu(),this.contactsMenuOpenState=!this.contactsMenuOpenState)},closeMenu(){this.contactsMenuOpenState=!1},async fetchContactsMenu(){this.contactsMenuLoading=!0;try{const t=encodeURIComponent(this.user),{data:e}=await $e.post(Mn("contactsmenu/findOne"),`shareType=0&shareWith=${t}`);this.contactsMenuData=e,this.contactsMenuActions=e.topAction?[e.topAction].concat(e.actions):e.actions}catch{this.contactsMenuOpenState=!1}this.contactsMenuLoading=!1,this.isMenuLoaded=!0},loadAvatarUrl(){if(this.isAvatarLoaded=!1,!this.isUrlDefined&&(!this.isUserDefined||this.isNoUser)){this.isAvatarLoaded=!0,this.userDoesNotExist=!0;return}if(this.isUrlDefined){this.updateImageIfValid(this.url);return}if(this.size<=64){const t=this.avatarUrlGenerator(this.user,64),e=[t+" 1x",this.avatarUrlGenerator(this.user,512)+" 8x"].join(", ");this.updateImageIfValid(t,e)}else{const t=this.avatarUrlGenerator(this.user,512);this.updateImageIfValid(t)}},avatarUrlGenerator(t,e){let n=Oo(t,e,this.isGuest);return t===Gt()?.uid&&typeof oc_userconfig<"u"&&(n+="?v="+oc_userconfig.avatar.version),n},updateImageIfValid(t,e=null){const n=_r(this.user);if(this.isUserDefined&&typeof n=="boolean"){this.isAvatarLoaded=!0,this.avatarUrlLoaded=t,e&&(this.avatarSrcSetLoaded=e),n===!1&&(this.userDoesNotExist=!0);return}const i=new Image;i.onload=()=>{this.avatarUrlLoaded=t,e&&(this.avatarSrcSetLoaded=e),this.isAvatarLoaded=!0,Dn(this.user,!0)},i.onerror=()=>{console.debug("Invalid avatar url",t),this.avatarUrlLoaded=null,this.avatarSrcSetLoaded=null,this.userDoesNotExist=!0,this.isAvatarLoaded=!1,Dn(this.user,!1)},e&&(i.srcset=e),i.src=t}}};var Ar=function(){var t=this,e=t._self._c;return e("span",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.closeMenu,expression:"closeMenu"}],ref:"main",staticClass:"avatardiv popovermenu-wrapper",class:{"avatardiv--unknown":t.userDoesNotExist,"avatardiv--with-menu":t.hasMenu,"avatardiv--with-menu-loading":t.contactsMenuLoading},style:t.avatarStyle},[t._t("icon",function(){return[t.iconClass?e("span",{staticClass:"avatar-class-icon",class:t.iconClass}):t.isAvatarLoaded&&!t.userDoesNotExist?e("img",{attrs:{src:t.avatarUrlLoaded,srcset:t.avatarSrcSetLoaded,alt:""}}):t._e()]}),t.hasMenu&&t.menu.length===0?e("NcButton",{staticClass:"action-item action-item__menutoggle",attrs:{type:"tertiary-no-background","aria-label":t.avatarAriaLabel,title:t.tooltip},on:{click:t.toggleMenu},scopedSlots:t._u([{key:"icon",fn:function(){return[t.contactsMenuLoading?e("NcLoadingIcon"):e("DotsHorizontal",{attrs:{size:20}})]},proxy:!0}],null,!1,2617833509)}):t.hasMenu?e("NcActions",{attrs:{"force-menu":"","manual-open":"",type:"tertiary-no-background",container:t.menuContainer,open:t.contactsMenuOpenState,"aria-label":t.avatarAriaLabel,title:t.tooltip},on:{"update:open":function(n){t.contactsMenuOpenState=n},click:t.toggleMenu},scopedSlots:t._u([t.contactsMenuLoading?{key:"icon",fn:function(){return[e("NcLoadingIcon")]},proxy:!0}:null],null,!0)},t._l(t.menu,function(n,i){return e(n.ncActionComponent,t._g(t._b({key:i,tag:"component",scopedSlots:t._u([n.iconSvg?{key:"icon",fn:function(){return[e("NcIconSvgWrapper",{attrs:{svg:n.iconSvg}})]},proxy:!0}:null],null,!0)},"component",n.ncActionComponentProps,!1),n.ncActionComponentHandlers),[t._v(" "+t._s(n.text)+" ")])}),1):t._e(),t.showUserStatusIconOnAvatar?e("span",{staticClass:"avatardiv__user-status avatardiv__user-status--icon"},[t._v(" "+t._s(t.userStatus.icon)+" ")]):t.canDisplayUserStatus?e("NcUserStatusIcon",{staticClass:"avatardiv__user-status",attrs:{status:t.userStatus.status,"aria-hidden":String(t.hasMenu)}}):t._e(),t.showInitials?e("span",{staticClass:"avatardiv__initials-wrapper",style:t.initialsWrapperStyle},[e("span",{staticClass:"avatardiv__initials",style:t.initialsStyle},[t._v(" "+t._s(t.initials)+" ")])]):t._e()],2)},kr=[],Or=V(Cr,Ar,kr,!1,null,"5db0bd58");const Lr=Or.exports,Er=8,Nn=32,Br={name:"NcListItemIcon",components:{NcAvatar:Lr,NcHighlight:Jn,NcIconSvgWrapper:zn},mixins:[yi],props:{name:{type:String,required:!0},subname:{type:String,default:""},icon:{type:String,default:""},iconSvg:{type:String,default:""},iconName:{type:String,default:""},search:{type:String,default:""},avatarSize:{type:Number,default:Nn},noMargin:{type:Boolean,default:!1},displayName:{type:String,default:null},isNoUser:{type:Boolean,default:!1},id:{type:String,default:null}},setup(){return{margin:Er,defaultSize:Nn}},computed:{hasIcon(){return this.icon!==""},hasIconSvg(){return this.iconSvg!==""},isValidSubname(){return this.subname?.trim?.()!==""},isSizeBigEnough(){return this.avatarSize>=26},cssVars(){const t=this.noMargin?0:this.margin;return{"--height":this.avatarSize+2*t+"px","--margin":this.margin+"px"}},searchParts(){const t=/^([^<]*)<([^>]+)>?$/,e=this.search.match(t);return this.isNoUser||!e?[this.search,this.search]:[e[1].trim(),e[2]]}},beforeMount(){!this.isNoUser&&!this.subname&&this.fetchUserStatus(this.user)}};var Dr=function(){var t=this,e=t._self._c;return e("span",t._g({staticClass:"option",class:{"option--compact":t.avatarSize<t.defaultSize},style:t.cssVars,attrs:{id:t.id}},t.$listeners),[e("NcAvatar",t._b({staticClass:"option__avatar",attrs:{"disable-menu":!0,"disable-tooltip":!0,"display-name":t.displayName||t.name,"is-no-user":t.isNoUser,size:t.avatarSize}},"NcAvatar",t.$attrs,!1)),e("div",{staticClass:"option__details"},[e("NcHighlight",{staticClass:"option__lineone",attrs:{text:t.name,search:t.searchParts[0]}}),t.isValidSubname&&t.isSizeBigEnough?e("NcHighlight",{staticClass:"option__linetwo",attrs:{text:t.subname,search:t.searchParts[1]}}):t.hasStatus?e("span",[e("span",[t._v(t._s(t.userStatus.icon))]),e("span",[t._v(t._s(t.userStatus.message))])]):t._e()],1),t._t("default",function(){return[t.hasIconSvg?e("NcIconSvgWrapper",{staticClass:"option__icon",attrs:{svg:t.iconSvg,name:t.iconName}}):t.hasIcon?e("span",{staticClass:"icon option__icon",class:t.icon,attrs:{"aria-label":t.iconName}}):t._e()]})],2)},Nr=[],Tr=V(Br,Dr,Nr,!1,null,"a0f4d73a");const Ir=Tr.exports;Tt(Ui);const Mr={name:"NcSelect",components:{ChevronDown:Ls,NcEllipsisedOption:Fs,NcListItemIcon:Ir,NcLoadingIcon:jn,VueSelect:lt.VueSelect},model:{prop:"modelValue",event:"update:modelValue"},props:{...lt.VueSelect.props,...lt.VueSelect.mixins.reduce((t,e)=>({...t,...e.props}),{}),ariaLabelClearSelected:{type:String,default:D("Clear selected")},ariaLabelCombobox:{type:String,default:null},ariaLabelListbox:{type:String,default:D("Options")},ariaLabelDeselectOption:{type:Function,default:t=>D("Deselect {option}",{option:t})},appendToBody:{type:Boolean,default:!0},calculatePosition:{type:Function,default:null},closeOnSelect:{type:Boolean,default:!0},components:{type:Object,default:()=>({Deselect:{render:t=>t(Fi,{props:{size:20,fillColor:"var(--vs-controls-color)"},style:{cursor:"pointer"}})}})},limit:{type:Number,default:null},disabled:{type:Boolean,default:!1},dropdownShouldOpen:{type:Function,default:({noDrop:t,open:e})=>t?!1:e},filterBy:{type:Function,default:null},inputClass:{type:[String,Object],default:null},inputId:{type:String,default:()=>`select-input-${rn()}`},inputLabel:{type:String,default:null},labelOutside:{type:Boolean,default:!1},keyboardFocusBorder:{type:Boolean,default:!0},label:{type:String,default:null},loading:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},noWrap:{type:Boolean,default:!1},options:{type:Array,default:()=>[]},placeholder:{type:String,default:""},mapKeydown:{type:Function,default(t,e){return{...t,27:n=>{e.open&&n.stopPropagation(),t[27](n)}}}},uid:{type:String,default:()=>rn()},placement:{type:String,default:"bottom"},resetFocusOnOptionsChange:{type:Boolean,default:!0},userSelect:{type:Boolean,default:!1},value:{type:[String,Number,Object,Array],default:void 0},modelValue:{type:[String,Number,Object,Array],default:null},required:{type:Boolean,default:!1}," ":{}},emits:[" ","input","update:modelValue","update:model-value"],setup(){const t=Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--default-clickable-area")),e=Number.parseInt(window.getComputedStyle(document.body).getPropertyValue("--default-grid-baseline")),n=t-2*e,i=ji("value","input");return{avatarSize:n,model:i}},data(){return{search:""}},computed:{inputRequired(){return this.required?this.model===null||Array.isArray(this.model)&&this.model.length===0:null},localCalculatePosition(){return this.calculatePosition!==null?this.calculatePosition:(t,e,{width:n})=>{t.style.width=n;const i={name:"addClass",fn(l){return t.classList.add("vs__dropdown-menu--floating"),{}}},s={name:"togglePlacementClass",fn({placement:l}){return e.$el.classList.toggle("select--drop-up",l==="top"),t.classList.toggle("vs__dropdown-menu--floating-placement-top",l==="top"),{}}},a=()=>{_s(e.$refs.toggle,t,{placement:this.placement,middleware:[ns(-1),i,s,ts(),is({limiter:ss()})]}).then(({x:l,y:r})=>{Object.assign(t.style,{left:`${l}px`,top:`${r}px`,width:`${e.$refs.toggle.getBoundingClientRect().width}px`})})};return Ss(e.$refs.toggle,t,a)}},localFilterBy(){const t=/[^<]*<([^>]+)/;return this.filterBy!==null?this.filterBy:this.userSelect?(e,n,i)=>{const s=i.match(t);return s&&e.subname?.toLocaleLowerCase?.()?.indexOf(s[1].toLocaleLowerCase())>-1||`${n} ${e.subname}`.toLocaleLowerCase().indexOf(i.toLocaleLowerCase())>-1}:lt.VueSelect.props.filterBy.default},localLabel(){return this.label!==null?this.label:this.userSelect?"displayName":lt.VueSelect.props.label.default},propsToForward(){const t=[...Object.keys(lt.VueSelect.props),...lt.VueSelect.mixins.flatMap(e=>Object.keys(e.props??{}))];return{...Object.fromEntries(Object.entries(this.$props).filter(([e,n])=>t.includes(e))),value:this.model,calculatePosition:this.localCalculatePosition,filterBy:this.localFilterBy,label:this.localLabel}},listenersToForward(){return{...this.$listeners,input:t=>{this.model=t}}}},mounted(){!this.labelOutside&&!this.inputLabel&&!this.ariaLabelCombobox&&Xt.util.warn("[NcSelect] An `inputLabel` or `ariaLabelCombobox` should be set. If an external label is used, `labelOutside` should be set to `true`."),this.inputLabel&&this.ariaLabelCombobox&&Xt.util.warn("[NcSelect] Only one of `inputLabel` or `ariaLabelCombobox` should to be set.")},methods:{t:D}};var Pr=function(){var t=this,e=t._self._c;return e("VueSelect",t._g(t._b({staticClass:"select",class:{"select--no-wrap":t.noWrap,"user-select":t.userSelect},on:{search:n=>t.search=n},scopedSlots:t._u([!t.labelOutside&&t.inputLabel?{key:"header",fn:function(){return[e("label",{staticClass:"select__label",attrs:{for:t.inputId}},[t._v(" "+t._s(t.inputLabel)+" ")])]},proxy:!0}:null,{key:"search",fn:function({attributes:n,events:i}){return[e("input",t._g(t._b({class:["vs__search",t.inputClass],attrs:{required:t.inputRequired,dir:"auto"}},"input",n,!1),i))]}},{key:"open-indicator",fn:function({attributes:n}){return[e("ChevronDown",t._b({style:{cursor:t.disabled?null:"pointer"},attrs:{"fill-color":"var(--vs-controls-color)",size:26}},"ChevronDown",n,!1))]}},{key:"option",fn:function(n){return[t.userSelect?e("NcListItemIcon",t._b({attrs:{"avatar-size":32,name:n[t.localLabel],search:t.search}},"NcListItemIcon",n,!1)):e("NcEllipsisedOption",{attrs:{name:String(n[t.localLabel]),search:t.search}})]}},{key:"selected-option",fn:function(n){return[t.userSelect?e("NcListItemIcon",t._b({attrs:{"avatar-size":t.avatarSize,name:n[t.localLabel],"no-margin":"",search:t.search}},"NcListItemIcon",n,!1)):e("NcEllipsisedOption",{attrs:{name:String(n[t.localLabel]),search:t.search}})]}},{key:"spinner",fn:function(n){return[n.loading?e("NcLoadingIcon"):t._e()]}},{key:"no-options",fn:function(){return[t._v(" "+t._s(t.t("No results"))+" ")]},proxy:!0},t._l(t.$scopedSlots,function(n,i){return{key:i,fn:function(s){return[t._t(i,null,null,s)]}}})],null,!0)},"VueSelect",t.propsToForward,!1),t.listenersToForward))},Fr=[],jr=V(Mr,Pr,Fr,!1,null,null);const Vr=jr.exports,Hr=Fn("notifications").clearOnLogout().persist().build();export{Hr as B,oo as C,yn as E,Vr as N,Rr as U,qo as a,Lr as b,si as c,Ge as d,vr as e,Qo as g,Xo as p,$r as r,Ae as u,Wo as v};
//# sourceMappingURL=BrowserStorage-CiIszpku.chunk.mjs.map