diff options
author | Valdnet <47037905+Valdnet@users.noreply.github.com> | 2021-05-21 16:45:54 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-06-02 18:49:32 +0300 |
commit | 9c6b01abeba6928bd43dc71ac2f2372f2ea0c49f (patch) | |
tree | 58f98d4c7b25dade23c4b77cfec8bdc3288eab14 /apps/workflowengine/js/workflowengine.js | |
parent | d0cf20cc51c6f7d119d21d3ea3ed81b9b52f2c9d (diff) |
l10n: Spelling unification
Spelling unification in Transifex.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Diffstat (limited to 'apps/workflowengine/js/workflowengine.js')
-rw-r--r-- | apps/workflowengine/js/workflowengine.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/workflowengine/js/workflowengine.js b/apps/workflowengine/js/workflowengine.js index ecf99dbb5a3..aced1925879 100644 --- a/apps/workflowengine/js/workflowengine.js +++ b/apps/workflowengine/js/workflowengine.js @@ -422,7 +422,7 @@ a.VTooltip.options.defaultTemplate='<div class="vue-tooltip" role="tooltip" data * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,a=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var r=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),a))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function i(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=i(t),n=e.overflow,a=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(n+r+a)?t:c(s(t))}function l(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?u:10===t?d:u||d}function A(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var a=n&&n.nodeName;return a&&"BODY"!==a&&"HTML"!==a?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===i(n,"position")?A(n):n:t?t.ownerDocument.documentElement:document.documentElement}function f(t){return null!==t.parentNode?f(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,a=n?t:e,r=n?e:t,o=document.createRange();o.setStart(a,0),o.setEnd(r,0);var i,s,c=o.commonAncestorContainer;if(t!==c&&e!==c||a.contains(r))return"BODY"===(s=(i=c).nodeName)||"HTML"!==s&&A(i.firstElementChild)!==i?A(c):c;var l=f(t);return l.host?m(l.host,e):m(t,f(e).host)}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",a=t.nodeName;if("BODY"===a||"HTML"===a){var r=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||r;return o[n]}return t[n]}function M(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=h(e,"top"),r=h(e,"left"),o=n?-1:1;return t.top+=a*o,t.bottom+=a*o,t.left+=r*o,t.right+=r*o,t}function g(t,e){var n="x"===e?"Left":"Top",a="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+a+"Width"])}function b(t,e,n,a){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(a["margin"+("Height"===t?"Top":"Left")])+parseInt(a["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,n=t.documentElement,a=p(10)&&getComputedStyle(n);return{height:b("Height",e,n,a),width:b("Width",e,n,a)}}var v=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},y=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),L=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t};function C(t){return w({},t,{right:t.left+t.width,bottom:t.top+t.height})}function T(t){var e={};try{if(p(10)){e=t.getBoundingClientRect();var n=h(t,"top"),a=h(t,"left");e.top+=n,e.left+=a,e.bottom+=n,e.right+=a}else e=t.getBoundingClientRect()}catch(t){}var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?_(t.ownerDocument):{},s=o.width||t.clientWidth||r.width,c=o.height||t.clientHeight||r.height,l=t.offsetWidth-s,u=t.offsetHeight-c;if(l||u){var d=i(t);l-=g(d,"x"),u-=g(d,"y"),r.width-=l,r.height-=u}return C(r)}function x(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=p(10),r="HTML"===e.nodeName,o=T(t),s=T(e),l=c(t),u=i(e),d=parseFloat(u.borderTopWidth),A=parseFloat(u.borderLeftWidth);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var f=C({top:o.top-s.top-d,left:o.left-s.left-A,width:o.width,height:o.height});if(f.marginTop=0,f.marginLeft=0,!a&&r){var m=parseFloat(u.marginTop),h=parseFloat(u.marginLeft);f.top-=d-m,f.bottom-=d-m,f.left-=A-h,f.right-=A-h,f.marginTop=m,f.marginLeft=h}return(a&&!n?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(f=M(f,e)),f}function k(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,a=x(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),i=e?0:h(n),s=e?0:h(n,"left"),c={top:i-a.top+a.marginTop,left:s-a.left+a.marginLeft,width:r,height:o};return C(c)}function z(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===i(t,"position"))return!0;var n=s(t);return!!n&&z(n)}function O(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===i(e,"transform");)e=e.parentElement;return e||document.documentElement}function S(t,e,n,a){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},i=r?O(t):m(t,l(e));if("viewport"===a)o=k(i,r);else{var u=void 0;"scrollParent"===a?"BODY"===(u=c(s(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===a?t.ownerDocument.documentElement:a;var d=x(u,i,r);if("HTML"!==u.nodeName||z(i))o=d;else{var p=_(t.ownerDocument),A=p.height,f=p.width;o.top+=d.top-d.marginTop,o.bottom=A+d.top,o.left+=d.left-d.marginLeft,o.right=f+d.left}}var h="number"==typeof(n=n||0);return o.left+=h?n:n.left||0,o.top+=h?n:n.top||0,o.right-=h?n:n.right||0,o.bottom-=h?n:n.bottom||0,o}function B(t){return t.width*t.height}function E(t,e,n,a,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var i=S(n,a,o,r),s={top:{width:i.width,height:e.top-i.top},right:{width:i.right-e.right,height:i.height},bottom:{width:i.width,height:i.bottom-e.bottom},left:{width:e.left-i.left,height:i.height}},c=Object.keys(s).map((function(t){return w({key:t},s[t],{area:B(s[t])})})).sort((function(t,e){return e.area-t.area})),l=c.filter((function(t){var e=t.width,a=t.height;return e>=n.clientWidth&&a>=n.clientHeight})),u=l.length>0?l[0].key:c[0].key,d=t.split("-")[1];return u+(d?"-"+d:"")}function N(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=a?O(e):m(e,l(n));return x(n,r,a)}function D(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),a=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+a,height:t.offsetHeight+n}}function Y(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function j(t,e,n){n=n.split("-")[0];var a=D(t),r={width:a.width,height:a.height},o=-1!==["right","left"].indexOf(n),i=o?"top":"left",s=o?"left":"top",c=o?"height":"width",l=o?"width":"height";return r[i]=e[i]+e[c]/2-a[c]/2,r[s]=n===s?e[s]-a[l]:e[Y(s)],r}function I(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function P(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var a=I(t,(function(t){return t[e]===n}));return t.indexOf(a)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=C(e.offsets.popper),e.offsets.reference=C(e.offsets.reference),e=n(e,t))})),e}function W(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=E(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=j(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=P(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function q(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function R(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),a=0;a<e.length;a++){var r=e[a],o=r?""+r+n:t;if(void 0!==document.body.style[o])return o}return null}function F(){return this.state.isDestroyed=!0,q(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[R("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function H(t){var e=t.ownerDocument;return e?e.defaultView:window}function X(t,e,n,a){n.updateBound=a,H(t).addEventListener("resize",n.updateBound,{passive:!0});var r=c(t);return function t(e,n,a,r){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(n,a,{passive:!0}),o||t(c(i.parentNode),n,a,r),r.push(i)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function U(){this.state.eventsEnabled||(this.state=X(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,H(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function Q(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function $(t,e){Object.keys(e).forEach((function(n){var a="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Q(e[n])&&(a="px"),t.style[n]=e[n]+a}))}var V=n&&/Firefox/i.test(navigator.userAgent);function J(t,e,n){var a=I(t,(function(t){return t.name===e})),r=!!a&&t.some((function(t){return t.name===n&&t.enabled&&t.order<a.order}));if(!r){var o="`"+e+"`",i="`"+n+"`";console.warn(i+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}var K=["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"],Z=K.slice(3);function tt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(t),a=Z.slice(n+1).concat(Z.slice(0,n));return e?a.reverse():a}var et="flip",nt="clockwise",at="counterclockwise";function rt(t,e,n,a){var r=[0,0],o=-1!==["right","left"].indexOf(a),i=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=i.indexOf(I(i,(function(t){return-1!==t.search(/,|\s/)})));i[s]&&-1===i[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=-1!==s?[i.slice(0,s).concat([i[s].split(c)[0]]),[i[s].split(c)[1]].concat(i.slice(s+1))]:[i];return(l=l.map((function(t,a){var r=(1===a?!o:o)?"height":"width",i=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,i=!0,t):i?(t[t.length-1]+=e,i=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,a){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],i=r[2];if(!o)return t;if(0===i.indexOf("%")){var s=void 0;switch(i){case"%p":s=n;break;case"%":case"%r":default:s=a}return C(s)[e]/100*o}if("vh"===i||"vw"===i){return("vh"===i?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}(t,r,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,a){Q(n)&&(r[e]+=n*("-"===t[a-1]?-1:1))}))})),r}var ot={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],a=e.split("-")[1];if(a){var r=t.offsets,o=r.reference,i=r.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",l=s?"width":"height",u={start:L({},c,o[c]),end:L({},c,o[c]+o[l]-i[l])};t.offsets.popper=w({},i,u[a])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,a=t.placement,r=t.offsets,o=r.popper,i=r.reference,s=a.split("-")[0],c=void 0;return c=Q(+n)?[+n,0]:rt(n,o,i,s),"left"===s?(o.top+=c[0],o.left-=c[1]):"right"===s?(o.top+=c[0],o.left+=c[1]):"top"===s?(o.left+=c[0],o.top-=c[1]):"bottom"===s&&(o.left+=c[0],o.top+=c[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||A(t.instance.popper);t.instance.reference===n&&(n=A(n));var a=R("transform"),r=t.instance.popper.style,o=r.top,i=r.left,s=r[a];r.top="",r.left="",r[a]="";var c=S(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);r.top=o,r.left=i,r[a]=s,e.boundaries=c;var l=e.priority,u=t.offsets.popper,d={primary:function(t){var n=u[t];return u[t]<c[t]&&!e.escapeWithReference&&(n=Math.max(u[t],c[t])),L({},t,n)},secondary:function(t){var n="right"===t?"left":"top",a=u[n];return u[t]>c[t]&&!e.escapeWithReference&&(a=Math.min(u[n],c[t]-("right"===t?u.width:u.height))),L({},n,a)}};return l.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=w({},u,d[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,a=e.reference,r=t.placement.split("-")[0],o=Math.floor,i=-1!==["top","bottom"].indexOf(r),s=i?"right":"bottom",c=i?"left":"top",l=i?"width":"height";return n[s]<o(a[c])&&(t.offsets.popper[c]=o(a[c])-n[l]),n[c]>o(a[s])&&(t.offsets.popper[c]=o(a[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!J(t.instance.modifiers,"arrow","keepTogether"))return t;var a=e.element;if("string"==typeof a){if(!(a=t.instance.popper.querySelector(a)))return t}else if(!t.instance.popper.contains(a))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,s=o.popper,c=o.reference,l=-1!==["left","right"].indexOf(r),u=l?"height":"width",d=l?"Top":"Left",p=d.toLowerCase(),A=l?"left":"top",f=l?"bottom":"right",m=D(a)[u];c[f]-m<s[p]&&(t.offsets.popper[p]-=s[p]-(c[f]-m)),c[p]+m>s[f]&&(t.offsets.popper[p]+=c[p]+m-s[f]),t.offsets.popper=C(t.offsets.popper);var h=c[p]+c[u]/2-m/2,M=i(t.instance.popper),g=parseFloat(M["margin"+d]),b=parseFloat(M["border"+d+"Width"]),_=h-t.offsets.popper[p]-g-b;return _=Math.max(Math.min(s[u]-m,_),0),t.arrowElement=a,t.offsets.arrow=(L(n={},p,Math.round(_)),L(n,A,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(q(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=S(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),a=t.placement.split("-")[0],r=Y(a),o=t.placement.split("-")[1]||"",i=[];switch(e.behavior){case et:i=[a,r];break;case nt:i=tt(a);break;case at:i=tt(a,!0);break;default:i=e.behavior}return i.forEach((function(s,c){if(a!==s||i.length===c+1)return t;a=t.placement.split("-")[0],r=Y(a);var l=t.offsets.popper,u=t.offsets.reference,d=Math.floor,p="left"===a&&d(l.right)>d(u.left)||"right"===a&&d(l.left)<d(u.right)||"top"===a&&d(l.bottom)>d(u.top)||"bottom"===a&&d(l.top)<d(u.bottom),A=d(l.left)<d(n.left),f=d(l.right)>d(n.right),m=d(l.top)<d(n.top),h=d(l.bottom)>d(n.bottom),M="left"===a&&A||"right"===a&&f||"top"===a&&m||"bottom"===a&&h,g=-1!==["top","bottom"].indexOf(a),b=!!e.flipVariations&&(g&&"start"===o&&A||g&&"end"===o&&f||!g&&"start"===o&&m||!g&&"end"===o&&h),_=!!e.flipVariationsByContent&&(g&&"start"===o&&f||g&&"end"===o&&A||!g&&"start"===o&&h||!g&&"end"===o&&m),v=b||_;(p||M||v)&&(t.flipped=!0,(p||M)&&(a=i[c+1]),v&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=a+(o?"-"+o:""),t.offsets.popper=w({},t.offsets.popper,j(t.instance.popper,t.offsets.reference,t.placement)),t=P(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],a=t.offsets,r=a.popper,o=a.reference,i=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[i?"left":"top"]=o[n]-(s?r[i?"width":"height"]:0),t.placement=Y(e),t.offsets.popper=C(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!J(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=I(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,a=e.y,r=t.offsets.popper,o=I(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var i=void 0!==o?o:e.gpuAcceleration,s=A(t.instance.popper),c=T(s),l={position:r.position},u=function(t,e){var n=t.offsets,a=n.popper,r=n.reference,o=Math.round,i=Math.floor,s=function(t){return t},c=o(r.width),l=o(a.width),u=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),p=e?u||d||c%2==l%2?o:i:s,A=e?o:s;return{left:p(c%2==1&&l%2==1&&!d&&e?a.left-1:a.left),top:A(a.top),bottom:A(a.bottom),right:p(a.right)}}(t,window.devicePixelRatio<2||!V),d="bottom"===n?"top":"bottom",p="right"===a?"left":"right",f=R("transform"),m=void 0,h=void 0;if(h="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-c.height+u.bottom:u.top,m="right"===p?"HTML"===s.nodeName?-s.clientWidth+u.right:-c.width+u.right:u.left,i&&f)l[f]="translate3d("+m+"px, "+h+"px, 0)",l[d]=0,l[p]=0,l.willChange="transform";else{var M="bottom"===d?-1:1,g="right"===p?-1:1;l[d]=h*M,l[p]=m*g,l.willChange=d+", "+p}var b={"x-placement":t.placement};return t.attributes=w({},b,t.attributes),t.styles=w({},l,t.styles),t.arrowStyles=w({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return $(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&$(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,a,r){var o=N(r,e,t,n.positionFixed),i=E(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",i),$(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},it=function(){function t(e,n){var a=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};v(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(a.update)},this.update=r(this.update.bind(this)),this.options=w({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(w({},t.Defaults.modifiers,i.modifiers)).forEach((function(e){a.options.modifiers[e]=w({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return w({name:t},a.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&o(t.onLoad)&&t.onLoad(a.reference,a.popper,a.options,t,a.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return y(t,[{key:"update",value:function(){return W.call(this)}},{key:"destroy",value:function(){return F.call(this)}},{key:"enableEventListeners",value:function(){return U.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();it.Utils=("undefined"!=typeof window?window:t).PopperUtils,it.placements=K,it.Defaults=ot,e.a=it}).call(this,n(15))},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,".event[data-v-0e4a6929]{margin-bottom:5px}.isComplex img[data-v-0e4a6929]{vertical-align:text-top}.isComplex span[data-v-0e4a6929]{padding-top:2px;display:inline-block}.multiselect[data-v-0e4a6929]{width:100%;max-width:550px;margin-top:4px}.multiselect[data-v-0e4a6929] .multiselect__single{display:flex}.multiselect[data-v-0e4a6929]:not(.multiselect--active) .multiselect__tags{background-color:var(--color-main-background) !important;border:1px solid transparent}.multiselect[data-v-0e4a6929] .multiselect__tags{background-color:var(--color-main-background) !important;height:auto;min-height:34px}.multiselect[data-v-0e4a6929]:not(.multiselect--disabled) .multiselect__tags .multiselect__single{background-image:var(--icon-triangle-s-000);background-repeat:no-repeat;background-position:right center}input[data-v-0e4a6929]{border:1px solid transparent}.option__title[data-v-0e4a6929]{margin-left:5px;color:var(--color-main-text)}.option__title_single[data-v-0e4a6929]{font-weight:900}.option__icon[data-v-0e4a6929]{width:16px;height:16px}.eventlist img[data-v-0e4a6929],.eventlist .text[data-v-0e4a6929]{vertical-align:middle}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Event.vue"],names:[],mappings:"AAiFA,wBACC,iBAAA,CAGA,gCACC,uBAAA,CAED,iCACC,eAAA,CACA,oBAAA,CAGF,8BACC,UAAA,CACA,eAAA,CACA,cAAA,CAED,mDACC,YAAA,CAED,2EACC,wDAAA,CACA,4BAAA,CAGD,iDACC,wDAAA,CACA,WAAA,CACA,eAAA,CAGD,kGACC,2CAAA,CACA,2BAAA,CACA,gCAAA,CAGD,uBACC,4BAAA,CAGD,gCACC,eAAA,CACA,4BAAA,CAED,uCACC,eAAA,CAGD,+BACC,UAAA,CACA,WAAA,CAGD,kEAEC,qBAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.event {\n\tmargin-bottom: 5px;\n}\n.isComplex {\n\timg {\n\t\tvertical-align: text-top;\n\t}\n\tspan {\n\t\tpadding-top: 2px;\n\t\tdisplay: inline-block;\n\t}\n}\n.multiselect {\n\twidth: 100%;\n\tmax-width: 550px;\n\tmargin-top: 4px;\n}\n.multiselect::v-deep .multiselect__single {\n\tdisplay: flex;\n}\n.multiselect:not(.multiselect--active)::v-deep .multiselect__tags {\n\tbackground-color: var(--color-main-background) !important;\n\tborder: 1px solid transparent;\n}\n\n.multiselect::v-deep .multiselect__tags {\n\tbackground-color: var(--color-main-background) !important;\n\theight: auto;\n\tmin-height: 34px;\n}\n\n.multiselect:not(.multiselect--disabled)::v-deep .multiselect__tags .multiselect__single {\n\tbackground-image: var(--icon-triangle-s-000);\n\tbackground-repeat: no-repeat;\n\tbackground-position: right center;\n}\n\ninput {\n\tborder: 1px solid transparent;\n}\n\n.option__title {\n\tmargin-left: 5px;\n\tcolor: var(--color-main-text);\n}\n.option__title_single {\n\tfont-weight: 900;\n}\n\n.option__icon {\n\twidth: 16px;\n\theight: 16px;\n}\n\n.eventlist img,\n.eventlist .text {\n\tvertical-align: middle;\n}\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,".check[data-v-56ddceda]{display:flex;flex-wrap:wrap;width:100%;padding-right:20px}.check>*[data-v-56ddceda]:not(.close){width:180px}.check>.comparator[data-v-56ddceda]{min-width:130px;width:130px}.check>.option[data-v-56ddceda]{min-width:230px;width:230px}.check>.multiselect[data-v-56ddceda],.check>input[type=text][data-v-56ddceda]{margin-right:5px;margin-bottom:5px}.check .multiselect[data-v-56ddceda] .multiselect__content-wrapper li>span,.check .multiselect[data-v-56ddceda] .multiselect__single{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}input[type=text][data-v-56ddceda]{margin:0}[data-v-56ddceda]::placeholder{font-size:10px}button.action-item.action-item--single.icon-close[data-v-56ddceda]{height:44px;width:44px;margin-top:-5px;margin-bottom:-5px}.invalid[data-v-56ddceda]{border:1px solid var(--color-error) !important}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Check.vue"],names:[],mappings:"AAmJA,wBACC,YAAA,CACA,cAAA,CACA,UAAA,CACA,kBAAA,CACA,sCACC,WAAA,CAED,oCACC,eAAA,CACA,WAAA,CAED,gCACC,eAAA,CACA,WAAA,CAED,8EAEC,gBAAA,CACA,iBAAA,CAGD,qIAEC,aAAA,CACA,kBAAA,CACA,eAAA,CACA,sBAAA,CAGF,kCACC,QAAA,CAED,+BACC,cAAA,CAED,mEACC,WAAA,CACA,UAAA,CACA,eAAA,CACA,kBAAA,CAED,0BACC,8CAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.check {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\twidth: 100%;\n\tpadding-right: 20px;\n\t& > *:not(.close) {\n\t\twidth: 180px;\n\t}\n\t& > .comparator {\n\t\tmin-width: 130px;\n\t\twidth: 130px;\n\t}\n\t& > .option {\n\t\tmin-width: 230px;\n\t\twidth: 230px;\n\t}\n\t& > .multiselect,\n\t& > input[type=text] {\n\t\tmargin-right: 5px;\n\t\tmargin-bottom: 5px;\n\t}\n\n\t.multiselect::v-deep .multiselect__content-wrapper li>span,\n\t.multiselect::v-deep .multiselect__single {\n\t\tdisplay: block;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n}\ninput[type=text] {\n\tmargin: 0;\n}\n::placeholder {\n\tfont-size: 10px;\n}\nbutton.action-item.action-item--single.icon-close {\n\theight: 44px;\n\twidth: 44px;\n\tmargin-top: -5px;\n\tmargin-bottom: -5px;\n}\n.invalid {\n\tborder: 1px solid var(--color-error) !important;\n}\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,".actions__item[data-v-34495584]{display:flex;flex-wrap:wrap;flex-direction:column;flex-grow:1;margin-left:-1px;padding:10px;border-radius:var(--border-radius-large);margin-right:20px;margin-bottom:20px}.actions__item .icon[data-v-34495584]{display:block;width:100%;height:50px;background-size:50px 50px;background-position:center center;margin-top:10px;margin-bottom:10px;background-repeat:no-repeat}.actions__item__description[data-v-34495584]{text-align:center;flex-grow:1;display:flex;flex-direction:column}.actions__item_options[data-v-34495584]{width:100%;margin-top:10px;padding-left:60px}h3[data-v-34495584],small[data-v-34495584]{padding:6px;display:block}h3[data-v-34495584]{margin:0;padding:0;font-weight:600}small[data-v-34495584]{font-size:10pt;flex-grow:1}.colored[data-v-34495584]:not(.more){background-color:var(--color-primary-element)}.colored:not(.more) h3[data-v-34495584],.colored:not(.more) small[data-v-34495584]{color:var(--color-primary-text)}.actions__item[data-v-34495584]:not(.colored){flex-direction:row}.actions__item:not(.colored) .actions__item__description[data-v-34495584]{padding-top:5px;text-align:left;width:calc(100% - 105px)}.actions__item:not(.colored) .actions__item__description small[data-v-34495584]{padding:0}.actions__item:not(.colored) .icon[data-v-34495584]{width:50px;margin:0;margin-right:10px}.actions__item:not(.colored) .icon[data-v-34495584]:not(.icon-invert){filter:invert(1)}.colored .icon-invert[data-v-34495584]{filter:invert(1)}","",{version:3,sources:["webpack://./apps/workflowengine/src/styles/operation.scss"],names:[],mappings:"AAAA,gCACC,YAAA,CACA,cAAA,CACA,qBAAA,CACA,WAAA,CACA,gBAAA,CACA,YAAA,CACA,wCAAA,CACA,iBAAA,CACA,kBAAA,CAED,sCACC,aAAA,CACA,UAAA,CACA,WAAA,CACA,yBAAA,CACA,iCAAA,CACA,eAAA,CACA,kBAAA,CACA,2BAAA,CAED,6CACC,iBAAA,CACA,WAAA,CACA,YAAA,CACA,qBAAA,CAED,wCACC,UAAA,CACA,eAAA,CACA,iBAAA,CAED,2CACC,WAAA,CACA,aAAA,CAED,oBACC,QAAA,CACA,SAAA,CACA,eAAA,CAED,uBACC,cAAA,CACA,WAAA,CAGD,qCACC,6CAAA,CACA,mFACC,+BAAA,CAIF,8CACC,kBAAA,CAEA,0EACC,eAAA,CACA,eAAA,CACA,wBAAA,CACA,gFACC,SAAA,CAGF,oDACC,UAAA,CACA,QAAA,CACA,iBAAA,CACA,sEACC,gBAAA,CAKH,uCACC,gBAAA",sourcesContent:[".actions__item {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tflex-direction: column;\n\tflex-grow: 1;\n\tmargin-left: -1px;\n\tpadding: 10px;\n\tborder-radius: var(--border-radius-large);\n\tmargin-right: 20px;\n\tmargin-bottom: 20px;\n}\n.actions__item .icon {\n\tdisplay: block;\n\twidth: 100%;\n\theight: 50px;\n\tbackground-size: 50px 50px;\n\tbackground-position: center center;\n\tmargin-top: 10px;\n\tmargin-bottom: 10px;\n\tbackground-repeat: no-repeat;\n}\n.actions__item__description {\n\ttext-align: center;\n\tflex-grow: 1;\n\tdisplay: flex;\n\tflex-direction: column;\n}\n.actions__item_options {\n\twidth: 100%;\n\tmargin-top: 10px;\n\tpadding-left: 60px;\n}\nh3, small {\n\tpadding: 6px;\n\tdisplay: block;\n}\nh3 {\n\tmargin: 0;\n\tpadding: 0;\n\tfont-weight: 600;\n}\nsmall {\n\tfont-size: 10pt;\n\tflex-grow: 1;\n}\n\n.colored:not(.more) {\n\tbackground-color: var(--color-primary-element);\n\th3, small {\n\t\tcolor: var(--color-primary-text)\n\t}\n}\n\n.actions__item:not(.colored) {\n\tflex-direction: row;\n\n\t.actions__item__description {\n\t\tpadding-top: 5px;\n\t\ttext-align: left;\n\t\twidth: calc(100% - 105px);\n\t\tsmall {\n\t\t\tpadding: 0;\n\t\t}\n\t}\n\t.icon {\n\t\twidth: 50px;\n\t\tmargin: 0;\n\t\tmargin-right: 10px;\n\t\t&:not(.icon-invert) {\n\t\t\tfilter: invert(1);\n\t\t}\n\t}\n}\n\n.colored .icon-invert {\n\tfilter: invert(1);\n}\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"button.icon[data-v-36adf4d5]{padding-left:32px;background-position:10px center}.buttons[data-v-36adf4d5]{display:block;overflow:hidden}.buttons button[data-v-36adf4d5]{float:right;height:34px}.error-message[data-v-36adf4d5]{float:right;margin-right:10px}.status-button[data-v-36adf4d5]{transition:.5s ease all;display:block;margin:3px 10px 3px auto}.status-button.primary[data-v-36adf4d5]{padding-left:32px;background-position:10px center}.status-button[data-v-36adf4d5]:not(.primary){background-color:var(--color-main-background)}.status-button.invalid[data-v-36adf4d5]{background-color:var(--color-warning);color:#fff;border:none}.status-button.icon-checkmark[data-v-36adf4d5]{border:1px solid var(--color-success)}.flow-icon[data-v-36adf4d5]{width:44px}.rule[data-v-36adf4d5]{display:flex;flex-wrap:wrap;border-left:5px solid var(--color-primary-element)}.rule .trigger[data-v-36adf4d5],.rule .action[data-v-36adf4d5]{flex-grow:1;min-height:100px;max-width:700px}.rule .action[data-v-36adf4d5]{max-width:400px;position:relative}.rule .icon-confirm[data-v-36adf4d5]{background-position:right 27px;padding-right:20px;margin-right:20px}.trigger p[data-v-36adf4d5],.action p[data-v-36adf4d5]{min-height:34px;display:flex}.trigger p>span[data-v-36adf4d5],.action p>span[data-v-36adf4d5]{min-width:50px;text-align:right;color:var(--color-text-maxcontrast);padding-right:10px;padding-top:6px}.trigger p .multiselect[data-v-36adf4d5],.action p .multiselect[data-v-36adf4d5]{flex-grow:1;max-width:300px}.trigger p:first-child span[data-v-36adf4d5]{padding-top:3px}.check--add[data-v-36adf4d5]{background-position:7px center;background-color:transparent;padding-left:6px;margin:0;width:180px;border-radius:var(--border-radius);color:var(--color-text-maxcontrast);font-weight:normal;text-align:left;font-size:1em}@media(max-width: 1400px){.rule[data-v-36adf4d5],.rule .trigger[data-v-36adf4d5],.rule .action[data-v-36adf4d5]{width:100%;max-width:100%}.rule .flow-icon[data-v-36adf4d5]{display:none}}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Rule.vue"],names:[],mappings:"AAsKA,6BACC,iBAAA,CACA,+BAAA,CAGD,0BACC,aAAA,CACA,eAAA,CAEA,iCACC,WAAA,CACA,WAAA,CAIF,gCACC,WAAA,CACA,iBAAA,CAGD,gCACC,uBAAA,CACA,aAAA,CACA,wBAAA,CAED,wCACC,iBAAA,CACA,+BAAA,CAED,8CACC,6CAAA,CAED,wCACC,qCAAA,CACA,UAAA,CACA,WAAA,CAED,+CACC,qCAAA,CAGD,4BACC,UAAA,CAGD,uBACC,YAAA,CACA,cAAA,CACA,kDAAA,CAEA,+DACC,WAAA,CACA,gBAAA,CACA,eAAA,CAED,+BACC,eAAA,CACA,iBAAA,CAED,qCACC,8BAAA,CACA,kBAAA,CACA,iBAAA,CAGF,uDACC,eAAA,CACA,YAAA,CAEA,iEACC,cAAA,CACA,gBAAA,CACA,mCAAA,CACA,kBAAA,CACA,eAAA,CAED,iFACC,WAAA,CACA,eAAA,CAGF,6CACE,eAAA,CAGF,6BACC,8BAAA,CACA,4BAAA,CACA,gBAAA,CACA,QAAA,CACA,WAAA,CACA,kCAAA,CACA,mCAAA,CACA,kBAAA,CACA,eAAA,CACA,aAAA,CAGD,0BAEE,sFACC,UAAA,CACA,cAAA,CAED,kCACC,YAAA,CAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nbutton.icon {\n\tpadding-left: 32px;\n\tbackground-position: 10px center;\n}\n\n.buttons {\n\tdisplay: block;\n\toverflow: hidden;\n\n\tbutton {\n\t\tfloat: right;\n\t\theight: 34px;\n\t}\n}\n\n.error-message {\n\tfloat: right;\n\tmargin-right: 10px;\n}\n\n.status-button {\n\ttransition: 0.5s ease all;\n\tdisplay: block;\n\tmargin: 3px 10px 3px auto;\n}\n.status-button.primary {\n\tpadding-left: 32px;\n\tbackground-position: 10px center;\n}\n.status-button:not(.primary) {\n\tbackground-color: var(--color-main-background);\n}\n.status-button.invalid {\n\tbackground-color: var(--color-warning);\n\tcolor: #fff;\n\tborder: none;\n}\n.status-button.icon-checkmark {\n\tborder: 1px solid var(--color-success);\n}\n\n.flow-icon {\n\twidth: 44px;\n}\n\n.rule {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tborder-left: 5px solid var(--color-primary-element);\n\n\t.trigger, .action {\n\t\tflex-grow: 1;\n\t\tmin-height: 100px;\n\t\tmax-width: 700px;\n\t}\n\t.action {\n\t\tmax-width: 400px;\n\t\tposition: relative;\n\t}\n\t.icon-confirm {\n\t\tbackground-position: right 27px;\n\t\tpadding-right: 20px;\n\t\tmargin-right: 20px;\n\t}\n}\n.trigger p, .action p {\n\tmin-height: 34px;\n\tdisplay: flex;\n\n\t& > span {\n\t\tmin-width: 50px;\n\t\ttext-align: right;\n\t\tcolor: var(--color-text-maxcontrast);\n\t\tpadding-right: 10px;\n\t\tpadding-top: 6px;\n\t}\n\t.multiselect {\n\t\tflex-grow: 1;\n\t\tmax-width: 300px;\n\t}\n}\n.trigger p:first-child span {\n\t\tpadding-top: 3px;\n}\n\n.check--add {\n\tbackground-position: 7px center;\n\tbackground-color: transparent;\n\tpadding-left: 6px;\n\tmargin: 0;\n\twidth: 180px;\n\tborder-radius: var(--border-radius);\n\tcolor: var(--color-text-maxcontrast);\n\tfont-weight: normal;\n\ttext-align: left;\n\tfont-size: 1em;\n}\n\n@media (max-width:1400px) {\n\t.rule {\n\t\t&, .trigger, .action {\n\t\t\twidth: 100%;\n\t\t\tmax-width: 100%;\n\t\t}\n\t\t.flow-icon {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"#workflowengine[data-v-7000c295]{border-bottom:1px solid var(--color-border)}.section[data-v-7000c295]{max-width:100vw}.section h2.configured-flows[data-v-7000c295]{margin-top:50px;margin-bottom:0}.actions[data-v-7000c295]{display:flex;flex-wrap:wrap;max-width:1200px}.actions .actions__item[data-v-7000c295]{max-width:280px;flex-basis:250px}button.icon[data-v-7000c295]{padding-left:32px;background-position:10px center}.slide-enter-active[data-v-7000c295]{-moz-transition-duration:.3s;-webkit-transition-duration:.3s;-o-transition-duration:.3s;transition-duration:.3s;-moz-transition-timing-function:ease-in;-webkit-transition-timing-function:ease-in;-o-transition-timing-function:ease-in;transition-timing-function:ease-in}.slide-leave-active[data-v-7000c295]{-moz-transition-duration:.3s;-webkit-transition-duration:.3s;-o-transition-duration:.3s;transition-duration:.3s;-moz-transition-timing-function:cubic-bezier(0, 1, 0.5, 1);-webkit-transition-timing-function:cubic-bezier(0, 1, 0.5, 1);-o-transition-timing-function:cubic-bezier(0, 1, 0.5, 1);transition-timing-function:cubic-bezier(0, 1, 0.5, 1)}.slide-enter-to[data-v-7000c295],.slide-leave[data-v-7000c295]{max-height:500px;overflow:hidden}.slide-enter[data-v-7000c295],.slide-leave-to[data-v-7000c295]{overflow:hidden;max-height:0;padding-top:0;padding-bottom:0}.actions__item[data-v-7000c295]{display:flex;flex-wrap:wrap;flex-direction:column;flex-grow:1;margin-left:-1px;padding:10px;border-radius:var(--border-radius-large);margin-right:20px;margin-bottom:20px}.actions__item .icon[data-v-7000c295]{display:block;width:100%;height:50px;background-size:50px 50px;background-position:center center;margin-top:10px;margin-bottom:10px;background-repeat:no-repeat}.actions__item__description[data-v-7000c295]{text-align:center;flex-grow:1;display:flex;flex-direction:column}.actions__item_options[data-v-7000c295]{width:100%;margin-top:10px;padding-left:60px}h3[data-v-7000c295],small[data-v-7000c295]{padding:6px;display:block}h3[data-v-7000c295]{margin:0;padding:0;font-weight:600}small[data-v-7000c295]{font-size:10pt;flex-grow:1}.colored[data-v-7000c295]:not(.more){background-color:var(--color-primary-element)}.colored:not(.more) h3[data-v-7000c295],.colored:not(.more) small[data-v-7000c295]{color:var(--color-primary-text)}.actions__item[data-v-7000c295]:not(.colored){flex-direction:row}.actions__item:not(.colored) .actions__item__description[data-v-7000c295]{padding-top:5px;text-align:left;width:calc(100% - 105px)}.actions__item:not(.colored) .actions__item__description small[data-v-7000c295]{padding:0}.actions__item:not(.colored) .icon[data-v-7000c295]{width:50px;margin:0;margin-right:10px}.actions__item:not(.colored) .icon[data-v-7000c295]:not(.icon-invert){filter:invert(1)}.colored .icon-invert[data-v-7000c295]{filter:invert(1)}.actions__item.more[data-v-7000c295]{background-color:var(--color-background-dark)}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Workflow.vue","webpack://./apps/workflowengine/src/styles/operation.scss"],names:[],mappings:"AAuGA,iCACC,2CAAA,CAED,0BACC,eAAA,CAEA,8CACC,eAAA,CACA,eAAA,CAGF,0BACC,YAAA,CACA,cAAA,CACA,gBAAA,CACA,yCACC,eAAA,CACA,gBAAA,CAIF,6BACC,iBAAA,CACA,+BAAA,CAGD,qCACC,4BAAA,CACA,+BAAA,CACA,0BAAA,CACA,uBAAA,CACA,uCAAA,CACA,0CAAA,CACA,qCAAA,CACA,kCAAA,CAGD,qCACC,4BAAA,CACA,+BAAA,CACA,0BAAA,CACA,uBAAA,CACA,0DAAA,CACA,6DAAA,CACA,wDAAA,CACA,qDAAA,CAGD,+DACC,gBAAA,CACA,eAAA,CAGD,+DACC,eAAA,CACA,YAAA,CACA,aAAA,CACA,gBAAA,CChKD,gCACC,YAAA,CACA,cAAA,CACA,qBAAA,CACA,WAAA,CACA,gBAAA,CACA,YAAA,CACA,wCAAA,CACA,iBAAA,CACA,kBAAA,CAED,sCACC,aAAA,CACA,UAAA,CACA,WAAA,CACA,yBAAA,CACA,iCAAA,CACA,eAAA,CACA,kBAAA,CACA,2BAAA,CAED,6CACC,iBAAA,CACA,WAAA,CACA,YAAA,CACA,qBAAA,CAED,wCACC,UAAA,CACA,eAAA,CACA,iBAAA,CAED,2CACC,WAAA,CACA,aAAA,CAED,oBACC,QAAA,CACA,SAAA,CACA,eAAA,CAED,uBACC,cAAA,CACA,WAAA,CAGD,qCACC,6CAAA,CACA,mFACC,+BAAA,CAIF,8CACC,kBAAA,CAEA,0EACC,eAAA,CACA,eAAA,CACA,wBAAA,CACA,gFACC,SAAA,CAGF,oDACC,UAAA,CACA,QAAA,CACA,iBAAA,CACA,sEACC,gBAAA,CAKH,uCACC,gBAAA,CD0FD,qCACC,6CAAA",sourcesContent:['\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#workflowengine {\n\tborder-bottom: 1px solid var(--color-border);\n}\n.section {\n\tmax-width: 100vw;\n\n\th2.configured-flows {\n\t\tmargin-top: 50px;\n\t\tmargin-bottom: 0;\n\t}\n}\n.actions {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tmax-width: 1200px;\n\t.actions__item {\n\t\tmax-width: 280px;\n\t\tflex-basis: 250px;\n\t}\n}\n\nbutton.icon {\n\tpadding-left: 32px;\n\tbackground-position: 10px center;\n}\n\n.slide-enter-active {\n\t-moz-transition-duration: 0.3s;\n\t-webkit-transition-duration: 0.3s;\n\t-o-transition-duration: 0.3s;\n\ttransition-duration: 0.3s;\n\t-moz-transition-timing-function: ease-in;\n\t-webkit-transition-timing-function: ease-in;\n\t-o-transition-timing-function: ease-in;\n\ttransition-timing-function: ease-in;\n}\n\n.slide-leave-active {\n\t-moz-transition-duration: 0.3s;\n\t-webkit-transition-duration: 0.3s;\n\t-o-transition-duration: 0.3s;\n\ttransition-duration: 0.3s;\n\t-moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n\t-webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n\t-o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n\ttransition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n}\n\n.slide-enter-to, .slide-leave {\n\tmax-height: 500px;\n\toverflow: hidden;\n}\n\n.slide-enter, .slide-leave-to {\n\toverflow: hidden;\n\tmax-height: 0;\n\tpadding-top: 0;\n\tpadding-bottom: 0;\n}\n\n@import "./../styles/operation";\n\n.actions__item.more {\n\tbackground-color: var(--color-background-dark);\n}\n',".actions__item {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tflex-direction: column;\n\tflex-grow: 1;\n\tmargin-left: -1px;\n\tpadding: 10px;\n\tborder-radius: var(--border-radius-large);\n\tmargin-right: 20px;\n\tmargin-bottom: 20px;\n}\n.actions__item .icon {\n\tdisplay: block;\n\twidth: 100%;\n\theight: 50px;\n\tbackground-size: 50px 50px;\n\tbackground-position: center center;\n\tmargin-top: 10px;\n\tmargin-bottom: 10px;\n\tbackground-repeat: no-repeat;\n}\n.actions__item__description {\n\ttext-align: center;\n\tflex-grow: 1;\n\tdisplay: flex;\n\tflex-direction: column;\n}\n.actions__item_options {\n\twidth: 100%;\n\tmargin-top: 10px;\n\tpadding-left: 60px;\n}\nh3, small {\n\tpadding: 6px;\n\tdisplay: block;\n}\nh3 {\n\tmargin: 0;\n\tpadding: 0;\n\tfont-weight: 600;\n}\nsmall {\n\tfont-size: 10pt;\n\tflex-grow: 1;\n}\n\n.colored:not(.more) {\n\tbackground-color: var(--color-primary-element);\n\th3, small {\n\t\tcolor: var(--color-primary-text)\n\t}\n}\n\n.actions__item:not(.colored) {\n\tflex-direction: row;\n\n\t.actions__item__description {\n\t\tpadding-top: 5px;\n\t\ttext-align: left;\n\t\twidth: calc(100% - 105px);\n\t\tsmall {\n\t\t\tpadding: 0;\n\t\t}\n\t}\n\t.icon {\n\t\twidth: 50px;\n\t\tmargin: 0;\n\t\tmargin-right: 10px;\n\t\t&:not(.icon-invert) {\n\t\t\tfilter: invert(1);\n\t\t}\n\t}\n}\n\n.colored .icon-invert {\n\tfilter: invert(1);\n}\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"\n.multiselect[data-v-87d63386], input[type='text'][data-v-87d63386] {\n\twidth: 100%;\n}\n.multiselect[data-v-87d63386] .multiselect__content-wrapper li>span,\n.multiselect[data-v-87d63386] .multiselect__single {\n\tdisplay: flex;\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/FileMimeType.vue"],names:[],mappings:";AA6IA;CACA,WAAA;AACA;AACA;;CAEA,aAAA;CACA,mBAAA;CACA,gBAAA;CACA,uBAAA;AACA",sourcesContent:["\x3c!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<div>\n\t\t<Multiselect\n\t\t\t:value=\"currentValue\"\n\t\t\t:placeholder=\"t('workflowengine', 'Select a file type')\"\n\t\t\tlabel=\"label\"\n\t\t\ttrack-by=\"pattern\"\n\t\t\t:options=\"options\"\n\t\t\t:multiple=\"false\"\n\t\t\t:tagging=\"false\"\n\t\t\t@input=\"setValue\">\n\t\t\t<template slot=\"singleLabel\" slot-scope=\"props\">\n\t\t\t\t<span v-if=\"props.option.icon\" class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t<img v-else :src=\"props.option.iconUrl\">\n\t\t\t\t<span class=\"option__title option__title_single\">{{ props.option.label }}</span>\n\t\t\t</template>\n\t\t\t<template slot=\"option\" slot-scope=\"props\">\n\t\t\t\t<span v-if=\"props.option.icon\" class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t<img v-else :src=\"props.option.iconUrl\">\n\t\t\t\t<span class=\"option__title\">{{ props.option.label }}</span>\n\t\t\t</template>\n\t\t</Multiselect>\n\t\t<input v-if=\"!isPredefined\"\n\t\t\ttype=\"text\"\n\t\t\t:value=\"currentValue.pattern\"\n\t\t\t:placeholder=\"t('workflowengine', 'e.g. httpd/unix-directory')\"\n\t\t\t@input=\"updateCustom\">\n\t</div>\n</template>\n\n<script>\nimport Multiselect from '@nextcloud/vue/dist/Components/Multiselect'\nimport valueMixin from './../../mixins/valueMixin'\nimport { imagePath } from '@nextcloud/router'\n\nexport default {\n\tname: 'FileMimeType',\n\tcomponents: {\n\t\tMultiselect,\n\t},\n\tmixins: [\n\t\tvalueMixin,\n\t],\n\tdata() {\n\t\treturn {\n\t\t\tpredefinedTypes: [\n\t\t\t\t{\n\t\t\t\t\ticon: 'icon-folder',\n\t\t\t\t\tlabel: t('workflowengine', 'Folder'),\n\t\t\t\t\tpattern: 'httpd/unix-directory',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ticon: 'icon-picture',\n\t\t\t\t\tlabel: t('workflowengine', 'Images'),\n\t\t\t\t\tpattern: '/image\\\\/.*/',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ticonUrl: imagePath('core', 'filetypes/x-office-document'),\n\t\t\t\t\tlabel: t('workflowengine', 'Office documents'),\n\t\t\t\t\tpattern: '/(vnd\\\\.(ms-|openxmlformats-|oasis\\\\.opendocument).*)$/',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ticonUrl: imagePath('core', 'filetypes/application-pdf'),\n\t\t\t\t\tlabel: t('workflowengine', 'PDF documents'),\n\t\t\t\t\tpattern: 'application/pdf',\n\t\t\t\t},\n\t\t\t],\n\t\t}\n\t},\n\tcomputed: {\n\t\toptions() {\n\t\t\treturn [...this.predefinedTypes, this.customValue]\n\t\t},\n\t\tisPredefined() {\n\t\t\tconst matchingPredefined = this.predefinedTypes.find((type) => this.newValue === type.pattern)\n\t\t\tif (matchingPredefined) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\t\tcustomValue() {\n\t\t\treturn {\n\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\tlabel: t('workflowengine', 'Custom mimetype'),\n\t\t\t\tpattern: '',\n\t\t\t}\n\t\t},\n\t\tcurrentValue() {\n\t\t\tconst matchingPredefined = this.predefinedTypes.find((type) => this.newValue === type.pattern)\n\t\t\tif (matchingPredefined) {\n\t\t\t\treturn matchingPredefined\n\t\t\t}\n\t\t\treturn {\n\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\tlabel: t('workflowengine', 'Custom mimetype'),\n\t\t\t\tpattern: this.newValue,\n\t\t\t}\n\t\t},\n\t},\n\tmethods: {\n\t\tvalidateRegex(string) {\n\t\t\tconst regexRegex = /^\\/(.*)\\/([gui]{0,3})$/\n\t\t\tconst result = regexRegex.exec(string)\n\t\t\treturn result !== null\n\t\t},\n\t\tsetValue(value) {\n\t\t\tif (value !== null) {\n\t\t\t\tthis.newValue = value.pattern\n\t\t\t\tthis.$emit('input', this.newValue)\n\t\t\t}\n\t\t},\n\t\tupdateCustom(event) {\n\t\t\tthis.newValue = event.target.value\n\t\t\tthis.$emit('input', this.newValue)\n\t\t},\n\t},\n}\n<\/script>\n<style scoped>\n\t.multiselect, input[type='text'] {\n\t\twidth: 100%;\n\t}\n\t.multiselect >>> .multiselect__content-wrapper li>span,\n\t.multiselect >>> .multiselect__single {\n\t\tdisplay: flex;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n</style>\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"\n.multiselect[data-v-1f573f40], input[type='text'][data-v-1f573f40] {\n\twidth: 100%;\n}\n.multiselect .multiselect__content-wrapper li>span[data-v-1f573f40] {\n\tdisplay: flex;\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n.multiselect[data-v-1f573f40] .multiselect__single {\n\twidth: 100%;\n\tdisplay: flex;\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n.option__icon[data-v-1f573f40] {\n\tdisplay: inline-block;\n\tmin-width: 30px;\n\tbackground-position: left;\n}\n.option__title[data-v-1f573f40] {\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/RequestUserAgent.vue"],names:[],mappings:";AA+HA;CACA,WAAA;AACA;AAEA;CACA,aAAA;CACA,mBAAA;CACA,gBAAA;CACA,uBAAA;AACA;AACA;CACA,WAAA;CACA,aAAA;CACA,mBAAA;CACA,gBAAA;CACA,uBAAA;AACA;AACA;CACA,qBAAA;CACA,eAAA;CACA,yBAAA;AACA;AACA;CACA,mBAAA;CACA,gBAAA;CACA,uBAAA;AACA",sourcesContent:["\x3c!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<div>\n\t\t<Multiselect\n\t\t\t:value=\"currentValue\"\n\t\t\t:placeholder=\"t('workflowengine', 'Select a user agent')\"\n\t\t\tlabel=\"label\"\n\t\t\ttrack-by=\"pattern\"\n\t\t\t:options=\"options\"\n\t\t\t:multiple=\"false\"\n\t\t\t:tagging=\"false\"\n\t\t\t@input=\"setValue\">\n\t\t\t<template slot=\"singleLabel\" slot-scope=\"props\">\n\t\t\t\t<span class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t\x3c!-- v-html can be used here as t() always passes our translated strings though DOMPurify.sanitize --\x3e\n\t\t\t\t\x3c!-- eslint-disable-next-line vue/no-v-html --\x3e\n\t\t\t\t<span class=\"option__title option__title_single\" v-html=\"props.option.label\" />\n\t\t\t</template>\n\t\t\t<template slot=\"option\" slot-scope=\"props\">\n\t\t\t\t<span class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t\x3c!-- eslint-disable-next-line vue/no-v-html --\x3e\n\t\t\t\t<span v-if=\"props.option.$groupLabel\" class=\"option__title\" v-html=\"props.option.$groupLabel\" />\n\t\t\t\t\x3c!-- eslint-disable-next-line vue/no-v-html --\x3e\n\t\t\t\t<span v-else class=\"option__title\" v-html=\"props.option.label\" />\n\t\t\t</template>\n\t\t</Multiselect>\n\t\t<input v-if=\"!isPredefined\"\n\t\t\ttype=\"text\"\n\t\t\t:value=\"currentValue.pattern\"\n\t\t\t@input=\"updateCustom\">\n\t</div>\n</template>\n\n<script>\nimport Multiselect from '@nextcloud/vue/dist/Components/Multiselect'\nimport valueMixin from '../../mixins/valueMixin'\n\nexport default {\n\tname: 'RequestUserAgent',\n\tcomponents: {\n\t\tMultiselect,\n\t},\n\tmixins: [\n\t\tvalueMixin,\n\t],\n\tdata() {\n\t\treturn {\n\t\t\tnewValue: '',\n\t\t\tpredefinedTypes: [\n\t\t\t\t{ pattern: 'android', label: t('workflowengine', 'Android client'), icon: 'icon-phone' },\n\t\t\t\t{ pattern: 'ios', label: t('workflowengine', 'iOS client'), icon: 'icon-phone' },\n\t\t\t\t{ pattern: 'desktop', label: t('workflowengine', 'Desktop client'), icon: 'icon-desktop' },\n\t\t\t\t{ pattern: 'mail', label: t('workflowengine', 'Thunderbird & Outlook addons'), icon: 'icon-mail' },\n\t\t\t],\n\t\t}\n\t},\n\tcomputed: {\n\t\toptions() {\n\t\t\treturn [...this.predefinedTypes, this.customValue]\n\t\t},\n\t\tmatchingPredefined() {\n\t\t\treturn this.predefinedTypes\n\t\t\t\t.find((type) => this.newValue === type.pattern)\n\t\t},\n\t\tisPredefined() {\n\t\t\treturn !!this.matchingPredefined\n\t\t},\n\t\tcustomValue() {\n\t\t\treturn {\n\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\tlabel: t('workflowengine', 'Custom user agent'),\n\t\t\t\tpattern: '',\n\t\t\t}\n\t\t},\n\t\tcurrentValue() {\n\t\t\tif (this.matchingPredefined) {\n\t\t\t\treturn this.matchingPredefined\n\t\t\t}\n\t\t\treturn {\n\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\tlabel: t('workflowengine', 'Custom user agent'),\n\t\t\t\tpattern: this.newValue,\n\t\t\t}\n\t\t},\n\t},\n\tmethods: {\n\t\tvalidateRegex(string) {\n\t\t\tconst regexRegex = /^\\/(.*)\\/([gui]{0,3})$/\n\t\t\tconst result = regexRegex.exec(string)\n\t\t\treturn result !== null\n\t\t},\n\t\tsetValue(value) {\n\t\t\t// TODO: check if value requires a regex and set the check operator according to that\n\t\t\tif (value !== null) {\n\t\t\t\tthis.newValue = value.pattern\n\t\t\t\tthis.$emit('input', this.newValue)\n\t\t\t}\n\t\t},\n\t\tupdateCustom(event) {\n\t\t\tthis.newValue = event.target.value\n\t\t\tthis.$emit('input', this.newValue)\n\t\t},\n\t},\n}\n<\/script>\n<style scoped>\n\t.multiselect, input[type='text'] {\n\t\twidth: 100%;\n\t}\n\n\t.multiselect .multiselect__content-wrapper li>span {\n\t\tdisplay: flex;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n\t.multiselect::v-deep .multiselect__single {\n\t\twidth: 100%;\n\t\tdisplay: flex;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n\t.option__icon {\n\t\tdisplay: inline-block;\n\t\tmin-width: 30px;\n\t\tbackground-position: left;\n\t}\n\t.option__title {\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n</style>\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,".timeslot[data-v-149baca9]{display:flex;flex-grow:1;flex-wrap:wrap;max-width:180px}.timeslot .multiselect[data-v-149baca9]{width:100%;margin-bottom:5px}.timeslot .multiselect[data-v-149baca9] .multiselect__tags:not(:hover):not(:focus):not(:active){border:1px solid transparent}.timeslot input[type=text][data-v-149baca9]{width:50%;margin:0;margin-bottom:5px}.timeslot input[type=text].timeslot--start[data-v-149baca9]{margin-right:5px;width:calc(50% - 5px)}.timeslot .invalid-hint[data-v-149baca9]{color:var(--color-text-maxcontrast)}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/RequestTime.vue"],names:[],mappings:"AA+FA,2BACC,YAAA,CACA,WAAA,CACA,cAAA,CACA,eAAA,CAEA,wCACC,UAAA,CACA,iBAAA,CAGD,gGACC,4BAAA,CAGD,4CACC,SAAA,CACA,QAAA,CACA,iBAAA,CAEA,4DACC,gBAAA,CACA,qBAAA,CAIF,yCACC,mCAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.timeslot {\n\tdisplay: flex;\n\tflex-grow: 1;\n\tflex-wrap: wrap;\n\tmax-width: 180px;\n\n\t.multiselect {\n\t\twidth: 100%;\n\t\tmargin-bottom: 5px;\n\t}\n\n\t.multiselect::v-deep .multiselect__tags:not(:hover):not(:focus):not(:active) {\n\t\tborder: 1px solid transparent;\n\t}\n\n\tinput[type=text] {\n\t\twidth: 50%;\n\t\tmargin: 0;\n\t\tmargin-bottom: 5px;\n\n\t\t&.timeslot--start {\n\t\t\tmargin-right: 5px;\n\t\t\twidth: calc(50% - 5px);\n\t\t}\n\t}\n\n\t.invalid-hint {\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n}\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"\n.multiselect[data-v-0b72cbf8], input[type='text'][data-v-0b72cbf8] {\n\twidth: 100%;\n}\n","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/RequestURL.vue"],names:[],mappings:";AA4IA;CACA,WAAA;AACA",sourcesContent:["\x3c!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<div>\n\t\t<Multiselect\n\t\t\t:value=\"currentValue\"\n\t\t\t:placeholder=\"t('workflowengine', 'Select a request URL')\"\n\t\t\tlabel=\"label\"\n\t\t\ttrack-by=\"pattern\"\n\t\t\tgroup-values=\"children\"\n\t\t\tgroup-label=\"label\"\n\t\t\t:options=\"options\"\n\t\t\t:multiple=\"false\"\n\t\t\t:tagging=\"false\"\n\t\t\t@input=\"setValue\">\n\t\t\t<template slot=\"singleLabel\" slot-scope=\"props\">\n\t\t\t\t<span class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t<span class=\"option__title option__title_single\">{{ props.option.label }}</span>\n\t\t\t</template>\n\t\t\t<template slot=\"option\" slot-scope=\"props\">\n\t\t\t\t<span class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t<span class=\"option__title\">{{ props.option.label }} {{ props.option.$groupLabel }}</span>\n\t\t\t</template>\n\t\t</Multiselect>\n\t\t<input v-if=\"!isPredefined\"\n\t\t\ttype=\"text\"\n\t\t\t:value=\"currentValue.pattern\"\n\t\t\t:placeholder=\"placeholder\"\n\t\t\t@input=\"updateCustom\">\n\t</div>\n</template>\n\n<script>\nimport Multiselect from '@nextcloud/vue/dist/Components/Multiselect'\nimport valueMixin from '../../mixins/valueMixin'\n\nexport default {\n\tname: 'RequestURL',\n\tcomponents: {\n\t\tMultiselect,\n\t},\n\tmixins: [\n\t\tvalueMixin,\n\t],\n\tdata() {\n\t\treturn {\n\t\t\tnewValue: '',\n\t\t\tpredefinedTypes: [\n\t\t\t\t{\n\t\t\t\t\tlabel: t('workflowengine', 'Predefined URLs'),\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t{ pattern: 'webdav', label: t('workflowengine', 'Files WebDAV') },\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t],\n\t\t}\n\t},\n\tcomputed: {\n\t\toptions() {\n\t\t\treturn [...this.predefinedTypes, this.customValue]\n\t\t},\n\t\tplaceholder() {\n\t\t\tif (this.check.operator === 'matches' || this.check.operator === '!matches') {\n\t\t\t\treturn '/^https\\\\:\\\\/\\\\/localhost\\\\/index\\\\.php$/i'\n\t\t\t}\n\t\t\treturn 'https://localhost/index.php'\n\t\t},\n\t\tmatchingPredefined() {\n\t\t\treturn this.predefinedTypes\n\t\t\t\t.map(groups => groups.children)\n\t\t\t\t.flat()\n\t\t\t\t.find((type) => this.newValue === type.pattern)\n\t\t},\n\t\tisPredefined() {\n\t\t\treturn !!this.matchingPredefined\n\t\t},\n\t\tcustomValue() {\n\t\t\treturn {\n\t\t\t\tlabel: t('workflowengine', 'Others'),\n\t\t\t\tchildren: [\n\t\t\t\t\t{\n\t\t\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\t\t\tlabel: t('workflowengine', 'Custom URL'),\n\t\t\t\t\t\tpattern: '',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t}\n\t\t},\n\t\tcurrentValue() {\n\t\t\tif (this.matchingPredefined) {\n\t\t\t\treturn this.matchingPredefined\n\t\t\t}\n\t\t\treturn {\n\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\tlabel: t('workflowengine', 'Custom URL'),\n\t\t\t\tpattern: this.newValue,\n\t\t\t}\n\t\t},\n\t},\n\tmethods: {\n\t\tvalidateRegex(string) {\n\t\t\tconst regexRegex = /^\\/(.*)\\/([gui]{0,3})$/\n\t\t\tconst result = regexRegex.exec(string)\n\t\t\treturn result !== null\n\t\t},\n\t\tsetValue(value) {\n\t\t\t// TODO: check if value requires a regex and set the check operator according to that\n\t\t\tif (value !== null) {\n\t\t\t\tthis.newValue = value.pattern\n\t\t\t\tthis.$emit('input', this.newValue)\n\t\t\t}\n\t\t},\n\t\tupdateCustom(event) {\n\t\t\tthis.newValue = event.target.value\n\t\t\tthis.$emit('input', this.newValue)\n\t\t},\n\t},\n}\n<\/script>\n<style scoped>\n\t.multiselect, input[type='text'] {\n\t\twidth: 100%;\n\t}\n</style>\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"\n.multiselect[data-v-429a5f76] {\n\twidth: 100%;\n}\n","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/RequestUserGroup.vue"],names:[],mappings:";AA4GA;CACA,WAAA;AACA",sourcesContent:["\x3c!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<div>\n\t\t<Multiselect :value=\"currentValue\"\n\t\t\t:loading=\"status.isLoading && groups.length === 0\"\n\t\t\t:options=\"groups\"\n\t\t\t:multiple=\"false\"\n\t\t\tlabel=\"displayname\"\n\t\t\ttrack-by=\"id\"\n\t\t\t@search-change=\"searchAsync\"\n\t\t\t@input=\"(value) => $emit('input', value.id)\" />\n\t</div>\n</template>\n\n<script>\nimport Multiselect from '@nextcloud/vue/dist/Components/Multiselect'\nimport axios from '@nextcloud/axios'\nimport { generateOcsUrl } from '@nextcloud/router'\n\nconst groups = []\nconst status = {\n\tisLoading: false,\n}\n\nexport default {\n\tname: 'RequestUserGroup',\n\tcomponents: {\n\t\tMultiselect,\n\t},\n\tprops: {\n\t\tvalue: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\tcheck: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => { return {} },\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tgroups,\n\t\t\tstatus,\n\t\t}\n\t},\n\tcomputed: {\n\t\tcurrentValue() {\n\t\t\treturn this.groups.find(group => group.id === this.value) || null\n\t\t},\n\t},\n\tasync mounted() {\n\t\tif (this.groups.length === 0) {\n\t\t\tawait this.searchAsync('')\n\t\t}\n\t\tif (this.currentValue === null) {\n\t\t\tawait this.searchAsync(this.value)\n\t\t}\n\t},\n\tmethods: {\n\t\tsearchAsync(searchQuery) {\n\t\t\tif (this.status.isLoading) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tthis.status.isLoading = true\n\t\t\treturn axios.get(generateOcsUrl('cloud', 2) + 'groups/details?limit=20&search=' + encodeURI(searchQuery)).then((response) => {\n\t\t\t\tresponse.data.ocs.data.groups.forEach((group) => {\n\t\t\t\t\tthis.addGroup({\n\t\t\t\t\t\tid: group.id,\n\t\t\t\t\t\tdisplayname: group.displayname,\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t\tthis.status.isLoading = false\n\t\t\t}, (error) => {\n\t\t\t\tconsole.error('Error while loading group list', error.response)\n\t\t\t})\n\t\t},\n\t\taddGroup(group) {\n\t\t\tconst index = this.groups.findIndex((item) => item.id === group.id)\n\t\t\tif (index === -1) {\n\t\t\t\tthis.groups.push(group)\n\t\t\t}\n\t\t},\n\t},\n}\n<\/script>\n<style scoped>\n\t.multiselect {\n\t\twidth: 100%;\n\t}\n</style>\n"],sourceRoot:""}]),e.a=i},function(t,e,n){var a=n(1),r=n(156);a({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},function(t,e,n){var a=n(10),r=n(4),o=n(97);t.exports=!a&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var a=n(12),r=n(153),o=n(29),i=n(16);t.exports=function(t,e){for(var n=r(e),s=i.f,c=o.f,l=0;l<n.length;l++){var u=n[l];a(t,u)||s(t,u,c(e,u))}}},function(t,e,n){var a=n(34),r=n(48),o=n(104),i=n(8);t.exports=a("Reflect","ownKeys")||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var a=n(3);t.exports=a},function(t,e,n){var a=n(12),r=n(22),o=n(102).indexOf,i=n(67);t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)!a(i,n)&&a(s,n)&&l.push(n);for(;e.length>c;)a(s,n=e[c++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){"use strict";var a=n(10),r=n(4),o=n(70),i=n(104),s=n(96),c=n(18),l=n(46),u=Object.assign,d=Object.defineProperty;t.exports=!u||r((function(){if(a&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||"abcdefghijklmnopqrst"!=o(u({},e)).join("")}))?function(t,e){for(var n=c(t),r=arguments.length,u=1,d=i.f,p=s.f;r>u;)for(var A,f=l(arguments[u++]),m=d?o(f).concat(d(f)):o(f),h=m.length,M=0;h>M;)A=m[M++],a&&!p.call(f,A)||(n[A]=f[A]);return n}:u},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),a=0;a<n.length;a++)n[a]=arguments[a];return t.apply(e,n)}}},function(t,e,n){"use strict";var a=n(17);function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(a.isURLSearchParams(e))o=e.toString();else{var i=[];a.forEach(e,(function(t,e){null!=t&&(a.isArray(t)?e+="[]":t=[t],a.forEach(t,(function(t){a.isDate(t)?t=t.toISOString():a.isObject(t)&&(t=JSON.stringify(t)),i.push(r(e)+"="+r(t))})))})),o=i.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){var a=n(17),r=n(398),o={"Content-Type":"application/x-www-form-urlencoded"};function i(t,e){!a.isUndefined(t)&&a.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,c={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(s=n(161)),s),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),a.isFormData(t)||a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)?t:a.isArrayBufferView(t)?t.buffer:a.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):a.isObject(t)?(i(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),a.forEach(["post","put","patch"],(function(t){c.headers[t]=a.merge(o)})),t.exports=c}).call(this,n(71))},function(t,e,n){"use strict";var a=n(17),r=n(399),o=n(401),i=n(158),s=n(402),c=n(405),l=n(406),u=n(162);t.exports=function(t){return new Promise((function(e,n){var d=t.data,p=t.headers;a.isFormData(d)&&delete p["Content-Type"];var A=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(f+":"+m)}var h=s(t.baseURL,t.url);if(A.open(t.method.toUpperCase(),i(h,t.params,t.paramsSerializer),!0),A.timeout=t.timeout,A.onreadystatechange=function(){if(A&&4===A.readyState&&(0!==A.status||A.responseURL&&0===A.responseURL.indexOf("file:"))){var a="getAllResponseHeaders"in A?c(A.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?A.response:A.responseText,status:A.status,statusText:A.statusText,headers:a,config:t,request:A};r(e,n,o),A=null}},A.onabort=function(){A&&(n(u("Request aborted",t,"ECONNABORTED",A)),A=null)},A.onerror=function(){n(u("Network Error",t,null,A)),A=null},A.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,"ECONNABORTED",A)),A=null},a.isStandardBrowserEnv()){var M=(t.withCredentials||l(h))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;M&&(p[t.xsrfHeaderName]=M)}if("setRequestHeader"in A&&a.forEach(p,(function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete p[e]:A.setRequestHeader(e,t)})),a.isUndefined(t.withCredentials)||(A.withCredentials=!!t.withCredentials),t.responseType)try{A.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&A.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&A.upload&&A.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){A&&(A.abort(),n(t),A=null)})),d||(d=null),A.send(d)}))}},function(t,e,n){"use strict";var a=n(400);t.exports=function(t,e,n,r,o){var i=new Error(t);return a(i,e,n,r,o)}},function(t,e,n){"use strict";var a=n(17);t.exports=function(t,e){e=e||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return a.isPlainObject(t)&&a.isPlainObject(e)?a.merge(t,e):a.isPlainObject(e)?a.merge({},e):a.isArray(e)?e.slice():e}function l(r){a.isUndefined(e[r])?a.isUndefined(t[r])||(n[r]=c(void 0,t[r])):n[r]=c(t[r],e[r])}a.forEach(r,(function(t){a.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),a.forEach(o,l),a.forEach(i,(function(r){a.isUndefined(e[r])?a.isUndefined(t[r])||(n[r]=c(void 0,t[r])):n[r]=c(void 0,e[r])})),a.forEach(s,(function(a){a in e?n[a]=c(t[a],e[a]):a in t&&(n[a]=c(void 0,t[a]))}));var u=r.concat(o).concat(i).concat(s),d=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return a.forEach(d,l),n}},function(t,e,n){"use strict";function a(t){this.message=t}a.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},a.prototype.__CANCEL__=!0,t.exports=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRequestToken",{enumerable:!0,get:function(){return a.getRequestToken}}),Object.defineProperty(e,"onRequestTokenUpdate",{enumerable:!0,get:function(){return a.onRequestTokenUpdate}}),Object.defineProperty(e,"getCurrentUser",{enumerable:!0,get:function(){return r.getCurrentUser}});var a=n(410),r=n(412)},function(t,e,n){"use strict";var a=n(72).forEach,r=n(74)("forEach");t.exports=r?[].forEach:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){var a=n(105);t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){"use strict";n.r(e),function(t,a){n.d(e,"emit",(function(){return zr})),n.d(e,"subscribe",(function(){return xr})),n.d(e,"unsubscribe",(function(){return kr}));var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function o(t){var e={exports:{}};return t(e,e.exports),e.exports}var i=function(t){return t&&t.Math==Math&&t},s=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof r&&r)||function(){return this}()||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},l=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,p={f:d&&!u.call({1:2},1)?function(t){var e=d(this,t);return!!e&&e.enumerable}:u},A=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},f={}.toString,m=function(t){return f.call(t).slice(8,-1)},h="".split,M=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==m(t)?h.call(t,""):Object(t)}:Object,g=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return M(g(t))},_=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,e){if(!_(t))return t;var n,a;if(e&&"function"==typeof(n=t.toString)&&!_(a=n.call(t)))return a;if("function"==typeof(n=t.valueOf)&&!_(a=n.call(t)))return a;if(!e&&"function"==typeof(n=t.toString)&&!_(a=n.call(t)))return a;throw TypeError("Can't convert object to primitive value")},y=function(t){return Object(g(t))},L={}.hasOwnProperty,w=function(t,e){return L.call(y(t),e)},C=s.document,T=_(C)&&_(C.createElement),x=function(t){return T?C.createElement(t):{}},k=!l&&!c((function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a})),z=Object.getOwnPropertyDescriptor,O={f:l?z:function(t,e){if(t=b(t),e=v(e,!0),k)try{return z(t,e)}catch(t){}if(w(t,e))return A(!p.f.call(t,e),t[e])}},S=function(t){if(!_(t))throw TypeError(String(t)+" is not an object");return t},B=Object.defineProperty,E={f:l?B:function(t,e,n){if(S(t),e=v(e,!0),S(n),k)try{return B(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},N=l?function(t,e,n){return E.f(t,e,A(1,n))}:function(t,e,n){return t[e]=n,t},D=function(t,e){try{N(s,t,e)}catch(n){s[t]=e}return e},Y=s["__core-js_shared__"]||D("__core-js_shared__",{}),j=Function.toString;"function"!=typeof Y.inspectSource&&(Y.inspectSource=function(t){return j.call(t)});var I,P,W,q=Y.inspectSource,R=s.WeakMap,F="function"==typeof R&&/native code/.test(q(R)),H=o((function(t){(t.exports=function(t,e){return Y[t]||(Y[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),X=0,U=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++X+U).toString(36)},Q=H("keys"),$=function(t){return Q[t]||(Q[t]=G(t))},V={},J=s.WeakMap;if(F){var K=Y.state||(Y.state=new J),Z=K.get,tt=K.has,et=K.set;I=function(t,e){if(tt.call(K,t))throw new TypeError("Object already initialized");return e.facade=t,et.call(K,t,e),e},P=function(t){return Z.call(K,t)||{}},W=function(t){return tt.call(K,t)}}else{var nt=$("state");V[nt]=!0,I=function(t,e){if(w(t,nt))throw new TypeError("Object already initialized");return e.facade=t,N(t,nt,e),e},P=function(t){return w(t,nt)?t[nt]:{}},W=function(t){return w(t,nt)}}var at={set:I,get:P,has:W,enforce:function(t){return W(t)?P(t):I(t,{})},getterFor:function(t){return function(e){var n;if(!_(e)||(n=P(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},rt=o((function(t){var e=at.get,n=at.enforce,a=String(String).split("String");(t.exports=function(t,e,r,o){var i,c=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet;"function"==typeof r&&("string"!=typeof e||w(r,"name")||N(r,"name",e),(i=n(r)).source||(i.source=a.join("string"==typeof e?e:""))),t!==s?(c?!u&&t[e]&&(l=!0):delete t[e],l?t[e]=r:N(t,e,r)):l?t[e]=r:D(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||q(this)}))})),ot=s,it=function(t){return"function"==typeof t?t:void 0},st=function(t,e){return arguments.length<2?it(ot[t])||it(s[t]):ot[t]&&ot[t][e]||s[t]&&s[t][e]},ct=Math.ceil,lt=Math.floor,ut=function(t){return isNaN(t=+t)?0:(t>0?lt:ct)(t)},dt=Math.min,pt=function(t){return t>0?dt(ut(t),9007199254740991):0},At=Math.max,ft=Math.min,mt=function(t){return function(e,n,a){var r,o=b(e),i=pt(o.length),s=function(t,e){var n=ut(t);return n<0?At(n+e,0):ft(n,e)}(a,i);if(t&&n!=n){for(;i>s;)if((r=o[s++])!=r)return!0}else for(;i>s;s++)if((t||s in o)&&o[s]===n)return t||s||0;return!t&&-1}},ht={includes:mt(!0),indexOf:mt(!1)}.indexOf,Mt=function(t,e){var n,a=b(t),r=0,o=[];for(n in a)!w(V,n)&&w(a,n)&&o.push(n);for(;e.length>r;)w(a,n=e[r++])&&(~ht(o,n)||o.push(n));return o},gt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bt=gt.concat("length","prototype"),_t={f:Object.getOwnPropertyNames||function(t){return Mt(t,bt)}},vt={f:Object.getOwnPropertySymbols},yt=st("Reflect","ownKeys")||function(t){var e=_t.f(S(t)),n=vt.f;return n?e.concat(n(t)):e},Lt=function(t,e){for(var n=yt(e),a=E.f,r=O.f,o=0;o<n.length;o++){var i=n[o];w(t,i)||a(t,i,r(e,i))}},wt=/#|\.prototype\./,Ct=function(t,e){var n=xt[Tt(t)];return n==zt||n!=kt&&("function"==typeof e?c(e):!!e)},Tt=Ct.normalize=function(t){return String(t).replace(wt,".").toLowerCase()},xt=Ct.data={},kt=Ct.NATIVE="N",zt=Ct.POLYFILL="P",Ot=Ct,St=O.f,Bt=function(t,e){var n,a,r,o,i,c=t.target,l=t.global,u=t.stat;if(n=l?s:u?s[c]||D(c,{}):(s[c]||{}).prototype)for(a in e){if(o=e[a],r=t.noTargetGet?(i=St(n,a))&&i.value:n[a],!Ot(l?a:c+(u?".":"#")+a,t.forced)&&void 0!==r){if(typeof o==typeof r)continue;Lt(o,r)}(t.sham||r&&r.sham)&&N(o,"sham",!0),rt(n,a,o,t)}};Bt({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991});var Et,Nt=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,a){return S(n),function(t){if(!_(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(a),e?t.call(n,a):n.__proto__=a,n}}():void 0),Dt=function(t,e,n){var a,r;return Nt&&"function"==typeof(a=e.constructor)&&a!==n&&_(r=a.prototype)&&r!==n.prototype&&Nt(t,r),t},Yt=Object.keys||function(t){return Mt(t,gt)},jt=l?Object.defineProperties:function(t,e){S(t);for(var n,a=Yt(e),r=a.length,o=0;r>o;)E.f(t,n=a[o++],e[n]);return t},It=st("document","documentElement"),Pt=$("IE_PROTO"),Wt=function(){},qt=function(t){return"<script>"+t+"<\/script>"},Rt=function(){try{Et=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Rt=Et?function(t){t.write(qt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Et):((e=x("iframe")).style.display="none",It.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(qt("document.F=Object")),t.close(),t.F);for(var n=gt.length;n--;)delete Rt.prototype[gt[n]];return Rt()};V[Pt]=!0;var Ft=Object.create||function(t,e){var n;return null!==t?(Wt.prototype=S(t),n=new Wt,Wt.prototype=null,n[Pt]=t):n=Rt(),void 0===e?n:jt(n,e)},Ht="\t\n\v\f\r \u2028\u2029\ufeff",Xt="["+Ht+"]",Ut=RegExp("^"+Xt+Xt+"*"),Gt=RegExp(Xt+Xt+"*$"),Qt=function(t){return function(e){var n=String(g(e));return 1&t&&(n=n.replace(Ut,"")),2&t&&(n=n.replace(Gt,"")),n}},$t={start:Qt(1),end:Qt(2),trim:Qt(3)},Vt=_t.f,Jt=O.f,Kt=E.f,Zt=$t.trim,te=s.Number,ee=te.prototype,ne="Number"==m(Ft(ee)),ae=function(t){var e,n,a,r,o,i,s,c,l=v(t,!1);if("string"==typeof l&&l.length>2)if(43===(e=(l=Zt(l)).charCodeAt(0))||45===e){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(l.charCodeAt(1)){case 66:case 98:a=2,r=49;break;case 79:case 111:a=8,r=55;break;default:return+l}for(i=(o=l.slice(2)).length,s=0;s<i;s++)if((c=o.charCodeAt(s))<48||c>r)return NaN;return parseInt(o,a)}return+l};if(Ot("Number",!te(" 0o1")||!te("0b1")||te("+0x1"))){for(var re,oe=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof oe&&(ne?c((function(){ee.valueOf.call(n)})):"Number"!=m(n))?Dt(new te(ae(e)),n,oe):ae(e)},ie=l?Vt(te):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),se=0;ie.length>se;se++)w(te,re=ie[se])&&!w(oe,re)&&Kt(oe,re,Jt(te,re));oe.prototype=ee,ee.constructor=oe,rt(s,"Number",oe)}var ce,le,ue={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},de="process"==m(s.process),pe=st("navigator","userAgent")||"",Ae=s.process,fe=Ae&&Ae.versions,me=fe&&fe.v8;me?le=(ce=me.split("."))[0]+ce[1]:pe&&(!(ce=pe.match(/Edge\/(\d+)/))||ce[1]>=74)&&(ce=pe.match(/Chrome\/(\d+)/))&&(le=ce[1]);var he=le&&+le,Me=!!Object.getOwnPropertySymbols&&!c((function(){return!Symbol.sham&&(de?38===he:he>37&&he<41)})),ge=Me&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,be=H("wks"),_e=s.Symbol,ve=ge?_e:_e&&_e.withoutSetter||G,ye=function(t){return w(be,t)&&(Me||"string"==typeof be[t])||(Me&&w(_e,t)?be[t]=_e[t]:be[t]=ve("Symbol."+t)),be[t]},Le=ye("match"),we=function(t){var e;return _(t)&&(void 0!==(e=t[Le])?!!e:"RegExp"==m(t))},Ce=function(){var t=S(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Te(t,e){return RegExp(t,e)}var xe={UNSUPPORTED_Y:c((function(){var t=Te("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:c((function(){var t=Te("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},ke=ye("species"),ze=function(t){var e=st(t),n=E.f;l&&e&&!e[ke]&&n(e,ke,{configurable:!0,get:function(){return this}})},Oe=E.f,Se=_t.f,Be=at.enforce,Ee=ye("match"),Ne=s.RegExp,De=Ne.prototype,Ye=/a/g,je=/a/g,Ie=new Ne(Ye)!==Ye,Pe=xe.UNSUPPORTED_Y;if(l&&Ot("RegExp",!Ie||Pe||c((function(){return je[Ee]=!1,Ne(Ye)!=Ye||Ne(je)==je||"/a/i"!=Ne(Ye,"i")})))){for(var We=function(t,e){var n,a=this instanceof We,r=we(t),o=void 0===e;if(!a&&r&&t.constructor===We&&o)return t;Ie?r&&!o&&(t=t.source):t instanceof We&&(o&&(e=Ce.call(t)),t=t.source),Pe&&(n=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var i=Dt(Ie?new Ne(t,e):Ne(t,e),a?this:De,We);Pe&&n&&(Be(i).sticky=!0);return i},qe=function(t){t in We||Oe(We,t,{configurable:!0,get:function(){return Ne[t]},set:function(e){Ne[t]=e}})},Re=Se(Ne),Fe=0;Re.length>Fe;)qe(Re[Fe++]);De.constructor=We,We.prototype=De,rt(s,"RegExp",We)}ze("RegExp");var He=RegExp.prototype.exec,Xe=H("native-string-replace",String.prototype.replace),Ue=He,Ge=function(){var t=/a/,e=/b*/g;return He.call(t,"a"),He.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Qe=xe.UNSUPPORTED_Y||xe.BROKEN_CARET,$e=void 0!==/()??/.exec("")[1];(Ge||$e||Qe)&&(Ue=function(t){var e,n,a,r,o=this,i=Qe&&o.sticky,s=Ce.call(o),c=o.source,l=0,u=t;return i&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(t).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==t[o.lastIndex-1])&&(c="(?: "+c+")",u=" "+u,l++),n=new RegExp("^(?:"+c+")",s)),$e&&(n=new RegExp("^"+c+"$(?!\\s)",s)),Ge&&(e=o.lastIndex),a=He.call(i?n:o,u),i?a?(a.input=a.input.slice(l),a[0]=a[0].slice(l),a.index=o.lastIndex,o.lastIndex+=a[0].length):o.lastIndex=0:Ge&&a&&(o.lastIndex=o.global?a.index+a[0].length:e),$e&&a&&a.length>1&&Xe.call(a[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(a[r]=void 0)})),a});var Ve=Ue;Bt({target:"RegExp",proto:!0,forced:/./.exec!==Ve},{exec:Ve});var Je=RegExp.prototype,Ke=Je.toString,Ze=c((function(){return"/a/b"!=Ke.call({source:"a",flags:"b"})})),tn="toString"!=Ke.name;(Ze||tn)&&rt(RegExp.prototype,"toString",(function(){var t=S(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in Je)?Ce.call(t):n)}),{unsafe:!0});var en=Array.isArray||function(t){return"Array"==m(t)},nn=function(t,e,n){var a=v(e);a in t?E.f(t,a,A(0,n)):t[a]=n},an=ye("species"),rn=function(t,e){var n;return en(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!en(n.prototype)?_(n)&&null===(n=n[an])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},on=ye("species"),sn=function(t){return he>=51||!c((function(){var e=[];return(e.constructor={})[on]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},cn=ye("isConcatSpreadable"),ln=he>=51||!c((function(){var t=[];return t[cn]=!1,t.concat()[0]!==t})),un=sn("concat"),dn=function(t){if(!_(t))return!1;var e=t[cn];return void 0!==e?!!e:en(t)};function pn(t){return(pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function An(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}Bt({target:"Array",proto:!0,forced:!ln||!un},{concat:function(t){var e,n,a,r,o,i=y(this),s=rn(i,0),c=0;for(e=-1,a=arguments.length;e<a;e++)if(dn(o=-1===e?i:arguments[e])){if(c+(r=pt(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<r;n++,c++)n in o&&nn(s,c,o[n])}else{if(c>=9007199254740991)throw TypeError("Maximum allowed index exceeded");nn(s,c++,o)}return s.length=c,s}});var fn="object"===(void 0===a?"undefined":pn(a))&&a.env&&a.env.NODE_DEBUG&&/\bsemver\b/i.test(a.env.NODE_DEBUG)?function(){for(var t,e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return(t=console).error.apply(t,["SEMVER"].concat(n))}:function(){},mn=o((function(t,e){var n=ue.MAX_SAFE_COMPONENT_LENGTH,a=(e=t.exports={}).re=[],r=e.src=[],o=e.t={},i=0,s=function(t,e,n){var s=i++;fn(s,e),o[t]=s,r[s]=e,a[s]=new RegExp(e,n?"g":void 0)};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION","(".concat(r[o.NUMERICIDENTIFIER],")\\.")+"(".concat(r[o.NUMERICIDENTIFIER],")\\.")+"(".concat(r[o.NUMERICIDENTIFIER],")")),s("MAINVERSIONLOOSE","(".concat(r[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(r[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(r[o.NUMERICIDENTIFIERLOOSE],")")),s("PRERELEASEIDENTIFIER","(?:".concat(r[o.NUMERICIDENTIFIER],"|").concat(r[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASEIDENTIFIERLOOSE","(?:".concat(r[o.NUMERICIDENTIFIERLOOSE],"|").concat(r[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASE","(?:-(".concat(r[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(r[o.PRERELEASEIDENTIFIER],")*))")),s("PRERELEASELOOSE","(?:-?(".concat(r[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(r[o.PRERELEASEIDENTIFIERLOOSE],")*))")),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD","(?:\\+(".concat(r[o.BUILDIDENTIFIER],"(?:\\.").concat(r[o.BUILDIDENTIFIER],")*))")),s("FULLPLAIN","v?".concat(r[o.MAINVERSION]).concat(r[o.PRERELEASE],"?").concat(r[o.BUILD],"?")),s("FULL","^".concat(r[o.FULLPLAIN],"$")),s("LOOSEPLAIN","[v=\\s]*".concat(r[o.MAINVERSIONLOOSE]).concat(r[o.PRERELEASELOOSE],"?").concat(r[o.BUILD],"?")),s("LOOSE","^".concat(r[o.LOOSEPLAIN],"$")),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(r[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(r[o.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(r[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(r[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(r[o.XRANGEIDENTIFIER],")")+"(?:".concat(r[o.PRERELEASE],")?").concat(r[o.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(r[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(r[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(r[o.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(r[o.PRERELEASELOOSE],")?").concat(r[o.BUILD],"?")+")?)?"),s("XRANGE","^".concat(r[o.GTLT],"\\s*").concat(r[o.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(r[o.GTLT],"\\s*").concat(r[o.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",r[o.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(r[o.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",s("TILDE","^".concat(r[o.LONETILDE]).concat(r[o.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(r[o.LONETILDE]).concat(r[o.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(r[o.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",s("CARET","^".concat(r[o.LONECARET]).concat(r[o.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(r[o.LONECARET]).concat(r[o.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(r[o.GTLT],"\\s*(").concat(r[o.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(r[o.GTLT],"\\s*(").concat(r[o.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(r[o.GTLT],"\\s*(").concat(r[o.LOOSEPLAIN],"|").concat(r[o.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(r[o.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(r[o.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(r[o.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(r[o.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),hn=ye("species"),Mn=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),gn="$0"==="a".replace(/./,"$0"),bn=ye("replace"),_n=!!/./[bn]&&""===/./[bn]("a","$0"),vn=!c((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),yn=function(t,e,n,a){var r=ye(t),o=!c((function(){var e={};return e[r]=function(){return 7},7!=""[t](e)})),i=o&&!c((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[hn]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return e=!0,null},n[r](""),!e}));if(!o||!i||"replace"===t&&(!Mn||!gn||_n)||"split"===t&&!vn){var s=/./[r],l=n(r,""[t],(function(t,e,n,a,r){return e.exec===RegExp.prototype.exec?o&&!r?{done:!0,value:s.call(e,n,a)}:{done:!0,value:t.call(n,e,a)}:{done:!1}}),{REPLACE_KEEPS_$0:gn,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:_n}),u=l[0],d=l[1];rt(String.prototype,t,u),rt(RegExp.prototype,r,2==e?function(t,e){return d.call(t,this,e)}:function(t){return d.call(t,this)})}a&&N(RegExp.prototype[r],"sham",!0)},Ln=function(t){return function(e,n){var a,r,o=String(g(e)),i=ut(n),s=o.length;return i<0||i>=s?t?"":void 0:(a=o.charCodeAt(i))<55296||a>56319||i+1===s||(r=o.charCodeAt(i+1))<56320||r>57343?t?o.charAt(i):a:t?o.slice(i,i+2):r-56320+(a-55296<<10)+65536}},wn={codeAt:Ln(!1),charAt:Ln(!0)},Cn=wn.charAt,Tn=function(t,e,n){return e+(n?Cn(t,e).length:1)},xn=function(t,e){var n=t.exec;if("function"==typeof n){var a=n.call(t,e);if("object"!=typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==m(t))throw TypeError("RegExp#exec called on incompatible receiver");return Ve.call(t,e)};yn("match",1,(function(t,e,n){return[function(e){var n=g(this),a=null==e?void 0:e[t];return void 0!==a?a.call(e,n):new RegExp(e)[t](String(n))},function(t){var a=n(e,t,this);if(a.done)return a.value;var r=S(t),o=String(this);if(!r.global)return xn(r,o);var i=r.unicode;r.lastIndex=0;for(var s,c=[],l=0;null!==(s=xn(r,o));){var u=String(s[0]);c[l]=u,""===u&&(r.lastIndex=Tn(o,pt(r.lastIndex),i)),l++}return 0===l?null:c}]}));var kn=$t.trim;Bt({target:"String",proto:!0,forced:function(t){return c((function(){return!!Ht[t]()||"
"!="
"[t]()||Ht[t].name!==t}))}("trim")},{trim:function(){return kn(this)}});var zn=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},On=function(t,e,n){if(zn(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,a){return t.call(e,n,a)};case 3:return function(n,a,r){return t.call(e,n,a,r)}}return function(){return t.apply(e,arguments)}},Sn=[].push,Bn=function(t){var e=1==t,n=2==t,a=3==t,r=4==t,o=6==t,i=7==t,s=5==t||o;return function(c,l,u,d){for(var p,A,f=y(c),m=M(f),h=On(l,u,3),g=pt(m.length),b=0,_=d||rn,v=e?_(c,g):n||i?_(c,0):void 0;g>b;b++)if((s||b in m)&&(A=h(p=m[b],b,f),t))if(e)v[b]=A;else if(A)switch(t){case 3:return!0;case 5:return p;case 6:return b;case 2:Sn.call(v,p)}else switch(t){case 4:return!1;case 7:Sn.call(v,p)}return o?-1:a||r?r:v}},En={forEach:Bn(0),map:Bn(1),filter:Bn(2),some:Bn(3),every:Bn(4),find:Bn(5),findIndex:Bn(6),filterOut:Bn(7)},Nn=En.map,Dn=sn("map");Bt({target:"Array",proto:!0,forced:!Dn},{map:function(t){return Nn(this,t,arguments.length>1?arguments[1]:void 0)}});var Yn=ye("species"),jn=xe.UNSUPPORTED_Y,In=[].push,Pn=Math.min;yn("split",2,(function(t,e,n){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var a=String(g(this)),r=void 0===n?4294967295:n>>>0;if(0===r)return[];if(void 0===t)return[a];if(!we(t))return e.call(a,t,r);for(var o,i,s,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),u=0,d=new RegExp(t.source,l+"g");(o=Ve.call(d,a))&&!((i=d.lastIndex)>u&&(c.push(a.slice(u,o.index)),o.length>1&&o.index<a.length&&In.apply(c,o.slice(1)),s=o[0].length,u=i,c.length>=r));)d.lastIndex===o.index&&d.lastIndex++;return u===a.length?!s&&d.test("")||c.push(""):c.push(a.slice(u)),c.length>r?c.slice(0,r):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=g(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,r,n):a.call(String(r),e,n)},function(t,r){var o=n(a,t,this,r,a!==e);if(o.done)return o.value;var i=S(t),s=String(this),c=function(t,e){var n,a=S(t).constructor;return void 0===a||null==(n=S(a)[Yn])?e:zn(n)}(i,RegExp),l=i.unicode,u=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(jn?"g":"y"),d=new c(jn?"^(?:"+i.source+")":i,u),p=void 0===r?4294967295:r>>>0;if(0===p)return[];if(0===s.length)return null===xn(d,s)?[s]:[];for(var A=0,f=0,m=[];f<s.length;){d.lastIndex=jn?0:f;var h,M=xn(d,jn?s.slice(f):s);if(null===M||(h=Pn(pt(d.lastIndex+(jn?f:0)),s.length))===A)f=Tn(s,f,l);else{if(m.push(s.slice(A,f)),m.length===p)return m;for(var g=1;g<=M.length-1;g++)if(m.push(M[g]),m.length===p)return m;f=A=h}}return m.push(s.slice(A)),m}]}),jn);var Wn=function(t,e){var n=[][t];return!!n&&c((function(){n.call(null,e||function(){throw 1},1)}))},qn=[].join,Rn=M!=Object,Fn=Wn("join",",");Bt({target:"Array",proto:!0,forced:Rn||!Fn},{join:function(t){return qn.call(b(this),void 0===t?",":t)}});var Hn=En.filter,Xn=sn("filter");Bt({target:"Array",proto:!0,forced:!Xn},{filter:function(t){return Hn(this,t,arguments.length>1?arguments[1]:void 0)}});var Un=["includePrerelease","loose","rtl"],Gn=function(t){return t?"object"!==pn(t)?{loose:!0}:Un.filter((function(e){return t[e]})).reduce((function(t,e){return t[e]=!0,t}),{}):{}},Qn=/^[0-9]+$/,$n=function(t,e){var n=Qn.test(t),a=Qn.test(e);return n&&a&&(t=+t,e=+e),t===e?0:n&&!a?-1:a&&!n?1:t<e?-1:1},Vn=$n,Jn=ue.MAX_LENGTH,Kn=ue.MAX_SAFE_INTEGER,Zn=mn.re,ta=mn.t,ea=Vn,na=function(){function t(e,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=Gn(n),e instanceof t){if(e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>Jn)throw new TypeError("version is longer than ".concat(Jn," characters"));fn("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var a=e.trim().match(n.loose?Zn[ta.LOOSE]:Zn[ta.FULL]);if(!a)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>Kn||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Kn||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Kn||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(t){if(/^[0-9]+$/.test(t)){var e=+t;if(e>=0&&e<Kn)return e}return t})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}var e,n,a;return e=t,(n=[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(e){if(fn("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if("string"==typeof e&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}},{key:"compareMain",value:function(e){return e instanceof t||(e=new t(e,this.options)),ea(this.major,e.major)||ea(this.minor,e.minor)||ea(this.patch,e.patch)}},{key:"comparePre",value:function(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var n=0;do{var a=this.prerelease[n],r=e.prerelease[n];if(fn("prerelease compare",n,a,r),void 0===a&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===a)return-1;if(a!==r)return ea(a,r)}while(++n)}},{key:"compareBuild",value:function(e){e instanceof t||(e=new t(e,this.options));var n=0;do{var a=this.build[n],r=e.build[n];if(fn("prerelease compare",n,a,r),void 0===a&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===a)return-1;if(a!==r)return ea(a,r)}while(++n)}},{key:"inc",value:function(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e),this.inc("pre",e);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: ".concat(t))}return this.format(),this.raw=this.version,this}}])&&An(e.prototype,n),a&&An(e,a),t}(),aa=ue.MAX_LENGTH,ra=mn.re,oa=mn.t,ia=function(t,e){if(e=Gn(e),t instanceof na)return t;if("string"!=typeof t)return null;if(t.length>aa)return null;if(!(e.loose?ra[oa.LOOSE]:ra[oa.FULL]).test(t))return null;try{return new na(t,e)}catch(t){return null}},sa=function(t,e){var n=ia(t,e);return n?n.version:null},ca=function(t,e){return new na(t,e).major},la="1.3.0",ua=function(){function t(t){"function"==typeof t.getVersion&&sa(t.getVersion())?ca(t.getVersion())!==ca(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}return t.prototype.getVersion=function(){return la},t.prototype.subscribe=function(t,e){this.bus.subscribe(t,e)},t.prototype.unsubscribe=function(t,e){this.bus.unsubscribe(t,e)},t.prototype.emit=function(t,e){this.bus.emit(t,e)},t}(),da=ye("unscopables"),pa=Array.prototype;null==pa[da]&&E.f(pa,da,{configurable:!0,value:Ft(null)});var Aa,fa,ma,ha=function(t){pa[da][t]=!0},Ma={},ga=!c((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ba=$("IE_PROTO"),_a=Object.prototype,va=ga?Object.getPrototypeOf:function(t){return t=y(t),w(t,ba)?t[ba]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?_a:null},ya=ye("iterator"),La=!1;[].keys&&("next"in(ma=[].keys())?(fa=va(va(ma)))!==Object.prototype&&(Aa=fa):La=!0),(null==Aa||c((function(){var t={};return Aa[ya].call(t)!==t})))&&(Aa={}),w(Aa,ya)||N(Aa,ya,(function(){return this}));var wa={IteratorPrototype:Aa,BUGGY_SAFARI_ITERATORS:La},Ca=E.f,Ta=ye("toStringTag"),xa=function(t,e,n){t&&!w(t=n?t:t.prototype,Ta)&&Ca(t,Ta,{configurable:!0,value:e})},ka=wa.IteratorPrototype,za=function(){return this},Oa=wa.IteratorPrototype,Sa=wa.BUGGY_SAFARI_ITERATORS,Ba=ye("iterator"),Ea=function(){return this},Na=function(t,e,n,a,r,o,i){!function(t,e,n){var a=e+" Iterator";t.prototype=Ft(ka,{next:A(1,n)}),xa(t,a,!1),Ma[a]=za}(n,e,a);var s,c,l,u=function(t){if(t===r&&h)return h;if(!Sa&&t in f)return f[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},d=e+" Iterator",p=!1,f=t.prototype,m=f[Ba]||f["@@iterator"]||r&&f[r],h=!Sa&&m||u(r),M="Array"==e&&f.entries||m;if(M&&(s=va(M.call(new t)),Oa!==Object.prototype&&s.next&&(va(s)!==Oa&&(Nt?Nt(s,Oa):"function"!=typeof s[Ba]&&N(s,Ba,Ea)),xa(s,d,!0))),"values"==r&&m&&"values"!==m.name&&(p=!0,h=function(){return m.call(this)}),f[Ba]!==h&&N(f,Ba,h),Ma[e]=h,r)if(c={values:u("values"),keys:o?h:u("keys"),entries:u("entries")},i)for(l in c)(Sa||p||!(l in f))&&rt(f,l,c[l]);else Bt({target:e,proto:!0,forced:Sa||p},c);return c},Da=at.set,Ya=at.getterFor("Array Iterator"),ja=Na(Array,"Array",(function(t,e){Da(this,{type:"Array Iterator",target:b(t),index:0,kind:e})}),(function(){var t=Ya(this),e=t.target,n=t.kind,a=t.index++;return!e||a>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:a,done:!1}:"values"==n?{value:e[a],done:!1}:{value:[a,e[a]],done:!1}}),"values");Ma.Arguments=Ma.Array,ha("keys"),ha("values"),ha("entries");var Ia=!c((function(){return Object.isExtensible(Object.preventExtensions({}))})),Pa=o((function(t){var e=E.f,n=G("meta"),a=0,r=Object.isExtensible||function(){return!0},o=function(t){e(t,n,{value:{objectID:"O"+ ++a,weakData:{}}})},i=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!_(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!w(t,n)){if(!r(t))return"F";if(!e)return"E";o(t)}return t[n].objectID},getWeakData:function(t,e){if(!w(t,n)){if(!r(t))return!0;if(!e)return!1;o(t)}return t[n].weakData},onFreeze:function(t){return Ia&&i.REQUIRED&&r(t)&&!w(t,n)&&o(t),t}};V[n]=!0})),Wa=ye("iterator"),qa=Array.prototype,Ra={};Ra[ye("toStringTag")]="z";var Fa="[object z]"===String(Ra),Ha=ye("toStringTag"),Xa="Arguments"==m(function(){return arguments}()),Ua=Fa?m:function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Ha))?n:Xa?m(e):"Object"==(a=m(e))&&"function"==typeof e.callee?"Arguments":a},Ga=ye("iterator"),Qa=function(t){var e=t.return;if(void 0!==e)return S(e.call(t)).value},$a=function(t,e){this.stopped=t,this.result=e},Va=function(t,e,n){var a,r,o,i,s,c,l,u,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),A=!(!n||!n.IS_ITERATOR),f=!(!n||!n.INTERRUPTED),m=On(e,d,1+p+f),h=function(t){return a&&Qa(a),new $a(!0,t)},M=function(t){return p?(S(t),f?m(t[0],t[1],h):m(t[0],t[1])):f?m(t,h):m(t)};if(A)a=t;else{if("function"!=typeof(r=function(t){if(null!=t)return t[Ga]||t["@@iterator"]||Ma[Ua(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(u=r)&&(Ma.Array===u||qa[Wa]===u)){for(o=0,i=pt(t.length);i>o;o++)if((s=M(t[o]))&&s instanceof $a)return s;return new $a(!1)}a=r.call(t)}for(c=a.next;!(l=c.call(a)).done;){try{s=M(l.value)}catch(t){throw Qa(a),t}if("object"==typeof s&&s&&s instanceof $a)return s}return new $a(!1)},Ja=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Ka=ye("iterator"),Za=!1;try{var tr=0,er={next:function(){return{done:!!tr++}},return:function(){Za=!0}};er[Ka]=function(){return this},Array.from(er,(function(){throw 2}))}catch(t){}var nr=function(t,e,n){for(var a in e)rt(t,a,e[a],n);return t},ar=E.f,rr=Pa.fastKey,or=at.set,ir=at.getterFor;!function(t,e,n){var a=-1!==t.indexOf("Map"),r=-1!==t.indexOf("Weak"),o=a?"set":"add",i=s[t],l=i&&i.prototype,u=i,d={},p=function(t){var e=l[t];rt(l,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(r&&!_(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return r&&!_(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(r&&!_(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(Ot(t,"function"!=typeof i||!(r||l.forEach&&!c((function(){(new i).entries().next()})))))u=n.getConstructor(e,t,a,o),Pa.REQUIRED=!0;else if(Ot(t,!0)){var A=new u,f=A[o](r?{}:-0,1)!=A,m=c((function(){A.has(1)})),h=function(t,e){if(!e&&!Za)return!1;var n=!1;try{var a={};a[Ka]=function(){return{next:function(){return{done:n=!0}}}},t(a)}catch(t){}return n}((function(t){new i(t)})),M=!r&&c((function(){for(var t=new i,e=5;e--;)t[o](e,e);return!t.has(-0)}));h||((u=e((function(e,n){Ja(e,u,t);var r=Dt(new i,e,u);return null!=n&&Va(n,r[o],{that:r,AS_ENTRIES:a}),r}))).prototype=l,l.constructor=u),(m||M)&&(p("delete"),p("has"),a&&p("get")),(M||f)&&p(o),r&&l.clear&&delete l.clear}d[t]=u,Bt({global:!0,forced:u!=i},d),xa(u,t),r||n.setStrong(u,t,a)}("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),{getConstructor:function(t,e,n,a){var r=t((function(t,o){Ja(t,r,e),or(t,{type:e,index:Ft(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=o&&Va(o,t[a],{that:t,AS_ENTRIES:n})})),o=ir(e),i=function(t,e,n){var a,r,i=o(t),c=s(t,e);return c?c.value=n:(i.last=c={index:r=rr(e,!0),key:e,value:n,previous:a=i.last,next:void 0,removed:!1},i.first||(i.first=c),a&&(a.next=c),l?i.size++:t.size++,"F"!==r&&(i.index[r]=c)),t},s=function(t,e){var n,a=o(t),r=rr(e);if("F"!==r)return a.index[r];for(n=a.first;n;n=n.next)if(n.key==e)return n};return nr(r.prototype,{clear:function(){for(var t=o(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=o(this),n=s(this,t);if(n){var a=n.next,r=n.previous;delete e.index[n.index],n.removed=!0,r&&(r.next=a),a&&(a.previous=r),e.first==n&&(e.first=a),e.last==n&&(e.last=r),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=o(this),a=On(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(a(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!s(this,t)}}),nr(r.prototype,n?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return i(this,0===t?0:t,e)}}:{add:function(t){return i(this,t=0===t?0:t,t)}}),l&&ar(r.prototype,"size",{get:function(){return o(this).size}}),r},setStrong:function(t,e,n){var a=e+" Iterator",r=ir(e),o=ir(a);Na(t,e,(function(t,e){or(this,{type:a,target:t,state:r(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),ze(e)}});var sr=Fa?{}.toString:function(){return"[object "+Ua(this)+"]"};Fa||rt(Object.prototype,"toString",sr,{unsafe:!0});var cr=wn.charAt,lr=at.set,ur=at.getterFor("String Iterator");Na(String,"String",(function(t){lr(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=ur(this),n=e.string,a=e.index;return a>=n.length?{value:void 0,done:!0}:(t=cr(n,a),e.index+=t.length,{value:t,done:!1})}));var dr={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},pr=ye("iterator"),Ar=ye("toStringTag"),fr=ja.values;for(var mr in dr){var hr=s[mr],Mr=hr&&hr.prototype;if(Mr){if(Mr[pr]!==fr)try{N(Mr,pr,fr)}catch(t){Mr[pr]=fr}if(Mr[Ar]||N(Mr,Ar,mr),dr[mr])for(var gr in ja)if(Mr[gr]!==ja[gr])try{N(Mr,gr,ja[gr])}catch(t){Mr[gr]=ja[gr]}}}var br=En.forEach,_r=Wn("forEach")?[].forEach:function(t){return br(this,t,arguments.length>1?arguments[1]:void 0)};for(var vr in dr){var yr=s[vr],Lr=yr&&yr.prototype;if(Lr&&Lr.forEach!==_r)try{N(Lr,"forEach",_r)}catch(t){Lr.forEach=_r}}var wr="1.3.0",Cr=function(){function t(){this.handlers=new Map}return t.prototype.getVersion=function(){return wr},t.prototype.subscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))},t.prototype.unsubscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((function(t){return t!=e})))},t.prototype.emit=function(t,e){(this.handlers.get(t)||[]).forEach((function(t){try{t(e)}catch(t){console.error("could not invoke event listener",t)}}))},t}();var Tr=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),void 0!==window._nc_event_bus?new ua(window._nc_event_bus):window._nc_event_bus=new Cr);function xr(t,e){Tr.subscribe(t,e)}function kr(t,e){Tr.unsubscribe(t,e)}function zr(t,e){Tr.emit(t,e)}}.call(this,n(15),n(71))},function(t,e,n){var a=n(80),r=n(425),o=n(426),i=n(427),s=n(428),c=n(429);function l(t){var e=this.__data__=new a(t);this.size=e.size}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=c,t.exports=l},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(15))},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,n){var a=n(436),r=n(443),o=n(445),i=n(446),s=n(447);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}c.prototype.clear=a,c.prototype.delete=r,c.prototype.get=o,c.prototype.has=i,c.prototype.set=s,t.exports=c},function(t,e,n){var a=n(448),r=n(451),o=n(452);t.exports=function(t,e,n,i,s,c){var l=1&n,u=t.length,d=e.length;if(u!=d&&!(l&&d>u))return!1;var p=c.get(t),A=c.get(e);if(p&&A)return p==e&&A==t;var f=-1,m=!0,h=2&n?new a:void 0;for(c.set(t,e),c.set(e,t);++f<u;){var M=t[f],g=e[f];if(i)var b=l?i(g,M,f,e,t,c):i(M,g,f,t,e,c);if(void 0!==b){if(b)continue;m=!1;break}if(h){if(!r(e,(function(t,e){if(!o(h,e)&&(M===t||s(M,t,n,i,c)))return h.push(e)}))){m=!1;break}}else if(M!==g&&!s(M,g,n,i,c)){m=!1;break}}return c.delete(t),c.delete(e),m}},function(t,e,n){var a=n(24).Uint8Array;t.exports=a},function(t,e,n){var a=n(464),r=n(176),o=n(84),i=n(117),s=n(177),c=n(118),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),u=!n&&r(t),d=!n&&!u&&i(t),p=!n&&!u&&!d&&c(t),A=n||u||d||p,f=A?a(t.length,String):[],m=f.length;for(var h in t)!e&&!l.call(t,h)||A&&("length"==h||d&&("offset"==h||"parent"==h)||p&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||s(h,m))||f.push(h);return f}},function(t,e,n){var a=n(465),r=n(43),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,c=a(function(){return arguments}())?a:function(t){return r(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var a=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==a||"symbol"!=a&&n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){var a=n(120),r=n(56);t.exports=function(t,e,n){(void 0!==n&&!r(t[e],n)||void 0===n&&!(e in t))&&a(t,e,n)}},function(t,e,n){var a=n(35),r=function(){try{var t=a(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=r},function(t,e,n){var a=n(179)(Object.getPrototypeOf,Object);t.exports=a},function(t,e){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},function(t,e,n){var a=n(175),r=n(492),o=n(86);t.exports=function(t){return o(t)?a(t,!0):r(t)}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var a=n(2),r=n(59),o=n(16),i=a("unscopables"),s=Array.prototype;null==s[i]&&o.f(s,i,{configurable:!0,value:r(null)}),t.exports=function(t){s[i][t]=!0}},function(t,e,n){var a=n(10),r=n(16),o=n(8),i=n(70);t.exports=a?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var a=n(34);t.exports=a("document","documentElement")},function(t,e,n){"use strict";var a=n(1),r=n(190),o=n(192),i=n(122),s=n(44),c=n(23),l=n(19),u=n(2),d=n(33),p=n(60),A=n(191),f=A.IteratorPrototype,m=A.BUGGY_SAFARI_ITERATORS,h=u("iterator"),M=function(){return this};t.exports=function(t,e,n,u,A,g,b){r(n,e,u);var _,v,y,L=function(t){if(t===A&&k)return k;if(!m&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},w=e+" Iterator",C=!1,T=t.prototype,x=T[h]||T["@@iterator"]||A&&T[A],k=!m&&x||L(A),z="Array"==e&&T.entries||x;if(z&&(_=o(z.call(new t)),f!==Object.prototype&&_.next&&(d||o(_)===f||(i?i(_,f):"function"!=typeof _[h]&&c(_,h,M)),s(_,w,!0,!0),d&&(p[w]=M))),"values"==A&&x&&"values"!==x.name&&(C=!0,k=function(){return x.call(this)}),d&&!b||T[h]===k||c(T,h,k),p[e]=k,A)if(v={values:L("values"),keys:g?k:L("keys"),entries:L("entries")},b)for(y in v)(m||C||!(y in T))&&l(T,y,v[y]);else a({target:e,proto:!0,forced:m||C},v);return v}},function(t,e,n){"use strict";var a=n(191).IteratorPrototype,r=n(59),o=n(39),i=n(44),s=n(60),c=function(){return this};t.exports=function(t,e,n){var l=e+" Iterator";return t.prototype=r(a,{next:o(1,n)}),i(t,l,!1,!0),s[l]=c,t}},function(t,e,n){"use strict";var a,r,o,i=n(4),s=n(192),c=n(23),l=n(12),u=n(2),d=n(33),p=u("iterator"),A=!1;[].keys&&("next"in(o=[].keys())?(r=s(s(o)))!==Object.prototype&&(a=r):A=!0);var f=null==a||i((function(){var t={};return a[p].call(t)!==t}));f&&(a={}),d&&!f||l(a,p)||c(a,p,(function(){return this})),t.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:A}},function(t,e,n){var a=n(12),r=n(18),o=n(65),i=n(503),s=o("IE_PROTO"),c=Object.prototype;t.exports=i?Object.getPrototypeOf:function(t){return t=r(t),a(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var a=n(28),r="["+n(195)+"]",o=RegExp("^"+r+r+"*"),i=RegExp(r+r+"*$"),s=function(t){return function(e){var n=String(a(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(i,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){var a=n(3),r=n(193),o=n(166),i=n(23);for(var s in r){var c=a[s],l=c&&c.prototype;if(l&&l.forEach!==o)try{i(l,"forEach",o)}catch(t){l.forEach=o}}},function(t,e,n){"use strict";var a=n(1),r=n(3),o=n(34),i=n(33),s=n(10),c=n(105),l=n(167),u=n(4),d=n(12),p=n(50),A=n(11),f=n(8),m=n(18),h=n(22),M=n(47),g=n(39),b=n(59),_=n(70),v=n(48),y=n(506),L=n(104),w=n(29),C=n(16),T=n(96),x=n(23),k=n(19),z=n(66),O=n(65),S=n(67),B=n(101),E=n(2),N=n(198),D=n(199),Y=n(44),j=n(30),I=n(72).forEach,P=O("hidden"),W=E("toPrimitive"),q=j.set,R=j.getterFor("Symbol"),F=Object.prototype,H=r.Symbol,X=o("JSON","stringify"),U=w.f,G=C.f,Q=y.f,$=T.f,V=z("symbols"),J=z("op-symbols"),K=z("string-to-symbol-registry"),Z=z("symbol-to-string-registry"),tt=z("wks"),et=r.QObject,nt=!et||!et.prototype||!et.prototype.findChild,at=s&&u((function(){return 7!=b(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(t,e,n){var a=U(F,e);a&&delete F[e],G(t,e,n),a&&t!==F&&G(F,e,a)}:G,rt=function(t,e){var n=V[t]=b(H.prototype);return q(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},ot=l?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof H},it=function(t,e,n){t===F&&it(J,e,n),f(t);var a=M(e,!0);return f(n),d(V,a)?(n.enumerable?(d(t,P)&&t[P][a]&&(t[P][a]=!1),n=b(n,{enumerable:g(0,!1)})):(d(t,P)||G(t,P,g(1,{})),t[P][a]=!0),at(t,a,n)):G(t,a,n)},st=function(t,e){f(t);var n=h(e),a=_(n).concat(dt(n));return I(a,(function(e){s&&!ct.call(n,e)||it(t,e,n[e])})),t},ct=function(t){var e=M(t,!0),n=$.call(this,e);return!(this===F&&d(V,e)&&!d(J,e))&&(!(n||!d(this,e)||!d(V,e)||d(this,P)&&this[P][e])||n)},lt=function(t,e){var n=h(t),a=M(e,!0);if(n!==F||!d(V,a)||d(J,a)){var r=U(n,a);return!r||!d(V,a)||d(n,P)&&n[P][a]||(r.enumerable=!0),r}},ut=function(t){var e=Q(h(t)),n=[];return I(e,(function(t){d(V,t)||d(S,t)||n.push(t)})),n},dt=function(t){var e=t===F,n=Q(e?J:h(t)),a=[];return I(n,(function(t){!d(V,t)||e&&!d(F,t)||a.push(V[t])})),a};(c||(k((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=B(t),n=function(t){this===F&&n.call(J,t),d(this,P)&&d(this[P],e)&&(this[P][e]=!1),at(this,e,g(1,t))};return s&&nt&&at(F,e,{configurable:!0,set:n}),rt(e,t)}).prototype,"toString",(function(){return R(this).tag})),k(H,"withoutSetter",(function(t){return rt(B(t),t)})),T.f=ct,C.f=it,w.f=lt,v.f=y.f=ut,L.f=dt,N.f=function(t){return rt(E(t),t)},s&&(G(H.prototype,"description",{configurable:!0,get:function(){return R(this).description}}),i||k(F,"propertyIsEnumerable",ct,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),I(_(tt),(function(t){D(t)})),a({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=String(t);if(d(K,e))return K[e];var n=H(e);return K[e]=n,Z[n]=e,n},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(d(Z,t))return Z[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),a({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,e){return void 0===e?b(t):st(b(t),e)},defineProperty:it,defineProperties:st,getOwnPropertyDescriptor:lt}),a({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ut,getOwnPropertySymbols:dt}),a({target:"Object",stat:!0,forced:u((function(){L.f(1)}))},{getOwnPropertySymbols:function(t){return L.f(m(t))}}),X)&&a({target:"JSON",stat:!0,forced:!c||u((function(){var t=H();return"[null]"!=X([t])||"{}"!=X({a:t})||"{}"!=X(Object(t))}))},{stringify:function(t,e,n){for(var a,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(a=e,(A(e)||void 0!==t)&&!ot(t))return p(e)||(e=function(t,e){if("function"==typeof a&&(e=a.call(this,t,e)),!ot(e))return e}),r[1]=e,X.apply(null,r)}});H.prototype[W]||x(H.prototype,W,H.prototype.valueOf),Y(H,"Symbol"),S[P]=!0},function(t,e,n){var a=n(2);e.f=a},function(t,e,n){var a=n(154),r=n(12),o=n(198),i=n(16).f;t.exports=function(t){var e=a.Symbol||(a.Symbol={});r(e,t)||i(e,t,{value:o.f(t)})}},function(t,e,n){"use strict";n(54),n(42),n(76),n(55),Object.defineProperty(e,"__esModule",{value:!0}),e.getGettextBuilder=function(){return new l};var a,r=(a=n(507))&&a.__esModule?a:{default:a},o=n(510);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var l=function(){function t(){i(this,t),this.translations={},this.debug=!1}return c(t,[{key:"setLanguage",value:function(t){return this.locale=t,this}},{key:"detectLocale",value:function(){return this.setLanguage((0,o.getLanguage)().replace("-","_"))}},{key:"addTranslation",value:function(t,e){return this.translations[t]=e,this}},{key:"enableDebugMode",value:function(){return this.debug=!0,this}},{key:"build",value:function(){return new u(this.locale||"en",this.translations,this.debug)}}]),t}(),u=function(){function t(e,n,a){for(var o in i(this,t),this.gt=new r.default({debug:a,sourceLocale:"en"}),n)this.gt.addTranslations(o,"messages",n[o]);this.gt.setLocale(e)}return c(t,[{key:"subtitudePlaceholders",value:function(t,e){return t.replace(/{([^{}]*)}/g,(function(t,n){var a=e[n];return"string"==typeof a||"number"==typeof a?a.toString():t}))}},{key:"gettext",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.subtitudePlaceholders(this.gt.gettext(t),e)}},{key:"ngettext",value:function(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.subtitudePlaceholders(this.gt.ngettext(t,e,n).replace(/%n/g,n.toString()),a)}}]),t}()},function(t,e,n){"use strict";var a=n(1),r=n(10),o=n(3),i=n(12),s=n(11),c=n(16).f,l=n(152),u=o.Symbol;if(r&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new u(t):void 0===t?u():u(t);return""===t&&(d[e]=!0),e};l(p,u);var A=p.prototype=u.prototype;A.constructor=p;var f=A.toString,m="Symbol(test)"==String(u("test")),h=/^Symbol\((.*)\)[^)]+$/;c(A,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=f.call(t);if(i(d,t))return"";var n=m?e.slice(7,-1):e.replace(h,"$1");return""===n?void 0:n}}),a({global:!0,forced:!0},{Symbol:p})}},function(t,e,n){"use strict";var a=n(1),r=n(11),o=n(50),i=n(68),s=n(13),c=n(22),l=n(52),u=n(2),d=n(53)("slice"),p=u("species"),A=[].slice,f=Math.max;a({target:"Array",proto:!0,forced:!d},{slice:function(t,e){var n,a,u,d=c(this),m=s(d.length),h=i(t,m),M=i(void 0===e?m:e,m);if(o(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return A.call(d,h,M);for(a=new(void 0===n?Array:n)(f(M-h,0)),u=0;h<M;h++,u++)h in d&&l(a,u,d[h]);return a.length=u,a}})},function(t,e,n){n(199)("iterator")},function(t,e,n){"use strict";var a=n(1),r=n(72).filter;a({target:"Array",proto:!0,forced:!n(53)("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var a=n(1),r=n(206);a({target:"Array",stat:!0,forced:!n(209)((function(t){Array.from(t)}))},{from:r})},function(t,e,n){"use strict";var a=n(41),r=n(18),o=n(511),i=n(208),s=n(13),c=n(52),l=n(88);t.exports=function(t){var e,n,u,d,p,A,f=r(t),m="function"==typeof this?this:Array,h=arguments.length,M=h>1?arguments[1]:void 0,g=void 0!==M,b=l(f),_=0;if(g&&(M=a(M,h>2?arguments[2]:void 0,2)),null==b||m==Array&&i(b))for(n=new m(e=s(f.length));e>_;_++)A=g?M(f[_],_):f[_],c(n,_,A);else for(p=(d=b.call(f)).next,n=new m;!(u=p.call(d)).done;_++)A=g?o(d,M,[u.value,_],!0):u.value,c(n,_,A);return n.length=_,n}},function(t,e,n){var a=n(8);t.exports=function(t){var e=t.return;if(void 0!==e)return a(e.call(t)).value}},function(t,e,n){var a=n(2),r=n(60),o=a("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var a=n(2)("iterator"),r=!1;try{var o=0,i={next:function(){return{done:!!o++}},return:function(){r=!0}};i[a]=function(){return this},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o={};o[a]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},function(t,e,n){var a=n(1),r=n(18),o=n(70);a({target:"Object",stat:!0,forced:n(4)((function(){o(1)}))},{keys:function(t){return o(r(t))}})},function(t,e,n){var a=n(1),r=n(4),o=n(22),i=n(29).f,s=n(10),c=r((function(){i(1)}));a({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(t,e){return i(o(t),e)}})},function(t,e,n){var a=n(1),r=n(10),o=n(153),i=n(22),s=n(29),c=n(52);a({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){for(var e,n,a=i(t),r=s.f,l=o(a),u={},d=0;l.length>d;)void 0!==(n=r(a,e=l[d++]))&&c(u,e,n);return u}})},function(t,e,n){"use strict";n(87);var a,r=n(1),o=n(10),i=n(214),s=n(3),c=n(187),l=n(19),u=n(125),d=n(12),p=n(156),A=n(206),f=n(78).codeAt,m=n(513),h=n(44),M=n(514),g=n(30),b=s.URL,_=M.URLSearchParams,v=M.getState,y=g.set,L=g.getterFor("URL"),w=Math.floor,C=Math.pow,T=/[A-Za-z]/,x=/[\d+-.A-Za-z]/,k=/\d/,z=/^(0x|0X)/,O=/^[0-7]+$/,S=/^\d+$/,B=/^[\dA-Fa-f]+$/,E=/[\0\t\n\r #%/:?@[\\]]/,N=/[\0\t\n\r #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Y=/[\t\n\r]/g,j=function(t,e){var n,a,r;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(n=P(e.slice(1,-1))))return"Invalid host";t.host=n}else if(G(t)){if(e=m(e),E.test(e))return"Invalid host";if(null===(n=I(e)))return"Invalid host";t.host=n}else{if(N.test(e))return"Invalid host";for(n="",a=A(e),r=0;r<a.length;r++)n+=X(a[r],q);t.host=n}},I=function(t){var e,n,a,r,o,i,s,c=t.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(e=c.length)>4)return t;for(n=[],a=0;a<e;a++){if(""==(r=c[a]))return t;if(o=10,r.length>1&&"0"==r.charAt(0)&&(o=z.test(r)?16:8,r=r.slice(8==o?1:2)),""===r)i=0;else{if(!(10==o?S:8==o?O:B).test(r))return t;i=parseInt(r,o)}n.push(i)}for(a=0;a<e;a++)if(i=n[a],a==e-1){if(i>=C(256,5-e))return null}else if(i>255)return null;for(s=n.pop(),a=0;a<n.length;a++)s+=n[a]*C(256,3-a);return s},P=function(t){var e,n,a,r,o,i,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,p=function(){return t.charAt(d)};if(":"==p()){if(":"!=t.charAt(1))return;d+=2,u=++l}for(;p();){if(8==l)return;if(":"!=p()){for(e=n=0;n<4&&B.test(p());)e=16*e+parseInt(p(),16),d++,n++;if("."==p()){if(0==n)return;if(d-=n,l>6)return;for(a=0;p();){if(r=null,a>0){if(!("."==p()&&a<4))return;d++}if(!k.test(p()))return;for(;k.test(p());){if(o=parseInt(p(),10),null===r)r=o;else{if(0==r)return;r=10*r+o}if(r>255)return;d++}c[l]=256*c[l]+r,2!=++a&&4!=a||l++}if(4!=a)return;break}if(":"==p()){if(d++,!p())return}else if(p())return;c[l++]=e}else{if(null!==u)return;d++,u=++l}}if(null!==u)for(i=l-u,l=7;0!=l&&i>0;)s=c[l],c[l--]=c[u+i-1],c[u+--i]=s;else if(8!=l)return;return c},W=function(t){var e,n,a,r;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=w(t/256);return e.join(".")}if("object"==typeof t){for(e="",a=function(t){for(var e=null,n=1,a=null,r=0,o=0;o<8;o++)0!==t[o]?(r>n&&(e=a,n=r),a=null,r=0):(null===a&&(a=o),++r);return r>n&&(e=a,n=r),e}(t),n=0;n<8;n++)r&&0===t[n]||(r&&(r=!1),a===n?(e+=n?":":"::",r=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},q={},R=p({},q,{" ":1,'"':1,"<":1,">":1,"`":1}),F=p({},R,{"#":1,"?":1,"{":1,"}":1}),H=p({},F,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),X=function(t,e){var n=f(t,0);return n>32&&n<127&&!d(e,t)?t:encodeURIComponent(t)},U={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(t){return d(U,t.scheme)},Q=function(t){return""!=t.username||""!=t.password},$=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},V=function(t,e){var n;return 2==t.length&&T.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},J=function(t){var e;return t.length>1&&V(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},K=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&V(e[0],!0)||e.pop()},Z=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},nt={},at={},rt={},ot={},it={},st={},ct={},lt={},ut={},dt={},pt={},At={},ft={},mt={},ht={},Mt={},gt={},bt={},_t={},vt=function(t,e,n,r){var o,i,s,c,l,u=n||tt,p=0,f="",m=!1,h=!1,M=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(D,"")),e=e.replace(Y,""),o=A(e);p<=o.length;){switch(i=o[p],u){case tt:if(!i||!T.test(i)){if(n)return"Invalid scheme";u=nt;continue}f+=i.toLowerCase(),u=et;break;case et:if(i&&(x.test(i)||"+"==i||"-"==i||"."==i))f+=i.toLowerCase();else{if(":"!=i){if(n)return"Invalid scheme";f="",u=nt,p=0;continue}if(n&&(G(t)!=d(U,f)||"file"==f&&(Q(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=f,n)return void(G(t)&&U[t.scheme]==t.port&&(t.port=null));f="","file"==t.scheme?u=At:G(t)&&r&&r.scheme==t.scheme?u=at:G(t)?u=st:"/"==o[p+1]?(u=rt,p++):(t.cannotBeABaseURL=!0,t.path.push(""),u=gt)}break;case nt:if(!r||r.cannotBeABaseURL&&"#"!=i)return"Invalid scheme";if(r.cannotBeABaseURL&&"#"==i){t.scheme=r.scheme,t.path=r.path.slice(),t.query=r.query,t.fragment="",t.cannotBeABaseURL=!0,u=_t;break}u="file"==r.scheme?At:ot;continue;case at:if("/"!=i||"/"!=o[p+1]){u=ot;continue}u=ct,p++;break;case rt:if("/"==i){u=lt;break}u=Mt;continue;case ot:if(t.scheme=r.scheme,i==a)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query;else if("/"==i||"\\"==i&&G(t))u=it;else if("?"==i)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query="",u=bt;else{if("#"!=i){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.path.pop(),u=Mt;continue}t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query,t.fragment="",u=_t}break;case it:if(!G(t)||"/"!=i&&"\\"!=i){if("/"!=i){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,u=Mt;continue}u=lt}else u=ct;break;case st:if(u=ct,"/"!=i||"/"!=f.charAt(p+1))continue;p++;break;case ct:if("/"!=i&&"\\"!=i){u=lt;continue}break;case lt:if("@"==i){m&&(f="%40"+f),m=!0,s=A(f);for(var g=0;g<s.length;g++){var b=s[g];if(":"!=b||M){var _=X(b,H);M?t.password+=_:t.username+=_}else M=!0}f=""}else if(i==a||"/"==i||"?"==i||"#"==i||"\\"==i&&G(t)){if(m&&""==f)return"Invalid authority";p-=A(f).length+1,f="",u=ut}else f+=i;break;case ut:case dt:if(n&&"file"==t.scheme){u=mt;continue}if(":"!=i||h){if(i==a||"/"==i||"?"==i||"#"==i||"\\"==i&&G(t)){if(G(t)&&""==f)return"Invalid host";if(n&&""==f&&(Q(t)||null!==t.port))return;if(c=j(t,f))return c;if(f="",u=ht,n)return;continue}"["==i?h=!0:"]"==i&&(h=!1),f+=i}else{if(""==f)return"Invalid host";if(c=j(t,f))return c;if(f="",u=pt,n==dt)return}break;case pt:if(!k.test(i)){if(i==a||"/"==i||"?"==i||"#"==i||"\\"==i&&G(t)||n){if(""!=f){var v=parseInt(f,10);if(v>65535)return"Invalid port";t.port=G(t)&&v===U[t.scheme]?null:v,f=""}if(n)return;u=ht;continue}return"Invalid port"}f+=i;break;case At:if(t.scheme="file","/"==i||"\\"==i)u=ft;else{if(!r||"file"!=r.scheme){u=Mt;continue}if(i==a)t.host=r.host,t.path=r.path.slice(),t.query=r.query;else if("?"==i)t.host=r.host,t.path=r.path.slice(),t.query="",u=bt;else{if("#"!=i){J(o.slice(p).join(""))||(t.host=r.host,t.path=r.path.slice(),K(t)),u=Mt;continue}t.host=r.host,t.path=r.path.slice(),t.query=r.query,t.fragment="",u=_t}}break;case ft:if("/"==i||"\\"==i){u=mt;break}r&&"file"==r.scheme&&!J(o.slice(p).join(""))&&(V(r.path[0],!0)?t.path.push(r.path[0]):t.host=r.host),u=Mt;continue;case mt:if(i==a||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&V(f))u=Mt;else if(""==f){if(t.host="",n)return;u=ht}else{if(c=j(t,f))return c;if("localhost"==t.host&&(t.host=""),n)return;f="",u=ht}continue}f+=i;break;case ht:if(G(t)){if(u=Mt,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=a&&(u=Mt,"/"!=i))continue}else t.fragment="",u=_t;else t.query="",u=bt;break;case Mt:if(i==a||"/"==i||"\\"==i&&G(t)||!n&&("?"==i||"#"==i)){if(".."===(l=(l=f).toLowerCase())||"%2e."===l||".%2e"===l||"%2e%2e"===l?(K(t),"/"==i||"\\"==i&&G(t)||t.path.push("")):Z(f)?"/"==i||"\\"==i&&G(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&V(f)&&(t.host&&(t.host=""),f=f.charAt(0)+":"),t.path.push(f)),f="","file"==t.scheme&&(i==a||"?"==i||"#"==i))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==i?(t.query="",u=bt):"#"==i&&(t.fragment="",u=_t)}else f+=X(i,F);break;case gt:"?"==i?(t.query="",u=bt):"#"==i?(t.fragment="",u=_t):i!=a&&(t.path[0]+=X(i,q));break;case bt:n||"#"!=i?i!=a&&("'"==i&&G(t)?t.query+="%27":t.query+="#"==i?"%23":X(i,q)):(t.fragment="",u=_t);break;case _t:i!=a&&(t.fragment+=X(i,R))}p++}},yt=function(t){var e,n,a=u(this,yt,"URL"),r=arguments.length>1?arguments[1]:void 0,i=String(t),s=y(a,{type:"URL"});if(void 0!==r)if(r instanceof yt)e=L(r);else if(n=vt(e={},String(r)))throw TypeError(n);if(n=vt(s,i,null,e))throw TypeError(n);var c=s.searchParams=new _,l=v(c);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(c)||null},o||(a.href=wt.call(a),a.origin=Ct.call(a),a.protocol=Tt.call(a),a.username=xt.call(a),a.password=kt.call(a),a.host=zt.call(a),a.hostname=Ot.call(a),a.port=St.call(a),a.pathname=Bt.call(a),a.search=Et.call(a),a.searchParams=Nt.call(a),a.hash=Dt.call(a))},Lt=yt.prototype,wt=function(){var t=L(this),e=t.scheme,n=t.username,a=t.password,r=t.host,o=t.port,i=t.path,s=t.query,c=t.fragment,l=e+":";return null!==r?(l+="//",Q(t)&&(l+=n+(a?":"+a:"")+"@"),l+=W(r),null!==o&&(l+=":"+o)):"file"==e&&(l+="//"),l+=t.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},Ct=function(){var t=L(this),e=t.scheme,n=t.port;if("blob"==e)try{return new yt(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&G(t)?e+"://"+W(t.host)+(null!==n?":"+n:""):"null"},Tt=function(){return L(this).scheme+":"},xt=function(){return L(this).username},kt=function(){return L(this).password},zt=function(){var t=L(this),e=t.host,n=t.port;return null===e?"":null===n?W(e):W(e)+":"+n},Ot=function(){var t=L(this).host;return null===t?"":W(t)},St=function(){var t=L(this).port;return null===t?"":String(t)},Bt=function(){var t=L(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Et=function(){var t=L(this).query;return t?"?"+t:""},Nt=function(){return L(this).searchParams},Dt=function(){var t=L(this).fragment;return t?"#"+t:""},Yt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(o&&c(Lt,{href:Yt(wt,(function(t){var e=L(this),n=String(t),a=vt(e,n);if(a)throw TypeError(a);v(e.searchParams).updateSearchParams(e.query)})),origin:Yt(Ct),protocol:Yt(Tt,(function(t){var e=L(this);vt(e,String(t)+":",tt)})),username:Yt(xt,(function(t){var e=L(this),n=A(String(t));if(!$(e)){e.username="";for(var a=0;a<n.length;a++)e.username+=X(n[a],H)}})),password:Yt(kt,(function(t){var e=L(this),n=A(String(t));if(!$(e)){e.password="";for(var a=0;a<n.length;a++)e.password+=X(n[a],H)}})),host:Yt(zt,(function(t){var e=L(this);e.cannotBeABaseURL||vt(e,String(t),ut)})),hostname:Yt(Ot,(function(t){var e=L(this);e.cannotBeABaseURL||vt(e,String(t),dt)})),port:Yt(St,(function(t){var e=L(this);$(e)||(""==(t=String(t))?e.port=null:vt(e,t,pt))})),pathname:Yt(Bt,(function(t){var e=L(this);e.cannotBeABaseURL||(e.path=[],vt(e,t+"",ht))})),search:Yt(Et,(function(t){var e=L(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",vt(e,t,bt)),v(e.searchParams).updateSearchParams(e.query)})),searchParams:Yt(Nt),hash:Yt(Dt,(function(t){var e=L(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",vt(e,t,_t)):e.fragment=null}))}),l(Lt,"toJSON",(function(){return wt.call(this)}),{enumerable:!0}),l(Lt,"toString",(function(){return wt.call(this)}),{enumerable:!0}),b){var jt=b.createObjectURL,It=b.revokeObjectURL;jt&&l(yt,"createObjectURL",(function(t){return jt.apply(b,arguments)})),It&&l(yt,"revokeObjectURL",(function(t){return It.apply(b,arguments)}))}h(yt,"URL"),r({global:!0,forced:!i,sham:!o},{URL:yt})},function(t,e,n){var a=n(4),r=n(2),o=n(33),i=r("iterator");t.exports=!a((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,a){e.delete("b"),n+=a+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(t,e,n){var a=n(19);t.exports=function(t,e,n){for(var r in e)a(t,r,e[r],n);return t}},function(t,e,n){var a=n(11),r=n(122);t.exports=function(t,e,n){var o,i;return r&&"function"==typeof(o=e.constructor)&&o!==n&&a(i=o.prototype)&&i!==n.prototype&&r(t,i),t}},function(t,e,n){"use strict";e.__esModule=!0,e.stateify=e.TokenState=e.CharacterState=void 0;var a=n(89);var r=function(t){this.j=[],this.T=t||null};r.prototype={defaultTransition:!1,on:function(t,e){if(t instanceof Array){for(var n=0;n<t.length;n++)this.j.push([t[n],e]);return this}return this.j.push([t,e]),this},next:function(t){for(var e=0;e<this.j.length;e++){var n=this.j[e],a=n[0],r=n[1];if(this.test(t,a))return r}return this.defaultTransition},accepts:function(){return!!this.T},test:function(t,e){return t===e},emit:function(){return this.T}};var o=(0,a.inherits)(r,(function(t){this.j=[],this.T=t||null}),{test:function(t,e){return t===e||e instanceof RegExp&&e.test(t)}}),i=(0,a.inherits)(r,(function(t){this.j=[],this.T=t||null}),{jump:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new t(""));return n===this.defaultTransition?(n=new this.constructor(e),this.on(t,n)):e&&(n.T=e),n},test:function(t,e){return t instanceof e}});e.CharacterState=o,e.TokenState=i,e.stateify=function(t,e,n,a){for(var r=0,i=t.length,s=e,c=[],l=void 0;r<i&&(l=s.next(t[r]));)s=l,r++;if(r>=i)return[];for(;r<i-1;)l=new o(a),c.push(l),s.on(t[r],l),s=l,r++;return l=new o(n),c.push(l),s.on(t[i-1],l),c}},function(t,e,n){"use strict";e.__esModule=!0,e.createTokenClass=function(){return function(t){t&&(this.v=t)}}},function(t,e,n){"use strict";var a=n(34),r=n(16),o=n(2),i=n(10),s=o("species");t.exports=function(t){var e=a(t),n=r.f;i&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var a=n(8),r=n(49),o=n(2)("species");t.exports=function(t,e){var n,i=a(t).constructor;return void 0===i||null==(n=a(i)[o])?e:r(n)}},function(t,e,n){var a,r,o,i=n(3),s=n(4),c=n(41),l=n(188),u=n(97),d=n(222),p=n(90),A=i.location,f=i.setImmediate,m=i.clearImmediate,h=i.process,M=i.MessageChannel,g=i.Dispatch,b=0,_={},v=function(t){if(_.hasOwnProperty(t)){var e=_[t];delete _[t],e()}},y=function(t){return function(){v(t)}},L=function(t){v(t.data)},w=function(t){i.postMessage(t+"",A.protocol+"//"+A.host)};f&&m||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return _[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},a(b),b},m=function(t){delete _[t]},p?a=function(t){h.nextTick(y(t))}:g&&g.now?a=function(t){g.now(y(t))}:M&&!d?(o=(r=new M).port2,r.port1.onmessage=L,a=c(o.postMessage,o,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&A&&"file:"!==A.protocol&&!s(w)?(a=w,i.addEventListener("message",L,!1)):a="onreadystatechange"in u("script")?function(t){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),v(t)}}:function(t){setTimeout(y(t),0)}),t.exports={set:f,clear:m}},function(t,e,n){var a=n(106);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(a)},function(t,e,n){"use strict";var a=n(49),r=function(t){var e,n;this.promise=new t((function(t,a){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=a})),this.resolve=a(e),this.reject=a(n)};t.exports.f=function(t){return new r(t)}},function(t,e){var n={utf8:{stringToBytes:function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=n},function(t,e,n){"use strict";var a=n(61),r=n(239).filter,o=n(25),i=n(137)("filter"),s=i&&!o((function(){[].filter.call({length:-1,0:1},(function(t){throw t}))}));a({target:"Array",proto:!0,forced:!i||!s},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var a=n(25),r=n(131),o="".split;t.exports=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},function(t,e,n){var a=n(91),r=n(25),o=n(549);t.exports=!a&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var a=n(37);t.exports=function(t){if(!a(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var a=n(230),r=Function.toString;"function"!=typeof a.inspectSource&&(a.inspectSource=function(t){return r.call(t)}),t.exports=a.inspectSource},function(t,e,n){var a=n(21),r=n(135),o=a["__core-js_shared__"]||r("__core-js_shared__",{});t.exports=o},function(t,e,n){var a=n(232),r=n(230);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.1",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e){var n=0,a=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+a).toString(36)}},function(t,e){t.exports={}},function(t,e,n){var a=n(556),r=n(21),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(a[t])||o(r[t]):a[t]&&a[t][e]||r[t]&&r[t][e]}},function(t,e,n){var a=n(45),r=n(130),o=n(558).indexOf,i=n(234);t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)!a(i,n)&&a(s,n)&&l.push(n);for(;e.length>c;)a(s,n=e[c++])&&(~o(l,n)||l.push(n));return l}},function(t,e){var n=Math.ceil,a=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?a:n)(t)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var a=n(562),r=n(226),o=n(136),i=n(93),s=n(240),c=[].push,l=function(t){var e=1==t,n=2==t,l=3==t,u=4==t,d=6==t,p=5==t||d;return function(A,f,m,h){for(var M,g,b=o(A),_=r(b),v=a(f,m,3),y=i(_.length),L=0,w=h||s,C=e?w(A,y):n?w(A,0):void 0;y>L;L++)if((p||L in _)&&(g=v(M=_[L],L,b),t))if(e)C[L]=g;else if(g)switch(t){case 3:return!0;case 5:return M;case 6:return L;case 2:c.call(C,M)}else if(u)return!1;return d?-1:l||u?u:C}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},function(t,e,n){var a=n(37),r=n(241),o=n(62)("species");t.exports=function(t,e){var n;return r(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!r(n.prototype)?a(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var a=n(131);t.exports=Array.isArray||function(t){return"Array"==a(t)}},function(t,e,n){var a=n(25);t.exports=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())}))},function(t,e,n){var a,r,o=n(21),i=n(565),s=o.process,c=s&&s.versions,l=c&&c.v8;l?r=(a=l.split("."))[0]+a[1]:i&&(!(a=i.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=i.match(/Chrome\/(\d+)/))&&(r=a[1]),t.exports=r&&+r},function(t,e,n){"use strict";var a=n(61),r=n(239).map,o=n(25),i=n(137)("map"),s=i&&!o((function(){[].map.call({length:-1,0:1},(function(t){throw t}))}));a({target:"Array",proto:!0,forced:!i||!s},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var a=n(61),r=n(136),o=n(566);a({target:"Object",stat:!0,forced:n(25)((function(){o(1)}))},{keys:function(t){return o(r(t))}})},function(t,e,n){"use strict";var a,r=n(61),o=n(128).f,i=n(93),s=n(567),c=n(132),l=n(569),u=n(232),d="".startsWith,p=Math.min,A=l("startsWith");r({target:"String",proto:!0,forced:!!(u||A||(a=o(String.prototype,"startsWith"),!a||a.writable))&&!A},{startsWith:function(t){var e=String(c(this));s(t);var n=i(p(arguments.length>1?arguments[1]:void 0,e.length)),a=String(t);return d?d.call(e,a,n):e.slice(n,n+a.length)===a}})},function(t,e,n){"use strict";function a(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n(571),n(225),n(244),n(245),n(246),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e,n,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r(this,"scope",void 0),r(this,"wrapped",void 0),this.scope="".concat(a?t.GLOBAL_SCOPE_PERSISTENT:t.GLOBAL_SCOPE_VOLATILE,"_").concat(btoa(e),"_"),this.wrapped=n}var e,n,o;return e=t,(n=[{key:"scopeKey",value:function(t){return"".concat(this.scope).concat(t)}},{key:"setItem",value:function(t,e){this.wrapped.setItem(this.scopeKey(t),e)}},{key:"getItem",value:function(t){return this.wrapped.getItem(this.scopeKey(t))}},{key:"removeItem",value:function(t){this.wrapped.removeItem(this.scopeKey(t))}},{key:"clear",value:function(){var t=this;Object.keys(this.wrapped).filter((function(e){return e.startsWith(t.scope)})).map(this.wrapped.removeItem.bind(this.wrapped))}}])&&a(e.prototype,n),o&&a(e,o),t}();e.default=o,r(o,"GLOBAL_SCOPE_VOLATILE","nextcloud_vol"),r(o,"GLOBAL_SCOPE_PERSISTENT","nextcloud_per")},function(t,e,n){!function(t){"use strict"; +var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,a=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var r=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),a))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function i(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=i(t),n=e.overflow,a=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(n+r+a)?t:c(s(t))}function l(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?u:10===t?d:u||d}function A(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var a=n&&n.nodeName;return a&&"BODY"!==a&&"HTML"!==a?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===i(n,"position")?A(n):n:t?t.ownerDocument.documentElement:document.documentElement}function f(t){return null!==t.parentNode?f(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,a=n?t:e,r=n?e:t,o=document.createRange();o.setStart(a,0),o.setEnd(r,0);var i,s,c=o.commonAncestorContainer;if(t!==c&&e!==c||a.contains(r))return"BODY"===(s=(i=c).nodeName)||"HTML"!==s&&A(i.firstElementChild)!==i?A(c):c;var l=f(t);return l.host?m(l.host,e):m(t,f(e).host)}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",a=t.nodeName;if("BODY"===a||"HTML"===a){var r=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||r;return o[n]}return t[n]}function M(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=h(e,"top"),r=h(e,"left"),o=n?-1:1;return t.top+=a*o,t.bottom+=a*o,t.left+=r*o,t.right+=r*o,t}function g(t,e){var n="x"===e?"Left":"Top",a="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+a+"Width"])}function b(t,e,n,a){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(a["margin"+("Height"===t?"Top":"Left")])+parseInt(a["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,n=t.documentElement,a=p(10)&&getComputedStyle(n);return{height:b("Height",e,n,a),width:b("Width",e,n,a)}}var v=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},y=function(){function t(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(e,n,a){return n&&t(e.prototype,n),a&&t(e,a),e}}(),L=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t};function C(t){return w({},t,{right:t.left+t.width,bottom:t.top+t.height})}function T(t){var e={};try{if(p(10)){e=t.getBoundingClientRect();var n=h(t,"top"),a=h(t,"left");e.top+=n,e.left+=a,e.bottom+=n,e.right+=a}else e=t.getBoundingClientRect()}catch(t){}var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?_(t.ownerDocument):{},s=o.width||t.clientWidth||r.width,c=o.height||t.clientHeight||r.height,l=t.offsetWidth-s,u=t.offsetHeight-c;if(l||u){var d=i(t);l-=g(d,"x"),u-=g(d,"y"),r.width-=l,r.height-=u}return C(r)}function x(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=p(10),r="HTML"===e.nodeName,o=T(t),s=T(e),l=c(t),u=i(e),d=parseFloat(u.borderTopWidth),A=parseFloat(u.borderLeftWidth);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var f=C({top:o.top-s.top-d,left:o.left-s.left-A,width:o.width,height:o.height});if(f.marginTop=0,f.marginLeft=0,!a&&r){var m=parseFloat(u.marginTop),h=parseFloat(u.marginLeft);f.top-=d-m,f.bottom-=d-m,f.left-=A-h,f.right-=A-h,f.marginTop=m,f.marginLeft=h}return(a&&!n?e.contains(l):e===l&&"BODY"!==l.nodeName)&&(f=M(f,e)),f}function k(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,a=x(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),i=e?0:h(n),s=e?0:h(n,"left"),c={top:i-a.top+a.marginTop,left:s-a.left+a.marginLeft,width:r,height:o};return C(c)}function z(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===i(t,"position"))return!0;var n=s(t);return!!n&&z(n)}function O(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===i(e,"transform");)e=e.parentElement;return e||document.documentElement}function S(t,e,n,a){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},i=r?O(t):m(t,l(e));if("viewport"===a)o=k(i,r);else{var u=void 0;"scrollParent"===a?"BODY"===(u=c(s(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===a?t.ownerDocument.documentElement:a;var d=x(u,i,r);if("HTML"!==u.nodeName||z(i))o=d;else{var p=_(t.ownerDocument),A=p.height,f=p.width;o.top+=d.top-d.marginTop,o.bottom=A+d.top,o.left+=d.left-d.marginLeft,o.right=f+d.left}}var h="number"==typeof(n=n||0);return o.left+=h?n:n.left||0,o.top+=h?n:n.top||0,o.right-=h?n:n.right||0,o.bottom-=h?n:n.bottom||0,o}function B(t){return t.width*t.height}function E(t,e,n,a,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var i=S(n,a,o,r),s={top:{width:i.width,height:e.top-i.top},right:{width:i.right-e.right,height:i.height},bottom:{width:i.width,height:i.bottom-e.bottom},left:{width:e.left-i.left,height:i.height}},c=Object.keys(s).map((function(t){return w({key:t},s[t],{area:B(s[t])})})).sort((function(t,e){return e.area-t.area})),l=c.filter((function(t){var e=t.width,a=t.height;return e>=n.clientWidth&&a>=n.clientHeight})),u=l.length>0?l[0].key:c[0].key,d=t.split("-")[1];return u+(d?"-"+d:"")}function N(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=a?O(e):m(e,l(n));return x(n,r,a)}function D(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),a=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+a,height:t.offsetHeight+n}}function Y(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function j(t,e,n){n=n.split("-")[0];var a=D(t),r={width:a.width,height:a.height},o=-1!==["right","left"].indexOf(n),i=o?"top":"left",s=o?"left":"top",c=o?"height":"width",l=o?"width":"height";return r[i]=e[i]+e[c]/2-a[c]/2,r[s]=n===s?e[s]-a[l]:e[Y(s)],r}function I(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function P(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var a=I(t,(function(t){return t[e]===n}));return t.indexOf(a)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=C(e.offsets.popper),e.offsets.reference=C(e.offsets.reference),e=n(e,t))})),e}function W(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=N(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=E(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=j(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=P(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function q(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function R(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),a=0;a<e.length;a++){var r=e[a],o=r?""+r+n:t;if(void 0!==document.body.style[o])return o}return null}function F(){return this.state.isDestroyed=!0,q(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[R("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function H(t){var e=t.ownerDocument;return e?e.defaultView:window}function X(t,e,n,a){n.updateBound=a,H(t).addEventListener("resize",n.updateBound,{passive:!0});var r=c(t);return function t(e,n,a,r){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(n,a,{passive:!0}),o||t(c(i.parentNode),n,a,r),r.push(i)}(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function U(){this.state.eventsEnabled||(this.state=X(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,H(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function Q(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function $(t,e){Object.keys(e).forEach((function(n){var a="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Q(e[n])&&(a="px"),t.style[n]=e[n]+a}))}var V=n&&/Firefox/i.test(navigator.userAgent);function J(t,e,n){var a=I(t,(function(t){return t.name===e})),r=!!a&&t.some((function(t){return t.name===n&&t.enabled&&t.order<a.order}));if(!r){var o="`"+e+"`",i="`"+n+"`";console.warn(i+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}var K=["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"],Z=K.slice(3);function tt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(t),a=Z.slice(n+1).concat(Z.slice(0,n));return e?a.reverse():a}var et="flip",nt="clockwise",at="counterclockwise";function rt(t,e,n,a){var r=[0,0],o=-1!==["right","left"].indexOf(a),i=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=i.indexOf(I(i,(function(t){return-1!==t.search(/,|\s/)})));i[s]&&-1===i[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=-1!==s?[i.slice(0,s).concat([i[s].split(c)[0]]),[i[s].split(c)[1]].concat(i.slice(s+1))]:[i];return(l=l.map((function(t,a){var r=(1===a?!o:o)?"height":"width",i=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,i=!0,t):i?(t[t.length-1]+=e,i=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,a){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],i=r[2];if(!o)return t;if(0===i.indexOf("%")){var s=void 0;switch(i){case"%p":s=n;break;case"%":case"%r":default:s=a}return C(s)[e]/100*o}if("vh"===i||"vw"===i){return("vh"===i?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o}return o}(t,r,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,a){Q(n)&&(r[e]+=n*("-"===t[a-1]?-1:1))}))})),r}var ot={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],a=e.split("-")[1];if(a){var r=t.offsets,o=r.reference,i=r.popper,s=-1!==["bottom","top"].indexOf(n),c=s?"left":"top",l=s?"width":"height",u={start:L({},c,o[c]),end:L({},c,o[c]+o[l]-i[l])};t.offsets.popper=w({},i,u[a])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,a=t.placement,r=t.offsets,o=r.popper,i=r.reference,s=a.split("-")[0],c=void 0;return c=Q(+n)?[+n,0]:rt(n,o,i,s),"left"===s?(o.top+=c[0],o.left-=c[1]):"right"===s?(o.top+=c[0],o.left+=c[1]):"top"===s?(o.left+=c[0],o.top-=c[1]):"bottom"===s&&(o.left+=c[0],o.top+=c[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||A(t.instance.popper);t.instance.reference===n&&(n=A(n));var a=R("transform"),r=t.instance.popper.style,o=r.top,i=r.left,s=r[a];r.top="",r.left="",r[a]="";var c=S(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);r.top=o,r.left=i,r[a]=s,e.boundaries=c;var l=e.priority,u=t.offsets.popper,d={primary:function(t){var n=u[t];return u[t]<c[t]&&!e.escapeWithReference&&(n=Math.max(u[t],c[t])),L({},t,n)},secondary:function(t){var n="right"===t?"left":"top",a=u[n];return u[t]>c[t]&&!e.escapeWithReference&&(a=Math.min(u[n],c[t]-("right"===t?u.width:u.height))),L({},n,a)}};return l.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=w({},u,d[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,a=e.reference,r=t.placement.split("-")[0],o=Math.floor,i=-1!==["top","bottom"].indexOf(r),s=i?"right":"bottom",c=i?"left":"top",l=i?"width":"height";return n[s]<o(a[c])&&(t.offsets.popper[c]=o(a[c])-n[l]),n[c]>o(a[s])&&(t.offsets.popper[c]=o(a[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!J(t.instance.modifiers,"arrow","keepTogether"))return t;var a=e.element;if("string"==typeof a){if(!(a=t.instance.popper.querySelector(a)))return t}else if(!t.instance.popper.contains(a))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,s=o.popper,c=o.reference,l=-1!==["left","right"].indexOf(r),u=l?"height":"width",d=l?"Top":"Left",p=d.toLowerCase(),A=l?"left":"top",f=l?"bottom":"right",m=D(a)[u];c[f]-m<s[p]&&(t.offsets.popper[p]-=s[p]-(c[f]-m)),c[p]+m>s[f]&&(t.offsets.popper[p]+=c[p]+m-s[f]),t.offsets.popper=C(t.offsets.popper);var h=c[p]+c[u]/2-m/2,M=i(t.instance.popper),g=parseFloat(M["margin"+d]),b=parseFloat(M["border"+d+"Width"]),_=h-t.offsets.popper[p]-g-b;return _=Math.max(Math.min(s[u]-m,_),0),t.arrowElement=a,t.offsets.arrow=(L(n={},p,Math.round(_)),L(n,A,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(q(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=S(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),a=t.placement.split("-")[0],r=Y(a),o=t.placement.split("-")[1]||"",i=[];switch(e.behavior){case et:i=[a,r];break;case nt:i=tt(a);break;case at:i=tt(a,!0);break;default:i=e.behavior}return i.forEach((function(s,c){if(a!==s||i.length===c+1)return t;a=t.placement.split("-")[0],r=Y(a);var l=t.offsets.popper,u=t.offsets.reference,d=Math.floor,p="left"===a&&d(l.right)>d(u.left)||"right"===a&&d(l.left)<d(u.right)||"top"===a&&d(l.bottom)>d(u.top)||"bottom"===a&&d(l.top)<d(u.bottom),A=d(l.left)<d(n.left),f=d(l.right)>d(n.right),m=d(l.top)<d(n.top),h=d(l.bottom)>d(n.bottom),M="left"===a&&A||"right"===a&&f||"top"===a&&m||"bottom"===a&&h,g=-1!==["top","bottom"].indexOf(a),b=!!e.flipVariations&&(g&&"start"===o&&A||g&&"end"===o&&f||!g&&"start"===o&&m||!g&&"end"===o&&h),_=!!e.flipVariationsByContent&&(g&&"start"===o&&f||g&&"end"===o&&A||!g&&"start"===o&&h||!g&&"end"===o&&m),v=b||_;(p||M||v)&&(t.flipped=!0,(p||M)&&(a=i[c+1]),v&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=a+(o?"-"+o:""),t.offsets.popper=w({},t.offsets.popper,j(t.instance.popper,t.offsets.reference,t.placement)),t=P(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],a=t.offsets,r=a.popper,o=a.reference,i=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[i?"left":"top"]=o[n]-(s?r[i?"width":"height"]:0),t.placement=Y(e),t.offsets.popper=C(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!J(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=I(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,a=e.y,r=t.offsets.popper,o=I(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var i=void 0!==o?o:e.gpuAcceleration,s=A(t.instance.popper),c=T(s),l={position:r.position},u=function(t,e){var n=t.offsets,a=n.popper,r=n.reference,o=Math.round,i=Math.floor,s=function(t){return t},c=o(r.width),l=o(a.width),u=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),p=e?u||d||c%2==l%2?o:i:s,A=e?o:s;return{left:p(c%2==1&&l%2==1&&!d&&e?a.left-1:a.left),top:A(a.top),bottom:A(a.bottom),right:p(a.right)}}(t,window.devicePixelRatio<2||!V),d="bottom"===n?"top":"bottom",p="right"===a?"left":"right",f=R("transform"),m=void 0,h=void 0;if(h="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-c.height+u.bottom:u.top,m="right"===p?"HTML"===s.nodeName?-s.clientWidth+u.right:-c.width+u.right:u.left,i&&f)l[f]="translate3d("+m+"px, "+h+"px, 0)",l[d]=0,l[p]=0,l.willChange="transform";else{var M="bottom"===d?-1:1,g="right"===p?-1:1;l[d]=h*M,l[p]=m*g,l.willChange=d+", "+p}var b={"x-placement":t.placement};return t.attributes=w({},b,t.attributes),t.styles=w({},l,t.styles),t.arrowStyles=w({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return $(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&$(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,a,r){var o=N(r,e,t,n.positionFixed),i=E(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",i),$(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},it=function(){function t(e,n){var a=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};v(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(a.update)},this.update=r(this.update.bind(this)),this.options=w({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(w({},t.Defaults.modifiers,i.modifiers)).forEach((function(e){a.options.modifiers[e]=w({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return w({name:t},a.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&o(t.onLoad)&&t.onLoad(a.reference,a.popper,a.options,t,a.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return y(t,[{key:"update",value:function(){return W.call(this)}},{key:"destroy",value:function(){return F.call(this)}},{key:"enableEventListeners",value:function(){return U.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();it.Utils=("undefined"!=typeof window?window:t).PopperUtils,it.placements=K,it.Defaults=ot,e.a=it}).call(this,n(15))},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,".event[data-v-0e4a6929]{margin-bottom:5px}.isComplex img[data-v-0e4a6929]{vertical-align:text-top}.isComplex span[data-v-0e4a6929]{padding-top:2px;display:inline-block}.multiselect[data-v-0e4a6929]{width:100%;max-width:550px;margin-top:4px}.multiselect[data-v-0e4a6929] .multiselect__single{display:flex}.multiselect[data-v-0e4a6929]:not(.multiselect--active) .multiselect__tags{background-color:var(--color-main-background) !important;border:1px solid transparent}.multiselect[data-v-0e4a6929] .multiselect__tags{background-color:var(--color-main-background) !important;height:auto;min-height:34px}.multiselect[data-v-0e4a6929]:not(.multiselect--disabled) .multiselect__tags .multiselect__single{background-image:var(--icon-triangle-s-000);background-repeat:no-repeat;background-position:right center}input[data-v-0e4a6929]{border:1px solid transparent}.option__title[data-v-0e4a6929]{margin-left:5px;color:var(--color-main-text)}.option__title_single[data-v-0e4a6929]{font-weight:900}.option__icon[data-v-0e4a6929]{width:16px;height:16px}.eventlist img[data-v-0e4a6929],.eventlist .text[data-v-0e4a6929]{vertical-align:middle}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Event.vue"],names:[],mappings:"AAiFA,wBACC,iBAAA,CAGA,gCACC,uBAAA,CAED,iCACC,eAAA,CACA,oBAAA,CAGF,8BACC,UAAA,CACA,eAAA,CACA,cAAA,CAED,mDACC,YAAA,CAED,2EACC,wDAAA,CACA,4BAAA,CAGD,iDACC,wDAAA,CACA,WAAA,CACA,eAAA,CAGD,kGACC,2CAAA,CACA,2BAAA,CACA,gCAAA,CAGD,uBACC,4BAAA,CAGD,gCACC,eAAA,CACA,4BAAA,CAED,uCACC,eAAA,CAGD,+BACC,UAAA,CACA,WAAA,CAGD,kEAEC,qBAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.event {\n\tmargin-bottom: 5px;\n}\n.isComplex {\n\timg {\n\t\tvertical-align: text-top;\n\t}\n\tspan {\n\t\tpadding-top: 2px;\n\t\tdisplay: inline-block;\n\t}\n}\n.multiselect {\n\twidth: 100%;\n\tmax-width: 550px;\n\tmargin-top: 4px;\n}\n.multiselect::v-deep .multiselect__single {\n\tdisplay: flex;\n}\n.multiselect:not(.multiselect--active)::v-deep .multiselect__tags {\n\tbackground-color: var(--color-main-background) !important;\n\tborder: 1px solid transparent;\n}\n\n.multiselect::v-deep .multiselect__tags {\n\tbackground-color: var(--color-main-background) !important;\n\theight: auto;\n\tmin-height: 34px;\n}\n\n.multiselect:not(.multiselect--disabled)::v-deep .multiselect__tags .multiselect__single {\n\tbackground-image: var(--icon-triangle-s-000);\n\tbackground-repeat: no-repeat;\n\tbackground-position: right center;\n}\n\ninput {\n\tborder: 1px solid transparent;\n}\n\n.option__title {\n\tmargin-left: 5px;\n\tcolor: var(--color-main-text);\n}\n.option__title_single {\n\tfont-weight: 900;\n}\n\n.option__icon {\n\twidth: 16px;\n\theight: 16px;\n}\n\n.eventlist img,\n.eventlist .text {\n\tvertical-align: middle;\n}\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,".check[data-v-56ddceda]{display:flex;flex-wrap:wrap;width:100%;padding-right:20px}.check>*[data-v-56ddceda]:not(.close){width:180px}.check>.comparator[data-v-56ddceda]{min-width:130px;width:130px}.check>.option[data-v-56ddceda]{min-width:230px;width:230px}.check>.multiselect[data-v-56ddceda],.check>input[type=text][data-v-56ddceda]{margin-right:5px;margin-bottom:5px}.check .multiselect[data-v-56ddceda] .multiselect__content-wrapper li>span,.check .multiselect[data-v-56ddceda] .multiselect__single{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}input[type=text][data-v-56ddceda]{margin:0}[data-v-56ddceda]::placeholder{font-size:10px}button.action-item.action-item--single.icon-close[data-v-56ddceda]{height:44px;width:44px;margin-top:-5px;margin-bottom:-5px}.invalid[data-v-56ddceda]{border:1px solid var(--color-error) !important}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Check.vue"],names:[],mappings:"AAmJA,wBACC,YAAA,CACA,cAAA,CACA,UAAA,CACA,kBAAA,CACA,sCACC,WAAA,CAED,oCACC,eAAA,CACA,WAAA,CAED,gCACC,eAAA,CACA,WAAA,CAED,8EAEC,gBAAA,CACA,iBAAA,CAGD,qIAEC,aAAA,CACA,kBAAA,CACA,eAAA,CACA,sBAAA,CAGF,kCACC,QAAA,CAED,+BACC,cAAA,CAED,mEACC,WAAA,CACA,UAAA,CACA,eAAA,CACA,kBAAA,CAED,0BACC,8CAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.check {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\twidth: 100%;\n\tpadding-right: 20px;\n\t& > *:not(.close) {\n\t\twidth: 180px;\n\t}\n\t& > .comparator {\n\t\tmin-width: 130px;\n\t\twidth: 130px;\n\t}\n\t& > .option {\n\t\tmin-width: 230px;\n\t\twidth: 230px;\n\t}\n\t& > .multiselect,\n\t& > input[type=text] {\n\t\tmargin-right: 5px;\n\t\tmargin-bottom: 5px;\n\t}\n\n\t.multiselect::v-deep .multiselect__content-wrapper li>span,\n\t.multiselect::v-deep .multiselect__single {\n\t\tdisplay: block;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n}\ninput[type=text] {\n\tmargin: 0;\n}\n::placeholder {\n\tfont-size: 10px;\n}\nbutton.action-item.action-item--single.icon-close {\n\theight: 44px;\n\twidth: 44px;\n\tmargin-top: -5px;\n\tmargin-bottom: -5px;\n}\n.invalid {\n\tborder: 1px solid var(--color-error) !important;\n}\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,".actions__item[data-v-34495584]{display:flex;flex-wrap:wrap;flex-direction:column;flex-grow:1;margin-left:-1px;padding:10px;border-radius:var(--border-radius-large);margin-right:20px;margin-bottom:20px}.actions__item .icon[data-v-34495584]{display:block;width:100%;height:50px;background-size:50px 50px;background-position:center center;margin-top:10px;margin-bottom:10px;background-repeat:no-repeat}.actions__item__description[data-v-34495584]{text-align:center;flex-grow:1;display:flex;flex-direction:column}.actions__item_options[data-v-34495584]{width:100%;margin-top:10px;padding-left:60px}h3[data-v-34495584],small[data-v-34495584]{padding:6px;display:block}h3[data-v-34495584]{margin:0;padding:0;font-weight:600}small[data-v-34495584]{font-size:10pt;flex-grow:1}.colored[data-v-34495584]:not(.more){background-color:var(--color-primary-element)}.colored:not(.more) h3[data-v-34495584],.colored:not(.more) small[data-v-34495584]{color:var(--color-primary-text)}.actions__item[data-v-34495584]:not(.colored){flex-direction:row}.actions__item:not(.colored) .actions__item__description[data-v-34495584]{padding-top:5px;text-align:left;width:calc(100% - 105px)}.actions__item:not(.colored) .actions__item__description small[data-v-34495584]{padding:0}.actions__item:not(.colored) .icon[data-v-34495584]{width:50px;margin:0;margin-right:10px}.actions__item:not(.colored) .icon[data-v-34495584]:not(.icon-invert){filter:invert(1)}.colored .icon-invert[data-v-34495584]{filter:invert(1)}","",{version:3,sources:["webpack://./apps/workflowengine/src/styles/operation.scss"],names:[],mappings:"AAAA,gCACC,YAAA,CACA,cAAA,CACA,qBAAA,CACA,WAAA,CACA,gBAAA,CACA,YAAA,CACA,wCAAA,CACA,iBAAA,CACA,kBAAA,CAED,sCACC,aAAA,CACA,UAAA,CACA,WAAA,CACA,yBAAA,CACA,iCAAA,CACA,eAAA,CACA,kBAAA,CACA,2BAAA,CAED,6CACC,iBAAA,CACA,WAAA,CACA,YAAA,CACA,qBAAA,CAED,wCACC,UAAA,CACA,eAAA,CACA,iBAAA,CAED,2CACC,WAAA,CACA,aAAA,CAED,oBACC,QAAA,CACA,SAAA,CACA,eAAA,CAED,uBACC,cAAA,CACA,WAAA,CAGD,qCACC,6CAAA,CACA,mFACC,+BAAA,CAIF,8CACC,kBAAA,CAEA,0EACC,eAAA,CACA,eAAA,CACA,wBAAA,CACA,gFACC,SAAA,CAGF,oDACC,UAAA,CACA,QAAA,CACA,iBAAA,CACA,sEACC,gBAAA,CAKH,uCACC,gBAAA",sourcesContent:[".actions__item {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tflex-direction: column;\n\tflex-grow: 1;\n\tmargin-left: -1px;\n\tpadding: 10px;\n\tborder-radius: var(--border-radius-large);\n\tmargin-right: 20px;\n\tmargin-bottom: 20px;\n}\n.actions__item .icon {\n\tdisplay: block;\n\twidth: 100%;\n\theight: 50px;\n\tbackground-size: 50px 50px;\n\tbackground-position: center center;\n\tmargin-top: 10px;\n\tmargin-bottom: 10px;\n\tbackground-repeat: no-repeat;\n}\n.actions__item__description {\n\ttext-align: center;\n\tflex-grow: 1;\n\tdisplay: flex;\n\tflex-direction: column;\n}\n.actions__item_options {\n\twidth: 100%;\n\tmargin-top: 10px;\n\tpadding-left: 60px;\n}\nh3, small {\n\tpadding: 6px;\n\tdisplay: block;\n}\nh3 {\n\tmargin: 0;\n\tpadding: 0;\n\tfont-weight: 600;\n}\nsmall {\n\tfont-size: 10pt;\n\tflex-grow: 1;\n}\n\n.colored:not(.more) {\n\tbackground-color: var(--color-primary-element);\n\th3, small {\n\t\tcolor: var(--color-primary-text)\n\t}\n}\n\n.actions__item:not(.colored) {\n\tflex-direction: row;\n\n\t.actions__item__description {\n\t\tpadding-top: 5px;\n\t\ttext-align: left;\n\t\twidth: calc(100% - 105px);\n\t\tsmall {\n\t\t\tpadding: 0;\n\t\t}\n\t}\n\t.icon {\n\t\twidth: 50px;\n\t\tmargin: 0;\n\t\tmargin-right: 10px;\n\t\t&:not(.icon-invert) {\n\t\t\tfilter: invert(1);\n\t\t}\n\t}\n}\n\n.colored .icon-invert {\n\tfilter: invert(1);\n}\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"button.icon[data-v-36adf4d5]{padding-left:32px;background-position:10px center}.buttons[data-v-36adf4d5]{display:block;overflow:hidden}.buttons button[data-v-36adf4d5]{float:right;height:34px}.error-message[data-v-36adf4d5]{float:right;margin-right:10px}.status-button[data-v-36adf4d5]{transition:.5s ease all;display:block;margin:3px 10px 3px auto}.status-button.primary[data-v-36adf4d5]{padding-left:32px;background-position:10px center}.status-button[data-v-36adf4d5]:not(.primary){background-color:var(--color-main-background)}.status-button.invalid[data-v-36adf4d5]{background-color:var(--color-warning);color:#fff;border:none}.status-button.icon-checkmark[data-v-36adf4d5]{border:1px solid var(--color-success)}.flow-icon[data-v-36adf4d5]{width:44px}.rule[data-v-36adf4d5]{display:flex;flex-wrap:wrap;border-left:5px solid var(--color-primary-element)}.rule .trigger[data-v-36adf4d5],.rule .action[data-v-36adf4d5]{flex-grow:1;min-height:100px;max-width:700px}.rule .action[data-v-36adf4d5]{max-width:400px;position:relative}.rule .icon-confirm[data-v-36adf4d5]{background-position:right 27px;padding-right:20px;margin-right:20px}.trigger p[data-v-36adf4d5],.action p[data-v-36adf4d5]{min-height:34px;display:flex}.trigger p>span[data-v-36adf4d5],.action p>span[data-v-36adf4d5]{min-width:50px;text-align:right;color:var(--color-text-maxcontrast);padding-right:10px;padding-top:6px}.trigger p .multiselect[data-v-36adf4d5],.action p .multiselect[data-v-36adf4d5]{flex-grow:1;max-width:300px}.trigger p:first-child span[data-v-36adf4d5]{padding-top:3px}.check--add[data-v-36adf4d5]{background-position:7px center;background-color:transparent;padding-left:6px;margin:0;width:180px;border-radius:var(--border-radius);color:var(--color-text-maxcontrast);font-weight:normal;text-align:left;font-size:1em}@media(max-width: 1400px){.rule[data-v-36adf4d5],.rule .trigger[data-v-36adf4d5],.rule .action[data-v-36adf4d5]{width:100%;max-width:100%}.rule .flow-icon[data-v-36adf4d5]{display:none}}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Rule.vue"],names:[],mappings:"AAsKA,6BACC,iBAAA,CACA,+BAAA,CAGD,0BACC,aAAA,CACA,eAAA,CAEA,iCACC,WAAA,CACA,WAAA,CAIF,gCACC,WAAA,CACA,iBAAA,CAGD,gCACC,uBAAA,CACA,aAAA,CACA,wBAAA,CAED,wCACC,iBAAA,CACA,+BAAA,CAED,8CACC,6CAAA,CAED,wCACC,qCAAA,CACA,UAAA,CACA,WAAA,CAED,+CACC,qCAAA,CAGD,4BACC,UAAA,CAGD,uBACC,YAAA,CACA,cAAA,CACA,kDAAA,CAEA,+DACC,WAAA,CACA,gBAAA,CACA,eAAA,CAED,+BACC,eAAA,CACA,iBAAA,CAED,qCACC,8BAAA,CACA,kBAAA,CACA,iBAAA,CAGF,uDACC,eAAA,CACA,YAAA,CAEA,iEACC,cAAA,CACA,gBAAA,CACA,mCAAA,CACA,kBAAA,CACA,eAAA,CAED,iFACC,WAAA,CACA,eAAA,CAGF,6CACE,eAAA,CAGF,6BACC,8BAAA,CACA,4BAAA,CACA,gBAAA,CACA,QAAA,CACA,WAAA,CACA,kCAAA,CACA,mCAAA,CACA,kBAAA,CACA,eAAA,CACA,aAAA,CAGD,0BAEE,sFACC,UAAA,CACA,cAAA,CAED,kCACC,YAAA,CAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nbutton.icon {\n\tpadding-left: 32px;\n\tbackground-position: 10px center;\n}\n\n.buttons {\n\tdisplay: block;\n\toverflow: hidden;\n\n\tbutton {\n\t\tfloat: right;\n\t\theight: 34px;\n\t}\n}\n\n.error-message {\n\tfloat: right;\n\tmargin-right: 10px;\n}\n\n.status-button {\n\ttransition: 0.5s ease all;\n\tdisplay: block;\n\tmargin: 3px 10px 3px auto;\n}\n.status-button.primary {\n\tpadding-left: 32px;\n\tbackground-position: 10px center;\n}\n.status-button:not(.primary) {\n\tbackground-color: var(--color-main-background);\n}\n.status-button.invalid {\n\tbackground-color: var(--color-warning);\n\tcolor: #fff;\n\tborder: none;\n}\n.status-button.icon-checkmark {\n\tborder: 1px solid var(--color-success);\n}\n\n.flow-icon {\n\twidth: 44px;\n}\n\n.rule {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tborder-left: 5px solid var(--color-primary-element);\n\n\t.trigger, .action {\n\t\tflex-grow: 1;\n\t\tmin-height: 100px;\n\t\tmax-width: 700px;\n\t}\n\t.action {\n\t\tmax-width: 400px;\n\t\tposition: relative;\n\t}\n\t.icon-confirm {\n\t\tbackground-position: right 27px;\n\t\tpadding-right: 20px;\n\t\tmargin-right: 20px;\n\t}\n}\n.trigger p, .action p {\n\tmin-height: 34px;\n\tdisplay: flex;\n\n\t& > span {\n\t\tmin-width: 50px;\n\t\ttext-align: right;\n\t\tcolor: var(--color-text-maxcontrast);\n\t\tpadding-right: 10px;\n\t\tpadding-top: 6px;\n\t}\n\t.multiselect {\n\t\tflex-grow: 1;\n\t\tmax-width: 300px;\n\t}\n}\n.trigger p:first-child span {\n\t\tpadding-top: 3px;\n}\n\n.check--add {\n\tbackground-position: 7px center;\n\tbackground-color: transparent;\n\tpadding-left: 6px;\n\tmargin: 0;\n\twidth: 180px;\n\tborder-radius: var(--border-radius);\n\tcolor: var(--color-text-maxcontrast);\n\tfont-weight: normal;\n\ttext-align: left;\n\tfont-size: 1em;\n}\n\n@media (max-width:1400px) {\n\t.rule {\n\t\t&, .trigger, .action {\n\t\t\twidth: 100%;\n\t\t\tmax-width: 100%;\n\t\t}\n\t\t.flow-icon {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"#workflowengine[data-v-7b3e4a56]{border-bottom:1px solid var(--color-border)}.section[data-v-7b3e4a56]{max-width:100vw}.section h2.configured-flows[data-v-7b3e4a56]{margin-top:50px;margin-bottom:0}.actions[data-v-7b3e4a56]{display:flex;flex-wrap:wrap;max-width:1200px}.actions .actions__item[data-v-7b3e4a56]{max-width:280px;flex-basis:250px}button.icon[data-v-7b3e4a56]{padding-left:32px;background-position:10px center}.slide-enter-active[data-v-7b3e4a56]{-moz-transition-duration:.3s;-webkit-transition-duration:.3s;-o-transition-duration:.3s;transition-duration:.3s;-moz-transition-timing-function:ease-in;-webkit-transition-timing-function:ease-in;-o-transition-timing-function:ease-in;transition-timing-function:ease-in}.slide-leave-active[data-v-7b3e4a56]{-moz-transition-duration:.3s;-webkit-transition-duration:.3s;-o-transition-duration:.3s;transition-duration:.3s;-moz-transition-timing-function:cubic-bezier(0, 1, 0.5, 1);-webkit-transition-timing-function:cubic-bezier(0, 1, 0.5, 1);-o-transition-timing-function:cubic-bezier(0, 1, 0.5, 1);transition-timing-function:cubic-bezier(0, 1, 0.5, 1)}.slide-enter-to[data-v-7b3e4a56],.slide-leave[data-v-7b3e4a56]{max-height:500px;overflow:hidden}.slide-enter[data-v-7b3e4a56],.slide-leave-to[data-v-7b3e4a56]{overflow:hidden;max-height:0;padding-top:0;padding-bottom:0}.actions__item[data-v-7b3e4a56]{display:flex;flex-wrap:wrap;flex-direction:column;flex-grow:1;margin-left:-1px;padding:10px;border-radius:var(--border-radius-large);margin-right:20px;margin-bottom:20px}.actions__item .icon[data-v-7b3e4a56]{display:block;width:100%;height:50px;background-size:50px 50px;background-position:center center;margin-top:10px;margin-bottom:10px;background-repeat:no-repeat}.actions__item__description[data-v-7b3e4a56]{text-align:center;flex-grow:1;display:flex;flex-direction:column}.actions__item_options[data-v-7b3e4a56]{width:100%;margin-top:10px;padding-left:60px}h3[data-v-7b3e4a56],small[data-v-7b3e4a56]{padding:6px;display:block}h3[data-v-7b3e4a56]{margin:0;padding:0;font-weight:600}small[data-v-7b3e4a56]{font-size:10pt;flex-grow:1}.colored[data-v-7b3e4a56]:not(.more){background-color:var(--color-primary-element)}.colored:not(.more) h3[data-v-7b3e4a56],.colored:not(.more) small[data-v-7b3e4a56]{color:var(--color-primary-text)}.actions__item[data-v-7b3e4a56]:not(.colored){flex-direction:row}.actions__item:not(.colored) .actions__item__description[data-v-7b3e4a56]{padding-top:5px;text-align:left;width:calc(100% - 105px)}.actions__item:not(.colored) .actions__item__description small[data-v-7b3e4a56]{padding:0}.actions__item:not(.colored) .icon[data-v-7b3e4a56]{width:50px;margin:0;margin-right:10px}.actions__item:not(.colored) .icon[data-v-7b3e4a56]:not(.icon-invert){filter:invert(1)}.colored .icon-invert[data-v-7b3e4a56]{filter:invert(1)}.actions__item.more[data-v-7b3e4a56]{background-color:var(--color-background-dark)}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Workflow.vue","webpack://./apps/workflowengine/src/styles/operation.scss"],names:[],mappings:"AAuGA,iCACC,2CAAA,CAED,0BACC,eAAA,CAEA,8CACC,eAAA,CACA,eAAA,CAGF,0BACC,YAAA,CACA,cAAA,CACA,gBAAA,CACA,yCACC,eAAA,CACA,gBAAA,CAIF,6BACC,iBAAA,CACA,+BAAA,CAGD,qCACC,4BAAA,CACA,+BAAA,CACA,0BAAA,CACA,uBAAA,CACA,uCAAA,CACA,0CAAA,CACA,qCAAA,CACA,kCAAA,CAGD,qCACC,4BAAA,CACA,+BAAA,CACA,0BAAA,CACA,uBAAA,CACA,0DAAA,CACA,6DAAA,CACA,wDAAA,CACA,qDAAA,CAGD,+DACC,gBAAA,CACA,eAAA,CAGD,+DACC,eAAA,CACA,YAAA,CACA,aAAA,CACA,gBAAA,CChKD,gCACC,YAAA,CACA,cAAA,CACA,qBAAA,CACA,WAAA,CACA,gBAAA,CACA,YAAA,CACA,wCAAA,CACA,iBAAA,CACA,kBAAA,CAED,sCACC,aAAA,CACA,UAAA,CACA,WAAA,CACA,yBAAA,CACA,iCAAA,CACA,eAAA,CACA,kBAAA,CACA,2BAAA,CAED,6CACC,iBAAA,CACA,WAAA,CACA,YAAA,CACA,qBAAA,CAED,wCACC,UAAA,CACA,eAAA,CACA,iBAAA,CAED,2CACC,WAAA,CACA,aAAA,CAED,oBACC,QAAA,CACA,SAAA,CACA,eAAA,CAED,uBACC,cAAA,CACA,WAAA,CAGD,qCACC,6CAAA,CACA,mFACC,+BAAA,CAIF,8CACC,kBAAA,CAEA,0EACC,eAAA,CACA,eAAA,CACA,wBAAA,CACA,gFACC,SAAA,CAGF,oDACC,UAAA,CACA,QAAA,CACA,iBAAA,CACA,sEACC,gBAAA,CAKH,uCACC,gBAAA,CD0FD,qCACC,6CAAA",sourcesContent:['\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n#workflowengine {\n\tborder-bottom: 1px solid var(--color-border);\n}\n.section {\n\tmax-width: 100vw;\n\n\th2.configured-flows {\n\t\tmargin-top: 50px;\n\t\tmargin-bottom: 0;\n\t}\n}\n.actions {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tmax-width: 1200px;\n\t.actions__item {\n\t\tmax-width: 280px;\n\t\tflex-basis: 250px;\n\t}\n}\n\nbutton.icon {\n\tpadding-left: 32px;\n\tbackground-position: 10px center;\n}\n\n.slide-enter-active {\n\t-moz-transition-duration: 0.3s;\n\t-webkit-transition-duration: 0.3s;\n\t-o-transition-duration: 0.3s;\n\ttransition-duration: 0.3s;\n\t-moz-transition-timing-function: ease-in;\n\t-webkit-transition-timing-function: ease-in;\n\t-o-transition-timing-function: ease-in;\n\ttransition-timing-function: ease-in;\n}\n\n.slide-leave-active {\n\t-moz-transition-duration: 0.3s;\n\t-webkit-transition-duration: 0.3s;\n\t-o-transition-duration: 0.3s;\n\ttransition-duration: 0.3s;\n\t-moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n\t-webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n\t-o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n\ttransition-timing-function: cubic-bezier(0, 1, 0.5, 1);\n}\n\n.slide-enter-to, .slide-leave {\n\tmax-height: 500px;\n\toverflow: hidden;\n}\n\n.slide-enter, .slide-leave-to {\n\toverflow: hidden;\n\tmax-height: 0;\n\tpadding-top: 0;\n\tpadding-bottom: 0;\n}\n\n@import "./../styles/operation";\n\n.actions__item.more {\n\tbackground-color: var(--color-background-dark);\n}\n',".actions__item {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tflex-direction: column;\n\tflex-grow: 1;\n\tmargin-left: -1px;\n\tpadding: 10px;\n\tborder-radius: var(--border-radius-large);\n\tmargin-right: 20px;\n\tmargin-bottom: 20px;\n}\n.actions__item .icon {\n\tdisplay: block;\n\twidth: 100%;\n\theight: 50px;\n\tbackground-size: 50px 50px;\n\tbackground-position: center center;\n\tmargin-top: 10px;\n\tmargin-bottom: 10px;\n\tbackground-repeat: no-repeat;\n}\n.actions__item__description {\n\ttext-align: center;\n\tflex-grow: 1;\n\tdisplay: flex;\n\tflex-direction: column;\n}\n.actions__item_options {\n\twidth: 100%;\n\tmargin-top: 10px;\n\tpadding-left: 60px;\n}\nh3, small {\n\tpadding: 6px;\n\tdisplay: block;\n}\nh3 {\n\tmargin: 0;\n\tpadding: 0;\n\tfont-weight: 600;\n}\nsmall {\n\tfont-size: 10pt;\n\tflex-grow: 1;\n}\n\n.colored:not(.more) {\n\tbackground-color: var(--color-primary-element);\n\th3, small {\n\t\tcolor: var(--color-primary-text)\n\t}\n}\n\n.actions__item:not(.colored) {\n\tflex-direction: row;\n\n\t.actions__item__description {\n\t\tpadding-top: 5px;\n\t\ttext-align: left;\n\t\twidth: calc(100% - 105px);\n\t\tsmall {\n\t\t\tpadding: 0;\n\t\t}\n\t}\n\t.icon {\n\t\twidth: 50px;\n\t\tmargin: 0;\n\t\tmargin-right: 10px;\n\t\t&:not(.icon-invert) {\n\t\t\tfilter: invert(1);\n\t\t}\n\t}\n}\n\n.colored .icon-invert {\n\tfilter: invert(1);\n}\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"\n.multiselect[data-v-87d63386], input[type='text'][data-v-87d63386] {\n\twidth: 100%;\n}\n.multiselect[data-v-87d63386] .multiselect__content-wrapper li>span,\n.multiselect[data-v-87d63386] .multiselect__single {\n\tdisplay: flex;\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/FileMimeType.vue"],names:[],mappings:";AA6IA;CACA,WAAA;AACA;AACA;;CAEA,aAAA;CACA,mBAAA;CACA,gBAAA;CACA,uBAAA;AACA",sourcesContent:["\x3c!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<div>\n\t\t<Multiselect\n\t\t\t:value=\"currentValue\"\n\t\t\t:placeholder=\"t('workflowengine', 'Select a file type')\"\n\t\t\tlabel=\"label\"\n\t\t\ttrack-by=\"pattern\"\n\t\t\t:options=\"options\"\n\t\t\t:multiple=\"false\"\n\t\t\t:tagging=\"false\"\n\t\t\t@input=\"setValue\">\n\t\t\t<template slot=\"singleLabel\" slot-scope=\"props\">\n\t\t\t\t<span v-if=\"props.option.icon\" class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t<img v-else :src=\"props.option.iconUrl\">\n\t\t\t\t<span class=\"option__title option__title_single\">{{ props.option.label }}</span>\n\t\t\t</template>\n\t\t\t<template slot=\"option\" slot-scope=\"props\">\n\t\t\t\t<span v-if=\"props.option.icon\" class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t<img v-else :src=\"props.option.iconUrl\">\n\t\t\t\t<span class=\"option__title\">{{ props.option.label }}</span>\n\t\t\t</template>\n\t\t</Multiselect>\n\t\t<input v-if=\"!isPredefined\"\n\t\t\ttype=\"text\"\n\t\t\t:value=\"currentValue.pattern\"\n\t\t\t:placeholder=\"t('workflowengine', 'e.g. httpd/unix-directory')\"\n\t\t\t@input=\"updateCustom\">\n\t</div>\n</template>\n\n<script>\nimport Multiselect from '@nextcloud/vue/dist/Components/Multiselect'\nimport valueMixin from './../../mixins/valueMixin'\nimport { imagePath } from '@nextcloud/router'\n\nexport default {\n\tname: 'FileMimeType',\n\tcomponents: {\n\t\tMultiselect,\n\t},\n\tmixins: [\n\t\tvalueMixin,\n\t],\n\tdata() {\n\t\treturn {\n\t\t\tpredefinedTypes: [\n\t\t\t\t{\n\t\t\t\t\ticon: 'icon-folder',\n\t\t\t\t\tlabel: t('workflowengine', 'Folder'),\n\t\t\t\t\tpattern: 'httpd/unix-directory',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ticon: 'icon-picture',\n\t\t\t\t\tlabel: t('workflowengine', 'Images'),\n\t\t\t\t\tpattern: '/image\\\\/.*/',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ticonUrl: imagePath('core', 'filetypes/x-office-document'),\n\t\t\t\t\tlabel: t('workflowengine', 'Office documents'),\n\t\t\t\t\tpattern: '/(vnd\\\\.(ms-|openxmlformats-|oasis\\\\.opendocument).*)$/',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\ticonUrl: imagePath('core', 'filetypes/application-pdf'),\n\t\t\t\t\tlabel: t('workflowengine', 'PDF documents'),\n\t\t\t\t\tpattern: 'application/pdf',\n\t\t\t\t},\n\t\t\t],\n\t\t}\n\t},\n\tcomputed: {\n\t\toptions() {\n\t\t\treturn [...this.predefinedTypes, this.customValue]\n\t\t},\n\t\tisPredefined() {\n\t\t\tconst matchingPredefined = this.predefinedTypes.find((type) => this.newValue === type.pattern)\n\t\t\tif (matchingPredefined) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\t\tcustomValue() {\n\t\t\treturn {\n\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\tlabel: t('workflowengine', 'Custom mimetype'),\n\t\t\t\tpattern: '',\n\t\t\t}\n\t\t},\n\t\tcurrentValue() {\n\t\t\tconst matchingPredefined = this.predefinedTypes.find((type) => this.newValue === type.pattern)\n\t\t\tif (matchingPredefined) {\n\t\t\t\treturn matchingPredefined\n\t\t\t}\n\t\t\treturn {\n\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\tlabel: t('workflowengine', 'Custom mimetype'),\n\t\t\t\tpattern: this.newValue,\n\t\t\t}\n\t\t},\n\t},\n\tmethods: {\n\t\tvalidateRegex(string) {\n\t\t\tconst regexRegex = /^\\/(.*)\\/([gui]{0,3})$/\n\t\t\tconst result = regexRegex.exec(string)\n\t\t\treturn result !== null\n\t\t},\n\t\tsetValue(value) {\n\t\t\tif (value !== null) {\n\t\t\t\tthis.newValue = value.pattern\n\t\t\t\tthis.$emit('input', this.newValue)\n\t\t\t}\n\t\t},\n\t\tupdateCustom(event) {\n\t\t\tthis.newValue = event.target.value\n\t\t\tthis.$emit('input', this.newValue)\n\t\t},\n\t},\n}\n<\/script>\n<style scoped>\n\t.multiselect, input[type='text'] {\n\t\twidth: 100%;\n\t}\n\t.multiselect >>> .multiselect__content-wrapper li>span,\n\t.multiselect >>> .multiselect__single {\n\t\tdisplay: flex;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n</style>\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"\n.multiselect[data-v-1f573f40], input[type='text'][data-v-1f573f40] {\n\twidth: 100%;\n}\n.multiselect .multiselect__content-wrapper li>span[data-v-1f573f40] {\n\tdisplay: flex;\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n.multiselect[data-v-1f573f40] .multiselect__single {\n\twidth: 100%;\n\tdisplay: flex;\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n.option__icon[data-v-1f573f40] {\n\tdisplay: inline-block;\n\tmin-width: 30px;\n\tbackground-position: left;\n}\n.option__title[data-v-1f573f40] {\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/RequestUserAgent.vue"],names:[],mappings:";AA+HA;CACA,WAAA;AACA;AAEA;CACA,aAAA;CACA,mBAAA;CACA,gBAAA;CACA,uBAAA;AACA;AACA;CACA,WAAA;CACA,aAAA;CACA,mBAAA;CACA,gBAAA;CACA,uBAAA;AACA;AACA;CACA,qBAAA;CACA,eAAA;CACA,yBAAA;AACA;AACA;CACA,mBAAA;CACA,gBAAA;CACA,uBAAA;AACA",sourcesContent:["\x3c!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<div>\n\t\t<Multiselect\n\t\t\t:value=\"currentValue\"\n\t\t\t:placeholder=\"t('workflowengine', 'Select a user agent')\"\n\t\t\tlabel=\"label\"\n\t\t\ttrack-by=\"pattern\"\n\t\t\t:options=\"options\"\n\t\t\t:multiple=\"false\"\n\t\t\t:tagging=\"false\"\n\t\t\t@input=\"setValue\">\n\t\t\t<template slot=\"singleLabel\" slot-scope=\"props\">\n\t\t\t\t<span class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t\x3c!-- v-html can be used here as t() always passes our translated strings though DOMPurify.sanitize --\x3e\n\t\t\t\t\x3c!-- eslint-disable-next-line vue/no-v-html --\x3e\n\t\t\t\t<span class=\"option__title option__title_single\" v-html=\"props.option.label\" />\n\t\t\t</template>\n\t\t\t<template slot=\"option\" slot-scope=\"props\">\n\t\t\t\t<span class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t\x3c!-- eslint-disable-next-line vue/no-v-html --\x3e\n\t\t\t\t<span v-if=\"props.option.$groupLabel\" class=\"option__title\" v-html=\"props.option.$groupLabel\" />\n\t\t\t\t\x3c!-- eslint-disable-next-line vue/no-v-html --\x3e\n\t\t\t\t<span v-else class=\"option__title\" v-html=\"props.option.label\" />\n\t\t\t</template>\n\t\t</Multiselect>\n\t\t<input v-if=\"!isPredefined\"\n\t\t\ttype=\"text\"\n\t\t\t:value=\"currentValue.pattern\"\n\t\t\t@input=\"updateCustom\">\n\t</div>\n</template>\n\n<script>\nimport Multiselect from '@nextcloud/vue/dist/Components/Multiselect'\nimport valueMixin from '../../mixins/valueMixin'\n\nexport default {\n\tname: 'RequestUserAgent',\n\tcomponents: {\n\t\tMultiselect,\n\t},\n\tmixins: [\n\t\tvalueMixin,\n\t],\n\tdata() {\n\t\treturn {\n\t\t\tnewValue: '',\n\t\t\tpredefinedTypes: [\n\t\t\t\t{ pattern: 'android', label: t('workflowengine', 'Android client'), icon: 'icon-phone' },\n\t\t\t\t{ pattern: 'ios', label: t('workflowengine', 'iOS client'), icon: 'icon-phone' },\n\t\t\t\t{ pattern: 'desktop', label: t('workflowengine', 'Desktop client'), icon: 'icon-desktop' },\n\t\t\t\t{ pattern: 'mail', label: t('workflowengine', 'Thunderbird & Outlook addons'), icon: 'icon-mail' },\n\t\t\t],\n\t\t}\n\t},\n\tcomputed: {\n\t\toptions() {\n\t\t\treturn [...this.predefinedTypes, this.customValue]\n\t\t},\n\t\tmatchingPredefined() {\n\t\t\treturn this.predefinedTypes\n\t\t\t\t.find((type) => this.newValue === type.pattern)\n\t\t},\n\t\tisPredefined() {\n\t\t\treturn !!this.matchingPredefined\n\t\t},\n\t\tcustomValue() {\n\t\t\treturn {\n\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\tlabel: t('workflowengine', 'Custom user agent'),\n\t\t\t\tpattern: '',\n\t\t\t}\n\t\t},\n\t\tcurrentValue() {\n\t\t\tif (this.matchingPredefined) {\n\t\t\t\treturn this.matchingPredefined\n\t\t\t}\n\t\t\treturn {\n\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\tlabel: t('workflowengine', 'Custom user agent'),\n\t\t\t\tpattern: this.newValue,\n\t\t\t}\n\t\t},\n\t},\n\tmethods: {\n\t\tvalidateRegex(string) {\n\t\t\tconst regexRegex = /^\\/(.*)\\/([gui]{0,3})$/\n\t\t\tconst result = regexRegex.exec(string)\n\t\t\treturn result !== null\n\t\t},\n\t\tsetValue(value) {\n\t\t\t// TODO: check if value requires a regex and set the check operator according to that\n\t\t\tif (value !== null) {\n\t\t\t\tthis.newValue = value.pattern\n\t\t\t\tthis.$emit('input', this.newValue)\n\t\t\t}\n\t\t},\n\t\tupdateCustom(event) {\n\t\t\tthis.newValue = event.target.value\n\t\t\tthis.$emit('input', this.newValue)\n\t\t},\n\t},\n}\n<\/script>\n<style scoped>\n\t.multiselect, input[type='text'] {\n\t\twidth: 100%;\n\t}\n\n\t.multiselect .multiselect__content-wrapper li>span {\n\t\tdisplay: flex;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n\t.multiselect::v-deep .multiselect__single {\n\t\twidth: 100%;\n\t\tdisplay: flex;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n\t.option__icon {\n\t\tdisplay: inline-block;\n\t\tmin-width: 30px;\n\t\tbackground-position: left;\n\t}\n\t.option__title {\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n</style>\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,".timeslot[data-v-149baca9]{display:flex;flex-grow:1;flex-wrap:wrap;max-width:180px}.timeslot .multiselect[data-v-149baca9]{width:100%;margin-bottom:5px}.timeslot .multiselect[data-v-149baca9] .multiselect__tags:not(:hover):not(:focus):not(:active){border:1px solid transparent}.timeslot input[type=text][data-v-149baca9]{width:50%;margin:0;margin-bottom:5px}.timeslot input[type=text].timeslot--start[data-v-149baca9]{margin-right:5px;width:calc(50% - 5px)}.timeslot .invalid-hint[data-v-149baca9]{color:var(--color-text-maxcontrast)}","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/RequestTime.vue"],names:[],mappings:"AA+FA,2BACC,YAAA,CACA,WAAA,CACA,cAAA,CACA,eAAA,CAEA,wCACC,UAAA,CACA,iBAAA,CAGD,gGACC,4BAAA,CAGD,4CACC,SAAA,CACA,QAAA,CACA,iBAAA,CAEA,4DACC,gBAAA,CACA,qBAAA,CAIF,yCACC,mCAAA",sourcesContent:["\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.timeslot {\n\tdisplay: flex;\n\tflex-grow: 1;\n\tflex-wrap: wrap;\n\tmax-width: 180px;\n\n\t.multiselect {\n\t\twidth: 100%;\n\t\tmargin-bottom: 5px;\n\t}\n\n\t.multiselect::v-deep .multiselect__tags:not(:hover):not(:focus):not(:active) {\n\t\tborder: 1px solid transparent;\n\t}\n\n\tinput[type=text] {\n\t\twidth: 50%;\n\t\tmargin: 0;\n\t\tmargin-bottom: 5px;\n\n\t\t&.timeslot--start {\n\t\t\tmargin-right: 5px;\n\t\t\twidth: calc(50% - 5px);\n\t\t}\n\t}\n\n\t.invalid-hint {\n\t\tcolor: var(--color-text-maxcontrast);\n\t}\n}\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"\n.multiselect[data-v-0b72cbf8], input[type='text'][data-v-0b72cbf8] {\n\twidth: 100%;\n}\n","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/RequestURL.vue"],names:[],mappings:";AA4IA;CACA,WAAA;AACA",sourcesContent:["\x3c!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<div>\n\t\t<Multiselect\n\t\t\t:value=\"currentValue\"\n\t\t\t:placeholder=\"t('workflowengine', 'Select a request URL')\"\n\t\t\tlabel=\"label\"\n\t\t\ttrack-by=\"pattern\"\n\t\t\tgroup-values=\"children\"\n\t\t\tgroup-label=\"label\"\n\t\t\t:options=\"options\"\n\t\t\t:multiple=\"false\"\n\t\t\t:tagging=\"false\"\n\t\t\t@input=\"setValue\">\n\t\t\t<template slot=\"singleLabel\" slot-scope=\"props\">\n\t\t\t\t<span class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t<span class=\"option__title option__title_single\">{{ props.option.label }}</span>\n\t\t\t</template>\n\t\t\t<template slot=\"option\" slot-scope=\"props\">\n\t\t\t\t<span class=\"option__icon\" :class=\"props.option.icon\" />\n\t\t\t\t<span class=\"option__title\">{{ props.option.label }} {{ props.option.$groupLabel }}</span>\n\t\t\t</template>\n\t\t</Multiselect>\n\t\t<input v-if=\"!isPredefined\"\n\t\t\ttype=\"text\"\n\t\t\t:value=\"currentValue.pattern\"\n\t\t\t:placeholder=\"placeholder\"\n\t\t\t@input=\"updateCustom\">\n\t</div>\n</template>\n\n<script>\nimport Multiselect from '@nextcloud/vue/dist/Components/Multiselect'\nimport valueMixin from '../../mixins/valueMixin'\n\nexport default {\n\tname: 'RequestURL',\n\tcomponents: {\n\t\tMultiselect,\n\t},\n\tmixins: [\n\t\tvalueMixin,\n\t],\n\tdata() {\n\t\treturn {\n\t\t\tnewValue: '',\n\t\t\tpredefinedTypes: [\n\t\t\t\t{\n\t\t\t\t\tlabel: t('workflowengine', 'Predefined URLs'),\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t{ pattern: 'webdav', label: t('workflowengine', 'Files WebDAV') },\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t],\n\t\t}\n\t},\n\tcomputed: {\n\t\toptions() {\n\t\t\treturn [...this.predefinedTypes, this.customValue]\n\t\t},\n\t\tplaceholder() {\n\t\t\tif (this.check.operator === 'matches' || this.check.operator === '!matches') {\n\t\t\t\treturn '/^https\\\\:\\\\/\\\\/localhost\\\\/index\\\\.php$/i'\n\t\t\t}\n\t\t\treturn 'https://localhost/index.php'\n\t\t},\n\t\tmatchingPredefined() {\n\t\t\treturn this.predefinedTypes\n\t\t\t\t.map(groups => groups.children)\n\t\t\t\t.flat()\n\t\t\t\t.find((type) => this.newValue === type.pattern)\n\t\t},\n\t\tisPredefined() {\n\t\t\treturn !!this.matchingPredefined\n\t\t},\n\t\tcustomValue() {\n\t\t\treturn {\n\t\t\t\tlabel: t('workflowengine', 'Others'),\n\t\t\t\tchildren: [\n\t\t\t\t\t{\n\t\t\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\t\t\tlabel: t('workflowengine', 'Custom URL'),\n\t\t\t\t\t\tpattern: '',\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t}\n\t\t},\n\t\tcurrentValue() {\n\t\t\tif (this.matchingPredefined) {\n\t\t\t\treturn this.matchingPredefined\n\t\t\t}\n\t\t\treturn {\n\t\t\t\ticon: 'icon-settings-dark',\n\t\t\t\tlabel: t('workflowengine', 'Custom URL'),\n\t\t\t\tpattern: this.newValue,\n\t\t\t}\n\t\t},\n\t},\n\tmethods: {\n\t\tvalidateRegex(string) {\n\t\t\tconst regexRegex = /^\\/(.*)\\/([gui]{0,3})$/\n\t\t\tconst result = regexRegex.exec(string)\n\t\t\treturn result !== null\n\t\t},\n\t\tsetValue(value) {\n\t\t\t// TODO: check if value requires a regex and set the check operator according to that\n\t\t\tif (value !== null) {\n\t\t\t\tthis.newValue = value.pattern\n\t\t\t\tthis.$emit('input', this.newValue)\n\t\t\t}\n\t\t},\n\t\tupdateCustom(event) {\n\t\t\tthis.newValue = event.target.value\n\t\t\tthis.$emit('input', this.newValue)\n\t\t},\n\t},\n}\n<\/script>\n<style scoped>\n\t.multiselect, input[type='text'] {\n\t\twidth: 100%;\n\t}\n</style>\n"],sourceRoot:""}]),e.a=i},function(t,e,n){"use strict";var a=n(6),r=n.n(a),o=n(7),i=n.n(o)()(r.a);i.push([t.i,"\n.multiselect[data-v-429a5f76] {\n\twidth: 100%;\n}\n","",{version:3,sources:["webpack://./apps/workflowengine/src/components/Checks/RequestUserGroup.vue"],names:[],mappings:";AA4GA;CACA,WAAA;AACA",sourcesContent:["\x3c!--\n - @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>\n -\n - @author Julius Härtl <jus@bitgrid.net>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<div>\n\t\t<Multiselect :value=\"currentValue\"\n\t\t\t:loading=\"status.isLoading && groups.length === 0\"\n\t\t\t:options=\"groups\"\n\t\t\t:multiple=\"false\"\n\t\t\tlabel=\"displayname\"\n\t\t\ttrack-by=\"id\"\n\t\t\t@search-change=\"searchAsync\"\n\t\t\t@input=\"(value) => $emit('input', value.id)\" />\n\t</div>\n</template>\n\n<script>\nimport Multiselect from '@nextcloud/vue/dist/Components/Multiselect'\nimport axios from '@nextcloud/axios'\nimport { generateOcsUrl } from '@nextcloud/router'\n\nconst groups = []\nconst status = {\n\tisLoading: false,\n}\n\nexport default {\n\tname: 'RequestUserGroup',\n\tcomponents: {\n\t\tMultiselect,\n\t},\n\tprops: {\n\t\tvalue: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\tcheck: {\n\t\t\ttype: Object,\n\t\t\tdefault: () => { return {} },\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tgroups,\n\t\t\tstatus,\n\t\t}\n\t},\n\tcomputed: {\n\t\tcurrentValue() {\n\t\t\treturn this.groups.find(group => group.id === this.value) || null\n\t\t},\n\t},\n\tasync mounted() {\n\t\tif (this.groups.length === 0) {\n\t\t\tawait this.searchAsync('')\n\t\t}\n\t\tif (this.currentValue === null) {\n\t\t\tawait this.searchAsync(this.value)\n\t\t}\n\t},\n\tmethods: {\n\t\tsearchAsync(searchQuery) {\n\t\t\tif (this.status.isLoading) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tthis.status.isLoading = true\n\t\t\treturn axios.get(generateOcsUrl('cloud', 2) + 'groups/details?limit=20&search=' + encodeURI(searchQuery)).then((response) => {\n\t\t\t\tresponse.data.ocs.data.groups.forEach((group) => {\n\t\t\t\t\tthis.addGroup({\n\t\t\t\t\t\tid: group.id,\n\t\t\t\t\t\tdisplayname: group.displayname,\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t\tthis.status.isLoading = false\n\t\t\t}, (error) => {\n\t\t\t\tconsole.error('Error while loading group list', error.response)\n\t\t\t})\n\t\t},\n\t\taddGroup(group) {\n\t\t\tconst index = this.groups.findIndex((item) => item.id === group.id)\n\t\t\tif (index === -1) {\n\t\t\t\tthis.groups.push(group)\n\t\t\t}\n\t\t},\n\t},\n}\n<\/script>\n<style scoped>\n\t.multiselect {\n\t\twidth: 100%;\n\t}\n</style>\n"],sourceRoot:""}]),e.a=i},function(t,e,n){var a=n(1),r=n(156);a({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},function(t,e,n){var a=n(10),r=n(4),o=n(97);t.exports=!a&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var a=n(12),r=n(153),o=n(29),i=n(16);t.exports=function(t,e){for(var n=r(e),s=i.f,c=o.f,l=0;l<n.length;l++){var u=n[l];a(t,u)||s(t,u,c(e,u))}}},function(t,e,n){var a=n(34),r=n(48),o=n(104),i=n(8);t.exports=a("Reflect","ownKeys")||function(t){var e=r.f(i(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var a=n(3);t.exports=a},function(t,e,n){var a=n(12),r=n(22),o=n(102).indexOf,i=n(67);t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)!a(i,n)&&a(s,n)&&l.push(n);for(;e.length>c;)a(s,n=e[c++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){"use strict";var a=n(10),r=n(4),o=n(70),i=n(104),s=n(96),c=n(18),l=n(46),u=Object.assign,d=Object.defineProperty;t.exports=!u||r((function(){if(a&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||"abcdefghijklmnopqrst"!=o(u({},e)).join("")}))?function(t,e){for(var n=c(t),r=arguments.length,u=1,d=i.f,p=s.f;r>u;)for(var A,f=l(arguments[u++]),m=d?o(f).concat(d(f)):o(f),h=m.length,M=0;h>M;)A=m[M++],a&&!p.call(f,A)||(n[A]=f[A]);return n}:u},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),a=0;a<n.length;a++)n[a]=arguments[a];return t.apply(e,n)}}},function(t,e,n){"use strict";var a=n(17);function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(a.isURLSearchParams(e))o=e.toString();else{var i=[];a.forEach(e,(function(t,e){null!=t&&(a.isArray(t)?e+="[]":t=[t],a.forEach(t,(function(t){a.isDate(t)?t=t.toISOString():a.isObject(t)&&(t=JSON.stringify(t)),i.push(r(e)+"="+r(t))})))})),o=i.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";(function(e){var a=n(17),r=n(398),o={"Content-Type":"application/x-www-form-urlencoded"};function i(t,e){!a.isUndefined(t)&&a.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,c={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(s=n(161)),s),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),a.isFormData(t)||a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)?t:a.isArrayBufferView(t)?t.buffer:a.isURLSearchParams(t)?(i(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):a.isObject(t)?(i(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),a.forEach(["post","put","patch"],(function(t){c.headers[t]=a.merge(o)})),t.exports=c}).call(this,n(71))},function(t,e,n){"use strict";var a=n(17),r=n(399),o=n(401),i=n(158),s=n(402),c=n(405),l=n(406),u=n(162);t.exports=function(t){return new Promise((function(e,n){var d=t.data,p=t.headers;a.isFormData(d)&&delete p["Content-Type"];var A=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(f+":"+m)}var h=s(t.baseURL,t.url);if(A.open(t.method.toUpperCase(),i(h,t.params,t.paramsSerializer),!0),A.timeout=t.timeout,A.onreadystatechange=function(){if(A&&4===A.readyState&&(0!==A.status||A.responseURL&&0===A.responseURL.indexOf("file:"))){var a="getAllResponseHeaders"in A?c(A.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?A.response:A.responseText,status:A.status,statusText:A.statusText,headers:a,config:t,request:A};r(e,n,o),A=null}},A.onabort=function(){A&&(n(u("Request aborted",t,"ECONNABORTED",A)),A=null)},A.onerror=function(){n(u("Network Error",t,null,A)),A=null},A.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,"ECONNABORTED",A)),A=null},a.isStandardBrowserEnv()){var M=(t.withCredentials||l(h))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;M&&(p[t.xsrfHeaderName]=M)}if("setRequestHeader"in A&&a.forEach(p,(function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete p[e]:A.setRequestHeader(e,t)})),a.isUndefined(t.withCredentials)||(A.withCredentials=!!t.withCredentials),t.responseType)try{A.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&A.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&A.upload&&A.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){A&&(A.abort(),n(t),A=null)})),d||(d=null),A.send(d)}))}},function(t,e,n){"use strict";var a=n(400);t.exports=function(t,e,n,r,o){var i=new Error(t);return a(i,e,n,r,o)}},function(t,e,n){"use strict";var a=n(17);t.exports=function(t,e){e=e||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(t,e){return a.isPlainObject(t)&&a.isPlainObject(e)?a.merge(t,e):a.isPlainObject(e)?a.merge({},e):a.isArray(e)?e.slice():e}function l(r){a.isUndefined(e[r])?a.isUndefined(t[r])||(n[r]=c(void 0,t[r])):n[r]=c(t[r],e[r])}a.forEach(r,(function(t){a.isUndefined(e[t])||(n[t]=c(void 0,e[t]))})),a.forEach(o,l),a.forEach(i,(function(r){a.isUndefined(e[r])?a.isUndefined(t[r])||(n[r]=c(void 0,t[r])):n[r]=c(void 0,e[r])})),a.forEach(s,(function(a){a in e?n[a]=c(t[a],e[a]):a in t&&(n[a]=c(void 0,t[a]))}));var u=r.concat(o).concat(i).concat(s),d=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return a.forEach(d,l),n}},function(t,e,n){"use strict";function a(t){this.message=t}a.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},a.prototype.__CANCEL__=!0,t.exports=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRequestToken",{enumerable:!0,get:function(){return a.getRequestToken}}),Object.defineProperty(e,"onRequestTokenUpdate",{enumerable:!0,get:function(){return a.onRequestTokenUpdate}}),Object.defineProperty(e,"getCurrentUser",{enumerable:!0,get:function(){return r.getCurrentUser}});var a=n(410),r=n(412)},function(t,e,n){"use strict";var a=n(72).forEach,r=n(74)("forEach");t.exports=r?[].forEach:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){var a=n(105);t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){"use strict";n.r(e),function(t,a){n.d(e,"emit",(function(){return zr})),n.d(e,"subscribe",(function(){return xr})),n.d(e,"unsubscribe",(function(){return kr}));var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function o(t){var e={exports:{}};return t(e,e.exports),e.exports}var i=function(t){return t&&t.Math==Math&&t},s=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof r&&r)||function(){return this}()||Function("return this")(),c=function(t){try{return!!t()}catch(t){return!0}},l=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,p={f:d&&!u.call({1:2},1)?function(t){var e=d(this,t);return!!e&&e.enumerable}:u},A=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},f={}.toString,m=function(t){return f.call(t).slice(8,-1)},h="".split,M=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==m(t)?h.call(t,""):Object(t)}:Object,g=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},b=function(t){return M(g(t))},_=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t,e){if(!_(t))return t;var n,a;if(e&&"function"==typeof(n=t.toString)&&!_(a=n.call(t)))return a;if("function"==typeof(n=t.valueOf)&&!_(a=n.call(t)))return a;if(!e&&"function"==typeof(n=t.toString)&&!_(a=n.call(t)))return a;throw TypeError("Can't convert object to primitive value")},y=function(t){return Object(g(t))},L={}.hasOwnProperty,w=function(t,e){return L.call(y(t),e)},C=s.document,T=_(C)&&_(C.createElement),x=function(t){return T?C.createElement(t):{}},k=!l&&!c((function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a})),z=Object.getOwnPropertyDescriptor,O={f:l?z:function(t,e){if(t=b(t),e=v(e,!0),k)try{return z(t,e)}catch(t){}if(w(t,e))return A(!p.f.call(t,e),t[e])}},S=function(t){if(!_(t))throw TypeError(String(t)+" is not an object");return t},B=Object.defineProperty,E={f:l?B:function(t,e,n){if(S(t),e=v(e,!0),S(n),k)try{return B(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},N=l?function(t,e,n){return E.f(t,e,A(1,n))}:function(t,e,n){return t[e]=n,t},D=function(t,e){try{N(s,t,e)}catch(n){s[t]=e}return e},Y=s["__core-js_shared__"]||D("__core-js_shared__",{}),j=Function.toString;"function"!=typeof Y.inspectSource&&(Y.inspectSource=function(t){return j.call(t)});var I,P,W,q=Y.inspectSource,R=s.WeakMap,F="function"==typeof R&&/native code/.test(q(R)),H=o((function(t){(t.exports=function(t,e){return Y[t]||(Y[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),X=0,U=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++X+U).toString(36)},Q=H("keys"),$=function(t){return Q[t]||(Q[t]=G(t))},V={},J=s.WeakMap;if(F){var K=Y.state||(Y.state=new J),Z=K.get,tt=K.has,et=K.set;I=function(t,e){if(tt.call(K,t))throw new TypeError("Object already initialized");return e.facade=t,et.call(K,t,e),e},P=function(t){return Z.call(K,t)||{}},W=function(t){return tt.call(K,t)}}else{var nt=$("state");V[nt]=!0,I=function(t,e){if(w(t,nt))throw new TypeError("Object already initialized");return e.facade=t,N(t,nt,e),e},P=function(t){return w(t,nt)?t[nt]:{}},W=function(t){return w(t,nt)}}var at={set:I,get:P,has:W,enforce:function(t){return W(t)?P(t):I(t,{})},getterFor:function(t){return function(e){var n;if(!_(e)||(n=P(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}},rt=o((function(t){var e=at.get,n=at.enforce,a=String(String).split("String");(t.exports=function(t,e,r,o){var i,c=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,u=!!o&&!!o.noTargetGet;"function"==typeof r&&("string"!=typeof e||w(r,"name")||N(r,"name",e),(i=n(r)).source||(i.source=a.join("string"==typeof e?e:""))),t!==s?(c?!u&&t[e]&&(l=!0):delete t[e],l?t[e]=r:N(t,e,r)):l?t[e]=r:D(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||q(this)}))})),ot=s,it=function(t){return"function"==typeof t?t:void 0},st=function(t,e){return arguments.length<2?it(ot[t])||it(s[t]):ot[t]&&ot[t][e]||s[t]&&s[t][e]},ct=Math.ceil,lt=Math.floor,ut=function(t){return isNaN(t=+t)?0:(t>0?lt:ct)(t)},dt=Math.min,pt=function(t){return t>0?dt(ut(t),9007199254740991):0},At=Math.max,ft=Math.min,mt=function(t){return function(e,n,a){var r,o=b(e),i=pt(o.length),s=function(t,e){var n=ut(t);return n<0?At(n+e,0):ft(n,e)}(a,i);if(t&&n!=n){for(;i>s;)if((r=o[s++])!=r)return!0}else for(;i>s;s++)if((t||s in o)&&o[s]===n)return t||s||0;return!t&&-1}},ht={includes:mt(!0),indexOf:mt(!1)}.indexOf,Mt=function(t,e){var n,a=b(t),r=0,o=[];for(n in a)!w(V,n)&&w(a,n)&&o.push(n);for(;e.length>r;)w(a,n=e[r++])&&(~ht(o,n)||o.push(n));return o},gt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bt=gt.concat("length","prototype"),_t={f:Object.getOwnPropertyNames||function(t){return Mt(t,bt)}},vt={f:Object.getOwnPropertySymbols},yt=st("Reflect","ownKeys")||function(t){var e=_t.f(S(t)),n=vt.f;return n?e.concat(n(t)):e},Lt=function(t,e){for(var n=yt(e),a=E.f,r=O.f,o=0;o<n.length;o++){var i=n[o];w(t,i)||a(t,i,r(e,i))}},wt=/#|\.prototype\./,Ct=function(t,e){var n=xt[Tt(t)];return n==zt||n!=kt&&("function"==typeof e?c(e):!!e)},Tt=Ct.normalize=function(t){return String(t).replace(wt,".").toLowerCase()},xt=Ct.data={},kt=Ct.NATIVE="N",zt=Ct.POLYFILL="P",Ot=Ct,St=O.f,Bt=function(t,e){var n,a,r,o,i,c=t.target,l=t.global,u=t.stat;if(n=l?s:u?s[c]||D(c,{}):(s[c]||{}).prototype)for(a in e){if(o=e[a],r=t.noTargetGet?(i=St(n,a))&&i.value:n[a],!Ot(l?a:c+(u?".":"#")+a,t.forced)&&void 0!==r){if(typeof o==typeof r)continue;Lt(o,r)}(t.sham||r&&r.sham)&&N(o,"sham",!0),rt(n,a,o,t)}};Bt({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991});var Et,Nt=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,a){return S(n),function(t){if(!_(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(a),e?t.call(n,a):n.__proto__=a,n}}():void 0),Dt=function(t,e,n){var a,r;return Nt&&"function"==typeof(a=e.constructor)&&a!==n&&_(r=a.prototype)&&r!==n.prototype&&Nt(t,r),t},Yt=Object.keys||function(t){return Mt(t,gt)},jt=l?Object.defineProperties:function(t,e){S(t);for(var n,a=Yt(e),r=a.length,o=0;r>o;)E.f(t,n=a[o++],e[n]);return t},It=st("document","documentElement"),Pt=$("IE_PROTO"),Wt=function(){},qt=function(t){return"<script>"+t+"<\/script>"},Rt=function(){try{Et=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Rt=Et?function(t){t.write(qt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Et):((e=x("iframe")).style.display="none",It.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(qt("document.F=Object")),t.close(),t.F);for(var n=gt.length;n--;)delete Rt.prototype[gt[n]];return Rt()};V[Pt]=!0;var Ft=Object.create||function(t,e){var n;return null!==t?(Wt.prototype=S(t),n=new Wt,Wt.prototype=null,n[Pt]=t):n=Rt(),void 0===e?n:jt(n,e)},Ht="\t\n\v\f\r \u2028\u2029\ufeff",Xt="["+Ht+"]",Ut=RegExp("^"+Xt+Xt+"*"),Gt=RegExp(Xt+Xt+"*$"),Qt=function(t){return function(e){var n=String(g(e));return 1&t&&(n=n.replace(Ut,"")),2&t&&(n=n.replace(Gt,"")),n}},$t={start:Qt(1),end:Qt(2),trim:Qt(3)},Vt=_t.f,Jt=O.f,Kt=E.f,Zt=$t.trim,te=s.Number,ee=te.prototype,ne="Number"==m(Ft(ee)),ae=function(t){var e,n,a,r,o,i,s,c,l=v(t,!1);if("string"==typeof l&&l.length>2)if(43===(e=(l=Zt(l)).charCodeAt(0))||45===e){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(l.charCodeAt(1)){case 66:case 98:a=2,r=49;break;case 79:case 111:a=8,r=55;break;default:return+l}for(i=(o=l.slice(2)).length,s=0;s<i;s++)if((c=o.charCodeAt(s))<48||c>r)return NaN;return parseInt(o,a)}return+l};if(Ot("Number",!te(" 0o1")||!te("0b1")||te("+0x1"))){for(var re,oe=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof oe&&(ne?c((function(){ee.valueOf.call(n)})):"Number"!=m(n))?Dt(new te(ae(e)),n,oe):ae(e)},ie=l?Vt(te):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),se=0;ie.length>se;se++)w(te,re=ie[se])&&!w(oe,re)&&Kt(oe,re,Jt(te,re));oe.prototype=ee,ee.constructor=oe,rt(s,"Number",oe)}var ce,le,ue={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},de="process"==m(s.process),pe=st("navigator","userAgent")||"",Ae=s.process,fe=Ae&&Ae.versions,me=fe&&fe.v8;me?le=(ce=me.split("."))[0]+ce[1]:pe&&(!(ce=pe.match(/Edge\/(\d+)/))||ce[1]>=74)&&(ce=pe.match(/Chrome\/(\d+)/))&&(le=ce[1]);var he=le&&+le,Me=!!Object.getOwnPropertySymbols&&!c((function(){return!Symbol.sham&&(de?38===he:he>37&&he<41)})),ge=Me&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,be=H("wks"),_e=s.Symbol,ve=ge?_e:_e&&_e.withoutSetter||G,ye=function(t){return w(be,t)&&(Me||"string"==typeof be[t])||(Me&&w(_e,t)?be[t]=_e[t]:be[t]=ve("Symbol."+t)),be[t]},Le=ye("match"),we=function(t){var e;return _(t)&&(void 0!==(e=t[Le])?!!e:"RegExp"==m(t))},Ce=function(){var t=S(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Te(t,e){return RegExp(t,e)}var xe={UNSUPPORTED_Y:c((function(){var t=Te("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:c((function(){var t=Te("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},ke=ye("species"),ze=function(t){var e=st(t),n=E.f;l&&e&&!e[ke]&&n(e,ke,{configurable:!0,get:function(){return this}})},Oe=E.f,Se=_t.f,Be=at.enforce,Ee=ye("match"),Ne=s.RegExp,De=Ne.prototype,Ye=/a/g,je=/a/g,Ie=new Ne(Ye)!==Ye,Pe=xe.UNSUPPORTED_Y;if(l&&Ot("RegExp",!Ie||Pe||c((function(){return je[Ee]=!1,Ne(Ye)!=Ye||Ne(je)==je||"/a/i"!=Ne(Ye,"i")})))){for(var We=function(t,e){var n,a=this instanceof We,r=we(t),o=void 0===e;if(!a&&r&&t.constructor===We&&o)return t;Ie?r&&!o&&(t=t.source):t instanceof We&&(o&&(e=Ce.call(t)),t=t.source),Pe&&(n=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var i=Dt(Ie?new Ne(t,e):Ne(t,e),a?this:De,We);Pe&&n&&(Be(i).sticky=!0);return i},qe=function(t){t in We||Oe(We,t,{configurable:!0,get:function(){return Ne[t]},set:function(e){Ne[t]=e}})},Re=Se(Ne),Fe=0;Re.length>Fe;)qe(Re[Fe++]);De.constructor=We,We.prototype=De,rt(s,"RegExp",We)}ze("RegExp");var He=RegExp.prototype.exec,Xe=H("native-string-replace",String.prototype.replace),Ue=He,Ge=function(){var t=/a/,e=/b*/g;return He.call(t,"a"),He.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Qe=xe.UNSUPPORTED_Y||xe.BROKEN_CARET,$e=void 0!==/()??/.exec("")[1];(Ge||$e||Qe)&&(Ue=function(t){var e,n,a,r,o=this,i=Qe&&o.sticky,s=Ce.call(o),c=o.source,l=0,u=t;return i&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(t).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==t[o.lastIndex-1])&&(c="(?: "+c+")",u=" "+u,l++),n=new RegExp("^(?:"+c+")",s)),$e&&(n=new RegExp("^"+c+"$(?!\\s)",s)),Ge&&(e=o.lastIndex),a=He.call(i?n:o,u),i?a?(a.input=a.input.slice(l),a[0]=a[0].slice(l),a.index=o.lastIndex,o.lastIndex+=a[0].length):o.lastIndex=0:Ge&&a&&(o.lastIndex=o.global?a.index+a[0].length:e),$e&&a&&a.length>1&&Xe.call(a[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(a[r]=void 0)})),a});var Ve=Ue;Bt({target:"RegExp",proto:!0,forced:/./.exec!==Ve},{exec:Ve});var Je=RegExp.prototype,Ke=Je.toString,Ze=c((function(){return"/a/b"!=Ke.call({source:"a",flags:"b"})})),tn="toString"!=Ke.name;(Ze||tn)&&rt(RegExp.prototype,"toString",(function(){var t=S(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in Je)?Ce.call(t):n)}),{unsafe:!0});var en=Array.isArray||function(t){return"Array"==m(t)},nn=function(t,e,n){var a=v(e);a in t?E.f(t,a,A(0,n)):t[a]=n},an=ye("species"),rn=function(t,e){var n;return en(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!en(n.prototype)?_(n)&&null===(n=n[an])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)},on=ye("species"),sn=function(t){return he>=51||!c((function(){var e=[];return(e.constructor={})[on]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},cn=ye("isConcatSpreadable"),ln=he>=51||!c((function(){var t=[];return t[cn]=!1,t.concat()[0]!==t})),un=sn("concat"),dn=function(t){if(!_(t))return!1;var e=t[cn];return void 0!==e?!!e:en(t)};function pn(t){return(pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function An(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}Bt({target:"Array",proto:!0,forced:!ln||!un},{concat:function(t){var e,n,a,r,o,i=y(this),s=rn(i,0),c=0;for(e=-1,a=arguments.length;e<a;e++)if(dn(o=-1===e?i:arguments[e])){if(c+(r=pt(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<r;n++,c++)n in o&&nn(s,c,o[n])}else{if(c>=9007199254740991)throw TypeError("Maximum allowed index exceeded");nn(s,c++,o)}return s.length=c,s}});var fn="object"===(void 0===a?"undefined":pn(a))&&a.env&&a.env.NODE_DEBUG&&/\bsemver\b/i.test(a.env.NODE_DEBUG)?function(){for(var t,e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return(t=console).error.apply(t,["SEMVER"].concat(n))}:function(){},mn=o((function(t,e){var n=ue.MAX_SAFE_COMPONENT_LENGTH,a=(e=t.exports={}).re=[],r=e.src=[],o=e.t={},i=0,s=function(t,e,n){var s=i++;fn(s,e),o[t]=s,r[s]=e,a[s]=new RegExp(e,n?"g":void 0)};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION","(".concat(r[o.NUMERICIDENTIFIER],")\\.")+"(".concat(r[o.NUMERICIDENTIFIER],")\\.")+"(".concat(r[o.NUMERICIDENTIFIER],")")),s("MAINVERSIONLOOSE","(".concat(r[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(r[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(r[o.NUMERICIDENTIFIERLOOSE],")")),s("PRERELEASEIDENTIFIER","(?:".concat(r[o.NUMERICIDENTIFIER],"|").concat(r[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASEIDENTIFIERLOOSE","(?:".concat(r[o.NUMERICIDENTIFIERLOOSE],"|").concat(r[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASE","(?:-(".concat(r[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(r[o.PRERELEASEIDENTIFIER],")*))")),s("PRERELEASELOOSE","(?:-?(".concat(r[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(r[o.PRERELEASEIDENTIFIERLOOSE],")*))")),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD","(?:\\+(".concat(r[o.BUILDIDENTIFIER],"(?:\\.").concat(r[o.BUILDIDENTIFIER],")*))")),s("FULLPLAIN","v?".concat(r[o.MAINVERSION]).concat(r[o.PRERELEASE],"?").concat(r[o.BUILD],"?")),s("FULL","^".concat(r[o.FULLPLAIN],"$")),s("LOOSEPLAIN","[v=\\s]*".concat(r[o.MAINVERSIONLOOSE]).concat(r[o.PRERELEASELOOSE],"?").concat(r[o.BUILD],"?")),s("LOOSE","^".concat(r[o.LOOSEPLAIN],"$")),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(r[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(r[o.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(r[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(r[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(r[o.XRANGEIDENTIFIER],")")+"(?:".concat(r[o.PRERELEASE],")?").concat(r[o.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(r[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(r[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(r[o.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(r[o.PRERELEASELOOSE],")?").concat(r[o.BUILD],"?")+")?)?"),s("XRANGE","^".concat(r[o.GTLT],"\\s*").concat(r[o.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(r[o.GTLT],"\\s*").concat(r[o.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",r[o.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(r[o.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",s("TILDE","^".concat(r[o.LONETILDE]).concat(r[o.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(r[o.LONETILDE]).concat(r[o.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(r[o.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",s("CARET","^".concat(r[o.LONECARET]).concat(r[o.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(r[o.LONECARET]).concat(r[o.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(r[o.GTLT],"\\s*(").concat(r[o.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(r[o.GTLT],"\\s*(").concat(r[o.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(r[o.GTLT],"\\s*(").concat(r[o.LOOSEPLAIN],"|").concat(r[o.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(r[o.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(r[o.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(r[o.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(r[o.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),hn=ye("species"),Mn=!c((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),gn="$0"==="a".replace(/./,"$0"),bn=ye("replace"),_n=!!/./[bn]&&""===/./[bn]("a","$0"),vn=!c((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),yn=function(t,e,n,a){var r=ye(t),o=!c((function(){var e={};return e[r]=function(){return 7},7!=""[t](e)})),i=o&&!c((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[hn]=function(){return n},n.flags="",n[r]=/./[r]),n.exec=function(){return e=!0,null},n[r](""),!e}));if(!o||!i||"replace"===t&&(!Mn||!gn||_n)||"split"===t&&!vn){var s=/./[r],l=n(r,""[t],(function(t,e,n,a,r){return e.exec===RegExp.prototype.exec?o&&!r?{done:!0,value:s.call(e,n,a)}:{done:!0,value:t.call(n,e,a)}:{done:!1}}),{REPLACE_KEEPS_$0:gn,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:_n}),u=l[0],d=l[1];rt(String.prototype,t,u),rt(RegExp.prototype,r,2==e?function(t,e){return d.call(t,this,e)}:function(t){return d.call(t,this)})}a&&N(RegExp.prototype[r],"sham",!0)},Ln=function(t){return function(e,n){var a,r,o=String(g(e)),i=ut(n),s=o.length;return i<0||i>=s?t?"":void 0:(a=o.charCodeAt(i))<55296||a>56319||i+1===s||(r=o.charCodeAt(i+1))<56320||r>57343?t?o.charAt(i):a:t?o.slice(i,i+2):r-56320+(a-55296<<10)+65536}},wn={codeAt:Ln(!1),charAt:Ln(!0)},Cn=wn.charAt,Tn=function(t,e,n){return e+(n?Cn(t,e).length:1)},xn=function(t,e){var n=t.exec;if("function"==typeof n){var a=n.call(t,e);if("object"!=typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==m(t))throw TypeError("RegExp#exec called on incompatible receiver");return Ve.call(t,e)};yn("match",1,(function(t,e,n){return[function(e){var n=g(this),a=null==e?void 0:e[t];return void 0!==a?a.call(e,n):new RegExp(e)[t](String(n))},function(t){var a=n(e,t,this);if(a.done)return a.value;var r=S(t),o=String(this);if(!r.global)return xn(r,o);var i=r.unicode;r.lastIndex=0;for(var s,c=[],l=0;null!==(s=xn(r,o));){var u=String(s[0]);c[l]=u,""===u&&(r.lastIndex=Tn(o,pt(r.lastIndex),i)),l++}return 0===l?null:c}]}));var kn=$t.trim;Bt({target:"String",proto:!0,forced:function(t){return c((function(){return!!Ht[t]()||"
"!="
"[t]()||Ht[t].name!==t}))}("trim")},{trim:function(){return kn(this)}});var zn=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},On=function(t,e,n){if(zn(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,a){return t.call(e,n,a)};case 3:return function(n,a,r){return t.call(e,n,a,r)}}return function(){return t.apply(e,arguments)}},Sn=[].push,Bn=function(t){var e=1==t,n=2==t,a=3==t,r=4==t,o=6==t,i=7==t,s=5==t||o;return function(c,l,u,d){for(var p,A,f=y(c),m=M(f),h=On(l,u,3),g=pt(m.length),b=0,_=d||rn,v=e?_(c,g):n||i?_(c,0):void 0;g>b;b++)if((s||b in m)&&(A=h(p=m[b],b,f),t))if(e)v[b]=A;else if(A)switch(t){case 3:return!0;case 5:return p;case 6:return b;case 2:Sn.call(v,p)}else switch(t){case 4:return!1;case 7:Sn.call(v,p)}return o?-1:a||r?r:v}},En={forEach:Bn(0),map:Bn(1),filter:Bn(2),some:Bn(3),every:Bn(4),find:Bn(5),findIndex:Bn(6),filterOut:Bn(7)},Nn=En.map,Dn=sn("map");Bt({target:"Array",proto:!0,forced:!Dn},{map:function(t){return Nn(this,t,arguments.length>1?arguments[1]:void 0)}});var Yn=ye("species"),jn=xe.UNSUPPORTED_Y,In=[].push,Pn=Math.min;yn("split",2,(function(t,e,n){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var a=String(g(this)),r=void 0===n?4294967295:n>>>0;if(0===r)return[];if(void 0===t)return[a];if(!we(t))return e.call(a,t,r);for(var o,i,s,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),u=0,d=new RegExp(t.source,l+"g");(o=Ve.call(d,a))&&!((i=d.lastIndex)>u&&(c.push(a.slice(u,o.index)),o.length>1&&o.index<a.length&&In.apply(c,o.slice(1)),s=o[0].length,u=i,c.length>=r));)d.lastIndex===o.index&&d.lastIndex++;return u===a.length?!s&&d.test("")||c.push(""):c.push(a.slice(u)),c.length>r?c.slice(0,r):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=g(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,r,n):a.call(String(r),e,n)},function(t,r){var o=n(a,t,this,r,a!==e);if(o.done)return o.value;var i=S(t),s=String(this),c=function(t,e){var n,a=S(t).constructor;return void 0===a||null==(n=S(a)[Yn])?e:zn(n)}(i,RegExp),l=i.unicode,u=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(jn?"g":"y"),d=new c(jn?"^(?:"+i.source+")":i,u),p=void 0===r?4294967295:r>>>0;if(0===p)return[];if(0===s.length)return null===xn(d,s)?[s]:[];for(var A=0,f=0,m=[];f<s.length;){d.lastIndex=jn?0:f;var h,M=xn(d,jn?s.slice(f):s);if(null===M||(h=Pn(pt(d.lastIndex+(jn?f:0)),s.length))===A)f=Tn(s,f,l);else{if(m.push(s.slice(A,f)),m.length===p)return m;for(var g=1;g<=M.length-1;g++)if(m.push(M[g]),m.length===p)return m;f=A=h}}return m.push(s.slice(A)),m}]}),jn);var Wn=function(t,e){var n=[][t];return!!n&&c((function(){n.call(null,e||function(){throw 1},1)}))},qn=[].join,Rn=M!=Object,Fn=Wn("join",",");Bt({target:"Array",proto:!0,forced:Rn||!Fn},{join:function(t){return qn.call(b(this),void 0===t?",":t)}});var Hn=En.filter,Xn=sn("filter");Bt({target:"Array",proto:!0,forced:!Xn},{filter:function(t){return Hn(this,t,arguments.length>1?arguments[1]:void 0)}});var Un=["includePrerelease","loose","rtl"],Gn=function(t){return t?"object"!==pn(t)?{loose:!0}:Un.filter((function(e){return t[e]})).reduce((function(t,e){return t[e]=!0,t}),{}):{}},Qn=/^[0-9]+$/,$n=function(t,e){var n=Qn.test(t),a=Qn.test(e);return n&&a&&(t=+t,e=+e),t===e?0:n&&!a?-1:a&&!n?1:t<e?-1:1},Vn=$n,Jn=ue.MAX_LENGTH,Kn=ue.MAX_SAFE_INTEGER,Zn=mn.re,ta=mn.t,ea=Vn,na=function(){function t(e,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=Gn(n),e instanceof t){if(e.loose===!!n.loose&&e.includePrerelease===!!n.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>Jn)throw new TypeError("version is longer than ".concat(Jn," characters"));fn("SemVer",e,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;var a=e.trim().match(n.loose?Zn[ta.LOOSE]:Zn[ta.FULL]);if(!a)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>Kn||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Kn||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Kn||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(t){if(/^[0-9]+$/.test(t)){var e=+t;if(e>=0&&e<Kn)return e}return t})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}var e,n,a;return e=t,(n=[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(e){if(fn("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if("string"==typeof e&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}},{key:"compareMain",value:function(e){return e instanceof t||(e=new t(e,this.options)),ea(this.major,e.major)||ea(this.minor,e.minor)||ea(this.patch,e.patch)}},{key:"comparePre",value:function(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var n=0;do{var a=this.prerelease[n],r=e.prerelease[n];if(fn("prerelease compare",n,a,r),void 0===a&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===a)return-1;if(a!==r)return ea(a,r)}while(++n)}},{key:"compareBuild",value:function(e){e instanceof t||(e=new t(e,this.options));var n=0;do{var a=this.build[n],r=e.build[n];if(fn("prerelease compare",n,a,r),void 0===a&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===a)return-1;if(a!==r)return ea(a,r)}while(++n)}},{key:"inc",value:function(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e),this.inc("pre",e);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: ".concat(t))}return this.format(),this.raw=this.version,this}}])&&An(e.prototype,n),a&&An(e,a),t}(),aa=ue.MAX_LENGTH,ra=mn.re,oa=mn.t,ia=function(t,e){if(e=Gn(e),t instanceof na)return t;if("string"!=typeof t)return null;if(t.length>aa)return null;if(!(e.loose?ra[oa.LOOSE]:ra[oa.FULL]).test(t))return null;try{return new na(t,e)}catch(t){return null}},sa=function(t,e){var n=ia(t,e);return n?n.version:null},ca=function(t,e){return new na(t,e).major},la="1.3.0",ua=function(){function t(t){"function"==typeof t.getVersion&&sa(t.getVersion())?ca(t.getVersion())!==ca(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):console.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}return t.prototype.getVersion=function(){return la},t.prototype.subscribe=function(t,e){this.bus.subscribe(t,e)},t.prototype.unsubscribe=function(t,e){this.bus.unsubscribe(t,e)},t.prototype.emit=function(t,e){this.bus.emit(t,e)},t}(),da=ye("unscopables"),pa=Array.prototype;null==pa[da]&&E.f(pa,da,{configurable:!0,value:Ft(null)});var Aa,fa,ma,ha=function(t){pa[da][t]=!0},Ma={},ga=!c((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ba=$("IE_PROTO"),_a=Object.prototype,va=ga?Object.getPrototypeOf:function(t){return t=y(t),w(t,ba)?t[ba]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?_a:null},ya=ye("iterator"),La=!1;[].keys&&("next"in(ma=[].keys())?(fa=va(va(ma)))!==Object.prototype&&(Aa=fa):La=!0),(null==Aa||c((function(){var t={};return Aa[ya].call(t)!==t})))&&(Aa={}),w(Aa,ya)||N(Aa,ya,(function(){return this}));var wa={IteratorPrototype:Aa,BUGGY_SAFARI_ITERATORS:La},Ca=E.f,Ta=ye("toStringTag"),xa=function(t,e,n){t&&!w(t=n?t:t.prototype,Ta)&&Ca(t,Ta,{configurable:!0,value:e})},ka=wa.IteratorPrototype,za=function(){return this},Oa=wa.IteratorPrototype,Sa=wa.BUGGY_SAFARI_ITERATORS,Ba=ye("iterator"),Ea=function(){return this},Na=function(t,e,n,a,r,o,i){!function(t,e,n){var a=e+" Iterator";t.prototype=Ft(ka,{next:A(1,n)}),xa(t,a,!1),Ma[a]=za}(n,e,a);var s,c,l,u=function(t){if(t===r&&h)return h;if(!Sa&&t in f)return f[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},d=e+" Iterator",p=!1,f=t.prototype,m=f[Ba]||f["@@iterator"]||r&&f[r],h=!Sa&&m||u(r),M="Array"==e&&f.entries||m;if(M&&(s=va(M.call(new t)),Oa!==Object.prototype&&s.next&&(va(s)!==Oa&&(Nt?Nt(s,Oa):"function"!=typeof s[Ba]&&N(s,Ba,Ea)),xa(s,d,!0))),"values"==r&&m&&"values"!==m.name&&(p=!0,h=function(){return m.call(this)}),f[Ba]!==h&&N(f,Ba,h),Ma[e]=h,r)if(c={values:u("values"),keys:o?h:u("keys"),entries:u("entries")},i)for(l in c)(Sa||p||!(l in f))&&rt(f,l,c[l]);else Bt({target:e,proto:!0,forced:Sa||p},c);return c},Da=at.set,Ya=at.getterFor("Array Iterator"),ja=Na(Array,"Array",(function(t,e){Da(this,{type:"Array Iterator",target:b(t),index:0,kind:e})}),(function(){var t=Ya(this),e=t.target,n=t.kind,a=t.index++;return!e||a>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:a,done:!1}:"values"==n?{value:e[a],done:!1}:{value:[a,e[a]],done:!1}}),"values");Ma.Arguments=Ma.Array,ha("keys"),ha("values"),ha("entries");var Ia=!c((function(){return Object.isExtensible(Object.preventExtensions({}))})),Pa=o((function(t){var e=E.f,n=G("meta"),a=0,r=Object.isExtensible||function(){return!0},o=function(t){e(t,n,{value:{objectID:"O"+ ++a,weakData:{}}})},i=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!_(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!w(t,n)){if(!r(t))return"F";if(!e)return"E";o(t)}return t[n].objectID},getWeakData:function(t,e){if(!w(t,n)){if(!r(t))return!0;if(!e)return!1;o(t)}return t[n].weakData},onFreeze:function(t){return Ia&&i.REQUIRED&&r(t)&&!w(t,n)&&o(t),t}};V[n]=!0})),Wa=ye("iterator"),qa=Array.prototype,Ra={};Ra[ye("toStringTag")]="z";var Fa="[object z]"===String(Ra),Ha=ye("toStringTag"),Xa="Arguments"==m(function(){return arguments}()),Ua=Fa?m:function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),Ha))?n:Xa?m(e):"Object"==(a=m(e))&&"function"==typeof e.callee?"Arguments":a},Ga=ye("iterator"),Qa=function(t){var e=t.return;if(void 0!==e)return S(e.call(t)).value},$a=function(t,e){this.stopped=t,this.result=e},Va=function(t,e,n){var a,r,o,i,s,c,l,u,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),A=!(!n||!n.IS_ITERATOR),f=!(!n||!n.INTERRUPTED),m=On(e,d,1+p+f),h=function(t){return a&&Qa(a),new $a(!0,t)},M=function(t){return p?(S(t),f?m(t[0],t[1],h):m(t[0],t[1])):f?m(t,h):m(t)};if(A)a=t;else{if("function"!=typeof(r=function(t){if(null!=t)return t[Ga]||t["@@iterator"]||Ma[Ua(t)]}(t)))throw TypeError("Target is not iterable");if(void 0!==(u=r)&&(Ma.Array===u||qa[Wa]===u)){for(o=0,i=pt(t.length);i>o;o++)if((s=M(t[o]))&&s instanceof $a)return s;return new $a(!1)}a=r.call(t)}for(c=a.next;!(l=c.call(a)).done;){try{s=M(l.value)}catch(t){throw Qa(a),t}if("object"==typeof s&&s&&s instanceof $a)return s}return new $a(!1)},Ja=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},Ka=ye("iterator"),Za=!1;try{var tr=0,er={next:function(){return{done:!!tr++}},return:function(){Za=!0}};er[Ka]=function(){return this},Array.from(er,(function(){throw 2}))}catch(t){}var nr=function(t,e,n){for(var a in e)rt(t,a,e[a],n);return t},ar=E.f,rr=Pa.fastKey,or=at.set,ir=at.getterFor;!function(t,e,n){var a=-1!==t.indexOf("Map"),r=-1!==t.indexOf("Weak"),o=a?"set":"add",i=s[t],l=i&&i.prototype,u=i,d={},p=function(t){var e=l[t];rt(l,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(r&&!_(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return r&&!_(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(r&&!_(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(Ot(t,"function"!=typeof i||!(r||l.forEach&&!c((function(){(new i).entries().next()})))))u=n.getConstructor(e,t,a,o),Pa.REQUIRED=!0;else if(Ot(t,!0)){var A=new u,f=A[o](r?{}:-0,1)!=A,m=c((function(){A.has(1)})),h=function(t,e){if(!e&&!Za)return!1;var n=!1;try{var a={};a[Ka]=function(){return{next:function(){return{done:n=!0}}}},t(a)}catch(t){}return n}((function(t){new i(t)})),M=!r&&c((function(){for(var t=new i,e=5;e--;)t[o](e,e);return!t.has(-0)}));h||((u=e((function(e,n){Ja(e,u,t);var r=Dt(new i,e,u);return null!=n&&Va(n,r[o],{that:r,AS_ENTRIES:a}),r}))).prototype=l,l.constructor=u),(m||M)&&(p("delete"),p("has"),a&&p("get")),(M||f)&&p(o),r&&l.clear&&delete l.clear}d[t]=u,Bt({global:!0,forced:u!=i},d),xa(u,t),r||n.setStrong(u,t,a)}("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),{getConstructor:function(t,e,n,a){var r=t((function(t,o){Ja(t,r,e),or(t,{type:e,index:Ft(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=o&&Va(o,t[a],{that:t,AS_ENTRIES:n})})),o=ir(e),i=function(t,e,n){var a,r,i=o(t),c=s(t,e);return c?c.value=n:(i.last=c={index:r=rr(e,!0),key:e,value:n,previous:a=i.last,next:void 0,removed:!1},i.first||(i.first=c),a&&(a.next=c),l?i.size++:t.size++,"F"!==r&&(i.index[r]=c)),t},s=function(t,e){var n,a=o(t),r=rr(e);if("F"!==r)return a.index[r];for(n=a.first;n;n=n.next)if(n.key==e)return n};return nr(r.prototype,{clear:function(){for(var t=o(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=o(this),n=s(this,t);if(n){var a=n.next,r=n.previous;delete e.index[n.index],n.removed=!0,r&&(r.next=a),a&&(a.previous=r),e.first==n&&(e.first=a),e.last==n&&(e.last=r),l?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=o(this),a=On(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(a(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!s(this,t)}}),nr(r.prototype,n?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return i(this,0===t?0:t,e)}}:{add:function(t){return i(this,t=0===t?0:t,t)}}),l&&ar(r.prototype,"size",{get:function(){return o(this).size}}),r},setStrong:function(t,e,n){var a=e+" Iterator",r=ir(e),o=ir(a);Na(t,e,(function(t,e){or(this,{type:a,target:t,state:r(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),ze(e)}});var sr=Fa?{}.toString:function(){return"[object "+Ua(this)+"]"};Fa||rt(Object.prototype,"toString",sr,{unsafe:!0});var cr=wn.charAt,lr=at.set,ur=at.getterFor("String Iterator");Na(String,"String",(function(t){lr(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=ur(this),n=e.string,a=e.index;return a>=n.length?{value:void 0,done:!0}:(t=cr(n,a),e.index+=t.length,{value:t,done:!1})}));var dr={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},pr=ye("iterator"),Ar=ye("toStringTag"),fr=ja.values;for(var mr in dr){var hr=s[mr],Mr=hr&&hr.prototype;if(Mr){if(Mr[pr]!==fr)try{N(Mr,pr,fr)}catch(t){Mr[pr]=fr}if(Mr[Ar]||N(Mr,Ar,mr),dr[mr])for(var gr in ja)if(Mr[gr]!==ja[gr])try{N(Mr,gr,ja[gr])}catch(t){Mr[gr]=ja[gr]}}}var br=En.forEach,_r=Wn("forEach")?[].forEach:function(t){return br(this,t,arguments.length>1?arguments[1]:void 0)};for(var vr in dr){var yr=s[vr],Lr=yr&&yr.prototype;if(Lr&&Lr.forEach!==_r)try{N(Lr,"forEach",_r)}catch(t){Lr.forEach=_r}}var wr="1.3.0",Cr=function(){function t(){this.handlers=new Map}return t.prototype.getVersion=function(){return wr},t.prototype.subscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))},t.prototype.unsubscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((function(t){return t!=e})))},t.prototype.emit=function(t,e){(this.handlers.get(t)||[]).forEach((function(t){try{t(e)}catch(t){console.error("could not invoke event listener",t)}}))},t}();var Tr=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),void 0!==window._nc_event_bus?new ua(window._nc_event_bus):window._nc_event_bus=new Cr);function xr(t,e){Tr.subscribe(t,e)}function kr(t,e){Tr.unsubscribe(t,e)}function zr(t,e){Tr.emit(t,e)}}.call(this,n(15),n(71))},function(t,e,n){var a=n(80),r=n(425),o=n(426),i=n(427),s=n(428),c=n(429);function l(t){var e=this.__data__=new a(t);this.size=e.size}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=s,l.prototype.set=c,t.exports=l},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(15))},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,n){var a=n(436),r=n(443),o=n(445),i=n(446),s=n(447);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}c.prototype.clear=a,c.prototype.delete=r,c.prototype.get=o,c.prototype.has=i,c.prototype.set=s,t.exports=c},function(t,e,n){var a=n(448),r=n(451),o=n(452);t.exports=function(t,e,n,i,s,c){var l=1&n,u=t.length,d=e.length;if(u!=d&&!(l&&d>u))return!1;var p=c.get(t),A=c.get(e);if(p&&A)return p==e&&A==t;var f=-1,m=!0,h=2&n?new a:void 0;for(c.set(t,e),c.set(e,t);++f<u;){var M=t[f],g=e[f];if(i)var b=l?i(g,M,f,e,t,c):i(M,g,f,t,e,c);if(void 0!==b){if(b)continue;m=!1;break}if(h){if(!r(e,(function(t,e){if(!o(h,e)&&(M===t||s(M,t,n,i,c)))return h.push(e)}))){m=!1;break}}else if(M!==g&&!s(M,g,n,i,c)){m=!1;break}}return c.delete(t),c.delete(e),m}},function(t,e,n){var a=n(24).Uint8Array;t.exports=a},function(t,e,n){var a=n(464),r=n(176),o=n(84),i=n(117),s=n(177),c=n(118),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),u=!n&&r(t),d=!n&&!u&&i(t),p=!n&&!u&&!d&&c(t),A=n||u||d||p,f=A?a(t.length,String):[],m=f.length;for(var h in t)!e&&!l.call(t,h)||A&&("length"==h||d&&("offset"==h||"parent"==h)||p&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||s(h,m))||f.push(h);return f}},function(t,e,n){var a=n(465),r=n(43),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,c=a(function(){return arguments}())?a:function(t){return r(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var a=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==a||"symbol"!=a&&n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){var a=n(120),r=n(56);t.exports=function(t,e,n){(void 0!==n&&!r(t[e],n)||void 0===n&&!(e in t))&&a(t,e,n)}},function(t,e,n){var a=n(35),r=function(){try{var t=a(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=r},function(t,e,n){var a=n(179)(Object.getPrototypeOf,Object);t.exports=a},function(t,e){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},function(t,e,n){var a=n(175),r=n(492),o=n(86);t.exports=function(t){return o(t)?a(t,!0):r(t)}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var a=n(2),r=n(59),o=n(16),i=a("unscopables"),s=Array.prototype;null==s[i]&&o.f(s,i,{configurable:!0,value:r(null)}),t.exports=function(t){s[i][t]=!0}},function(t,e,n){var a=n(10),r=n(16),o=n(8),i=n(70);t.exports=a?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var a=n(34);t.exports=a("document","documentElement")},function(t,e,n){"use strict";var a=n(1),r=n(190),o=n(192),i=n(122),s=n(44),c=n(23),l=n(19),u=n(2),d=n(33),p=n(60),A=n(191),f=A.IteratorPrototype,m=A.BUGGY_SAFARI_ITERATORS,h=u("iterator"),M=function(){return this};t.exports=function(t,e,n,u,A,g,b){r(n,e,u);var _,v,y,L=function(t){if(t===A&&k)return k;if(!m&&t in T)return T[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},w=e+" Iterator",C=!1,T=t.prototype,x=T[h]||T["@@iterator"]||A&&T[A],k=!m&&x||L(A),z="Array"==e&&T.entries||x;if(z&&(_=o(z.call(new t)),f!==Object.prototype&&_.next&&(d||o(_)===f||(i?i(_,f):"function"!=typeof _[h]&&c(_,h,M)),s(_,w,!0,!0),d&&(p[w]=M))),"values"==A&&x&&"values"!==x.name&&(C=!0,k=function(){return x.call(this)}),d&&!b||T[h]===k||c(T,h,k),p[e]=k,A)if(v={values:L("values"),keys:g?k:L("keys"),entries:L("entries")},b)for(y in v)(m||C||!(y in T))&&l(T,y,v[y]);else a({target:e,proto:!0,forced:m||C},v);return v}},function(t,e,n){"use strict";var a=n(191).IteratorPrototype,r=n(59),o=n(39),i=n(44),s=n(60),c=function(){return this};t.exports=function(t,e,n){var l=e+" Iterator";return t.prototype=r(a,{next:o(1,n)}),i(t,l,!1,!0),s[l]=c,t}},function(t,e,n){"use strict";var a,r,o,i=n(4),s=n(192),c=n(23),l=n(12),u=n(2),d=n(33),p=u("iterator"),A=!1;[].keys&&("next"in(o=[].keys())?(r=s(s(o)))!==Object.prototype&&(a=r):A=!0);var f=null==a||i((function(){var t={};return a[p].call(t)!==t}));f&&(a={}),d&&!f||l(a,p)||c(a,p,(function(){return this})),t.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:A}},function(t,e,n){var a=n(12),r=n(18),o=n(65),i=n(503),s=o("IE_PROTO"),c=Object.prototype;t.exports=i?Object.getPrototypeOf:function(t){return t=r(t),a(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var a=n(28),r="["+n(195)+"]",o=RegExp("^"+r+r+"*"),i=RegExp(r+r+"*$"),s=function(t){return function(e){var n=String(a(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(i,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){var a=n(3),r=n(193),o=n(166),i=n(23);for(var s in r){var c=a[s],l=c&&c.prototype;if(l&&l.forEach!==o)try{i(l,"forEach",o)}catch(t){l.forEach=o}}},function(t,e,n){"use strict";var a=n(1),r=n(3),o=n(34),i=n(33),s=n(10),c=n(105),l=n(167),u=n(4),d=n(12),p=n(50),A=n(11),f=n(8),m=n(18),h=n(22),M=n(47),g=n(39),b=n(59),_=n(70),v=n(48),y=n(506),L=n(104),w=n(29),C=n(16),T=n(96),x=n(23),k=n(19),z=n(66),O=n(65),S=n(67),B=n(101),E=n(2),N=n(198),D=n(199),Y=n(44),j=n(30),I=n(72).forEach,P=O("hidden"),W=E("toPrimitive"),q=j.set,R=j.getterFor("Symbol"),F=Object.prototype,H=r.Symbol,X=o("JSON","stringify"),U=w.f,G=C.f,Q=y.f,$=T.f,V=z("symbols"),J=z("op-symbols"),K=z("string-to-symbol-registry"),Z=z("symbol-to-string-registry"),tt=z("wks"),et=r.QObject,nt=!et||!et.prototype||!et.prototype.findChild,at=s&&u((function(){return 7!=b(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a}))?function(t,e,n){var a=U(F,e);a&&delete F[e],G(t,e,n),a&&t!==F&&G(F,e,a)}:G,rt=function(t,e){var n=V[t]=b(H.prototype);return q(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},ot=l?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof H},it=function(t,e,n){t===F&&it(J,e,n),f(t);var a=M(e,!0);return f(n),d(V,a)?(n.enumerable?(d(t,P)&&t[P][a]&&(t[P][a]=!1),n=b(n,{enumerable:g(0,!1)})):(d(t,P)||G(t,P,g(1,{})),t[P][a]=!0),at(t,a,n)):G(t,a,n)},st=function(t,e){f(t);var n=h(e),a=_(n).concat(dt(n));return I(a,(function(e){s&&!ct.call(n,e)||it(t,e,n[e])})),t},ct=function(t){var e=M(t,!0),n=$.call(this,e);return!(this===F&&d(V,e)&&!d(J,e))&&(!(n||!d(this,e)||!d(V,e)||d(this,P)&&this[P][e])||n)},lt=function(t,e){var n=h(t),a=M(e,!0);if(n!==F||!d(V,a)||d(J,a)){var r=U(n,a);return!r||!d(V,a)||d(n,P)&&n[P][a]||(r.enumerable=!0),r}},ut=function(t){var e=Q(h(t)),n=[];return I(e,(function(t){d(V,t)||d(S,t)||n.push(t)})),n},dt=function(t){var e=t===F,n=Q(e?J:h(t)),a=[];return I(n,(function(t){!d(V,t)||e&&!d(F,t)||a.push(V[t])})),a};(c||(k((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=B(t),n=function(t){this===F&&n.call(J,t),d(this,P)&&d(this[P],e)&&(this[P][e]=!1),at(this,e,g(1,t))};return s&&nt&&at(F,e,{configurable:!0,set:n}),rt(e,t)}).prototype,"toString",(function(){return R(this).tag})),k(H,"withoutSetter",(function(t){return rt(B(t),t)})),T.f=ct,C.f=it,w.f=lt,v.f=y.f=ut,L.f=dt,N.f=function(t){return rt(E(t),t)},s&&(G(H.prototype,"description",{configurable:!0,get:function(){return R(this).description}}),i||k(F,"propertyIsEnumerable",ct,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),I(_(tt),(function(t){D(t)})),a({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=String(t);if(d(K,e))return K[e];var n=H(e);return K[e]=n,Z[n]=e,n},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(d(Z,t))return Z[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),a({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(t,e){return void 0===e?b(t):st(b(t),e)},defineProperty:it,defineProperties:st,getOwnPropertyDescriptor:lt}),a({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ut,getOwnPropertySymbols:dt}),a({target:"Object",stat:!0,forced:u((function(){L.f(1)}))},{getOwnPropertySymbols:function(t){return L.f(m(t))}}),X)&&a({target:"JSON",stat:!0,forced:!c||u((function(){var t=H();return"[null]"!=X([t])||"{}"!=X({a:t})||"{}"!=X(Object(t))}))},{stringify:function(t,e,n){for(var a,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(a=e,(A(e)||void 0!==t)&&!ot(t))return p(e)||(e=function(t,e){if("function"==typeof a&&(e=a.call(this,t,e)),!ot(e))return e}),r[1]=e,X.apply(null,r)}});H.prototype[W]||x(H.prototype,W,H.prototype.valueOf),Y(H,"Symbol"),S[P]=!0},function(t,e,n){var a=n(2);e.f=a},function(t,e,n){var a=n(154),r=n(12),o=n(198),i=n(16).f;t.exports=function(t){var e=a.Symbol||(a.Symbol={});r(e,t)||i(e,t,{value:o.f(t)})}},function(t,e,n){"use strict";n(54),n(42),n(76),n(55),Object.defineProperty(e,"__esModule",{value:!0}),e.getGettextBuilder=function(){return new l};var a,r=(a=n(507))&&a.__esModule?a:{default:a},o=n(510);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var l=function(){function t(){i(this,t),this.translations={},this.debug=!1}return c(t,[{key:"setLanguage",value:function(t){return this.locale=t,this}},{key:"detectLocale",value:function(){return this.setLanguage((0,o.getLanguage)().replace("-","_"))}},{key:"addTranslation",value:function(t,e){return this.translations[t]=e,this}},{key:"enableDebugMode",value:function(){return this.debug=!0,this}},{key:"build",value:function(){return new u(this.locale||"en",this.translations,this.debug)}}]),t}(),u=function(){function t(e,n,a){for(var o in i(this,t),this.gt=new r.default({debug:a,sourceLocale:"en"}),n)this.gt.addTranslations(o,"messages",n[o]);this.gt.setLocale(e)}return c(t,[{key:"subtitudePlaceholders",value:function(t,e){return t.replace(/{([^{}]*)}/g,(function(t,n){var a=e[n];return"string"==typeof a||"number"==typeof a?a.toString():t}))}},{key:"gettext",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.subtitudePlaceholders(this.gt.gettext(t),e)}},{key:"ngettext",value:function(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.subtitudePlaceholders(this.gt.ngettext(t,e,n).replace(/%n/g,n.toString()),a)}}]),t}()},function(t,e,n){"use strict";var a=n(1),r=n(10),o=n(3),i=n(12),s=n(11),c=n(16).f,l=n(152),u=o.Symbol;if(r&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new u(t):void 0===t?u():u(t);return""===t&&(d[e]=!0),e};l(p,u);var A=p.prototype=u.prototype;A.constructor=p;var f=A.toString,m="Symbol(test)"==String(u("test")),h=/^Symbol\((.*)\)[^)]+$/;c(A,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=f.call(t);if(i(d,t))return"";var n=m?e.slice(7,-1):e.replace(h,"$1");return""===n?void 0:n}}),a({global:!0,forced:!0},{Symbol:p})}},function(t,e,n){"use strict";var a=n(1),r=n(11),o=n(50),i=n(68),s=n(13),c=n(22),l=n(52),u=n(2),d=n(53)("slice"),p=u("species"),A=[].slice,f=Math.max;a({target:"Array",proto:!0,forced:!d},{slice:function(t,e){var n,a,u,d=c(this),m=s(d.length),h=i(t,m),M=i(void 0===e?m:e,m);if(o(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return A.call(d,h,M);for(a=new(void 0===n?Array:n)(f(M-h,0)),u=0;h<M;h++,u++)h in d&&l(a,u,d[h]);return a.length=u,a}})},function(t,e,n){n(199)("iterator")},function(t,e,n){"use strict";var a=n(1),r=n(72).filter;a({target:"Array",proto:!0,forced:!n(53)("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var a=n(1),r=n(206);a({target:"Array",stat:!0,forced:!n(209)((function(t){Array.from(t)}))},{from:r})},function(t,e,n){"use strict";var a=n(41),r=n(18),o=n(511),i=n(208),s=n(13),c=n(52),l=n(88);t.exports=function(t){var e,n,u,d,p,A,f=r(t),m="function"==typeof this?this:Array,h=arguments.length,M=h>1?arguments[1]:void 0,g=void 0!==M,b=l(f),_=0;if(g&&(M=a(M,h>2?arguments[2]:void 0,2)),null==b||m==Array&&i(b))for(n=new m(e=s(f.length));e>_;_++)A=g?M(f[_],_):f[_],c(n,_,A);else for(p=(d=b.call(f)).next,n=new m;!(u=p.call(d)).done;_++)A=g?o(d,M,[u.value,_],!0):u.value,c(n,_,A);return n.length=_,n}},function(t,e,n){var a=n(8);t.exports=function(t){var e=t.return;if(void 0!==e)return a(e.call(t)).value}},function(t,e,n){var a=n(2),r=n(60),o=a("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var a=n(2)("iterator"),r=!1;try{var o=0,i={next:function(){return{done:!!o++}},return:function(){r=!0}};i[a]=function(){return this},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o={};o[a]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},function(t,e,n){var a=n(1),r=n(18),o=n(70);a({target:"Object",stat:!0,forced:n(4)((function(){o(1)}))},{keys:function(t){return o(r(t))}})},function(t,e,n){var a=n(1),r=n(4),o=n(22),i=n(29).f,s=n(10),c=r((function(){i(1)}));a({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(t,e){return i(o(t),e)}})},function(t,e,n){var a=n(1),r=n(10),o=n(153),i=n(22),s=n(29),c=n(52);a({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){for(var e,n,a=i(t),r=s.f,l=o(a),u={},d=0;l.length>d;)void 0!==(n=r(a,e=l[d++]))&&c(u,e,n);return u}})},function(t,e,n){"use strict";n(87);var a,r=n(1),o=n(10),i=n(214),s=n(3),c=n(187),l=n(19),u=n(125),d=n(12),p=n(156),A=n(206),f=n(78).codeAt,m=n(513),h=n(44),M=n(514),g=n(30),b=s.URL,_=M.URLSearchParams,v=M.getState,y=g.set,L=g.getterFor("URL"),w=Math.floor,C=Math.pow,T=/[A-Za-z]/,x=/[\d+-.A-Za-z]/,k=/\d/,z=/^(0x|0X)/,O=/^[0-7]+$/,S=/^\d+$/,B=/^[\dA-Fa-f]+$/,E=/[\0\t\n\r #%/:?@[\\]]/,N=/[\0\t\n\r #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Y=/[\t\n\r]/g,j=function(t,e){var n,a,r;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(n=P(e.slice(1,-1))))return"Invalid host";t.host=n}else if(G(t)){if(e=m(e),E.test(e))return"Invalid host";if(null===(n=I(e)))return"Invalid host";t.host=n}else{if(N.test(e))return"Invalid host";for(n="",a=A(e),r=0;r<a.length;r++)n+=X(a[r],q);t.host=n}},I=function(t){var e,n,a,r,o,i,s,c=t.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(e=c.length)>4)return t;for(n=[],a=0;a<e;a++){if(""==(r=c[a]))return t;if(o=10,r.length>1&&"0"==r.charAt(0)&&(o=z.test(r)?16:8,r=r.slice(8==o?1:2)),""===r)i=0;else{if(!(10==o?S:8==o?O:B).test(r))return t;i=parseInt(r,o)}n.push(i)}for(a=0;a<e;a++)if(i=n[a],a==e-1){if(i>=C(256,5-e))return null}else if(i>255)return null;for(s=n.pop(),a=0;a<n.length;a++)s+=n[a]*C(256,3-a);return s},P=function(t){var e,n,a,r,o,i,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,d=0,p=function(){return t.charAt(d)};if(":"==p()){if(":"!=t.charAt(1))return;d+=2,u=++l}for(;p();){if(8==l)return;if(":"!=p()){for(e=n=0;n<4&&B.test(p());)e=16*e+parseInt(p(),16),d++,n++;if("."==p()){if(0==n)return;if(d-=n,l>6)return;for(a=0;p();){if(r=null,a>0){if(!("."==p()&&a<4))return;d++}if(!k.test(p()))return;for(;k.test(p());){if(o=parseInt(p(),10),null===r)r=o;else{if(0==r)return;r=10*r+o}if(r>255)return;d++}c[l]=256*c[l]+r,2!=++a&&4!=a||l++}if(4!=a)return;break}if(":"==p()){if(d++,!p())return}else if(p())return;c[l++]=e}else{if(null!==u)return;d++,u=++l}}if(null!==u)for(i=l-u,l=7;0!=l&&i>0;)s=c[l],c[l--]=c[u+i-1],c[u+--i]=s;else if(8!=l)return;return c},W=function(t){var e,n,a,r;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=w(t/256);return e.join(".")}if("object"==typeof t){for(e="",a=function(t){for(var e=null,n=1,a=null,r=0,o=0;o<8;o++)0!==t[o]?(r>n&&(e=a,n=r),a=null,r=0):(null===a&&(a=o),++r);return r>n&&(e=a,n=r),e}(t),n=0;n<8;n++)r&&0===t[n]||(r&&(r=!1),a===n?(e+=n?":":"::",r=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},q={},R=p({},q,{" ":1,'"':1,"<":1,">":1,"`":1}),F=p({},R,{"#":1,"?":1,"{":1,"}":1}),H=p({},F,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),X=function(t,e){var n=f(t,0);return n>32&&n<127&&!d(e,t)?t:encodeURIComponent(t)},U={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(t){return d(U,t.scheme)},Q=function(t){return""!=t.username||""!=t.password},$=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},V=function(t,e){var n;return 2==t.length&&T.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},J=function(t){var e;return t.length>1&&V(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},K=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&V(e[0],!0)||e.pop()},Z=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},nt={},at={},rt={},ot={},it={},st={},ct={},lt={},ut={},dt={},pt={},At={},ft={},mt={},ht={},Mt={},gt={},bt={},_t={},vt=function(t,e,n,r){var o,i,s,c,l,u=n||tt,p=0,f="",m=!1,h=!1,M=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(D,"")),e=e.replace(Y,""),o=A(e);p<=o.length;){switch(i=o[p],u){case tt:if(!i||!T.test(i)){if(n)return"Invalid scheme";u=nt;continue}f+=i.toLowerCase(),u=et;break;case et:if(i&&(x.test(i)||"+"==i||"-"==i||"."==i))f+=i.toLowerCase();else{if(":"!=i){if(n)return"Invalid scheme";f="",u=nt,p=0;continue}if(n&&(G(t)!=d(U,f)||"file"==f&&(Q(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=f,n)return void(G(t)&&U[t.scheme]==t.port&&(t.port=null));f="","file"==t.scheme?u=At:G(t)&&r&&r.scheme==t.scheme?u=at:G(t)?u=st:"/"==o[p+1]?(u=rt,p++):(t.cannotBeABaseURL=!0,t.path.push(""),u=gt)}break;case nt:if(!r||r.cannotBeABaseURL&&"#"!=i)return"Invalid scheme";if(r.cannotBeABaseURL&&"#"==i){t.scheme=r.scheme,t.path=r.path.slice(),t.query=r.query,t.fragment="",t.cannotBeABaseURL=!0,u=_t;break}u="file"==r.scheme?At:ot;continue;case at:if("/"!=i||"/"!=o[p+1]){u=ot;continue}u=ct,p++;break;case rt:if("/"==i){u=lt;break}u=Mt;continue;case ot:if(t.scheme=r.scheme,i==a)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query;else if("/"==i||"\\"==i&&G(t))u=it;else if("?"==i)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query="",u=bt;else{if("#"!=i){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.path.pop(),u=Mt;continue}t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query,t.fragment="",u=_t}break;case it:if(!G(t)||"/"!=i&&"\\"!=i){if("/"!=i){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,u=Mt;continue}u=lt}else u=ct;break;case st:if(u=ct,"/"!=i||"/"!=f.charAt(p+1))continue;p++;break;case ct:if("/"!=i&&"\\"!=i){u=lt;continue}break;case lt:if("@"==i){m&&(f="%40"+f),m=!0,s=A(f);for(var g=0;g<s.length;g++){var b=s[g];if(":"!=b||M){var _=X(b,H);M?t.password+=_:t.username+=_}else M=!0}f=""}else if(i==a||"/"==i||"?"==i||"#"==i||"\\"==i&&G(t)){if(m&&""==f)return"Invalid authority";p-=A(f).length+1,f="",u=ut}else f+=i;break;case ut:case dt:if(n&&"file"==t.scheme){u=mt;continue}if(":"!=i||h){if(i==a||"/"==i||"?"==i||"#"==i||"\\"==i&&G(t)){if(G(t)&&""==f)return"Invalid host";if(n&&""==f&&(Q(t)||null!==t.port))return;if(c=j(t,f))return c;if(f="",u=ht,n)return;continue}"["==i?h=!0:"]"==i&&(h=!1),f+=i}else{if(""==f)return"Invalid host";if(c=j(t,f))return c;if(f="",u=pt,n==dt)return}break;case pt:if(!k.test(i)){if(i==a||"/"==i||"?"==i||"#"==i||"\\"==i&&G(t)||n){if(""!=f){var v=parseInt(f,10);if(v>65535)return"Invalid port";t.port=G(t)&&v===U[t.scheme]?null:v,f=""}if(n)return;u=ht;continue}return"Invalid port"}f+=i;break;case At:if(t.scheme="file","/"==i||"\\"==i)u=ft;else{if(!r||"file"!=r.scheme){u=Mt;continue}if(i==a)t.host=r.host,t.path=r.path.slice(),t.query=r.query;else if("?"==i)t.host=r.host,t.path=r.path.slice(),t.query="",u=bt;else{if("#"!=i){J(o.slice(p).join(""))||(t.host=r.host,t.path=r.path.slice(),K(t)),u=Mt;continue}t.host=r.host,t.path=r.path.slice(),t.query=r.query,t.fragment="",u=_t}}break;case ft:if("/"==i||"\\"==i){u=mt;break}r&&"file"==r.scheme&&!J(o.slice(p).join(""))&&(V(r.path[0],!0)?t.path.push(r.path[0]):t.host=r.host),u=Mt;continue;case mt:if(i==a||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&V(f))u=Mt;else if(""==f){if(t.host="",n)return;u=ht}else{if(c=j(t,f))return c;if("localhost"==t.host&&(t.host=""),n)return;f="",u=ht}continue}f+=i;break;case ht:if(G(t)){if(u=Mt,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=a&&(u=Mt,"/"!=i))continue}else t.fragment="",u=_t;else t.query="",u=bt;break;case Mt:if(i==a||"/"==i||"\\"==i&&G(t)||!n&&("?"==i||"#"==i)){if(".."===(l=(l=f).toLowerCase())||"%2e."===l||".%2e"===l||"%2e%2e"===l?(K(t),"/"==i||"\\"==i&&G(t)||t.path.push("")):Z(f)?"/"==i||"\\"==i&&G(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&V(f)&&(t.host&&(t.host=""),f=f.charAt(0)+":"),t.path.push(f)),f="","file"==t.scheme&&(i==a||"?"==i||"#"==i))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==i?(t.query="",u=bt):"#"==i&&(t.fragment="",u=_t)}else f+=X(i,F);break;case gt:"?"==i?(t.query="",u=bt):"#"==i?(t.fragment="",u=_t):i!=a&&(t.path[0]+=X(i,q));break;case bt:n||"#"!=i?i!=a&&("'"==i&&G(t)?t.query+="%27":t.query+="#"==i?"%23":X(i,q)):(t.fragment="",u=_t);break;case _t:i!=a&&(t.fragment+=X(i,R))}p++}},yt=function(t){var e,n,a=u(this,yt,"URL"),r=arguments.length>1?arguments[1]:void 0,i=String(t),s=y(a,{type:"URL"});if(void 0!==r)if(r instanceof yt)e=L(r);else if(n=vt(e={},String(r)))throw TypeError(n);if(n=vt(s,i,null,e))throw TypeError(n);var c=s.searchParams=new _,l=v(c);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(c)||null},o||(a.href=wt.call(a),a.origin=Ct.call(a),a.protocol=Tt.call(a),a.username=xt.call(a),a.password=kt.call(a),a.host=zt.call(a),a.hostname=Ot.call(a),a.port=St.call(a),a.pathname=Bt.call(a),a.search=Et.call(a),a.searchParams=Nt.call(a),a.hash=Dt.call(a))},Lt=yt.prototype,wt=function(){var t=L(this),e=t.scheme,n=t.username,a=t.password,r=t.host,o=t.port,i=t.path,s=t.query,c=t.fragment,l=e+":";return null!==r?(l+="//",Q(t)&&(l+=n+(a?":"+a:"")+"@"),l+=W(r),null!==o&&(l+=":"+o)):"file"==e&&(l+="//"),l+=t.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},Ct=function(){var t=L(this),e=t.scheme,n=t.port;if("blob"==e)try{return new yt(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&G(t)?e+"://"+W(t.host)+(null!==n?":"+n:""):"null"},Tt=function(){return L(this).scheme+":"},xt=function(){return L(this).username},kt=function(){return L(this).password},zt=function(){var t=L(this),e=t.host,n=t.port;return null===e?"":null===n?W(e):W(e)+":"+n},Ot=function(){var t=L(this).host;return null===t?"":W(t)},St=function(){var t=L(this).port;return null===t?"":String(t)},Bt=function(){var t=L(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Et=function(){var t=L(this).query;return t?"?"+t:""},Nt=function(){return L(this).searchParams},Dt=function(){var t=L(this).fragment;return t?"#"+t:""},Yt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(o&&c(Lt,{href:Yt(wt,(function(t){var e=L(this),n=String(t),a=vt(e,n);if(a)throw TypeError(a);v(e.searchParams).updateSearchParams(e.query)})),origin:Yt(Ct),protocol:Yt(Tt,(function(t){var e=L(this);vt(e,String(t)+":",tt)})),username:Yt(xt,(function(t){var e=L(this),n=A(String(t));if(!$(e)){e.username="";for(var a=0;a<n.length;a++)e.username+=X(n[a],H)}})),password:Yt(kt,(function(t){var e=L(this),n=A(String(t));if(!$(e)){e.password="";for(var a=0;a<n.length;a++)e.password+=X(n[a],H)}})),host:Yt(zt,(function(t){var e=L(this);e.cannotBeABaseURL||vt(e,String(t),ut)})),hostname:Yt(Ot,(function(t){var e=L(this);e.cannotBeABaseURL||vt(e,String(t),dt)})),port:Yt(St,(function(t){var e=L(this);$(e)||(""==(t=String(t))?e.port=null:vt(e,t,pt))})),pathname:Yt(Bt,(function(t){var e=L(this);e.cannotBeABaseURL||(e.path=[],vt(e,t+"",ht))})),search:Yt(Et,(function(t){var e=L(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",vt(e,t,bt)),v(e.searchParams).updateSearchParams(e.query)})),searchParams:Yt(Nt),hash:Yt(Dt,(function(t){var e=L(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",vt(e,t,_t)):e.fragment=null}))}),l(Lt,"toJSON",(function(){return wt.call(this)}),{enumerable:!0}),l(Lt,"toString",(function(){return wt.call(this)}),{enumerable:!0}),b){var jt=b.createObjectURL,It=b.revokeObjectURL;jt&&l(yt,"createObjectURL",(function(t){return jt.apply(b,arguments)})),It&&l(yt,"revokeObjectURL",(function(t){return It.apply(b,arguments)}))}h(yt,"URL"),r({global:!0,forced:!i,sham:!o},{URL:yt})},function(t,e,n){var a=n(4),r=n(2),o=n(33),i=r("iterator");t.exports=!a((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,a){e.delete("b"),n+=a+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(t,e,n){var a=n(19);t.exports=function(t,e,n){for(var r in e)a(t,r,e[r],n);return t}},function(t,e,n){var a=n(11),r=n(122);t.exports=function(t,e,n){var o,i;return r&&"function"==typeof(o=e.constructor)&&o!==n&&a(i=o.prototype)&&i!==n.prototype&&r(t,i),t}},function(t,e,n){"use strict";e.__esModule=!0,e.stateify=e.TokenState=e.CharacterState=void 0;var a=n(89);var r=function(t){this.j=[],this.T=t||null};r.prototype={defaultTransition:!1,on:function(t,e){if(t instanceof Array){for(var n=0;n<t.length;n++)this.j.push([t[n],e]);return this}return this.j.push([t,e]),this},next:function(t){for(var e=0;e<this.j.length;e++){var n=this.j[e],a=n[0],r=n[1];if(this.test(t,a))return r}return this.defaultTransition},accepts:function(){return!!this.T},test:function(t,e){return t===e},emit:function(){return this.T}};var o=(0,a.inherits)(r,(function(t){this.j=[],this.T=t||null}),{test:function(t,e){return t===e||e instanceof RegExp&&e.test(t)}}),i=(0,a.inherits)(r,(function(t){this.j=[],this.T=t||null}),{jump:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new t(""));return n===this.defaultTransition?(n=new this.constructor(e),this.on(t,n)):e&&(n.T=e),n},test:function(t,e){return t instanceof e}});e.CharacterState=o,e.TokenState=i,e.stateify=function(t,e,n,a){for(var r=0,i=t.length,s=e,c=[],l=void 0;r<i&&(l=s.next(t[r]));)s=l,r++;if(r>=i)return[];for(;r<i-1;)l=new o(a),c.push(l),s.on(t[r],l),s=l,r++;return l=new o(n),c.push(l),s.on(t[i-1],l),c}},function(t,e,n){"use strict";e.__esModule=!0,e.createTokenClass=function(){return function(t){t&&(this.v=t)}}},function(t,e,n){"use strict";var a=n(34),r=n(16),o=n(2),i=n(10),s=o("species");t.exports=function(t){var e=a(t),n=r.f;i&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var a=n(8),r=n(49),o=n(2)("species");t.exports=function(t,e){var n,i=a(t).constructor;return void 0===i||null==(n=a(i)[o])?e:r(n)}},function(t,e,n){var a,r,o,i=n(3),s=n(4),c=n(41),l=n(188),u=n(97),d=n(222),p=n(90),A=i.location,f=i.setImmediate,m=i.clearImmediate,h=i.process,M=i.MessageChannel,g=i.Dispatch,b=0,_={},v=function(t){if(_.hasOwnProperty(t)){var e=_[t];delete _[t],e()}},y=function(t){return function(){v(t)}},L=function(t){v(t.data)},w=function(t){i.postMessage(t+"",A.protocol+"//"+A.host)};f&&m||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return _[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},a(b),b},m=function(t){delete _[t]},p?a=function(t){h.nextTick(y(t))}:g&&g.now?a=function(t){g.now(y(t))}:M&&!d?(o=(r=new M).port2,r.port1.onmessage=L,a=c(o.postMessage,o,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&A&&"file:"!==A.protocol&&!s(w)?(a=w,i.addEventListener("message",L,!1)):a="onreadystatechange"in u("script")?function(t){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),v(t)}}:function(t){setTimeout(y(t),0)}),t.exports={set:f,clear:m}},function(t,e,n){var a=n(106);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(a)},function(t,e,n){"use strict";var a=n(49),r=function(t){var e,n;this.promise=new t((function(t,a){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=a})),this.resolve=a(e),this.reject=a(n)};t.exports.f=function(t){return new r(t)}},function(t,e){var n={utf8:{stringToBytes:function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=n},function(t,e,n){"use strict";var a=n(61),r=n(239).filter,o=n(25),i=n(137)("filter"),s=i&&!o((function(){[].filter.call({length:-1,0:1},(function(t){throw t}))}));a({target:"Array",proto:!0,forced:!i||!s},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var a=n(25),r=n(131),o="".split;t.exports=a((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},function(t,e,n){var a=n(91),r=n(25),o=n(549);t.exports=!a&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var a=n(37);t.exports=function(t){if(!a(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var a=n(230),r=Function.toString;"function"!=typeof a.inspectSource&&(a.inspectSource=function(t){return r.call(t)}),t.exports=a.inspectSource},function(t,e,n){var a=n(21),r=n(135),o=a["__core-js_shared__"]||r("__core-js_shared__",{});t.exports=o},function(t,e,n){var a=n(232),r=n(230);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.1",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e){var n=0,a=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+a).toString(36)}},function(t,e){t.exports={}},function(t,e,n){var a=n(556),r=n(21),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(a[t])||o(r[t]):a[t]&&a[t][e]||r[t]&&r[t][e]}},function(t,e,n){var a=n(45),r=n(130),o=n(558).indexOf,i=n(234);t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)!a(i,n)&&a(s,n)&&l.push(n);for(;e.length>c;)a(s,n=e[c++])&&(~o(l,n)||l.push(n));return l}},function(t,e){var n=Math.ceil,a=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?a:n)(t)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var a=n(562),r=n(226),o=n(136),i=n(93),s=n(240),c=[].push,l=function(t){var e=1==t,n=2==t,l=3==t,u=4==t,d=6==t,p=5==t||d;return function(A,f,m,h){for(var M,g,b=o(A),_=r(b),v=a(f,m,3),y=i(_.length),L=0,w=h||s,C=e?w(A,y):n?w(A,0):void 0;y>L;L++)if((p||L in _)&&(g=v(M=_[L],L,b),t))if(e)C[L]=g;else if(g)switch(t){case 3:return!0;case 5:return M;case 6:return L;case 2:c.call(C,M)}else if(u)return!1;return d?-1:l||u?u:C}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},function(t,e,n){var a=n(37),r=n(241),o=n(62)("species");t.exports=function(t,e){var n;return r(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!r(n.prototype)?a(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var a=n(131);t.exports=Array.isArray||function(t){return"Array"==a(t)}},function(t,e,n){var a=n(25);t.exports=!!Object.getOwnPropertySymbols&&!a((function(){return!String(Symbol())}))},function(t,e,n){var a,r,o=n(21),i=n(565),s=o.process,c=s&&s.versions,l=c&&c.v8;l?r=(a=l.split("."))[0]+a[1]:i&&(!(a=i.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=i.match(/Chrome\/(\d+)/))&&(r=a[1]),t.exports=r&&+r},function(t,e,n){"use strict";var a=n(61),r=n(239).map,o=n(25),i=n(137)("map"),s=i&&!o((function(){[].map.call({length:-1,0:1},(function(t){throw t}))}));a({target:"Array",proto:!0,forced:!i||!s},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var a=n(61),r=n(136),o=n(566);a({target:"Object",stat:!0,forced:n(25)((function(){o(1)}))},{keys:function(t){return o(r(t))}})},function(t,e,n){"use strict";var a,r=n(61),o=n(128).f,i=n(93),s=n(567),c=n(132),l=n(569),u=n(232),d="".startsWith,p=Math.min,A=l("startsWith");r({target:"String",proto:!0,forced:!!(u||A||(a=o(String.prototype,"startsWith"),!a||a.writable))&&!A},{startsWith:function(t){var e=String(c(this));s(t);var n=i(p(arguments.length>1?arguments[1]:void 0,e.length)),a=String(t);return d?d.call(e,a,n):e.slice(n,n+a.length)===a}})},function(t,e,n){"use strict";function a(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n(571),n(225),n(244),n(245),n(246),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(){function t(e,n,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r(this,"scope",void 0),r(this,"wrapped",void 0),this.scope="".concat(a?t.GLOBAL_SCOPE_PERSISTENT:t.GLOBAL_SCOPE_VOLATILE,"_").concat(btoa(e),"_"),this.wrapped=n}var e,n,o;return e=t,(n=[{key:"scopeKey",value:function(t){return"".concat(this.scope).concat(t)}},{key:"setItem",value:function(t,e){this.wrapped.setItem(this.scopeKey(t),e)}},{key:"getItem",value:function(t){return this.wrapped.getItem(this.scopeKey(t))}},{key:"removeItem",value:function(t){this.wrapped.removeItem(this.scopeKey(t))}},{key:"clear",value:function(){var t=this;Object.keys(this.wrapped).filter((function(e){return e.startsWith(t.scope)})).map(this.wrapped.removeItem.bind(this.wrapped))}}])&&a(e.prototype,n),o&&a(e,o),t}();e.default=o,r(o,"GLOBAL_SCOPE_VOLATILE","nextcloud_vol"),r(o,"GLOBAL_SCOPE_PERSISTENT","nextcloud_per")},function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(0))},function(t,e,n){!function(t){"use strict"; //! moment.js locale configuration @@ -784,7 +784,7 @@ const u=0===Object(c.loadState)("workflowengine","scope")?"global":"user",d=t=>O * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -r.default.use(o.a);var f=new o.a.Store({state:{rules:[],scope:Object(c.loadState)("workflowengine","scope"),appstoreEnabled:Object(c.loadState)("workflowengine","appstoreenabled"),operations:Object(c.loadState)("workflowengine","operators"),plugins:r.default.observable({checks:{},operators:{}}),entities:Object(c.loadState)("workflowengine","entities"),events:Object(c.loadState)("workflowengine","entities").map(t=>t.events.map(e=>({id:"".concat(t.id,"::").concat(e.eventName),entity:t,...e}))).flat(),checks:Object(c.loadState)("workflowengine","checks")},mutations:{addRule(t,e){t.rules.push({...e,valid:!0})},updateRule(t,e){const n=t.rules.findIndex(t=>e.id===t.id),a=Object.assign({},e);r.default.set(t.rules,n,a)},removeRule(t,e){const n=t.rules.findIndex(t=>e.id===t.id);t.rules.splice(n,1)},addPluginCheck(t,e){r.default.set(t.plugins.checks,e.class,e)},addPluginOperator(t,e){e=Object.assign({color:"var(--color-primary-element)"},e,t.operations[e.id]||{}),void 0!==t.operations[e.id]&&r.default.set(t.operations,e.id,e)}},actions:{async fetchRules(t){const{data:e}=await s.a.get(d(""));Object.values(e.ocs.data).flat().forEach(e=>{t.commit("addRule",e)})},createNewRule(t,e){let n=null,a=[];!1===e.isComplex&&""===e.fixedEntity&&(n=t.state.entities.find(t=>e.entities&&e.entities[0]===t.id),n=n||Object.values(t.state.entities)[0],a=[n.events[0].eventName]),t.commit("addRule",{id:-(new Date).getTime(),class:e.id,entity:n?n.id:e.fixedEntity,events:a,name:"",checks:[{class:null,operator:null,value:""}],operation:e.operation||""})},updateRule(t,e){t.commit("updateRule",{...e,events:"string"==typeof e.events?JSON.parse(e.events):e.events})},removeRule(t,e){t.commit("removeRule",e)},async pushUpdateRule(t,e){let n;0===t.state.scope&&await A()(),n=e.id<0?await s.a.post(d(""),e):await s.a.put(d("/".concat(e.id)),e),r.default.set(e,"id",n.data.ocs.data.id),t.commit("updateRule",e)},async deleteRule(t,e){await A()(),await s.a.delete(d("/".concat(e.id))),t.commit("removeRule",e)},setValid(t,{rule:e,valid:n}){e.valid=n,t.commit("updateRule",e)}},getters:{getRules:t=>t.rules.filter(e=>void 0!==t.operations[e.class]).sort((t,e)=>t.id-e.id||e.class-t.class),getOperationForRule:t=>e=>t.operations[e.class],getEntityForOperation:t=>e=>t.entities.find(t=>e.fixedEntity===t.id),getEventsForOperation:t=>e=>t.events,getChecksForEntity:t=>e=>Object.values(t.checks).filter(t=>t.supportedEntities.indexOf(e)>-1||0===t.supportedEntities.length).map(e=>t.plugins.checks[e.id]).reduce((t,e)=>(t[e.class]=e,t),{})}}),m=a(383),h=a.n(m),M=a(94),g=a.n(M),b=a(95),_=a.n(b),v=a(9),y=a.n(v),L=a(389),w={name:"Event",components:{Multiselect:y.a},props:{rule:{type:Object,required:!0}},computed:{entity(){return this.$store.getters.getEntityForOperation(this.operation)},operation(){return this.$store.getters.getOperationForRule(this.rule)},allEvents(){return this.$store.getters.getEventsForOperation(this.operation)},currentEvent(){return this.allEvents.filter(t=>t.entity.id===this.rule.entity&&-1!==this.rule.events.indexOf(t.eventName))}},methods:{updateEvent(e){if(0===e.length)return void Object(L.a)(t("workflowengine","At least one event must be selected"));const n=this.rule.entity,a=e.map(t=>t.entity.id).filter((t,e,n)=>n.indexOf(t)===e);let r=null;r=a.length>1?a.filter(t=>t!==n)[0]:a[0],this.$set(this.rule,"entity",r),this.$set(this.rule,"events",e.filter(t=>t.entity.id===r).map(t=>t.eventName)),this.$emit("update",this.rule)}}},C=a(5),T=a.n(C),x=a(140),k={insert:"head",singleton:!1};T()(x.a,k),x.a.locals;function z(t,e,n,a,r,o,i,s){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),a&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),i?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:l}}var O=z(w,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"event"},[t.operation.isComplex&&""!==t.operation.fixedEntity?n("div",{staticClass:"isComplex"},[n("img",{staticClass:"option__icon",attrs:{src:t.entity.icon}}),t._v(" "),n("span",{staticClass:"option__title option__title_single"},[t._v(t._s(t.operation.triggerHint))])]):n("Multiselect",{attrs:{value:t.currentEvent,options:t.allEvents,"track-by":"id",multiple:!0,"auto-limit":!1,disabled:t.allEvents.length<=1},on:{input:t.updateEvent},scopedSlots:t._u([{key:"selection",fn:function(e){var a=e.values,r=(e.search,e.isOpen);return[a.length&&!r?n("div",{staticClass:"eventlist"},[n("img",{staticClass:"option__icon",attrs:{src:a[0].entity.icon}}),t._v(" "),t._l(a,(function(e,r){return n("span",{key:e.id,staticClass:"text option__title option__title_single"},[t._v(t._s(e.displayName)+" "),r+1<a.length?n("span",[t._v(", ")]):t._e()])}))],2):t._e()]}},{key:"option",fn:function(e){return[n("img",{staticClass:"option__icon",attrs:{src:e.option.entity.icon}}),t._v(" "),n("span",{staticClass:"option__title"},[t._v(t._s(e.option.displayName))])]}}])})],1)}),[],!1,null,"0e4a6929",null).exports,S=a(390),B=a.n(S),E={name:"Check",components:{ActionButton:_.a,Actions:g.a,Multiselect:y.a},directives:{ClickOutside:B.a},props:{check:{type:Object,required:!0},rule:{type:Object,required:!0}},data:()=>({deleteVisible:!1,currentOption:null,currentOperator:null,options:[],valid:!1}),computed:{checks(){return this.$store.getters.getChecksForEntity(this.rule.entity)},operators(){if(!this.currentOption)return[];const t=this.checks[this.currentOption.class].operators;return"function"==typeof t?t(this.check):t},currentComponent(){return this.currentOption?this.checks[this.currentOption.class].component:[]},valuePlaceholder(){return this.currentOption&&this.currentOption.placeholder?this.currentOption.placeholder(this.check):""}},watch:{"check.operator"(){this.validate()}},mounted(){this.options=Object.values(this.checks),this.currentOption=this.checks[this.check.class],this.currentOperator=this.operators.find(t=>t.operator===this.check.operator),null===this.check.class&&this.$nextTick(()=>this.$refs.checkSelector.$el.focus()),this.validate()},methods:{showDelete(){this.deleteVisible=!0},hideDelete(){this.deleteVisible=!1},validate(){this.valid=!0,this.currentOption&&this.currentOption.validate&&(this.valid=!!this.currentOption.validate(this.check)),this.check.invalid=!this.valid,this.$emit("validate",this.valid)},updateCheck(){const t=this.operators.findIndex(t=>this.check.operator===t.operator);this.check.class===this.currentOption.class&&-1!==t||(this.currentOperator=this.operators[0]),this.check.class=this.currentOption.class,this.check.operator=this.currentOperator.operator,this.validate(),this.$emit("update",this.check)}}},N=a(141),D={insert:"head",singleton:!1},Y=(T()(N.a,D),N.a.locals,z(E,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hideDelete,expression:"hideDelete"}],staticClass:"check",on:{click:t.showDelete}},[n("Multiselect",{ref:"checkSelector",attrs:{options:t.options,label:"name","track-by":"class","allow-empty":!1,placeholder:t.t("workflowengine","Select a filter")},on:{input:t.updateCheck},model:{value:t.currentOption,callback:function(e){t.currentOption=e},expression:"currentOption"}}),t._v(" "),n("Multiselect",{staticClass:"comparator",attrs:{disabled:!t.currentOption,options:t.operators,label:"name","track-by":"operator","allow-empty":!1,placeholder:t.t("workflowengine","Select a comparator")},on:{input:t.updateCheck},model:{value:t.currentOperator,callback:function(e){t.currentOperator=e},expression:"currentOperator"}}),t._v(" "),t.currentOperator&&t.currentComponent?n(t.currentOption.component,{tag:"component",staticClass:"option",attrs:{disabled:!t.currentOption,check:t.check},on:{input:t.updateCheck,valid:function(e){(t.valid=!0)&&t.validate()},invalid:function(e){!(t.valid=!1)&&t.validate()}},model:{value:t.check.value,callback:function(e){t.$set(t.check,"value",e)},expression:"check.value"}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.check.value,expression:"check.value"}],staticClass:"option",class:{invalid:!t.valid},attrs:{type:"text",disabled:!t.currentOption,placeholder:t.valuePlaceholder},domProps:{value:t.check.value},on:{input:[function(e){e.target.composing||t.$set(t.check,"value",e.target.value)},t.updateCheck]}}),t._v(" "),t.deleteVisible||!t.currentOption?n("Actions",[n("ActionButton",{attrs:{icon:"icon-close"},on:{click:function(e){return t.$emit("remove")}}})],1):t._e()],1)}),[],!1,null,"56ddceda",null).exports),j={name:"Operation",props:{operation:{type:Object,required:!0},colored:{type:Boolean,default:!0}}},I=a(142),P={insert:"head",singleton:!1},W=(T()(I.a,P),I.a.locals,z(j,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"actions__item",class:{colored:t.colored},style:{backgroundColor:t.colored?t.operation.color:"transparent"}},[n("div",{staticClass:"icon",class:t.operation.iconClass,style:{backgroundImage:t.operation.iconClass?"":"url("+t.operation.icon+")"}}),t._v(" "),n("div",{staticClass:"actions__item__description"},[n("h3",[t._v(t._s(t.operation.name))]),t._v(" "),n("small",[t._v(t._s(t.operation.description))]),t._v(" "),n("div",[t.colored?n("button",[t._v("\n\t\t\t\t"+t._s(t.t("workflowengine","Add new flow"))+"\n\t\t\t")]):t._e()])]),t._v(" "),n("div",{staticClass:"actions__item_options"},[t._t("default")],2)])}),[],!1,null,"34495584",null).exports),q={name:"Rule",components:{Operation:W,Check:Y,Event:O,Actions:g.a,ActionButton:_.a},directives:{Tooltip:h.a},props:{rule:{type:Object,required:!0}},data(){return{editing:!1,checks:[],error:null,dirty:this.rule.id<0,originalRule:null}},computed:{operation(){return this.$store.getters.getOperationForRule(this.rule)},ruleStatus(){return this.error||!this.rule.valid||0===this.rule.checks.length||this.rule.checks.some(t=>!0===t.invalid)?{title:t("workflowengine","The configuration is invalid"),class:"icon-close-white invalid",tooltip:{placement:"bottom",show:!0,content:this.error}}:this.dirty?{title:t("workflowengine","Save"),class:"icon-confirm-white primary"}:{title:t("workflowengine","Active"),class:"icon icon-checkmark"}},lastCheckComplete(){const t=this.rule.checks[this.rule.checks.length-1];return void 0===t||null!==t.class}},mounted(){this.originalRule=JSON.parse(JSON.stringify(this.rule))},methods:{async updateOperation(t){this.$set(this.rule,"operation",t),await this.updateRule()},validate(t){this.error=null,this.$store.dispatch("updateRule",this.rule)},updateRule(){this.dirty||(this.dirty=!0),this.error=null,this.$store.dispatch("updateRule",this.rule)},async saveRule(){try{await this.$store.dispatch("pushUpdateRule",this.rule),this.dirty=!1,this.error=null,this.originalRule=JSON.parse(JSON.stringify(this.rule))}catch(t){console.error("Failed to save operation"),this.error=t.response.data.ocs.meta.message}},async deleteRule(){try{await this.$store.dispatch("deleteRule",this.rule)}catch(t){console.error("Failed to delete operation"),this.error=t.response.data.ocs.meta.message}},cancelRule(){this.rule.id<0?this.$store.dispatch("removeRule",this.rule):(this.$store.dispatch("updateRule",this.originalRule),this.originalRule=JSON.parse(JSON.stringify(this.rule)),this.dirty=!1)},async removeCheck(t){const e=this.rule.checks.findIndex(e=>e===t);e>-1&&this.$delete(this.rule.checks,e),this.$store.dispatch("updateRule",this.rule)}}},R=a(143),F={insert:"head",singleton:!1},H=(T()(R.a,F),R.a.locals,z(q,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.operation?n("div",{staticClass:"section rule",style:{borderLeftColor:t.operation.color||""}},[n("div",{staticClass:"trigger"},[n("p",[n("span",[t._v(t._s(t.t("workflowengine","When")))]),t._v(" "),n("Event",{attrs:{rule:t.rule},on:{update:t.updateRule}})],1),t._v(" "),t._l(t.rule.checks,(function(e,a){return n("p",{key:a},[n("span",[t._v(t._s(t.t("workflowengine","and")))]),t._v(" "),n("Check",{attrs:{check:e,rule:t.rule},on:{update:t.updateRule,validate:t.validate,remove:function(n){return t.removeCheck(e)}}})],1)})),t._v(" "),n("p",[n("span"),t._v(" "),t.lastCheckComplete?n("input",{staticClass:"check--add",attrs:{type:"button",value:"Add a new filter"},on:{click:function(e){return t.rule.checks.push({class:null,operator:null,value:""})}}}):t._e()])],2),t._v(" "),n("div",{staticClass:"flow-icon icon-confirm"}),t._v(" "),n("div",{staticClass:"action"},[n("Operation",{attrs:{operation:t.operation,colored:!1}},[t.operation.options?n(t.operation.options,{tag:"component",on:{input:t.updateOperation},model:{value:t.rule.operation,callback:function(e){t.$set(t.rule,"operation",e)},expression:"rule.operation"}}):t._e()],1),t._v(" "),n("div",{staticClass:"buttons"},[n("button",{staticClass:"status-button icon",class:t.ruleStatus.class,on:{click:t.saveRule}},[t._v("\n\t\t\t\t"+t._s(t.ruleStatus.title)+"\n\t\t\t")]),t._v(" "),t.rule.id<-1||t.dirty?n("button",{on:{click:t.cancelRule}},[t._v("\n\t\t\t\t"+t._s(t.t("workflowengine","Cancel"))+"\n\t\t\t")]):t.dirty?t._e():n("button",{on:{click:t.deleteRule}},[t._v("\n\t\t\t\t"+t._s(t.t("workflowengine","Delete"))+"\n\t\t\t")])]),t._v(" "),t.error?n("p",{staticClass:"error-message"},[t._v("\n\t\t\t"+t._s(t.error)+"\n\t\t")]):t._e()],1)]):t._e()}),[],!1,null,"36adf4d5",null).exports);var X={name:"Workflow",components:{Operation:W,Rule:H},data:()=>({showMoreOperations:!1,appstoreUrl:Object(l.generateUrl)("settings/apps/workflow")}),computed:{...Object(o.b)({rules:"getRules"}),...Object(o.c)({appstoreEnabled:"appstoreEnabled",scope:"scope",operations:"operations"}),hasMoreOperations(){return Object.keys(this.operations).length>3},getMainOperations(){return this.showMoreOperations?Object.values(this.operations):Object.values(this.operations).slice(0,3)},showAppStoreHint(){return 0===this.scope&&this.appstoreEnabled&&OC.isUserAdmin()}},mounted(){this.$store.dispatch("fetchRules")},methods:{createNewRule(t){this.$store.dispatch("createNewRule",t)}}},U=a(144),G={insert:"head",singleton:!1},Q=(T()(U.a,G),U.a.locals,z(X,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"workflowengine"}},[n("div",{staticClass:"section"},[n("h2",[t._v(t._s(t.t("workflowengine","Available flows")))]),t._v(" "),0===t.scope?n("p",{staticClass:"settings-hint"},[n("a",{attrs:{href:"https://nextcloud.com/developer/"}},[t._v(t._s(t.t("workflowengine","For details on how to write your own flow, check out the development documentation.")))])]):t._e(),t._v(" "),n("transition-group",{staticClass:"actions",attrs:{name:"slide",tag:"div"}},[t._l(t.getMainOperations,(function(e){return n("Operation",{key:e.id,attrs:{operation:e},nativeOn:{click:function(n){return t.createNewRule(e)}}})})),t._v(" "),t.showAppStoreHint?n("a",{key:"add",staticClass:"actions__item colored more",attrs:{href:t.appstoreUrl}},[n("div",{staticClass:"icon icon-add"}),t._v(" "),n("div",{staticClass:"actions__item__description"},[n("h3",[t._v(t._s(t.t("workflowengine","More flows")))]),t._v(" "),n("small",[t._v(t._s(t.t("workflowengine","Browse the app store")))])])]):t._e()],2),t._v(" "),t.hasMoreOperations?n("div",{staticClass:"actions__more"},[n("button",{staticClass:"icon",class:t.showMoreOperations?"icon-triangle-n":"icon-triangle-s",on:{click:function(e){t.showMoreOperations=!t.showMoreOperations}}},[t._v("\n\t\t\t\t"+t._s(t.showMoreOperations?t.t("workflowengine","Show less"):t.t("workflowengine","Show more"))+"\n\t\t\t")])]):t._e(),t._v(" "),0===t.scope?n("h2",{staticClass:"configured-flows"},[t._v("\n\t\t\t"+t._s(t.t("workflowengine","Configured flows"))+"\n\t\t")]):n("h2",{staticClass:"configured-flows"},[t._v("\n\t\t\t"+t._s(t.t("workflowengine","Your flows"))+"\n\t\t")])],1),t._v(" "),t.rules.length>0?n("transition-group",{attrs:{name:"slide"}},t._l(t.rules,(function(t){return n("Rule",{key:t.id,attrs:{rule:t}})})),1):t._e()],1)}),[],!1,null,"7000c295",null).exports); +r.default.use(o.a);var f=new o.a.Store({state:{rules:[],scope:Object(c.loadState)("workflowengine","scope"),appstoreEnabled:Object(c.loadState)("workflowengine","appstoreenabled"),operations:Object(c.loadState)("workflowengine","operators"),plugins:r.default.observable({checks:{},operators:{}}),entities:Object(c.loadState)("workflowengine","entities"),events:Object(c.loadState)("workflowengine","entities").map(t=>t.events.map(e=>({id:"".concat(t.id,"::").concat(e.eventName),entity:t,...e}))).flat(),checks:Object(c.loadState)("workflowengine","checks")},mutations:{addRule(t,e){t.rules.push({...e,valid:!0})},updateRule(t,e){const n=t.rules.findIndex(t=>e.id===t.id),a=Object.assign({},e);r.default.set(t.rules,n,a)},removeRule(t,e){const n=t.rules.findIndex(t=>e.id===t.id);t.rules.splice(n,1)},addPluginCheck(t,e){r.default.set(t.plugins.checks,e.class,e)},addPluginOperator(t,e){e=Object.assign({color:"var(--color-primary-element)"},e,t.operations[e.id]||{}),void 0!==t.operations[e.id]&&r.default.set(t.operations,e.id,e)}},actions:{async fetchRules(t){const{data:e}=await s.a.get(d(""));Object.values(e.ocs.data).flat().forEach(e=>{t.commit("addRule",e)})},createNewRule(t,e){let n=null,a=[];!1===e.isComplex&&""===e.fixedEntity&&(n=t.state.entities.find(t=>e.entities&&e.entities[0]===t.id),n=n||Object.values(t.state.entities)[0],a=[n.events[0].eventName]),t.commit("addRule",{id:-(new Date).getTime(),class:e.id,entity:n?n.id:e.fixedEntity,events:a,name:"",checks:[{class:null,operator:null,value:""}],operation:e.operation||""})},updateRule(t,e){t.commit("updateRule",{...e,events:"string"==typeof e.events?JSON.parse(e.events):e.events})},removeRule(t,e){t.commit("removeRule",e)},async pushUpdateRule(t,e){let n;0===t.state.scope&&await A()(),n=e.id<0?await s.a.post(d(""),e):await s.a.put(d("/".concat(e.id)),e),r.default.set(e,"id",n.data.ocs.data.id),t.commit("updateRule",e)},async deleteRule(t,e){await A()(),await s.a.delete(d("/".concat(e.id))),t.commit("removeRule",e)},setValid(t,{rule:e,valid:n}){e.valid=n,t.commit("updateRule",e)}},getters:{getRules:t=>t.rules.filter(e=>void 0!==t.operations[e.class]).sort((t,e)=>t.id-e.id||e.class-t.class),getOperationForRule:t=>e=>t.operations[e.class],getEntityForOperation:t=>e=>t.entities.find(t=>e.fixedEntity===t.id),getEventsForOperation:t=>e=>t.events,getChecksForEntity:t=>e=>Object.values(t.checks).filter(t=>t.supportedEntities.indexOf(e)>-1||0===t.supportedEntities.length).map(e=>t.plugins.checks[e.id]).reduce((t,e)=>(t[e.class]=e,t),{})}}),m=a(383),h=a.n(m),M=a(94),g=a.n(M),b=a(95),_=a.n(b),v=a(9),y=a.n(v),L=a(389),w={name:"Event",components:{Multiselect:y.a},props:{rule:{type:Object,required:!0}},computed:{entity(){return this.$store.getters.getEntityForOperation(this.operation)},operation(){return this.$store.getters.getOperationForRule(this.rule)},allEvents(){return this.$store.getters.getEventsForOperation(this.operation)},currentEvent(){return this.allEvents.filter(t=>t.entity.id===this.rule.entity&&-1!==this.rule.events.indexOf(t.eventName))}},methods:{updateEvent(e){if(0===e.length)return void Object(L.a)(t("workflowengine","At least one event must be selected"));const n=this.rule.entity,a=e.map(t=>t.entity.id).filter((t,e,n)=>n.indexOf(t)===e);let r=null;r=a.length>1?a.filter(t=>t!==n)[0]:a[0],this.$set(this.rule,"entity",r),this.$set(this.rule,"events",e.filter(t=>t.entity.id===r).map(t=>t.eventName)),this.$emit("update",this.rule)}}},C=a(5),T=a.n(C),x=a(140),k={insert:"head",singleton:!1};T()(x.a,k),x.a.locals;function z(t,e,n,a,r,o,i,s){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),a&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),i?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:l}}var O=z(w,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"event"},[t.operation.isComplex&&""!==t.operation.fixedEntity?n("div",{staticClass:"isComplex"},[n("img",{staticClass:"option__icon",attrs:{src:t.entity.icon}}),t._v(" "),n("span",{staticClass:"option__title option__title_single"},[t._v(t._s(t.operation.triggerHint))])]):n("Multiselect",{attrs:{value:t.currentEvent,options:t.allEvents,"track-by":"id",multiple:!0,"auto-limit":!1,disabled:t.allEvents.length<=1},on:{input:t.updateEvent},scopedSlots:t._u([{key:"selection",fn:function(e){var a=e.values,r=(e.search,e.isOpen);return[a.length&&!r?n("div",{staticClass:"eventlist"},[n("img",{staticClass:"option__icon",attrs:{src:a[0].entity.icon}}),t._v(" "),t._l(a,(function(e,r){return n("span",{key:e.id,staticClass:"text option__title option__title_single"},[t._v(t._s(e.displayName)+" "),r+1<a.length?n("span",[t._v(", ")]):t._e()])}))],2):t._e()]}},{key:"option",fn:function(e){return[n("img",{staticClass:"option__icon",attrs:{src:e.option.entity.icon}}),t._v(" "),n("span",{staticClass:"option__title"},[t._v(t._s(e.option.displayName))])]}}])})],1)}),[],!1,null,"0e4a6929",null).exports,S=a(390),B=a.n(S),E={name:"Check",components:{ActionButton:_.a,Actions:g.a,Multiselect:y.a},directives:{ClickOutside:B.a},props:{check:{type:Object,required:!0},rule:{type:Object,required:!0}},data:()=>({deleteVisible:!1,currentOption:null,currentOperator:null,options:[],valid:!1}),computed:{checks(){return this.$store.getters.getChecksForEntity(this.rule.entity)},operators(){if(!this.currentOption)return[];const t=this.checks[this.currentOption.class].operators;return"function"==typeof t?t(this.check):t},currentComponent(){return this.currentOption?this.checks[this.currentOption.class].component:[]},valuePlaceholder(){return this.currentOption&&this.currentOption.placeholder?this.currentOption.placeholder(this.check):""}},watch:{"check.operator"(){this.validate()}},mounted(){this.options=Object.values(this.checks),this.currentOption=this.checks[this.check.class],this.currentOperator=this.operators.find(t=>t.operator===this.check.operator),null===this.check.class&&this.$nextTick(()=>this.$refs.checkSelector.$el.focus()),this.validate()},methods:{showDelete(){this.deleteVisible=!0},hideDelete(){this.deleteVisible=!1},validate(){this.valid=!0,this.currentOption&&this.currentOption.validate&&(this.valid=!!this.currentOption.validate(this.check)),this.check.invalid=!this.valid,this.$emit("validate",this.valid)},updateCheck(){const t=this.operators.findIndex(t=>this.check.operator===t.operator);this.check.class===this.currentOption.class&&-1!==t||(this.currentOperator=this.operators[0]),this.check.class=this.currentOption.class,this.check.operator=this.currentOperator.operator,this.validate(),this.$emit("update",this.check)}}},N=a(141),D={insert:"head",singleton:!1},Y=(T()(N.a,D),N.a.locals,z(E,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hideDelete,expression:"hideDelete"}],staticClass:"check",on:{click:t.showDelete}},[n("Multiselect",{ref:"checkSelector",attrs:{options:t.options,label:"name","track-by":"class","allow-empty":!1,placeholder:t.t("workflowengine","Select a filter")},on:{input:t.updateCheck},model:{value:t.currentOption,callback:function(e){t.currentOption=e},expression:"currentOption"}}),t._v(" "),n("Multiselect",{staticClass:"comparator",attrs:{disabled:!t.currentOption,options:t.operators,label:"name","track-by":"operator","allow-empty":!1,placeholder:t.t("workflowengine","Select a comparator")},on:{input:t.updateCheck},model:{value:t.currentOperator,callback:function(e){t.currentOperator=e},expression:"currentOperator"}}),t._v(" "),t.currentOperator&&t.currentComponent?n(t.currentOption.component,{tag:"component",staticClass:"option",attrs:{disabled:!t.currentOption,check:t.check},on:{input:t.updateCheck,valid:function(e){(t.valid=!0)&&t.validate()},invalid:function(e){!(t.valid=!1)&&t.validate()}},model:{value:t.check.value,callback:function(e){t.$set(t.check,"value",e)},expression:"check.value"}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.check.value,expression:"check.value"}],staticClass:"option",class:{invalid:!t.valid},attrs:{type:"text",disabled:!t.currentOption,placeholder:t.valuePlaceholder},domProps:{value:t.check.value},on:{input:[function(e){e.target.composing||t.$set(t.check,"value",e.target.value)},t.updateCheck]}}),t._v(" "),t.deleteVisible||!t.currentOption?n("Actions",[n("ActionButton",{attrs:{icon:"icon-close"},on:{click:function(e){return t.$emit("remove")}}})],1):t._e()],1)}),[],!1,null,"56ddceda",null).exports),j={name:"Operation",props:{operation:{type:Object,required:!0},colored:{type:Boolean,default:!0}}},I=a(142),P={insert:"head",singleton:!1},W=(T()(I.a,P),I.a.locals,z(j,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"actions__item",class:{colored:t.colored},style:{backgroundColor:t.colored?t.operation.color:"transparent"}},[n("div",{staticClass:"icon",class:t.operation.iconClass,style:{backgroundImage:t.operation.iconClass?"":"url("+t.operation.icon+")"}}),t._v(" "),n("div",{staticClass:"actions__item__description"},[n("h3",[t._v(t._s(t.operation.name))]),t._v(" "),n("small",[t._v(t._s(t.operation.description))]),t._v(" "),n("div",[t.colored?n("button",[t._v("\n\t\t\t\t"+t._s(t.t("workflowengine","Add new flow"))+"\n\t\t\t")]):t._e()])]),t._v(" "),n("div",{staticClass:"actions__item_options"},[t._t("default")],2)])}),[],!1,null,"34495584",null).exports),q={name:"Rule",components:{Operation:W,Check:Y,Event:O,Actions:g.a,ActionButton:_.a},directives:{Tooltip:h.a},props:{rule:{type:Object,required:!0}},data(){return{editing:!1,checks:[],error:null,dirty:this.rule.id<0,originalRule:null}},computed:{operation(){return this.$store.getters.getOperationForRule(this.rule)},ruleStatus(){return this.error||!this.rule.valid||0===this.rule.checks.length||this.rule.checks.some(t=>!0===t.invalid)?{title:t("workflowengine","The configuration is invalid"),class:"icon-close-white invalid",tooltip:{placement:"bottom",show:!0,content:this.error}}:this.dirty?{title:t("workflowengine","Save"),class:"icon-confirm-white primary"}:{title:t("workflowengine","Active"),class:"icon icon-checkmark"}},lastCheckComplete(){const t=this.rule.checks[this.rule.checks.length-1];return void 0===t||null!==t.class}},mounted(){this.originalRule=JSON.parse(JSON.stringify(this.rule))},methods:{async updateOperation(t){this.$set(this.rule,"operation",t),await this.updateRule()},validate(t){this.error=null,this.$store.dispatch("updateRule",this.rule)},updateRule(){this.dirty||(this.dirty=!0),this.error=null,this.$store.dispatch("updateRule",this.rule)},async saveRule(){try{await this.$store.dispatch("pushUpdateRule",this.rule),this.dirty=!1,this.error=null,this.originalRule=JSON.parse(JSON.stringify(this.rule))}catch(t){console.error("Failed to save operation"),this.error=t.response.data.ocs.meta.message}},async deleteRule(){try{await this.$store.dispatch("deleteRule",this.rule)}catch(t){console.error("Failed to delete operation"),this.error=t.response.data.ocs.meta.message}},cancelRule(){this.rule.id<0?this.$store.dispatch("removeRule",this.rule):(this.$store.dispatch("updateRule",this.originalRule),this.originalRule=JSON.parse(JSON.stringify(this.rule)),this.dirty=!1)},async removeCheck(t){const e=this.rule.checks.findIndex(e=>e===t);e>-1&&this.$delete(this.rule.checks,e),this.$store.dispatch("updateRule",this.rule)}}},R=a(143),F={insert:"head",singleton:!1},H=(T()(R.a,F),R.a.locals,z(q,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.operation?n("div",{staticClass:"section rule",style:{borderLeftColor:t.operation.color||""}},[n("div",{staticClass:"trigger"},[n("p",[n("span",[t._v(t._s(t.t("workflowengine","When")))]),t._v(" "),n("Event",{attrs:{rule:t.rule},on:{update:t.updateRule}})],1),t._v(" "),t._l(t.rule.checks,(function(e,a){return n("p",{key:a},[n("span",[t._v(t._s(t.t("workflowengine","and")))]),t._v(" "),n("Check",{attrs:{check:e,rule:t.rule},on:{update:t.updateRule,validate:t.validate,remove:function(n){return t.removeCheck(e)}}})],1)})),t._v(" "),n("p",[n("span"),t._v(" "),t.lastCheckComplete?n("input",{staticClass:"check--add",attrs:{type:"button",value:"Add a new filter"},on:{click:function(e){return t.rule.checks.push({class:null,operator:null,value:""})}}}):t._e()])],2),t._v(" "),n("div",{staticClass:"flow-icon icon-confirm"}),t._v(" "),n("div",{staticClass:"action"},[n("Operation",{attrs:{operation:t.operation,colored:!1}},[t.operation.options?n(t.operation.options,{tag:"component",on:{input:t.updateOperation},model:{value:t.rule.operation,callback:function(e){t.$set(t.rule,"operation",e)},expression:"rule.operation"}}):t._e()],1),t._v(" "),n("div",{staticClass:"buttons"},[n("button",{staticClass:"status-button icon",class:t.ruleStatus.class,on:{click:t.saveRule}},[t._v("\n\t\t\t\t"+t._s(t.ruleStatus.title)+"\n\t\t\t")]),t._v(" "),t.rule.id<-1||t.dirty?n("button",{on:{click:t.cancelRule}},[t._v("\n\t\t\t\t"+t._s(t.t("workflowengine","Cancel"))+"\n\t\t\t")]):t.dirty?t._e():n("button",{on:{click:t.deleteRule}},[t._v("\n\t\t\t\t"+t._s(t.t("workflowengine","Delete"))+"\n\t\t\t")])]),t._v(" "),t.error?n("p",{staticClass:"error-message"},[t._v("\n\t\t\t"+t._s(t.error)+"\n\t\t")]):t._e()],1)]):t._e()}),[],!1,null,"36adf4d5",null).exports);var X={name:"Workflow",components:{Operation:W,Rule:H},data:()=>({showMoreOperations:!1,appstoreUrl:Object(l.generateUrl)("settings/apps/workflow")}),computed:{...Object(o.b)({rules:"getRules"}),...Object(o.c)({appstoreEnabled:"appstoreEnabled",scope:"scope",operations:"operations"}),hasMoreOperations(){return Object.keys(this.operations).length>3},getMainOperations(){return this.showMoreOperations?Object.values(this.operations):Object.values(this.operations).slice(0,3)},showAppStoreHint(){return 0===this.scope&&this.appstoreEnabled&&OC.isUserAdmin()}},mounted(){this.$store.dispatch("fetchRules")},methods:{createNewRule(t){this.$store.dispatch("createNewRule",t)}}},U=a(144),G={insert:"head",singleton:!1},Q=(T()(U.a,G),U.a.locals,z(X,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"workflowengine"}},[n("div",{staticClass:"section"},[n("h2",[t._v(t._s(t.t("workflowengine","Available flows")))]),t._v(" "),0===t.scope?n("p",{staticClass:"settings-hint"},[n("a",{attrs:{href:"https://nextcloud.com/developer/"}},[t._v(t._s(t.t("workflowengine","For details on how to write your own flow, check out the development documentation.")))])]):t._e(),t._v(" "),n("transition-group",{staticClass:"actions",attrs:{name:"slide",tag:"div"}},[t._l(t.getMainOperations,(function(e){return n("Operation",{key:e.id,attrs:{operation:e},nativeOn:{click:function(n){return t.createNewRule(e)}}})})),t._v(" "),t.showAppStoreHint?n("a",{key:"add",staticClass:"actions__item colored more",attrs:{href:t.appstoreUrl}},[n("div",{staticClass:"icon icon-add"}),t._v(" "),n("div",{staticClass:"actions__item__description"},[n("h3",[t._v(t._s(t.t("workflowengine","More flows")))]),t._v(" "),n("small",[t._v(t._s(t.t("workflowengine","Browse the App Store")))])])]):t._e()],2),t._v(" "),t.hasMoreOperations?n("div",{staticClass:"actions__more"},[n("button",{staticClass:"icon",class:t.showMoreOperations?"icon-triangle-n":"icon-triangle-s",on:{click:function(e){t.showMoreOperations=!t.showMoreOperations}}},[t._v("\n\t\t\t\t"+t._s(t.showMoreOperations?t.t("workflowengine","Show less"):t.t("workflowengine","Show more"))+"\n\t\t\t")])]):t._e(),t._v(" "),0===t.scope?n("h2",{staticClass:"configured-flows"},[t._v("\n\t\t\t"+t._s(t.t("workflowengine","Configured flows"))+"\n\t\t")]):n("h2",{staticClass:"configured-flows"},[t._v("\n\t\t\t"+t._s(t.t("workflowengine","Your flows"))+"\n\t\t")])],1),t._v(" "),t.rules.length>0?n("transition-group",{attrs:{name:"slide"}},t._l(t.rules,(function(t){return n("Rule",{key:t.id,attrs:{rule:t}})})),1):t._e()],1)}),[],!1,null,"7b3e4a56",null).exports); /** * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net> * |