(this.webpackJsonp=this.webpackJsonp||[]).push([[1135,359,1312,1513],{"2O3R":function(t,e,n){"use strict";
/**!
 * Sortable 1.10.2
 * @author	RubaXa   <trash@rubaxa.org>
 * @author	owenm    <owen23355@gmail.com>
 * @license MIT
 */
function i(t){return(i="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 r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),i.forEach((function(e){r(t,e,n[e])}))}return t}function a(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},o=Object.keys(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function l(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.r(e),n.d(e,"MultiDrag",(function(){return _e})),n.d(e,"Sortable",(function(){return Ft})),n.d(e,"Swap",(function(){return le}));function c(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),d=c(/Edge/i),h=c(/firefox/i),p=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),m=c(/iP(ad|od|hone)/i),f=c(/chrome/i)&&c(/android/i),g={capture:!1,passive:!1};function v(t,e,n){t.addEventListener(e,n,!u&&g)}function b(t,e,n){t.removeEventListener(e,n,!u&&g)}function _(t,e){if(e){if(">"===e[0]&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch(t){return!1}return!1}}function y(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function S(t,e,n,i){if(t){n=n||document;do{if(null!=e&&(">"===e[0]?t.parentNode===n&&_(t,e):_(t,e))||i&&t===n)return t;if(t===n)break}while(t=y(t))}return null}var x,O=/\s+/g;function w(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var i=(" "+t.className+" ").replace(O," ").replace(" "+e+" "," ");t.className=(i+(n?" "+e:"")).replace(O," ")}}function E(t,e,n){var i=t&&t.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===e?n:n[e];e in i||-1!==e.indexOf("webkit")||(e="-webkit-"+e),i[e]=n+("string"==typeof n?"":"px")}}function C(t,e){var n="";if("string"==typeof t)n=t;else do{var i=E(t,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!e&&(t=t.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function j(t,e,n){if(t){var i=t.getElementsByTagName(e),r=0,o=i.length;if(n)for(;r<o;r++)n(i[r],r);return i}return[]}function T(){var t=document.scrollingElement;return t||document.documentElement}function k(t,e,n,i,r){if(t.getBoundingClientRect||t===window){var o,s,a,l,c,d,h;if(t!==window&&t!==T()?(s=(o=t.getBoundingClientRect()).top,a=o.left,l=o.bottom,c=o.right,d=o.height,h=o.width):(s=0,a=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,h=window.innerWidth),(e||n)&&t!==window&&(r=r||t.parentNode,!u))do{if(r&&r.getBoundingClientRect&&("none"!==E(r,"transform")||n&&"static"!==E(r,"position"))){var p=r.getBoundingClientRect();s-=p.top+parseInt(E(r,"border-top-width")),a-=p.left+parseInt(E(r,"border-left-width")),l=s+o.height,c=a+o.width;break}}while(r=r.parentNode);if(i&&t!==window){var m=C(r||t),f=m&&m.a,g=m&&m.d;m&&(l=(s/=g)+(d/=g),c=(a/=f)+(h/=f))}return{top:s,left:a,bottom:l,right:c,width:h,height:d}}}function I(t,e,n){for(var i=R(t,!0),r=k(t)[e];i;){var o=k(i)[n];if(!("top"===n||"left"===n?r>=o:r<=o))return i;if(i===T())break;i=R(i,!1)}return!1}function D(t,e,n){for(var i=0,r=0,o=t.children;r<o.length;){if("none"!==o[r].style.display&&o[r]!==Ft.ghost&&o[r]!==Ft.dragged&&S(o[r],n.draggable,t,!1)){if(i===e)return o[r];i++}r++}return null}function P(t,e){for(var n=t.lastElementChild;n&&(n===Ft.ghost||"none"===E(n,"display")||e&&!_(n,e));)n=n.previousElementSibling;return n||null}function A(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Ft.clone||e&&!_(t,e)||n++;return n}function M(t){var e=0,n=0,i=T();if(t)do{var r=C(t),o=r.a,s=r.d;e+=t.scrollLeft*o,n+=t.scrollTop*s}while(t!==i&&(t=t.parentNode));return[e,n]}function R(t,e){if(!t||!t.getBoundingClientRect)return T();var n=t,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=E(n);if(n.clientWidth<n.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!n.getBoundingClientRect||n===document.body)return T();if(i||e)return n;i=!0}}}while(n=n.parentNode);return T()}function L(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}function N(t,e){return function(){if(!x){var n=arguments,i=this;1===n.length?t.call(i,n[0]):t.apply(i,n),x=setTimeout((function(){x=void 0}),e)}}}function $(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function G(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function F(t,e){E(t,"position","absolute"),E(t,"top",e.top),E(t,"left",e.left),E(t,"width",e.width),E(t,"height",e.height)}function B(t){E(t,"position",""),E(t,"top",""),E(t,"left",""),E(t,"width",""),E(t,"height","")}var q="Sortable"+(new Date).getTime();function H(){var t,e=[];return{captureAnimationState:function(){(e=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(t){if("none"!==E(t,"display")&&t!==Ft.ghost){e.push({target:t,rect:k(t)});var n=s({},e[e.length-1].rect);if(t.thisAnimationDuration){var i=C(t,!0);i&&(n.top-=i.f,n.left-=i.e)}t.fromRect=n}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,e){for(var n in t)if(t.hasOwnProperty(n))for(var i in e)if(e.hasOwnProperty(i)&&e[i]===t[n][i])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(t),void("function"==typeof n&&n());var r=!1,o=0;e.forEach((function(t){var e=0,n=t.target,s=n.fromRect,a=k(n),l=n.prevFromRect,c=n.prevToRect,u=t.rect,d=C(n,!0);d&&(a.top-=d.f,a.left-=d.e),n.toRect=a,n.thisAnimationDuration&&L(l,a)&&!L(s,a)&&(u.top-a.top)/(u.left-a.left)==(s.top-a.top)/(s.left-a.left)&&(e=function(t,e,n,i){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*i.animation}(u,l,c,i.options)),L(a,s)||(n.prevFromRect=s,n.prevToRect=a,e||(e=i.options.animation),i.animate(n,u,a,e)),e&&(r=!0,o=Math.max(o,e),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),e),n.thisAnimationDuration=e)})),clearTimeout(t),r?t=setTimeout((function(){"function"==typeof n&&n()}),o):"function"==typeof n&&n(),e=[]},animate:function(t,e,n,i){if(i){E(t,"transition",""),E(t,"transform","");var r=C(this.el),o=r&&r.a,s=r&&r.d,a=(e.left-n.left)/(o||1),l=(e.top-n.top)/(s||1);t.animatingX=!!a,t.animatingY=!!l,E(t,"transform","translate3d("+a+"px,"+l+"px,0)"),function(t){t.offsetWidth}(t),E(t,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),E(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){E(t,"transition",""),E(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),i)}}}}var U=[],K={initializeByDefault:!0},z={mount:function(t){for(var e in K)K.hasOwnProperty(e)&&!(e in t)&&(t[e]=K[e]);U.push(t)},pluginEvent:function(t,e,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=t+"Global";U.forEach((function(i){e[i.pluginName]&&(e[i.pluginName][r]&&e[i.pluginName][r](s({sortable:e},n)),e.options[i.pluginName]&&e[i.pluginName][t]&&e[i.pluginName][t](s({sortable:e},n)))}))},initializePlugins:function(t,e,n,i){for(var r in U.forEach((function(i){var r=i.pluginName;if(t.options[r]||i.initializeByDefault){var s=new i(t,e,t.options);s.sortable=t,s.options=t.options,t[r]=s,o(n,s.defaults)}})),t.options)if(t.options.hasOwnProperty(r)){var s=this.modifyOption(t,r,t.options[r]);void 0!==s&&(t.options[r]=s)}},getEventProperties:function(t,e){var n={};return U.forEach((function(i){"function"==typeof i.eventProperties&&o(n,i.eventProperties.call(e[i.pluginName],t))})),n},modifyOption:function(t,e,n){var i;return U.forEach((function(r){t[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[e]&&(i=r.optionListeners[e].call(t[r.pluginName],n))})),i}};function V(t){var e=t.sortable,n=t.rootEl,i=t.name,r=t.targetEl,o=t.cloneEl,a=t.toEl,l=t.fromEl,c=t.oldIndex,h=t.newIndex,p=t.oldDraggableIndex,m=t.newDraggableIndex,f=t.originalEvent,g=t.putSortable,v=t.extraEventProperties;if(e=e||n&&n[q]){var b,_=e.options,y="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||u||d?(b=document.createEvent("Event")).initEvent(i,!0,!0):b=new CustomEvent(i,{bubbles:!0,cancelable:!0}),b.to=a||n,b.from=l||n,b.item=r||n,b.clone=o,b.oldIndex=c,b.newIndex=h,b.oldDraggableIndex=p,b.newDraggableIndex=m,b.originalEvent=f,b.pullMode=g?g.lastPutMode:void 0;var S=s({},v,z.getEventProperties(i,e));for(var x in S)b[x]=S[x];n&&n.dispatchEvent(b),_[y]&&_[y].call(e,b)}}var W=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=a(n,["evt"]);z.pluginEvent.bind(Ft)(t,e,s({dragEl:X,parentEl:Q,ghostEl:J,rootEl:Z,nextEl:tt,lastDownEl:et,cloneEl:nt,cloneHidden:it,dragStarted:gt,putSortable:ct,activeSortable:Ft.active,originalEvent:i,oldIndex:rt,oldDraggableIndex:st,newIndex:ot,newDraggableIndex:at,hideGhostForTarget:Lt,unhideGhostForTarget:Nt,cloneNowHidden:function(){it=!0},cloneNowShown:function(){it=!1},dispatchSortableEvent:function(t){Y({sortable:e,name:t,originalEvent:i})}},r))};function Y(t){V(s({putSortable:ct,cloneEl:nt,targetEl:X,rootEl:Z,oldIndex:rt,oldDraggableIndex:st,newIndex:ot,newDraggableIndex:at},t))}var X,Q,J,Z,tt,et,nt,it,rt,ot,st,at,lt,ct,ut,dt,ht,pt,mt,ft,gt,vt,bt,_t,yt,St=!1,xt=!1,Ot=[],wt=!1,Et=!1,Ct=[],jt=!1,Tt=[],kt="undefined"!=typeof document,It=m,Dt=d||u?"cssFloat":"float",Pt=kt&&!f&&!m&&"draggable"in document.createElement("div"),At=function(){if(kt){if(u)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Mt=function(t,e){var n=E(t),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=D(t,0,e),o=D(t,1,e),s=r&&E(r),a=o&&E(o),l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+k(r).width,c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+k(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&s.float&&"none"!==s.float){var u="left"===s.float?"left":"right";return!o||"both"!==a.clear&&a.clear!==u?"horizontal":"vertical"}return r&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||l>=i&&"none"===n[Dt]||o&&"none"===n[Dt]&&l+c>i)?"vertical":"horizontal"},Rt=function(t){function e(t,n){return function(i,r,o,s){var a=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(null==t&&(n||a))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return e(t(i,r,o,s),n)(i,r,o,s);var l=(n?i:r).options.group.name;return!0===t||"string"==typeof t&&t===l||t.join&&t.indexOf(l)>-1}}var n={},r=t.group;r&&"object"==i(r)||(r={name:r}),n.name=r.name,n.checkPull=e(r.pull,!0),n.checkPut=e(r.put),n.revertClone=r.revertClone,t.group=n},Lt=function(){!At&&J&&E(J,"display","none")},Nt=function(){!At&&J&&E(J,"display","")};kt&&document.addEventListener("click",(function(t){if(xt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),xt=!1,!1}),!0);var $t=function(t){if(X){t=t.touches?t.touches[0]:t;var e=(r=t.clientX,o=t.clientY,Ot.some((function(t){if(!P(t)){var e=k(t),n=t[q].options.emptyInsertThreshold,i=r>=e.left-n&&r<=e.right+n,a=o>=e.top-n&&o<=e.bottom+n;return n&&i&&a?s=t:void 0}})),s);if(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[q]._onDragOver(n)}}var r,o,s},Gt=function(t){X&&X.parentNode[q]._isOutsideThisEl(t.target)};function Ft(t,e){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=o({},e),t[q]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Mt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ft.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in z.initializePlugins(this,t,n),n)!(i in e)&&(e[i]=n[i]);for(var r in Rt(e),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!e.forceFallback&&Pt,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?v(t,"pointerdown",this._onTapStart):(v(t,"mousedown",this._onTapStart),v(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(t,"dragover",this),v(t,"dragenter",this)),Ot.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),o(this,H())}function Bt(t,e,n,i,r,o,s,a){var l,c,h=t[q],p=h.options.onMove;return!window.CustomEvent||u||d?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=e,l.from=t,l.dragged=n,l.draggedRect=i,l.related=r||e,l.relatedRect=o||k(e),l.willInsertAfter=a,l.originalEvent=s,t.dispatchEvent(l),p&&(c=p.call(h,l,s)),c}function qt(t){t.draggable=!1}function Ht(){jt=!1}function Ut(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,i=0;n--;)i+=e.charCodeAt(n);return i.toString(36)}function Kt(t){return setTimeout(t,0)}function zt(t){return clearTimeout(t)}Ft.prototype={constructor:Ft,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(vt=null)},_getDirection:function(t,e){return"function"==typeof this.options.direction?this.options.direction.call(this,t,e,X):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,i=this.options,r=i.preventOnFilter,o=t.type,s=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,a=(s||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||a,c=i.filter;if(function(t){Tt.length=0;var e=t.getElementsByTagName("input"),n=e.length;for(;n--;){var i=e[n];i.checked&&Tt.push(i)}}(n),!X&&!(/mousedown|pointerdown/.test(o)&&0!==t.button||i.disabled||l.isContentEditable||(a=S(a,i.draggable,n,!1))&&a.animated||et===a)){if(rt=A(a),st=A(a,i.draggable),"function"==typeof c){if(c.call(this,t,a,this))return Y({sortable:e,rootEl:l,name:"filter",targetEl:a,toEl:n,fromEl:n}),W("filter",e,{evt:t}),void(r&&t.cancelable&&t.preventDefault())}else if(c&&(c=c.split(",").some((function(i){if(i=S(l,i.trim(),n,!1))return Y({sortable:e,rootEl:i,name:"filter",targetEl:a,fromEl:n,toEl:n}),W("filter",e,{evt:t}),!0}))))return void(r&&t.cancelable&&t.preventDefault());i.handle&&!S(l,i.handle,n,!1)||this._prepareDragStart(t,s,a)}}},_prepareDragStart:function(t,e,n){var i,r=this,o=r.el,s=r.options,a=o.ownerDocument;if(n&&!X&&n.parentNode===o){var l=k(n);if(Z=o,Q=(X=n).parentNode,tt=X.nextSibling,et=n,lt=s.group,Ft.dragged=X,ut={target:X,clientX:(e||t).clientX,clientY:(e||t).clientY},mt=ut.clientX-l.left,ft=ut.clientY-l.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,X.style["will-change"]="all",i=function(){W("delayEnded",r,{evt:t}),Ft.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!h&&r.nativeDraggable&&(X.draggable=!0),r._triggerDragStart(t,e),Y({sortable:r,name:"choose",originalEvent:t}),w(X,s.chosenClass,!0))},s.ignore.split(",").forEach((function(t){j(X,t.trim(),qt)})),v(a,"dragover",$t),v(a,"mousemove",$t),v(a,"touchmove",$t),v(a,"mouseup",r._onDrop),v(a,"touchend",r._onDrop),v(a,"touchcancel",r._onDrop),h&&this.nativeDraggable&&(this.options.touchStartThreshold=4,X.draggable=!0),W("delayStart",this,{evt:t}),!s.delay||s.delayOnTouchOnly&&!e||this.nativeDraggable&&(d||u))i();else{if(Ft.eventCanceled)return void this._onDrop();v(a,"mouseup",r._disableDelayedDrag),v(a,"touchend",r._disableDelayedDrag),v(a,"touchcancel",r._disableDelayedDrag),v(a,"mousemove",r._delayedDragTouchMoveHandler),v(a,"touchmove",r._delayedDragTouchMoveHandler),s.supportPointer&&v(a,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,s.delay)}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){X&&qt(X),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._disableDelayedDrag),b(t,"touchend",this._disableDelayedDrag),b(t,"touchcancel",this._disableDelayedDrag),b(t,"mousemove",this._delayedDragTouchMoveHandler),b(t,"touchmove",this._delayedDragTouchMoveHandler),b(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||"touch"==t.pointerType&&t,!this.nativeDraggable||e?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,e?"touchmove":"mousemove",this._onTouchMove):(v(X,"dragend",this),v(Z,"dragstart",this._onDragStart));try{document.selection?Kt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,e){if(St=!1,Z&&X){W("dragStarted",this,{evt:e}),this.nativeDraggable&&v(document,"dragover",Gt);var n=this.options;!t&&w(X,n.dragClass,!1),w(X,n.ghostClass,!0),Ft.active=this,t&&this._appendGhost(),Y({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(dt){this._lastX=dt.clientX,this._lastY=dt.clientY,Lt();for(var t=document.elementFromPoint(dt.clientX,dt.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(dt.clientX,dt.clientY))!==e;)e=t;if(X.parentNode[q]._isOutsideThisEl(t),e)do{if(e[q]){if(e[q]._onDragOver({clientX:dt.clientX,clientY:dt.clientY,target:t,rootEl:e})&&!this.options.dragoverBubble)break}t=e}while(e=e.parentNode);Nt()}},_onTouchMove:function(t){if(ut){var e=this.options,n=e.fallbackTolerance,i=e.fallbackOffset,r=t.touches?t.touches[0]:t,o=J&&C(J,!0),s=J&&o&&o.a,a=J&&o&&o.d,l=It&&yt&&M(yt),c=(r.clientX-ut.clientX+i.x)/(s||1)+(l?l[0]-Ct[0]:0)/(s||1),u=(r.clientY-ut.clientY+i.y)/(a||1)+(l?l[1]-Ct[1]:0)/(a||1);if(!Ft.active&&!St){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(J){o?(o.e+=c-(ht||0),o.f+=u-(pt||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");E(J,"webkitTransform",d),E(J,"mozTransform",d),E(J,"msTransform",d),E(J,"transform",d),ht=c,pt=u,dt=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!J){var t=this.options.fallbackOnBody?document.body:Z,e=k(X,!0,It,!0,t),n=this.options;if(It){for(yt=t;"static"===E(yt,"position")&&"none"===E(yt,"transform")&&yt!==document;)yt=yt.parentNode;yt!==document.body&&yt!==document.documentElement?(yt===document&&(yt=T()),e.top+=yt.scrollTop,e.left+=yt.scrollLeft):yt=T(),Ct=M(yt)}w(J=X.cloneNode(!0),n.ghostClass,!1),w(J,n.fallbackClass,!0),w(J,n.dragClass,!0),E(J,"transition",""),E(J,"transform",""),E(J,"box-sizing","border-box"),E(J,"margin",0),E(J,"top",e.top),E(J,"left",e.left),E(J,"width",e.width),E(J,"height",e.height),E(J,"opacity","0.8"),E(J,"position",It?"absolute":"fixed"),E(J,"zIndex","100000"),E(J,"pointerEvents","none"),Ft.ghost=J,t.appendChild(J),E(J,"transform-origin",mt/parseInt(J.style.width)*100+"% "+ft/parseInt(J.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,i=t.dataTransfer,r=n.options;W("dragStart",this,{evt:t}),Ft.eventCanceled?this._onDrop():(W("setupClone",this),Ft.eventCanceled||((nt=G(X)).draggable=!1,nt.style["will-change"]="",this._hideClone(),w(nt,this.options.chosenClass,!1),Ft.clone=nt),n.cloneId=Kt((function(){W("clone",n),Ft.eventCanceled||(n.options.removeCloneOnHide||Z.insertBefore(nt,X),n._hideClone(),Y({sortable:n,name:"clone"}))})),!e&&w(X,r.dragClass,!0),e?(xt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(b(document,"mouseup",n._onDrop),b(document,"touchend",n._onDrop),b(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,X)),v(document,"drop",n),E(X,"transform","translateZ(0)")),St=!0,n._dragStartId=Kt(n._dragStarted.bind(n,e,t)),v(document,"selectstart",n),gt=!0,p&&E(document.body,"user-select","none"))},_onDragOver:function(t){var e,n,i,r,o=this.el,a=t.target,l=this.options,c=l.group,u=Ft.active,d=lt===c,h=l.sort,p=ct||u,m=this,f=!1;if(!jt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=S(a,l.draggable,o,!0),L("dragOver"),Ft.eventCanceled)return f;if(X.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||m._ignoreWhileAnimating===a)return G(!1);if(xt=!1,u&&!l.disabled&&(d?h||(i=!Z.contains(X)):ct===this||(this.lastPutMode=lt.checkPull(this,u,X,t))&&c.checkPut(this,u,X,t))){if(r="vertical"===this._getDirection(t,a),e=k(X),L("dragOverValid"),Ft.eventCanceled)return f;if(i)return Q=Z,N(),this._hideClone(),L("revert"),Ft.eventCanceled||(tt?Z.insertBefore(X,tt):Z.appendChild(X)),G(!0);var g=P(o,l.draggable);if(!g||function(t,e,n){var i=k(P(n.el,n.options.draggable));return e?t.clientX>i.right+10||t.clientX<=i.right&&t.clientY>i.bottom&&t.clientX>=i.left:t.clientX>i.right&&t.clientY>i.top||t.clientX<=i.right&&t.clientY>i.bottom+10}(t,r,this)&&!g.animated){if(g===X)return G(!1);if(g&&o===t.target&&(a=g),a&&(n=k(a)),!1!==Bt(Z,o,X,e,a,n,t,!!a))return N(),o.appendChild(X),Q=o,F(),G(!0)}else if(a.parentNode===o){n=k(a);var v,b,_,y=X.parentNode!==o,x=!function(t,e,n){var i=n?t.left:t.top,r=n?t.right:t.bottom,o=n?t.width:t.height,s=n?e.left:e.top,a=n?e.right:e.bottom,l=n?e.width:e.height;return i===s||r===a||i+o/2===s+l/2}(X.animated&&X.toRect||e,a.animated&&a.toRect||n,r),O=r?"top":"left",C=I(a,"top","top")||I(X,"top","top"),j=C?C.scrollTop:void 0;if(vt!==a&&(b=n[O],wt=!1,Et=!x&&l.invertSwap||y),0!==(v=function(t,e,n,i,r,o,s,a){var l=i?t.clientY:t.clientX,c=i?n.height:n.width,u=i?n.top:n.left,d=i?n.bottom:n.right,h=!1;if(!s)if(a&&_t<c*r){if(!wt&&(1===bt?l>u+c*o/2:l<d-c*o/2)&&(wt=!0),wt)h=!0;else if(1===bt?l<u+_t:l>d-_t)return-bt}else if(l>u+c*(1-r)/2&&l<d-c*(1-r)/2)return function(t){return A(X)<A(t)?1:-1}(e);if((h=h||s)&&(l<u+c*o/2||l>d-c*o/2))return l>u+c/2?1:-1;return 0}(t,a,n,r,x?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Et,vt===a))){var T=A(X);do{T-=v,_=Q.children[T]}while(_&&("none"===E(_,"display")||_===J))}if(0===v||_===a)return G(!1);vt=a,bt=v;var D=a.nextElementSibling,M=!1,R=Bt(Z,o,X,e,a,n,t,M=1===v);if(!1!==R)return 1!==R&&-1!==R||(M=1===R),jt=!0,setTimeout(Ht,30),N(),M&&!D?o.appendChild(X):a.parentNode.insertBefore(X,M?D:a),C&&$(C,0,j-C.scrollTop),Q=X.parentNode,void 0===b||Et||(_t=Math.abs(b-k(a)[O])),F(),G(!0)}if(o.contains(X))return G(!1)}return!1}function L(l,c){W(l,m,s({evt:t,isOwner:d,axis:r?"vertical":"horizontal",revert:i,dragRect:e,targetRect:n,canSort:h,fromSortable:p,target:a,completed:G,onMove:function(n,i){return Bt(Z,o,X,e,n,k(n),t,i)},changed:F},c))}function N(){L("dragOverAnimationCapture"),m.captureAnimationState(),m!==p&&p.captureAnimationState()}function G(e){return L("dragOverCompleted",{insertion:e}),e&&(d?u._hideClone():u._showClone(m),m!==p&&(w(X,ct?ct.options.ghostClass:u.options.ghostClass,!1),w(X,l.ghostClass,!0)),ct!==m&&m!==Ft.active?ct=m:m===Ft.active&&ct&&(ct=null),p===m&&(m._ignoreWhileAnimating=a),m.animateAll((function(){L("dragOverAnimationComplete"),m._ignoreWhileAnimating=null})),m!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(a===X&&!X.animated||a===o&&!a.animated)&&(vt=null),l.dragoverBubble||t.rootEl||a===document||(X.parentNode[q]._isOutsideThisEl(t.target),!e&&$t(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),f=!0}function F(){ot=A(X),at=A(X,l.draggable),Y({sortable:m,name:"change",toEl:o,newIndex:ot,newDraggableIndex:at,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",$t),b(document,"mousemove",$t),b(document,"touchmove",$t)},_offUpEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._onDrop),b(t,"touchend",this._onDrop),b(t,"pointerup",this._onDrop),b(t,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;ot=A(X),at=A(X,n.draggable),W("drop",this,{evt:t}),Q=X&&X.parentNode,ot=A(X),at=A(X,n.draggable),Ft.eventCanceled||(St=!1,Et=!1,wt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),zt(this.cloneId),zt(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),p&&E(document.body,"user-select",""),E(X,"transform",""),t&&(gt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(Z===Q||ct&&"clone"!==ct.lastPutMode)&&nt&&nt.parentNode&&nt.parentNode.removeChild(nt),X&&(this.nativeDraggable&&b(X,"dragend",this),qt(X),X.style["will-change"]="",gt&&!St&&w(X,ct?ct.options.ghostClass:this.options.ghostClass,!1),w(X,this.options.chosenClass,!1),Y({sortable:this,name:"unchoose",toEl:Q,newIndex:null,newDraggableIndex:null,originalEvent:t}),Z!==Q?(ot>=0&&(Y({rootEl:Q,name:"add",toEl:Q,fromEl:Z,originalEvent:t}),Y({sortable:this,name:"remove",toEl:Q,originalEvent:t}),Y({rootEl:Q,name:"sort",toEl:Q,fromEl:Z,originalEvent:t}),Y({sortable:this,name:"sort",toEl:Q,originalEvent:t})),ct&&ct.save()):ot!==rt&&ot>=0&&(Y({sortable:this,name:"update",toEl:Q,originalEvent:t}),Y({sortable:this,name:"sort",toEl:Q,originalEvent:t})),Ft.active&&(null!=ot&&-1!==ot||(ot=rt,at=st),Y({sortable:this,name:"end",toEl:Q,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){W("nulling",this),Z=X=Q=J=tt=nt=et=it=ut=dt=gt=ot=at=rt=st=vt=bt=ct=lt=Ft.dragged=Ft.ghost=Ft.clone=Ft.active=null,Tt.forEach((function(t){t.checked=!0})),Tt.length=ht=pt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":X&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move");t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,e=[],n=this.el.children,i=0,r=n.length,o=this.options;i<r;i++)S(t=n[i],o.draggable,this.el,!1)&&e.push(t.getAttribute(o.dataIdAttr)||Ut(t));return e},sort:function(t){var e={},n=this.el;this.toArray().forEach((function(t,i){var r=n.children[i];S(r,this.options.draggable,n,!1)&&(e[t]=r)}),this),t.forEach((function(t){e[t]&&(n.removeChild(e[t]),n.appendChild(e[t]))}))},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return S(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(void 0===e)return n[t];var i=z.modifyOption(this,t,e);n[t]=void 0!==i?i:e,"group"===t&&Rt(n)},destroy:function(){W("destroy",this);var t=this.el;t[q]=null,b(t,"mousedown",this._onTapStart),b(t,"touchstart",this._onTapStart),b(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(b(t,"dragover",this),b(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Ot.splice(Ot.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!it){if(W("hideClone",this),Ft.eventCanceled)return;E(nt,"display","none"),this.options.removeCloneOnHide&&nt.parentNode&&nt.parentNode.removeChild(nt),it=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(it){if(W("showClone",this),Ft.eventCanceled)return;Z.contains(X)&&!this.options.group.revertClone?Z.insertBefore(nt,X):tt?Z.insertBefore(nt,tt):Z.appendChild(nt),this.options.group.revertClone&&this.animate(X,nt),E(nt,"display",""),it=!1}}else this._hideClone()}},kt&&v(document,"touchmove",(function(t){(Ft.active||St)&&t.cancelable&&t.preventDefault()})),Ft.utils={on:v,off:b,css:E,find:j,is:function(t,e){return!!S(t,e,t,!1)},extend:function(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},throttle:N,closest:S,toggleClass:w,clone:G,index:A,nextTick:Kt,cancelNextTick:zt,detectDirection:Mt,getChild:D},Ft.get=function(t){return t[q]},Ft.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Ft.utils=s({},Ft.utils,t.utils)),z.mount(t)}))},Ft.create=function(t,e){return new Ft(t,e)},Ft.version="1.10.2";var Vt,Wt,Yt,Xt,Qt,Jt,Zt=[],te=!1;function ee(){Zt.forEach((function(t){clearInterval(t.pid)})),Zt=[]}function ne(){clearInterval(Jt)}var ie,re=N((function(t,e,n,i){if(e.scroll){var r,o=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,a=e.scrollSensitivity,l=e.scrollSpeed,c=T(),u=!1;Wt!==n&&(Wt=n,ee(),Vt=e.scroll,r=e.scrollFn,!0===Vt&&(Vt=R(n,!0)));var d=0,h=Vt;do{var p=h,m=k(p),f=m.top,g=m.bottom,v=m.left,b=m.right,_=m.width,y=m.height,S=void 0,x=void 0,O=p.scrollWidth,w=p.scrollHeight,C=E(p),j=p.scrollLeft,I=p.scrollTop;p===c?(S=_<O&&("auto"===C.overflowX||"scroll"===C.overflowX||"visible"===C.overflowX),x=y<w&&("auto"===C.overflowY||"scroll"===C.overflowY||"visible"===C.overflowY)):(S=_<O&&("auto"===C.overflowX||"scroll"===C.overflowX),x=y<w&&("auto"===C.overflowY||"scroll"===C.overflowY));var D=S&&(Math.abs(b-o)<=a&&j+_<O)-(Math.abs(v-o)<=a&&!!j),P=x&&(Math.abs(g-s)<=a&&I+y<w)-(Math.abs(f-s)<=a&&!!I);if(!Zt[d])for(var A=0;A<=d;A++)Zt[A]||(Zt[A]={});Zt[d].vx==D&&Zt[d].vy==P&&Zt[d].el===p||(Zt[d].el=p,Zt[d].vx=D,Zt[d].vy=P,clearInterval(Zt[d].pid),0==D&&0==P||(u=!0,Zt[d].pid=setInterval(function(){i&&0===this.layer&&Ft.active._onTouchMove(Qt);var e=Zt[this.layer].vy?Zt[this.layer].vy*l:0,n=Zt[this.layer].vx?Zt[this.layer].vx*l:0;"function"==typeof r&&"continue"!==r.call(Ft.dragged.parentNode[q],n,e,t,Qt,Zt[this.layer].el)||$(Zt[this.layer].el,n,e)}.bind({layer:d}),24))),d++}while(e.bubbleScroll&&h!==c&&(h=R(h,!1)));te=u}}),30),oe=function(t){var e=t.originalEvent,n=t.putSortable,i=t.dragEl,r=t.activeSortable,o=t.dispatchSortableEvent,s=t.hideGhostForTarget,a=t.unhideGhostForTarget;if(e){var l=n||r;s();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,u=document.elementFromPoint(c.clientX,c.clientY);a(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function se(){}function ae(){}function le(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(t){var e=t.dragEl;ie=e},dragOverValid:function(t){var e=t.completed,n=t.target,i=t.onMove,r=t.activeSortable,o=t.changed,s=t.cancel;if(r.options.swap){var a=this.sortable.el,l=this.options;if(n&&n!==a){var c=ie;!1!==i(n)?(w(n,l.swapClass,!0),ie=n):ie=null,c&&c!==ie&&w(c,l.swapClass,!1)}o(),e(!0),s()}},drop:function(t){var e=t.activeSortable,n=t.putSortable,i=t.dragEl,r=n||this.sortable,o=this.options;ie&&w(ie,o.swapClass,!1),ie&&(o.swap||n&&n.options.swap)&&i!==ie&&(r.captureAnimationState(),r!==e&&e.captureAnimationState(),function(t,e){var n,i,r=t.parentNode,o=e.parentNode;if(!r||!o||r.isEqualNode(e)||o.isEqualNode(t))return;n=A(t),i=A(e),r.isEqualNode(o)&&n<i&&i++;r.insertBefore(e,r.children[n]),o.insertBefore(t,o.children[i])}(i,ie),r.animateAll(),r!==e&&e.animateAll())},nulling:function(){ie=null}},o(t,{pluginName:"swap",eventProperties:function(){return{swapItem:ie}}})}se.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=D(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(e,i):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:oe},o(se,{pluginName:"revertOnSpill"}),ae.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),n.animateAll()},drop:oe},o(ae,{pluginName:"removeOnSpill"});var ce,ue,de,he,pe,me=[],fe=[],ge=!1,ve=!1,be=!1;function _e(){function t(t){for(var e in this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this));t.options.supportPointer?v(document,"pointerup",this._deselectMultiDrag):(v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag)),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(e,n){var i="";me.length&&ue===t?me.forEach((function(t,e){i+=(e?", ":"")+t.textContent})):i=n.textContent,e.setData("Text",i)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var e=t.dragEl;de=e},delayEnded:function(){this.isMultiDrag=~me.indexOf(de)},setupClone:function(t){var e=t.sortable,n=t.cancel;if(this.isMultiDrag){for(var i=0;i<me.length;i++)fe.push(G(me[i])),fe[i].sortableIndex=me[i].sortableIndex,fe[i].draggable=!1,fe[i].style["will-change"]="",w(fe[i],this.options.selectedClass,!1),me[i]===de&&w(fe[i],this.options.chosenClass,!1);e._hideClone(),n()}},clone:function(t){var e=t.sortable,n=t.rootEl,i=t.dispatchSortableEvent,r=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||me.length&&ue===e&&(ye(!0,n),i("clone"),r()))},showClone:function(t){var e=t.cloneNowShown,n=t.rootEl,i=t.cancel;this.isMultiDrag&&(ye(!1,n),fe.forEach((function(t){E(t,"display","")})),e(),pe=!1,i())},hideClone:function(t){var e=this,n=(t.sortable,t.cloneNowHidden),i=t.cancel;this.isMultiDrag&&(fe.forEach((function(t){E(t,"display","none"),e.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)})),n(),pe=!0,i())},dragStartGlobal:function(t){t.sortable;!this.isMultiDrag&&ue&&ue.multiDrag._deselectMultiDrag(),me.forEach((function(t){t.sortableIndex=A(t)})),me=me.sort((function(t,e){return t.sortableIndex-e.sortableIndex})),be=!0},dragStarted:function(t){var e=this,n=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){me.forEach((function(t){t!==de&&E(t,"position","absolute")}));var i=k(de,!1,!0,!0);me.forEach((function(t){t!==de&&F(t,i)})),ve=!0,ge=!0}n.animateAll((function(){ve=!1,ge=!1,e.options.animation&&me.forEach((function(t){B(t)})),e.options.sort&&Se()}))}},dragOver:function(t){var e=t.target,n=t.completed,i=t.cancel;ve&&~me.indexOf(e)&&(n(!1),i())},revert:function(t){var e=t.fromSortable,n=t.rootEl,i=t.sortable,r=t.dragRect;me.length>1&&(me.forEach((function(t){i.addAnimationState({target:t,rect:ve?k(t):r}),B(t),t.fromRect=r,e.removeAnimationState(t)})),ve=!1,function(t,e){me.forEach((function(n,i){var r=e.children[n.sortableIndex+(t?Number(i):0)];r?e.insertBefore(n,r):e.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(t){var e=t.sortable,n=t.isOwner,i=t.insertion,r=t.activeSortable,o=t.parentEl,s=t.putSortable,a=this.options;if(i){if(n&&r._hideClone(),ge=!1,a.animation&&me.length>1&&(ve||!n&&!r.options.sort&&!s)){var l=k(de,!1,!0,!0);me.forEach((function(t){t!==de&&(F(t,l),o.appendChild(t))})),ve=!0}if(!n)if(ve||Se(),me.length>1){var c=pe;r._showClone(e),r.options.animation&&!pe&&c&&fe.forEach((function(t){r.addAnimationState({target:t,rect:he}),t.fromRect=he,t.thisAnimationDuration=null}))}else r._showClone(e)}},dragOverAnimationCapture:function(t){var e=t.dragRect,n=t.isOwner,i=t.activeSortable;if(me.forEach((function(t){t.thisAnimationDuration=null})),i.options.animation&&!n&&i.multiDrag.isMultiDrag){he=o({},e);var r=C(de,!0);he.top-=r.f,he.left-=r.e}},dragOverAnimationComplete:function(){ve&&(ve=!1,Se())},drop:function(t){var e=t.originalEvent,n=t.rootEl,i=t.parentEl,r=t.sortable,o=t.dispatchSortableEvent,s=t.oldIndex,a=t.putSortable,l=a||this.sortable;if(e){var c=this.options,u=i.children;if(!be)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),w(de,c.selectedClass,!~me.indexOf(de)),~me.indexOf(de))me.splice(me.indexOf(de),1),ce=null,V({sortable:r,rootEl:n,name:"deselect",targetEl:de,originalEvt:e});else{if(me.push(de),V({sortable:r,rootEl:n,name:"select",targetEl:de,originalEvt:e}),e.shiftKey&&ce&&r.el.contains(ce)){var d,h,p=A(ce),m=A(de);if(~p&&~m&&p!==m)for(m>p?(h=p,d=m):(h=m,d=p+1);h<d;h++)~me.indexOf(u[h])||(w(u[h],c.selectedClass,!0),me.push(u[h]),V({sortable:r,rootEl:n,name:"select",targetEl:u[h],originalEvt:e}))}else ce=de;ue=l}if(be&&this.isMultiDrag){if((i[q].options.sort||i!==n)&&me.length>1){var f=k(de),g=A(de,":not(."+this.options.selectedClass+")");if(!ge&&c.animation&&(de.thisAnimationDuration=null),l.captureAnimationState(),!ge&&(c.animation&&(de.fromRect=f,me.forEach((function(t){if(t.thisAnimationDuration=null,t!==de){var e=ve?k(t):f;t.fromRect=e,l.addAnimationState({target:t,rect:e})}}))),Se(),me.forEach((function(t){u[g]?i.insertBefore(t,u[g]):i.appendChild(t),g++})),s===A(de))){var v=!1;me.forEach((function(t){t.sortableIndex===A(t)||(v=!0)})),v&&o("update")}me.forEach((function(t){B(t)})),l.animateAll()}ue=l}(n===i||a&&"clone"!==a.lastPutMode)&&fe.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=be=!1,fe.length=0},destroyGlobal:function(){this._deselectMultiDrag(),b(document,"pointerup",this._deselectMultiDrag),b(document,"mouseup",this._deselectMultiDrag),b(document,"touchend",this._deselectMultiDrag),b(document,"keydown",this._checkKeyDown),b(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(void 0!==be&&be||ue!==this.sortable||t&&S(t.target,this.options.draggable,this.sortable.el,!1)||t&&0!==t.button))for(;me.length;){var e=me[0];w(e,this.options.selectedClass,!1),me.shift(),V({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[q];e&&e.options.multiDrag&&!~me.indexOf(t)&&(ue&&ue!==e&&(ue.multiDrag._deselectMultiDrag(),ue=e),w(t,e.options.selectedClass,!0),me.push(t))},deselect:function(t){var e=t.parentNode[q],n=me.indexOf(t);e&&e.options.multiDrag&&~n&&(w(t,e.options.selectedClass,!1),me.splice(n,1))}},eventProperties:function(){var t=this,e=[],n=[];return me.forEach((function(i){var r;e.push({multiDragElement:i,index:i.sortableIndex}),r=ve&&i!==de?-1:ve?A(i,":not(."+t.options.selectedClass+")"):A(i),n.push({multiDragElement:i,index:r})})),{items:l(me),clones:[].concat(fe),oldIndicies:e,newIndicies:n}},optionListeners:{multiDragKey:function(t){return"ctrl"===(t=t.toLowerCase())?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function ye(t,e){fe.forEach((function(n,i){var r=e.children[n.sortableIndex+(t?Number(i):0)];r?e.insertBefore(n,r):e.appendChild(n)}))}function Se(){me.forEach((function(t){t!==de&&t.parentNode&&t.parentNode.removeChild(t)}))}Ft.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var e=t.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):e.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var e=t.originalEvent;this.options.dragOverBubble||e.rootEl||this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),ne(),ee(),clearTimeout(x),x=void 0},nulling:function(){Qt=Wt=Vt=te=Jt=Yt=Xt=null,Zt.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,e){var n=this,i=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,o=document.elementFromPoint(i,r);if(Qt=t,e||d||u||p){re(t,this.options,o,e);var s=R(o,!0);!te||Jt&&i===Yt&&r===Xt||(Jt&&ne(),Jt=setInterval((function(){var o=R(document.elementFromPoint(i,r),!0);o!==s&&(s=o,ee()),re(t,n.options,o,e)}),10),Yt=i,Xt=r)}else{if(!this.options.bubbleScroll||R(o,!0)===T())return void ee();re(t,this.options,R(o,!1),!1)}}},o(t,{pluginName:"scroll",initializeByDefault:!0})}),Ft.mount(ae,se),e.default=Ft},"3fen":function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return d}));var i=n("6npM"),r=n.n(i),o=n("lx39"),s=n.n(o);const a=t=>Boolean(t)&&(s()(t.value)||r()(t.value)),l=function(){let{options:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(t)&&t.every(a)},c=t=>t.length===new Set(t).size,u=t=>t.flatMap(t=>a(t)?t:t.options),d=t=>(t=>t.every(a)||t.every(l))(t)&&(t=>c(u(t).map(t=>{let{value:e}=t;return e})))(t)&&(t=>c(t.filter(l).map(t=>{let{text:e}=t;return e})))(t)},"3lQS":function(t,e,n){"use strict";var i=n("tbP8"),r=n("FxFN"),o=n("5c3i"),s={components:{GlAvatar:i.a},props:{projectId:{type:[Number,String],default:0,required:!1,validator:t=>"string"!=typeof t||Object(r.i)(t)},projectName:{type:String,required:!0},projectAvatarUrl:{type:String,required:!1,default:""},size:{type:Number,default:32,required:!1},alt:{type:String,required:!1,default:void 0}},computed:{avatarAlt(){var t;return null!==(t=this.alt)&&void 0!==t?t:this.projectName},entityId(){return Object(r.i)(this.projectId)?Object(r.f)(this.projectId):this.projectId}},AVATAR_SHAPE_OPTION_RECT:o.a},a=n("tBpV"),l=Object(a.a)(s,(function(){return(0,this._self._c)("gl-avatar",{attrs:{shape:this.$options.AVATAR_SHAPE_OPTION_RECT,"entity-id":this.entityId,"entity-name":this.projectName,src:this.projectAvatarUrl,alt:this.avatarAlt,size:this.size,"fallback-on-error":!0,itemprop:"image"}})}),[],!1,null,null,null);e.a=l.exports},"4bVg":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i="display-whats-new-notification"},"59DU":function(t,e){t.exports=function(t){return null==t}},A2UA:function(t,e,n){"use strict";var i=n("7xOh");e.a=Object(i.a)()},B3M1:function(t,e,n){"use strict";n("ZzK0"),n("z6RN"),n("BzOf");var i={name:"ScrollScrim",data:()=>({topBoundaryVisible:!0,bottomBoundaryVisible:!0}),computed:{scrimClasses(){return{"top-scrim-visible gl-border-t":!this.topBoundaryVisible,"bottom-scrim-visible gl-border-b":!this.bottomBoundaryVisible}}},mounted(){this.observeScroll()},beforeDestroy(){var t;null===(t=this.scrollObserver)||void 0===t||t.disconnect()},methods:{observeScroll(){var t,e=this;const n={rootMargin:"8px",root:this.$el,threshold:1};null===(t=this.scrollObserver)||void 0===t||t.disconnect();const i=new IntersectionObserver((function(t){t.forEach((function(t){var n;e[null===(n=t.target)||void 0===n?void 0:n.$__visibilityProp]=t.isIntersecting}))}),n),r=this.$refs["top-boundary"],o=this.$refs["bottom-boundary"];r.$__visibilityProp="topBoundaryVisible",i.observe(r),o.$__visibilityProp="bottomBoundaryVisible",i.observe(o),this.scrollObserver=i}}},r=n("tBpV"),o=Object(r.a)(i,(function(){var t=this._self._c;return t("div",{staticClass:"gl-scroll-scrim gl-overflow-auto",class:this.scrimClasses},[this._m(0),this._v(" "),t("div",{ref:"top-boundary"}),this._v(" "),this._t("default"),this._v(" "),t("div",{ref:"bottom-boundary"}),this._v(" "),this._m(1)],2)}),[function(){var t=this._self._c;return t("div",{staticClass:"top-scrim-wrapper"},[t("div",{staticClass:"top-scrim"})])},function(){var t=this._self._c;return t("div",{staticClass:"bottom-scrim-wrapper"},[t("div",{staticClass:"bottom-scrim"})])}],!1,null,null,null);e.a=o.exports},DbBu:function(t,e,n){var i=n("5N3H"),r=n("rRem"),o=n("J0jI"),s=RegExp("['’]","g");t.exports=function(t){return function(e){return i(o(r(e).replace(s,"")),t,"")}}},Eqlq:function(t,e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CurrentUserFrecentGroups"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"frecentGroups"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"namespace"},name:{kind:"Name",value:"fullName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avatarUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fullPath"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:124}};n.loc.source={body:"query CurrentUserFrecentGroups {\n  frecentGroups {\n    id\n    name\n    namespace: fullName\n    avatarUrl\n    fullPath\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function r(t,e){for(var n=0;n<t.definitions.length;n++){var i=t.definitions[n];if(i.name&&i.name.value==e)return i}}n.definitions.forEach((function(t){if(t.name){var e=new Set;!function t(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}(t,e),i[t.name.value]=e}})),t.exports=n,t.exports.CurrentUserFrecentGroups=function(t,e){var n={kind:t.kind,definitions:[r(t,e)]};t.hasOwnProperty("loc")&&(n.loc=t.loc);var o=i[e]||new Set,s=new Set,a=new Set;for(o.forEach((function(t){a.add(t)}));a.size>0;){var l=a;a=new Set,l.forEach((function(t){s.has(t)||(s.add(t),(i[t]||new Set).forEach((function(t){a.add(t)})))}))}return s.forEach((function(e){var i=r(t,e);i&&n.definitions.push(i)})),n}(n,"CurrentUserFrecentGroups")},"F/pm":function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"f",(function(){return s})),n.d(e,"n",(function(){return a})),n.d(e,"m",(function(){return l})),n.d(e,"h",(function(){return c})),n.d(e,"k",(function(){return u})),n.d(e,"g",(function(){return d})),n.d(e,"a",(function(){return h})),n.d(e,"j",(function(){return p})),n.d(e,"i",(function(){return m})),n.d(e,"l",(function(){return f})),n.d(e,"e",(function(){return g}));const i="project",r="group",o="subgroup",s=32,a=16,l=2,c="search-input-description",u="search-results-description",d=36,h=["generic","search"],p="super-sidebar-search-modal",m='input[role="searchbox"]',f=".gl-new-dropdown-item",g="KeyK"},GAJI:function(t,e,n){(t.exports=n("VNgF")(!1)).push([t.i,"\n.fake-input[data-v-f5f79d4c] {\n  position: absolute;\n  top: 14px;\n  left: 39px;\n}\n",""])},I4EJ:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"J",(function(){return o})),n.d(e,"x",(function(){return s})),n.d(e,"i",(function(){return a})),n.d(e,"v",(function(){return l})),n.d(e,"F",(function(){return c})),n.d(e,"G",(function(){return u})),n.d(e,"H",(function(){return d})),n.d(e,"b",(function(){return h})),n.d(e,"B",(function(){return p})),n.d(e,"D",(function(){return m})),n.d(e,"C",(function(){return f})),n.d(e,"e",(function(){return g})),n.d(e,"I",(function(){return v})),n.d(e,"t",(function(){return b})),n.d(e,"w",(function(){return _})),n.d(e,"f",(function(){return y})),n.d(e,"h",(function(){return S})),n.d(e,"u",(function(){return x})),n.d(e,"E",(function(){return O})),n.d(e,"l",(function(){return w})),n.d(e,"k",(function(){return E})),n.d(e,"m",(function(){return C})),n.d(e,"y",(function(){return j})),n.d(e,"z",(function(){return T})),n.d(e,"A",(function(){return k})),n.d(e,"g",(function(){return I})),n.d(e,"j",(function(){return D})),n.d(e,"n",(function(){return P})),n.d(e,"s",(function(){return A})),n.d(e,"q",(function(){return M})),n.d(e,"r",(function(){return R})),n.d(e,"o",(function(){return L})),n.d(e,"p",(function(){return N})),n.d(e,"d",(function(){return $})),n.d(e,"c",(function(){return G}));var i=n("/lV4");const r=">",o="@",s=":",a="#",l="~",c="activate_command_palette",u="click_command_palette_item",d={[r]:"command",[o]:"user",[s]:"project",[l]:"path"},h=[r,o,s,l],p=Object(i.sprintf)(Object(i.s__)("CommandPalette|Type %{commandHandle} for command, %{userHandle} for user, %{projectHandle} for project, %{pathHandle} for project file, or perform generic search..."),{commandHandle:r,userHandle:o,issueHandle:a,projectHandle:s,pathHandle:l},!1),m={[r]:Object(i.s__)("CommandPalette|command"),[o]:Object(i.s__)("CommandPalette|user (enter at least 3 chars)"),[s]:Object(i.s__)("CommandPalette|project (enter at least 3 chars)"),[a]:Object(i.s__)("CommandPalette|issue (enter at least 3 chars)"),[l]:Object(i.s__)("CommandPalette|go to project file")},f={[o]:"users",[s]:"projects",[a]:"issues"},g=Object(i.s__)("CommandPalette|Global Commands"),v=Object(i.s__)("GlobalSearch|Users"),b=Object(i.s__)("CommandPalette|Pages"),_=Object(i.s__)("GlobalSearch|Projects"),y=Object(i.s__)("GlobalSearch|Groups"),S=Object(i.s__)("GlobalSearch|Issues"),x=Object(i.s__)("CommandPalette|Project files"),O=Object(i.s__)("CommandPalette|Settings"),w="esc",E="backdrop",C="headerclose",j="scoped-in-all",T="scoped-in-group",k="scoped-in-project",I={[o]:v,[s]:_,[a]:S,[l]:x},D=20,P=Object(i.s__)("GlobalSearch|Change context %{kbdStart}↵%{kbdEnd}"),A=Object(i.s__)("GlobalSearch|Search %{kbdStart}↵%{kbdEnd}"),M=Object(i.s__)("GlobalSearch|Go to profile %{kbdStart}↵%{kbdEnd}"),R=Object(i.s__)("GlobalSearch|Go to project %{kbdStart}↵%{kbdEnd}"),L=Object(i.s__)("GlobalSearch|Go to file %{kbdStart}↵%{kbdEnd}"),N=Object(i.s__)("GlobalSearch|Go to %{kbdStart}↵%{kbdEnd}"),$="FREQUENTLY_VISITED_PROJECTS_HANDLE",G="FREQUENTLY_VISITED_GROUPS_HANDLE"},IAil:function(t,e,n){var i=n("ERvI")({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"});t.exports=i},J0jI:function(t,e,n){var i=n("JIXF"),r=n("lxj7"),o=n("rhmX"),s=n("qxsN");t.exports=function(t,e,n){return t=o(t),void 0===(e=n?void 0:e)?r(t)?s(t):i(t):t.match(e)||[]}},JIXF:function(t,e){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(n)||[]}},LgEk:function(t,e,n){"use strict";n.r(e);var i=n("4lAS"),r=n("MV2A"),o=n("wP8z"),s=n("XiQx"),a=n("/lV4"),l=n("A2UA"),c=n("i7S8"),u={components:{GlButton:i.a,GlLink:r.a,GlDropdownItem:o.a,GlDisclosureDropdownItem:s.b},props:{displayText:{type:String,required:!1,default:Object(a.s__)("InviteMembers|Invite team members")},icon:{type:String,required:!1,default:""},classes:{type:String,required:!1,default:""},variant:{type:String,required:!1,default:void 0},category:{type:String,required:!1,default:void 0},triggerSource:{type:String,required:!0},triggerElement:{type:String,required:!1,default:"button"}},computed:{componentAttributes(){return{class:this.classes,"data-testid":"invite-members-button"}},item(){return{text:this.displayText}},isButtonTrigger(){return this.triggerElement===c.F},isWithEmojiTrigger(){return this.triggerElement===c.I},isDropdownWithEmojiTrigger(){return this.triggerElement===c.H},isDisclosureTrigger(){return this.triggerElement===c.G}},methods:{openModal(){l.a.$emit("openModal",{source:this.triggerSource})},handleDisclosureDropdownAction(){this.openModal(),this.$emit("modal-opened")}}},d=n("tBpV"),h=Object(d.a)(u,(function(){var t=this,e=t._self._c;return t.isButtonTrigger?e("gl-button",t._b({attrs:{variant:t.variant,category:t.category,icon:t.icon},on:{click:t.openModal}},"gl-button",t.componentAttributes,!1),[t._v("\n  "+t._s(t.displayText)+"\n")]):t.isWithEmojiTrigger?e("gl-link",t._b({on:{click:t.openModal}},"gl-link",t.componentAttributes,!1),[t._v("\n  "+t._s(t.displayText)+"\n  "),e("gl-emoji",{staticClass:"gl-mr-1 gl-align-baseline gl-text-size-reset",attrs:{"data-name":t.icon}})],1):t.isDropdownWithEmojiTrigger?e("gl-dropdown-item",t._b({on:{click:t.openModal}},"gl-dropdown-item",t.componentAttributes,!1),[t._v("\n  "+t._s(t.displayText)+"\n  "),e("gl-emoji",{staticClass:"gl-mr-1 gl-align-baseline gl-text-size-reset",attrs:{"data-name":t.icon}})],1):t.isDisclosureTrigger?e("gl-disclosure-dropdown-item",t._b({attrs:{item:t.item},on:{action:t.handleDisclosureDropdownAction}},"gl-disclosure-dropdown-item",t.componentAttributes,!1)):e("gl-link",t._b({attrs:{"data-is-link":"true"},on:{click:t.openModal}},"gl-link",t.componentAttributes,!1),[t._v("\n  "+t._s(t.displayText)+"\n")])}),[],!1,null,null,null);e.default=h.exports},Mq5L:function(t,e,n){"use strict";n.d(e,"a",(function(){return _}));var i=n("3hkr"),r=n("CU79"),o=n("n6Wd"),s=n("oTzT"),a=n("ZdEn"),l=n("gZSI"),c=n("VuSA"),u=n("J6+d"),d=n("h4pE");const h=Object(a.d)(i.M,r.L),p="__bv_modal_directive__",m=t=>{let{modifiers:e={},arg:n,value:i}=t;return Object(l.m)(i)?i:Object(l.m)(n)?n:Object(c.h)(e).reverse()[0]},f=t=>t&&Object(s.v)(t,".dropdown-menu > li, li.nav-item")&&Object(s.C)("a, button",t)||t,g=t=>{t&&"BUTTON"!==t.tagName&&(Object(s.o)(t,"role")||Object(s.E)(t,"role","button"),"A"===t.tagName||Object(s.o)(t,"tabindex")||Object(s.E)(t,"tabindex","0"))},v=t=>{const e=t[p]||{},n=e.trigger,i=e.handler;n&&i&&(Object(a.a)(n,"click",i,r.R),Object(a.a)(n,"keydown",i,r.R),Object(a.a)(t,"click",i,r.R),Object(a.a)(t,"keydown",i,r.R)),delete t[p]},b=(t,e,n)=>{const i=t[p]||{},l=m(e),c=f(t);l===i.target&&c===i.trigger||(v(t),((t,e,n)=>{const i=m(e),l=f(t);if(i&&l){const c=t=>{const r=t.currentTarget;if(!Object(s.r)(r)){const s=t.type,a=t.keyCode;"click"!==s&&("keydown"!==s||a!==o.c&&a!==o.h)||Object(u.a)(Object(d.a)(n,e)).$emit(h,i,r)}};t[p]={handler:c,target:i,trigger:l},g(l),Object(a.b)(l,"click",c,r.R),"BUTTON"!==l.tagName&&"button"===Object(s.h)(l,"role")&&Object(a.b)(l,"keydown",c,r.R)}})(t,e,n)),g(c)},_={inserted:b,updated:()=>{},componentUpdated:b,unbind:v}},S3Ko:function(t,e,n){var i=n("iuXX"),r=n("etTJ"),o=n("UfSc"),s=parseFloat,a=Math.min,l=Math.random;t.exports=function(t,e,n){if(n&&"boolean"!=typeof n&&r(t,e,n)&&(e=n=void 0),void 0===n&&("boolean"==typeof e?(n=e,e=void 0):"boolean"==typeof t&&(n=t,t=void 0)),void 0===t&&void 0===e?(t=0,e=1):(t=o(t),void 0===e?(e=t,t=0):e=o(e)),t>e){var c=t;t=e,e=c}if(n||t%1||e%1){var u=l();return a(t+u*(e-t+s("1e-"+((u+"").length-1))),e)}return i(t,e)}},YYYz:function(t,e,n){"use strict";n.r(e);n("eJ0a");var i=n("3CjL"),r=n.n(i),o=n("Tmea"),s=n.n(o),a=(n("aFm2"),n("z6RN"),n("R9qC"),n("iN9h")),l=n("1cpz"),c=n("yi8e"),u=n("ygVz"),d=n("3twG"),h=n("GuZl"),p=n("/lV4"),m=n("5tFN"),f=n("gr1G"),g=n("tTlX"),v=n("JTkt"),b=n("B3M1"),_=n("dowq");var y=n("F/pm"),S=(n("3UXl"),n("iyoE"),n("RFHG"),n("xuo1"),n("UezY"),n("hG7+"),n("v2fZ"),n("PxiM")),x=n.n(S),O=n("fSQg"),w=n("FkSe"),E=n("7F3p"),C=n("2ibD"),j=n("8Igx"),T=n("h2IV");var k=n("I4EJ"),I=n("tbP8"),D=n("s1D3"),P=n("Mp8J"),A=n("Htnb"),M=n("5c3i"),R={name:"CommandPaletteSearchItem",components:{GlAvatar:I.a,GlIcon:D.a},directives:{SafeHtml:P.a},props:{item:{type:Object,required:!0},searchQuery:{type:String,required:!0}},computed:{highlightedName(){return Object(A.a)(this.item.text,this.searchQuery)}},AVATAR_SHAPE_OPTION_RECT:M.a},L=n("tBpV"),N=Object(L.a)(R,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"gl-flex gl-items-center"},[void 0!==t.item.avatar_url?e("gl-avatar",{staticClass:"gl-mr-3",attrs:{src:t.item.avatar_url,"entity-id":t.item.entity_id,"entity-name":t.item.entity_name,size:t.item.avatar_size,shape:t.$options.AVATAR_SHAPE_OPTION_RECT,"aria-hidden":"true"}}):t._e(),t._v(" "),t.item.icon?e("gl-icon",{staticClass:"gl-mr-3 gl-shrink-0",attrs:{name:t.item.icon}}):t._e(),t._v(" "),e("span",{staticClass:"gl-flex gl-flex-col"},[e("span",{directives:[{name:"safe-html",rawName:"v-safe-html",value:t.highlightedName,expression:"highlightedName"}],staticClass:"gl-text-gray-900"}),t._v(" "),t.item.namespace?e("span",{directives:[{name:"safe-html",rawName:"v-safe-html",value:t.item.namespace,expression:"item.namespace"}],staticClass:"gl-text-sm gl-text-gray-500"}):t._e()])],1)}),[],!1,null,null,null).exports,$=n("nUKU"),G=n.n($),F=n("59DU"),B=n.n(F),q=n("3cHC");const H=function({name:t,items:e}){return{name:t||k.e,items:e.filter((function({component:t}){return"invite_members"!==t}))}},U=function(t,e){var n;const i=function({id:t,title:e}){return{extraAttrs:{"data-track-action":k.G,"data-track-label":t||q.x,...t?{}:{"data-track-extra":JSON.stringify({title:e})}}}};if(t.push({text:e.title,keywords:e.title,icon:e.icon,href:e.link,...i(e)}),null!==(n=e.items)&&void 0!==n&&n.length){const n=e.items.map((function(t){return{keywords:t.title,text:[e.title,t.title].join(" > "),href:t.link,icon:e.icon,...i(t)}}));t=[...t,...n]}return t},K=function(t,e){return{icon:"doc-code",text:e,href:Object(d.k)(Object(d.B)(t,e)),extraAttrs:{"data-track-action":k.G,"data-track-label":"file"}}},z=u.a.mixin();var V={name:"CommandPaletteItems",components:{GlDisclosureDropdownGroup:O.a,GlLoadingIcon:w.a,SearchItem:N},mixins:[u.b.mixin(),z],inject:["commandPaletteCommands","commandPaletteLinks","autocompletePath","settingsPath","searchContext","projectFilesPath","projectBlobPath"],props:{searchQuery:{type:String,required:!0},handle:{type:String,required:!0,validator:function(t){return[...k.b,k.v].includes(t)}}},data:function(){return{groups:[],loading:!1,projectFiles:[],debouncedSearch:s()((function(){switch(this.handle){case k.a:this.getCommandsAndPages();break;case k.J:case k.x:case k.i:this.getScopedItems();break;case k.v:this.getProjectFiles()}}),h.h),settings:[]}},computed:{isCommandMode(){return this.handle===k.a},isPathMode(){return this.handle===k.v},commands(){return this.commandPaletteCommands.map(H)},links(){return this.commandPaletteLinks.reduce(U,[])},filteredCommands(){var t=this;return this.searchQuery?this.commands.map((function({name:e,items:n}){return{name:e,items:t.filterBySearchQuery(n,"text")}})).filter((function({items:t}){return t.length})):this.commands},hasResults(){var t;return(null===(t=this.groups)||void 0===t?void 0:t.length)&&this.groups.some((function(t){var e;return null===(e=t.items)||void 0===e?void 0:e.length}))},hasSearchQuery(){var t,e;return this.isCommandMode||this.isPathMode?(null===(e=this.searchQuery)||void 0===e?void 0:e.length)>0:(null===(t=this.searchQuery)||void 0===t?void 0:t.length)>2},searchTerm(){return this.handle===k.i?`${k.i}${this.searchQuery}`:this.searchQuery},filteredProjectFiles(){return this.searchQuery?this.filterBySearchQuery(this.projectFiles,"text").slice(0,k.j):this.projectFiles.slice(0,k.j)}},watch:{searchQuery:{handler(){this.debouncedSearch()},immediate:!0},handle:{handler(t,e){var n;void 0!==e&&this.debouncedSearch();const i=null!==(n=k.H[t])&&void 0!==n?n:"unknown";this.track(k.F,{label:i}),t===k.a&&this.fetchSettings()},immediate:!0}},updated(){this.$emit("updated")},methods:{fetchSettings(){var t,e,n=this;let i=null;const r=null===(t=this.searchContext.project)||void 0===t?void 0:t.id,o=null===(e=this.searchContext.group)||void 0===e?void 0:e.id;if(r)i=`${this.settingsPath}?project_id=${r}`;else{if(!o)return void(this.settings=[]);i=`${this.settingsPath}?group_id=${o}`}C.a.get(i).then((function(t){n.settings=t.data})).catch((function(t){Object(j.a)(t),n.settings=[]}))},filterBySearchQuery(t,e="keywords"){return x.a.filter(t,this.searchQuery,{key:e})},async getProjectFiles(){if(!this.projectFiles.length){this.loading=!0;try{const t=await C.a.get(this.projectFilesPath);this.projectFiles=null==t?void 0:t.data.map(K.bind(null,this.projectBlobPath))}catch(t){E.a(t)}finally{this.loading=!1}}this.groups=[{name:k.u,items:this.filteredProjectFiles}]},getCommandsAndPages(){if(!this.searchQuery)return void(this.groups=[...this.commands]);this.groups=[...this.filteredCommands];const t=this.filterBySearchQuery(this.links);t.length&&this.groups.push({name:k.t,items:t});const e=this.filterBySearchQuery(this.settings,"text");e.length&&this.groups.push({name:k.E,items:e})},async getScopedItems(){var t;if(!((null===(t=this.searchQuery)||void 0===t?void 0:t.length)<3)){this.loading=!0;try{var e;const t=await C.a.get(function({path:t,searchTerm:e,handle:n,projectId:i}){const r=G()({term:e,project_id:i,filter:"search",scope:k.C[n]},B.a);return`${t}?${Object(d.D)(r)}`}({path:this.autocompletePath,searchTerm:this.searchTerm,handle:this.handle,projectId:null===(e=this.searchContext.project)||void 0===e?void 0:e.id}));this.groups=[{name:k.g[this.handle],items:t.data.map(T.b)}]}catch(t){E.a(t)}finally{this.loading=!1}}},trackingCommands({text:t}){var e;if(!this.isCommandMode||null===(e=this.searchContext.project)||void 0===e||!e.id)return;this.settings.some((function(e){return e.text===t}))&&this.trackEvent("click_project_setting_in_command_palette",{label:t})}}},W=Object(L.a)(V,(function(){var t=this,e=t._self._c;return e("div",[t.loading?e("gl-loading-icon",{staticClass:"gl-my-5",attrs:{size:"lg"}}):t.hasResults?e("ul",{staticClass:"gl-m-0 gl-list-none gl-p-0"},t._l(t.groups,(function(n,i){return e("gl-disclosure-dropdown-group",{key:i,class:{"!gl-mt-0":0===i},attrs:{group:n,bordered:""},on:{action:t.trackingCommands},scopedSlots:t._u([{key:"list-item",fn:function({item:n}){return[e("search-item",{attrs:{item:n,"search-query":t.searchQuery}})]}}],null,!0)})})),1):t.hasSearchQuery&&!t.hasResults?e("div",{staticClass:"gl-py-3 gl-pl-5 gl-text-gray-700"},[t._v("\n    "+t._s(t.__("No results found"))+"\n  ")]):t._e()],1)}),[],!1,null,null,null).exports,Y={name:"FakeSearchInput",props:{userInput:{type:String,required:!0},scope:{type:String,required:!0,validator:function(t){return[...k.b,k.v].includes(t)}}},computed:{placeholder(){return k.D[this.scope]}}},X=n("LPAU"),Q=n.n(X),J=n("GAJI"),Z=n.n(J),tt={insert:"head",singleton:!1},et=(Q()(Z.a,tt),Z.a.locals,Object(L.a)(Y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"fake-input gl-pointer-events-none gl-flex"},[e("span",{staticClass:"gl-opacity-0",attrs:{"data-testid":"search-scope"}},[t._v(t._s(t.scope)+" ")]),t._v(" "),t.userInput?t._e():e("span",{staticClass:"gl-pointer-events-none gl-text-gray-500",attrs:{"data-testid":"search-scope-placeholder"}},[t._v(t._s(t.placeholder))])])}),[],!1,null,"f5f79d4c",null).exports),nt=n("S3Ko"),it=n.n(nt),rt=n("30su"),ot=n("R0j4"),st={name:"CommandPaletteLottery",components:{GlSprintf:rt.a},directives:{SafeHtml:ot.a},i18n:[Object(p.s__)("GlobalSearch|Type %{linkStart}@%{linkEnd} to search for users"),Object(p.s__)("GlobalSearch|Type %{linkStart}&gt;%{linkEnd} to search for pages or actions"),Object(p.s__)("GlobalSearch|Type %{linkStart}:%{linkEnd} to search for projects"),Object(p.s__)("GlobalSearch|Type %{linkStart}t%{linkEnd} to search for files")],computed:{getTipNum(){const t=this.$options.i18n.length-1;return it()(0,t)}}},at=Object(L.a)(st,(function(){var t=this,e=t._self._c;return e("span",[e("gl-sprintf",{attrs:{message:t.$options.i18n[t.getTipNum]},scopedSlots:t._u([{key:"link",fn:function({content:n}){return[e("kbd",{directives:[{name:"safe-html",rawName:"v-safe-html",value:n,expression:"content"}],staticClass:"vertical-align-normalization gl-py-2 gl-text-base"},[t._v(t._s(n))])]}}])})],1)}),[],!1,null,null,null).exports,lt=n("crTv"),ct=n("xPX6");const ut=u.a.mixin();var dt={name:"CommandsOverviewDropdown",components:{GlCollapsibleListbox:lt.a,GlSprintf:rt.a},mixins:[ut],i18n:{header:Object(p.s__)("GlobalSearch|I'm looking for"),button:Object(p.s__)("GlobalSearch|Commands %{superKey} %{link2Start}k%{link2End}")},props:{items:{type:Array,required:!0}},computed:{modKey:()=>Object(ct.g)(!0)},methods:{emitSelected(t){this.$emit("selected",t)},emitHidden(){this.$emit("hidden")},open(){this.$refs.commandsDropdown.open()},close(){this.$refs.commandsDropdown.close()}},EVENT_CLICK_COMMANDS_SUB_MENU_IN_COMMAND_PALETTE:"click_commands_sub_menu_in_command_palette"},ht=Object(L.a)(dt,(function(){var t=this,e=t._self._c;return e("div",[e("gl-collapsible-listbox",{ref:"commandsDropdown",attrs:{items:t.items,"header-text":t.$options.i18n.header,category:"tertiary"},on:{select:t.emitSelected,shown:function(e){return t.trackEvent(t.$options.EVENT_CLICK_COMMANDS_SUB_MENU_IN_COMMAND_PALETTE)},hidden:t.emitHidden},scopedSlots:t._u([{key:"toggle",fn:function(){return[e("button",{staticClass:"gl-rounded-base gl-border-0"},[e("gl-sprintf",{attrs:{message:t.$options.i18n.button},scopedSlots:t._u([{key:"superKey",fn:function(){return[e("kbd",{staticClass:"vertical-align-normalization gl-py-2 gl-text-base"},[t._v(t._s(t.modKey))])]},proxy:!0},{key:"link2",fn:function({content:n}){return[e("kbd",{staticClass:"vertical-align-normalization gl-py-2 gl-text-base"},[t._v(t._s(n))])]}}])})],1)]},proxy:!0},{key:"header",fn:function(){return[e("span",{staticClass:"gl-border-b-1 gl-border-dropdown gl-p-4 gl-border-b-solid"},[t._v("\n        "+t._s(t.$options.i18n.header)+"\n      ")])]},proxy:!0},{key:"list-item",fn:function({item:n}){return[e("span",{staticClass:"gl-flex gl-items-center gl-justify-between"},[e("span",{attrs:{"data-testid":"listbox-item-text"}},[t._v(t._s(n.text))]),t._v(" "),e("kbd",[t._v(t._s(n.value))])])]}}])})],1)}),[],!1,null,null,null).exports,pt=n("dsWN"),mt={name:"SearchResultHoverLayover",components:{GlSprintf:rt.a},props:{textMessage:{type:String,required:!0}}},ft=Object(L.a)(mt,(function(){var t=this,e=t._self._c;return e("span",{staticClass:"gl-flex gl-min-w-0 gl-items-center gl-justify-between gl-gap-3"},[e("span",{staticClass:"gl-flex gl-min-w-0 gl-grow gl-gap-3"},[t._t("default")],2),t._v(" "),e("span",{staticClass:"show-hover-layover-hint gl-hidden gl-items-center gl-justify-end gl-opacity-0 sm:gl-flex"},[e("span",{staticClass:"gl-whitespace-nowrap gl-text-gray-700",attrs:{"data-testid":"overlay-message"}},[e("gl-sprintf",{attrs:{message:t.textMessage},scopedSlots:t._u([{key:"kbd",fn:function({content:n}){return[e("kbd",{staticClass:"vertical-align-normalization gl-pb-3 gl-align-middle gl-text-base"},[t._v("\n            "+t._s(n)+"\n          ")])]}}])})],1)])])}),[],!1,null,null,null).exports,gt={name:"GlobalSearchNoResults",i18n:{NO_SEARCH_RESULTS:f.A}},vt=Object(L.a)(gt,(function(){var t=this._self._c;return t("ul",{staticClass:"gl-m-0 gl-list-none gl-p-0"},[t("li",{staticClass:"command-palette-px gl-py-5 gl-text-primary"},[this._v("\n    "+this._s(this.$options.i18n.NO_SEARCH_RESULTS)+"\n  ")])])}),[],!1,null,null,null).exports;const bt=u.a.mixin();var _t={name:"GlobalSearchAutocompleteItems",i18n:{AUTOCOMPLETE_ERROR_MESSAGE:f.b,NO_SEARCH_RESULTS:f.A,OVERLAY_GOTO:k.p,OVERLAY_PROFILE:k.q,OVERLAY_PROJECT:k.r,OVERLAY_FILE:k.o,USERS_GROUP_TITLE:k.I,PROJECTS_GROUP_TITLE:k.w,ISSUES_GROUP_TITLE:k.h,PAGES_GROUP_TITLE:k.t,GROUPS_GROUP_TITLE:k.f,MERGE_REQUESTS_GROUP_TITLE:Object(p.s__)("GlobalSearch|Merge requests"),RECENT_ISSUES_GROUP_TITLE:Object(p.s__)("GlobalSearch|Recent issues"),RECENT_EPICS_GROUP_TITLE:Object(p.s__)("GlobalSearch|Recent epics"),RECENT_MERGE_REQUESTS_GROUP_TITLE:Object(p.s__)("GlobalSearch|Recent merge requests")},components:{GlAvatar:I.a,GlAlert:pt.a,GlLoadingIcon:w.a,GlDisclosureDropdownGroup:O.a,SearchResultHoverLayover:ft,GlobalSearchNoResults:vt},directives:{SafeHtml:P.a},mixins:[bt],computed:{...Object(c.f)(["search","loading","autocompleteError"]),...Object(c.d)(["autocompleteGroupedSearchOptions","scopedSearchOptions"]),groups(){return this.autocompleteGroupedSearchOptions.map((function(t){var e;return{name:null==t?void 0:t.name,items:null==t||null===(e=t.items)||void 0===e?void 0:e.map((function(t){return{...t,extraAttrs:{class:"show-hover-layover gl-flex gl-items-center gl-justify-between"}}}))}}))},hasResults(){var t;return(null===(t=this.autocompleteGroupedSearchOptions)||void 0===t?void 0:t.length)>0},hasNoResults(){return!this.hasResults&&!this.autocompleteError}},methods:{highlightedName(t){return Object(A.a)(t,this.search)},overlayText(t){let e=k.p;switch(t){case this.$options.i18n.USERS_GROUP_TITLE:e=this.$options.i18n.OVERLAY_PROFILE;break;case this.$options.i18n.PROJECTS_GROUP_TITLE:e=this.$options.i18n.OVERLAY_PROJECT;break;case this.$options.i18n.ISSUES_GROUP_TITLE:e=this.$options.i18n.OVERLAY_GOTO;break;case this.$options.i18n.PAGES_GROUP_TITLE:e=this.$options.i18n.OVERLAY_FILE}return e},trackingTypes({name:t}){switch(t){case this.$options.i18n.PROJECTS_GROUP_TITLE:this.trackEvent("click_project_result_in_command_palette");break;case this.$options.i18n.GROUPS_GROUP_TITLE:this.trackEvent("click_group_result_in_command_palette");break;case this.$options.i18n.MERGE_REQUESTS_GROUP_TITLE:this.trackEvent("click_merge_request_result_in_command_palette");break;case this.$options.i18n.ISSUES_GROUP_TITLE:this.trackEvent("click_issue_result_in_command_palette");break;case this.$options.i18n.RECENT_ISSUES_GROUP_TITLE:this.trackEvent("click_recent_issue_result_in_command_palette");break;case this.$options.i18n.RECENT_EPICS_GROUP_TITLE:this.trackEvent("click_recent_epic_result_in_command_palette");break;case this.$options.i18n.RECENT_MERGE_REQUESTS_GROUP_TITLE:this.trackEvent("click_recent_merge_request_result_in_command_palette");break;default:this.trackEvent("click_user_result_in_command_palette")}}},AVATAR_SHAPE_OPTION_RECT:M.a},yt=Object(L.a)(_t,(function(){var t=this,e=t._self._c;return e("div",[t.autocompleteError?e("gl-alert",{staticClass:"gl-mt-2 gl-text-primary",attrs:{dismissible:!1,variant:"danger"}},[t._v("\n    "+t._s(t.$options.i18n.AUTOCOMPLETE_ERROR_MESSAGE)+"\n  ")]):t._e(),t._v(" "),!t.loading&&t.hasResults?e("ul",{staticClass:"gl-m-0 gl-list-none gl-p-0"},t._l(t.groups,(function(n,i){return e("gl-disclosure-dropdown-group",{key:n.name,class:{"!gl-mt-0":0===i},attrs:{group:n,bordered:""},on:{action:t.trackingTypes},scopedSlots:t._u([{key:"list-item",fn:function({item:i}){return[e("search-result-hover-layover",{attrs:{"text-message":t.overlayText(n.name)}},[void 0!==i.avatar_url?e("gl-avatar",{attrs:{src:i.avatar_url,"entity-id":i.entity_id,"entity-name":i.entity_name,size:i.avatar_size,shape:t.$options.AVATAR_SHAPE_OPTION_RECT,"aria-hidden":"true"}}):t._e(),t._v(" "),e("span",{staticClass:"gl-flex gl-min-w-0 gl-grow gl-flex-col"},[e("span",{directives:[{name:"safe-html",rawName:"v-safe-html",value:t.highlightedName(i.text),expression:"highlightedName(item.text)"}],staticClass:"gl-truncate gl-text-gray-900",attrs:{"data-testid":"autocomplete-item-name"}}),t._v(" "),i.value?e("span",{directives:[{name:"safe-html",rawName:"v-safe-html",value:i.namespace,expression:"item.namespace"}],staticClass:"gl-truncate gl-text-sm gl-text-gray-500",attrs:{"data-testid":"autocomplete-item-namespace"}}):t._e()])],1)]}}],null,!0)})})),1):t._e(),t._v(" "),t.loading?e("gl-loading-icon",{staticClass:"gl-my-6",attrs:{size:"lg"}}):t._e(),t._v(" "),t.hasNoResults?e("global-search-no-results"):t._e()],1)}),[],!1,null,null,null).exports,St=(n("B++/"),n("47t/"),n("wCL9")),xt=n.n(St);const Ot=u.a.mixin();var wt={name:"DefaultPlaces",i18n:{PLACES:f.B,OVERLAY_CHANGE_CONTEXT:k.n,YOUR_WORK_TITLE:Object(p.s__)("GlobalSearch|Your work"),EXPLORE_TITLE:Object(p.s__)("GlobalSearch|Explore"),PROFILE_TITLE:Object(p.s__)("GlobalSearch|Profile"),PREFERENCES_TITLE:Object(p.s__)("GlobalSearch|Preferences")},components:{GlDisclosureDropdownGroup:O.a,SearchResultHoverLayover:ft},mixins:[Ot],inject:["contextSwitcherLinks"],computed:{shouldRender(){return this.contextSwitcherLinks.length>0},group(){return{name:this.$options.i18n.PLACES,items:this.contextSwitcherLinks.map((function({title:t,link:e,...n}){return{text:t,href:e,extraAttrs:{"data-track-action":k.G,"data-track-label":q.x,"data-track-property":q.y,"data-track-extra":JSON.stringify({title:t}),"data-testid":"places-item-link","data-qa-places-item":t,class:"show-hover-layover",...Object.entries(n).reduce((function(t,[e,n]){return e.startsWith("data")&&(t[xt()(e)]=n),t}),{})}}}))}}},created(){this.shouldRender||this.$emit("nothing-to-render")},methods:{trackingTypes({text:t}){switch(t){case this.$options.i18n.YOUR_WORK_TITLE:this.trackEvent("click_your_work_in_command_palette");break;case this.$options.i18n.EXPLORE_TITLE:this.trackEvent("click_explore_in_command_palette");break;case this.$options.i18n.PROFILE_TITLE:this.trackEvent("click_profile_in_command_palette");break;case this.$options.i18n.PREFERENCES_TITLE:this.trackEvent("click_preferences_in_command_palette")}}}},Et=Object(L.a)(wt,(function(){var t=this,e=t._self._c;return t.shouldRender?e("gl-disclosure-dropdown-group",t._b({attrs:{group:t.group},on:{action:t.trackingTypes},scopedSlots:t._u([{key:"list-item",fn:function({item:n}){return[e("search-result-hover-layover",{attrs:{"text-message":t.$options.i18n.OVERLAY_CHANGE_CONTEXT}},[e("span",[t._v(t._s(n.text))])])]}}],null,!1,3096787143)},"gl-disclosure-dropdown-group",t.$attrs,!1)):t._e()}),[],!1,null,null,null).exports;const Ct=u.a.mixin();var jt={name:"DefaultIssuables",i18n:{ALL_GITLAB:f.a,OVERLAY_GOTO:k.p,ISSUES_ASSIGNED_TO_ME_TITLE:Object(p.s__)("GlobalSearch|Issues assigned to me"),ISSUES_I_HAVE_CREATED_TITLE:Object(p.s__)("GlobalSearch|Issues I've created"),MERGE_REQUESTS_THAT_I_AM_A_REVIEWER:Object(p.s__)("GlobalSearch|Merge requests that I'm a reviewer"),MERGE_REQUESTS_I_HAVE_CREATED_TITLE:Object(p.s__)("GlobalSearch|Merge requests I've created"),MERGE_REQUESTS_ASSIGNED_TO_ME_TITLE:Object(p.s__)("GlobalSearch|Merge requests assigned to me")},components:{GlDisclosureDropdownGroup:O.a,SearchResultHoverLayover:ft},mixins:[Ct],computed:{...Object(c.f)(["searchContext"]),...Object(c.d)(["defaultSearchOptions"]),currentContextName(){var t,e;return(null===(t=this.searchContext)||void 0===t||null===(t=t.project)||void 0===t?void 0:t.name)||(null===(e=this.searchContext)||void 0===e||null===(e=e.group)||void 0===e?void 0:e.name)||this.$options.i18n.ALL_GITLAB},shouldRender(){return this.group.items.length>0},group(){var t;return{name:this.currentContextName,items:null===(t=this.defaultSearchOptions)||void 0===t?void 0:t.map((function(t){return{...t,extraAttrs:{class:"show-hover-layover"}}}))}}},created(){this.shouldRender||this.$emit("nothing-to-render")},methods:{trackingTypes({text:t}){switch(t){case this.$options.i18n.ISSUES_ASSIGNED_TO_ME_TITLE:this.trackEvent("click_issues_assigned_to_me_in_command_palette");break;case this.$options.i18n.ISSUES_I_HAVE_CREATED_TITLE:this.trackEvent("click_issues_i_created_in_command_palette");break;case this.$options.i18n.MERGE_REQUESTS_ASSIGNED_TO_ME_TITLE:this.trackEvent("click_merge_requests_assigned_to_me_in_command_palette");break;case this.$options.i18n.MERGE_REQUESTS_THAT_I_AM_A_REVIEWER:this.trackEvent("click_merge_requests_that_im_a_reviewer_in_command_palette");break;case this.$options.i18n.MERGE_REQUESTS_I_HAVE_CREATED_TITLE:this.trackEvent("click_merge_requests_i_created_in_command_palette")}}}},Tt=Object(L.a)(jt,(function(){var t=this,e=t._self._c;return t.shouldRender?e("gl-disclosure-dropdown-group",t._b({attrs:{group:t.group},on:{action:t.trackingTypes},scopedSlots:t._u([{key:"list-item",fn:function({item:n}){return[e("search-result-hover-layover",{attrs:{"text-message":t.$options.i18n.OVERLAY_GOTO}},[e("span",[t._v(t._s(n.text))])])]}}],null,!1,2103025810)},"gl-disclosure-dropdown-group",t.$attrs,!1)):t._e()}),[],!1,null,null,null).exports,kt=n("Eqlq"),It=n.n(kt),Dt=n("XiQx"),Pt=n("0AwG"),At=n("3lQS"),Mt={name:"FrequentlyVisitedItem",i18n:{OVERLAY_GOTO:k.p},components:{ProjectAvatar:At.a,SearchResultHoverLayover:ft},props:{item:{type:Object,required:!0}}},Rt=Object(L.a)(Mt,(function(){var t=this,e=t._self._c;return e("search-result-hover-layover",{attrs:{"text-message":t.$options.i18n.OVERLAY_GOTO}},[e("project-avatar",{attrs:{"project-id":t.item.id,"project-name":t.item.title,"project-avatar-url":t.item.avatar,size:32,"aria-hidden":"true"}}),t._v(" "),e("div",{staticClass:"gl-grow gl-truncate"},[t._v("\n    "+t._s(t.item.title)+"\n    "),t.item.subtitle?e("div",{staticClass:"gl-truncate gl-text-sm gl-text-gray-500",attrs:{"data-testid":"subtitle"}},[t._v("\n      "+t._s(t.item.subtitle)+"\n    ")]):t._e()])],1)}),[],!1,null,null,null).exports,Lt={components:{GlSkeletonLoader:n("4+8U").a}},Nt=Object(L.a)(Lt,(function(){var t=this._self._c;return t("gl-skeleton-loader",{attrs:{width:737,height:48}},[t("rect",{attrs:{width:"24",height:"24",y:"12",x:"8"}}),this._v(" "),t("rect",{attrs:{width:"120",height:"12",y:"10",x:"36"}}),this._v(" "),t("rect",{attrs:{width:"100",height:"12",y:"26",x:"36"}})])}),[],!1,null,null,null).exports,$t={name:"FrequentlyVisitedItems",i18n:{OVERLAY_GOTO:k.p},components:{GlDisclosureDropdownGroup:O.a,GlDisclosureDropdownItem:Dt.b,GlIcon:D.a,FrequentItem:Rt,FrequentItemSkeleton:Nt,SearchResultHoverLayover:ft},props:{loading:{type:Boolean,required:!1,default:!1},emptyStateText:{type:String,required:!0},groupName:{type:String,required:!0},viewAllItemsText:{type:String,required:!0},viewAllItemsIcon:{type:String,required:!0},viewAllItemsPath:{type:String,required:!1,default:null},items:{type:Array,required:!1,default:function(){return[]}}},computed:{formattedItems(){return this.items.map((function(t){return{forDropdown:{id:t.id,text:t.name,href:Object(d.B)(gon.relative_url_root||"/",t.fullPath),extraAttrs:{"data-track-action":k.G,"data-track-label":t.id,"data-track-property":q.y,"data-track-extra":JSON.stringify({title:t.name})}},forRenderer:{id:t.id,title:t.name,subtitle:Object(Pt.E)(t.namespace),avatar:t.avatarUrl}}}))},showEmptyState(){return!this.loading&&0===this.formattedItems.length},viewAllItem(){return{text:this.viewAllItemsText,href:this.viewAllItemsPath}}}},Gt=Object(L.a)($t,(function(){var t=this,e=t._self._c;return e("gl-disclosure-dropdown-group",t._b({scopedSlots:t._u([{key:"group-label",fn:function(){return[t._v(t._s(t.groupName))]},proxy:!0}])},"gl-disclosure-dropdown-group",t.$attrs,!1),[t._v(" "),t.loading?e("gl-disclosure-dropdown-item",[e("frequent-item-skeleton")],1):t._l(t.formattedItems,(function(n){return e("gl-disclosure-dropdown-item",{key:n.forDropdown.id,staticClass:"show-on-focus-or-hover--context show-hover-layover",attrs:{item:n.forDropdown},on:{action:function(e){return t.$emit("action")}},scopedSlots:t._u([{key:"list-item",fn:function(){return[e("frequent-item",{attrs:{item:n.forRenderer}})]},proxy:!0}],null,!0)})})),t._v(" "),t.showEmptyState?e("gl-disclosure-dropdown-item",{staticClass:"gl-cursor-text"},[e("span",{staticClass:"gl-mx-3 gl-my-3 gl-text-sm gl-text-gray-500"},[t._v(t._s(t.emptyStateText))])]):t._e(),t._v(" "),e("gl-disclosure-dropdown-item",{key:"all",staticClass:"show-hover-layover",attrs:{item:t.viewAllItem},scopedSlots:t._u([{key:"list-item",fn:function(){return[e("search-result-hover-layover",{attrs:{"text-message":t.$options.i18n.OVERLAY_GOTO}},[e("gl-icon",{staticClass:"!gl-w-6",attrs:{name:t.viewAllItemsIcon}}),t._v("\n        "+t._s(t.viewAllItemsText)+"\n      ")],1)]},proxy:!0}])})],2)}),[],!1,null,null,null).exports,Ft={name:"FrequentlyVisitedGroups",components:{FrequentItems:Gt},inject:["groupsPath"],apollo:{frecentGroups:{query:It.a}},i18n:{groupName:Object(p.s__)("Navigation|Frequently visited groups"),viewAllText:Object(p.s__)("Navigation|View all my groups"),emptyStateText:Object(p.s__)("Navigation|Groups you visit often will appear here.")},computed:{items(){return this.frecentGroups||[]}},FREQUENTLY_VISITED_GROUPS_HANDLE:k.c},Bt=Object(L.a)(Ft,(function(){var t=this;return(0,t._self._c)("frequent-items",t._g(t._b({attrs:{loading:t.$apollo.queries.frecentGroups.loading,"empty-state-text":t.$options.i18n.emptyStateText,"group-name":t.$options.i18n.groupName,items:t.items,"view-all-items-icon":"group","view-all-items-text":t.$options.i18n.viewAllText,"view-all-items-path":t.groupsPath},on:{action:function(e){return t.$emit("action",t.$options.FREQUENTLY_VISITED_GROUPS_HANDLE)}}},"frequent-items",t.$attrs,!1),t.$listeners))}),[],!1,null,null,null).exports,qt=n("erDj"),Ht={name:"FrequentlyVisitedProjects",components:{FrequentItems:Gt},inject:["projectsPath"],apollo:{frecentProjects:{query:n.n(qt).a}},i18n:{groupName:Object(p.s__)("Navigation|Frequently visited projects"),viewAllText:Object(p.s__)("Navigation|View all my projects"),emptyStateText:Object(p.s__)("Navigation|Projects you visit often will appear here.")},computed:{items(){return this.frecentProjects||[]}},FREQUENTLY_VISITED_PROJECTS_HANDLE:k.d};const Ut=[Et,Object(L.a)(Ht,(function(){var t=this;return(0,t._self._c)("frequent-items",t._g(t._b({attrs:{loading:t.$apollo.queries.frecentProjects.loading,"empty-state-text":t.$options.i18n.emptyStateText,"group-name":t.$options.i18n.groupName,items:t.items,"view-all-items-icon":"project","view-all-items-text":t.$options.i18n.viewAllText,"view-all-items-path":t.projectsPath},on:{action:function(e){return t.$emit("action",t.$options.FREQUENTLY_VISITED_PROJECTS_HANDLE)}}},"frequent-items",t.$attrs,!1),t.$listeners))}),[],!1,null,null,null).exports,Bt,Tt];var Kt={name:"GlobalSearchDefaultItems",mixins:[u.a.mixin()],data:()=>({componentNames:Ut.map((function({name:t}){return t}))}),methods:{componentFromName:t=>Ut.find((function(e){return e.name===t})),remove(t){const e=this.componentNames.findIndex((function(e){return e===t}));-1!==e&&this.componentNames.splice(e,1)},attrs:t=>0===t?null:{bordered:!0,class:"gl-mt-3"},trackItems(t){switch(t){case k.d:this.trackEvent("click_frequent_project_in_command_palette");break;case k.c:this.trackEvent("click_frequent_group_in_command_palette")}}}},zt=Object(L.a)(Kt,(function(){var t=this,e=t._self._c;return e("ul",{staticClass:"gl-m-0 gl-list-none gl-p-0 gl-pt-2"},t._l(t.componentNames,(function(n,i){return e(t.componentFromName(n),t._b({key:n,tag:"component",on:{"nothing-to-render":function(e){return t.remove(n)},action:t.trackItems}},"component",t.attrs(i),!1))})),1)}),[],!1,null,null,null).exports;const Vt=u.a.mixin();var Wt={name:"GlobalSearchScopedItems",components:{GlIcon:D.a,GlDisclosureDropdownGroup:O.a,SearchResultHoverLayover:ft},mixins:[Vt],i18n:{OVERLAY_SEARCH:k.s},computed:{...Object(c.f)(["search"]),...Object(c.d)(["scopedSearchGroup"]),group(){return{name:this.scopedSearchGroup.name,items:this.scopedSearchGroup.items.map((function(t){return{...t,href:t.text===k.A?Object(_.d)(t.href):t.href,scopeName:t.scope||t.description,extraAttrs:{class:"show-hover-layover"}}}))}}},methods:{titleLabel(t){return Object(p.sprintf)(Object(p.s__)("GlobalSearch|in %{scope}"),{search:this.search,scope:t.scope||t.description})},getTruncatedScope:t=>Object(Pt.D)(t,y.g),trackingTypes({text:t}){switch(t){case this.$options.SCOPE_SEARCH_ALL:this.trackEvent("click_all_gitlab_scoped_search_to_advanced_search");break;case this.$options.SCOPE_SEARCH_GROUP:this.trackEvent("click_group_scoped_search_to_advanced_search");break;case this.$options.SCOPE_SEARCH_PROJECT:this.trackEvent("click_project_scoped_search_to_advanced_search")}}},SCOPE_SEARCH_ALL:k.y,SCOPE_SEARCH_GROUP:k.z,SCOPE_SEARCH_PROJECT:k.A},Yt=Object(L.a)(Wt,(function(){var t=this,e=t._self._c;return e("div",[e("ul",{staticClass:"gl-m-0 gl-list-none gl-p-0 gl-pb-2",attrs:{"data-testid":"scoped-items"}},[e("gl-disclosure-dropdown-group",{attrs:{group:t.group,bordered:""},on:{action:t.trackingTypes},scopedSlots:t._u([{key:"list-item",fn:function({item:n}){return[e("search-result-hover-layover",{attrs:{"text-message":t.$options.i18n.OVERLAY_SEARCH}},[e("gl-icon",{staticClass:"-gl-mt-2 gl-mr-2 gl-shrink-0 gl-pt-2 gl-text-gray-500",attrs:{name:"search-results"}}),t._v(" "),e("span",{staticClass:"gl-grow"},[t._v("\n            "+t._s(n.scopeName)+"\n          ")])],1)]}}])})],1)])}),[],!1,null,null,null).exports;const Xt=u.a.mixin();var Qt={name:"GlobalSearchModal",SEARCH_MODAL_ID:y.j,i18n:{COMMAND_PALETTE:f.c,SEARCH_DESCRIBED_BY_WITH_RESULTS:f.G,SEARCH_DESCRIBED_BY_DEFAULT:f.E,SEARCH_DESCRIBED_BY_UPDATED:f.F,SEARCH_OR_COMMAND_MODE_PLACEHOLDER:k.B,SEARCH_RESULTS_LOADING:f.H,MIN_SEARCH_TERM:f.t,COMMAND_PALETTE_TIP:f.k,COMMON_HANDLES:k.b},components:{GlSearchBoxByType:a.a,GlobalSearchDefaultItems:zt,GlobalSearchScopedItems:Yt,GlobalSearchAutocompleteItems:yt,GlModal:l.a,CommandPaletteItems:W,FakeSearchInput:et,CommandPaletteLottery:at,ScrollScrim:b.a,CommandsOverviewDropdown:ht},mixins:[Xt,g.a],data:()=>({nextFocusedItemIndex:null,commandPaletteDropdownItems:T.a,commandPaletteDropdownOpen:!1}),computed:{...Object(c.f)(["search","loading","searchContext","commandChar"]),...Object(c.d)(["searchQuery","searchOptions","scopedSearchOptions","isCommandMode"]),searchText:{get(){return this.search},set(t){if(this.stringHasCommand(t))return this.setCommand(this.stringFirstChar(t)),void this.setSearch(t);this.setCommand(""),this.setSearch(t)}},showDefaultItems(){return!this.searchText},searchTermOverMin(){var t;return(null===(t=this.searchText)||void 0===t?void 0:t.length)>y.m},showScopedSearchItems(){return this.searchTermOverMin&&this.scopedSearchOptions.length>0},searchResultsDescription(){return this.showDefaultItems?Object(p.sprintf)(this.$options.i18n.SEARCH_DESCRIBED_BY_DEFAULT,{count:this.searchOptions.length}):this.searchTermOverMin?this.loading?this.$options.i18n.SEARCH_RESULTS_LOADING:Object(p.sprintf)(this.$options.i18n.SEARCH_DESCRIBED_BY_UPDATED,{count:this.searchOptions.length}):this.$options.i18n.MIN_SEARCH_TERM},searchBarItem(){var t;return null===(t=this.searchOptions)||void 0===t?void 0:t[0]},commandPaletteQuery(){var t;return this.isCommandMode?null===(t=this.searchText)||void 0===t?void 0:t.trim().substring(1):""},commandHighlightClass:()=>Object(v.a)()?"!gl-bg-gray-10":"!gl-bg-gray-50"},watch:{nextFocusedItemIndex(){this.highlightFirstCommand()}},methods:{...Object(c.c)(["setSearch","setCommand","fetchAutocompleteOptions","clearAutocomplete"]),getAutocompleteOptions:s()((function(t){this.isCommandMode||(t?this.fetchAutocompleteOptions():this.clearAutocomplete())}),h.h),getFocusableOptions(){var t;return Array.from((null===(t=this.$refs.resultsList)||void 0===t?void 0:t.querySelectorAll(y.l))||[])},handleSubmitSearch(t){this.submitSearch(),t.stopPropagation(),t.preventDefault()},onKeydown(t){const{code:e,target:n}=t;let i=!0;const r=n&&(null==n?void 0:n.matches(y.i)),o=this.getFocusableOptions();switch(e){case m.e:case m.h:this.trackEvent("press_enter_to_advanced_search",{label:"command_palette"}),this.handleSubmitSearch(t);break;case m.g:if(r)return;if(o.length<1)return;this.focusItem(0,o);break;case m.d:if(r)return;if(o.length<1)return;this.focusItem(o.length-1,o);break;case m.b:if(r)return;if(o.length<1)return;0===o.indexOf(n)?this.focusSearchInput():this.focusNextItem(t,o,-1);break;case m.a:if(o.length<1)return;this.focusNextItem(t,o,1);break;case m.f:this.$refs.modal.close();break;default:i=!1}i&&t.preventDefault()},onKeyComboDown(t){const{code:e,metaKey:n}=t;e===y.e&&n&&(this.commandPaletteDropdownOpen?(this.$refs.commandDropdown.close(),this.commandPaletteDropdownOpen=!1):(this.$refs.commandDropdown.open(),this.commandPaletteDropdownOpen=!0))},handleClosing(){this.commandPaletteDropdownOpen=!1},focusSearchInput(){var t;null===(t=this.$refs.searchInput.$el.querySelector("input"))||void 0===t||t.focus()},focusNextItem(t,e,n){const{target:i}=t,o=e.indexOf(i),s=r()(o+n,0,e.length-1);this.focusItem(s,e)},focusItem(t,e){var n;this.nextFocusedItemIndex=t,null===(n=e[t])||void 0===n||n.focus()},submitSearch(){var t;this.isCommandMode?this.runFirstCommand():(null===(t=this.search)||void 0===t?void 0:t.length)<=y.m||Object(d.S)(Object(_.d)(this.searchQuery))},runFirstCommand(){var t;null===(t=this.getFocusableOptions()[0])||void 0===t||null===(t=t.firstChild)||void 0===t||t.click()},onSearchModalShown(){this.$emit("shown"),window.addEventListener("keydown",this.onKeyComboDown)},onSearchModalHidden({trigger:t}={}){switch(this.searchText="",this.$emit("hidden"),window.removeEventListener("keydown",this.onKeyComboDown),t){case this.$options.MODAL_CLOSE_ESC:case this.$options.MODAL_CLOSE_HEADERCLOSE:this.trackEvent("press_escape_in_command_palette");break;case this.$options.MODAL_CLOSE_BACKGROUND:this.trackEvent("click_outside_of_command_palette")}},highlightFirstCommand(){if(this.isCommandMode){var t;const e=null===(t=this.getFocusableOptions()[0])||void 0===t?void 0:t.firstChild;null==e||e.classList.toggle(this.commandHighlightClass,Boolean(!this.nextFocusedItemIndex))}},handleCommandSelection(t){switch(this.searchText=this.stringHasCommand(this.searchText)?`${t}${this.searchText.slice(1)}`:`${t}${this.searchText}`,this.focusSearchInput(),t){case this.$options.COMMAND_HANDLE:this.trackEvent("press_greater_than_in_command_palette");break;case this.$options.USER_HANDLE:this.trackEvent("press_at_symbol_in_command_palette");break;case this.$options.PROJECT_HANDLE:this.trackEvent("press_colon_in_command_palette");break;case this.$options.PATH_HANDLE:this.trackEvent("press_forward_slash_in_command_palette")}},stringHasCommand(t){var e;const n=function(e){return e===(null==t?void 0:t.trim().charAt(0))};return k.b.some(n)||(null===(e=this.searchContext)||void 0===e?void 0:e.project)&&k.b.some(n)},stringFirstChar:t=>null==t?void 0:t.trim().charAt(0)},SEARCH_INPUT_DESCRIPTION:y.h,SEARCH_RESULTS_DESCRIPTION:y.k,COMMAND_HANDLE:k.a,USER_HANDLE:k.J,PROJECT_HANDLE:k.x,ISSUE_HANDLE:k.i,PATH_HANDLE:k.v,MODAL_CLOSE_ESC:k.l,MODAL_CLOSE_BACKGROUND:k.k,MODAL_CLOSE_HEADERCLOSE:k.m},Jt=n("fFd+"),Zt=n.n(Jt),te={insert:"head",singleton:!1},ee=(Q()(Zt.a,te),Zt.a.locals,Object(L.a)(Qt,(function(){var t=this,e=t._self._c;return e("gl-modal",{ref:"modal",attrs:{"modal-id":t.$options.SEARCH_MODAL_ID,"hide-header":"","hide-header-close":"",scrollable:"",title:t.$options.i18n.COMMAND_PALETTE,"body-class":"!gl-p-0 !gl-min-h-26","modal-class":"global-search-modal",centered:!1},on:{shown:t.onSearchModalShown,hide:t.onSearchModalHidden},scopedSlots:t._u([{key:"modal-footer",fn:function(){return[e("div",{staticClass:"gl-m-0 gl-flex gl-grow gl-justify-between gl-align-middle"},[e("span",{staticClass:"gl-text-gray-500"},[t._v(t._s(t.$options.i18n.COMMAND_PALETTE_TIP)+" "),e("command-palette-lottery")],1),t._v(" "),e("span",[e("commands-overview-dropdown",{ref:"commandDropdown",attrs:{items:t.commandPaletteDropdownItems},on:{selected:t.handleCommandSelection,hidden:t.handleClosing}})],1)])]},proxy:!0}])},[e("form",{staticClass:"gl-relative gl-w-full gl-rounded-lg gl-pb-0",attrs:{role:"search","aria-label":t.$options.i18n.SEARCH_OR_COMMAND_MODE_PLACEHOLDER}},[e("div",{staticClass:"input-box-wrapper gl-border-b -gl-mb-1 gl-bg-white gl-p-2"},[e("gl-search-box-by-type",{ref:"searchInput",attrs:{id:"search",role:"searchbox","data-testid":"global-search-input",autocomplete:"off",placeholder:t.$options.i18n.SEARCH_OR_COMMAND_MODE_PLACEHOLDER,"aria-describedby":t.$options.SEARCH_INPUT_DESCRIPTION,borderless:""},on:{input:t.getAutocompleteOptions,keydown:t.onKeydown},model:{value:t.searchText,callback:function(e){t.searchText=e},expression:"searchText"}}),t._v(" "),e("span",{staticClass:"gl-sr-only",attrs:{id:t.$options.SEARCH_INPUT_DESCRIPTION,role:"region"}},[t._v("\n        "+t._s(t.$options.i18n.SEARCH_DESCRIBED_BY_WITH_RESULTS)+"\n      ")]),t._v(" "),t.isCommandMode?e("fake-search-input",{staticClass:"fake-input-wrapper",attrs:{"user-input":t.commandPaletteQuery,scope:t.commandChar}}):t._e()],1),t._v(" "),e("span",{staticClass:"gl-sr-only",attrs:{role:"region","data-testid":t.$options.SEARCH_RESULTS_DESCRIPTION,"aria-live":"polite","aria-atomic":"true"}},[t._v("\n      "+t._s(t.searchResultsDescription)+"\n    ")]),t._v(" "),e("div",{ref:"resultsList",staticClass:"global-search-results gl-flex gl-w-full gl-grow gl-flex-col gl-overflow-hidden",on:{keydown:t.onKeydown}},[e("scroll-scrim",{staticClass:"gl-grow !gl-overflow-x-hidden",attrs:{"data-testid":"nav-container"}},[e("div",{staticClass:"gl-pb-3"},[t.isCommandMode?e("command-palette-items",{attrs:{"search-query":t.commandPaletteQuery,handle:t.commandChar},on:{updated:t.highlightFirstCommand}}):t.showDefaultItems?e("global-search-default-items"):[e("global-search-autocomplete-items"),t._v(" "),t.showScopedSearchItems?e("global-search-scoped-items"):t._e()]],2)])],1),t._v(" "),t.searchContext?[t.searchContext.group?e("input",{attrs:{type:"hidden",name:"group_id"},domProps:{value:t.searchContext.group.id}}):t._e(),t._v(" "),t.searchContext.project?e("input",{attrs:{type:"hidden",name:"project_id"},domProps:{value:t.searchContext.project.id}}):t._e(),t._v(" "),t.searchContext.group||t.searchContext.project?[e("input",{attrs:{type:"hidden",name:"scope"},domProps:{value:t.searchContext.scope}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"search_code"},domProps:{value:t.searchContext.code_search}})]:t._e(),t._v(" "),e("input",{attrs:{type:"hidden",name:"snippets"},domProps:{value:t.searchContext.for_snippets}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"repository_ref"},domProps:{value:t.searchContext.ref}})]:t._e()],2)])}),[],!1,null,"04c76396",null));e.default=ee.exports},aOF2:function(t,e,n){"use strict";var i=n("kUOS"),r=n("Pyw5"),o=n.n(r);const s={name:"GlCollapse",components:{BCollapse:i.a},model:{prop:"visible",event:"input"},props:{visible:{type:Boolean,default:!1,required:!1}}};const a=o()({render:function(){var t=this.$createElement;return(this._self._c||t)("b-collapse",this._g(this._b({attrs:{visible:this.visible}},"b-collapse",this.$attrs,!1),this.$listeners),[this._t("default")],2)},staticRenderFns:[]},void 0,s,void 0,!1,void 0,!1,void 0,void 0,void 0);e.a=a},crTv:function(t,e,n){"use strict";var i=n("3CjL"),r=n.n(i),o=n("o4PY"),s=n.n(o),a=n("59DU"),l=n.n(a),c=n("Qog8"),u=n("V5u/"),d=n("XBTk"),h=n("4lAS"),p=n("FkSe"),m=n("ehHk"),f=n("iN9h"),g=n("qaCH"),v=n("EldY"),b=n("zjrD"),_=n("3A1J"),y=n("s1D3"),S=n("Pyw5"),x=n.n(S);const O={name:"GlListboxSearchInput",components:{GlClearIconButton:_.a,GlIcon:y.a},model:{prop:"value",event:"input"},props:{value:{type:String,required:!1,default:""},placeholder:{type:String,required:!1,default:"Search"}},computed:{hasValue(){return Boolean(this.value.length)},inputListeners(){return{...this.$listeners,input:t=>{this.$emit("input",t.target.value)}}}},methods:{clearInput(){this.$emit("input",""),this.focusInput()},focusInput(){this.$refs.input.focus()}}};var w=x()({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"gl-listbox-search"},[n("gl-icon",{staticClass:"gl-listbox-search-icon",attrs:{name:"search-sm",size:12}}),t._v(" "),n("input",t._g({ref:"input",staticClass:"gl-listbox-search-input",attrs:{type:"search","aria-label":t.placeholder,placeholder:t.placeholder},domProps:{value:t.value}},t.inputListeners)),t._v(" "),t.hasValue?n("gl-clear-icon-button",{staticClass:"gl-listbox-search-clear-button",on:{click:function(e){return e.stopPropagation(),t.clearInput.apply(null,arguments)}}}):t._e()],1)},staticRenderFns:[]},void 0,O,void 0,!1,void 0,!1,void 0,void 0,void 0);const E={name:"GlListboxGroup",props:{name:{type:String,required:!0},textSrOnly:{type:Boolean,required:!1,default:!1}},created(){this.nameId=s()("gl-listbox-group-")}};var C=x()({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"gl-mb-0 gl-pl-0",attrs:{role:"group","aria-labelledby":t.nameId}},[n("li",{staticClass:"gl-pb-2 gl-pl-4 gl-pt-3 gl-text-sm gl-font-bold gl-text-strong",class:{"gl-sr-only":t.textSrOnly},attrs:{id:t.nameId,role:"presentation"}},[t._t("group-label",(function(){return[t._v(t._s(t.name))]}))],2),t._v(" "),t._t("default")],2)},staticRenderFns:[]},void 0,E,void 0,!1,void 0,!1,void 0,void 0,void 0),j=n("3fen");const T=["gl-border-t","gl-border-t-dropdown","gl-pt-1","gl-mt-2"];const k={name:"GlCollapsibleListbox",HEADER_ITEMS_BORDER_CLASSES:["gl-border-b-1","gl-border-b-solid","gl-border-b-dropdown"],events:{GL_DROPDOWN_SHOWN:u.i,GL_DROPDOWN_HIDDEN:u.h},components:{GlBaseDropdown:g.b,GlListboxItem:b.a,GlListboxGroup:C,GlButton:h.a,GlSearchBoxByType:f.a,GlListboxSearchInput:w,GlLoadingIcon:p.a,GlIntersectionObserver:m.a},model:{prop:"selected",event:"select"},props:{items:{type:Array,required:!1,default:()=>[],validator:j.c},selected:{type:[Array,String,Number],required:!1,default:()=>[]},multiple:{type:Boolean,required:!1,default:!1},toggleText:{type:String,required:!1,default:""},textSrOnly:{type:Boolean,required:!1,default:!1},headerText:{type:String,required:!1,default:""},category:{type:String,required:!1,default:d.m.primary,validator:t=>t in d.m},variant:{type:String,required:!1,default:d.w.default,validator:t=>t in d.w},size:{type:String,required:!1,default:"medium",validator:t=>t in d.n},icon:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},loading:{type:Boolean,required:!1,default:!1},toggleClass:{type:[String,Array,Object],required:!1,default:null},noCaret:{type:Boolean,required:!1,default:!1},placement:{type:String,required:!1,default:"bottom-start",validator:t=>Object.keys(d.v).includes(t)},isCheckCentered:{type:Boolean,required:!1,default:!1},toggleAriaLabelledBy:{type:String,required:!1,default:null},listAriaLabelledBy:{type:String,required:!1,default:null},searchable:{type:Boolean,required:!1,default:!1},searching:{type:Boolean,required:!1,default:!1},infiniteScroll:{type:Boolean,required:!1,default:!1},totalItems:{type:Number,required:!1,default:null},infiniteScrollLoading:{type:Boolean,required:!1,default:!1},noResultsText:{type:String,required:!1,default:"No results found"},searchPlaceholder:{type:String,required:!1,default:"Search"},resetButtonLabel:{type:String,required:!1,default:""},showSelectAllButtonLabel:{type:String,required:!1,default:""},block:{type:Boolean,required:!1,default:!1},dropdownOffset:{type:[Number,Object],required:!1,default:void 0},fluidWidth:{type:Boolean,required:!1,default:!1},positioningStrategy:{type:String,required:!1,default:u.k,validator:t=>[u.k,u.l].includes(t)},startOpened:{type:Boolean,required:!1,default:!1},srOnlyResultsLabel:{type:Function,required:!1,default:Object(v.c)("GlCollapsibleListbox.srOnlyResultsLabel","%d result","%d results")}},data:()=>({selectedValues:[],toggleId:s()("dropdown-toggle-btn-"),listboxId:s()("listbox-"),nextFocusedItemIndex:null,searchStr:"",topBoundaryVisible:!0,bottomBoundaryVisible:!0}),computed:{listboxTag(){return!this.hasItems||Object(j.b)(this.items[0])?"ul":"div"},listboxClasses(){return{"top-scrim-visible":!this.topBoundaryVisible,"bottom-scrim-visible":!this.bottomBoundaryVisible,[u.f]:!0}},itemTag(){return"ul"===this.listboxTag?"li":"div"},flattenedOptions(){return Object(j.a)(this.items)},hasItems(){return this.items.length>0},listboxToggleText(){var t;return this.toggleText?this.toggleText:!this.multiple&&this.selectedValues.length?null===(t=this.flattenedOptions.find(t=>{let{value:e}=t;return e===this.selectedValues[0]}))||void 0===t?void 0:t.text:""},selectedIndices(){return this.selectedValues.map(t=>this.flattenedOptions.findIndex(e=>{let{value:n}=e;return n===t})).sort()},showList(){return this.flattenedOptions.length&&!this.searching},showNoResultsText(){return!this.flattenedOptions.length&&!this.searching},announceSRSearchResults(){return this.searchable&&!this.showNoResultsText},headerId(){return this.headerText&&s()("listbox-header-")},showResetButton(){return!!this.resetButtonLabel&&(!!this.hasItems&&(!(!this.selected||0===this.selected.length)&&!this.showSelectAllButton))},showSelectAllButton(){return!!this.showSelectAllButtonLabel&&(!!this.multiple&&(!!this.hasItems&&this.selected.length!==this.flattenedOptions.length))},showIntersectionObserver(){return this.infiniteScroll&&!this.infiniteScrollLoading&&!this.loading&&!this.searching},hasCustomToggle(){return Boolean(this.$scopedSlots.toggle)},hasSelection(){return Boolean(this.selectedValues.length)},toggleButtonClasses(){const t=[this.toggleClass];return this.hasSelection||t.push("!gl-text-subtle"),t},hasHeader(){return this.headerText||this.searchable},hasFooter(){return Boolean(this.$scopedSlots.footer)}},watch:{selected:{immediate:!0,handler(t){Array.isArray(t)?this.selectedValues=[...t]:this.selectedValues=l()(t)?[]:[t]}},items:{handler(){this.$nextTick(()=>{this.observeScroll()})}}},mounted(){this.startOpened&&this.open(),this.observeScroll()},beforeDestroy(){var t;null===(t=this.scrollObserver)||void 0===t||t.disconnect()},methods:{open(){this.$refs.baseDropdown.open()},close(){this.$refs.baseDropdown.close()},groupClasses:t=>0===t?null:T,onShow(){var t;this.searchable?this.focusSearchInput():this.focusItem(null!==(t=this.selectedIndices[0])&&void 0!==t?t:0,this.getFocusableListItemElements());this.$emit(u.i)},onHide(){this.$emit(u.h),this.nextFocusedItemIndex=null},onKeydown(t){const{code:e,target:n}=t,i=this.getFocusableListItemElements();if(i.length<1)return;let r=!0;const o=n.matches(".gl-listbox-search-input");if(e===u.j){if(o)return;this.focusItem(0,i)}else if(e===u.c){if(o)return;this.focusItem(i.length-1,i)}else if(e===u.b){if(o)return;this.searchable&&0===i.indexOf(n)?this.focusSearchInput():this.focusNextItem(t,i,-1)}else e===u.a?o?this.focusItem(0,i):this.focusNextItem(t,i,1):r=!1;r&&Object(c.k)(t)},getFocusableListItemElements(){var t;const e=null===(t=this.$refs.list)||void 0===t?void 0:t.querySelectorAll('[role="option"]');return Array.from(e||[])},focusNextItem(t,e,n){const{target:i}=t,o=e.indexOf(i),s=r()(o+n,0,e.length-1);this.focusItem(s,e)},focusItem(t,e){var n;this.nextFocusedItemIndex=t,null===(n=e[t])||void 0===n||n.focus()},focusSearchInput(){this.$refs.searchBox.focusInput()},onSelect(t,e){this.multiple?this.onMultiSelect(t.value,e):this.onSingleSelect(t.value,e)},isSelected(t){return this.selectedValues.some(e=>e===t.value)},isFocused(t){return this.nextFocusedItemIndex===this.flattenedOptions.indexOf(t)},onSingleSelect(t,e){e&&this.$emit("select",t),this.closeAndFocus()},onMultiSelect(t,e){e?this.$emit("select",[...this.selectedValues,t]):this.$emit("select",this.selectedValues.filter(e=>e!==t))},search(t){this.$emit("search",t)},onResetButtonClicked(){this.$emit("reset")},onSelectAllButtonClicked(){this.$emit("select-all")},closeAndFocus(){this.$refs.baseDropdown.closeAndFocus()},onIntersectionObserverAppear(){this.$emit("bottom-reached")},listboxItemMoreItemsAriaAttributes(t){return null===this.totalItems?{}:{"aria-setsize":this.totalItems,"aria-posinset":t+1}},observeScroll(){var t;const e={rootMargin:"8px",root:this.$refs.list,threshold:1};null===(t=this.scrollObserver)||void 0===t||t.disconnect();const n=new IntersectionObserver(t=>{t.forEach(t=>{var e;this[null===(e=t.target)||void 0===e?void 0:e.$__visibilityProp]=t.isIntersecting})},e),i=this.$refs["top-boundary"],r=this.$refs["bottom-boundary"];i&&(i.$__visibilityProp="topBoundaryVisible",n.observe(i)),r&&(r.$__visibilityProp="bottomBoundaryVisible",n.observe(r)),this.scrollObserver=n},isOption:j.b}};const I=x()({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("gl-base-dropdown",{ref:"baseDropdown",attrs:{"aria-haspopup":"listbox","aria-labelledby":t.toggleAriaLabelledBy,block:t.block,"toggle-id":t.toggleId,"toggle-text":t.listboxToggleText,"toggle-class":t.toggleButtonClasses,"text-sr-only":t.textSrOnly,category:t.category,variant:t.variant,size:t.size,icon:t.icon,disabled:t.disabled,loading:t.loading,"no-caret":t.noCaret,placement:t.placement,offset:t.dropdownOffset,"fluid-width":t.fluidWidth,"positioning-strategy":t.positioningStrategy},on:t._d({},[t.$options.events.GL_DROPDOWN_SHOWN,t.onShow,t.$options.events.GL_DROPDOWN_HIDDEN,t.onHide]),scopedSlots:t._u([t.hasCustomToggle?{key:"toggle",fn:function(){return[t._t("toggle")]},proxy:!0}:null],null,!0)},[t._v(" "),t.headerText?n("div",{staticClass:"gl-flex gl-min-h-8 gl-items-center !gl-p-4",class:t.$options.HEADER_ITEMS_BORDER_CLASSES},[n("div",{staticClass:"gl-grow gl-pr-2 gl-text-sm gl-font-bold gl-text-strong",attrs:{id:t.headerId,"data-testid":"listbox-header-text"}},[t._v("\n      "+t._s(t.headerText)+"\n    ")]),t._v(" "),t.showResetButton?n("gl-button",{staticClass:"!gl-m-0 !gl-w-auto gl-max-w-1/2 gl-flex-shrink-0 gl-text-ellipsis !gl-px-2 !gl-text-sm focus:!gl-shadow-inner-2-blue-400",attrs:{category:"tertiary",size:"small","data-testid":"listbox-reset-button"},on:{click:t.onResetButtonClicked}},[t._v("\n      "+t._s(t.resetButtonLabel)+"\n    ")]):t._e(),t._v(" "),t.showSelectAllButton?n("gl-button",{staticClass:"!gl-m-0 !gl-w-auto gl-max-w-1/2 gl-flex-shrink-0 gl-text-ellipsis !gl-px-2 !gl-text-sm focus:!gl-shadow-inner-2-blue-400",attrs:{category:"tertiary",size:"small","data-testid":"listbox-select-all-button"},on:{click:t.onSelectAllButtonClicked}},[t._v("\n      "+t._s(t.showSelectAllButtonLabel)+"\n    ")]):t._e()],1):t._e(),t._v(" "),t.searchable?n("div",{class:t.$options.HEADER_ITEMS_BORDER_CLASSES},[n("gl-listbox-search-input",{ref:"searchBox",class:{"gl-listbox-topmost":!t.headerText},attrs:{"data-testid":"listbox-search-input",placeholder:t.searchPlaceholder},on:{input:t.search,keydown:[function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;e.preventDefault()},t.onKeydown]},model:{value:t.searchStr,callback:function(e){t.searchStr=e},expression:"searchStr"}}),t._v(" "),t.searching?n("gl-loading-icon",{staticClass:"gl-my-3",attrs:{"data-testid":"listbox-search-loader",size:"md"}}):t._e()],1):t._e(),t._v(" "),t.showList?n(t.listboxTag,{ref:"list",tag:"component",staticClass:"gl-new-dropdown-contents gl-new-dropdown-contents-with-scrim-overlay",class:t.listboxClasses,attrs:{id:t.listboxId,"aria-labelledby":t.listAriaLabelledBy||t.headerId||t.toggleId,role:"listbox",tabindex:"0"},on:{keydown:t.onKeydown}},[n(t.itemTag,{tag:"component",staticClass:"top-scrim-wrapper",attrs:{"aria-hidden":"true","data-testid":"top-scrim"}},[n("div",{staticClass:"top-scrim",class:{"top-scrim-light":!t.hasHeader,"top-scrim-dark":t.hasHeader}})]),t._v(" "),n(t.itemTag,{ref:"top-boundary",tag:"component",attrs:{"aria-hidden":"true"}}),t._v(" "),t._l(t.items,(function(e,i){return[t.isOption(e)?[n("gl-listbox-item",t._b({key:e.value,attrs:{"data-testid":"listbox-item-"+e.value,"is-selected":t.isSelected(e),"is-focused":t.isFocused(e),"is-check-centered":t.isCheckCentered},on:{select:function(n){return t.onSelect(e,n)}}},"gl-listbox-item",t.listboxItemMoreItemsAriaAttributes(i),!1),[t._t("list-item",(function(){return[t._v("\n            "+t._s(e.text)+"\n          ")]}),{item:e})],2)]:[n("gl-listbox-group",{key:e.text,class:t.groupClasses(i),attrs:{name:e.text,"text-sr-only":e.textSrOnly},scopedSlots:t._u([t.$scopedSlots["group-label"]?{key:"group-label",fn:function(){return[t._t("group-label",null,{group:e})]},proxy:!0}:null],null,!0)},[t._v(" "),t._l(e.options,(function(e){return n("gl-listbox-item",{key:e.value,attrs:{"data-testid":"listbox-item-"+e.value,"is-selected":t.isSelected(e),"is-focused":t.isFocused(e),"is-check-centered":t.isCheckCentered},on:{select:function(n){return t.onSelect(e,n)}}},[t._t("list-item",(function(){return[t._v("\n              "+t._s(e.text)+"\n            ")]}),{item:e})],2)}))],2)]]})),t._v(" "),t.infiniteScrollLoading?n(t.itemTag,{tag:"component"},[n("gl-loading-icon",{staticClass:"gl-my-3",attrs:{"data-testid":"listbox-infinite-scroll-loader",size:"md"}})],1):t._e(),t._v(" "),t.showIntersectionObserver?n("gl-intersection-observer",{on:{appear:t.onIntersectionObserverAppear}}):t._e(),t._v(" "),n(t.itemTag,{ref:"bottom-boundary",tag:"component",attrs:{"aria-hidden":"true"}}),t._v(" "),n(t.itemTag,{tag:"component",staticClass:"bottom-scrim-wrapper",attrs:{"aria-hidden":"true","data-testid":"bottom-scrim"}},[n("div",{staticClass:"bottom-scrim",class:{"!gl-rounded-none":t.hasFooter}})])],2):t._e(),t._v(" "),t.announceSRSearchResults?n("span",{staticClass:"gl-sr-only",attrs:{"data-testid":"listbox-number-of-results","aria-live":"assertive"}},[t._t("search-summary-sr-only",(function(){return[t._v("\n      "+t._s(t.srOnlyResultsLabel(t.flattenedOptions.length))+"\n    ")]}))],2):t.showNoResultsText?n("div",{staticClass:"gl-py-3 gl-pl-7 gl-pr-5 gl-text-base gl-text-subtle",attrs:{"aria-live":"assertive","data-testid":"listbox-no-results-text"}},[t._v("\n    "+t._s(t.noResultsText)+"\n  ")]):t._e(),t._v(" "),t._t("footer")],2)},staticRenderFns:[]},void 0,k,void 0,!1,void 0,!1,void 0,void 0,void 0);e.a=I},d08M:function(t,e,n){"use strict";n.d(e,"ub",(function(){return l})),n.d(e,"z",(function(){return c})),n.d(e,"w",(function(){return u})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return h})),n.d(e,"B",(function(){return p})),n.d(e,"qb",(function(){return m})),n.d(e,"c",(function(){return f})),n.d(e,"x",(function(){return g})),n.d(e,"y",(function(){return v})),n.d(e,"A",(function(){return b})),n.d(e,"C",(function(){return _})),n.d(e,"wb",(function(){return y})),n.d(e,"D",(function(){return S})),n.d(e,"xb",(function(){return x})),n.d(e,"tb",(function(){return O})),n.d(e,"a",(function(){return w})),n.d(e,"O",(function(){return E})),n.d(e,"sb",(function(){return C})),n.d(e,"P",(function(){return j})),n.d(e,"E",(function(){return T})),n.d(e,"cb",(function(){return k})),n.d(e,"vb",(function(){return I})),n.d(e,"b",(function(){return A})),n.d(e,"lb",(function(){return M})),n.d(e,"mb",(function(){return R})),n.d(e,"ob",(function(){return L})),n.d(e,"kb",(function(){return N})),n.d(e,"nb",(function(){return $})),n.d(e,"jb",(function(){return G})),n.d(e,"o",(function(){return F})),n.d(e,"f",(function(){return B})),n.d(e,"q",(function(){return q})),n.d(e,"i",(function(){return H})),n.d(e,"rb",(function(){return U})),n.d(e,"g",(function(){return K})),n.d(e,"s",(function(){return z})),n.d(e,"r",(function(){return V})),n.d(e,"j",(function(){return W})),n.d(e,"bb",(function(){return Y})),n.d(e,"k",(function(){return X})),n.d(e,"n",(function(){return Q})),n.d(e,"p",(function(){return J})),n.d(e,"l",(function(){return Z})),n.d(e,"h",(function(){return tt})),n.d(e,"m",(function(){return et})),n.d(e,"t",(function(){return nt})),n.d(e,"v",(function(){return it})),n.d(e,"u",(function(){return rt})),n.d(e,"hb",(function(){return ot})),n.d(e,"gb",(function(){return st})),n.d(e,"ib",(function(){return at})),n.d(e,"db",(function(){return lt})),n.d(e,"fb",(function(){return ct})),n.d(e,"eb",(function(){return ut})),n.d(e,"G",(function(){return dt})),n.d(e,"I",(function(){return ht})),n.d(e,"F",(function(){return pt})),n.d(e,"H",(function(){return mt})),n.d(e,"K",(function(){return ft})),n.d(e,"L",(function(){return gt})),n.d(e,"W",(function(){return vt})),n.d(e,"Y",(function(){return bt})),n.d(e,"V",(function(){return _t})),n.d(e,"ab",(function(){return yt})),n.d(e,"X",(function(){return Ot})),n.d(e,"Z",(function(){return wt})),n.d(e,"T",(function(){return Et})),n.d(e,"U",(function(){return Ct})),n.d(e,"Q",(function(){return jt})),n.d(e,"R",(function(){return Tt})),n.d(e,"S",(function(){return kt})),n.d(e,"M",(function(){return It})),n.d(e,"N",(function(){return Dt})),n.d(e,"J",(function(){return Pt})),n.d(e,"pb",(function(){return At})),n.d(e,"yb",(function(){return Lt})),n.d(e,"zb",(function(){return Nt}));var i=n("htNe"),r=n.n(i),o=(n("byxs"),n("n7CP")),s=n("/lV4");const a=r()((function(){let t={};if(o.a.canUseLocalStorage())try{t=JSON.parse(localStorage.getItem("gl-keyboard-shortcuts-customizations")||"{}")}catch(t){}return t})),l={id:"globalShortcuts.toggleKeyboardShortcutsDialog",description:Object(s.__)("Toggle keyboard shortcuts help dialog"),defaultKeys:["?"]},c={id:"globalShortcuts.goToYourProjects",description:Object(s.__)("Go to your projects"),defaultKeys:["shift+p"]},u={id:"globalShortcuts.goToYourGroups",description:Object(s.__)("Go to your groups"),defaultKeys:["shift+g"]},d={id:"globalShortcuts.goToActivityFeed",description:Object(s.__)("Go to the activity feed"),defaultKeys:["shift+a"]},h={id:"globalShortcuts.goToMilestoneList",description:Object(s.__)("Go to the milestone list"),defaultKeys:["shift+l"]},p={id:"globalShortcuts.goToYourSnippets",description:Object(s.__)("Go to your snippets"),defaultKeys:["shift+s"]},m={id:"globalShortcuts.startSearch",description:Object(s.__)("Start search"),defaultKeys:["s","/"]},f={id:"globalShortcuts.focusFilterBar",description:Object(s.__)("Focus filter bar"),defaultKeys:["f"]},g={id:"globalShortcuts.goToYourIssues",description:Object(s.__)("Go to your issues"),defaultKeys:["shift+i"]},v={id:"globalShortcuts.goToYourMergeRequests",description:Object(s.__)("Go to your merge requests"),defaultKeys:["shift+m"]},b={id:"globalShortcuts.goToYourReviewRequests",description:Object(s.__)("Go to your review requests"),defaultKeys:["shift+r"]},_={id:"globalShortcuts.goToYourTodoList",description:Object(s.__)("Go to your To-Do list"),defaultKeys:["shift+t"]},y={id:"globalShortcuts.togglePerformanceBar",description:Object(s.__)("Toggle the Performance Bar"),defaultKeys:["p b"]},S={id:"globalShortcuts.hideAppearingContent",description:Object(s.__)("Hide tooltips or popovers"),defaultKeys:["esc"]},x={id:"globalShortcuts.toggleSuperSidebar",description:Object(s.__)("Toggle the navigation sidebar"),defaultKeys:["mod+\\"]},O={id:"globalShortcuts.toggleCanary",description:Object(s.__)("Toggle GitLab Next"),defaultKeys:["g x"]},w={id:"editing.boldText",description:Object(s.__)("Bold text"),defaultKeys:["mod+b"],customizable:!1},E={id:"editing.italicText",description:Object(s.__)("Italic text"),defaultKeys:["mod+i"],customizable:!1},C={id:"editing.strikethroughText",description:Object(s.__)("Strikethrough text"),defaultKeys:["mod+shift+x"],customizable:!1},j={id:"editing.linkText",description:Object(s.__)("Link text"),defaultKeys:["mod+k"],customizable:!1},T={id:"editing.indentLine",description:Object(s.__)("Indent line"),defaultKeys:["mod+]"],customizable:!1},k={id:"editing.outdentLine",description:Object(s.__)("Outdent line"),defaultKeys:["mod+["],customizable:!1},I={id:"editing.toggleMarkdownPreview",description:Object(s.__)("Toggle Markdown preview"),defaultKeys:["ctrl+shift+p","command+shift+p"]},D={id:"editing.editRecentComment",description:Object(s.__)("Edit your most recent comment in a thread (from an empty textarea)"),defaultKeys:["up"]},P={id:"globalShortcuts.saveChanges",description:Object(s.__)("Submit/save changes"),defaultKeys:["mod+enter"]},A={id:"wiki.editWikiPage",description:Object(s.__)("Edit wiki page"),defaultKeys:["e"]},M={id:"repositoryGraph.scrollLeft",description:Object(s.__)("Scroll left"),defaultKeys:["left","h"]},R={id:"repositoryGraph.scrollRight",description:Object(s.__)("Scroll right"),defaultKeys:["right","l"]},L={id:"repositoryGraph.scrollUp",description:Object(s.__)("Scroll up"),defaultKeys:["up","k"]},N={id:"repositoryGraph.scrollDown",description:Object(s.__)("Scroll down"),defaultKeys:["down","j"]},$={id:"repositoryGraph.scrollToTop",description:Object(s.__)("Scroll to top"),defaultKeys:["shift+up","shift+k"]},G={id:"repositoryGraph.scrollToBottom",description:Object(s.__)("Scroll to bottom"),defaultKeys:["shift+down","shift+j"]},F={id:"project.goToOverview",description:Object(s.__)("Go to the project's overview page"),defaultKeys:["g o"]},B={id:"project.goToActivityFeed",description:Object(s.__)("Go to the project's activity feed"),defaultKeys:["g v"]},q={id:"project.goToReleases",description:Object(s.__)("Go to releases"),defaultKeys:["g r"]},H={id:"project.goToFiles",description:Object(s.__)("Go to files"),defaultKeys:["g f"]},U={id:"project.startSearchFile",description:Object(s.__)("Go to find file"),defaultKeys:["t"]},K={id:"project.goToCommits",description:Object(s.__)("Go to commits"),defaultKeys:["g c"]},z={id:"project.goToRepoGraph",description:Object(s.__)("Go to repository graph"),defaultKeys:["g n"]},V={id:"project.goToRepoCharts",description:Object(s.__)("Go to repository charts"),defaultKeys:["g d"]},W={id:"project.goToIssues",description:Object(s.__)("Go to issues"),defaultKeys:["g i"]},Y={id:"project.newIssue",description:Object(s.__)("New issue"),defaultKeys:["i"]},X={id:"project.goToIssueBoards",description:Object(s.__)("Go to issue boards"),defaultKeys:["g b"]},Q={id:"project.goToMergeRequests",description:Object(s.__)("Go to merge requests"),defaultKeys:["g m"]},J={id:"project.goToPipelines",description:Object(s.__)("Go to pipelines"),defaultKeys:["g p"]},Z={id:"project.goToJobs",description:Object(s.__)("Go to jobs"),defaultKeys:["g j"]},tt={id:"project.goToEnvironments",description:Object(s.__)("Go to environments"),defaultKeys:["g e"]},et={id:"project.goToKubernetes",description:Object(s.__)("Go to kubernetes"),defaultKeys:["g k"]},nt={id:"project.goToSnippets",description:Object(s.__)("Go to snippets"),defaultKeys:["g s"]},it={id:"project.goToWiki",description:Object(s.__)("Go to wiki"),defaultKeys:["g w"]},rt={id:"project.goToWebIDE",description:Object(s.__)("Open in Web IDE"),defaultKeys:["."]},ot={id:"projectFiles.moveSelectionUp",description:Object(s.__)("Move selection up"),defaultKeys:["up"]},st={id:"projectFiles.moveSelectionDown",description:Object(s.__)("Move selection down"),defaultKeys:["down"]},at={id:"projectFiles.openSelection",description:Object(s.__)("Open Selection"),defaultKeys:["enter"]},lt={id:"projectFiles.goBack",description:Object(s.__)("Go back (while searching for files)"),defaultKeys:["esc"]},ct={id:"projectFiles.goToFilePermalink",description:Object(s.__)("Go to file permalink (while viewing a file)"),defaultKeys:["y"]},ut={id:"projectFiles.goToCompare",description:Object(s.__)("Compare Branches"),defaultKeys:["shift+c"]},dt={id:"issuables.commentReply",description:Object(s.__)("Comment/Reply (quoting selected text)"),defaultKeys:["r"]},ht={id:"issuables.editDescription",description:Object(s.__)("Edit description"),defaultKeys:["e"]},pt={id:"issuables.changeLabel",description:Object(s.__)("Change label"),defaultKeys:["l"]},mt={id:"issuables.copyIssuableRef",description:Object(s.__)("Copy reference"),defaultKeys:["c r"]},ft={id:"issuesMRs.changeAssignee",description:Object(s.__)("Change assignee"),defaultKeys:["a"]},gt={id:"issuesMRs.changeMilestone",description:Object(s.__)("Change milestone"),defaultKeys:["m"]},vt={id:"mergeRequests.nextFileInDiff",description:Object(s.__)("Next file in diff"),defaultKeys:["]","j"]},bt={id:"mergeRequests.previousFileInDiff",description:Object(s.__)("Previous file in diff"),defaultKeys:["[","k"]},_t={id:"mergeRequests.goToFile",description:Object(s.__)("Go to file"),defaultKeys:["mod+p","t"],customizable:!1},yt={id:"mergeRequests.toggleFileBrowser",description:Object(s.__)("Toggle file browser"),defaultKeys:["f"],customizable:!1},St={id:"mergeRequests.addToReview",description:Object(s.__)("Add your comment to a review"),defaultKeys:["mod+enter"],customizable:!1},xt={id:"mergeRequests.addCommentNow",description:Object(s.__)("Publish your comment immediately"),defaultKeys:["shift+mod+enter"],customizable:!1},Ot={id:"mergeRequests.nextUnresolvedDiscussion",description:Object(s.__)("Next unresolved thread"),defaultKeys:["n"]},wt={id:"mergeRequests.previousUnresolvedDiscussion",description:Object(s.__)("Previous unresolved thread"),defaultKeys:["p"]},Et={id:"mergeRequests.copySourceBranchName",description:Object(s.__)("Copy source branch name"),defaultKeys:["b"]},Ct={id:"mergeRequests.expandAllFiles",description:Object(s.__)("Expand all files"),defaultKeys:[";"]},jt={id:"mergeRequests.collapseAllFiles",description:Object(s.__)("Collapse all files"),defaultKeys:["shift+;"]},Tt={id:"mergeRequestCommits.nextCommit",description:Object(s.__)("Next commit"),defaultKeys:["c"]},kt={id:"mergeRequestCommits.previousCommit",description:Object(s.__)("Previous commit"),defaultKeys:["x"]},It={id:"issues.nextDesign",description:Object(s.__)("Next design"),defaultKeys:["right"]},Dt={id:"issues.previousDesign",description:Object(s.__)("Previous design"),defaultKeys:["left"]},Pt={id:"issues.closeDesign",description:Object(s.__)("Close design"),defaultKeys:["esc"]},At={id:"sidebar.closeWidget",description:Object(s.__)("Close sidebar widget"),defaultKeys:["esc"]},Mt={id:"webIDE.goToFile",description:Object(s.__)("Go to file"),defaultKeys:["mod+p","t"],customizable:!1},Rt={id:"webIDE.commit",description:Object(s.__)("Commit (when editing commit message)"),defaultKeys:["mod+enter"],customizable:!1},Lt=[{id:"globalShortcuts",name:Object(s.__)("Global Shortcuts"),keybindings:[l,c,u,d,h,p,m,f,g,v,b,_,y,S,x]},{id:"editing",name:Object(s.__)("Editing"),keybindings:[w,E,C,j,I,D,P]},{id:"wiki",name:Object(s.__)("Wiki"),keybindings:[A]},{id:"repositoryGraph",name:Object(s.__)("Repository Graph"),keybindings:[M,R,L,N,$,G]},{id:"project",name:Object(s.__)("Project"),keybindings:[F,B,q,H,U,K,z,V,W,Y,X,Q,J,Z,tt,et,nt,it,rt]},{id:"projectFiles",name:Object(s.__)("Project Files"),keybindings:[ot,st,at,lt,ct,ut]},{id:"issuables",name:Object(s.__)("Epics, issues, and merge requests"),keybindings:[dt,ht,pt,mt]},{id:"issuesMRs",name:Object(s.__)("Issues and merge requests"),keybindings:[ft,gt]},{id:"mergeRequests",name:Object(s.__)("Merge requests"),keybindings:[vt,bt,_t,Ot,wt,Et,yt,St,xt]},{id:"mergeRequestCommits",name:Object(s.__)("Merge request commits"),keybindings:[Tt,kt]},{id:"issues",name:Object(s.__)("Issues"),keybindings:[It,Dt,Pt]},{id:"webIDE",name:Object(s.__)("Legacy Web IDE"),keybindings:[Mt,Rt]},{id:"misc",name:Object(s.__)("Miscellaneous"),keybindings:[O]}],Nt=function(t){return function({customizable:t}){return Boolean(null==t||t)}(t)&&a()[t.id]||t.defaultKeys}},enn4:function(t,e,n){"use strict";n.r(e);var i={};n.r(i),n.d(i,"autocompleteQuery",(function(){return S})),n.d(i,"fetchAutocompleteOptions",(function(){return x})),n.d(i,"clearAutocomplete",(function(){return O})),n.d(i,"setSearch",(function(){return w})),n.d(i,"setCommand",(function(){return E}));var r={};n.r(r),n.d(r,"searchQuery",(function(){return I})),n.d(r,"scopedIssuesPath",(function(){return D})),n.d(r,"scopedMRPath",(function(){return P})),n.d(r,"defaultSearchOptions",(function(){return A})),n.d(r,"projectUrl",(function(){return M})),n.d(r,"groupUrl",(function(){return R})),n.d(r,"allUrl",(function(){return L})),n.d(r,"scopedSearchOptions",(function(){return N})),n.d(r,"scopedSearchGroup",(function(){return $})),n.d(r,"autocompleteGroupedSearchOptions",(function(){return G})),n.d(r,"searchOptions",(function(){return F})),n.d(r,"isCommandMode",(function(){return B}));n("1Ia5"),n("dvoh"),n("byxs");var o=n("ewH8"),s=n("yWhq"),a=n("lbc5"),l=n("GiFX"),c=n("NmEs"),u=n("w8i/"),d=n("lBdL"),h=n("3cHC"),p=n("yi8e"),m=n("59DU"),f=n.n(m),g=n("nUKU"),v=n.n(g),b=(n("3UXl"),n("iyoE"),n("3twG")),_=n("2ibD"),y=n("F/pm");const S=function({state:t,fetchType:e}){var n,i;const r=v()({term:t.search,project_id:null===(n=t.searchContext)||void 0===n||null===(n=n.project)||void 0===n?void 0:n.id,project_ref:null===(i=t.searchContext)||void 0===i?void 0:i.ref,filter:e},f.a);return`${t.autocompletePath}?${Object(b.D)(r)}`},x=function({commit:t,state:e}){t("REQUEST_AUTOCOMPLETE");const n=y.a.map((function(n){return function({commit:t,state:e,fetchType:n}){return _.a.get(S({state:e,fetchType:n})).then((function({data:e}){t("RECEIVE_AUTOCOMPLETE_SUCCESS",e)})).catch((function(){t("RECEIVE_AUTOCOMPLETE_ERROR")}))}({commit:t,state:e,fetchType:n})}));return Promise.all(n)},O=function({commit:t}){t("CLEAR_AUTOCOMPLETE")},w=function({commit:t},e){t("SET_SEARCH",e)},E=function({commit:t},e){t("SET_COMMAND",e)};n("eJ0a"),n("v2fZ"),n("ZzK0"),n("z6RN"),n("BzOf"),n("RFHG"),n("xuo1");var C=n("/lV4"),j=n("gr1G"),T=n("h2IV"),k=n("I4EJ");const I=function(t){var e,n,i,r,o,s;const a=v()({search:t.search,nav_source:"navbar",project_id:null===(e=t.searchContext)||void 0===e||null===(e=e.project)||void 0===e?void 0:e.id,group_id:null===(n=t.searchContext)||void 0===n||null===(n=n.group)||void 0===n?void 0:n.id,scope:null===(i=t.searchContext)||void 0===i?void 0:i.scope,snippets:!(null===(r=t.searchContext)||void 0===r||!r.for_snippets)||null,search_code:!(null===(o=t.searchContext)||void 0===o||!o.code_search)||null,repository_ref:null===(s=t.searchContext)||void 0===s?void 0:s.ref},f.a);return`${t.searchPath}?${Object(b.D)(a)}`},D=function(t){var e,n,i,r;return!(null!==(e=t.searchContext)&&void 0!==e&&null!==(e=e.project)&&void 0!==e&&e.id&&(null===(n=t.searchContext)||void 0===n||null===(n=n.project_metadata)||void 0===n||!n.issues_path))&&((null===(i=t.searchContext)||void 0===i||null===(i=i.project_metadata)||void 0===i?void 0:i.issues_path)||(null===(r=t.searchContext)||void 0===r||null===(r=r.group_metadata)||void 0===r?void 0:r.issues_path)||!!gon.current_username&&t.issuesPath)},P=function(t){var e,n;return(null===(e=t.searchContext)||void 0===e||null===(e=e.project_metadata)||void 0===e?void 0:e.mr_path)||(null===(n=t.searchContext)||void 0===n||null===(n=n.group_metadata)||void 0===n?void 0:n.mr_path)||!!gon.current_username&&t.mrPath},A=function(t,e){const n=gon.current_username;if(!n){const t=[];return e.scopedIssuesPath&&t.push({text:j.r,href:e.scopedIssuesPath}),e.scopedMRPath&&t.push({text:j.s,href:e.scopedMRPath}),t}const i=[{text:j.v,href:`${e.scopedIssuesPath}/?assignee_username=${n}`},{text:j.w,href:`${e.scopedIssuesPath}/?author_username=${n}`}],r=[{text:j.x,href:`${e.scopedMRPath}/?assignee_username=${n}`},{text:j.y,href:`${e.scopedMRPath}/?reviewer_username=${n}`},{text:j.z,href:`${e.scopedMRPath}/?author_username=${n}`}];return[...e.scopedIssuesPath?i:[],...r]},M=function(t){var e,n,i,r,o,s;const a=v()({search:t.search,nav_source:"navbar",project_id:null===(e=t.searchContext)||void 0===e||null===(e=e.project)||void 0===e?void 0:e.id,group_id:null===(n=t.searchContext)||void 0===n||null===(n=n.group)||void 0===n?void 0:n.id,scope:null===(i=t.searchContext)||void 0===i?void 0:i.scope,snippets:!(null===(r=t.searchContext)||void 0===r||!r.for_snippets)||null,search_code:!(null===(o=t.searchContext)||void 0===o||!o.code_search)||null,repository_ref:null===(s=t.searchContext)||void 0===s?void 0:s.ref},f.a);return`${t.searchPath}?${Object(b.D)(a)}`},R=function(t){var e,n,i,r,o;const s=v()({search:t.search,nav_source:"navbar",group_id:null===(e=t.searchContext)||void 0===e||null===(e=e.group)||void 0===e?void 0:e.id,scope:null===(n=t.searchContext)||void 0===n?void 0:n.scope,snippets:!(null===(i=t.searchContext)||void 0===i||!i.for_snippets)||null,search_code:!(null===(r=t.searchContext)||void 0===r||!r.code_search)||null,repository_ref:null===(o=t.searchContext)||void 0===o?void 0:o.ref},f.a);return`${t.searchPath}?${Object(b.D)(s)}`},L=function(t){var e,n,i,r;const o=v()({search:t.search,nav_source:"navbar",scope:null===(e=t.searchContext)||void 0===e?void 0:e.scope,snippets:!(null===(n=t.searchContext)||void 0===n||!n.for_snippets)||null,search_code:!(null===(i=t.searchContext)||void 0===i||!i.code_search)||null,repository_ref:null===(r=t.searchContext)||void 0===r?void 0:r.ref},f.a);return`${t.searchPath}?${Object(b.D)(o)}`},N=function(t,e){var n,i;const r=[];var o,s,a;null!==(n=t.searchContext)&&void 0!==n&&n.project&&r.push({text:k.A,scope:(null===(o=t.searchContext.project)||void 0===o?void 0:o.name)||"",scopeCategory:j.C,icon:y.c,href:e.projectUrl,extraAttrs:{"data-track-action":k.G,"data-track-label":"scoped_in_project"}});null!==(i=t.searchContext)&&void 0!==i&&i.group&&r.push({text:k.z,scope:(null===(s=t.searchContext.group)||void 0===s?void 0:s.name)||"",scopeCategory:j.p,icon:null!==(a=t.searchContext.group)&&void 0!==a&&null!==(a=a.full_name)&&void 0!==a&&a.includes("/")?y.d:y.b,href:e.groupUrl,extraAttrs:{"data-track-action":k.G,"data-track-label":"scoped_in_group"}});return r.push({text:k.y,description:j.u,href:e.allUrl,extraAttrs:{"data-track-action":k.G,"data-track-label":"scoped_in_all"}}),r},$=function(t,e){var n;let i=Object(C.sprintf)(j.j,{searchTerm:t.search},!1);const r=(null===(n=e.scopedSearchOptions)||void 0===n?void 0:n.length)>0?e.scopedSearchOptions:[];switch(t.commandChar){case j.f:i=Object(C.sprintf)(j.g,{searchTerm:t.search},!1);break;case j.n:i=Object(C.sprintf)(j.o,{searchTerm:t.search},!1);break;case j.h:i=Object(C.sprintf)(j.i,{searchTerm:t.search},!1);break;case j.d:i=Object(C.sprintf)(j.e,{searchTerm:t.search},!1)}return{name:i,items:r}},G=function(t){const e={},n=[];return t.autocompleteOptions.forEach((function(i){const r=e[i.category],o=Object(T.b)(i,t.searchContext);r?r.items.push(o):(e[i.category]={name:o.category,items:[o]},n.push(e[o.category]))})),n.sort((function(t,e){return j.I.indexOf(t.name)-j.I.indexOf(e.name)}))},F=function(t,e){var n,i;if(!t.search)return e.defaultSearchOptions;const r=Object.values(e.autocompleteGroupedSearchOptions).reduce((function(t,e){return[...t,...e.items]}),[]);return(null===(n=t.search)||void 0===n?void 0:n.length)<=y.m?r:(null!==(i=e.scopedSearchOptions)&&void 0!==i?i:[]).concat(r)},B=function(t){return""!==t.commandChar};var q={REQUEST_AUTOCOMPLETE(t){t.loading=!0,t.autocompleteOptions=[],t.autocompleteError=!1},RECEIVE_AUTOCOMPLETE_SUCCESS(t,e){t.loading=!1,t.autocompleteOptions=[...t.autocompleteOptions].concat(e),t.autocompleteError=!1},RECEIVE_AUTOCOMPLETE_ERROR(t){t.loading=!1,t.autocompleteOptions=[],t.autocompleteError=!0},CLEAR_AUTOCOMPLETE(t){t.autocompleteOptions=[],t.autocompleteError=!1},SET_SEARCH(t,e){t.search=e},SET_COMMAND(t,e){t.commandChar=e}};var H=function({searchPath:t,issuesPath:e,mrPath:n,autocompletePath:i,searchContext:r,search:o}){return{searchPath:t,issuesPath:e,mrPath:n,autocompletePath:i,searchContext:r,search:o,autocompleteOptions:[],autocompleteError:!1,loading:!1,commandChar:""}};o.default.use(p.b);var U=function(t){return new p.b.Store(function({searchPath:t,issuesPath:e,mrPath:n,autocompletePath:o,searchContext:s,search:a}){return{actions:i,getters:r,mutations:q,state:H({searchPath:t,issuesPath:e,mrPath:n,autocompletePath:o,searchContext:s,search:a})}}(t))},K=n("hIHU"),z=n("4lAS"),V=n("eVUo"),W={},Y=n("tBpV"),X=Object(Y.a)(W,(function(){return(0,this._self._c)("div")}),[],!1,null,null,null).exports,Q=n("O6Bj"),J=n("IfLy"),Z=n("d08M"),tt=n("ygVz"),et=n("QvGs"),nt=n("Lzak"),it=n("s1D3"),rt=n("z1xw"),ot=n("Mq5L"),st=n("yynV");const at=o.default.observable({last_update:0,todos:0,assigned_issues:0,assigned_merge_requests:0,review_requested_merge_requests:0});function lt(t={}){var e;if(!((null!==(e=t.last_update)&&void 0!==e?e:0)<at.last_update))for(const e in at)Number.isInteger(t[e])&&(at[e]=t[e])}let ct=null;function ut(t){var e;null===(e=ct)||void 0===e||e.postMessage(t)}async function dt(){try{const t=Date.now(),{data:e}=await Object(st.d)();lt({...e,last_update:t}),ut(at)}catch(t){console.error("Error retrieving user counts",t)}}function ht(t){var e,n;Number.isSafeInteger(null==t||null===(e=t.detail)||void 0===e?void 0:e.count)?at.todos=Math.max(t.detail.count,0):Number.isSafeInteger(null==t||null===(n=t.detail)||void 0===n?void 0:n.delta)&&(at.todos=Math.max(at.todos+t.detail.delta,0))}function pt(){var t;document.removeEventListener("userCounts:fetch",dt),document.removeEventListener("todo:toggle",ht),null===(t=ct)||void 0===t||t.close(),ct=null}var mt=n("sHIo"),ft=n("Mp8J"),gt={logo:'<svg aria-hidden="true" role="img" class="tanuki-logo" width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n  <path class="tanuki-shape tanuki" d="m24.507 9.5-.034-.09L21.082.562a.896.896 0 0 0-1.694.091l-2.29 7.01H7.825L5.535.653a.898.898 0 0 0-1.694-.09L.451 9.411.416 9.5a6.297 6.297 0 0 0 2.09 7.278l.012.01.03.022 5.16 3.867 2.56 1.935 1.554 1.176a1.051 1.051 0 0 0 1.268 0l1.555-1.176 2.56-1.935 5.197-3.89.014-.01A6.297 6.297 0 0 0 24.507 9.5Z"\n        fill="#E24329"/>\n  <path class="tanuki-shape right-cheek" d="m24.507 9.5-.034-.09a11.44 11.44 0 0 0-4.56 2.051l-7.447 5.632 4.742 3.584 5.197-3.89.014-.01A6.297 6.297 0 0 0 24.507 9.5Z"\n        fill="#FC6D26"/>\n  <path class="tanuki-shape chin" d="m7.707 20.677 2.56 1.935 1.555 1.176a1.051 1.051 0 0 0 1.268 0l1.555-1.176 2.56-1.935-4.743-3.584-4.755 3.584Z"\n        fill="#FCA326"/>\n  <path class="tanuki-shape left-cheek" d="M5.01 11.461a11.43 11.43 0 0 0-4.56-2.05L.416 9.5a6.297 6.297 0 0 0 2.09 7.278l.012.01.03.022 5.16 3.867 4.745-3.584-7.444-5.632Z"\n        fill="#FC6D26"/>\n</svg>\n',i18n:{homepage:Object(C.__)("Homepage")},directives:{GlTooltip:rt.a,SafeHtml:ft.a},inject:["rootPath"],props:{logoUrl:{type:String,required:!1,default:""}}},vt=Object(Y.a)(gt,(function(){var t=this,e=t._self._c;return e("a",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip:super-sidebar.right",value:t.$options.i18n.homepage,expression:"$options.i18n.homepage",arg:"super-sidebar",modifiers:{right:!0}}],staticClass:"brand-logo",attrs:{href:t.rootPath,"data-track-action":"click_link","data-track-label":"gitlab_logo_link","data-track-property":"nav_core_menu"}},[e("span",{staticClass:"gl-sr-only"},[t._v(t._s(t.$options.i18n.homepage))]),t._v(" "),t.logoUrl?e("img",{staticClass:"gl-h-6 gl-max-w-full",attrs:{alt:"","data-testid":"brand-header-custom-logo",src:t.logoUrl}}):e("span",{directives:[{name:"safe-html",rawName:"v-safe-html",value:t.$options.logo,expression:"$options.logo"}],attrs:{"aria-hidden":"true","data-testid":"brand-header-default-logo"}})])}),[],!1,null,null,null).exports,bt=n("Bo17"),_t=n("fSQg"),yt=n("XiQx"),St=n("LgEk"),xt=n("i7S8"),Ot=n("JtyA");const wt=-177+h.h;var Et={components:{GlDisclosureDropdown:bt.a,GlDisclosureDropdownGroup:_t.a,GlDisclosureDropdownItem:yt.b,InviteMembersTrigger:St.default,CreateWorkItemModal:function(){return Promise.all([n.e(29),n.e(102),n.e(180),n.e(338),n.e(1163)]).then(n.bind(null,"8IeO"))}},directives:{GlTooltip:rt.a},i18n:{createNew:Object(C.__)("Create new...")},inject:["isImpersonating"],props:{groups:{type:Array,required:!0}},data:()=>({dropdownOpen:!1}),computed:{dropdownOffset(){return{mainAxis:h.d,crossAxis:this.isImpersonating?wt:-177}}},methods:{isInvitedMembers:t=>t.component===xt.E,isCreateWorkItem:t=>t.component===Ot.CREATE_NEW_WORK_ITEM_MODAL},toggleId:"create-menu-toggle",TRIGGER_ELEMENT_DISCLOSURE_DROPDOWN:xt.G,WORK_ITEM_TYPE_ENUM_EPIC:Ot.WORK_ITEM_TYPE_ENUM_EPIC},Ct=Object(Y.a)(Et,(function(){var t=this,e=t._self._c;return e("gl-disclosure-dropdown",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip:super-sidebar.bottom",value:t.dropdownOpen?"":t.$options.i18n.createNew,expression:"dropdownOpen ? '' : $options.i18n.createNew",arg:"super-sidebar",modifiers:{bottom:!0}}],attrs:{category:"tertiary",icon:"plus","no-caret":"","text-sr-only":"","toggle-text":t.$options.i18n.createNew,"toggle-id":t.$options.toggleId,"dropdown-offset":t.dropdownOffset,"data-testid":"new-menu-toggle"},on:{shown:function(e){t.dropdownOpen=!0},hidden:function(e){t.dropdownOpen=!1}}},t._l(t.groups,(function(n,i){return e("gl-disclosure-dropdown-group",{key:n.name,attrs:{bordered:0!==i,group:n}},[t._l(n.items,(function(n){return[t.isInvitedMembers(n)?e("invite-members-trigger",{key:n.text+"-trigger",attrs:{"trigger-source":"top_nav","trigger-element":t.$options.TRIGGER_ELEMENT_DISCLOSURE_DROPDOWN}}):t.isCreateWorkItem(n)?e("create-work-item-modal",{key:n.text+"-modal-trigger",attrs:{"as-dropdown-item":"","is-group":"","work-item-type-name":t.$options.WORK_ITEM_TYPE_ENUM_EPIC}}):e("gl-disclosure-dropdown-item",{key:n.text,attrs:{item:n}})]}))],2)})),1)}),[],!1,null,null,null).exports,jt=n("0AwG"),Tt={components:{GlIcon:it.a},props:{count:{type:[Number,String],required:!0},href:{type:String,required:!1,default:null},icon:{type:String,required:!0},label:{type:String,required:!0}},computed:{ariaLabel(){return`${this.label} ${this.count}`},component(){return this.href?"a":"button"},formattedCount(){return Number.isFinite(this.count)?Object(jt.q)(this.count):this.count}}},kt=Object(Y.a)(Tt,(function(){var t=this,e=t._self._c;return e(t.component,{tag:"component",staticClass:"user-bar-button gl-block gl-grow gl-rounded-base gl-border-none gl-py-3 gl-text-center gl-text-sm gl-leading-1 hover:gl-no-underline",attrs:{"aria-label":t.ariaLabel,href:t.href}},[e("gl-icon",{attrs:{"aria-hidden":"true",name:t.icon}}),t._v(" "),t.count?e("span",{staticClass:"gl-ml-1",attrs:{"aria-hidden":"true"}},[t._v(t._s(t.formattedCount))]):t._e()],1)}),[],!1,null,null,null).exports,It={components:{GlBadge:nt.a,GlDisclosureDropdown:bt.a},props:{items:{type:Array,required:!0}},methods:{getCount(t){var e,n;return null!==(e=null!==(n=at[t.userCount])&&void 0!==n?n:t.count)&&void 0!==e?e:0}}},Dt=Object(Y.a)(It,(function(){var t=this,e=t._self._c;return e("gl-disclosure-dropdown",{attrs:{items:t.items,placement:"bottom"},on:{shown:function(e){return t.$emit("shown")},hidden:function(e){return t.$emit("hidden")}},scopedSlots:t._u([{key:"toggle",fn:function(){return[t._t("default")]},proxy:!0},{key:"list-item",fn:function({item:n}){return[e("span",{staticClass:"gl-flex gl-items-center gl-justify-between"},[t._v("\n      "+t._s(n.text)+"\n      "),e("gl-badge",{attrs:{pill:"",variant:"neutral"}},[t._v(t._s(t.getCount(n)))])],1)]}}],null,!0)})}),[],!1,null,null,null).exports,Pt=n("tbP8"),At=n("z7to"),Mt=n("wPAL"),Rt=n("DZUU"),Lt={i18n:{user:{busy:Object(C.s__)("UserProfile|Busy")}},components:{GlBadge:nt.a,GlDisclosureDropdownItem:yt.b,GlTooltip:Rt.a},directives:{SafeHtml:ft.a},props:{user:{required:!0,type:Object}},computed:{menuItem(){const t={text:this.user.name};return this.user.has_link_to_profile&&(t.href=this.user.link_to_profile,t.extraAttrs={...h.z,"data-track-label":"user_profile","data-testid":"user-profile-link"}),t}}},Nt=Object(Y.a)(Lt,(function(){var t=this,e=t._self._c;return e("gl-disclosure-dropdown-item",{attrs:{item:t.menuItem},scopedSlots:t._u([{key:"list-item",fn:function(){return[e("span",{staticClass:"gl-flex gl-flex-col"},[e("span",[e("span",{staticClass:"gl-font-bold"},[t._v("\n          "+t._s(t.user.name)+"\n        ")]),t._v(" "),t.user.status.busy?e("gl-badge",{attrs:{variant:"warning"}},[t._v("\n          "+t._s(t.$options.i18n.user.busy)+"\n        ")]):t._e()],1),t._v(" "),e("span",{staticClass:"gl-break-all gl-text-subtle"},[t._v("@"+t._s(t.user.username))]),t._v(" "),t.user.status.customized?e("span",{ref:"statusTooltipTarget",staticClass:"gl-mt-2 gl-flex gl-items-baseline gl-text-sm",attrs:{"data-testid":"user-menu-status"}},[e("gl-emoji",{staticClass:"gl-mr-1",attrs:{"data-name":t.user.status.emoji}}),t._v(" "),e("span",{directives:[{name:"safe-html",rawName:"v-safe-html",value:t.user.status.message_html,expression:"user.status.message_html"}],staticClass:"gl-truncate"}),t._v(" "),t.user.status.message_html?e("gl-tooltip",{attrs:{target:function(){return t.$refs.statusTooltipTarget},boundary:"viewport",placement:"bottom"}},[e("span",{directives:[{name:"safe-html",rawName:"v-safe-html",value:t.user.status.message_html,expression:"user.status.message_html"}]})]):t._e()],1):t._e()])]},proxy:!0}])})}),[],!1,null,null,null).exports;const $t=-211+h.h;var Gt={SET_STATUS_MODAL_ID:Mt.c,i18n:{setStatus:Object(C.s__)("SetStatusModal|Set status"),editStatus:Object(C.s__)("SetStatusModal|Edit status"),editProfile:Object(C.s__)("CurrentUser|Edit profile"),preferences:Object(C.s__)("CurrentUser|Preferences"),buyPipelineMinutes:Object(C.s__)("CurrentUser|Buy compute minutes"),oneOfGroupsRunningOutOfPipelineMinutes:Object(C.s__)("CurrentUser|One of your groups is running out"),gitlabNext:Object(C.s__)("CurrentUser|Switch to GitLab Next"),startTrial:Object(C.s__)("CurrentUser|Start an Ultimate trial"),enterAdminMode:Object(C.s__)("CurrentUser|Enter Admin Mode"),leaveAdminMode:Object(C.s__)("CurrentUser|Leave Admin Mode"),signOut:Object(C.__)("Sign out")},components:{GlAvatar:Pt.a,GlDisclosureDropdown:bt.a,GlDisclosureDropdownGroup:_t.a,GlDisclosureDropdownItem:yt.b,GlButton:z.a,UserMenuProfileItem:Nt,SetStatusModal:function(){return Promise.all([n.e(29),n.e(230),n.e(338),n.e(1151),n.e(1133)]).then(n.bind(null,"WhJJ"))}},directives:{SafeHtml:ft.a,GlModal:ot.a},mixins:[tt.b.mixin()],inject:["isImpersonating"],props:{data:{required:!0,type:Object}},data:()=>({setStatusModalReady:!1,updatedAvatarUrl:null}),computed:{avatarUrl(){return this.updatedAvatarUrl||this.data.avatar_url},toggleText(){return Object(C.sprintf)(Object(C.__)("%{user} user’s menu"),{user:this.data.name})},statusItem(){const{busy:t,customized:e}=this.data.status;return{text:t||e?this.$options.i18n.editStatus:this.$options.i18n.setStatus,extraAttrs:{...h.z,"data-track-label":"user_edit_status"}}},trialItem(){return{text:this.$options.i18n.startTrial,href:this.data.trial.url,extraAttrs:{...h.z,"data-track-label":"start_trial"}}},showTrialItem(){var t;return null===(t=this.data.trial)||void 0===t?void 0:t.has_start_trial},editProfileItem(){return{text:this.$options.i18n.editProfile,href:this.data.settings.profile_path,extraAttrs:{"data-testid":"edit-profile-link",...h.z,"data-track-label":"user_edit_profile"}}},preferencesItem(){return{text:this.$options.i18n.preferences,href:this.data.settings.profile_preferences_path,extraAttrs:{...h.z,"data-track-label":"user_preferences"}}},addBuyPipelineMinutesMenuItem(){var t;return null===(t=this.data.pipeline_minutes)||void 0===t?void 0:t.show_buy_pipeline_minutes},buyPipelineMinutesItem(){var t;return{text:this.$options.i18n.buyPipelineMinutes,warningText:this.$options.i18n.oneOfGroupsRunningOutOfPipelineMinutes,href:null===(t=this.data.pipeline_minutes)||void 0===t?void 0:t.buy_pipeline_minutes_path,extraAttrs:{class:"js-follow-link",...h.z,"data-track-label":"buy_pipeline_minutes"}}},gitlabNextItem(){return{text:this.$options.i18n.gitlabNext,href:this.data.canary_toggle_com_url,extraAttrs:{...h.z,"data-track-label":"switch_to_canary"}}},enterAdminModeItem(){return{text:this.$options.i18n.enterAdminMode,href:this.data.admin_mode.enter_admin_mode_url,extraAttrs:{...h.z,"data-track-label":"enter_admin_mode"}}},leaveAdminModeItem(){return{text:this.$options.i18n.leaveAdminMode,href:this.data.admin_mode.leave_admin_mode_url,extraAttrs:{...h.z,"data-track-label":"leave_admin_mode","data-method":"post"}}},signOutGroup(){return{items:[{text:this.$options.i18n.signOut,href:this.data.sign_out_link,extraAttrs:{"data-method":"post","data-testid":"sign-out-link",class:"sign-out-link"}}]}},statusModalData(){var t;if(null===(t=this.data)||void 0===t||null===(t=t.status)||void 0===t||!t.can_update)return null;const{busy:e,customized:n}=this.data.status;if(!e&&!n)return{};const{emoji:i,message:r,availability:o,clear_after:s}=this.data.status;return{"current-emoji":i||"","current-message":r||"","current-availability":o||"","current-clear-status-after":s||""}},buyPipelineMinutesCalloutData(){return this.showNotificationDot?{"data-feature-id":this.data.pipeline_minutes.callout_attrs.feature_id,"data-dismiss-endpoint":this.data.pipeline_minutes.callout_attrs.dismiss_endpoint}:{}},showEnterAdminModeItem(){return this.data.admin_mode.user_is_admin&&this.data.admin_mode.admin_mode_feature_enabled&&!this.data.admin_mode.admin_mode_active},showLeaveAdminModeItem(){return this.data.admin_mode.user_is_admin&&this.data.admin_mode.admin_mode_feature_enabled&&this.data.admin_mode.admin_mode_active},showNotificationDot(){var t;return null===(t=this.data.pipeline_minutes)||void 0===t?void 0:t.show_notification_dot},dropdownOffset(){return{mainAxis:h.d,crossAxis:this.isImpersonating?$t:-211}}},mounted(){document.addEventListener("userAvatar:update",this.updateAvatar)},unmounted(){document.removeEventListener("userAvatar:update",this.updateAvatar)},methods:{updateAvatar(t){var e;this.updatedAvatarUrl=null===(e=t.detail)||void 0===e?void 0:e.url},onShow(){this.initBuyCIMinsCallout()},closeDropdown(){this.$refs.userDropdown.close()},initBuyCIMinsCallout(){var t;this.showNotificationDot&&At.a.factory(null===(t=this.$refs)||void 0===t?void 0:t.buyPipelineMinutesNotificationCallout.$el)},trackBuyCIMins(){if(this.addBuyPipelineMinutesMenuItem){const{"track-action":t,"track-label":e,"track-property":n}=this.data.pipeline_minutes.tracking_attrs;this.track(t,{label:e,property:n})}},trackSignOut(){this.track(h.z["data-track-action"],{label:"user_sign_out",property:h.z["data-track-property"]})}}},Ft=Object(Y.a)(Gt,(function(){var t=this,e=t._self._c;return e("div",[e("gl-disclosure-dropdown",{ref:"userDropdown",attrs:{"dropdown-offset":t.dropdownOffset,"data-testid":"user-dropdown","auto-close":!1},on:{shown:t.onShow},scopedSlots:t._u([{key:"toggle",fn:function(){return[e("gl-button",{staticClass:"user-bar-dropdown-toggle btn-with-notification",attrs:{category:"tertiary","data-testid":"user-menu-toggle"}},[e("span",{staticClass:"gl-sr-only"},[t._v(t._s(t.toggleText))]),t._v(" "),e("gl-avatar",{attrs:{size:24,"entity-name":t.data.name,src:t.avatarUrl,"aria-hidden":"true","data-testid":"user-avatar-content"}}),t._v(" "),t.showNotificationDot?e("span",t._b({staticClass:"notification-dot-warning",attrs:{"data-testid":"buy-pipeline-minutes-notification-dot"}},"span",t.data.pipeline_minutes.notification_dot_attrs,!1)):t._e()],1)]},proxy:!0}])},[t._v(" "),e("gl-disclosure-dropdown-group",[e("user-menu-profile-item",{attrs:{user:t.data}})],1),t._v(" "),e("gl-disclosure-dropdown-group",{attrs:{bordered:""}},[t.setStatusModalReady&&t.statusModalData?e("gl-disclosure-dropdown-item",{directives:[{name:"gl-modal",rawName:"v-gl-modal",value:t.$options.SET_STATUS_MODAL_ID,expression:"$options.SET_STATUS_MODAL_ID"}],attrs:{item:t.statusItem,"data-testid":"status-item"},on:{action:t.closeDropdown}}):t._e(),t._v(" "),t.showTrialItem?e("gl-disclosure-dropdown-item",{attrs:{item:t.trialItem,"data-testid":"start-trial-item"},scopedSlots:t._u([{key:"list-item",fn:function(){return[t._v("\n          "+t._s(t.trialItem.text)+"\n          "),e("gl-emoji",{attrs:{"data-name":"rocket"}})]},proxy:!0}],null,!1,1592713231)}):t._e(),t._v(" "),e("gl-disclosure-dropdown-item",{attrs:{item:t.editProfileItem,"data-testid":"edit-profile-item"}}),t._v(" "),e("gl-disclosure-dropdown-item",{attrs:{item:t.preferencesItem,"data-testid":"preferences-item"}}),t._v(" "),t.addBuyPipelineMinutesMenuItem?e("gl-disclosure-dropdown-item",t._b({ref:"buyPipelineMinutesNotificationCallout",attrs:{item:t.buyPipelineMinutesItem,"data-testid":"buy-pipeline-minutes-item"},on:{action:t.trackBuyCIMins},scopedSlots:t._u([{key:"list-item",fn:function(){return[e("span",{staticClass:"gl-flex gl-flex-col"},[e("span",[t._v(t._s(t.buyPipelineMinutesItem.text)+" "),e("gl-emoji",{attrs:{"data-name":"clock9"}})],1),t._v(" "),t.data.pipeline_minutes.show_with_subtext?e("span",{staticClass:"small gl-pt-2 gl-text-sm gl-text-orange-800"},[t._v(t._s(t.buyPipelineMinutesItem.warningText))]):t._e()])]},proxy:!0}],null,!1,705946423)},"gl-disclosure-dropdown-item",t.buyPipelineMinutesCalloutData,!1)):t._e(),t._v(" "),t.data.gitlab_com_but_not_canary?e("gl-disclosure-dropdown-item",{attrs:{item:t.gitlabNextItem,"data-testid":"gitlab-next-item"}}):t._e(),t._v(" "),t.showEnterAdminModeItem?e("gl-disclosure-dropdown-item",{attrs:{item:t.enterAdminModeItem,"data-testid":"enter-admin-mode-item"}}):t._e(),t._v(" "),t.showLeaveAdminModeItem?e("gl-disclosure-dropdown-item",{attrs:{item:t.leaveAdminModeItem,"data-testid":"leave-admin-mode-item"}}):t._e()],1),t._v(" "),t.data.can_sign_out?e("gl-disclosure-dropdown-group",{attrs:{bordered:"",group:t.signOutGroup,"data-testid":"sign-out-group"},on:{action:t.trackSignOut}}):t._e()],1),t._v(" "),t.statusModalData?e("set-status-modal",t._b({attrs:{"default-emoji":"speech_balloon"},on:{mounted:function(e){t.setStatusModalReady=!0}}},"set-status-modal",t.statusModalData,!1)):t._e()],1)}),[],!1,null,null,null).exports,Bt=n("2xEv");const qt=tt.a.mixin();var Ht={NEXT_LABEL:"Next",JS_TOGGLE_COLLAPSE_CLASS:h.i,SEARCH_MODAL_ID:y.j,components:{Counter:kt,CreateMenu:Ct,GlBadge:nt.a,GlButton:z.a,MergeRequestMenu:Dt,UserMenu:Ft,SearchModal:function(){return Promise.resolve().then(n.bind(null,"YYYz"))},SuperSidebarToggle:Bt.a,BrandLogo:vt,GlIcon:it.a,OrganizationSwitcher:function(){return n.e(601).then(n.bind(null,"emUD"))}},i18n:{issues:Object(C.__)("Assigned issues"),mergeRequests:Object(C.__)("Merge requests"),searchKbdHelp:Object(C.sprintf)(Object(C.s__)("GlobalSearch|Type %{kbdOpen}/%{kbdClose} to search"),{kbdOpen:"<kbd>",kbdClose:"</kbd>"},!1),todoList:Object(C.__)("To-Do list"),stopImpersonating:Object(C.__)("Stop impersonating"),searchBtnText:Object(C.__)("Search or go to…")},directives:{GlTooltip:rt.a,GlModal:ot.a},mixins:[Object(mt.a)(),qt],inject:["isImpersonating"],props:{hasCollapseButton:{default:!0,type:Boolean,required:!1},sidebarData:{type:Object,required:!0}},data(){return{mrMenuShown:!1,searchTooltip:this.$options.i18n.searchKbdHelp,userCounts:at,isLoggedIn:Object(c.C)()}},computed:{mergeRequestTotalCount:()=>at.assigned_merge_requests+at.review_requested_merge_requests,mergeRequestMenuComponent(){return this.sidebarData.merge_request_menu?"merge-request-menu":"div"}},created(){var t,e;Object.assign(at,this.sidebarData.user_counts),pt(),document.addEventListener("userCounts:fetch",dt),document.addEventListener("todo:toggle",ht),window.BroadcastChannel&&null!==(t=gon)&&void 0!==t&&t.current_user_id&&(ct=new BroadcastChannel("user_counts_"+(null===(e=gon)||void 0===e?void 0:e.current_user_id)),ct.onmessage=function(t){lt(t.data)},ut(at))},beforeDestroy(){pt()},methods:{hideSearchTooltip(){this.searchTooltip=""},showSearchTooltip(){this.searchTooltip=this.$options.i18n.searchKbdHelp}}},Ut=Object(Y.a)(Ht,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"user-bar gl-flex gl-gap-1 gl-p-3",class:{"gl-flex-col gl-gap-3":t.sidebarData.is_logged_in}},[t.hasCollapseButton||t.sidebarData.is_logged_in?e("div",{staticClass:"gl-flex gl-items-center gl-gap-1"},[t.sidebarData.is_logged_in?[e("brand-logo",{attrs:{"logo-url":t.sidebarData.logo_url}}),t._v(" "),t.sidebarData.gitlab_com_and_canary?e("gl-badge",{attrs:{variant:"success","data-testid":"canary-badge-link",href:t.sidebarData.canary_toggle_com_url}},[t._v("\n        "+t._s(t.$options.NEXT_LABEL)+"\n      ")]):t._e(),t._v(" "),e("div",{staticClass:"gl-grow"})]:t._e(),t._v(" "),t.hasCollapseButton?e("super-sidebar-toggle",{class:t.$options.JS_TOGGLE_COLLAPSE_CLASS,attrs:{"data-testid":"super-sidebar-collapse-button",type:"collapse"}}):t._e(),t._v(" "),t.sidebarData.is_logged_in&&t.sidebarData.create_new_menu_groups.length>0?e("create-menu",{attrs:{groups:t.sidebarData.create_new_menu_groups}}):t._e(),t._v(" "),t.sidebarData.is_logged_in?e("user-menu",{attrs:{data:t.sidebarData}}):t._e(),t._v(" "),t.isImpersonating?e("gl-button",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip.bottom",modifiers:{bottom:!0}}],attrs:{href:t.sidebarData.stop_impersonation_path,title:t.$options.i18n.stopImpersonating,"aria-label":t.$options.i18n.stopImpersonating,icon:"incognito",category:"tertiary","data-method":"delete","data-testid":"stop-impersonation-btn"}}):t._e()],2):t._e(),t._v(" "),t.glFeatures.uiForOrganizations&&t.isLoggedIn?e("organization-switcher"):t._e(),t._v(" "),t.sidebarData.is_logged_in?e("div",{staticClass:"gl-flex gl-justify-between gl-gap-2"},[e("counter",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip:super-sidebar.bottom",value:t.$options.i18n.issues,expression:"$options.i18n.issues",arg:"super-sidebar",modifiers:{bottom:!0}}],staticClass:"dashboard-shortcuts-issues gl-basis-1/3",attrs:{icon:"issues",count:t.userCounts.assigned_issues,href:t.sidebarData.issues_dashboard_path,label:t.$options.i18n.issues,"data-testid":"issues-shortcut-button","data-track-action":"click_link","data-track-label":"issues_link","data-track-property":"nav_core_menu"}}),t._v(" "),e(t.mergeRequestMenuComponent,{tag:"component",staticClass:"!gl-block gl-basis-1/3",attrs:{items:t.sidebarData.merge_request_menu},on:{shown:function(e){t.mrMenuShown=!0},hidden:function(e){t.mrMenuShown=!1}}},[e("counter",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip:super-sidebar.bottom",value:t.mrMenuShown?"":t.$options.i18n.mergeRequests,expression:"mrMenuShown ? '' : $options.i18n.mergeRequests",arg:"super-sidebar",modifiers:{bottom:!0}}],staticClass:"gl-w-full",class:{"js-merge-request-dashboard-shortcut":!t.sidebarData.merge_request_menu},attrs:{icon:"merge-request",href:t.sidebarData.merge_request_dashboard_path,count:t.mergeRequestTotalCount,label:t.$options.i18n.mergeRequests,"data-testid":"merge-requests-shortcut-button","data-track-action":"click_dropdown","data-track-label":"merge_requests_menu","data-track-property":"nav_core_menu"}})],1),t._v(" "),e("counter",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip:super-sidebar.bottom",value:t.$options.i18n.todoList,expression:"$options.i18n.todoList",arg:"super-sidebar",modifiers:{bottom:!0}}],staticClass:"shortcuts-todos js-todos-count gl-basis-1/3",attrs:{icon:"todo-done",count:t.userCounts.todos,href:t.sidebarData.todos_dashboard_path,label:t.$options.i18n.todoList,"data-testid":"todos-shortcut-button","data-track-action":"click_link","data-track-label":"todos_link","data-track-property":"nav_core_menu"}})],1):t._e(),t._v(" "),t.glFeatures.searchButtonTopRight?t._e():e("div",{staticClass:"gl-grow"},[e("gl-button",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip.bottom.html",value:t.searchTooltip,expression:"searchTooltip",modifiers:{bottom:!0,html:!0}},{name:"gl-modal",rawName:"v-gl-modal",value:t.$options.SEARCH_MODAL_ID,expression:"$options.SEARCH_MODAL_ID"}],staticClass:"user-bar-button gl-block gl-w-full gl-rounded-base gl-border-none gl-bg-gray-10 gl-py-3 gl-leading-1 gl-text-gray-900",attrs:{id:"super-sidebar-search","data-testid":"super-sidebar-search-button"},on:{click:function(e){return t.trackEvent("click_search_button_to_activate_command_palette")}}},[e("gl-icon",{attrs:{name:"search"}}),t._v("\n      "+t._s(t.$options.i18n.searchBtnText)+"\n    ")],1),t._v(" "),e("search-modal",{on:{shown:t.hideSearchTooltip,hidden:t.showSearchTooltip}})],1)],1)}),[],!1,null,null,null).exports,Kt={mounted(){h.B.ready=!0},beforeDestroy(){h.B.ready=!1},mountId:h.p},zt=Object(Y.a)(Kt,(function(){this._self._c;return this._m(0)}),[function(){return(0,this._self._c)("div",{attrs:{id:this.$options.mountId}})}],!1,null,null,null).exports,Vt=(n("UezY"),n("hG7+"),n("Ap2P")),Wt=n("qLpH"),Yt=n("xPX6"),Xt=n("4bVg"),Qt={components:{GlBadge:nt.a,GlButton:z.a,GlDisclosureDropdown:bt.a,GlDisclosureDropdownGroup:_t.a,GitlabVersionCheckBadge:Vt.a},mixins:[tt.b.mixin({property:"nav_help_menu"})],i18n:{help:Object(C.__)("Help"),support:Object(C.__)("Support"),docs:Object(C.__)("GitLab documentation"),plans:Object(C.__)("Compare GitLab plans"),forum:Object(C.__)("Community forum"),contribute:Object(C.__)("Contribute to GitLab"),feedback:Object(C.__)("Provide feedback"),shortcuts:Object(C.__)("Keyboard shortcuts"),version:Object(C.__)("Your GitLab version"),whatsnew:Object(C.__)("What's new"),terms:Object(C.__)("Terms and privacy"),privacy:Object(C.__)("Privacy statement")},inject:["isSaas"],props:{sidebarData:{type:Object,required:!0}},data(){return{showWhatsNewNotification:this.shouldShowWhatsNewNotification(),duoChatGlobalState:h.A,toggleWhatsNewDrawer:null}},computed:{itemGroups(){const t={helpLinks:{items:[{text:this.$options.i18n.help,href:Object(Wt.a)(),extraAttrs:{...this.trackingAttrs("help")}},{text:this.$options.i18n.support,href:this.sidebarData.support_path,extraAttrs:{...this.trackingAttrs("support")}},{text:this.$options.i18n.docs,href:this.sidebarData.docs_path,extraAttrs:{...this.trackingAttrs("gitlab_documentation")}},{text:this.$options.i18n.plans,href:Yt.f+"/pricing",extraAttrs:{...this.trackingAttrs("compare_gitlab_plans")}},{text:this.$options.i18n.forum,href:Yt.b,extraAttrs:{...this.trackingAttrs("community_forum")}},{text:this.$options.i18n.contribute,href:Object(Wt.a)("",{anchor:"contribute-to-gitlab"}),extraAttrs:{...this.trackingAttrs("contribute_to_gitlab")}},{text:this.$options.i18n.feedback,href:Yt.f+"/submit-feedback",extraAttrs:{...this.trackingAttrs("submit_feedback")}},this.isSaas&&{text:this.$options.i18n.privacy,href:Yt.f+"/privacy",extraAttrs:{...this.trackingAttrs("privacy")}},this.sidebarData.terms&&!this.isSaas&&{text:this.$options.i18n.terms,href:this.sidebarData.terms,extraAttrs:{...this.trackingAttrs("terms")}}].filter(Boolean)},helpActions:{items:[{text:this.$options.i18n.shortcuts,action:function(){},extraAttrs:{class:"js-shortcuts-modal-trigger","data-track-action":"click_button","data-track-label":"keyboard_shortcuts_help","data-track-property":h.g["data-track-property"]},shortcut:"?"},this.sidebarData.display_whats_new&&{text:this.$options.i18n.whatsnew,action:this.showWhatsNew,count:this.showWhatsNewNotification&&this.sidebarData.whats_new_most_recent_release_items_count,extraAttrs:{"data-track-action":"click_button","data-track-label":"whats_new","data-track-property":h.g["data-track-property"]}}].filter(Boolean)}};return this.sidebarData.show_version_check&&(t.versionCheck={items:[{text:this.$options.i18n.version,href:Object(Wt.a)("update/index"),version:`${this.sidebarData.gitlab_version.major}.${this.sidebarData.gitlab_version.minor}`,extraAttrs:{...this.trackingAttrs("version_help_dropdown")}}]}),t},updateSeverity(){var t;return null===(t=this.sidebarData.gitlab_version_check)||void 0===t?void 0:t.severity}},methods:{shouldShowWhatsNewNotification(){return!(!this.sidebarData.display_whats_new||localStorage.getItem(Xt.a)===this.sidebarData.whats_new_version_digest)},async showWhatsNew(){if(this.showWhatsNewNotification=!1,this.toggleWhatsNewDrawer)this.toggleWhatsNewDrawer();else{const{default:t}=await n.e(1154).then(n.bind(null,"YZXJ"));this.toggleWhatsNewDrawer=t,this.toggleWhatsNewDrawer(this.sidebarData.whats_new_version_digest)}},trackingAttrs:t=>({...h.g,"data-track-label":t}),trackDropdownToggle(t){this.track("click_toggle",{label:t?"show_help_dropdown":"hide_help_dropdown"})}},dropdownOffset:{mainAxis:h.d}},Jt=Object(Y.a)(Qt,(function(){var t=this,e=t._self._c;return e("gl-disclosure-dropdown",{attrs:{"dropdown-offset":t.$options.dropdownOffset},on:{shown:function(e){return t.trackDropdownToggle(!0)},hidden:function(e){return t.trackDropdownToggle(!1)}},scopedSlots:t._u([{key:"toggle",fn:function(){return[e("gl-button",{staticClass:"super-sidebar-help-center-toggle btn-with-notification",attrs:{category:"tertiary",icon:"question-o","data-testid":"sidebar-help-button"}},[t.showWhatsNewNotification?e("span",{staticClass:"notification-dot-info",attrs:{"data-testid":"notification-dot"}}):t._e(),t._v("\n      "+t._s(t.$options.i18n.help)+"\n    ")])]},proxy:!0}])},[t._v(" "),t.sidebarData.show_version_check?e("gl-disclosure-dropdown-group",{attrs:{group:t.itemGroups.versionCheck},scopedSlots:t._u([{key:"list-item",fn:function({item:n}){return[e("span",{staticClass:"gl-flex gl-flex-col gl-leading-24"},[e("span",{staticClass:"gl-text-sm gl-font-bold"},[t._v("\n          "+t._s(n.text)+"\n          "),e("gl-emoji",{attrs:{"data-name":"rocket"}})],1),t._v(" "),e("span",[e("span",{staticClass:"gl-mr-2"},[t._v(t._s(n.version))]),t._v(" "),t.updateSeverity?e("gitlab-version-check-badge",{attrs:{status:t.updateSeverity}}):t._e()],1)])]}}],null,!1,2609500692)}):t._e(),t._v(" "),e("gl-disclosure-dropdown-group",{attrs:{group:t.itemGroups.helpLinks,bordered:t.sidebarData.show_version_check}}),t._v(" "),e("gl-disclosure-dropdown-group",{attrs:{group:t.itemGroups.helpActions,bordered:""},scopedSlots:t._u([{key:"list-item",fn:function({item:n}){return[e("span",{staticClass:"-gl-my-1 gl-flex gl-items-center gl-justify-between"},[t._v("\n        "+t._s(n.text)+"\n        "),n.count?e("gl-badge",{attrs:{pill:"",variant:"info"}},[t._v(t._s(n.count))]):n.shortcut?e("kbd",{staticClass:"flat"},[t._v("?")]):t._e()],1)]}}])})],1)}),[],!1,null,null,null).exports,Zt=(n("YSE1"),n("b+iX"),n("B++/"),n("47t/"),n("7F3p")),te=n("Lcz3"),ee=n("wAfB"),ne=n.n(ee),ie=n("wCL9"),re=n.n(ie),oe=n("aOF2"),se=n("WrwP"),ae=n("tlyx");var le={name:"FlyoutMenu",components:{NavItem:te.a},props:{targetId:{type:String,required:!0},items:{type:Array,required:!0}},data:()=>({currentMouseX:0,flyoutX:0,flyoutY:0,flyoutHeight:0,hoverTimeoutId:null,showSVG:!0,targetRect:null}),cleanupFunction:void 0,computed:{topSVGPoints(){const t=this.currentMouseX/this.targetRect.width*100;let e=(this.targetRect.top-this.flyoutY)/this.flyoutHeight*100;return e+=1,`${t}, ${e} 100, 0 100, ${e}`},bottomSVGPoints(){const t=this.currentMouseX/this.targetRect.width*100;let e=(this.targetRect.bottom-this.flyoutY)/this.flyoutHeight*100;return e-=1,`${t}, ${e} 100, ${e} 100, 100`},flyoutStyle:()=>({padding:"12px","padding-left":"24px"})},created(){document.querySelector("#"+this.targetId).addEventListener("mousemove",this.onMouseMove)},mounted(){var t=this;const e=document.querySelector("#"+this.targetId),n=document.querySelector(`#${this.targetId}-flyout`),i=document.querySelector("#super-sidebar");this.$options.cleanupFunction=Object(se.a)(e,n,(function(){return Object(se.b)(e,n,{middleware:[Object(ae.d)({mainAxis:-12,alignmentAxis:-12}),Object(ae.c)(),Object(ae.e)()],placement:"right-start",strategy:"fixed"}).then((function({x:r,y:o}){Object.assign(n.style,{left:r+"px",top:o+"px"}),t.flyoutX=r,t.flyoutY=o,t.flyoutHeight=n.clientHeight;const s=e.getBoundingClientRect(),a=i.getBoundingClientRect();t.targetRect={top:s.top-a.top,bottom:s.bottom-a.top,width:s.width}}))}))},beforeUnmount(){this.$options.cleanupFunction(),clearTimeout(this.hoverTimeoutId)},beforeDestroy(){document.querySelector("#"+this.targetId).removeEventListener("mousemove",this.onMouseMove)},methods:{startHoverTimeout(){var t=this;this.hoverTimeoutId=setTimeout((function(){t.showSVG=!1,t.$emit("mouseleave")}),1e3)},stopHoverTimeout(){clearTimeout(this.hoverTimeoutId)},onMouseMove(t){this.currentMouseX=Math.max(0,t.clientX-5)}}},ce=n("LPAU"),ue=n.n(ce),de=n("fApx"),he=n.n(de),pe={insert:"head",singleton:!1},me=(ue()(he.a,pe),he.a.locals,Object(Y.a)(le,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"gl-fixed gl-z-9999 -gl-mx-1 gl-max-h-full gl-overflow-y-auto",style:t.flyoutStyle,attrs:{id:t.targetId+"-flyout"},on:{mouseover:function(e){return t.$emit("mouseover")},mouseleave:function(e){return t.$emit("mouseleave")}}},[e("ul",{staticClass:"gl-min-w-20 gl-max-w-34 gl-list-none gl-rounded-base gl-border-1 gl-border-solid gl-border-gray-100 gl-bg-white gl-p-2 gl-pb-1 gl-shadow-md",on:{mouseenter:function(e){t.showSVG=!1}}},t._l(t.items,(function(n){return e("nav-item",{key:n.id,attrs:{item:n,"is-flyout":!0},on:{"pin-add":function(e,n){return t.$emit("pin-add",e,n)},"pin-remove":function(e,n){return t.$emit("pin-remove",e,n)},"nav-link-click":function(e){return t.$emit("nav-link-click")}}})})),1),t._v(" "),t.targetRect&&t.showSVG?e("svg",{style:{top:t.flyoutY+"px"},attrs:{width:t.flyoutX,height:t.flyoutHeight,viewBox:"0 0 100 100",preserveAspectRatio:"none"}},[e("polygon",{ref:"topSVG",attrs:{points:t.topSVGPoints,fill:"transparent"},on:{mouseenter:t.startHoverTimeout,mouseleave:t.stopHoverTimeout}}),t._v(" "),e("polygon",{ref:"bottomSVG",attrs:{points:t.bottomSVGPoints,fill:"transparent"},on:{mouseenter:t.startHoverTimeout,mouseleave:t.stopHoverTimeout}})]):t._e()])}),[],!1,null,"71edb719",null).exports),fe={name:"MenuSection",components:{GlCollapse:oe.a,GlIcon:it.a,NavItem:te.a,FlyoutMenu:me},props:{item:{type:Object,required:!0},expanded:{type:Boolean,required:!1,default:!1},separated:{type:Boolean,required:!1,default:!1},tag:{type:String,required:!1,default:"div"},hasFlyout:{type:Boolean,required:!1,default:!1}},data(){return{isExpanded:Boolean(this.expanded||this.item.is_active),isMouseOverSection:!1,isMouseOverFlyout:!1,keepFlyoutClosed:!1}},computed:{buttonProps(){return{"aria-controls":this.itemId,"aria-expanded":String(this.isExpanded),"data-qa-menu-item":this.item.title}},collapseIcon(){return this.hasFlyout?this.isExpanded?"chevron-down":"chevron-right":this.isExpanded?"chevron-up":"chevron-down"},computedLinkClasses(){return{[h.k]:this.isActive,"with-mouse-over-flyout":this.isMouseOverFlyout}},isActive(){return!this.isExpanded&&this.item.is_active},itemId(){return re()(this.item.title)},isMouseOver(){return this.isMouseOverSection||this.isMouseOverFlyout}},watch:{isExpanded(t){this.$emit("collapse-toggle",t),this.keepFlyoutClosed=!this.newIsExpanded,t||(this.isMouseOverFlyout=!1)}},methods:{handlePointerover(t){this.hasFlyout&&(this.isMouseOverSection="mouse"===t.pointerType)},handlePointerleave(){var t=this;this.hasFlyout&&(this.keepFlyoutClosed=!1,setTimeout((function(){t.isMouseOverSection=!1}),5))}}},ge=Object(Y.a)(fe,(function(){var t=this,e=t._self._c;return e(t.tag,{tag:"component"},[t.separated?e("hr",{staticClass:"gl-mx-4 gl-my-2",attrs:{"aria-hidden":"true"}}):t._e(),t._v(" "),e("button",t._b({staticClass:"super-sidebar-nav-item gl-relative gl-mb-2 gl-flex gl-min-h-7 gl-w-full gl-appearance-none gl-items-center gl-gap-3 gl-rounded-base gl-border-0 gl-bg-transparent gl-px-3 gl-py-2 gl-text-left !gl-text-default !gl-no-underline focus:gl-focus",class:t.computedLinkClasses,attrs:{id:"menu-section-button-"+t.itemId,"data-testid":"menu-section-button","data-qa-section-name":t.item.title},on:{click:function(e){t.isExpanded=!t.isExpanded},pointerover:t.handlePointerover,pointerleave:t.handlePointerleave}},"button",t.buttonProps,!1),[e("span",{staticClass:"gl-absolute gl-bottom-2 gl-left-2 gl-top-2 gl-transition-all gl-duration-slow",class:[t.isActive?"active-indicator gl-bg-blue-500":"gl-bg-transparent"],staticStyle:{width:"3px","border-radius":"3px","margin-right":"1px"},attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"gl-flex gl-w-6 gl-shrink-0"},[t._t("icon",(function(){return[t.item.icon?e("gl-icon",{staticClass:"super-sidebar-nav-item-icon gl-m-auto",attrs:{name:t.item.icon}}):t._e()]}))],2),t._v(" "),e("span",{staticClass:"gl-truncate-end gl-grow gl-text-gray-900"},[t._v("\n      "+t._s(t.item.title)+"\n    ")]),t._v(" "),e("span",{staticClass:"gl-text-right gl-text-gray-400"},[e("gl-icon",{staticClass:"super-sidebar-mix-blend-mode",attrs:{name:t.collapseIcon}})],1)]),t._v(" "),t.hasFlyout&&t.isMouseOver&&!t.isExpanded&&!t.keepFlyoutClosed&&t.item.items.length>0?e("flyout-menu",{attrs:{"target-id":"menu-section-button-"+t.itemId,items:t.item.items},on:{mouseover:function(e){t.isMouseOverFlyout=!0},mouseleave:function(e){t.isMouseOverFlyout=!1},"pin-add":function(e,n){return t.$emit("pin-add",e,n)},"pin-remove":function(e,n){return t.$emit("pin-remove",e,n)},"nav-link-click":function(e){return t.$emit("nav-link-click")}}}):t._e(),t._v(" "),e("gl-collapse",{staticClass:"gl-m-0 gl-list-none gl-p-0 gl-duration-medium gl-ease-ease",attrs:{id:t.itemId,"data-testid":"menu-section","data-qa-section-name":t.item.title},model:{value:t.isExpanded,callback:function(e){t.isExpanded=e},expression:"isExpanded"}},[t._t("default",(function(){return[e("ul",{staticClass:"gl-m-0 gl-list-none gl-p-0",attrs:{"aria-label":t.item.title}},t._l(t.item.items,(function(n){return e("nav-item",{key:`${t.item.title}-${n.title}`,attrs:{item:n},on:{"pin-add":function(e,n){return t.$emit("pin-add",e,n)},"pin-remove":function(e,n){return t.$emit("pin-remove",e,n)}}})})),1)]}))],2)],1)}),[],!1,null,null,null).exports;const ve={ci_cd:Object(C.s__)("Navigation|CI/CD settings"),merge_request_settings:Object(C.s__)("Navigation|Merge requests settings"),monitor:Object(C.s__)("Navigation|Monitor settings"),repository:Object(C.s__)("Navigation|Repository settings")};var be={i18n:{pinned:Object(C.s__)("Navigation|Pinned"),emptyHint:Object(C.s__)("Navigation|Your pinned items appear here.")},name:"PinnedSection",components:{Draggable:ne.a,MenuSection:ge,NavItem:te.a},props:{items:{type:Array,required:!1,default:function(){return[]}},hasFlyout:{type:Boolean,required:!1,default:!1},wasPinnedNav:{type:Boolean,required:!1,default:!1}},data(){return{expanded:"false"!==Object(c.l)(h.o)||this.wasPinnedNav,draggableItems:this.renameSettings(this.items)}},computed:{sectionItem(){return{title:this.$options.i18n.pinned,icon:"thumbtack",is_active:this.wasPinnedNav,items:this.draggableItems}},itemIds(){return this.draggableItems.map((function(t){return t.id}))}},watch:{expanded(t){Object(c.Q)(h.o,t,{expires:h.n})},items(t){this.draggableItems=this.renameSettings(t)}},methods:{handleDrag(t){t.oldIndex!==t.newIndex&&this.$emit("pin-reorder",this.items[t.oldIndex].id,this.items[t.newIndex].id,t.oldIndex<t.newIndex)},renameSettings:t=>t.map((function(t){const e=ve[t.id]||t.title;return{...t,title:e}})),onPinRemove(t,e){this.$emit("pin-remove",t,e)},writePinnedClick(){sessionStorage.setItem(h.m,!0)}}},_e=Object(Y.a)(be,(function(){var t=this,e=t._self._c;return e("menu-section",{attrs:{item:t.sectionItem,expanded:t.expanded,"has-flyout":t.hasFlyout},on:{"collapse-toggle":function(e){t.expanded=!t.expanded},"pin-remove":t.onPinRemove,"nav-link-click":t.writePinnedClick}},[t.items.length>0?e("draggable",{staticClass:"gl-m-0 gl-list-none gl-p-0",attrs:{"data-testid":"pinned-nav-items",handle:".js-draggable-icon",tag:"ul"},on:{end:t.handleDrag},model:{value:t.draggableItems,callback:function(e){t.draggableItems=e},expression:"draggableItems"}},t._l(t.draggableItems,(function(n){return e("nav-item",{key:n.id,attrs:{item:n,"is-in-pinned-section":""},on:{"pin-remove":function(e){return t.onPinRemove(n.id,n.title)},"nav-link-click":t.writePinnedClick}})})),1):e("li",{staticClass:"super-sidebar-mix-blend-mode gl-py-3 gl-text-sm gl-text-secondary",staticStyle:{"margin-left":"2.5rem"}},[t._v("\n    "+t._s(t.$options.i18n.emptyHint)+"\n  ")])],1)}),[],!1,null,null,null).exports,ye={name:"SidebarMenu",components:{MenuSection:ge,NavItem:te.a,PinnedSection:_e},mixins:[Object(mt.a)()],i18n:{pinAdded:Object(C.s__)("Navigation|%{title} added to pinned items"),pinRemoved:Object(C.s__)("Navigation|%{title} removed from pinned items")},provide(){return{pinnedItemIds:this.changedPinnedItemIds,panelSupportsPins:this.supportsPins,panelType:this.panelType}},props:{items:{type:Array,required:!0},isLoggedIn:{type:Boolean,required:!0},pinnedItemIds:{type:Array,required:!1,default:function(){return[]}},panelType:{type:String,required:!1,default:""},updatePinsUrl:{type:String,required:!1,default:""}},data(){return{showFlyoutMenus:!1,wasPinnedNav:this.readAndResetPinnedNav(),changedPinnedItemIds:{ids:this.pinnedItemIds}}},computed:{staticItems(){return this.supportsPins?this.items.filter((function(t){return!t.items||0===t.items.length})):[]},nonStaticItems(){var t=this;return this.supportsPins?this.items.filter((function(t){return t.items&&t.items.length>0})).map((function(e){const n=e.is_active&&!t.wasPinnedNav;return{...e,is_active:n}})):this.items},flatPinnableItems(){return this.nonStaticItems.flatMap((function(t){return t.items})).filter(Boolean)},pinnedItems(){var t=this;return this.changedPinnedItemIds.ids.map((function(e){return t.flatPinnableItems.find((function(t){return t.id===e}))})).filter(Boolean)},supportsPins(){return this.isLoggedIn&&h.l.includes(this.panelType)},hasStaticItems(){return this.staticItems.length>0}},mounted(){this.decideFlyoutState(),window.addEventListener("resize",this.decideFlyoutState)},beforeDestroy(){window.removeEventListener("resize",this.decideFlyoutState)},methods:{createPin(t,e){this.changedPinnedItemIds.ids.push(t),this.$toast.show(Object(C.sprintf)(this.$options.i18n.pinAdded,{title:e})),this.updatePins()},destroyPin(t,e){this.changedPinnedItemIds.ids=this.changedPinnedItemIds.ids.filter((function(e){return e!==t})),this.$toast.show(Object(C.sprintf)(this.$options.i18n.pinRemoved,{title:e})),this.updatePins()},movePin(t,e,n){const i=this.changedPinnedItemIds.ids.indexOf(t);this.changedPinnedItemIds.ids.splice(i,1);let r=this.changedPinnedItemIds.ids.indexOf(e);n&&(r+=1),this.changedPinnedItemIds.ids.splice(r,0,t),this.updatePins()},updatePins(){var t=this;_.a.put(this.updatePinsUrl,{panel:this.panelType,menu_item_ids:this.changedPinnedItemIds.ids}).then((function(e){t.changedPinnedItemIds.ids=e.data})).catch((function(t){Zt.a(t)}))},isSection(t){var e;return null===(e=t.items)||void 0===e?void 0:e.length},decideFlyoutState(){this.showFlyoutMenus=V.a.windowWidth()>=V.b.md},readAndResetPinnedNav(){const t=sessionStorage.getItem(h.m);return sessionStorage.removeItem(h.m),"true"===t}}},Se=Object(Y.a)(ye,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"gl-relative gl-p-2"},[t.hasStaticItems?e("ul",{staticClass:"gl-m-0 gl-list-none gl-p-0",attrs:{"data-testid":"static-items-section"}},t._l(t.staticItems,(function(t){return e("nav-item",{key:t.id,attrs:{item:t,"is-static":""}})})),1):t._e(),t._v(" "),t.supportsPins?e("pinned-section",{attrs:{items:t.pinnedItems,"has-flyout":t.showFlyoutMenus,"was-pinned-nav":t.wasPinnedNav},on:{"pin-remove":t.destroyPin,"pin-reorder":t.movePin}}):t._e(),t._v(" "),t.supportsPins?e("hr",{staticClass:"gl-mx-4 gl-my-2",attrs:{"aria-hidden":"true","data-testid":"main-menu-separator"}}):t._e(),t._v(" "),e("ul",{staticClass:"gl-mb-0 gl-list-none gl-p-0",attrs:{"aria-labelledby":"super-sidebar-context-header","data-testid":"non-static-items-section"}},[t._l(t.nonStaticItems,(function(n){return[t.isSection(n)?e("menu-section",{key:n.id,attrs:{item:n,separated:n.separated,"has-flyout":t.showFlyoutMenus,tag:"li"},on:{"pin-add":t.createPin,"pin-remove":t.destroyPin}}):e("nav-item",{key:n.id,attrs:{item:n},on:{"pin-add":t.createPin,"pin-remove":t.destroyPin}})]}))],2)],1)}),[],!1,null,null,null).exports,xe=n("qnJZ"),Oe={name:"SidebarPeek",mixins:[tt.b.mixin()],props:{isMouseOverSidebar:{type:Boolean,required:!0}},created(){this.state=null,this.openTimer=null,this.closeTimer=null,this.xNearWindowEdge=null,this.xSidebarEdge=null,this.xAwayFromSidebar=null},mounted(){this.xNearWindowEdge=Object(xe.a)("gl-w-3").width,this.xSidebarEdge=Object(xe.a)("super-sidebar").width,this.xAwayFromSidebar=2*this.xSidebarEdge,document.addEventListener("mousemove",this.onMouseMove),document.documentElement.addEventListener("mouseleave",this.onDocumentLeave),this.changeState(h.t)},beforeDestroy(){document.removeEventListener("mousemove",this.onMouseMove),document.documentElement.removeEventListener("mouseleave",this.onDocumentLeave),this.clearTimers()},methods:{onMouseMove({clientX:t}){if(this.state===h.t)t<this.xNearWindowEdge&&this.willOpen();else if(this.state===h.w)t>=this.xNearWindowEdge&&this.close();else if(this.state===h.u){if(this.isMouseOverSidebar)return;t>=this.xAwayFromSidebar?this.close():t>=this.xSidebarEdge&&this.willClose()}else this.state===h.v&&(t>=this.xAwayFromSidebar?this.close():t<this.xSidebarEdge&&this.open())},onDocumentLeave(){this.state===h.u?this.willClose():this.state===h.w&&this.close()},willClose(){this.changeState(h.v)&&(this.closeTimer=setTimeout(this.close,h.r))},willOpen(){this.changeState(h.w)&&(this.openTimer=setTimeout(this.open,h.s))},open(){this.changeState(h.u)&&(this.clearTimers(),this.track("nav_peek",{label:"nav_hover",property:"nav_sidebar"}))},close(){this.changeState(h.t)&&this.clearTimers()},clearTimers(){clearTimeout(this.closeTimer),clearTimeout(this.openTimer)},changeState(t){return this.state!==t&&(this.state=t,this.$emit("change",t),!0)}},render:()=>null},we=Object(Y.a)(Oe,void 0,void 0,!1,null,null,null).exports,Ee={name:"SidebarHoverPeek",mixins:[tt.b.mixin()],props:{isMouseOverSidebar:{type:Boolean,required:!1,default:!1}},created(){this.state=null,this.openTimer=null,this.closeTimer=null,this.xSidebarEdge=null,this.isMouseWithinSidebarArea=!1},async mounted(){await this.$nextTick(),this.xSidebarEdge=Object(xe.a)("super-sidebar").width,document.addEventListener("mousemove",this.onMouseMove),document.documentElement.addEventListener("mouseleave",this.onDocumentLeave),document.querySelector("."+h.j).addEventListener("mouseenter",this.onMouseEnter),document.querySelector("."+h.j).addEventListener("mouseleave",this.onMouseLeave),this.changeState(h.t)},beforeDestroy(){document.removeEventListener("mousemove",this.onMouseMove),document.documentElement.removeEventListener("mouseleave",this.onDocumentLeave),document.querySelector("."+h.j).removeEventListener("mouseenter",this.onMouseEnter),document.querySelector("."+h.j).removeEventListener("mouseleave",this.onMouseLeave),this.clearTimers()},methods:{onMouseMove({clientX:t}){t<this.xSidebarEdge?this.isMouseWithinSidebarArea=!0:(this.isMouseWithinSidebarArea=!1,this.isMouseOverSidebar||this.state!==h.u||this.willClose())},onDocumentLeave(){this.isMouseWithinSidebarArea=!1,this.state===h.u?this.willClose():this.state===h.w&&this.close()},onMouseEnter(){clearTimeout(this.closeTimer),this.willOpen()},onMouseLeave(){clearTimeout(this.openTimer),this.isMouseWithinSidebarArea||this.isMouseOverSidebar||this.willClose()},willClose(){this.changeState(h.v),this.closeTimer=setTimeout(this.close,h.r)},willOpen(){this.changeState(h.w),this.openTimer=setTimeout(this.open,h.s)},open(){this.changeState(h.u),this.clearTimers(),this.track("nav_hover_peek",{label:"nav_sidebar_toggle",property:"nav_sidebar"})},close(){this.isMouseWithinSidebarArea||(this.changeState(h.t),this.clearTimers())},clearTimers(){clearTimeout(this.closeTimer),clearTimeout(this.openTimer)},changeState(t){this.state!==t&&(this.state=t,this.$emit("change",t))}},render:()=>null},Ce=Object(Y.a)(Ee,void 0,void 0,!1,null,null,null).exports,je=n("B3M1"),Te={components:{GlButton:z.a,UserBar:Ut,HelpCenter:Jt,ExtraInfo:X,SidebarMenu:Se,SidebarPeekBehavior:we,SidebarHoverPeekBehavior:Ce,SidebarPortalTarget:zt,ScrollScrim:je.a,TrialWidget:function(){return n.e(1260).then(n.bind(null,"uk7c"))},TrialStatusWidget:function(){return n.e(1261).then(n.bind(null,"vK1Z"))},TrialStatusPopover:function(){return n.e(1224).then(n.bind(null,"EiOP"))},DuoProTrialStatusWidget:function(){return n.e(1259).then(n.bind(null,"zfPN"))},DuoProTrialStatusPopover:function(){return n.e(1231).then(n.bind(null,"w9yu"))}},mixins:[tt.b.mixin()],i18n:{skipToMainContent:Object(C.__)("Skip to main content"),primaryNavigation:Object(C.s__)("Navigation|Primary navigation"),adminArea:Object(C.s__)("Navigation|Admin")},inject:["showTrialStatusWidget","showDuoProTrialStatusWidget","showTrialWidget"],props:{sidebarData:{type:Object,required:!0}},data:()=>({sidebarState:h.C,showPeekHint:!1,isMouseover:!1,breakpoint:null}),computed:{showOverlay(){return this.sidebarState.isPeek||this.sidebarState.isHoverPeek},menuItems(){return this.sidebarData.current_menu_items||[]},peekClasses(){return{"super-sidebar-peek-hint":this.showPeekHint,"super-sidebar-peek":this.showOverlay,"super-sidebar-has-peeked":this.sidebarState.hasPeeked}}},watch:{"sidebarState.isCollapsed":{handler(t){var e=this;this.setupFocusTrapListener(),this.isNotPeeking()&&!t&&this.$nextTick((function(){e.firstFocusableElement().focus()}))}}},created(){const{is_logged_in:t,current_context:e,username:n,track_visits_path:i}=this.sidebarData;t&&e.namespace&&Object(et.c)(n,e,i)},mounted(){this.setupFocusTrapListener(),Q.b.bind(Object(Z.zb)(Z.xb),this.toggleSidebar)},beforeDestroy(){document.removeEventListener("keydown",this.focusTrap),Q.b.unbind(Object(Z.zb)(Z.xb))},methods:{toggleSidebar(){this.track(Object(K.c)()?"nav_show":"nav_hide",{label:"nav_toggle_keyboard_shortcut",property:"nav_sidebar"}),Object(K.d)(!Object(K.c)(),!0)},isOverlapping:()=>V.a.windowWidth()<V.b.xl,isNotPeeking:()=>!(h.C.isHoverPeek||h.C.isPeek),setupFocusTrapListener(){this.isOverlapping()&&!this.sidebarState.isCollapsed?document.addEventListener("keydown",this.focusTrap):document.removeEventListener("keydown",this.focusTrap)},collapseSidebar(){Object(K.d)(!0,!1)},handleEscKey(){var t;this.isOverlapping()&&this.isNotPeeking()&&(this.collapseSidebar(),null===(t=document.querySelector("."+h.j))||void 0===t||t.focus())},onPeekChange(t){t===h.t?(this.sidebarState.isPeek=!1,this.sidebarState.isCollapsed=!0,this.showPeekHint=!1):t===h.w?(this.sidebarState.hasPeeked=!0,this.sidebarState.isPeek=!1,this.sidebarState.isCollapsed=!0,this.showPeekHint=!0):(this.sidebarState.isPeek=!0,this.sidebarState.isCollapsed=!1,this.showPeekHint=!1)},onHoverPeekChange(t){t===h.u?(this.sidebarState.hasPeeked=!0,this.sidebarState.isHoverPeek=!0,this.sidebarState.isCollapsed=!1):t===h.t&&(this.sidebarState.isHoverPeek=!1,this.sidebarState.isCollapsed=!0)},firstFocusableElement(){return this.$refs.userBar.$el.querySelector("a")},lastFocusableElement(){return this.sidebarData.is_admin?this.$refs.adminAreaLink.$el:this.$refs.helpCenter.$el.querySelector("button")},focusTrap(t){const{keyCode:e,shiftKey:n}=t,i=this.firstFocusableElement(),r=this.lastFocusableElement();e===J.f&&(n?document.activeElement===i&&(r.focus(),t.preventDefault()):document.activeElement===r&&(i.focus(),t.preventDefault()))}}},ke=Object(Y.a)(Te,(function(){var t=this,e=t._self._c;return e("div",[e("div",{ref:"overlay",staticClass:"super-sidebar-overlay",on:{click:t.collapseSidebar}}),t._v(" "),t.sidebarData.is_logged_in?e("gl-button",{staticClass:"super-sidebar-skip-to gl-sr-only gl-fixed gl-left-0 gl-m-3 focus:gl-not-sr-only",attrs:{"data-testid":"super-sidebar-skip-to",href:"#content-body",variant:"confirm"}},[t._v("\n    "+t._s(t.$options.i18n.skipToMainContent)+"\n  ")]):t._e(),t._v(" "),e("nav",{staticClass:"super-sidebar",class:t.peekClasses,attrs:{id:"super-sidebar","aria-labelledby":"super-sidebar-heading","data-testid":"super-sidebar",inert:t.sidebarState.isCollapsed},on:{mouseenter:function(e){t.isMouseover=!0},mouseleave:function(e){t.isMouseover=!1},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.handleEscKey.apply(null,arguments)}}},[e("h2",{staticClass:"gl-sr-only",attrs:{id:"super-sidebar-heading"}},[t._v("\n      "+t._s(t.$options.i18n.primaryNavigation)+"\n    ")]),t._v(" "),e("user-bar",{ref:"userBar",attrs:{"has-collapse-button":!t.showOverlay,"sidebar-data":t.sidebarData}}),t._v(" "),t.showTrialStatusWidget?e("div",{staticClass:"gl-p-2"},[e("trial-status-widget",{staticClass:"super-sidebar-nav-item gl-relative gl-mb-1 gl-flex gl-items-center gl-rounded-base gl-p-3 gl-leading-normal !gl-text-default !gl-no-underline"}),t._v(" "),e("trial-status-popover")],1):t.showDuoProTrialStatusWidget?e("div",{staticClass:"gl-p-2"},[e("duo-pro-trial-status-widget",{staticClass:"super-sidebar-nav-item gl-relative gl-mb-1 gl-flex gl-items-center gl-rounded-base gl-p-3 gl-leading-normal !gl-text-default !gl-no-underline"}),t._v(" "),e("duo-pro-trial-status-popover")],1):t._e(),t._v(" "),e("div",{staticClass:"contextual-nav gl-flex gl-grow gl-flex-col gl-overflow-hidden"},[t.sidebarData.current_context_header?e("div",{staticClass:"super-sidebar-context-header gl-m-0 gl-px-4 gl-py-3 gl-font-bold gl-leading-reset",attrs:{id:"super-sidebar-context-header"}},[t._v("\n        "+t._s(t.sidebarData.current_context_header)+"\n      ")]):t._e(),t._v(" "),e("scroll-scrim",{staticClass:"gl-grow",attrs:{"data-testid":"nav-container"}},[t.menuItems.length?e("sidebar-menu",{attrs:{items:t.menuItems,"is-logged-in":t.sidebarData.is_logged_in,"panel-type":t.sidebarData.panel_type,"pinned-item-ids":t.sidebarData.pinned_items,"update-pins-url":t.sidebarData.update_pins_url}}):t._e(),t._v(" "),e("sidebar-portal-target")],1),t._v(" "),t.showTrialWidget?e("div",{staticClass:"gl-p-2"},[e("trial-widget",{staticClass:"gl-relative gl-mb-1 gl-flex gl-items-center gl-rounded-base gl-p-3 gl-leading-normal !gl-text-default !gl-no-underline"})],1):t._e(),t._v(" "),e("div",{staticClass:"gl-p-2"},[e("help-center",{ref:"helpCenter",attrs:{"sidebar-data":t.sidebarData}}),t._v(" "),t.sidebarData.is_admin?e("gl-button",{ref:"adminAreaLink",staticClass:"gl-fixed gl-right-0 gl-mr-3 gl-mt-2",attrs:{"data-testid":"sidebar-admin-link",href:t.sidebarData.admin_url,icon:"admin",size:"small"}},[t._v("\n          "+t._s(t.$options.i18n.adminArea)+"\n        ")]):t._e(),t._v(" "),e("extra-info")],1)],1)],1),t._v(" "),t._l(t.sidebarData.shortcut_links,(function(n){return e("a",{key:n.href,staticClass:"gl-hidden",class:n.css_class,attrs:{href:n.href}},[t._v("\n    "+t._s(n.title)+"\n  ")])})),t._v(" "),t.sidebarState.isPeekable&&!t.sidebarState.isHoverPeek?e("sidebar-peek-behavior",{attrs:{"is-mouse-over-sidebar":t.isMouseover},on:{change:t.onPeekChange}}):t._e(),t._v(" "),t.sidebarState.isPeekable&&!t.sidebarState.isPeek?e("sidebar-hover-peek-behavior",{attrs:{"is-mouse-over-sidebar":t.isMouseover},on:{change:t.onHoverPeekChange}}):t._e()],2)}),[],!1,null,null,null).exports,Ie=n("YYYz");const De=tt.a.mixin();var Pe={SEARCH_MODAL_ID:y.j,components:{GlIcon:it.a,SearchModal:Ie.default,GlButton:z.a},i18n:{searchBtnText:Object(C.__)("Search or go to…"),searchKbdHelp:Object(C.sprintf)(Object(C.s__)("GlobalSearch|Type %{kbdOpen}/%{kbdClose} to search"),{kbdOpen:"<kbd>",kbdClose:"</kbd>"},!1)},directives:{GlTooltip:rt.a,GlModal:ot.a},mixins:[Object(mt.a)(),De],data(){return{searchTooltip:this.$options.i18n.searchKbdHelp,isNarrowScreen:!1}},mounted(){var t;null!==(t=this.$refs)&&void 0!==t&&t.buttonRoot&&(this.isNarrowScreen=Object(xe.d)(this.$refs.buttonRoot),Object(xe.e)(this.$refs.buttonRoot,this.handleNarrowScreenChange))},beforeDestroy(){Object(xe.f)(this.$refs.buttonRoot,this.handleNarrowScreenChange)},methods:{handleNarrowScreenChange({matches:t}){this.isNarrowScreen=t},hideSearchTooltip(){this.searchTooltip=""},showSearchTooltip(){this.searchTooltip=this.$options.i18n.searchKbdHelp}}},Ae=Object(Y.a)(Pe,(function(){var t=this,e=t._self._c;return t.glFeatures.searchButtonTopRight?e("div",{ref:"buttonRoot",class:{"border-0 gl-w-[300px] gl-rounded-base":!t.isNarrowScreen}},[e("gl-button",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip.bottom.html",value:t.searchTooltip,expression:"searchTooltip",modifiers:{bottom:!0,html:!0}},{name:"gl-modal",rawName:"v-gl-modal",value:t.$options.SEARCH_MODAL_ID,expression:"$options.SEARCH_MODAL_ID"}],class:t.isNarrowScreen?"border-0 shadow-none bg-transparent":"user-bar-button gl-w-[300px] !gl-justify-start",attrs:{id:"super-sidebar-search","data-testid":"super-sidebar-search-button"},on:{click:function(e){return t.trackEvent("click_search_button_to_activate_command_palette",{label:"top_right"})}}},[e("gl-icon",{attrs:{name:"search"}}),t._v(" "),t.isNarrowScreen?t._e():e("span",[t._v(t._s(t.$options.i18n.searchBtnText))])],1),t._v(" "),e("search-modal",{on:{shown:t.hideSearchTooltip,hidden:t.showSearchTooltip}})],1):t._e()}),[],!1,null,null,null).exports;o.default.use(s.a),o.default.use(l.b);const Me=function(t){if(t.trial_status_widget_data_attrs&&t.trial_status_popover_data_attrs){const{trialDaysUsed:e,trialDuration:n,navIconImagePath:i,percentageComplete:r,planName:o,plansHref:s,trialDiscoverPagePath:a}=Object(c.h)(t.trial_status_widget_data_attrs),{daysRemaining:l,trialEndDate:u}=Object(c.h)(t.trial_status_popover_data_attrs);return{showTrialStatusWidget:!0,showDuoProTrialStatusWidget:!1,showTrialWidget:!1,trialDaysUsed:Number(e),trialDuration:Number(n),navIconImagePath:i,percentageComplete:Number(r),planName:o,plansHref:s,daysRemaining:l,trialEndDate:new Date(u),trialDiscoverPagePath:a}}if(t.duo_pro_trial_status_widget_data_attrs&&t.duo_pro_trial_status_popover_data_attrs){const{trialDaysUsed:e,trialDuration:n,percentageComplete:i,groupId:r,featureId:o,dismissEndpoint:s}=Object(c.h)(t.duo_pro_trial_status_widget_data_attrs),{daysRemaining:a,trialEndDate:l,purchaseNowUrl:u,learnAboutButtonUrl:d}=Object(c.h)(t.duo_pro_trial_status_popover_data_attrs);return{showDuoProTrialStatusWidget:!0,showTrialStatusWidget:!1,showTrialWidget:!1,trialDaysUsed:Number(e),trialDuration:Number(n),percentageComplete:Number(i),groupId:r,featureId:o,dismissEndpoint:s,daysRemaining:a,trialEndDate:new Date(l),purchaseNowUrl:u,learnAboutButtonUrl:d}}if(t.trial_widget_data_attrs){const{trialType:e,daysRemaining:n,percentageComplete:i,groupId:r,trialDiscoverPagePath:o,purchaseNowUrl:s,featureId:a,dismissEndpoint:l}=Object(c.h)(t.trial_widget_data_attrs);return{showTrialWidget:!0,showTrialStatusWidget:!1,showDuoProTrialStatusWidget:!1,trialType:e,daysRemaining:Number(n),percentageComplete:Number(i),groupId:r,trialDiscoverPagePath:o,purchaseNowUrl:s,featureId:a,dismissEndpoint:l}}return{showTrialWidget:!1,showTrialStatusWidget:!1,showDuoProTrialStatusWidget:!1}};let Re=!1;const Le=function(){var t;const e=document.querySelector(".js-super-sidebar");if(!e)return!1;const{rootPath:n,sidebar:i,forceDesktopExpandedSidebar:r,commandPalette:o,isSaas:s}=e.dataset,a=JSON.parse(i),l=Object(c.h)(a.search),{searchPath:u,issuesPath:d,mrPath:p,autocompletePath:m,settingsPath:f,searchContext:g}=l,v=a.projects_path,b=a.groups_path,_=JSON.parse(o);return{el:e,rootPath:n,forceDesktopExpandedSidebar:r,isSaas:s,sidebarData:a,searchPath:u,issuesPath:d,mrPath:p,autocompletePath:m,settingsPath:f,searchContext:g,projectsPath:v,groupsPath:b,projectFilesPath:_.project_files_url,projectBlobPath:_.project_blob_url,commandPaletteCommands:a.create_new_menu_groups||[],commandPaletteLinks:Object(c.h)(a.current_menu_items||[]),contextSwitcherLinks:a.context_switcher_links,isImpersonating:Object(c.I)(a.is_impersonating),isGroup:Boolean((null===(t=a.current_context)||void 0===t?void 0:t.namespace)===h.c)}}();!function({el:t,rootPath:e,forceDesktopExpandedSidebar:n,isSaas:i,sidebarData:r,searchPath:s,issuesPath:a,mrPath:l,autocompletePath:d,settingsPath:h,searchContext:p,projectsPath:m,groupsPath:f,projectFilesPath:g,projectBlobPath:v,commandPaletteCommands:b,commandPaletteLinks:_,contextSwitcherLinks:y,isImpersonating:S,isGroup:x}){var O,w,E,C,j;!!t&&(Object(K.a)(n),Object(K.b)(Object(c.I)(n)),new o.default({el:t,name:"SuperSidebarRoot",apolloProvider:u.a,provide:{rootPath:e,isImpersonating:S,...Me(r),commandPaletteCommands:b,commandPaletteLinks:_,contextSwitcherLinks:y,autocompletePath:d,settingsPath:h,searchContext:p,projectFilesPath:g,projectBlobPath:v,projectsPath:m,groupsPath:f,fullPath:null===(O=r.work_items)||void 0===O?void 0:O.full_path,hasIssuableHealthStatusFeature:null===(w=r.work_items)||void 0===w?void 0:w.has_issuable_health_status_feature,issuesListPath:null===(E=r.work_items)||void 0===E?void 0:E.issues_list_path,canAdminLabel:Object(c.I)(null===(C=r.work_items)||void 0===C?void 0:C.can_admin_label),labelsManagePath:null===(j=r.work_items)||void 0===j?void 0:j.labels_manage_path,isGroup:x,isSaas:Object(c.I)(i)},store:U({searchPath:s,issuesPath:a,mrPath:l,autocompletePath:d,searchContext:p,search:""}),render:t=>t(ke,{props:{sidebarData:r}})}))}(Le),function(){const t=document.querySelector("."+h.j);!(!t||Re)&&(Re=!0,new o.default({el:t,name:"SuperSidebarToggleRoot",render:e=>e(Bt.a,{class:t.className})}))}(),function(){const t=document.querySelector("#js-vue-page-breadcrumbs");if(!t)return!1;const{breadcrumbsJson:e}=t.dataset;d.b.items=JSON.parse(e),new o.default({el:t,render:t=>t(a.a,{props:d.b})})}(),function({rootPath:t,isSaas:e,sidebarData:n,searchPath:i,issuesPath:r,mrPath:s,autocompletePath:a,searchContext:l,projectsPath:d,groupsPath:h,projectFilesPath:p,projectBlobPath:m,commandPaletteCommands:f,commandPaletteLinks:g,contextSwitcherLinks:v,isGroup:b}){var _;const y=document.querySelector("#js-advanced-search-modal");!!y&&new o.default({el:y,name:"SuperSidebarRoot",apolloProvider:u.a,provide:{rootPath:t,commandPaletteCommands:f,commandPaletteLinks:g,contextSwitcherLinks:v,autocompletePath:a,searchContext:l,projectFilesPath:p,projectBlobPath:m,projectsPath:d,groupsPath:h,fullPath:null===(_=n.work_items)||void 0===_?void 0:_.full_path,isGroup:b,isSaas:Object(c.I)(e)},store:U({searchPath:i,issuesPath:r,mrPath:s,autocompletePath:a,searchContext:l,search:""}),render:t=>t(Ae)})}(Le)},erDj:function(t,e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CurrentUserFrecentProjects"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"frecentProjects"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"namespace"},name:{kind:"Name",value:"nameWithNamespace"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"avatarUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fullPath"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:137}};n.loc.source={body:"query CurrentUserFrecentProjects {\n  frecentProjects {\n    id\n    name\n    namespace: nameWithNamespace\n    avatarUrl\n    fullPath\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function r(t,e){for(var n=0;n<t.definitions.length;n++){var i=t.definitions[n];if(i.name&&i.name.value==e)return i}}n.definitions.forEach((function(t){if(t.name){var e=new Set;!function t(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}(t,e),i[t.name.value]=e}})),t.exports=n,t.exports.CurrentUserFrecentProjects=function(t,e){var n={kind:t.kind,definitions:[r(t,e)]};t.hasOwnProperty("loc")&&(n.loc=t.loc);var o=i[e]||new Set,s=new Set,a=new Set;for(o.forEach((function(t){a.add(t)}));a.size>0;){var l=a;a=new Set,l.forEach((function(t){s.has(t)||(s.add(t),(i[t]||new Set).forEach((function(t){a.add(t)})))}))}return s.forEach((function(e){var i=r(t,e);i&&n.definitions.push(i)})),n}(n,"CurrentUserFrecentProjects")},fApx:function(t,e,n){(t.exports=n("VNgF")(!1)).push([t.i,"\nsvg[data-v-71edb719] {\n  pointer-events: none;\n\n  position: fixed;\n  right: 0;\n}\nsvg polygon[data-v-71edb719],\nsvg rect[data-v-71edb719] {\n  pointer-events: auto;\n}\n",""])},"fFd+":function(t,e,n){(t.exports=n("VNgF")(!1)).push([t.i,"\n.input-box-wrapper[data-v-04c76396] {\n  position: relative;\n}\n.fake-input-wrapper[data-v-04c76396] {\n  position: absolute;\n}\n",""])},h2IV:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return u}));var i=n("osXd"),r=n.n(i),o=(n("eJ0a"),n("0AwG")),s=n("gr1G"),a=n("I4EJ"),l=n("F/pm");const c=function(t,e){const{id:n,category:i,value:c,label:u,url:d,avatar_url:h,name:p}=t;let m;const f=c||u||p;var g;c&&(m=(g=u).split(" / ").length>2?Object(o.E)(g):g);const v=function(t){return t===s.p||t===s.C?l.f:l.n}(i),b=function(t,e){var n,i;switch(t.category){case s.p:case s.D:return t.group_id||t.id||(null==e||null===(n=e.group)||void 0===n?void 0:n.id);case s.C:case s.r:case s.s:return t.project_id||t.id||(null==e||null===(i=e.project)||void 0===i?void 0:i.id);default:return t.id}}(t,e),_=function(t,e){var n,i;switch(t.category){case s.p:case s.D:return t.group_name||t.value||t.label||(null==e||null===(n=e.group)||void 0===n?void 0:n.name);case s.C:case s.r:case s.s:return t.project_name||t.value||t.label||(null==e||null===(i=e.project)||void 0===i?void 0:i.name);default:return t.label}}(t,e),y=Object(o.y)(null!=i?i:"")?{extraAttrs:{"data-track-action":a.G,"data-track-label":Object(o.y)(i,"_")}}:{};return r()({id:n,category:i,value:c,label:u,text:f,href:d,avatar_url:h,avatar_size:v,namespace:m,entity_id:b,entity_name:_,...y},(function(t){return void 0!==t}))},u=[{value:a.b[0],text:s.m},{value:a.b[1],text:a.I},{value:a.b[2],text:a.w},{value:a.b[3],text:s.l}]},i7S8:function(t,e,n){"use strict";n.d(e,"w",(function(){return o})),n.d(e,"B",(function(){return s})),n.d(e,"L",(function(){return a})),n.d(e,"N",(function(){return l})),n.d(e,"p",(function(){return c})),n.d(e,"C",(function(){return u})),n.d(e,"j",(function(){return d})),n.d(e,"J",(function(){return h})),n.d(e,"K",(function(){return p})),n.d(e,"F",(function(){return m})),n.d(e,"E",(function(){return f})),n.d(e,"I",(function(){return g})),n.d(e,"H",(function(){return v})),n.d(e,"G",(function(){return b})),n.d(e,"s",(function(){return _})),n.d(e,"m",(function(){return y})),n.d(e,"n",(function(){return S})),n.d(e,"b",(function(){return G})),n.d(e,"a",(function(){return F})),n.d(e,"D",(function(){return B})),n.d(e,"o",(function(){return q})),n.d(e,"A",(function(){return H})),n.d(e,"z",(function(){return U})),n.d(e,"q",(function(){return K})),n.d(e,"r",(function(){return z})),n.d(e,"f",(function(){return V})),n.d(e,"l",(function(){return W})),n.d(e,"t",(function(){return Z})),n.d(e,"k",(function(){return tt})),n.d(e,"v",(function(){return et})),n.d(e,"u",(function(){return nt})),n.d(e,"M",(function(){return it})),n.d(e,"i",(function(){return rt})),n.d(e,"y",(function(){return ot})),n.d(e,"h",(function(){return st})),n.d(e,"x",(function(){return at})),n.d(e,"g",(function(){return lt})),n.d(e,"c",(function(){return ct})),n.d(e,"d",(function(){return ut})),n.d(e,"e",(function(){return dt}));var i=n("/lV4"),r=n("qLpH");const o="project-select",s=200,a="gl-bg-green-100",l="gl-bg-orange-100",c="gl-bg-red-100",u="members_invited_successfully",d={ALL:"all",DESCENDANT_GROUPS:"descendant_groups"},h="all",p="saml_provider_id",m="button",f="invite_members",g="text-emoji",v="dropdown-text-emoji",b="dropdown-text",_="invite_members_modal",y="invite_project_members_modal",S="project-members-page",x=Object(i.s__)("InviteMembersModal|Invite members"),O=Object(i.s__)("InviteMembersModal|GitLab is better with colleagues!"),w=Object(i.s__)("InviteMembersModal|How about inviting a colleague or two to join you?"),E=Object(i.s__)("InviteMembersModal|You're inviting members to the %{strongStart}%{name}%{strongEnd} group."),C=Object(i.s__)("InviteMembersModal|You're inviting members to the %{strongStart}%{name}%{strongEnd} project."),j=Object(i.s__)("InviteMembersModal|Congratulations on creating your project, you're almost there!"),T=Object(i.s__)("InviteMembersModal|Username, name or email address"),k=Object(i.s__)("InviteMembersModal|Select members or type email addresses"),I=Object(i.s__)("InviteMembersModal|Invite a group"),D=Object(i.s__)("InviteMembersModal|You're inviting a group to the %{strongStart}%{name}%{strongEnd} group."),P=Object(i.s__)("InviteMembersModal|You're inviting a group to the %{strongStart}%{name}%{strongEnd} project."),A=Object(i.s__)("InviteMembersModal|Inviting a group %{linkStart}adds its members to your group%{linkEnd}, including members who join after the invite. This might put your group over the free %{count} user limit."),M=Object(r.a)("user/project/members/sharing_projects_groups",{anchor:"invite-a-group-to-a-group"}),R=Object(i.s__)("InviteMembersModal|Inviting a group %{linkStart}adds its members to your project%{linkEnd}, including members who join after the invite. This might put your group over the free %{count} user limit."),L=Object(r.a)("user/project/members/sharing_projects_groups",{anchor:"invite-a-group-to-a-project"}),N=Object(i.s__)("InviteMembersModal|Select a group to invite"),$=Object(i.s__)("InviteMembersModal|Search for a group to invite"),G=Object(i.s__)("InviteMembersModal|Select a role"),F=Object(i.s__)("InviteMembersModal|Access expiration date (optional)"),B=Object(i.s__)("InviteMembersModal|Members were successfully added"),q=Object(i.s__)("InviteMembersModal|Something went wrong"),H=Object(i.s__)("InviteMembersModal|%{linkStart}Read more%{linkEnd} about role permissions"),U=Object(i.s__)("InviteMembersModal|%{linkStart}Read more%{linkEnd} about access expiration"),K=Object(i.s__)("InviteMembersModal|Invite"),z=Object(i.s__)("InviteMembersModal|Manage members"),V=Object(i.s__)("InviteMembersModal|Cancel"),W=Object(i.s__)("InviteMembersModal|Close invite team members"),Y=Object(i.s__)("InviteMembersModal|Review the invite errors and try again:"),X=Object(i.s__)("InviteMembersModal|Show more (%{count})"),Q=Object(i.s__)("InviteMembersModal|Show less"),J=Object(i.s__)("InviteMembersModal|Please add members to invite"),Z={modal:{default:{title:x},celebrate:{title:O,intro:w}},toGroup:{default:{introText:E}},toProject:{default:{introText:C},celebrate:{introText:j}},searchField:T,placeHolder:k,toastMessageSuccessful:B,memberErrorListText:Y,collapsedErrors:X,expandedErrors:Q,emptyInvitesAlertText:J},tt={title:I,toGroup:{introText:D,notificationText:A,notificationLink:M},toProject:{introText:P,notificationText:R,notificationLink:L},searchField:N,placeHolder:$,toastMessageSuccessful:B},et="over_limit_modal_viewed",nt="invite_celebration_modal",it=Object(i.s__)("InviteMembersModal|You only have space for %{count} more %{members} in %{name}"),rt=Object(i.s__)("InviteMembersModal|You've reached your %{count} %{members} limit for %{name}"),ot="reached",st="close",at=Object(i.s__)("InviteMembersModal|To invite new users to this top-level group, you must remove existing users. You can still add existing users from the top-level group, including any subgroups and projects.").concat(Object(i.s__)("InviteMembersModal| To get more members, the owner of this top-level group can %{trialLinkStart}start a trial%{trialLinkEnd} or %{upgradeLinkStart}upgrade%{upgradeLinkEnd} to a paid tier.")),lt=Object(i.s__)("InviteMembersModal|To get more members an owner of the group can %{trialLinkStart}start a trial%{trialLinkEnd} or %{upgradeLinkStart}upgrade%{upgradeLinkEnd} to a paid tier."),ct=Object(i.s__)("InviteMembersModal|You must purchase more seats for your subscription before this amount of users can be added."),ut=Object(i.s__)("InviteMembersModal|Purchase more seats"),dt="seat_limit_exceeded_error"},iuXX:function(t,e){var n=Math.floor,i=Math.random;t.exports=function(t,e){return t+n(i()*(e-t+1))}},kUOS:function(t,e,n){"use strict";n.d(e,"a",(function(){return P}));var i=n("9k56"),r=n("3hkr");var o=n("Nzdf"),s=n("CU79"),a=n("jIK5"),l=n("BBKf"),c=n("oTzT"),u=n("ZdEn"),d=n("i8zK"),h=n("VuSA"),p=n("hII5"),m=n("5TS0"),f=n("qO70"),g=n("aBA8"),v=n("lgrP");const b={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},_={enter:t=>{Object(c.F)(t,"height",0),Object(c.B)(()=>{Object(c.w)(t),Object(c.F)(t,"height",t.scrollHeight+"px")})},afterEnter:t=>{Object(c.A)(t,"height")},leave:t=>{Object(c.F)(t,"height","auto"),Object(c.F)(t,"display","block"),Object(c.F)(t,"height",Object(c.i)(t).height+"px"),Object(c.w)(t),Object(c.F)(t,"height",0)},afterLeave:t=>{Object(c.A)(t,"height")}},y={appear:Object(p.b)(a.g,!1)},S=Object(i.c)({name:r.j,functional:!0,props:y,render(t,e){let{props:n,data:i,children:r}=e;return t("transition",Object(v.a)(i,{props:b,on:_},{props:n}),r)}}),x=Object(u.d)(r.i,"toggle"),O=Object(u.d)(r.i,"request-state"),w=Object(u.e)(r.i,"accordion"),E=Object(u.e)(r.i,"state"),C=Object(u.e)(r.i,"sync-state"),{mixin:j,props:T,prop:k,event:I}=Object(d.a)("visible",{type:a.g,defaultValue:!1}),D=Object(p.c)(Object(h.m)({...m.b,...T,accordion:Object(p.b)(a.r),appear:Object(p.b)(a.g,!1),isNav:Object(p.b)(a.g,!1),tag:Object(p.b)(a.r,"div")}),r.i),P=Object(i.c)({name:r.i,mixins:[m.a,j,g.a,f.a],props:D,data(){return{show:this[k],transitioning:!1}},computed:{classObject(){const{transitioning:t}=this;return{"navbar-collapse":this.isNav,collapse:!t,show:this.show&&!t}},slotScope(){return{visible:this.show,close:()=>{this.show=!1}}}},watch:{[k](t){t!==this.show&&(this.show=t)},show(t,e){t!==e&&this.emitState()}},created(){this.show=this[k]},mounted(){this.show=this[k],this.listenOnRoot(x,this.handleToggleEvent),this.listenOnRoot(w,this.handleAccordionEvent),this.isNav&&(this.setWindowEvents(!0),this.handleResize()),this.$nextTick(()=>{this.emitState()}),this.listenOnRoot(O,t=>{t===this.safeId()&&this.$nextTick(this.emitSync)})},updated(){this.emitSync()},deactivated(){this.isNav&&this.setWindowEvents(!1)},activated(){this.isNav&&this.setWindowEvents(!0),this.emitSync()},beforeDestroy(){this.show=!1,this.isNav&&o.f&&this.setWindowEvents(!1)},methods:{setWindowEvents(t){Object(u.c)(t,window,"resize",this.handleResize,s.Q),Object(u.c)(t,window,"orientationchange",this.handleResize,s.Q)},toggle(){this.show=!this.show},onEnter(){this.transitioning=!0,this.$emit(s.L)},onAfterEnter(){this.transitioning=!1,this.$emit(s.M)},onLeave(){this.transitioning=!0,this.$emit(s.t)},onAfterLeave(){this.transitioning=!1,this.$emit(s.s)},emitState(){const{show:t,accordion:e}=this,n=this.safeId();this.$emit(I,t),this.emitOnRoot(E,n,t),e&&t&&this.emitOnRoot(w,n,e)},emitSync(){this.emitOnRoot(C,this.safeId(),this.show)},checkDisplayBlock(){const{$el:t}=this,e=Object(c.p)(t,"show");Object(c.y)(t,"show");const n="block"===Object(c.k)(t).display;return e&&Object(c.b)(t,"show"),n},clickHandler(t){const{target:e}=t;this.isNav&&e&&"block"===Object(c.k)(this.$el).display&&(!Object(c.v)(e,".nav-link,.dropdown-item")&&!Object(c.e)(".nav-link,.dropdown-item",e)||this.checkDisplayBlock()||(this.show=!1))},handleToggleEvent(t){t===this.safeId()&&this.toggle()},handleAccordionEvent(t,e){const{accordion:n,show:i}=this;if(!n||n!==e)return;const r=t===this.safeId();(r&&!i||!r&&i)&&this.toggle()},handleResize(){this.show="block"===Object(c.k)(this.$el).display}},render(t){const{appear:e}=this,n=t(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.safeId()},on:{click:this.clickHandler}},this.normalizeSlot(l.e,this.slotScope));return t(S,{props:{appear:e},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[n])}})},lBdL:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o}));var i=n("ewH8");const r=i.default.observable({}),o=function(t,e,n=null,o={}){const s=document.querySelector("#js-injected-page-breadcrumbs");return!!s&&(r.items[r.items.length-1].text="",r.items[r.items.length-1].href="",new i.default({el:s,router:t,apolloProvider:n,provide:o,render:t=>t(e,{class:s.className})}))}},lxj7:function(t,e){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return n.test(t)}},onSc:function(t,e,n){"use strict";
/*! 
  * portal-vue © Thorsten Lünborg, 2019 
  * 
  * Version: 2.1.7
  * 
  * LICENCE: MIT 
  * 
  * https://github.com/linusborg/portal-vue
  * 
 */Object.defineProperty(e,"__esModule",{value:!0});var i,r=(i=n("ewH8"))&&"object"==typeof i&&"default"in i?i.default:i;function o(t){return(o="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 s(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var a="undefined"!=typeof window;function l(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var c={},u={},d={},h=new(r.extend({data:function(){return{transports:c,targets:u,sources:d,trackInstances:a}},methods:{open:function(t){if(a){var e=t.to,n=t.from,i=t.passengers,s=t.order,l=void 0===s?1/0:s;if(e&&n&&i){var c,u={to:e,from:n,passengers:(c=i,Array.isArray(c)||"object"===o(c)?Object.freeze(c):c),order:l};-1===Object.keys(this.transports).indexOf(e)&&r.set(this.transports,e,[]);var d,h=this.$_getTransportIndex(u),p=this.transports[e].slice(0);-1===h?p.push(u):p[h]=u,this.transports[e]=(d=function(t,e){return t.order-e.order},p.map((function(t,e){return[e,t]})).sort((function(t,e){return d(t[1],e[1])||t[0]-e[0]})).map((function(t){return t[1]})))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,i=t.from;if(n&&(i||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var r=this.$_getTransportIndex(t);if(r>=0){var o=this.transports[n].slice(0);o.splice(r,1),this.transports[n]=o}}},registerTarget:function(t,e,n){a&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){a&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var i in this.transports[e])if(this.transports[e][i].from===n)return+i;return-1}}}))(c),p=1,m=r.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(p++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){h.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){h.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};h.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"==typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:s(t),order:this.order};h.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),f=r.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:h.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){h.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){h.unregisterTarget(e),h.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){h.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var i=n.passengers[0],r="function"==typeof i?i(e):n.passengers;return t.concat(r)}),[])}(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),i=this.transition||this.tag;return e?n[0]:this.slim&&!i?t():t(i,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),g=0,v=["disabled","name","order","slim","slotProps","tag","to"],b=["multiple","transition"],_=r.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(g++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!=typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(h.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n        Aborting because 'bail: true' is set")):this.portalTarget=h.targets[e.name];else{var n=e.append;if(n){var i="string"==typeof n?n:"DIV",r=document.createElement(i);t.appendChild(r),t=r}var o=l(this.$props,b);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new f({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=l(this.$props,v);return t(m,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});var y={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",m),t.component(e.portalTargetName||"PortalTarget",f),t.component(e.MountingPortalName||"MountingPortal",_)}};e.default=y,e.Portal=m,e.PortalTarget=f,e.MountingPortal=_,e.Wormhole=h},qxsN:function(t,e){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",i="["+n+"]",r="\\d+",o="[\\u2700-\\u27bf]",s="[a-z\\xdf-\\xf6\\xf8-\\xff]",a="[^\\ud800-\\udfff"+n+r+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",u="[A-Z\\xc0-\\xd6\\xd8-\\xde]",d="(?:"+s+"|"+a+")",h="(?:"+u+"|"+a+")",p="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",m="[\\ufe0e\\ufe0f]?"+p+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,c].join("|")+")[\\ufe0e\\ufe0f]?"+p+")*"),f="(?:"+[o,l,c].join("|")+")"+m,g=RegExp([u+"?"+s+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[i,u,"$"].join("|")+")",h+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[i,u+d,"$"].join("|")+")",u+"?"+d+"+(?:['’](?:d|ll|m|re|s|t|ve))?",u+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",r,f].join("|"),"g");t.exports=function(t){return t.match(g)||[]}},rRem:function(t,e,n){var i=n("IAil"),r=n("rhmX"),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=r(t))&&t.replace(o,i).replace(s,"")}},tTlX:function(t,e,n){"use strict";var i=n("3CjL"),r=n.n(i),o=n("5tFN");e.a={methods:{getFocusableOptions(){var t;return Array.from((null===(t=this.$refs.resultsList)||void 0===t?void 0:t.querySelectorAll(".gl-new-dropdown-item"))||[])},onKeydown(t){const{code:e,target:n}=t;let i=!0;const r=this.getFocusableOptions();if(r.length<1)return;const s=n.matches('input[role="searchbox"]');if(e===o.g){if(s)return;this.focusItem(0,r)}else if(e===o.d){if(s)return;this.focusItem(r.length-1,r)}else if(e===o.b){if(s)return;0===r.indexOf(n)?this.focusSearchInput():this.focusNextItem(t,r,-1)}else if(e===o.a)this.focusNextItem(t,r,1);else if(e===o.f)this.$refs.modal.close();else if(e===o.h){var a;null===(a=t.target)||void 0===a||a.firstChild.click()}else i=!1;i&&t.preventDefault()},focusSearchInput(){var t;null===(t=this.$refs.searchInput.$el.querySelector("input"))||void 0===t||t.focus()},focusNextItem(t,e,n){const{target:i}=t,o=e.indexOf(i),s=r()(o+n,0,e.length-1);this.focusItem(s,e)},focusItem(t,e){var n;this.nextFocusedItemIndex=t,null===(n=e[t])||void 0===n||n.focus()}}}},wAfB:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var o,s,a=String(r(e)),l=i(n),c=a.length;return l<0||l>=c?t?"":void 0:(o=a.charCodeAt(l))<55296||o>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0fc9":function(t,e,n){var i=n("3a38"),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},1654:function(t,e,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"1af6":function(t,e,n){var i=n("63b6");i(i.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var i=n("f772");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(t,e,n){var i=n("f772"),r=n("e53d").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"20fd":function(t,e,n){"use strict";var i=n("d9f6"),r=n("aebd");t.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),l=n("520a"),c=a("species"),u=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=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]}();t.exports=function(t,e,n){var h=a(t),p=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),m=p?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[h](""),!e})):void 0;if(!p||!m||"replace"===t&&!u||"split"===t&&!d){var f=/./[h],g=n(s,h,""[t],(function(t,e,n,i,r){return e.exec===l?p&&!r?{done:!0,value:f.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),v=g[0],b=g[1];i(String.prototype,t,v),r(RegExp.prototype,h,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},"241e":function(t,e,n){var i=n("25eb");t.exports=function(t){return Object(i(t))}},"25eb":function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"2aba":function(t,e,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),l=(""+a).split("toString");n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||r(n,s,t[e]?""+t[e]:l.join(String(e)))),t===i?t[e]=n:a?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2b4c":function(t,e,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=i},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d2c8");i(i.P+i.F*n("5147")("includes"),"String",{includes:function(t){return!!~r(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"30f1":function(t,e,n){"use strict";var i=n("b8e3"),r=n("63b6"),o=n("9138"),s=n("35e8"),a=n("481b"),l=n("8f60"),c=n("45f2"),u=n("53e2"),d=n("5168")("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,m,f,g,v){l(n,e,m);var b,_,y,S=function(t){if(!h&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",O="values"==f,w=!1,E=t.prototype,C=E[d]||E["@@iterator"]||f&&E[f],j=C||S(f),T=f?O?S("entries"):j:void 0,k="Array"==e&&E.entries||C;if(k&&(y=u(k.call(new t)))!==Object.prototype&&y.next&&(c(y,x,!0),i||"function"==typeof y[d]||s(y,d,p)),O&&C&&"values"!==C.name&&(w=!0,j=function(){return C.call(this)}),i&&!v||!h&&!w&&E[d]||s(E,d,j),a[e]=j,a[x]=p,f)if(b={values:O?j:S("values"),keys:g?j:S("keys"),entries:T},v)for(_ in b)_ in E||o(E,_,b[_]);else r(r.P+r.F*(h||w),e,b);return b}},"32a6":function(t,e,n){var i=n("241e"),r=n("c3a1");n("ce7e")("keys",(function(){return function(t){return r(i(t))}}))},"32e9":function(t,e,n){var i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var i=n("e53d").document;t.exports=i&&i.documentElement},"335c":function(t,e,n){var i=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var i=n("d9f6"),r=n("aebd");t.exports=n("8e60")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"36c3":function(t,e,n){var i=n("335c"),r=n("25eb");t.exports=function(t){return i(r(t))}},3702:function(t,e,n){var i=n("481b"),r=n("5168")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},"3a38":function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},"40c3":function(t,e,n){var i=n("6b4c"),r=n("5168")("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},"45f2":function(t,e,n){var i=n("d9f6").f,r=n("07e3"),o=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"469f":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("7d7b")},"481b":function(t,e){t.exports={}},"4aa6":function(t,e,n){t.exports=n("dc62")},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},"4ee1":function(t,e,n){var i=n("5168")("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},t(o)}catch(t){}return n}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,n){var i=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(t){}}return!0}},5168:function(t,e,n){var i=n("dbdb")("wks"),r=n("62a0"),o=n("e53d").Symbol,s="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=i},5176:function(t,e,n){t.exports=n("51b6")},"51b6":function(t,e,n){n("a3c3"),t.exports=n("584a").Object.assign},"520a":function(t,e,n){"use strict";var i,r,o=n("0bfb"),s=RegExp.prototype.exec,a=String.prototype.replace,l=s,c=(i=/a/,r=/b*/g,s.call(i,"a"),s.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(t){var e,n,i,r,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",o.call(l))),c&&(e=l.lastIndex),i=s.call(l,t),c&&i&&(l.lastIndex=l.global?i.index+i[0].length:e),u&&i&&i.length>1&&a.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i}),t.exports=l},"53e2":function(t,e,n){var i=n("07e3"),r=n("241e"),o=n("5559")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"549b":function(t,e,n){"use strict";var i=n("d864"),r=n("63b6"),o=n("241e"),s=n("b0dc"),a=n("3702"),l=n("b447"),c=n("20fd"),u=n("7cd6");r(r.S+r.F*!n("4ee1")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,r,d,h=o(t),p="function"==typeof this?this:Array,m=arguments.length,f=m>1?arguments[1]:void 0,g=void 0!==f,v=0,b=u(h);if(g&&(f=i(f,m>2?arguments[2]:void 0,2)),null==b||p==Array&&a(b))for(n=new p(e=l(h.length));e>v;v++)c(n,v,g?f(h[v],v):h[v]);else for(d=b.call(h),n=new p;!(r=d.next()).done;v++)c(n,v,g?s(d,f,[r.value,v],!0):r.value);return n.length=v,n}})},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},5537:function(t,e,n){var i=n("8378"),r=n("7726"),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var i=n("dbdb")("keys"),r=n("62a0");t.exports=function(t){return i[t]||(i[t]=r(t))}},"584a":function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var i=n("36c3"),r=n("b447"),o=n("0fc9");t.exports=function(t){return function(e,n,s){var a,l=i(e),c=r(l.length),u=o(s,c);if(t&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),l=function(t,e,n){var c,u,d,h,p=t&l.F,m=t&l.G,f=t&l.S,g=t&l.P,v=t&l.B,b=m?i:f?i[e]||(i[e]={}):(i[e]||{}).prototype,_=m?r:r[e]||(r[e]={}),y=_.prototype||(_.prototype={});for(c in m&&(n=e),n)d=((u=!p&&b&&void 0!==b[c])?b:n)[c],h=v&&u?a(d,i):g&&"function"==typeof d?a(Function.call,d):d,b&&s(b,c,d,t&l.U),_[c]!=d&&o(_,c,h),g&&y[c]!=d&&(y[c]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5d73":function(t,e,n){t.exports=n("469f")},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},"63b6":function(t,e,n){var i=n("e53d"),r=n("584a"),o=n("d864"),s=n("35e8"),a=n("07e3"),l=function(t,e,n){var c,u,d,h=t&l.F,p=t&l.G,m=t&l.S,f=t&l.P,g=t&l.B,v=t&l.W,b=p?r:r[e]||(r[e]={}),_=b.prototype,y=p?i:m?i[e]:(i[e]||{}).prototype;for(c in p&&(n=e),n)(u=!h&&y&&void 0!==y[c])&&a(b,c)||(d=u?y[c]:n[c],b[c]=p&&"function"!=typeof y[c]?n[c]:g&&u?o(d,i):v&&y[c]==d?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(d):f&&"function"==typeof d?o(Function.call,d):d,f&&((b.virtual||(b.virtual={}))[c]=d,t&l.R&&_&&!_[c]&&s(_,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},6762:function(t,e,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6c1c":function(t,e,n){n("c367");for(var i=n("e53d"),r=n("35e8"),o=n("481b"),s=n("5168")("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var c=a[l],u=i[c],d=u&&u.prototype;d&&!d[s]&&r(d,s,c),o[c]=o.Array}},"71c1":function(t,e,n){var i=n("3a38"),r=n("25eb");t.exports=function(t){return function(e,n){var o,s,a=String(r(e)),l=i(n),c=a.length;return l<0||l>=c?t?"":void 0:(o=a.charCodeAt(l))<55296||o>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536}}},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(t,e,n){t.exports=n("d2d5")},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7cd6":function(t,e,n){var i=n("40c3"),r=n("5168")("iterator"),o=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(null!=t)return t[r]||t["@@iterator"]||o[i(t)]}},"7d7b":function(t,e,n){var i=n("e4ae"),r=n("7cd6");t.exports=n("584a").getIterator=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},"7e90":function(t,e,n){var i=n("d9f6"),r=n("e4ae"),o=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){r(t);for(var n,s=o(e),a=s.length,l=0;a>l;)i.f(t,n=s[l++],e[n]);return t}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},8436:function(t,e){t.exports=function(){}},"86cc":function(t,e,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(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}},"8aae":function(t,e,n){n("32a6"),t.exports=n("584a").Object.keys},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8f60":function(t,e,n){"use strict";var i=n("a159"),r=n("aebd"),o=n("45f2"),s={};n("35e8")(s,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},9003:function(t,e,n){var i=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==i(t)}},9138:function(t,e,n){t.exports=n("35e8")},9306:function(t,e,n){"use strict";var i=n("c3a1"),r=n("9aa9"),o=n("355d"),s=n("241e"),a=n("335c"),l=Object.assign;t.exports=!l||n("294c")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i}))?function(t,e){for(var n=s(t),l=arguments.length,c=1,u=r.f,d=o.f;l>c;)for(var h,p=a(arguments[c++]),m=u?i(p).concat(u(p)):i(p),f=m.length,g=0;f>g;)d.call(p,h=m[g++])&&(n[h]=p[h]);return n}:l},9427:function(t,e,n){var i=n("63b6");i(i.S,"Object",{create:n("a159")})},"95d5":function(t,e,n){var i=n("40c3"),r=n("5168")("iterator"),o=n("481b");t.exports=n("584a").isIterable=function(t){var e=Object(t);return void 0!==e[r]||"@@iterator"in e||o.hasOwnProperty(i(e))}},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),r=Array.prototype;null==r[i]&&n("32e9")(r,i,{}),t.exports=function(t){r[i][t]=!0}},"9def":function(t,e,n){var i=n("4588"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(t,e,n){var i=n("e4ae"),r=n("7e90"),o=n("1691"),s=n("5559")("IE_PROTO"),a=function(){},l=function(){var t,e=n("1ec9")("iframe"),i=o.length;for(e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;i--;)delete l.prototype[o[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=i(t),n=new a,a.prototype=null,n[s]=t):n=l(),void 0===e?n:r(n,e)}},a352:function(t,e){t.exports=n("2O3R")},a3c3:function(t,e,n){var i=n("63b6");i(i.S+i.F,"Object",{assign:n("9306")})},a481:function(t,e,n){"use strict";var i=n("cb7c"),r=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),l=n("5f1b"),c=Math.max,u=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n("214f")("replace",2,(function(t,e,n,m){return[function(i,r){var o=t(this),s=null==i?void 0:i[e];return void 0!==s?s.call(i,o,r):n.call(String(o),i,r)},function(t,e){var r=m(n,t,this,e);if(r.done)return r.value;var d=i(t),h=String(this),p="function"==typeof e;p||(e=String(e));var g=d.global;if(g){var v=d.unicode;d.lastIndex=0}for(var b=[];;){var _=l(d,h);if(null===_)break;if(b.push(_),!g)break;""===String(_[0])&&(d.lastIndex=a(h,o(d.lastIndex),v))}for(var y,S="",x=0,O=0;O<b.length;O++){_=b[O];for(var w=String(_[0]),E=c(u(s(_.index),h.length),0),C=[],j=1;j<_.length;j++)C.push(void 0===(y=_[j])?y:String(y));var T=_.groups;if(p){var k=[w].concat(C,E,h);void 0!==T&&k.push(T);var I=String(e.apply(void 0,k))}else I=f(w,h,E,C,T,e);E>=x&&(S+=h.slice(x,E)+I,x=E+w.length)}return S+h.slice(x)}];function f(t,e,i,o,s,a){var l=i+t.length,c=o.length,u=p;return void 0!==s&&(s=r(s),u=h),n.call(a,u,(function(n,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(l);case"<":a=s[r.slice(1,-1)];break;default:var u=+r;if(0===u)return n;if(u>c){var h=d(u/10);return 0===h?n:h<=c?void 0===o[h-1]?r.charAt(1):o[h-1]+r.charAt(1):n}a=o[u-1]}return void 0===a?"":a}))}}))},a4bb:function(t,e,n){t.exports=n("8aae")},a745:function(t,e,n){t.exports=n("f410")},aae3:function(t,e,n){var i=n("d3f4"),r=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},b0dc:function(t,e,n){var i=n("e4ae");t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},b447:function(t,e,n){var i=n("3a38"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},b8e3:function(t,e){t.exports=!0},be13:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},c366:function(t,e,n){var i=n("6821"),r=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,l=i(e),c=r(l.length),u=o(s,c);if(t&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var i=n("8436"),r=n("50ed"),o=n("481b"),s=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=s(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},c3a1:function(t,e,n){var i=n("e6f3"),r=n("1691");t.exports=Object.keys||function(t){return i(t,r)}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return d})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return u}));n("a481");var i=n("4aa6"),r=n.n(i);var o="undefined"!=typeof window?window.console:t.console;var s,a,l=/-(\w)/g,c=(s=function(t){return t.replace(l,(function(t,e){return e?e.toUpperCase():""}))},a=r()(null),function(t){return a[t]||(a[t]=s(t))});function u(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function d(t,e,n){var i=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,i)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},c8bb:function(t,e,n){t.exports=n("54a1")},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ce7e:function(t,e,n){var i=n("63b6"),r=n("584a"),o=n("294c");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],s={};s[t]=e(n),i(i.S+i.F*o((function(){n(1)})),"Object",s)}},d2c8:function(t,e,n){var i=n("aae3"),r=n("be13");t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},d2d5:function(t,e,n){n("1654"),n("549b"),t.exports=n("584a").Array.from},d3f4:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},d864:function(t,e,n){var i=n("79aa");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9f6:function(t,e,n){var i=n("e4ae"),r=n("794b"),o=n("1bc3"),s=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(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}},dbdb:function(t,e,n){var i=n("584a"),r=n("e53d"),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc62:function(t,e,n){n("9427");var i=n("584a").Object;t.exports=function(t,e){return i.create(t,e)}},e4ae:function(t,e,n){var i=n("f772");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e6f3:function(t,e,n){var i=n("07e3"),r=n("36c3"),o=n("5b4e")(!1),s=n("5559")("IE_PROTO");t.exports=function(t,e){var n,a=r(t),l=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;e.length>l;)i(a,n=e[l++])&&(~o(c,n)||c.push(n));return c}},f410:function(t,e,n){n("1af6"),t.exports=n("584a").Array.isArray},f559:function(t,e,n){"use strict";var i=n("5ca1"),r=n("9def"),o=n("d2c8"),s="".startsWith;i(i.P+i.F*n("5147")("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),n=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return s?s.call(e,i,n):e.slice(n,n+i.length)===i}})},f772:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fb15:function(t,e,n){"use strict";var i;(n.r(e),"undefined"!=typeof window)&&((i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=n("5176"),o=n.n(r),s=(n("f559"),n("a4bb")),a=n.n(s),l=n("a745"),c=n.n(l);var u=n("5d73"),d=n.n(u);function h(t,e){return function(t){if(c()(t))return t}(t)||function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var s,a=d()(t);!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{i||null==a.return||a.return()}finally{if(r)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n("6762"),n("2fdb");var p=n("774e"),m=n.n(p),f=n("c8bb"),g=n.n(f);function v(t){return function(t){if(c()(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(g()(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return m()(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var b=n("a352"),_=n.n(b),y=n("c649");function S(t,e){var n=this;this.$nextTick((function(){return n.$emit(t.toLowerCase(),e)}))}function x(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),S.call(e,t,n)}}function O(t){return["transition-group","TransitionGroup"].includes(t)}function w(t,e,n){return t[n]||(e[n]?e[n]():void 0)}var E=["Start","Add","Remove","Update","End"],C=["Choose","Unchoose","Sort","Filter","Clone"],j=["Move"].concat(E,C).map((function(t){return"on"+t})),T=null,k={name:"draggable",inheritAttrs:!1,props:{options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=function(t){if(!t||1!==t.length)return!1;var e=h(t,1)[0].componentOptions;return!!e&&O(e.tag)}(e);var n=function(t,e,n){var i=0,r=0,o=w(e,n,"header");o&&(i=o.length,t=t?[].concat(v(o),v(t)):v(o));var s=w(e,n,"footer");return s&&(r=s.length,t=t?[].concat(v(t),v(s)):v(s)),{children:t,headerOffset:i,footerOffset:r}}(e,this.$slots,this.$scopedSlots),i=n.children,r=n.headerOffset,s=n.footerOffset;this.headerOffset=r,this.footerOffset=s;var l=function(t,e){var n=null,i=function(t,e){n=function(t,e,n){return void 0===n||((t=t||{})[e]=n),t}(n,t,e)};if(i("attrs",a()(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,n){return e[n]=t[n],e}),{})),!e)return n;var r=e.on,s=e.props,l=e.attrs;return i("on",r),i("props",s),o()(n.attrs,l),n}(this.$attrs,this.componentData);return t(this.getTag(),l,i)},created:function(){null!==this.list&&null!==this.value&&y.b.error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&y.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&y.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};E.forEach((function(n){e["on"+n]=x.call(t,n)})),C.forEach((function(n){e["on"+n]=S.bind(t,n)}));var n=a()(this.$attrs).reduce((function(e,n){return e[Object(y.a)(n)]=t.$attrs[n],e}),{}),i=o()({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new _.a(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(y.a)(e);-1===j.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=function(t,e,n,i){if(!t)return[];var r=t.map((function(t){return t.elm})),o=e.length-i,s=v(e).map((function(t,e){return e>=o?r.length:r.indexOf(t)}));return n?s.filter((function(t){return-1!==t})):s}(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e=function(t,e){return t.map((function(t){return t.elm})).indexOf(e)}(this.getChildrenNodes()||[],t);return-1===e?null:{index:e,element:this.realList[e]}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&O(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=v(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,v(t))};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,i=this.getUnderlyingPotencialDraggableComponent(e);if(!i)return{component:i};var r=i.realList,s={list:r,component:i};if(e!==n&&r&&i.getUnderlyingVm){var a=i.getUnderlyingVm(n);if(a)return o()(a,s)}return s},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){this.getChildrenNodes()[t].data=null;var e=this.getComponent();e.children=[],e.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),T=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(y.d)(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var i={element:e,newIndex:n};this.emitChanges({added:i})}},onDragRemove:function(t){if(Object(y.c)(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(y.d)(t.clone)},onDragUpdate:function(t){Object(y.d)(t.item),Object(y.c)(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var i={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:i})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=v(e.to.children).filter((function(t){return"none"!==t.style.display})),i=n.indexOf(e.related),r=t.component.getVmIndex(i);return-1!==n.indexOf(T)||!e.willInsertAfter?r:r+1},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(t),r=this.context,s=this.computeFutureIndex(i,t);return o()(r,{futureIndex:s}),n(o()({},t,{relatedContext:i,draggedContext:r}),e)},onDragEnd:function(){this.computeIndexes(),T=null}}};"undefined"!=typeof window&&"Vue"in window&&window.Vue.component("draggable",k);var I=k;e.default=I}}).default},wCL9:function(t,e,n){var i=n("DbBu")((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}));t.exports=i},yWhq:function(t,e,n){"use strict";var i=n("KFC0"),r=n.n(i),o=n("3hkr"),s=n("CU79"),a=n("4z8A"),l=n("QiCN"),c=n("ou5p"),u=n("oTzT"),d=n("ZdEn"),h=n("gZSI"),p=n("VuSA"),m=n("d7r4"),f=n("ojJK"),g=n("DCOC"),v=n("J6+d"),b=n("onSc"),_=n("9k56"),y=n("jIK5"),S=n("BBKf"),x=n("35qI"),O=n("9Dxz"),w=n("i8zK"),E=n("KZ4l"),C=n("hII5"),j=n("DlAA"),T=n("g+RJ"),k=n("5TS0"),I=n("qO70"),D=n("aBA8"),P=n("CKxR"),A=n("eWJX"),M=n("0M2I"),R=n("QcjV");const L=Object(_.c)({mixins:[D.a],data:()=>({name:"b-toaster"}),methods:{onAfterEnter(t){Object(u.B)(()=>{Object(u.y)(t,this.name+"-enter-to")})}},render(t){return t("transition-group",{props:{tag:"div",name:this.name},on:{afterEnter:this.onAfterEnter}},this.normalizeSlot())}}),N=Object(C.c)({ariaAtomic:Object(C.b)(y.r),ariaLive:Object(C.b)(y.r),name:Object(C.b)(y.r,void 0,!0),role:Object(C.b)(y.r)},o.fb),$=Object(_.c)({name:o.fb,mixins:[I.a],props:N,data(){return{doRender:!1,dead:!1,staticName:this.name}},beforeMount(){const{name:t}=this;this.staticName=t,b.Wormhole.hasTarget(t)?(Object(f.a)(`A "<portal-target>" with name "${t}" already exists in the document.`,o.fb),this.dead=!0):this.doRender=!0},beforeDestroy(){this.doRender&&this.emitOnRoot(Object(d.e)(o.fb,s.i),this.name)},destroyed(){const{$el:t}=this;t&&t.parentNode&&t.parentNode.removeChild(t)},render(t){let e=t("div",{class:["d-none",{"b-dead-toaster":this.dead}]});if(this.doRender){const n=t(b.PortalTarget,{staticClass:"b-toaster-slot",props:{name:this.staticName,multiple:!0,tag:"div",slim:!1,transition:L}});e=t("div",{staticClass:"b-toaster",class:[this.staticName],attrs:{id:this.staticName,role:this.role||null,"aria-live":this.ariaLive,"aria-atomic":this.ariaAtomic}},[n])}return e}}),{mixin:G,props:F,prop:B,event:q}=Object(w.a)("visible",{type:y.g,defaultValue:!1,event:s.d}),H=Object(p.k)(M.b,["href","to"]),U=Object(C.c)(Object(p.m)({...k.b,...F,...H,appendToast:Object(C.b)(y.g,!1),autoHideDelay:Object(C.b)(y.m,5e3),bodyClass:Object(C.b)(y.e),headerClass:Object(C.b)(y.e),headerTag:Object(C.b)(y.r,"header"),isStatus:Object(C.b)(y.g,!1),noAutoHide:Object(C.b)(y.g,!1),noCloseButton:Object(C.b)(y.g,!1),noFade:Object(C.b)(y.g,!1),noHoverPause:Object(C.b)(y.g,!1),solid:Object(C.b)(y.g,!1),static:Object(C.b)(y.g,!1),title:Object(C.b)(y.r),toastClass:Object(C.b)(y.e),toaster:Object(C.b)(y.r,"b-toaster-top-right"),variant:Object(C.b)(y.r)}),o.eb),K=Object(_.c)({name:o.eb,mixins:[T.a,k.a,G,I.a,D.a,P.a],inheritAttrs:!1,props:U,data:()=>({isMounted:!1,doRender:!1,localShow:!1,isTransitioning:!1,isHiding:!1,order:0,dismissStarted:0,resumeDismiss:0}),computed:{toastClasses(){const{appendToast:t,variant:e}=this;return{"b-toast-solid":this.solid,"b-toast-append":t,"b-toast-prepend":!t,["b-toast-"+e]:e}},slotScope(){const{hide:t}=this;return{hide:t}},computedDuration(){return Object(O.b)(Object(E.c)(this.autoHideDelay,0),1e3)},computedToaster(){return String(this.toaster)},transitionHandlers(){return{beforeEnter:this.onBeforeEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,afterLeave:this.onAfterLeave}},computedAttrs(){return{...this.bvAttrs,id:this.safeId(),tabindex:"0"}}},watch:{[B](t){this[t?"show":"hide"]()},localShow(t){t!==this[B]&&this.$emit(q,t)},toaster(){this.$nextTick(this.ensureToaster)},static(t){t&&this.localShow&&this.ensureToaster()}},created(){this.$_dismissTimer=null},mounted(){this.isMounted=!0,this.$nextTick(()=>{this[B]&&Object(u.B)(()=>{this.show()})}),this.listenOnRoot(Object(d.d)(o.eb,s.L),t=>{t===this.safeId()&&this.show()}),this.listenOnRoot(Object(d.d)(o.eb,s.t),t=>{t&&t!==this.safeId()||this.hide()}),this.listenOnRoot(Object(d.e)(o.fb,s.i),t=>{t===this.computedToaster&&this.hide()})},beforeDestroy(){this.clearDismissTimer()},methods:{show(){if(!this.localShow){this.ensureToaster();const t=this.buildEvent(s.L);this.emitEvent(t),this.dismissStarted=this.resumeDismiss=0,this.order=Date.now()*(this.appendToast?1:-1),this.isHiding=!1,this.doRender=!0,this.$nextTick(()=>{Object(u.B)(()=>{this.localShow=!0})})}},hide(){if(this.localShow){const t=this.buildEvent(s.t);this.emitEvent(t),this.setHoverHandler(!1),this.dismissStarted=this.resumeDismiss=0,this.clearDismissTimer(),this.isHiding=!0,Object(u.B)(()=>{this.localShow=!1})}},buildEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new x.a(t,{cancelable:!1,target:this.$el||null,relatedTarget:null,...e,vueTarget:this,componentId:this.safeId()})},emitEvent(t){const{type:e}=t;this.emitOnRoot(Object(d.e)(o.eb,e),t),this.$emit(e,t)},ensureToaster(){if(this.static)return;const{computedToaster:t}=this;if(!b.Wormhole.hasTarget(t)){const e=document.createElement("div");document.body.appendChild(e);Object(g.a)(this.bvEventRoot,$,{propsData:{name:t}}).$mount(e)}},startDismissTimer(){this.clearDismissTimer(),this.noAutoHide||(this.$_dismissTimer=setTimeout(this.hide,this.resumeDismiss||this.computedDuration),this.dismissStarted=Date.now(),this.resumeDismiss=0)},clearDismissTimer(){clearTimeout(this.$_dismissTimer),this.$_dismissTimer=null},setHoverHandler(t){const e=this.$refs["b-toast"];Object(d.c)(t,e,"mouseenter",this.onPause,s.Q),Object(d.c)(t,e,"mouseleave",this.onUnPause,s.Q)},onPause(){if(this.noAutoHide||this.noHoverPause||!this.$_dismissTimer||this.resumeDismiss)return;const t=Date.now()-this.dismissStarted;t>0&&(this.clearDismissTimer(),this.resumeDismiss=Object(O.b)(this.computedDuration-t,1e3))},onUnPause(){this.noAutoHide||this.noHoverPause||!this.resumeDismiss?this.resumeDismiss=this.dismissStarted=0:this.startDismissTimer()},onLinkClick(){this.$nextTick(()=>{Object(u.B)(()=>{this.hide()})})},onBeforeEnter(){this.isTransitioning=!0},onAfterEnter(){this.isTransitioning=!1;const t=this.buildEvent(s.M);this.emitEvent(t),this.startDismissTimer(),this.setHoverHandler(!0)},onBeforeLeave(){this.isTransitioning=!0},onAfterLeave(){this.isTransitioning=!1,this.order=0,this.resumeDismiss=this.dismissStarted=0;const t=this.buildEvent(s.s);this.emitEvent(t),this.doRender=!1},makeToast(t){const{title:e,slotScope:n}=this,i=Object(j.d)(this),r=[],o=this.normalizeSlot(S.B,n);o?r.push(o):e&&r.push(t("strong",{staticClass:"mr-2"},e)),this.noCloseButton||r.push(t(A.a,{staticClass:"ml-auto mb-1",on:{click:()=>{this.hide()}}}));let s=t();r.length>0&&(s=t(this.headerTag,{staticClass:"toast-header",class:this.headerClass},r));const a=t(i?M.a:"div",{staticClass:"toast-body",class:this.bodyClass,props:i?Object(C.d)(H,this):{},on:i?{click:this.onLinkClick}:{}},this.normalizeSlot(S.e,n));return t("div",{staticClass:"toast",class:this.toastClass,attrs:this.computedAttrs,key:"toast-"+this[_.a],ref:"toast"},[s,a])}},render(t){if(!this.doRender||!this.isMounted)return t();const{order:e,static:n,isHiding:i,isStatus:r}=this,o="b-toast-"+this[_.a],s=t("div",{staticClass:"b-toast",class:this.toastClasses,attrs:{...n?{}:this.scopedStyleAttrs,id:this.safeId("_toast_outer"),role:i?null:r?"status":"alert","aria-live":i?null:r?"polite":"assertive","aria-atomic":i?null:"true"},key:o,ref:"b-toast"},[t(R.a,{props:{noFade:this.noFade},on:this.transitionHandlers},[this.localShow?this.makeToast(t):t()])]);return t(b.Portal,{props:{name:o,to:this.computedToaster,order:e,slim:!0,disabled:n}},[s])}}),z=["id",...Object(p.h)(Object(p.j)(U,["static","visible"]))],V={toastContent:"default",title:"toast-title"},W=t=>z.reduce((e,n)=>(Object(h.n)(t[n])||(e[n]=t[n]),e),{}),Y=Object(m.a)({plugins:{plugin:t=>{const e=t.extend({name:o.gb,extends:K,mixins:[a.a],destroyed(){const{$el:t}=this;t&&t.parentNode&&t.parentNode.removeChild(t)},mounted(){const t=()=>{this.localShow=!1,this.doRender=!1,this.$nextTick(()=>{this.$nextTick(()=>{Object(u.B)(()=>{this.$destroy()})})})};this.bvParent.$once(s.T,t),this.$once(s.s,t),this.listenOnRoot(Object(d.e)(o.fb,s.i),e=>{e===this.toaster&&t()})}});class n{constructor(t){Object(p.a)(this,{_vm:t,_root:Object(v.a)(t)}),Object(p.d)(this,{_vm:Object(p.l)(),_root:Object(p.l)()})}toast(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t&&!Object(f.c)("$bvToast")&&((t,n)=>{if(Object(f.c)("$bvToast"))return;const i=Object(g.a)(n,e,{propsData:{...W(Object(c.b)(o.eb)),...Object(p.j)(t,Object(p.h)(V)),static:!1,visible:!0}});Object(p.h)(V).forEach(e=>{let r=t[e];Object(h.n)(r)||("title"===e&&Object(h.m)(r)&&(r=[n.$createElement("strong",{class:"mr-2"},r)]),i.$slots[V[e]]=Object(l.b)(r))});const r=document.createElement("div");document.body.appendChild(r),i.$mount(r)})({...W(n),toastContent:t},this._vm)}show(t){t&&this._root.$emit(Object(d.d)(o.eb,s.L),t)}hide(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._root.$emit(Object(d.d)(o.eb,s.t),t)}}t.mixin({beforeCreate(){this._bv__toast=new n(this)}}),Object(p.g)(t.prototype,"$bvToast")||Object(p.e)(t.prototype,"$bvToast",{get(){return this&&this._bv__toast||Object(f.a)('"$bvToast" must be accessed from a Vue instance "this" context.',o.eb),this._bv__toast}})}}}),X=Object(m.a)({components:{BToast:K,BToaster:$},plugins:{BVToastPlugin:Y}});var Q=n("Ge+5");const J={autoHideDelay:5e3,toastClass:"gl-toast",isStatus:!0,noCloseButton:!0,toaster:"b-toaster-bottom-left"};let Z=0;function tt(t,e,n){const i=[t(Q.a,{class:["gl-toast-close-button"],on:{click:e.hide}})];return n.action&&i.splice(0,0,t("a",{role:"button",class:["gl-toast-action"],on:{click:t=>n.action.onClick(t,e)}},n.action.text)),i}function et(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="gl-toast-"+Z;Z+=1;const i=()=>{this.$bvToast.hide(n)},o={id:n,hide:i};if(r()(e.onComplete)){const t=i=>{i.componentId===n&&(this.$root.$off("bv::toast:hidden",t),e.onComplete(i))};this.$root.$on("bv::toast:hidden",t)}return this.$bvToast.toast(t,{...J,id:n,title:tt(this.$createElement,o,e)}),o}var nt={install(t){t.use(X),t.mixin({beforeCreate(){this.$toast||(this.$toast={show:et.bind(this)})}})}};e.a=nt},zjrD:function(t,e,n){"use strict";var i=n("s1D3"),r=n("V5u/"),o=n("Qog8"),s=n("Pyw5"),a=n.n(s);const l={name:"GlListboxItem",components:{GlIcon:i.a},props:{isSelected:{type:Boolean,default:!1,required:!1},isFocused:{type:Boolean,default:!1,required:!1},isCheckCentered:{type:Boolean,required:!1,default:!1}},computed:{checkedClasses(){return this.isCheckCentered?"":"gl-mt-3 gl-self-start"}},methods:{toggleSelection(){this.$emit("select",!this.isSelected)},onKeydown(t){const{code:e}=t;e!==r.d&&e!==r.m||(Object(o.k)(t),this.toggleSelection())}}};const c=a()({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"gl-new-dropdown-item",attrs:{role:"option",tabindex:t.isFocused?0:-1,"aria-selected":t.isSelected},on:{click:t.toggleSelection,keydown:t.onKeydown}},[n("span",{staticClass:"gl-new-dropdown-item-content"},[n("gl-icon",{class:["gl-new-dropdown-item-check-icon",{"gl-invisible":!t.isSelected},t.checkedClasses],attrs:{name:"mobile-issue-close","data-testid":"dropdown-item-checkbox"}}),t._v(" "),n("span",{staticClass:"gl-new-dropdown-item-text-wrapper"},[t._t("default")],2)],1)])},staticRenderFns:[]},void 0,l,void 0,!1,void 0,!1,void 0,void 0,void 0);e.a=c}},[["enn4",1,0,10,12,13,14,16,21,128,320]]]);
//# sourceMappingURL=super_sidebar.5bd734bb.chunk.js.map