mirror of
https://github.com/nextcloud/server.git
synced 2026-06-27 09:30:36 -04:00
2 lines
No EOL
81 KiB
JavaScript
2 lines
No EOL
81 KiB
JavaScript
(()=>{var e,n,o,i={99419(e,n,o){"use strict";var i=o(21777),r=o(10810);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function a(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}function l(e,t,n){return(t=a(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,a(o.key),o)}}var d="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,c=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(d&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),u=d&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},c))}};function f(e){return e&&"[object Function]"==={}.toString.call(e)}function h(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function v(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function m(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=h(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+o)?e:m(v(e))}function g(e){return e&&e.referenceNode?e.referenceNode:e}var y=d&&!(!window.MSInputMethodContext||!document.documentMode),b=d&&/MSIE 10/.test(navigator.userAgent);function _(e){return 11===e?y:10===e?b:y||b}function w(e){if(!e)return document.documentElement;for(var t=_(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===h(n,"position")?w(n):n:e?e.ownerDocument.documentElement:document.documentElement}function A(e){return null!==e.parentNode?A(e.parentNode):e}function C(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,i=n?t:e,r=document.createRange();r.setStart(o,0),r.setEnd(i,0);var s,a,l=r.commonAncestorContainer;if(e!==l&&t!==l||o.contains(i))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&w(s.firstElementChild)!==s?w(l):l;var p=A(e);return p.host?C(p.host,t):C(e,A(t).host)}function k(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[t]}return e[t]}function T(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+o+"Width"])}function O(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],_(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function x(e){var t=e.body,n=e.documentElement,o=_(10)&&getComputedStyle(n);return{height:O("Height",t,n,o),width:O("Width",t,n,o)}}var E=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),N=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};function $(e){return S({},e,{right:e.left+e.width,bottom:e.top+e.height})}function P(e){var t={};try{if(_(10)){t=e.getBoundingClientRect();var n=k(e,"top"),o=k(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?x(e.ownerDocument):{},s=r.width||e.clientWidth||i.width,a=r.height||e.clientHeight||i.height,l=e.offsetWidth-s,p=e.offsetHeight-a;if(l||p){var d=h(e);l-=T(d,"x"),p-=T(d,"y"),i.width-=l,i.height-=p}return $(i)}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=_(10),i="HTML"===t.nodeName,r=P(e),s=P(t),a=m(e),l=h(t),p=parseFloat(l.borderTopWidth),d=parseFloat(l.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var c=$({top:r.top-s.top-p,left:r.left-s.left-d,width:r.width,height:r.height});if(c.marginTop=0,c.marginLeft=0,!o&&i){var u=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);c.top-=p-u,c.bottom-=p-u,c.left-=d-f,c.right-=d-f,c.marginTop=u,c.marginLeft=f}return(o&&!n?t.contains(a):t===a&&"BODY"!==a.nodeName)&&(c=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=k(t,"top"),i=k(t,"left"),r=n?-1:1;return e.top+=o*r,e.bottom+=o*r,e.left+=i*r,e.right+=i*r,e}(c,t)),c}function L(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===h(e,"position"))return!0;var n=v(e);return!!n&&L(n)}function I(e){if(!e||!e.parentElement||_())return document.documentElement;for(var t=e.parentElement;t&&"none"===h(t,"transform");)t=t.parentElement;return t||document.documentElement}function j(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=i?I(e):C(e,g(t));if("viewport"===o)r=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=D(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=t?0:k(n),a=t?0:k(n,"left");return $({top:s-o.top+o.marginTop,left:a-o.left+o.marginLeft,width:i,height:r})}(s,i);else{var a=void 0;"scrollParent"===o?"BODY"===(a=m(v(t))).nodeName&&(a=e.ownerDocument.documentElement):a="window"===o?e.ownerDocument.documentElement:o;var l=D(a,s,i);if("HTML"!==a.nodeName||L(s))r=l;else{var p=x(e.ownerDocument),d=p.height,c=p.width;r.top+=l.top-l.marginTop,r.bottom=d+l.top,r.left+=l.left-l.marginLeft,r.right=c+l.left}}var u="number"==typeof(n=n||0);return r.left+=u?n:n.left||0,r.top+=u?n:n.top||0,r.right-=u?n:n.right||0,r.bottom-=u?n:n.bottom||0,r}function M(e,t,n,o,i){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=j(n,o,r,i),a={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},l=Object.keys(a).map(function(e){return S({key:e},a[e],{area:(t=a[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),p=l.filter(function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight}),d=p.length>0?p[0].key:l[0].key,c=e.split("-")[1];return d+(c?"-"+c:"")}function B(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return D(n,o?I(t):C(t,g(n)),o)}function R(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function H(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function F(e,t,n){n=n.split("-")[0];var o=R(e),i={width:o.width,height:o.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",p=r?"width":"height";return i[s]=t[s]+t[l]/2-o[l]/2,i[a]=n===a?t[a]-o[p]:t[H(a)],i}function W(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function z(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var o=W(e,function(e){return e[t]===n});return e.indexOf(o)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&f(n)&&(t.offsets.popper=$(t.offsets.popper),t.offsets.reference=$(t.offsets.reference),t=n(t,e))}),t}function q(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=B(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=M(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=F(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=z(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function V(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function G(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var i=t[o],r=i?""+i+n:e;if(void 0!==document.body.style[r])return r}return null}function U(){return this.state.isDestroyed=!0,V(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[G("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function K(e){var t=e.ownerDocument;return t?t.defaultView:window}function Y(e,t,n,o){var i="BODY"===e.nodeName,r=i?e.ownerDocument.defaultView:e;r.addEventListener(t,n,{passive:!0}),i||Y(m(r.parentNode),t,n,o),o.push(r)}function Q(e,t,n,o){n.updateBound=o,K(e).addEventListener("resize",n.updateBound,{passive:!0});var i=m(e);return Y(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function X(){this.state.eventsEnabled||(this.state=Q(this.reference,this.options,this.state,this.scheduleUpdate))}function J(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(e,t){return K(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}(this.reference,this.state))}function Z(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ee(e,t){Object.keys(t).forEach(function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Z(t[n])&&(o="px"),e.style[n]=t[n]+o})}var te=d&&/Firefox/i.test(navigator.userAgent);function ne(e,t,n){var o=W(e,function(e){return e.name===t}),i=!!o&&e.some(function(e){return e.name===n&&e.enabled&&e.order<o.order});if(!i){var r="`"+t+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return i}var oe=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ie=oe.slice(3);function re(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ie.indexOf(e),o=ie.slice(n+1).concat(ie.slice(0,n));return t?o.reverse():o}var se={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var i=e.offsets,r=i.reference,s=i.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",p=a?"width":"height",d={start:N({},l,r[l]),end:N({},l,r[l]+r[p]-s[p])};e.offsets.popper=S({},s,d[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,o=t.offset,i=e.placement,r=e.offsets,s=r.popper,a=r.reference,l=i.split("-")[0];return n=Z(+o)?[+o,0]:function(e,t,n,o){var i=[0,0],r=-1!==["right","left"].indexOf(o),s=e.split(/(\+|\-)/).map(function(e){return e.trim()}),a=s.indexOf(W(s,function(e){return-1!==e.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,p=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(p=p.map(function(e,o){var i=(1===o?!r:r)?"height":"width",s=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,o){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],s=i[2];return r?0===s.indexOf("%")?$("%p"===s?n:o)[t]/100*r:"vh"===s||"vw"===s?("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r:r:e}(e,i,t,n)})})).forEach(function(e,t){e.forEach(function(n,o){Z(n)&&(i[t]+=n*("-"===e[o-1]?-1:1))})}),i}(o,s,a,l),"left"===l?(s.top+=n[0],s.left-=n[1]):"right"===l?(s.top+=n[0],s.left+=n[1]):"top"===l?(s.left+=n[0],s.top-=n[1]):"bottom"===l&&(s.left+=n[0],s.top+=n[1]),e.popper=s,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||w(e.instance.popper);e.instance.reference===n&&(n=w(n));var o=G("transform"),i=e.instance.popper.style,r=i.top,s=i.left,a=i[o];i.top="",i.left="",i[o]="";var l=j(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=r,i.left=s,i[o]=a,t.boundaries=l;var p=t.priority,d=e.offsets.popper,c={primary:function(e){var n=d[e];return d[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(d[e],l[e])),N({},e,n)},secondary:function(e){var n="right"===e?"left":"top",o=d[n];return d[e]>l[e]&&!t.escapeWithReference&&(o=Math.min(d[n],l[e]-("right"===e?d.width:d.height))),N({},n,o)}};return p.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=S({},d,c[t](e))}),e.offsets.popper=d,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,i=e.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(i),a=s?"right":"bottom",l=s?"left":"top",p=s?"width":"height";return n[a]<r(o[l])&&(e.offsets.popper[l]=r(o[l])-n[p]),n[l]>r(o[a])&&(e.offsets.popper[l]=r(o[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!ne(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],r=e.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(i),p=l?"height":"width",d=l?"Top":"Left",c=d.toLowerCase(),u=l?"left":"top",f=l?"bottom":"right",v=R(o)[p];a[f]-v<s[c]&&(e.offsets.popper[c]-=s[c]-(a[f]-v)),a[c]+v>s[f]&&(e.offsets.popper[c]+=a[c]+v-s[f]),e.offsets.popper=$(e.offsets.popper);var m=a[c]+a[p]/2-v/2,g=h(e.instance.popper),y=parseFloat(g["margin"+d]),b=parseFloat(g["border"+d+"Width"]),_=m-e.offsets.popper[c]-y-b;return _=Math.max(Math.min(s[p]-v,_),0),e.arrowElement=o,e.offsets.arrow=(N(n={},c,Math.round(_)),N(n,u,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(V(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=j(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],i=H(o),r=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case"flip":s=[o,i];break;case"clockwise":s=re(o);break;case"counterclockwise":s=re(o,!0);break;default:s=t.behavior}return s.forEach(function(a,l){if(o!==a||s.length===l+1)return e;o=e.placement.split("-")[0],i=H(o);var p=e.offsets.popper,d=e.offsets.reference,c=Math.floor,u="left"===o&&c(p.right)>c(d.left)||"right"===o&&c(p.left)<c(d.right)||"top"===o&&c(p.bottom)>c(d.top)||"bottom"===o&&c(p.top)<c(d.bottom),f=c(p.left)<c(n.left),h=c(p.right)>c(n.right),v=c(p.top)<c(n.top),m=c(p.bottom)>c(n.bottom),g="left"===o&&f||"right"===o&&h||"top"===o&&v||"bottom"===o&&m,y=-1!==["top","bottom"].indexOf(o),b=!!t.flipVariations&&(y&&"start"===r&&f||y&&"end"===r&&h||!y&&"start"===r&&v||!y&&"end"===r&&m),_=!!t.flipVariationsByContent&&(y&&"start"===r&&h||y&&"end"===r&&f||!y&&"start"===r&&m||!y&&"end"===r&&v),w=b||_;(u||g||w)&&(e.flipped=!0,(u||g)&&(o=s[l+1]),w&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=o+(r?"-"+r:""),e.offsets.popper=S({},e.offsets.popper,F(e.instance.popper,e.offsets.reference,e.placement)),e=z(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,i=o.popper,r=o.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[s?"left":"top"]=r[n]-(a?i[s?"width":"height"]:0),e.placement=H(t),e.offsets.popper=$(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ne(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=W(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,o=t.y,i=e.offsets.popper,r=W(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s,a,l=void 0!==r?r:t.gpuAcceleration,p=w(e.instance.popper),d=P(p),c={position:i.position},u=function(e,t){var n=e.offsets,o=n.popper,i=n.reference,r=Math.round,s=Math.floor,a=function(e){return e},l=r(i.width),p=r(o.width),d=-1!==["left","right"].indexOf(e.placement),c=-1!==e.placement.indexOf("-"),u=t?d||c||l%2==p%2?r:s:a,f=t?r:a;return{left:u(l%2==1&&p%2==1&&!c&&t?o.left-1:o.left),top:f(o.top),bottom:f(o.bottom),right:u(o.right)}}(e,window.devicePixelRatio<2||!te),f="bottom"===n?"top":"bottom",h="right"===o?"left":"right",v=G("transform");if(a="bottom"===f?"HTML"===p.nodeName?-p.clientHeight+u.bottom:-d.height+u.bottom:u.top,s="right"===h?"HTML"===p.nodeName?-p.clientWidth+u.right:-d.width+u.right:u.left,l&&v)c[v]="translate3d("+s+"px, "+a+"px, 0)",c[f]=0,c[h]=0,c.willChange="transform";else{var m="bottom"===f?-1:1,g="right"===h?-1:1;c[f]=a*m,c[h]=s*g,c.willChange=f+", "+h}var y={"x-placement":e.placement};return e.attributes=S({},y,e.attributes),e.styles=S({},c,e.styles),e.arrowStyles=S({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return ee(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&ee(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,o,i){var r=B(i,t,e,n.positionFixed),s=M(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",s),ee(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},ae={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:se},le=function(){function e(t,n){var o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=u(this.update.bind(this)),this.options=S({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,i.modifiers)).forEach(function(t){o.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return S({name:e},o.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&f(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return E(e,[{key:"update",value:function(){return q.call(this)}},{key:"destroy",value:function(){return U.call(this)}},{key:"enableEventListeners",value:function(){return X.call(this)}},{key:"disableEventListeners",value:function(){return J.call(this)}}]),e}();le.Utils=("undefined"!=typeof window?window:globalThis).PopperUtils,le.placements=oe,le.Defaults=ae;const pe=le;var de,ce=o(2404),ue=o.n(ce);function fe(){fe.init||(fe.init=!0,de=-1!==function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}())}function he(e,t,n,o,i,r,s,a,l,p){"boolean"!=typeof s&&(l=a,a=s,s=!1);var d,c="function"==typeof n?n.options:n;if(e&&e.render&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0,i&&(c.functional=!0)),o&&(c._scopeId=o),r?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=d):t&&(d=s?function(e){t.call(this,p(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,a(e))}),d)if(c.functional){var u=c.render;c.render=function(e,t){return d.call(t),u(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,d):[d]}return n}var ve={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},mounted:function(){var e=this;fe(),this.$nextTick(function(){e._w=e.$el.offsetWidth,e._h=e.$el.offsetHeight,e.emitOnMount&&e.emitSize()});var t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",de&&this.$el.appendChild(t),t.data="about:blank",de||this.$el.appendChild(t)},beforeDestroy:function(){this.removeResizeHandlers()},methods:{compareAndNotify:function(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize:function(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!de&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},me=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})};me._withStripped=!0;var ge=he({render:me,staticRenderFns:[]},void 0,ve,"data-v-8859cc6c",!1,void 0,!1,void 0,void 0,void 0),ye={version:"1.0.1",install:function(e){e.component("resize-observer",ge),e.component("ResizeObserver",ge)}},be=null;"undefined"!=typeof window?be=window.Vue:"undefined"!=typeof globalThis&&(be=globalThis.Vue),be&&be.use(ye);var _e=o(55364),we=o.n(_e),Ae=function(){};function Ce(e){return"string"==typeof e&&(e=e.split(" ")),e}function ke(e,t){var n,o=Ce(t);n=e.className instanceof Ae?Ce(e.className.baseVal):Ce(e.className),o.forEach(function(e){-1===n.indexOf(e)&&n.push(e)}),e instanceof SVGElement?e.setAttribute("class",n.join(" ")):e.className=n.join(" ")}function Te(e,t){var n,o=Ce(t);n=e.className instanceof Ae?Ce(e.className.baseVal):Ce(e.className),o.forEach(function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}),e instanceof SVGElement?e.setAttribute("class",n.join(" ")):e.className=n.join(" ")}"undefined"!=typeof window&&(Ae=window.SVGAnimatedString);var Oe=!1;if("undefined"!=typeof window){Oe=!1;try{var xe=Object.defineProperty({},"passive",{get:function(){Oe=!0}});window.addEventListener("test",null,xe)}catch(e){}}function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Se={container:!1,delay:0,html:!1,placement:"top",title:"",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",offset:0},$e=[],Pe=function(){function e(t,n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"_events",[]),l(this,"_setTooltipNodeEvent",function(e,t,n,i){var r=e.relatedreference||e.toElement||e.relatedTarget;return!!o._tooltipNode.contains(r)&&(o._tooltipNode.addEventListener(e.type,function n(r){var s=r.relatedreference||r.toElement||r.relatedTarget;o._tooltipNode.removeEventListener(e.type,n),t.contains(s)||o._scheduleHide(t,i.delay,i,r)}),!0)}),n=Ne(Ne({},Se),n),t.jquery&&(t=t[0]),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.reference=t,this.options=n,this._isOpen=!1,this._init()}return t=e,n=[{key:"show",value:function(){this._show(this.reference,this.options)}},{key:"hide",value:function(){this._hide()}},{key:"dispose",value:function(){this._dispose()}},{key:"toggle",value:function(){return this._isOpen?this.hide():this.show()}},{key:"setClasses",value:function(e){this._classes=e}},{key:"setContent",value:function(e){this.options.title=e,this._tooltipNode&&this._setContent(e,this.options)}},{key:"setOptions",value:function(e){var t=!1,n=e&&e.classes||ze.options.defaultClass;ue()(this._classes,n)||(this.setClasses(n),t=!0),e=Be(e);var o=!1,i=!1;for(var r in this.options.offset===e.offset&&this.options.placement===e.placement||(o=!0),(this.options.template!==e.template||this.options.trigger!==e.trigger||this.options.container!==e.container||t)&&(i=!0),e)this.options[r]=e[r];if(this._tooltipNode)if(i){var s=this._isOpen;this.dispose(),this._init(),s&&this.show()}else o&&this.popperInstance.update()}},{key:"_init",value:function(){var e="string"==typeof this.options.trigger?this.options.trigger.split(" "):[];this._isDisposed=!1,this._enableDocumentTouch=-1===e.indexOf("manual"),e=e.filter(function(e){return-1!==["click","hover","focus"].indexOf(e)}),this._setEventListeners(this.reference,e,this.options),this.$_originalTitle=this.reference.getAttribute("title"),this.reference.removeAttribute("title"),this.reference.setAttribute("data-original-title",this.$_originalTitle)}},{key:"_create",value:function(e,t){var n=this,o=window.document.createElement("div");o.innerHTML=t.trim();var i=o.childNodes[0];return i.id=this.options.ariaId||"tooltip_".concat(Math.random().toString(36).substr(2,10)),i.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(i.addEventListener("mouseenter",function(t){return n._scheduleHide(e,n.options.delay,n.options,t)}),i.addEventListener("click",function(t){return n._scheduleHide(e,n.options.delay,n.options,t)})),i}},{key:"_setContent",value:function(e,t){var n=this;this.asyncContent=!1,this._applyContent(e,t).then(function(){n.popperInstance&&n.popperInstance.update()})}},{key:"_applyContent",value:function(e,t){var n=this;return new Promise(function(o,i){var r=t.html,s=n._tooltipNode;if(s){var a=s.querySelector(n.options.innerSelector);if(1===e.nodeType){if(r){for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(e)}}else{if("function"==typeof e){var l=e();return void(l&&"function"==typeof l.then?(n.asyncContent=!0,t.loadingClass&&ke(s,t.loadingClass),t.loadingContent&&n._applyContent(t.loadingContent,t),l.then(function(e){return t.loadingClass&&Te(s,t.loadingClass),n._applyContent(e,t)}).then(o).catch(i)):n._applyContent(l,t).then(o).catch(i))}r?a.innerHTML=e:a.innerText=e}o()}})}},{key:"_show",value:function(e,t){if(!t||"string"!=typeof t.container||document.querySelector(t.container)){clearTimeout(this._disposeTimer),delete(t=Object.assign({},t)).offset;var n=!0;this._tooltipNode&&(ke(this._tooltipNode,this._classes),n=!1);var o=this._ensureShown(e,t);return n&&this._tooltipNode&&ke(this._tooltipNode,this._classes),ke(e,["v-tooltip-open"]),o}}},{key:"_ensureShown",value:function(e,t){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,$e.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(t.title,t),this;var o=e.getAttribute("title")||t.title;if(!o)return this;var i=this._create(e,t.template);this._tooltipNode=i,e.setAttribute("aria-describedby",i.id);var r=this._findContainer(t.container,e);this._append(i,r);var s=Ne(Ne({},t.popperOptions),{},{placement:t.placement});return s.modifiers=Ne(Ne({},s.modifiers),{},{arrow:{element:this.options.arrowSelector}}),t.boundariesElement&&(s.modifiers.preventOverflow={boundariesElement:t.boundariesElement}),this.popperInstance=new pe(e,i,s),this._setContent(o,t),requestAnimationFrame(function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame(function(){n._isDisposed?n.dispose():n._isOpen&&i.setAttribute("aria-hidden","false")})):n.dispose()}),this}},{key:"_noLongerOpen",value:function(){var e=$e.indexOf(this);-1!==e&&$e.splice(e,1)}},{key:"_hide",value:function(){var e=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var t=ze.options.disposeTimeout;return null!==t&&(this._disposeTimer=setTimeout(function(){e._tooltipNode&&(e._tooltipNode.removeEventListener("mouseenter",e.hide),e._tooltipNode.removeEventListener("click",e.hide),e._removeTooltipNode())},t)),Te(this.reference,["v-tooltip-open"]),this}},{key:"_removeTooltipNode",value:function(){if(this._tooltipNode){var e=this._tooltipNode.parentNode;e&&(e.removeChild(this._tooltipNode),this.reference.removeAttribute("aria-describedby")),this._tooltipNode=null}}},{key:"_dispose",value:function(){var e=this;return this._isDisposed=!0,this.reference.removeAttribute("data-original-title"),this.$_originalTitle&&this.reference.setAttribute("title",this.$_originalTitle),this._events.forEach(function(t){var n=t.func,o=t.event;e.reference.removeEventListener(o,n)}),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||this._removeTooltipNode()):this._noLongerOpen(),this}},{key:"_findContainer",value:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e}},{key:"_append",value:function(e,t){t.appendChild(e)}},{key:"_setEventListeners",value:function(e,t,n){var o=this,i=[],r=[];t.forEach(function(e){switch(e){case"hover":i.push("mouseenter"),r.push("mouseleave"),o.options.hideOnTargetClick&&r.push("click");break;case"focus":i.push("focus"),r.push("blur"),o.options.hideOnTargetClick&&r.push("click");break;case"click":i.push("click"),r.push("click")}}),i.forEach(function(t){var i=function(t){!0!==o._isOpen&&(t.usedByTooltip=!0,o._scheduleShow(e,n.delay,n,t))};o._events.push({event:t,func:i}),e.addEventListener(t,i)}),r.forEach(function(t){var i=function(t){!0!==t.usedByTooltip&&o._scheduleHide(e,n.delay,n,t)};o._events.push({event:t,func:i}),e.addEventListener(t,i)})}},{key:"_onDocumentTouch",value:function(e){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,e)}},{key:"_scheduleShow",value:function(e,t,n){var o=this,i=t&&t.show||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){return o._show(e,n)},i)}},{key:"_scheduleHide",value:function(e,t,n,o){var i=this,r=t&&t.hide||t||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){if(!1!==i._isOpen&&i._tooltipNode.ownerDocument.body.contains(i._tooltipNode)){if("mouseleave"===o.type&&i._setTooltipNodeEvent(o,e,t,n))return;i._hide(e,n)}},r)}}],n&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e;var t,n}();function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}"undefined"!=typeof document&&document.addEventListener("touchstart",function(e){for(var t=0;t<$e.length;t++)$e[t]._onDocumentTouch(e)},!Oe||{passive:!0,capture:!0});var Ie={enabled:!0},je=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],Me={defaultPlacement:"top",defaultClass:"vue-tooltip-theme",defaultTargetClass:"has-tooltip",defaultHtml:!0,defaultTemplate:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultOpenClass:"open",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}};function Be(e){var t={placement:void 0!==e.placement?e.placement:ze.options.defaultPlacement,delay:void 0!==e.delay?e.delay:ze.options.defaultDelay,html:void 0!==e.html?e.html:ze.options.defaultHtml,template:void 0!==e.template?e.template:ze.options.defaultTemplate,arrowSelector:void 0!==e.arrowSelector?e.arrowSelector:ze.options.defaultArrowSelector,innerSelector:void 0!==e.innerSelector?e.innerSelector:ze.options.defaultInnerSelector,trigger:void 0!==e.trigger?e.trigger:ze.options.defaultTrigger,offset:void 0!==e.offset?e.offset:ze.options.defaultOffset,container:void 0!==e.container?e.container:ze.options.defaultContainer,boundariesElement:void 0!==e.boundariesElement?e.boundariesElement:ze.options.defaultBoundariesElement,autoHide:void 0!==e.autoHide?e.autoHide:ze.options.autoHide,hideOnTargetClick:void 0!==e.hideOnTargetClick?e.hideOnTargetClick:ze.options.defaultHideOnTargetClick,loadingClass:void 0!==e.loadingClass?e.loadingClass:ze.options.defaultLoadingClass,loadingContent:void 0!==e.loadingContent?e.loadingContent:ze.options.defaultLoadingContent,popperOptions:Le({},void 0!==e.popperOptions?e.popperOptions:ze.options.defaultPopperOptions)};if(t.offset){var n=s(t.offset),o=t.offset;("number"===n||"string"===n&&-1===o.indexOf(","))&&(o="0, ".concat(o)),t.popperOptions.modifiers||(t.popperOptions.modifiers={}),t.popperOptions.modifiers.offset={offset:o}}return t.trigger&&-1!==t.trigger.indexOf("click")&&(t.hideOnTargetClick=!1),t}function Re(e,t){for(var n=e.placement,o=0;o<je.length;o++){var i=je[o];t[i]&&(n=i)}return n}function He(e){var t=s(e);return"string"===t?e:!(!e||"object"!==t)&&e.content}function Fe(e){e._tooltip&&(e._tooltip.dispose(),delete e._tooltip,delete e._tooltipOldShow),e._tooltipTargetClasses&&(Te(e,e._tooltipTargetClasses),delete e._tooltipTargetClasses)}function We(e,t){var n=t.value;t.oldValue;var o,i=t.modifiers,r=He(n);r&&Ie.enabled?(e._tooltip?((o=e._tooltip).setContent(r),o.setOptions(Le(Le({},n),{},{placement:Re(n,i)}))):o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=He(t),i=void 0!==t.classes?t.classes:ze.options.defaultClass,r=Le({title:o},Be(Le(Le({},"object"===s(t)?t:{}),{},{placement:Re(t,n)}))),a=e._tooltip=new Pe(e,r);a.setClasses(i),a._vueEl=e;var l=void 0!==t.targetClasses?t.targetClasses:ze.options.defaultTargetClass;return e._tooltipTargetClasses=l,ke(e,l),a}(e,n,i),void 0!==n.show&&n.show!==e._tooltipOldShow&&(e._tooltipOldShow=n.show,n.show?o.show():o.hide())):Fe(e)}var ze={options:Me,bind:We,update:We,unbind:function(e){Fe(e)}};function qe(e){e.addEventListener("click",Ge),e.addEventListener("touchstart",Ue,!!Oe&&{passive:!0})}function Ve(e){e.removeEventListener("click",Ge),e.removeEventListener("touchstart",Ue),e.removeEventListener("touchend",Ke),e.removeEventListener("touchcancel",Ye)}function Ge(e){var t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Ue(e){if(1===e.changedTouches.length){var t=e.currentTarget;t.$_vclosepopover_touch=!0;var n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Ke),t.addEventListener("touchcancel",Ye)}}function Ke(e){var t=e.currentTarget;if(t.$_vclosepopover_touch=!1,1===e.changedTouches.length){var n=e.changedTouches[0],o=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Ye(e){e.currentTarget.$_vclosepopover_touch=!1}var Qe={bind:function(e,t){var n=t.value,o=t.modifiers;e.$_closePopoverModifiers=o,(void 0===n||n)&&qe(e)},update:function(e,t){var n=t.value,o=t.oldValue,i=t.modifiers;e.$_closePopoverModifiers=i,n!==o&&(void 0===n||n?qe(e):Ve(e))},unbind:function(e){Ve(e)}};function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach(function(t){l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ze(e){var t=ze.options.popover[e];return void 0===t?ze.options[e]:t}var et=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(et=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var tt=[],nt=function(){};"undefined"!=typeof window&&(nt=window.Element);var ot={name:"VPopover",components:{ResizeObserver:ge},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return Ze("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return Ze("defaultDelay")}},offset:{type:[String,Number],default:function(){return Ze("defaultOffset")}},trigger:{type:String,default:function(){return Ze("defaultTrigger")}},container:{type:[String,Object,nt,Boolean],default:function(){return Ze("defaultContainer")}},boundariesElement:{type:[String,nt],default:function(){return Ze("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return Ze("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return Ze("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return ze.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return ze.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return ze.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return ze.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return ze.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return ze.options.popover.defaultHandleResize}},openGroup:{type:String,default:null},openClass:{type:[String,Array],default:function(){return ze.options.popover.defaultOpenClass}},ariaId:{default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return l({},this.openClass,this.isOpen)},popoverId:function(){return"popover_".concat(null!=this.ariaId?this.ariaId:this.id)}},watch:{open:function(e){e?this.show():this.hide()},disabled:function(e,t){e!==t&&(e?this.hide():this.open&&this.show())},container:function(e){if(this.isOpen&&this.popperInstance){var t=this.$refs.popover,n=this.$refs.trigger,o=this.$_findContainer(this.container,n);if(!o)return void console.warn("No container for popover",this);o.appendChild(t),this.popperInstance.scheduleUpdate()}},trigger:function(e){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(e){var t=this;this.$_updatePopper(function(){t.popperInstance.options.placement=e})},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var e=this.$refs.popover;e.parentNode&&e.parentNode.removeChild(e),this.$_init(),this.open&&this.show()},deactivated:function(){this.hide()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.event;t.skipDelay;var o=t.force;!(void 0!==o&&o)&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame(function(){e.$_beingShowed=!1})},hide:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.event;e.skipDelay,this.$_scheduleHide(t),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var e=this.$refs.popover;e.parentNode&&e.parentNode.removeChild(e)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var e=this,t=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var o=this.$_findContainer(this.container,t);if(!o)return void console.warn("No container for popover",this);o.appendChild(n),this.$_mounted=!0,this.isOpen=!1,this.popperInstance&&requestAnimationFrame(function(){e.hidden||(e.isOpen=!0)})}if(!this.popperInstance){var i=Je(Je({},this.popperOptions),{},{placement:this.placement});if(i.modifiers=Je(Je({},i.modifiers),{},{arrow:Je(Je({},i.modifiers&&i.modifiers.arrow),{},{element:this.$refs.arrow})}),this.offset){var r=this.$_getOffset();i.modifiers.offset=Je(Je({},i.modifiers&&i.modifiers.offset),{},{offset:r})}this.boundariesElement&&(i.modifiers.preventOverflow=Je(Je({},i.modifiers&&i.modifiers.preventOverflow),{},{boundariesElement:this.boundariesElement})),this.popperInstance=new pe(t,n,i),requestAnimationFrame(function(){if(e.hidden)return e.hidden=!1,void e.$_hide();!e.$_isDisposed&&e.popperInstance?(e.popperInstance.scheduleUpdate(),requestAnimationFrame(function(){if(e.hidden)return e.hidden=!1,void e.$_hide();e.$_isDisposed?e.dispose():e.isOpen=!0})):e.dispose()})}var s=this.openGroup;if(s)for(var a,l=0;l<tt.length;l++)(a=tt[l]).openGroup!==s&&(a.hide(),a.$emit("close-group"));tt.push(this),this.$emit("apply-show")}},$_hide:function(){var e=this;if(this.isOpen){var t=tt.indexOf(this);-1!==t&&tt.splice(t,1),this.isOpen=!1,this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this.$_disposeTimer);var n=ze.options.popover.disposeTimeout||ze.options.disposeTimeout;null!==n&&(this.$_disposeTimer=setTimeout(function(){var t=e.$refs.popover;t&&(t.parentNode&&t.parentNode.removeChild(t),e.$_mounted=!1)},n)),this.$emit("apply-hide")}},$_findContainer:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e},$_getOffset:function(){var e=s(this.offset),t=this.offset;return("number"===e||"string"===e&&-1===t.indexOf(","))&&(t="0, ".concat(t)),t},$_addEventListeners:function(){var e=this,t=this.$refs.trigger,n=[],o=[];("string"==typeof this.trigger?this.trigger.split(" ").filter(function(e){return-1!==["click","hover","focus"].indexOf(e)}):[]).forEach(function(e){switch(e){case"hover":n.push("mouseenter"),o.push("mouseleave");break;case"focus":n.push("focus"),o.push("blur");break;case"click":n.push("click"),o.push("click")}}),n.forEach(function(n){var o=function(t){e.isOpen||(t.usedByTooltip=!0,!e.$_preventOpen&&e.show({event:t}),e.hidden=!1)};e.$_events.push({event:n,func:o}),t.addEventListener(n,o)}),o.forEach(function(n){var o=function(t){t.usedByTooltip||(e.hide({event:t}),e.hidden=!0)};e.$_events.push({event:n,func:o}),t.addEventListener(n,o)})},$_scheduleShow:function(){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),e)this.$_show();else{var t=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),t)}},$_scheduleHide:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var o=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout(function(){if(e.isOpen){if(t&&"mouseleave"===t.type&&e.$_setTooltipNodeEvent(t))return;e.$_hide()}},o)}},$_setTooltipNodeEvent:function(e){var t=this,n=this.$refs.trigger,o=this.$refs.popover,i=e.relatedreference||e.toElement||e.relatedTarget;return!!o.contains(i)&&(o.addEventListener(e.type,function i(r){var s=r.relatedreference||r.toElement||r.relatedTarget;o.removeEventListener(e.type,i),n.contains(s)||t.hide({event:r})}),!0)},$_removeEventListeners:function(){var e=this.$refs.trigger;this.$_events.forEach(function(t){var n=t.func,o=t.event;e.removeEventListener(o,n)}),this.$_events=[]},$_updatePopper:function(e){this.popperInstance&&(e(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var e=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),e&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout(function(){t.$_preventOpen=!1},300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function it(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=function(n){var o=tt[n];if(o.$refs.popover){var i=o.$refs.popover.contains(e.target);requestAnimationFrame(function(){(e.closeAllPopover||e.closePopover&&i||o.autoHide&&!i)&&o.$_handleGlobalClose(e,t)})}},o=0;o<tt.length;o++)n(o)}function rt(e,t,n,o,i,r,s,a,l,p){"boolean"!=typeof s&&(l=a,a=s,s=!1);const d="function"==typeof n?n.options:n;let c;if(e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,i&&(d.functional=!0)),o&&(d._scopeId=o),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=c):t&&(c=s?function(e){t.call(this,p(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,a(e))}),c)if(d.functional){const e=d.render;d.render=function(t,n){return c.call(n),e(t,n)}}else{const e=d.beforeCreate;d.beforeCreate=e?[].concat(e,c):[c]}return n}"undefined"!=typeof document&&"undefined"!=typeof window&&(et?document.addEventListener("touchend",function(e){it(e,!0)},!Oe||{passive:!0,capture:!0}):window.addEventListener("click",function(e){it(e)},!0));var st=ot,at=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-popover",class:e.cssClass},[n("div",{ref:"trigger",staticClass:"trigger",staticStyle:{display:"inline-block"},attrs:{"aria-describedby":e.isOpen?e.popoverId:void 0,tabindex:-1!==e.trigger.indexOf("focus")?0:void 0}},[e._t("default")],2),e._v(" "),n("div",{ref:"popover",class:[e.popoverBaseClass,e.popoverClass,e.cssClass],style:{visibility:e.isOpen?"visible":"hidden"},attrs:{id:e.popoverId,"aria-hidden":e.isOpen?"false":"true",tabindex:e.autoHide?0:void 0},on:{keyup:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;e.autoHide&&e.hide()}}},[n("div",{class:e.popoverWrapperClass},[n("div",{ref:"inner",class:e.popoverInnerClass,staticStyle:{position:"relative"}},[n("div",[e._t("popover",null,{isOpen:e.isOpen})],2),e._v(" "),e.handleResize?n("ResizeObserver",{on:{notify:e.$_handleResize}}):e._e()],1),e._v(" "),n("div",{ref:"arrow",class:e.popoverArrowClass})])])])};at._withStripped=!0;var lt=rt({render:at,staticRenderFns:[]},void 0,st,void 0,!1,void 0,!1,void 0,void 0,void 0);!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&o.firstChild?o.insertBefore(i,o.firstChild):o.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}(".resize-observer[data-v-8859cc6c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-8859cc6c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}");var pt={install:function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.installed){e.installed=!0;var o={};we()(o,Me,n),pt.options=o,ze.options=o,t.directive("tooltip",ze),t.directive("close-popover",Qe),t.component("VPopover",lt)}},get enabled(){return Ie.enabled},set enabled(e){Ie.enabled=e}},dt=null;"undefined"!=typeof window?dt=window.Vue:"undefined"!=typeof globalThis&&(dt=globalThis.Vue),dt&&dt.use(pt);const ct=pt;var ut=o(85471),ft=o(81222),ht=o(53334),vt=o(9165),mt=o(85168),gt=o(57505),yt=o(78928),bt=o(24764),_t=o(74095),wt=o(4604),At=o(6695),Ct=o(82182),kt=o(94219),Tt=o(371),Ot=o(44368),xt=o(15620),Et=o(63814);const Nt=(0,o(35947).YK)().setApp("settings").detectUser().build(),St=(0,Et.Jv)("/settings/personal/authtokens");var $t;(0,xt.IF)(Ot.Ay),function(e){e[e.TEMPORARY_TOKEN=0]="TEMPORARY_TOKEN",e[e.PERMANENT_TOKEN=1]="PERMANENT_TOKEN",e[e.WIPING_TOKEN=2]="WIPING_TOKEN",e[e.ONETIME_TOKEN=3]="ONETIME_TOKEN"}($t||($t={}));const Pt=(0,r.nY)("auth-token",{state:()=>({tokens:(0,ft.C)("settings","app_tokens",[])}),actions:{async updateToken(e){const{data:t}=await Ot.Ay.put(`${St}/${e.id}`,e,{confirmPassword:xt.mH.Strict});return t},async addToken(e){Nt.debug("Creating a new app token");try{const{data:t}=await Ot.Ay.post(St,{name:e,oneTime:!0},{confirmPassword:xt.mH.Strict});return this.tokens.push(t.deviceToken),Nt.debug("App token created"),t}catch{return null}},async deleteToken(e){Nt.debug("Deleting app token",{token:e}),this.tokens=this.tokens.filter(({id:t})=>t!==e.id);try{return await Ot.Ay.delete(`${St}/${e.id}`,{confirmPassword:xt.mH.Strict}),Nt.debug("App token deleted"),!0}catch(t){Nt.error("Could not delete app token",{error:t}),(0,mt.Qg)((0,ht.Tl)("settings","Could not delete the app token")),this.tokens.push(e)}return!1},async wipeToken(e){Nt.debug("Wiping app token",{token:e});try{return await(0,xt.C5)(),await Ot.Ay.post(`${St}/wipe/${e.id}`),Nt.debug("App token marked for wipe",{token:e}),e.type=$t.WIPING_TOKEN,e.canRename=!1,!0}catch(e){Nt.error("Could not wipe app token",{error:e}),(0,mt.Qg)((0,ht.Tl)("settings","Error while wiping the device with the token"))}return!1},async renameToken(e,t){Nt.debug(`renaming app token ${e.id} from ${e.name} to '${t}'`);const n=e.name;e.name=t;try{return await this.updateToken(e),Nt.debug("App token name updated"),!0}catch(t){Nt.error("Could not update app token name",{error:t}),(0,mt.Qg)((0,ht.Tl)("settings","Error while updating device token name")),e.name=n}return!1},async setTokenScope(e,t,n){Nt.debug("Updating app token scope",{token:e,scope:t,value:n});const o=e.scope[t];e.scope[t]=n;try{return await this.updateToken(e),Nt.debug("app token scope updated"),!0}catch(n){Nt.error("could not update app token scope",{error:n}),(0,mt.Qg)((0,ht.Tl)("settings","Error while updating device token scope")),e.scope[t]=o}return!1}}}),Dt=(0,ut.pM)({__name:"AuthTokenDeleteDialog",props:{token:null,open:{type:Boolean}},setup(e,{emit:t}){const n=e,o=(0,ut.EW)(()=>n.token.type===$t.WIPING_TOKEN),i=(0,ut.EW)(()=>o.value?{title:(0,ht.Tl)("settings","Revoke and cancel pending wipe?"),body:(0,ht.Tl)("settings","Only continue if you no longer need the device to be wiped."),action:(0,ht.Tl)("settings","Revoke and cancel wipe")}:{title:(0,ht.Tl)("settings","Revoke app password?"),body:(0,ht.Tl)("settings","The app or device will lose access on its next sync. This cannot be undone."),action:(0,ht.Tl)("settings","Revoke")}),r=(0,ut.EW)(()=>[{label:(0,ht.Tl)("settings","Cancel"),variant:"tertiary",callback:()=>t("update:open",!1)},{label:i.value.action,variant:"error",callback:()=>{t("confirm"),t("update:open",!1)}}]);return{__sfc:!0,props:n,emit:t,wiping:o,messages:i,buttons:r,t:ht.Tl,NcDialog:kt.A,NcNoteCard:Tt.A}}});var Lt=o(85072),It=o.n(Lt),jt=o(97825),Mt=o.n(jt),Bt=o(77659),Rt=o.n(Bt),Ht=o(55056),Ft=o.n(Ht),Wt=o(10540),zt=o.n(Wt),qt=o(41113),Vt=o.n(qt),Gt=o(89639),Ut={};Ut.styleTagTransform=Vt(),Ut.setAttributes=Ft(),Ut.insert=Rt().bind(null,"head"),Ut.domAPI=Mt(),Ut.insertStyleElement=zt(),It()(Gt.A,Ut),Gt.A&&Gt.A.locals&&Gt.A.locals;var Kt=o(14486);const Yt=(0,Kt.A)(Dt,function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.NcDialog,{attrs:{open:e.open,name:n.messages.title,buttons:n.buttons,size:"normal"},on:{"update:open":function(e){return n.emit("update:open",e)}}},[n.wiping?t(n.NcNoteCard,{attrs:{heading:n.t("settings","Remote wipe has not started yet."),type:"error"}},[e._v("\n\t\t"+e._s(n.t("settings","Revoking now cancels the wipe. The device keeps its synced data."))+"\n\t")]):e._e(),e._v(" "),t("p",{staticClass:"auth-token-delete-dialog__body"},[e._v("\n\t\t"+e._s(n.messages.body)+"\n\t")])],1)},[],!1,null,"feb1e502",null).exports,Qt={ie:/(?:MSIE|Trident|Trident\/7.0; rv)[ :](\d+)/,edge:/^Mozilla\/5\.0 \([^)]+\) AppleWebKit\/[0-9.]+ \(KHTML, like Gecko\) Chrome\/[0-9.]+ (?:Mobile Safari|Safari)\/[0-9.]+ Edge\/[0-9.]+$/,firefox:/^Mozilla\/5\.0 \((?![^)]*Android)[^)]*(Windows|OS X|Linux)[^)]+\) Gecko\/[0-9.]+ Firefox\/(\d+)(?:\.\d)?$/,androidChrome:/^Mozilla\/5\.0 \(Linux; Android[^)]+\) AppleWebKit\/[0-9.]+ \(KHTML, like Gecko\) Chrome\/(\d+)[0-9.]+ (?:Mobile )?Safari\/[0-9.]+$/,chrome:/^Mozilla\/5\.0 \((?![^)]*Android)[^)]*(Windows|OS X|Linux)[^)]+\) AppleWebKit\/[0-9.]+ \(KHTML, like Gecko\) Chrome\/(\d+)[0-9.]+ (?:Mobile Safari|Safari)\/[0-9.]+$/,safari:/^Mozilla\/5\.0 \([^)]*(Windows|OS X)[^)]+\) AppleWebKit\/[0-9.]+ \(KHTML, like Gecko\)(?: Version\/([0-9]+)[0-9.]+)? Safari\/[0-9.A-Z]+$/,iphone:/ *CPU +iPhone +OS +([0-9]+)_(?:[0-9_])+ +like +Mac +OS +X */,ipad:/\(iPad; *CPU +OS +([0-9]+)_(?:[0-9_])+ +like +Mac +OS +X */,iosClient:/^Mozilla\/5\.0 \(iOS\) (?:ownCloud|Nextcloud)-iOS.*$/,androidClient:/^Mozilla\/5\.0 \(Android\) (?:ownCloud|Nextcloud)-android.*$/,iosTalkClient:/^Mozilla\/5\.0 \(iOS\) Nextcloud-Talk.*$/,androidTalkClient:/^Mozilla\/5\.0 \(Android\) Nextcloud-Talk.*$/,davx5:/DAV(?:droid|x5)\/([^ ]+)/,webPirate:/(Sailfish).*WebPirate\/(\d+)/,sailfishBrowser:/(Sailfish).*SailfishBrowser\/(\d+)/,neon:/Neon \d+\.\d+\.\d+\+\d+/},Xt={edge:"Microsoft Edge",firefox:"Firefox",chrome:"Google Chrome",safari:"Safari",androidChrome:(0,ht.Tl)("settings","Google Chrome for Android"),iphone:"iPhone",ipad:"iPad",iosClient:(0,ht.Tl)("settings","{productName} iOS app",{productName:window.oc_defaults.productName}),androidClient:(0,ht.Tl)("settings","{productName} Android app",{productName:window.oc_defaults.productName}),iosTalkClient:(0,ht.Tl)("settings","{productName} Talk for iOS",{productName:window.oc_defaults.productName}),androidTalkClient:(0,ht.Tl)("settings","{productName} Talk for Android",{productName:window.oc_defaults.productName}),syncClient:(0,ht.Tl)("settings","Sync client"),davx5:"DAVx5",webPirate:"WebPirate",sailfishBrowser:"SailfishBrowser",neon:"Neon"},Jt=(0,ut.pM)({name:"AuthToken",components:{AuthTokenDeleteDialog:Yt,NcActions:bt.A,NcActionButton:gt.A,NcActionCheckbox:yt.N,NcButton:_t.A,NcDateTime:wt.A,NcIconSvgWrapper:At.A,NcTextField:Ct.A},props:{token:{type:Object,required:!0}},setup:()=>({authTokenStore:Pt()}),data:()=>({actionOpen:!1,renaming:!1,newName:"",oldName:"",deleteDialogOpen:!1,mdiCheck:vt.Tfj,TokenType:$t}),computed:{canChangeScope(){return this.token.type===$t.PERMANENT_TOKEN},client(){const e=this.token.name.match(/Mozilla\/5\.0 \((\w+)\) (?:mirall|csyncoC)\/(\d+\.\d+\.\d+)/);return e?{id:"syncClient",os:e[1],version:e[2]}:function(e){for(const t in Qt){const n=e.match(Qt[t]);if(n)return{id:t,version:n[2]??n[1],os:n[2]&&n[1]}}return null}(this.token.name)},tokenLastActivity(){return 1e3*this.token.lastActivity},tokenIcon(){if(this.token.type===$t.PERMANENT_TOKEN)return vt.Mx_;switch(this.client?.id){case"edge":return vt.MXC;case"firefox":return vt.Ckb;case"chrome":return vt.KR_;case"safari":return vt.lWO;case"androidChrome":case"androidClient":case"androidTalkClient":return vt.mbi;case"iphone":case"iosClient":case"iosTalkClient":return vt.qFD;case"ipad":return vt.Fzw;case"davx5":return vt.vrq;case"syncClient":return vt.F5c;default:return vt.zY6}},tokenLabel(){if(this.token.current)return(0,ht.Tl)("settings","This session");if(null===this.client)return this.token.name;const e=Xt[this.client.id];return this.client.os?(0,ht.Tl)("settings","{client} - {version} ({system})",{client:e,system:this.client.os,version:this.client.version}):this.client.version?(0,ht.Tl)("settings","{client} - {version}",{client:e,version:this.client.version}):e},wiping(){return this.token.type===$t.WIPING_TOKEN}},methods:{t:ht.Tl,updateFileSystemScope(e){this.authTokenStore.setTokenScope(this.token,"filesystem",e)},startRename(){this.actionOpen=!1,this.oldName=this.token.name,this.newName=this.token.name,this.renaming=!0,this.$nextTick(()=>{this.$refs.input.select()})},cancelRename(){this.renaming=!1},revoke(){this.actionOpen=!1,this.deleteDialogOpen=!0},confirmDelete(){this.authTokenStore.deleteToken(this.token)},rename(){this.renaming=!1,this.authTokenStore.renameToken(this.token,this.newName)},async wipe(){this.actionOpen=!1,await(0,mt.$T)({name:(0,ht.Tl)("settings","Confirm wipe"),text:(0,ht.Tl)("settings","Do you really want to wipe your data from this device?"),labelConfirm:(0,ht.Tl)("settings","Wipe device"),labelReject:(0,ht.Tl)("settings","Cancel"),severity:"warning"})&&this.authTokenStore.wipeToken(this.token)}}}),Zt=Jt;var en=o(21394),tn={};tn.styleTagTransform=Vt(),tn.setAttributes=Ft(),tn.insert=Rt().bind(null,"head"),tn.domAPI=Mt(),tn.insertStyleElement=zt(),It()(en.A,tn),en.A&&en.A.locals&&en.A.locals;var nn=(0,Kt.A)(Zt,function(){var e=this,t=e._self._c;return e._self._setupProxy,t("tr",{staticClass:"auth-token",class:[{"auth-token--wiping":e.wiping}],attrs:{"data-id":e.token.id}},[t("td",{staticClass:"auth-token__name"},[t("NcIconSvgWrapper",{attrs:{path:e.tokenIcon}}),e._v(" "),t("div",{staticClass:"auth-token__name-wrapper"},[e.token.canRename&&e.renaming?t("form",{staticClass:"auth-token__name-form",on:{submit:function(t){return t.preventDefault(),t.stopPropagation(),e.rename.apply(null,arguments)}}},[t("NcTextField",{ref:"input",attrs:{label:e.t("settings","Device name"),"show-trailing-button":!0,"trailing-button-label":e.t("settings","Cancel renaming")},on:{"trailing-button-click":e.cancelRename,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.cancelRename.apply(null,arguments)}},model:{value:e.newName,callback:function(t){e.newName=t},expression:"newName"}}),e._v(" "),t("NcButton",{attrs:{"aria-label":e.t("settings","Save new name"),variant:"tertiary",type:"submit"},scopedSlots:e._u([{key:"icon",fn:function(){return[t("NcIconSvgWrapper",{attrs:{path:e.mdiCheck}})]},proxy:!0}],null,!1,1018299955)})],1):t("span",[e._v(e._s(e.tokenLabel))]),e._v(" "),e.wiping?t("span",{staticClass:"wiping-warning"},[e._v("("+e._s(e.t("settings","Marked for remote wipe"))+")")]):e._e()])],1),e._v(" "),t("td",[t("NcDateTime",{staticClass:"auth-token__last-activity",attrs:{"ignore-seconds":!0,timestamp:e.tokenLastActivity}})],1),e._v(" "),t("td",{staticClass:"auth-token__actions"},[e.token.current?e._e():t("NcActions",{attrs:{title:e.t("settings","Device settings"),"aria-label":e.t("settings","Device settings"),open:e.actionOpen},on:{"update:open":function(t){e.actionOpen=t}}},[e.canChangeScope?t("NcActionCheckbox",{attrs:{"model-value":e.token.scope.filesystem},on:{"update:modelValue":e.updateFileSystemScope}},[e._v("\n\t\t\t\t"+e._s(e.t("settings","Allow filesystem access"))+"\n\t\t\t")]):e._e(),e._v(" "),e.token.canRename?t("NcActionButton",{attrs:{icon:"icon-rename"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.startRename.apply(null,arguments)}}},[e._v("\n\t\t\t\t"+e._s(e.t("settings","Rename"))+"\n\t\t\t")]):e._e(),e._v(" "),e.token.canDelete?[e.token.type!==e.TokenType.WIPING_TOKEN?[t("NcActionButton",{attrs:{icon:"icon-delete"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.revoke.apply(null,arguments)}}},[e._v("\n\t\t\t\t\t\t"+e._s(e.t("settings","Revoke"))+"\n\t\t\t\t\t")]),e._v(" "),t("NcActionButton",{attrs:{icon:"icon-delete"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.wipe.apply(null,arguments)}}},[e._v("\n\t\t\t\t\t\t"+e._s(e.t("settings","Wipe device"))+"\n\t\t\t\t\t")])]:t("NcActionButton",{attrs:{icon:"icon-delete",name:e.t("settings","Revoke")},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.revoke.apply(null,arguments)}}},[e._v("\n\t\t\t\t\t"+e._s(e.t("settings","Revoking this token might prevent the wiping of your device if it has not started the wipe yet."))+"\n\t\t\t\t")])]:e._e()],2)],1),e._v(" "),e.deleteDialogOpen?t("AuthTokenDeleteDialog",{attrs:{token:e.token,open:e.deleteDialogOpen},on:{"update:open":function(t){e.deleteDialogOpen=t},confirm:e.confirmDelete}}):e._e()],1)},[],!1,null,"0dbc95c6",null);const on=nn.exports,rn=(0,ut.pM)({name:"AuthTokenList",components:{AuthToken:on},setup:()=>({authTokenStore:Pt()}),computed:{sortedTokens(){return[...this.authTokenStore.tokens].filter(e=>e.type!==$t.ONETIME_TOKEN).sort((e,t)=>t.lastActivity-e.lastActivity)}},methods:{t:ht.Tl}});var sn=o(59340),an={};an.styleTagTransform=Vt(),an.setAttributes=Ft(),an.insert=Rt().bind(null,"head"),an.domAPI=Mt(),an.insertStyleElement=zt(),It()(sn.A,an),sn.A&&sn.A.locals&&sn.A.locals;const ln=(0,Kt.A)(rn,function(){var e=this,t=e._self._c;return e._self._setupProxy,t("table",{staticClass:"token-list",attrs:{id:"app-tokens-table"}},[t("thead",[t("tr",[t("th",{staticClass:"token-list__header-device"},[e._v("\n\t\t\t\t"+e._s(e.t("settings","Device"))+"\n\t\t\t")]),e._v(" "),t("th",{staticClass:"toke-list__header-activity"},[e._v("\n\t\t\t\t"+e._s(e.t("settings","Last activity"))+"\n\t\t\t")]),e._v(" "),t("th",[t("span",{staticClass:"hidden-visually"},[e._v("\n\t\t\t\t\t"+e._s(e.t("settings","Actions"))+"\n\t\t\t\t")])])])]),e._v(" "),t("tbody",{staticClass:"token-list__body"},e._l(e.sortedTokens,function(e){return t("AuthToken",{key:e.id,attrs:{token:e}})}),1)])},[],!1,null,"5fe11895",null).exports;var pn=o(17816),dn=o.n(pn);const cn=(0,ut.pM)({name:"AuthTokenSetupDialog",components:{NcButton:_t.A,NcDialog:kt.A,NcIconSvgWrapper:At.A,NcTextField:Ct.A,QR:dn()},props:{token:{type:Object,required:!1,default:null}},data:()=>({isNameCopied:!1,isPasswordCopied:!1,showQRCode:!1}),computed:{open:{get(){return null!==this.token},set(e){e||this.$emit("close")}},copyPasswordIcon(){return this.isPasswordCopied?vt.Tfj:vt.$BT},copyNameIcon(){return this.isNameCopied?vt.Tfj:vt.$BT},appPassword(){return this.token?.token??""},loginName(){return this.token?.loginName??""},qrUrl(){const e=window.location.protocol+"//"+window.location.host+(0,Et.aU)();return`nc://login/user:${this.loginName}&password:${this.appPassword}&server:${e}`},copyPasswordLabel(){return this.isPasswordCopied?(0,ht.Tl)("settings","App password copied!"):(0,ht.Tl)("settings","Copy app password")},copyLoginNameLabel(){return this.isNameCopied?(0,ht.Tl)("settings","Login name copied!"):(0,ht.Tl)("settings","Copy login name")}},watch:{token(){this.showQRCode=!1},open(){this.open&&this.$nextTick(()=>{this.$refs.appPassword.select()})}},methods:{t:ht.Tl,async copyPassword(){try{await navigator.clipboard.writeText(this.appPassword),this.isPasswordCopied=!0}catch(e){this.isPasswordCopied=!1,Nt.error(e),(0,mt.Qg)((0,ht.Tl)("settings","Could not copy app password. Please copy it manually."))}finally{setTimeout(()=>{this.isPasswordCopied=!1},4e3)}},async copyLoginName(){try{await navigator.clipboard.writeText(this.loginName),this.isNameCopied=!0}catch(e){this.isNameCopied=!1,Nt.error(e),(0,mt.Qg)((0,ht.Tl)("settings","Could not copy login name. Please copy it manually."))}finally{setTimeout(()=>{this.isNameCopied=!1},4e3)}}}});var un=o(56982),fn={};fn.styleTagTransform=Vt(),fn.setAttributes=Ft(),fn.insert=Rt().bind(null,"head"),fn.domAPI=Mt(),fn.insertStyleElement=zt(),It()(un.A,fn),un.A&&un.A.locals&&un.A.locals;const hn=(0,Kt.A)(cn,function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcDialog",{attrs:{open:e.open,name:e.t("settings","New app password"),"content-classes":"token-dialog"},on:{"update:open":function(t){e.open=t}}},[t("p",[e._v("\n\t\t"+e._s(e.t("settings","Use the credentials below to configure your app or device. For security reasons this password will only be shown once."))+"\n\t")]),e._v(" "),t("div",{staticClass:"token-dialog__name"},[t("NcTextField",{attrs:{label:e.t("settings","Login"),"model-value":e.loginName,readonly:""}}),e._v(" "),t("NcButton",{attrs:{variant:"tertiary",title:e.copyLoginNameLabel,"aria-label":e.copyLoginNameLabel},on:{click:e.copyLoginName},scopedSlots:e._u([{key:"icon",fn:function(){return[t("NcIconSvgWrapper",{attrs:{path:e.copyNameIcon}})]},proxy:!0}])})],1),e._v(" "),t("div",{staticClass:"token-dialog__password"},[t("NcTextField",{ref:"appPassword",attrs:{label:e.t("settings","Password"),"model-value":e.appPassword,readonly:""}}),e._v(" "),t("NcButton",{attrs:{variant:"tertiary",title:e.copyPasswordLabel,"aria-label":e.copyPasswordLabel},on:{click:e.copyPassword},scopedSlots:e._u([{key:"icon",fn:function(){return[t("NcIconSvgWrapper",{attrs:{path:e.copyPasswordIcon}})]},proxy:!0}])})],1),e._v(" "),t("div",{staticClass:"token-dialog__qrcode"},[e.showQRCode?t("QR",{attrs:{value:e.qrUrl}}):t("NcButton",{on:{click:function(t){e.showQRCode=!0}}},[e._v("\n\t\t\t"+e._s(e.t("settings","Show QR code for mobile apps"))+"\n\t\t")])],1)])},[],!1,null,"1a608fc0",null).exports,vn=(0,ut.pM)({name:"AuthTokenSetup",components:{NcButton:_t.A,NcTextField:Ct.A,AuthTokenSetupDialog:hn},setup:()=>({authTokenStore:Pt()}),data:()=>({deviceName:"",loading:!1,newToken:null}),methods:{t:ht.Tl,reset(){this.loading=!1,this.deviceName="",this.newToken=null},async submit(){try{this.loading=!0,this.newToken=await this.authTokenStore.addToken(this.deviceName)}catch(e){Nt.error(e),(0,mt.Qg)((0,ht.Tl)("settings","Error while creating device token")),this.reset()}finally{this.loading=!1}}}});var mn=o(5981),gn={};gn.styleTagTransform=Vt(),gn.setAttributes=Ft(),gn.insert=Rt().bind(null,"head"),gn.domAPI=Mt(),gn.insertStyleElement=zt(),It()(mn.A,gn),mn.A&&mn.A.locals&&mn.A.locals;var yn=(0,Kt.A)(vn,function(){var e=this,t=e._self._c;return e._self._setupProxy,t("form",{attrs:{id:"generate-app-token-section"},on:{submit:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[t("NcTextField",{staticClass:"app-name-text-field",attrs:{type:"text",maxlength:120,disabled:e.loading,label:e.t("settings","App name"),placeholder:e.t("settings","App name")},model:{value:e.deviceName,callback:function(t){e.deviceName=t},expression:"deviceName"}}),e._v(" "),t("NcButton",{attrs:{variant:"primary",disabled:e.loading||0===e.deviceName.length,type:"submit"}},[e._v("\n\t\t"+e._s(e.t("settings","Create new app password"))+"\n\t")]),e._v(" "),t("AuthTokenSetupDialog",{attrs:{token:e.newToken},on:{close:function(t){e.newToken=null}}})],1)},[],!1,null,"1966201e",null);const bn=yn.exports,_n=(0,ut.pM)({name:"AuthTokenSection",components:{AuthTokenList:ln,AuthTokenSetup:bn},data:()=>({canCreateToken:(0,ft.C)("settings","can_create_app_token")}),methods:{t:ht.Tl}}),wn=(0,Kt.A)(_n,function(){var e=this,t=e._self._c;return e._self._setupProxy,t("div",{staticClass:"section",attrs:{id:"security"}},[t("h2",[e._v(e._s(e.t("settings","Devices & sessions",{},void 0,{sanitize:!1})))]),e._v(" "),t("p",{staticClass:"settings-hint hidden-when-empty"},[e._v("\n\t\t"+e._s(e.t("settings","Web, desktop and mobile clients currently logged in to your account."))+"\n\t")]),e._v(" "),t("AuthTokenList"),e._v(" "),e.canCreateToken?t("AuthTokenSetup"):e._e()],1)},[],!1,null,null,null).exports;o.nc=(0,i.aV)();const An=(0,r.Ey)();ut.Ay.use(r.R2),ut.Ay.use(ct,{defaultHtml:!1}),ut.Ay.prototype.t=t,new(ut.Ay.extend(wn))({pinia:An}).$mount("#security-authtokens")},21394(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n(71354),i=n.n(o),r=n(76314),s=n.n(r)()(i());s.push([e.id,".auth-token[data-v-0dbc95c6]{border-top:2px solid var(--color-border);max-width:200px;white-space:normal;vertical-align:middle;position:relative}.auth-token--wiping[data-v-0dbc95c6]{background-color:var(--color-background-dark)}.auth-token__name[data-v-0dbc95c6]{padding-block:10px;display:flex;align-items:center;gap:6px;min-width:355px}.auth-token__name-wrapper[data-v-0dbc95c6]{display:flex;flex-direction:column}.auth-token__name-form[data-v-0dbc95c6]{align-items:end;display:flex;gap:4px}.auth-token__actions[data-v-0dbc95c6]{padding:0 10px}.auth-token__last-activity[data-v-0dbc95c6]{padding-inline-start:10px}.auth-token .wiping-warning[data-v-0dbc95c6]{color:var(--color-text-maxcontrast)}","",{version:3,sources:["webpack://./apps/settings/src/components/AuthToken.vue"],names:[],mappings:"AACA,6BACC,wCAAA,CACA,eAAA,CACA,kBAAA,CACA,qBAAA,CACA,iBAAA,CAEA,qCACC,6CAAA,CAGD,mCACC,kBAAA,CACA,YAAA,CACA,kBAAA,CACA,OAAA,CACA,eAAA,CAGD,2CACC,YAAA,CACA,qBAAA,CAGD,wCACC,eAAA,CACA,YAAA,CACA,OAAA,CAGD,sCACC,cAAA,CAGD,4CACC,yBAAA,CAGD,6CACC,mCAAA",sourcesContent:["\n.auth-token {\n\tborder-top: 2px solid var(--color-border);\n\tmax-width: 200px;\n\twhite-space: normal;\n\tvertical-align: middle;\n\tposition: relative;\n\n\t&--wiping {\n\t\tbackground-color: var(--color-background-dark);\n\t}\n\n\t&__name {\n\t\tpadding-block: 10px;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tgap: 6px;\n\t\tmin-width: 355px; // ensure no jumping when renaming\n\t}\n\n\t&__name-wrapper {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t}\n\n\t&__name-form {\n\t\talign-items: end;\n\t\tdisplay: flex;\n\t\tgap: 4px;\n\t}\n\n\t&__actions {\n\t\tpadding: 0 10px;\n\t}\n\n\t&__last-activity {\n\t\tpadding-inline-start: 10px;\n\t}\n\n\t.wiping-warning {\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n}\n"],sourceRoot:""}]);const a=s},89639(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n(71354),i=n.n(o),r=n(76314),s=n.n(r)()(i());s.push([e.id,".auth-token-delete-dialog__body[data-v-feb1e502]{margin-block-start:calc(var(--default-grid-baseline)*2)}","",{version:3,sources:["webpack://./apps/settings/src/components/AuthTokenDeleteDialog.vue"],names:[],mappings:"AACA,iDACC,uDAAA",sourcesContent:["\n.auth-token-delete-dialog__body {\n\tmargin-block-start: calc(var(--default-grid-baseline) * 2);\n}\n"],sourceRoot:""}]);const a=s},59340(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n(71354),i=n.n(o),r=n(76314),s=n.n(r)()(i());s.push([e.id,".token-list[data-v-5fe11895]{width:100%;min-height:50px;padding-top:5px;max-width:fit-content}.token-list th[data-v-5fe11895]{padding-block:10px;padding-inline-start:10px}.token-list .token-list__header-device[data-v-5fe11895]{padding-inline-start:50px}.token-list__header-activity[data-v-5fe11895]{text-align:end}","",{version:3,sources:["webpack://./apps/settings/src/components/AuthTokenList.vue"],names:[],mappings:"AACA,6BACC,UAAA,CACA,eAAA,CACA,eAAA,CACA,qBAAA,CAEA,gCACC,kBAAA,CACA,yBAAA,CAGD,wDACC,yBAAA,CAED,8CACC,cAAA",sourcesContent:["\n.token-list {\n\twidth: 100%;\n\tmin-height: 50px;\n\tpadding-top: 5px;\n\tmax-width: fit-content;\n\n\tth {\n\t\tpadding-block: 10px;\n\t\tpadding-inline-start: 10px;\n\t}\n\n\t#{&}__header-device {\n\t\tpadding-inline-start: 50px; // 44px icon + 6px padding\n\t}\n\t&__header-activity {\n\t\ttext-align: end;\n\t}\n}\n"],sourceRoot:""}]);const a=s},5981(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n(71354),i=n.n(o),r=n(76314),s=n.n(r)()(i());s.push([e.id,"#generate-app-token-section[data-v-1966201e]{display:flex;flex-direction:column;gap:1rem;max-width:400px;padding-top:16px}","",{version:3,sources:["webpack://./apps/settings/src/components/AuthTokenSetup.vue"],names:[],mappings:"AACA,6CACC,YAAA,CACA,qBAAA,CACA,QAAA,CACA,eAAA,CACA,gBAAA",sourcesContent:["\n#generate-app-token-section {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 1rem;\n\tmax-width: 400px;\n\tpadding-top: 16px;\n}\n"],sourceRoot:""}]);const a=s},56982(e,t,n){"use strict";n.d(t,{A:()=>a});var o=n(71354),i=n.n(o),r=n(76314),s=n.n(r)()(i());s.push([e.id,"[data-v-1a608fc0] .token-dialog{display:flex;flex-direction:column;gap:12px;padding-inline:22px;padding-block-end:20px}[data-v-1a608fc0] .token-dialog>*{box-sizing:border-box}.token-dialog__name[data-v-1a608fc0],.token-dialog__password[data-v-1a608fc0]{align-items:end;display:flex;gap:10px}.token-dialog__name[data-v-1a608fc0] input,.token-dialog__password[data-v-1a608fc0] input{font-family:monospace}.token-dialog__qrcode[data-v-1a608fc0]{display:flex;justify-content:center}","",{version:3,sources:["webpack://./apps/settings/src/components/AuthTokenSetupDialog.vue"],names:[],mappings:"AACA,gCACC,YAAA,CACA,qBAAA,CACA,QAAA,CAEA,mBAAA,CACA,sBAAA,CAEA,kCACC,qBAAA,CAKD,8EACC,eAAA,CACA,YAAA,CACA,QAAA,CAEA,0FACC,qBAAA,CAIF,uCACC,YAAA,CACA,sBAAA",sourcesContent:["\n:deep(.token-dialog) {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 12px;\n\n\tpadding-inline: 22px;\n\tpadding-block-end: 20px;\n\n\t> * {\n\t\tbox-sizing: border-box;\n\t}\n}\n\n.token-dialog {\n\t&__name, &__password {\n\t\talign-items: end;\n\t\tdisplay: flex;\n\t\tgap: 10px;\n\n\t\t:deep(input) {\n\t\t\tfont-family: monospace;\n\t\t}\n\t}\n\n\t&__qrcode {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t}\n}\n"],sourceRoot:""}]);const a=s},87805(e,t,n){var o=n(43360),i=n(75288);e.exports=function(e,t,n){(void 0!==n&&!i(e[t],n)||void 0===n&&!(t in e))&&o(e,t,n)}},85250(e,t,n){var o=n(37217),i=n(87805),r=n(86649),s=n(42824),a=n(23805),l=n(37241),p=n(14974);e.exports=function e(t,n,d,c,u){t!==n&&r(n,function(r,l){if(u||(u=new o),a(r))s(t,n,l,d,e,c,u);else{var f=c?c(p(t,l),r,l+"",t,n,u):void 0;void 0===f&&(f=r),i(t,l,f)}},l)}},42824(e,t,n){var o=n(87805),i=n(93290),r=n(71961),s=n(23007),a=n(35529),l=n(72428),p=n(56449),d=n(83693),c=n(3656),u=n(1882),f=n(23805),h=n(11331),v=n(37167),m=n(14974),g=n(69884);e.exports=function(e,t,n,y,b,_,w){var A=m(e,n),C=m(t,n),k=w.get(C);if(k)o(e,n,k);else{var T=_?_(A,C,n+"",e,t,w):void 0,O=void 0===T;if(O){var x=p(C),E=!x&&c(C),N=!x&&!E&&v(C);T=C,x||E||N?p(A)?T=A:d(A)?T=s(A):E?(O=!1,T=i(C,!0)):N?(O=!1,T=r(C,!0)):T=[]:h(C)||l(C)?(T=A,l(A)?T=g(A):f(A)&&!u(A)||(T=a(C))):O=!1}O&&(w.set(C,T),b(T,C,y,_,w),w.delete(C)),o(e,n,T)}}},20999(e,t,n){var o=n(69302),i=n(36800);e.exports=function(e){return o(function(t,n){var o=-1,r=n.length,s=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(s=e.length>3&&"function"==typeof s?(r--,s):void 0,a&&i(n[0],n[1],a)&&(s=r<3?void 0:s,r=1),t=Object(t);++o<r;){var l=n[o];l&&e(t,l,o,s)}return t})}},14974(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},83693(e,t,n){var o=n(64894),i=n(40346);e.exports=function(e){return i(e)&&o(e)}},2404(e,t,n){var o=n(60270);e.exports=function(e,t){return o(e,t)}},55364(e,t,n){var o=n(85250),i=n(20999)(function(e,t,n){o(e,t,n)});e.exports=i},69884(e,t,n){var o=n(21791),i=n(37241);e.exports=function(e){return o(e,i(e))}}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={id:e,loaded:!1,exports:{}};return i[e].call(n.exports,n,n.exports,s),n.loaded=!0,n.exports}s.m=i,e=[],s.O=(t,n,o,i)=>{if(!n){var r=1/0;for(d=0;d<e.length;d++){for(var[n,o,i]=e[d],a=!0,l=0;l<n.length;l++)(!1&i||r>=i)&&Object.keys(s.O).every(e=>s.O[e](n[l]))?n.splice(l--,1):(a=!1,i<r&&(r=i));if(a){e.splice(d--,1);var p=o();void 0!==p&&(t=p)}}return t}i=i||0;for(var d=e.length;d>0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[n,o,i]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,n)=>(s.f[n](e,t),t),[])),s.u=e=>e+"-"+e+".js?v="+{853:"6833bedf1e8274b7e505",1604:"a9b2c11c7ea153e582fe",6505:"d9fda59cc4f5faf614df",6597:"ed51e93335fe8b279e03",7859:"40215e5f906f720b3174",8582:"5436a03717a70af24780",9150:"6df0bf97719b9e8b8cd0"}[e],s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},o="nextcloud-ui-legacy:",s.l=(e,t,i,r)=>{if(n[e])n[e].push(t);else{var a,l;if(void 0!==i)for(var p=document.getElementsByTagName("script"),d=0;d<p.length;d++){var c=p[d];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==o+i){a=c;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",o+i),a.src=e),n[e]=[t];var u=(t,o)=>{a.onerror=a.onload=null,clearTimeout(f);var i=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach(e=>e(o)),t)return t(o)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=u.bind(null,a.onerror),a.onload=u.bind(null,a.onload),l&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.j=2131,(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var t=globalThis.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=n[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{s.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={2131:0};s.f.j=(t,n)=>{var o=s.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var i=new Promise((n,i)=>o=e[t]=[n,i]);n.push(o[2]=i);var r=s.p+s.u(t),a=new Error;s.l(r,n=>{if(s.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+r+")",a.name="ChunkLoadError",a.type=i,a.request=r,o[1](a)}},"chunk-"+t,t)}},s.O.j=t=>0===e[t];var t=(t,n)=>{var o,i,[r,a,l]=n,p=0;if(r.some(t=>0!==e[t])){for(o in a)s.o(a,o)&&(s.m[o]=a[o]);if(l)var d=l(s)}for(t&&t(n);p<r.length;p++)i=r[p],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return s.O(d)},n=globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),s.nc=void 0;var a=s.O(void 0,[4208],()=>s(99419));a=s.O(a)})();
|
|
//# sourceMappingURL=settings-vue-settings-personal-security.js.map?v=6427d3f2ef2334dbfe39
|