PageSourceSearch

https://smartjobr.com/assets/webpack/commons-pages.registrations.new-pages.sessions.new.431bb883.chunk.js

js smartjobr.com collected 2026-10-04 21:50:23 UTC 82,981 bytes, 12 lines download raw bytes

1(this.webpackJsonp=this.webpackJsonp||[]).push([["commons-pages.registrations.new-pages.sessions.new","d0586073","bf23b1e8","vendors-pipeline_graph"],{"1I5c":function(t,e,n){"use strict";var i=n("7e18"),o=n("hvGG"),r=n("d85j"),s=n("NnjE"),l=n("4qOP"),a={name:"GlSearchBoxByType",components:{GlClearIconButton:i.a,GlIcon:r.a,GlFormInput:o.a,GlLoadingIcon:s.a},inheritAttrs:!1,model:{prop:"value",event:"input"},props:{value:{type:String,required:!1,default:""},borderless:{type:Boolean,required:!1,default:!1},clearButtonTitle:{type:String,required:!1,default:function(){return Object(l.b)("GlSearchBoxByType.clearButtonTitle","Clear")}},disabled:{type:Boolean,required:!1,default:!1},isLoading:{type:Boolean,required:!1,default:!1},tooltipContainer:{required:!1,default:!1,validator:function(t){return!1===t||"string"==typeof t||t instanceof HTMLElement}}},computed:{inputAttributes(){const t={type:"search",placeholder:Object(l.b)("GlSearchBoxByType.input.placeholder","Search"),...this.$attrs};return t["aria-label"]||(t["aria-label"]=t.placeholder),t},hasValue(){return Boolean(this.value.length)},inputListeners(){return{...this.$listeners,input:this.onInput,focusin:this.onFocusin,focusout:this.onFocusout}},showClearButton(){return this.hasValue&&!this.disabled}},methods:{isInputOrClearButton(t){var e,n;return t===(null===(e=this.$refs.input)||void 0===e?void 0:e.$el)||t===(null===(n=this.$refs.clearButton)||void 0===n?void 0:n.$el)},clearInput(){this.onInput(""),this.focusInput()},focusInput(){this.$refs.input.$el.focus()},onInput(t){this.$emit("input",t)},onFocusout(t){const{relatedTarget:e}=t;this.isInputOrClearButton(e)||this.$emit("focusout",t)},onFocusin(t){const{relatedTarget:e}=t;this.isInputOrClearButton(e)||this.$emit("focusin",t)}}},c=n("tBpV"),u=Object(c.a)(a,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"gl-search-box-by-type"},[e("gl-icon",{staticClass:"gl-search-box-by-type-search-icon",attrs:{name:"search",variant:"subtle"}}),t._v(" "),e("gl-form-input",t._g(t._b({ref:"input",class:{"gl-search-box-by-type-input":!t.borderless,"gl-search-box-by-type-input-borderless":t.borderless},attrs:{value:t.value,disabled:t.disabled}},"gl-form-input",t.inputAttributes,!1),t.inputListeners)),t._v(" "),t.isLoading||t.showClearButton?e("div",{staticClass:"gl-search-box-by-type-right-icons"},[t.isLoading?e("gl-loading-icon",{staticClass:"gl-search-box-by-type-loading-icon"}):t._e(),t._v(" "),t.showClearButton?e("gl-clear-icon-button",{ref:"clearButton",staticClass:"gl-search-box-by-type-clear gl-clear-icon-button",attrs:{title:t.clearButtonTitle,"tooltip-container":t.tooltipContainer},on:{click:function(e){return e.stopPropagation(),t.clearInput.apply(null,arguments)},focusin:t.onFocusin,focusout:t.onFocusout}}):t._e()],1):t._e()],1)}),[],!1,null,null,null);e.a=u.exports},"1TR3":function(t,e,n){"use strict";var i=n("ho4C"),o={name:"GlListboxGroup",props:{name:{type:String,required:!0},textSrOnly:{type:Boolean,required:!1,default:!1}},created(){this.nameId=Object(i.a)("gl-listbox-group-")}},r=n("tBpV"),s=Object(r.a)(o,(function(){var t=this,e=t._self._c;return e("ul",{staticClass:"gl-mb-0 gl-pl-0",attrs:{role:"group","aria-labelledby":t.nameId}},[e("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)}),[],!1,null,null,null);e.a=s.exports},"7Q0w":function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return r}));const i="!gl-w-31",o=8,r=24},"7e18":function(t,e,n){"use strict";var i=n("zIFf"),o=n("CbCZ"),r=n("4qOP"),s={name:"ClearIconButton",components:{GlButton:o.a},directives:{GlTooltip:i.a},props:{title:{type:String,required:!1,default:function(){return Object(r.b)("ClearIconButton.title","Clear")}},tooltipContainer:{required:!1,default:!1,validator:function(t){return!1===t||"string"==typeof t||t instanceof HTMLElement}}}},l=n("tBpV"),a=Object(l.a)(s,(function(){return(0,this._self._c)("gl-button",this._g({directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip.hover",value:{container:this.tooltipContainer},expression:"{ container: tooltipContainer }",modifiers:{hover:!0}}],staticClass:"gl-clear-icon-button",attrs:{variant:"default",category:"tertiary",size:"small",name:"clear",icon:"clear",title:this.title,"aria-label":this.title}},this.$listeners))}),[],!1,null,null,null);e.a=a.exports},"93nq":function(t,e,n){"use strict";n("Tznw"),n("IYH6"),n("6yen"),n("OeRx"),n("l/dT"),n("RqS2"),n("Zy7a"),n("cjZU"),n("OAhk"),n("X42P"),n("mHhP"),n("fn0I"),n("UB/6"),n("imhG"),n("B++/"),n("z6RN"),n("47t/"),n("UezY"),n("hG7+"),n("3UXl"),n("iyoE"),n("aFm2"),n("R9qC"),n("ZzK0"),n("BzOf");var i=n("ho4C"),o=n("dLPT"),r=n("RqKJ"),s=n("mpVB"),l=n("RK7s"),a=n("q3oM"),c=n("CbCZ"),u=n("NnjE"),d=n("gFTu"),h=n("1I5c"),f=n("b1NL"),g=n("4qOP"),p=n("vx36"),m=n("7e18"),b=n("d85j"),y={name:"GlListboxSearchInput",components:{GlClearIconButton:m.a,GlIcon:b.a},inheritAttrs:!1,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(){var t=this;
1return{...this.$listeners,input:function(e){t.$emit("input",e.target.value)}}}},methods:{clearInput(){this.$emit("input",""),this.focusInput()},focusInput(){this.$refs.input.focus()}}},v=n("tBpV"),x=Object(v.a)(y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"gl-listbox-search"},[e("gl-icon",{staticClass:"gl-listbox-search-icon",attrs:{name:"search-sm",size:12}}),t._v(" "),e("input",t._g(t._b({ref:"input",staticClass:"gl-listbox-search-input",attrs:{type:"search","aria-label":t.placeholder,placeholder:t.placeholder},domProps:{value:t.value}},"input",t.$attrs,!1),t.inputListeners)),t._v(" "),t.hasValue?e("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)}),[],!1,null,null,null).exports,w=n("1TR3"),O=n("Mb0h");const S=Symbol("null-key"),I=["gl-border-t-1","gl-border-t-solid","gl-border-t-dropdown-divider","gl-pt-1","gl-mt-2"];var T={name:"GlCollapsibleListbox",HEADER_ITEMS_BORDER_CLASSES:["gl-border-b-1","gl-border-b-solid","gl-border-b-dropdown-divider"],events:{GL_DROPDOWN_SHOWN:l.i,GL_DROPDOWN_HIDDEN:l.h,GL_DROPDOWN_FOCUS_CONTENT:l.g},components:{GlBaseDropdown:f.a,GlListboxItem:p.a,GlListboxGroup:w.a,GlButton:c.a,GlSearchBoxByType:h.a,GlListboxSearchInput:x,GlLoadingIcon:u.a,GlIntersectionObserver:d.a},inject:{getFormGroupInstance:{default:function(){return function(){}}}},model:{prop:"selected",event:"select"},props:{items:{type:Array,required:!1,default:function(){return[]},validator:O.c},selected:{type:[Array,String,Number,null],required:!1,default:function(){return[]}},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:a.q.primary,validator:function(t){return t in a.q}},variant:{type:String,required:!1,default:a.z.default,validator:function(t){return t in a.z}},size:{type:String,required:!1,default:"medium",validator:function(t){return t in a.r}},icon:{type:String,required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},state:{type:Boolean,required:!1,default:null},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:function(t){return Object.keys(a.y).includes(t)}},isCheckCentered:{type:Boolean,required:!1,default:!1},toggleId:{type:String,required:!1,default:null},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},panelMatchTriggerWidth:{type:Boolean,required:!1,default:!1},positioningStrategy:{type:String,required:!1,default:l.l,validator:function(t){return[l.l,l.m].includes(t)}},startOpened:{type:Boolean,required:!1,default:!1},srOnlyResultsLabel:{type:Function,required:!1,default:Object(g.c)("GlCollapsibleListbox.srOnlyResultsLabel","%d result","%d results")}},data:()=>({selectedValues:[],listboxId:Object(i.a)("listbox-"),searchInputId:Object(i.a)("listbox-search-input-"),nextFocusedItemIndex:null,searchStr:"",topBoundaryVisible:!0,bottomBoundaryVisible:!0,activeItemId:null,itemIds:new Map}),computed:{listboxAriaLabelledByID(){return this.headerId&&this.searchable?""+this.headerId:this.searchable?this.searchInputId:this.isInFormGroup?this.listboxIdComputed:this.listAriaLabelledBy||this.headerId||this.toggleIdComputed},isInFormGroup(){return Boolean(this.getFormGroupInstance())},toggleIdComputed(){return this.toggleId||Object(i.a)("dropdown-toggle-btn-")},listboxIdComputed(){if(this.isInFormGroup)return this.listAriaLabelledBy?this.listAriaLabelledBy:this.toggleId?this.toggleId+"-span":Object(i.a)("dropdown-toggle-span-")},listboxTag(){return!this.hasItems||Object(O.b)(this.items[0])?"ul":"div"},listboxClasses(){return{"top-scrim-visible":!this.topBoundaryVisible,"bottom-scrim-visible":!this.bottomBoundaryVisible,[l.f]:!0}},itemTag(){return"ul"===this.listboxTag?"li":"div"},flattenedOptions(){return Object(O.a)(this.items)},searchHasOptions(){return this.flattenedOptions.length>0&&this.searchStr},hasItems(){return this.items.length>0},listboxToggleText(){var t,e=this;return this.toggleText?this.toggleText:!this.multiple&&this.selectedValues.length?null===(t=this.flattenedOptions.find((function({value:t}){return t===e.selectedValues[0]})))||void 0===t?void 0:t.text:""},selectedIndices(){var t=this;return this.selectedValues.map((function(e){return t.flattenedOptions.findIndex((function({value:t}){return t===e}))})).filter((function(t){return-1!==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&&Object(i.a)("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},isBusy(){return this.infiniteScrollLoading||this.loading||this.searching},hasCustomToggle(){return Boolean(this.$scopedSlots.toggle)},hasSelection(){return Boolean(this.selectedValues.length)}
1,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)},loadingAnnouncementText(){return this.infiniteScrollLoading?Object(g.b)("GlCollapsibleListbox.loadingAnnouncementText.loadingMoreItems","Loading more items"):this.searching?Object(g.b)("GlCollapsibleListbox.loadingAnnouncementText.searching","Searching"):this.loading?Object(g.b)("GlCollapsibleListbox.loadingAnnouncementText.loadingItems","Loading items"):""}},watch:{selected:{immediate:!0,handler(t,e){Array.isArray(t)?this.selectedValues=[...t]:this.selectedValues=[t],void 0===e||Object(o.a)(t,e)||this.$emit("change")}},items:{handler(){var t=this;this.$nextTick((function(){t.observeScroll(),t.searchHasOptions?t.nextFocusedItemIndex=t.getFirstEnabledIndex():t.nextFocusedItemIndex=null}))}}},mounted(){this.startOpened&&this.open(),this.observeScroll()},beforeDestroy(){var t;null===(t=this.scrollObserver)||void 0===t||t.disconnect()},methods:{onFocusContent(t){t.preventDefault(),this.open()},open(){this.$refs.baseDropdown.open()},close(){this.$refs.baseDropdown.close()},groupClasses:t=>0===t?null:I,onShow(){if(this.searchable){if(this.focusSearchInput(),this.searchHasOptions){const t=this.getFirstEnabledIndex();this.nextFocusedItemIndex=t;const e=this.flattenedOptions[t];this.activeItemId=this.generateItemId(e)}}else{var t;const e=this.selectedIndices[0],n=void 0===e||null!==(t=this.flattenedOptions[e])&&void 0!==t&&t.disabled?this.getFirstEnabledIndex():e;this.focusItem(n,this.getFocusableListItemElements())}this.$emit(l.i)},onHide(t){this.$emit(l.h),this.nextFocusedItemIndex=null,this.$emit("blur",t)},getNextIndex(t,e,n){const i=e===l.b?-1:1;let o=t;for(let t=0;t<n;t+=1){var r;if(o+=i,o<0&&(o=n-1),o>=n&&(o=0),null===(r=this.flattenedOptions[o])||void 0===r||!r.disabled)return o}return t},getFirstEnabledIndex(){return this.flattenedOptions.findIndex((function(t){return!t.disabled}))},getLastEnabledIndex(){return this.flattenedOptions.findLastIndex((function(t){return!t.disabled}))},handleListNavigation(t,e){var n;const i=null!==(n=this.nextFocusedItemIndex)&&void 0!==n?n:-1,o=this.getNextIndex(i,t,e.length);this.focusItem(o,e,this.searchable)},onKeydown(t){const{code:e,target:n}=t,i=this.getFocusableListItemElements();if(i.length<1)return;const o=n.matches(".gl-listbox-search-input");let r=!0;switch(e){case l.j:!this.searchable&&o||this.focusItem(this.getFirstEnabledIndex(),i,this.searchable);break;case l.c:!this.searchable&&o||this.focusItem(this.getLastEnabledIndex(),i,this.searchable);break;case l.b:if(o&&!this.searchable)return;this.handleListNavigation(l.b,i);break;case l.a:o&&!this.searchable?this.focusItem(this.getFirstEnabledIndex(),i):this.handleListNavigation(l.a,i);break;case l.d:if(o){if(i.length>0&&null!==this.nextFocusedItemIndex){const t=this.flattenedOptions[this.nextFocusedItemIndex];null!=t&&t.disabled||this.onSelect(t,!this.isSelected(t))}}else r=!1;break;default:r=!1}r&&Object(s.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=Object(r.a)(o+n,0,e.length-1);this.focusItem(s,e)},focusItem(t,e,n=!1){var i=this;this.nextFocusedItemIndex=t;const o=this.flattenedOptions[t];var r;(this.activeItemId=o?this.generateItemId(o):null,n)||(null===(r=e[t])||void 0===r||r.focus());this.$nextTick((function(){i.scrollActiveItemIntoView()}))},focusSearchInput(){this.$refs.searchBox.focusInput()},onSelect(t,e){this.multiple?this.onMultiSelect(t.value,e):this.onSingleSelect(t.value,e)},isHighlighted(t){return this.nextFocusedItemIndex===this.flattenedOptions.indexOf(t)},isSelected(t){return this.selectedValues.some((function(e){return e===t.value}))},isFocused(t){return this.nextFocusedItemIndex===this.flattenedOptions.indexOf(t)},isDisabled:t=>t.disabled,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((function(e){return 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")},listboxItemKey:t=>null===t.value?S:t.value,listboxItemMoreItemsAriaAttributes(t){return null===this.totalItems?{}:{"aria-setsize":this.totalItems,"aria-posinset":t+1}},observeScroll(){var t,e=this;const n={rootMargin:"8px",root:this.$refs.list,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),o=this.$refs["top-boundary"],r=this.$refs["bottom-boundary"];o&&(o.$__visibilityProp="topBoundaryVisible",i.observe(o)),r&&(r.$__visibilityProp="bottomBoundaryVisible",i.observe(r)),this.scrollObserver=i},isOption:O.b,generateItemId(t){const e=null===t.value?S:t.value;return this.itemIds.has(e)||this.itemIds.set(e,Object(i.a)("listbox-item-")),this.itemIds.get(e)},scrollActiveItemIntoView(){const t=this.$refs.list;if(!this.activeItemId||!this.searchable||!t)return;const e=document.getElementById(this.activeItemId);if(!e)return;const n=t.getBoundingClientRect(),i=e.getBoundingClientRect(),o=e.offsetTop;i.top<n.top?t.scrollTo({top:o-30,behavior:"smooth"}):i.bottom>n.bottom&&t.scrollTo({top:o-n.height+e.offsetHeight+30,behavior:"smooth"})}}},C=Object(v.a)(T,(function(){var t=this,e=t._self._c;return e("gl-base-dropdown",{ref:"baseDropdown",attrs:{"aria-haspopup":"listbox","active-item-id":t.activeItemId,"aria-labelledby":t.toggleAriaLabelledBy,block:t.block,"has-searchable-listbox":t.
1searchable,"has-external-label":t.isInFormGroup,"listbox-id":t.listboxIdComputed,state:t.state,"toggle-id":t.toggleIdComputed,"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,"panel-match-trigger-width":t.panelMatchTriggerWidth,"positioning-strategy":t.positioningStrategy},on:t._d({},[t.$options.events.GL_DROPDOWN_FOCUS_CONTENT,t.onFocusContent,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(e){return[t._t("toggle",null,null,e)]}}:null,{key:"default",fn:function({visible:n}){return[t.headerText?e("div",{staticClass:"gl-flex gl-min-h-8 gl-shrink-0 gl-items-center gl-px-4 gl-py-3",class:t.$options.HEADER_ITEMS_BORDER_CLASSES},[e("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?e("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-visible:!gl-focus-inset",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?e("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-visible:!gl-focus-inset",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?e("div",{staticClass:"gl-shrink-0",class:t.$options.HEADER_ITEMS_BORDER_CLASSES},[e("gl-listbox-search-input",{ref:"searchBox",class:{"gl-listbox-topmost":!t.headerText},attrs:{id:t.searchInputId,"data-testid":"listbox-search-input",role:"combobox","aria-expanded":String(n),"aria-controls":t.listboxId,"aria-activedescendant":t.activeItemId,"aria-haspopup":"listbox",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?e("gl-loading-icon",{staticClass:"gl-my-3",attrs:{"data-testid":"listbox-search-loader",size:"md"}}):t._e()],1):t._e(),t._v(" "),t.showList?e(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-busy":t.isBusy,"aria-labelledby":t.listboxAriaLabelledByID,"aria-multiselectable":t.multiple?"true":void 0,role:"listbox",tabindex:"0"},on:{keydown:t.onKeydown}},[e(t.itemTag,{tag:"component",staticClass:"top-scrim-wrapper",attrs:{"aria-hidden":"true","data-testid":"top-scrim"}},[e("div",{staticClass:"top-scrim",class:{"top-scrim-light":!t.hasHeader,"top-scrim-dark":t.hasHeader}})]),t._v(" "),e(t.itemTag,{ref:"top-boundary",tag:"component",attrs:{"aria-hidden":"true"}}),t._v(" "),t._l(t.items,(function(n,i){return[t.isOption(n)?[e("gl-listbox-item",t._b({key:t.listboxItemKey(n),attrs:{id:t.generateItemId(n),"data-testid":"listbox-item-"+n.value,"is-highlighted":t.isHighlighted(n),"is-selected":t.isSelected(n),"is-focused":t.isFocused(n),"is-check-centered":t.isCheckCentered,"is-disabled":t.isDisabled(n)},on:{select:function(e){return t.onSelect(n,e)}}},"gl-listbox-item",t.listboxItemMoreItemsAriaAttributes(i),!1),[t._t("list-item",(function(){return[t._v("\n              "+t._s(n.text)+"\n            ")]}),{item:n})],2)]:[e("gl-listbox-group",{key:n.text,class:t.groupClasses(i),attrs:{name:n.text,"text-sr-only":n.textSrOnly},scopedSlots:t._u([t.$scopedSlots["group-label"]?{key:"group-label",fn:function(){return[t._t("group-label",null,{group:n})]},proxy:!0}:null],null,!0)}
1,[t._v(" "),t._l(n.options,(function(n){return e("gl-listbox-item",{key:t.listboxItemKey(n),attrs:{id:t.generateItemId(n),"data-testid":"listbox-item-"+n.value,"is-highlighted":t.isHighlighted(n),"is-selected":t.isSelected(n),"is-focused":t.isFocused(n),"is-check-centered":t.isCheckCentered,"is-disabled":t.isDisabled(n)},on:{select:function(e){return t.onSelect(n,e)}}},[t._t("list-item",(function(){return[t._v("\n                "+t._s(n.text)+"\n              ")]}),{item:n})],2)}))],2)]]})),t._v(" "),t.infiniteScrollLoading?e(t.itemTag,{tag:"component"},[e("gl-loading-icon",{staticClass:"gl-my-3",attrs:{"data-testid":"listbox-infinite-scroll-loader",size:"md"}})],1):t._e(),t._v(" "),t.showIntersectionObserver?e("gl-intersection-observer",{on:{appear:t.onIntersectionObserverAppear}}):t._e(),t._v(" "),e(t.itemTag,{ref:"bottom-boundary",tag:"component",attrs:{"aria-hidden":"true"}}),t._v(" "),e(t.itemTag,{tag:"component",staticClass:"bottom-scrim-wrapper",attrs:{"aria-hidden":"true","data-testid":"bottom-scrim"}},[e("div",{staticClass:"bottom-scrim",class:{"!gl-rounded-none":t.hasFooter}})])],2):t._e(),t._v(" "),t.announceSRSearchResults?e("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._e(),t._v(" "),t.isBusy?e("span",{staticClass:"gl-sr-only",attrs:{"aria-live":"polite","data-testid":"listbox-loading-announcement"}},[t._v("\n      "+t._s(t.loadingAnnouncementText)+"\n    ")]):t.showNoResultsText?e("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")]}}],null,!0)})}),[],!1,null,null,null);e.a=C.exports},BQcc:function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));n("ZzK0"),n("z6RN"),n("BzOf");var i=n("QJEF"),o=n("jlnU"),r=n("2ibD"),s=n("/lV4"),l=n("KXtm"),a=n("ygVz"),c=n("GuZl"),u=n("0AwG");class d{constructor(){var t=this;this.elements=document.querySelectorAll(".js-track-error"),this.trackErrorOnEmptyField=d.trackErrorOnEmptyField.bind(this),this.trackErrorOnChange=Object(i.a)(d.trackErrorOnChange.bind(this),c.g),this.elements.forEach((function(e){e.addEventListener("input",t.trackErrorOnChange),e.addEventListener("invalid",t.trackErrorOnEmptyField)}))}destroy(){var t=this;this.elements.forEach((function(e){e.removeEventListener("input",t.trackErrorOnChange),e.removeEventListener("invalid",t.trackErrorOnEmptyField)}))}static trackErrorOnChange(t){const e=t.target;if(e.value&&!e.checkValidity()){const t=d.errorMessage(e);a.b.event(void 0,d.action(e),{label:d.label(e,t)})}}static trackErrorOnEmptyField(t){const e=t.target,n=!e.checked&&d.isRadio(e.type);(""===e.value||n)&&a.b.event(void 0,d.action(e),{label:d.label(e,"is_required")})}static errorMessage(t){return["first_name","last_name","username","email","password","company_name"].some((function(e){return t.id.includes(e)}
1))?"is_invalid":d.inputErrorMessage(t)}static formattedLabel(t){return t+"_is_invalid"}static inputErrorMessage(t){return Object(u.j)(t.validationMessage)}static action(t){return d.formattedAction(t.dataset.trackActionForErrors)}static formattedAction(t){return`track_${t}_error`}static label(t,e){if(d.isRadio(t.type)){const e=t.closest(".form-group").querySelector("label").getAttribute("for");return"missing_"+Object(u.j)(e)}return`${t.id}_${e}`}static isRadio(t){return"radio"===t}}var h=n("BDaF");class f extends l.a{constructor(t={}){var e;super(),e=this;const n=t.container||"",o=document.querySelectorAll(n+" .js-validate-username");this.debounceValidateInput=Object(i.a)((function(t){f.validateUsernameInput(t)}),1e3),o.forEach((function(t){return t.addEventListener("input",e.eventHandler.bind(e))}))}eventHandler(t){const e=t.target;f.resetInputState(e),this.debounceValidateInput(e)}static validateUsernameInput(t){const e=t.value;e.length>1&&t.checkValidity()&&(f.setMessageVisibility(t,".validation-pending"),f.fetchUsernameAvailability(e).then((function(e){if(f.setInputState(t,!e),f.setMessageVisibility(t,".validation-pending",!1),f.setMessageVisibility(t,e?".validation-error":".validation-success"),e){const e=d.action(t),n=d.label(t,"is_taken");a.b.event(void 0,e,{label:n})}})).catch((function(){return Object(o.createAlert)({message:Object(s.a)("An error occurred while validating username")})})))}static fetchUsernameAvailability(t){return r.a.get(Object(h.c)(t)).then((function({data:t}){return t.exists}))}static setMessageVisibility(t,e,n=!0){t.parentElement.querySelector(e).classList.toggle("hide",!n)}static setInputState(t,e=!0){t.classList.toggle("gl-field-success-outline",e),t.classList.toggle("gl-field-error-outline",!e)}static resetInputState(t){f.setMessageVisibility(t,".validation-success",!1),f.setMessageVisibility(t,".validation-error",!1),t.checkValidity()&&t.classList.remove("gl-field-success-outline","gl-field-error-outline")}}},FooD:function(t,e,n){(t.exports=n("VNgF")(!1)).push([t.i,"\n/*\n * Hiding the browser's native password reveal control when showing our own toggle.\n * Avoids duplicate eye icons in Microsoft Edge (and IE), which only show their\n * reveal button when the field is focused and has content.\n */\n[data-v-91c2358c] input[type='password']::-ms-reveal {\n  display: none;\n}\n",""])},KXtm:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));class i{constructor(){this.inputDomElement={},this.inputErrorMessage={},this.errorMessage=null,this.invalidInput=null}setValidationStateAndMessage(){this.setValidationMessage();const t=!this.inputDomElement.checkValidity();this.inputDomElement.classList.toggle("gl-field-error-outline",t),this.inputErrorMessage.classList.toggle("hide",!t)}setValidationMessage(){this.invalidInput?(this.inputDomElement.setCustomValidity(this.errorMessage),this.inputErrorMessage.innerHTML=this.errorMessage):this.resetValidationMessage()}resetValidationMessage(){this.inputDomElement.validationMessage===this.errorMessage&&(this.inputDomElement.setCustomValidity(""),this.inputErrorMessage.innerHTML=this.inputDomElement.title)}}},Mb0h:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return a}));n("LdIe"),n("z6RN"),n("PTOk"),n("dHQd"),n("yoDG"),n("KeS/"),n("tWNI"),n("8d6S"),n("VwWG"),n("IYHS"),n("rIA9"),n("MViX"),n("zglm"),n("GDOA"),n("hlbI"),n("a0mT"),n("u3H1"),n("ta8/"),n("IKCR"),n("nmTw"),n("W2kU"),n("58fc"),n("7dtT"),n("Rhav"),n("uhEP"),n("eppl"),n("YSE1"),n("b+iX"),n("3UXl"),n("iyoE"),n("UezY"),n("hG7+");var i=n("v1ID"),o=n("Kq5r");const r=function(t){return Boolean(t)&&(Object(i.a)(t.value)||Object(o.a)(t.value)||null===t.value)},s=function({options:t}={}){return Array.isArray(t)&&t.every(r)},l=function(t){return t.length===new Set(t).size},a=function(t){return t.flatMap((function(t){return r(t)?t:t.options}))},c=function(t){return function(t){return t.every(r)||t.every(s)}(t)&&function(t){return l(a(t).map((function({value:t}){return t})))}(t)&&function(t){return l(t.filter(s).map((function({text:t}){return t})))}(t)}},RqKJ:function(t,e,n){"use strict";var i=function(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t},o=n("gKaQ");e.a=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=Object(o.a)(n))==n?n:0),void 0!==e&&(e=(e=Object(o.a)(e))==e?e:0),i(Object(o.a)(t),e,n)}},SZIZ:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}
1));n("ZzK0"),n("z6RN"),n("BzOf");var i=n("KXtm");class o extends i.a{constructor(t={}){var e;super(),e=this;const n=t.container||"";document.querySelectorAll(n+" .js-validate-length").forEach((function(t){return t.addEventListener("input",e.eventHandler.bind(e))}))}eventHandler(t){this.inputDomElement=t.target,this.inputErrorMessage=this.inputDomElement.parentElement.querySelector(".gl-field-error");const{value:e}=this.inputDomElement,{minLength:n,minLengthMessage:i,maxLengthMessage:o,maxLength:r,allowEmpty:s}=this.inputDomElement.dataset;this.invalidInput=!1,function(t,e){return t.length>parseInt(e,10)}(e,r)&&(this.invalidInput=!0,this.errorMessage=o),function(t,e,n){const i="true"!==n||0!==t.length;return t.length<parseInt(e,10)&&i}(e,n,s)&&(this.invalidInput=!0,this.errorMessage=i),this.setValidationStateAndMessage()}}},Vz8y:function(t,e,n){"use strict";function i(){return"undefined"!=typeof window}function o(t){return l(t)?(t.nodeName||"").toLowerCase():"#document"}function r(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function s(t){var e;return null==(e=(l(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function l(t){return!!i()&&(t instanceof Node||t instanceof r(t).Node)}function a(t){return!!i()&&(t instanceof Element||t instanceof r(t).Element)}function c(t){return!!i()&&(t instanceof HTMLElement||t instanceof r(t).HTMLElement)}function u(t){return!(!i()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof r(t).ShadowRoot)}function d(t){const{overflow:e,overflowX:n,overflowY:i,display:o}=O(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&"inline"!==o&&"contents"!==o}function h(t){return/^(table|td|th)$/.test(o(t))}function f(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return C})),n.d(e,"e",(function(){return o})),n.d(e,"f",(function(){return S})),n.d(e,"g",(function(){return T})),n.d(e,"h",(function(){return I})),n.d(e,"i",(function(){return r})),n.d(e,"j",(function(){return y})),n.d(e,"k",(function(){return a})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return w})),n.d(e,"n",(function(){return d})),n.d(e,"o",(function(){return h})),n.d(e,"p",(function(){return f})),n.d(e,"q",(function(){return x}));const g=/transform|translate|scale|rotate|perspective|filter/,p=/paint|layout|strict|content/,m=t=>!!t&&"none"!==t;let b;function y(t){const e=a(t)?O(t):t;return m(e.transform)||m(e.translate)||m(e.scale)||m(e.rotate)||m(e.perspective)||!x()&&(m(e.backdropFilter)||m(e.filter))||g.test(e.willChange||"")||p.test(e.contain||"")}function v(t){let e=I(t);for(;c(e)&&!w(e);){if(y(e))return e;if(f(e))return null;e=I(e)}return null}function x(){return null==b&&(b="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),b}function w(t){return/^(html|body|#document)$/.test(o(t))}function O(t){return r(t).getComputedStyle(t)}function S(t){return a(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function I(t){if("html"===o(t))return t;const e=t.assignedSlot||t.parentNode||u(t)&&t.host||s(t);return u(e)?e.host:e}function T(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);const o=function t(e){const n=I(e);return w(n)?e.ownerDocument?e.ownerDocument.body:e.body:c(n)&&d(n)?n:t(n)}(t),s=o===(null==(i=t.ownerDocument)?void 0:i.body),l=r(o);if(s){const t=C(l);return e.concat(l,l.visualViewport||[],d(o)?o:[],t&&n?T(t):[])}return e.concat(o,T(o,[],n))}function C(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}},WrwP:function(t,e,n){"use strict";n.r(e),n.d(e,"getOverflowAncestors",(function(){return R.g})),n.d(e,"arrow",(function(){return lt})),n.d(e,"autoPlacement",(function(){return nt})),n.d(e,"autoUpdate",(function(){return J})),n.d(e,"computePosition",(function(){return ut})),n.d(e,"detectOverflow",(function(){return tt})),n.d(e,"flip",(function(){return ot})),n.d(e,"hide",(function(){return st})),n.d(e,"inline",(function(){return at})),n.d(e,"limitShift",(function(){return ct})),n.d(e,"offset",(function(){return et})),n.d(e,"platform",(function(){return Y})),n.d(e,"shift",(function(){return it})),n.d(e,"size",(function(){return rt}));const i=["top","right","bottom","left"],o=["start","end"],r=i.reduce((t,e)=>
vendor: 3,877 bytes, line 1
1t.concat(e,e+"-"+o[0],e+"-"+o[1]),[]),s=Math.min,l=Math.max,a=Math.round,c=Math.floor,u=t=>({x:t,y:t}),d={left:"right",right:"left",bottom:"top",top:"bottom"};function h(t,e,n){return l(t,s(e,n))}function f(t,e){return"function"==typeof t?t(e):t}function g(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function m(t){return"x"===t?"y":"x"}function b(t){return"y"===t?"height":"width"}function y(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function v(t){return m(y(t))}function x(t,e,n){void 0===n&&(n=!1);const i=p(t),o=v(t),r=b(o);let s="x"===o?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=j(s)),[s,j(s)]}function w(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const O=["left","right"],S=["right","left"],I=["top","bottom"],T=["bottom","top"];function C(t,e,n,i){const o=p(t);let r=function(t,e,n){switch(t){case"top":case"bottom":return n?e?S:O:e?O:S;case"left":case"right":return e?I:T;default:return[]}}(g(t),"start"===n,i);return o&&(r=r.map(t=>t+"-"+o),e&&(r=r.concat(r.map(w)))),r}function j(t){const e=g(t);return d[e]+t.slice(e.length)}function _(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function E(t){const{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function L(t,e,n){let{reference:i,floating:o}=t;const r=y(e),s=v(e),l=b(s),a=g(e),c="y"===r,u=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;let f;switch(a){case"top":f={x:u,y:i.y-o.height};break;case"bottom":f={x:u,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:d};break;case"left":f={x:i.x-o.width,y:d};break;default:f={x:i.x,y:i.y}}switch(p(e)){case"start":f[s]-=h*(n&&c?-1:1);break;case"end":f[s]+=h*(n&&c?-1:1)}return f}async function B(t,e){var n;void 0===e&&(e={});const{x:i,y:o,platform:r,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:g=0}=f(e,t),p=_(g),m=l[h?"floating"===d?"reference":"floating":d],b=E(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(m)))||n?m:m.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),y="floating"===d?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,v=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),x=await(null==r.isElement?void 0:r.isElement(v))&&await(null==r.getScale?void 0:r.getScale(v))||{x:1,y:1},w=E(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:v,strategy:a}):y);return{top:(b.top-w.top+p.top)/x.y,bottom:(w.bottom-b.bottom+p.bottom)/x.y,left:(b.left-w.left+p.left)/x.x,right:(w.right-b.right+p.right)/x.x}}function A(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function k(t){return i.some(e=>t[e]>=0)}function $(t){const e=s(...t.map(t=>t.left)),n=s(...t.map(t=>t.top));return{x:e,y:n,width:l(...t.map(t=>t.right))-e,height:l(...t.map(t=>t.bottom))-n}}const q=new Set(["left","top"]);var R=n("Vz8y");function D(t){const e=Object(R.a)(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const o=Object(R.l)(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=a(n)!==r||a(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function F(t){return Object(R.k)(t)?t:t.contextElement}function M(t){const e=F(t);if(!Object(R.l)(e))return u(1);const n=e.getBoundingClientRect(),{width:i,height:o,$:r}=D(e);let s=(r?a(n.width):n.width)/i,l=(r?a(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const P=u(0);function V(t){const e=Object(R.i)(t);
1return Object(R.q)()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:P}function N(t,e,n,i){void 0===e&&(e=!1),void 0===n&&(n=!1);const o=t.getBoundingClientRect(),r=F(t);let s=u(1);e&&(i?Object(R.k)(i)&&(s=M(i)):s=M(t));const l=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==Object(R.i)(t))&&e}(r,n,i)?V(r):u(0);let a=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,d=o.width/s.x,h=o.height/s.y;if(r){const t=Object(R.i)(r),e=i&&Object(R.k)(i)?Object(R.i)(i):i;let n=t,o=Object(R.d)(n);for(;o&&i&&e!==n;){const t=M(o),e=o.getBoundingClientRect(),i=Object(R.a)(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;a*=t.x,c*=t.y,d*=t.x,h*=t.y,a+=r,c+=s,n=Object(R.i)(o),o=Object(R.d)(n)}}return E({width:d,height:h,x:a,y:c})}function H(t,e){const n=Object(R.f)(t).scrollLeft;return e?e.left+n:N(Object(R.c)(t)).left+n}function G(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-H(t,n),y:n.top+e.scrollTop}}function z(t,e,n){let i;if("viewport"===e)i=function(t,e){const n=Object(R.i)(t),i=Object(R.c)(t),o=n.visualViewport;let r=i.clientWidth,s=i.clientHeight,l=0,a=0;if(o){r=o.width,s=o.height;const t=Object(R.q)();(!t||t&&"fixed"===e)&&(l=o.offsetLeft,a=o.offsetTop)}const c=H(i);if(c<=0){const t=i.ownerDocument,e=t.body,n=getComputedStyle(e),o="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(i.clientWidth-e.clientWidth-o);s<=25&&(r-=s)}else c<=25&&(r+=c);return{width:r,height:s,x:l,y:a}}(t,n);else if("document"===e)i=function(t){const e=Object(R.c)(t),n=Object(R.f)(t),i=t.ownerDocument.body,o=l(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),r=l(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let s=-n.scrollLeft+H(t);const a=-n.scrollTop;return"rtl"===Object(R.a)(i).direction&&(s+=l(e.clientWidth,i.clientWidth)-o),{width:o,height:r,x:s,y:a}}(Object(R.c)(t));else if(Object(R.k)(e))i=function(t,e){const n=N(t,!0,"fixed"===e),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=Object(R.l)(t)?M(t):u(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:o*r.x,y:i*r.y}}(e,n);else{const n=V(t);
1i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return E(i)}function W(t,e){const n=Object(R.h)(t);return!(n===e||!Object(R.k)(n)||Object(R.m)(n))&&("fixed"===Object(R.a)(n).position||W(n,e))}function K(t,e,n){const i=Object(R.l)(e),o=Object(R.c)(e),r="fixed"===n,s=N(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const a=u(0);function c(){a.x=H(o)}if(i||!i&&!r)if(("body"!==Object(R.e)(e)||Object(R.n)(o))&&(l=Object(R.f)(e)),i){const t=N(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}else o&&c();r&&!i&&o&&c();const d=!o||i||r?u(0):G(o,l);return{x:s.left+l.scrollLeft-a.x-d.x,y:s.top+l.scrollTop-a.y-d.y,width:s.width,height:s.height}}function U(t){return"static"===Object(R.a)(t).position}function Z(t,e){if(!Object(R.l)(t)||"fixed"===Object(R.a)(t).position)return null;if(e)return e(t);let n=t.offsetParent;return Object(R.c)(t)===n&&(n=n.ownerDocument.body),n}function X(t,e){const n=Object(R.i)(t);if(Object(R.p)(t))return n;if(!Object(R.l)(t)){let e=Object(R.h)(t);for(;e&&!Object(R.m)(e);){if(Object(R.k)(e)&&!U(e))return e;e=Object(R.h)(e)}return n}let i=Z(t,e);for(;i&&Object(R.o)(i)&&U(i);)i=Z(i,e);return i&&Object(R.m)(i)&&U(i)&&!Object(R.j)(i)?n:i||Object(R.b)(t)||n}const Y={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t;const r="fixed"===o,s=Object(R.c)(i),l=!!e&&Object(R.p)(e.floating);if(i===s||l&&r)return n;let a={scrollLeft:0,scrollTop:0},c=u(1);const d=u(0),h=Object(R.l)(i);if((h||!h&&!r)&&(("body"!==Object(R.e)(i)||Object(R.n)(s))&&(a=Object(R.f)(i)),h)){const t=N(i);c=M(i),d.x=t.x+i.clientLeft,d.y=t.y+i.clientTop}const f=!s||h||r?u(0):G(s,a);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+d.x+f.x,y:n.y*c.y-a.scrollTop*c.y+d.y+f.y}},getDocumentElement:R.c,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t;const r=[..."clippingAncestors"===n?Object(R.p)(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let i=Object(R.g)(t,[],!1).filter(t=>Object(R.k)(t)&&"body"!==Object(R.e)(t)),o=null;const r="fixed"===Object(R.a)(t).position;let s=r?Object(R.h)(t):t;for(;Object(R.k)(s)&&!Object(R.m)(s);){const e=Object(R.a)(s),n=Object(R.j)(s);n||"fixed"!==e.position||(o=null);(r?!n&&!o:!n&&"static"===e.position&&!!o&&("absolute"===o.position||"fixed"===o.position)||Object(R.n)(s)&&!n&&W(t,s))?i=i.filter(t=>t!==s):o=e,s=Object(R.h)(s)}return e.set(t,i),i}(e,this._c):[].concat(n),i],a=z(e,r[0],o);let c=a.top,u=a.right,d=a.bottom,h=a.left;for(let t=1;t<r.length;t++){const n=z(e,r[t],o);c=l(n.top,c),u=s(n.right,u),d=s(n.bottom,d),h=l(n.left,h)}return{width:u-h,height:d-c,x:h,y:c}},getOffsetParent:X,getElementRects:async function(t){const e=this.getOffsetParent||X,n=this.getDimensions,i=await n(t.floating);return{reference:K(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=D(t);return{width:e,height:n}},getScale:M,isElement:R.k,isRTL:function(t){return"rtl"===Object(R.a)(t).direction}};function Q(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function J(t,e,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,h=F(t),f=o||r?[...h?Object(R.g)(h):[],...e?Object(R.g)(e):[]]:[];f.forEach(t=>{o&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)});const g=h&&u?function(t,e){let n,i=null;const o=Object(R.c)(t);function r(){var t;clearTimeout(n),null==(t=i)||t.disconnect(),i=null}return function a(u,d){void 0===u&&(u=!1),void 0===d&&(d=1),r();const h=t.getBoundingClientRect(),{left:f,top:g,width:p,height:m}=h;if(u||e(),!p||!m)return;const b={rootMargin:-c(g)+"px "+-c(o.clientWidth-(f+p))+"px "+-c(o.clientHeight-(g+m))+"px "+-c(f)+"px",threshold:l(0,s(1,d))||1};let y=!0;function v(e){const i=e[0].intersectionRatio;if(i!==d){if(!y)return a();i?a(!1,i):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==i||Q(h,t.getBoundingClientRect())||a(),y=!1}try{i=new IntersectionObserver(v,{...b,root:o.ownerDocument})}catch(t){i=new IntersectionObserver(v,b)}i.observe(t)}(!0),r}(h,n):null;let p,m=-1,b=null;a&&(b=new ResizeObserver(t=>{let[i]=t;i&&i.target===h&&b&&e&&(b.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var t;null==(t=b)||t.observe(e)})),n()}
vendor: 9,805 bytes, line 1
1),h&&!d&&b.observe(h),e&&b.observe(e));let y=d?N(t):null;return d&&function e(){const i=N(t);y&&!Q(y,i)&&n();y=i,p=requestAnimationFrame(e)}(),n(),()=>{var t;f.forEach(t=>{o&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)}),null==g||g(),null==(t=b)||t.disconnect(),b=null,d&&cancelAnimationFrame(p)}}const tt=B,et=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,i;const{x:o,y:r,placement:s,middlewareData:l}=e,a=await async function(t,e){const{placement:n,platform:i,elements:o}=t,r=await(null==i.isRTL?void 0:i.isRTL(o.floating)),s=g(n),l=p(n),a="y"===y(n),c=q.has(s)?-1:1,u=r&&a?-1:1,d=f(e,t);let{mainAxis:h,crossAxis:m,alignmentAxis:b}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof b&&(m="end"===l?-1*b:b),a?{x:m*u,y:h*c}:{x:h*c,y:m*u}}(e,t);return s===(null==(n=l.offset)?void 0:n.placement)&&null!=(i=l.arrow)&&i.alignmentOffset?{}:{x:o+a.x,y:r+a.y,data:{...a,placement:s}}}}},nt=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,i,o;const{rects:s,middlewareData:l,placement:a,platform:c,elements:u}=e,{crossAxis:d=!1,alignment:h,allowedPlacements:m=r,autoAlignment:b=!0,...y}=f(t,e),v=void 0!==h||m===r?function(t,e,n){return(t?[...n.filter(e=>p(e)===t),...n.filter(e=>p(e)!==t)]:n.filter(t=>g(t)===t)).filter(n=>!t||(p(n)===t||!!e&&w(n)!==n))}(h||null,b,m):m,O=await c.detectOverflow(e,y),S=(null==(n=l.autoPlacement)?void 0:n.index)||0,I=v[S];if(null==I)return{};const T=x(I,s,await(null==c.isRTL?void 0:c.isRTL(u.floating)));if(a!==I)return{reset:{placement:v[0]}};const C=[O[g(I)],O[T[0]],O[T[1]]],j=[...(null==(i=l.autoPlacement)?void 0:i.overflows)||[],{placement:I,overflows:C}],_=v[S+1];if(_)return{data:{index:S+1,overflows:j},reset:{placement:_}};const E=j.map(t=>{const e=p(t.placement);return[t.placement,e&&d?t.overflows.slice(0,2).reduce((t,e)=>t+e,0):t.overflows[0],t.overflows]}).sort((t,e)=>t[1]-e[1]),L=(null==(o=E.filter(t=>t[2].slice(0,p(t[0])?2:3).every(t=>t<=0))[0])?void 0:o[0])||E[0][0];return L!==a?{data:{index:S+1,overflows:j},reset:{placement:L}}:{}}}},it=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:i,placement:o,platform:r}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=f(t,e),u={x:n,y:i},d=await r.detectOverflow(e,c),p=y(g(o)),b=m(p);let v=u[b],x=u[p];if(s){const t="y"===b?"bottom":"right";v=h(v+d["y"===b?"top":"left"],v,v-d[t])}if(l){const t="y"===p?"bottom":"right";x=h(x+d["y"===p?"top":"left"],x,x-d[t])}const w=a.fn({...e,[b]:v,[p]:x});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[b]:s,[p]:l}}}}}},ot=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i;const{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:b=!0,...v}=f(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const O=g(o),S=y(l),I=g(l)===l,T=await(null==a.isRTL?void 0:a.isRTL(c.floating)),_=h||(I||!b?[j(l)]:function(t){const e=j(t);return[w(t),e,w(e)]}(l)),E="none"!==m;!h&&E&&_.push(...C(l,b,m,T));const L=[l,..._],B=await a.detectOverflow(e,v),A=[];let k=(null==(i=r.flip)?void 0:i.overflows)||[];if(u&&A.push(B[O]),d){const t=x(o,s,T);A.push(B[t[0]],B[t[1]])}if(k=[...k,{placement:o,overflows:A}],!A.every(t=>t<=0)){var $,q;const t=((null==($=r.flip)?void 0:$.index)||0)+1,e=L[t];if(e){if(!("alignment"===d&&S!==y(e))||k.every(t=>y(t.placement)!==S||t.overflows[0]>0))return{data:{index:t,overflows:k},reset:{placement:e}}}let n=null==(q=k.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:q.placement;if(!n)switch(p){case"bestFit":{var R;const t=null==(R=k.filter(t=>{if(E){const e=y(t.placement);return e===S||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:R[0];t&&(n=t);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}},rt=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){var n,i;const{placement:o,rects:r,platform:a,elements:c}=e,{apply:u=(()=>{}),...d}=f(t,e),h=await a.detectOverflow(e,d),m=g(o),b=p(o),v="y"===y(o),{width:x,height:w}=r.floating;let O,S;"top"===m||"bottom"===m?(O=m,S=b===(await(null==a.isRTL?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(S=m,O="end"===b?"top":"bottom");const I=w-h.top-h.bottom,T=x-h.left-h.right,C=s(w-h[O],I),j=s(x-h[S],T),_=!e.middlewareData.shift;let E=C,L=j;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(L=T),null!=(i=e.middlewareData.shift)&&i.enabled.y&&(E=I),_&&!b){const t=l(h.left,0),e=l(h.right,0),n=l(h.top,0),i=l(h.bottom,0);v?L=x-2*(0!==t||0!==e?t+e:l(h.left,h.right)):E=w-2*(0!==n||0!==i?n+i:l(h.top,h.bottom))}await u({...e,availableWidth:L,availableHeight:E});const B=await a.getDimensions(c.floating);return x!==B.width||w!==B.height?{reset:{rects:!0}}:{}}}},st=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:i}=e,{strategy:o="referenceHidden",...r}=f(t,e);switch(o){case"referenceHidden":{const t=A(await i.detectOverflow(e,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:k(t)}}}case"escaped":{const t=A(await i.detectOverflow(e,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:t,escaped:k(t)}}}default:return{}}}}},lt=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:i,placement:o,rects:r,platform:l,elements:a,middlewareData:c}=e,{element:u,padding:d=0}=f(t,e)||{};if(null==u)return{};const g=_(d),m={x:n,y:i},y=v(o),x=b(y),w=await l.getDimensions(u),O="y"===y,S=O?"top":"left",I=O?"bottom":"right",T=O?"clientHeight":"clientWidth",C=r.reference[x]+r.reference[y]-m[y]-r.floating[x],j=m[y]-r.reference[y],E=await(null==l.getOffsetParent?void 0:l.getOffsetParent(u));let L=E?E[T]:0;L&&await(null==l.isElement?void 0:l.isElement(E))||(L=a.floating[T]||r.floating[x]);const B=C/2-j/2,A=L/2-w[x]/2-1,k=s(g[S],A),$=s(g[I],A),q=k,R=L-w[x]-$,D=L/2-w[x]/2+B,F=h(q,D,R),M=!c.arrow&&null!=p(o)&&D!==F&&r.reference[x]/2-(D<q?k:$)-w[x]/2<0,P=M?D<q?D-q:D-R:0;return{[y]:m[y]+P,data:{[y]:F,centerOffset:D-F-P,...M&&{alignmentOffset:P}},reset:M}}}),at=function(t){return void 0===t&&(t={}),{name:"inline",options:t,async fn(e){const{placement:n,elements:i,rects:o,platform:r,strategy:a}=e,{padding:c=2,x:u,y:d}=f(t,e),h=Array.from(await(null==r.getClientRects?void 0:r.getClientRects(i.reference))||[]),p=function(t){const e=t.slice().sort((t,e)=>t.y-e.y),n=[];let i=null;for(let t=0;t<e.length;t++){const o=e[t];!i||o.y-i.y>i.height/2?n.push([o]):n[n.length-1].push(o),i=o}return n.map(t=>E($(t)))}(h),m=E($(h)),b=_(c);const v=await r.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=u&&null!=d)return p.find(t=>u>t.left-b.left&&u<t.right+b.right&&d>t.top-b.top&&d<t.bottom+b.bottom)||m;if(p.length>=2){if("y"===y(n)){const t=p[0],e=p[p.length-1],i="top"===g(n),o=t.top,r=e.bottom,s=i?t.left:e.left,l=i?t.right:e.right;return{top:o,bottom:r,left:s,right:l,width:l-s,height:r-o,x:s,y:o}}const t="left"===g(n),e=l(...p.map(t=>t.right)),i=s(...p.map(t=>t.left)),o=p.filter(n=>t?n.left===i:n.right===e),r=o[0].top,a=o[o.length-1].bottom;return{top:r,bottom:a,left:i,right:e,width:e-i,height:a-r,x:i,y:r}}return m}},floating:i.floating,strategy:a});return o.reference.x!==v.reference.x||o.reference.y!==v.reference.y||o.reference.width!==v.reference.width||o.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}},ct=function(t){return void 0===t&&(t={}),{options:t,fn(e){const{x:n,y:i,placement:o,rects:r,middlewareData:s}=e,{offset:l=0,mainAxis:a=!0,crossAxis:c=!0}=f(t,e),u={x:n,y:i},d=y(o),h=m(d);let p=u[h],b=u[d];const v=f(l,e),x="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(a){const t="y"===h?"height":"width",e=r.reference[h]-r.floating[t]+x.mainAxis,n=r.reference[h]+r.reference[t]-x.mainAxis;p<e?p=e:p>n&&(p=n)}if(c){var w,O;const t="y"===h?"width":"height",e=q.has(g(o)),n=r.reference[d]-r.floating[t]+(e&&(null==(w=s.offset)?void 0:w[d])||0)+(e?0:x.crossAxis),i=r.reference[d]+r.reference[t]+(e?0:(null==(O=s.offset)?void 0:O[d])||0)-(e?x.crossAxis:0);b<n?b=n:b>i&&(b=i)}return{[h]:p,[d]:b}}}},ut=(t,e,n)=>{const i=new Map,o={platform:Y,...n},r={...o.platform,_c:i};return(async(t,e,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:{...s,detectOverflow:B},a=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:d}=L(c,i,a),h=i,f=0;const g={};for(let n=0;n<r.length;n++){const p=r[n];if(!p)continue;const{name:m,fn:b}=p,{x:y,y:v,data:x,reset:w}=await b({x:u,y:d,initialPlacement:i,placement:h,strategy:o,middlewareData:g,rects:c,platform:l,elements:{reference:t,floating:e}});u=null!=y?y:u,d=null!=v?v:d,g[m]={...g[m],...x},w&&f<50&&(f++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(c=!0===w.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):w.rects),({x:u,y:d}=L(c,h,a))),n=-1)}return{x:u,y:d,placement:h,strategy:o,middlewareData:g}})(t,e,{...o,platform:r})}},XGVf:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n("Tznw"),n("IYH6"),n("6yen"),n("OeRx"),n("l/dT"),n("RqS2"),n("Zy7a"),n("cjZU"),n("OAhk"),n("X42P"),n("mHhP"),n("fn0I"),n("UB/6"),n("imhG"),n("dHQd"),n("yoDG"),n("KeS/"),n("tWNI"),n("8d6S"),n("VwWG"),n("IYHS"),n("rIA9"),n("MViX"),n("zglm"),n("GDOA"),n("hlbI"),n("a0mT"),n("u3H1"),n("ta8/"),n("IKCR"),n("nmTw"),n("W2kU"),n("58fc"),n("7dtT"),n("Rhav"),n("uhEP"),n("ep
1pl"),n("ZzK0"),n("z6RN"),n("BzOf"),n("LdIe"),n("PTOk"),n("UezY"),n("hG7+");const i=new Map,o=new Set;let r=null;const s=function(t){i.forEach((function({callback:e,eventTypes:n},i){const o="click"===t.type&&r||t;if(!i.contains(o.target)&&n.includes(t.type))try{e(t)}catch(t){0}})),"click"===t.type&&(r=null)},l=function(t){r=t};const a={bind:function(t,e){const{callback:n,eventTypes:a}=function({arg:t,value:e,modifiers:n}){const i=Object.keys(n);return{callback:e,eventTypes:i.length>0?i:["click"]}}(e);i.has(t)||(i.set(t,{callback:n,eventTypes:a}),function(t){t.forEach((function(t){o.has(t)||("click"===t&&document.addEventListener("mousedown",l),document.addEventListener(t,s,{capture:!0}),o.add(t))})),r=null}(a))},unbind:function(t){const e=i.get(t);var n;e&&(i.delete(t),(n=e.eventTypes).forEach((function(t){o.has(t)&&[...i.values()].every((function({eventTypes:e}){return!e.includes(t)}))&&(document.removeEventListener(t,s),o.delete(t))})),n.includes("click")&&!o.has("click")&&document.removeEventListener("mousedown",l))}}},b1NL:function(t,e,n){"use strict";var i=n("ho4C"),o=n("MlQp"),r=n("WrwP"),s=n("q3oM"),l=n("RK7s"),a=n("mpVB"),c=n("XGVf"),u=n("CbCZ"),d=n("d85j"),h=n("onSc"),f={props:{positioningStrategy:{type:String,required:!1,default:l.l,validator:function(t){return[l.l,l.m].includes(t)}}},render(t){return this.positioningStrategy===l.m?t(h.MountingPortal,{props:{mountTo:"body",append:!0}},[this.$scopedSlots.default()]):this.$scopedSlots.default()}},g=n("7Q0w");var p={name:"BaseDropdown",expose:["open","close","closeAndFocus","containsElement"],BASE_DROPDOWN_CLASS:"gl-new-dropdown",DROPDOWN_CONTAINER_CLASS:"gl-new-dropdown-container",components:{DropdownContainer:f,GlButton:u.a,GlIcon:d.a},directives:{Outside:c.a},inject:{getFormGroupInstance:{default:function(){return function(){}}}},props:{toggleText:{type:String,required:!1,default:""},textSrOnly:{type:Boolean,required:!1,default:!1},block:{type:Boolean,required:!1,default:!1},category:{type:String,required:!1,default:s.q.primary,validator:function(t){return Object.keys(s.q).includes(t)}},variant:{type:String,required:!1,default:s.z.default,validator:function(t){return Object.keys(s.z).includes(t)}},size:{type:String,required:!1,default:"medium",validator:function(t){return Object.keys(s.r).includes(t)}},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},state:{type:Boolean,required:!1,default:null},placement:{type:String,required:!1,default:"bottom-start",validator:function(t){return["left","center","right"].includes(t)&&Object(a.i)(`"${t}" placement is deprecated. Use ${s.y[t]} instead.`,{name:"GlDisclosureDropdown/GlCollapsibleListbox"}),Object.keys(s.y).includes(t)}},ariaHaspopup:{type:[String,Boolean],required:!1,default:!1,validator:function(t){return["menu","listbox","tree","grid","dialog",!0,!1].includes(t)}},activeItemId:{type:String,required:!1,default:void 0},hasExternalLabel:{type:Boolean,required:!1,default:!1},hasSearchableListbox:{type:Boolean,required:!1,default:!1},isDisclosure:{type:Boolean,required:!1,default:!1},toggleId:{type:String,required:!0},listboxId:{type:String,required:!1,default:void 0},ariaLabelledby:{type:String,required:!1,default:null},ariaLabel:{type:String,required:!1,default:null},offset:{type:[Number,Object],required:!1,default:function(){return{mainAxis:g.b}}},fluidWidth:{type:Boolean,required:!1,default:!1},panelMatchTriggerWidth:{type:Boolean,required:!1,default:!1},positioningStrategy:{type:String,required:!1,default:l.l,validator:function(t){return[l.l,l.m].includes(t)}}},data:()=>({openedYet:!1,visible:!1,baseDropdownId:Object(i.a)("base-dropdown-")}),computed:{ariaActiveDescendant(){if(!this.isDisclosure&&this.visible)return this.activeItemId},hasNoVisibleToggleText(){var t;return!(null!==(t=this.toggleText)&&void 0!==t&&t.length)||this.textSrOnly},isIconOnly(){return Boolean(this.icon&&this.hasNoVisibleToggleText)},isEllipsisButton(){return this.isIconOnly&&"ellipsis_h"===this.icon},isCaretOnly(){return!this.noCaret&&!this.icon&&this.hasNoVisibleToggleText},computedState(){return Object(o.a)(this.state)?this.state:null},stateClass(){return!0===this.computedState?"is-valid":!1===this.computedState?"is-invalid":null},isDefaultToggle(){return!this.$scopedSlots.toggle},isToggleCombobox(){return!this.hasSearchableListbox&&!this.isDisclosure},isToggleLabelledExternally(){return!(!this.hasExternalLabel||!this.toggleId)},computedToggleId(){return this.isDisclosure||this.isToggleLabelledExternally?this.isDefaultToggle?this.toggleId:void 0:this.hasSearchableListbox?this.toggleId:void 0},computedToggleInnerId(){return this.isToggleCombobox&&!this.isToggleLabelledExternally?this.toggleId:this.isToggleCombobox&&this.isToggleLabelledExternally?this.listboxId:void 0},toggleAriaAttributes(){return{"aria-controls":this.baseDropdownId,"aria-expanded":String(this.visible),"aria-haspopup":this.ariaHaspopup,"aria-labelledby":this.toggleLabelledBy,"aria-label":this.ariaLabel||void 0,"aria-activedescendant":this.ariaActiveDescendant}}
1,toggleButtonClasses(){return[this.toggleClass,{"gl-new-dropdown-toggle":!0,"button-ellipsis-horizontal":this.isEllipsisButton,"gl-new-dropdown-icon-only btn-icon":this.isIconOnly&&!this.isEllipsisButton,"gl-new-dropdown-toggle-no-caret":this.noCaret,"gl-new-dropdown-caret-only btn-icon":this.isCaretOnly},this.stateClass]},toggleButtonTextClasses(){return this.block?"gl-w-full":""},toggleLabelledBy(){var t;const e=null===(t=this.getFormGroupInstance())||void 0===t?void 0:t.labelId;return this.isToggleCombobox?this.ariaLabelledby?""+this.ariaLabelledby:e?`${e} ${this.toggleId}`:this.toggleId:this.isToggleCombobox?void 0:this.ariaLabelledby?`${this.ariaLabelledby} ${this.toggleId}`:e?`${e} ${this.toggleId}`:void 0},toggleRole(){if(this.isToggleCombobox)return"combobox"},toggleAccessibilityAttributes(){return{...this.toggleAriaAttributes,id:this.toggleId,role:this.toggleRole}},toggleOptions(){var t=this;return this.isDefaultToggle?{is:u.a,icon:this.icon,block:this.block,buttonTextClasses:this.toggleButtonTextClasses,category:this.category,variant:this.variant,size:this.size,disabled:this.disabled,loading:this.loading,class:this.toggleButtonClasses,role:this.toggleRole,...this.toggleAriaAttributes,listeners:{keydown:function(e){return t.onKeydown(e)},click:function(e){return t.toggle(e)}}}:{is:"div",class:"gl-new-dropdown-custom-toggle",listeners:{keydown:function(e){return t.onKeydown(e)},click:function(e){return t.toggle(e)}}}},toggleListeners(){return this.toggleOptions.listeners},toggleAttributes(){const{listeners:t,is:e,...n}=this.toggleOptions;return n},toggleComponent(){return this.toggleOptions.is},toggleElement(){var t;return this.$refs.toggle.$el||(null===(t=this.$refs.toggle)||void 0===t?void 0:t.firstElementChild)},panelClasses(){return{"!gl-block":this.visible,[g.c]:!this.fluidWidth&&!this.panelMatchTriggerWidth,"gl-new-dropdown-panel-fluid-width":this.fluidWidth&&!this.panelMatchTriggerWidth,"gl-fixed":this.openedYet&&this.isFixed,"gl-absolute":this.openedYet&&!this.isFixed}},isFixed(){return this.positioningStrategy===l.m},floatingUIConfig(){var t=this;const e=s.y[this.placement],[,n]=e.split("-");return{placement:e,strategy:this.positioningStrategy,middleware:[Object(r.offset)(this.offset),Object(r.autoPlacement)({alignment:n,allowedPlacements:s.w[this.placement]}),Object(r.shift)(),Object(r.arrow)({element:this.$refs.dropdownArrow}),Object(r.size)({apply:function({availableWidth:e,availableHeight:n,elements:i}){var o;const r=i.floating.querySelector("."+l.f);if(!r)return;const s=n-(null!==(o=t.nonScrollableContentHeight)&&void 0!==o?o:0)-g.b,a=t.fluidWidth?{maxWidth:Math.max(0,e)+"px"}:{},c=t.panelMatchTriggerWidth?{minWidth:t.toggleElement.getBoundingClientRect().width+"px"}:{};Object.assign(r.style,{maxHeight:Math.max(s,0)+"px"},a,c)}})]}}},mounted(){this.checkToggleFocusable()},beforeDestroy(){this.stopFloating()},methods:{checkToggleFocusable(){Object(a.g)(this.toggleElement)||Object(a.h)(this.toggleElement)||Object(a.i)("Toggle is missing a 'tabindex' and cannot be focused.\n          Use 'a' or 'button' element instead or make sure to add 'role=\"button\"' along with 'tabindex' otherwise.",{name:"GlDisclosureDropdown/GlCollapsibleListbox",element:this.$el})},getArrowOffsets(t){const e={top:{staticSide:"bottom",rotation:"225deg"},bottom:{staticSide:"top",rotation:"45deg"},left:{staticSide:"right",rotation:"135deg"},right:{staticSide:"left",rotation:"315deg"}};return e[null==t?void 0:t.split("-")[0]]||e.bottom},async startFloating(){var t=this;this.calculateNonScrollableAreaHeight(),this.observer=new MutationObserver(this.calculateNonScrollableAreaHeight),this.observer.observe(this.$refs.content,{childList:!0,subtree:!0}),this.stopAutoUpdate=Object(r.autoUpdate)(this.toggleElement,this.$refs.content,(async function(){const e=await Object(r.computePosition)(t.toggleElement,t.$refs.content,t.floatingUIConfig);if(!t.$refs.content)return;const{x:n,y:i,middlewareData:o,placement:s}=e,{rotation:l,staticSide:a}=t.getArrowOffsets(s);if(Object.assign(t.$refs.content.style,{left:n+"px",top:i+"px"}),o&&o.arrow){const{x:e,y:n}=o.arrow,i=t.toggleElement.getBoundingClientRect(),r=t.$refs.content.getBoundingClientRect(),s=i.width>r.width?Math.min(Math.max(e,g.a),r.width-g.a):e;Object.assign(t.$refs.dropdownArrow.style,{left:null!=e?s+"px":"",top:null!=n?n+"px":"",right:"",bottom:"",[a]:"-4px",transform:`rotate(${l})`})}}))},stopFloating(){var t,e;null===(t=this.observer)||void 0===t||t.disconnect(),null===(e=this.stopAutoUpdate)||void 0===e||e.call(this)},async toggle(t){if(t&&this.visible){let e=!1;if(this.$emit(l.e,{originalEvent:t,preventDefault(){e=!0}}),e)return!1}return this.visible=!this.visible,this.visible?(await this.$nextTick(),this.openedYet=!0,this.startFloating(),this.$emit(l.i)):(this.stopFloating(),this.$emit(l.h,t)),!0},open(){this.visible||this.toggle()},close(t){this.visible&&this.toggle(t)},clickedToggle(t){var e,n,i,o;return(null===(e=(n=this.$refs.toggle).contains)||void 0===e?void 0:e.call(n,t.target))||(null===(i=this.$refs.toggle.$el)||void 0===i||null===(o=i.contains)||void 0===o?void 0:o.call(i,t.target))},handleClickOutside(t){this.clickedToggle(t)||this.close(t)},async closeAndFocus(t){if(!this.visible)return;const e=this.$el.contains(document.activeElement),n=await this.toggle(t);e&&n&&this.focusToggle()},focusToggle(){this.toggleElement.focus()},onKeydown(t){const{keyCode:e,code:n,target:{tagName:i}}=t;if(e===l.k&&this.visible)return Object(a.k)(t),void this.close();let o=!0,r=!0;"BUTTON"===i?(o=!1,r=!1):"A"===i&&(o=!1),(n===l.d&&o||n===l.n&&r)&&this.toggle(t),n===l.a&&this.$emit(l.g,t)},calculateNonScrollableAreaHeight(){var t;const e=null===(t=this.$refs.content)||void 0===t?void 0:t.querySelector("."+l.f);if(!e)return;const n=this.$refs.content.getBoundingClientRect(),i=e.getBoundingClientRect();this.nonScrollableContentHeight=n.height-i.height},containsElement(t){return t.closest(".gl-new-dropdown")===this.$el||t.closest(".gl-new-dropdown-container")===this.$refs.dropdownContainer}}
1},m=n("tBpV"),b=Object(m.a)(p,(function(){var t=this,e=t._self._c;return e("div",{class:[t.$options.BASE_DROPDOWN_CLASS,{"!gl-block":t.block}]},[e(t.toggleComponent,t._g(t._b({ref:"toggle",tag:"component",attrs:{id:t.computedToggleId,"data-testid":"base-dropdown-toggle"}},"component",t.toggleAttributes,!1),t.toggleListeners),[t._t("toggle",(function(){return[e("span",{staticClass:"gl-new-dropdown-button-text",class:{"gl-sr-only":t.textSrOnly},attrs:{id:t.computedToggleInnerId,"data-testid":"base-dropdown-span"}},[t._v("\n        "+t._s(t.toggleText)+"\n      ")]),t._v(" "),t.noCaret?t._e():e("gl-icon",{staticClass:"gl-button-icon gl-new-dropdown-chevron",attrs:{name:"chevron-down"}})]}),{accessibilityAttributes:t.toggleAccessibilityAttributes})],2),t._v(" "),e("dropdown-container",{attrs:{"positioning-strategy":t.positioningStrategy}},[e("div",{directives:[{name:"outside",rawName:"v-outside.click.focusin",value:t.handleClickOutside,expression:"handleClickOutside",modifiers:{click:!0,focusin:!0}}],ref:"dropdownContainer",class:t.$options.DROPDOWN_CONTAINER_CLASS},[e("div",{ref:"content",staticClass:"gl-new-dropdown-panel",class:t.panelClasses,attrs:{id:t.baseDropdownId,"data-testid":"base-dropdown-menu"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:(e.stopPropagation(),e.preventDefault(),t.closeAndFocus.apply(null,arguments))}}},[e("div",{ref:"dropdownArrow",staticClass:"gl-new-dropdown-arrow"}),t._v(" "),e("div",{staticClass:"gl-new-dropdown-inner"},[t._t("default",null,{visible:t.visible})],2)])])])],1)}),[],!1,null,null,null);e.a=b.exports},gFTu:function(t,e,n){"use strict";n("ZzK0"),n("z6RN"),n("BzOf");var i=n("RTFG");const o=Object(i.a)((function(t){return new IntersectionObserver((function(t){t.forEach((function(t){t.target.$_gl_intersectionHandler(t)}))}),t||{})}));var r={name:"GlIntersectionObserver",props:{options:{type:Object,required:!1,default:null}},mounted(){var t=this;const e=o(this.options);this.$el.$_gl_intersectionHandler=function(e){t.$emit("update",e),e.isIntersecting?t.$emit("appear"):t.$emit("disappear")},this.$el.$_gl_intersectionObserver=e,e.observe(this.$el)},destroyed(){this.$el.$_gl_intersectionObserver.unobserve(this.$el),delete this.$el.$_gl_intersectionHandler,delete this.$el.$_gl_intersectionObserver},getObserver:o},s=n("tBpV"),l=Object(s.a)(r,(function(){return(0,this._self._c)("div",[this._t("default")],2)}),[],!1,null,null,null);e.a=l.exports},lOo6:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));n("byxs"),n("B++/"),n("z6RN"),n("47t/");var i=n("ewH8"),o=n("NmEs"),r=n("93nq"),s=n("Jx7q"),l=n("/lV4"),a=n("qLpH");const c=Object(l.a)("Help translate to your language"),u=Object(a.a)("/development/i18n/translation.md");var d={name:"LanguageSwitcherApp",components:{GlCollapsibleListbox:r.a,GlLink:s.a},inject:{locales:{default:[]},preferredLocale:{default:{value:"en",text:"English"}}},data(){return{selected:this.preferredLocale.value}},methods:{onLanguageSelected(t){Object(o.M)("preferred_language",t),window.location.reload()},itemTestSelector:t=>"language_switcher_lang_"+t,itemLangAttribute:t=>t.replace(/_/g,"-")},HELP_TRANSLATE_MSG:c,HELP_TRANSLATE_HREF:u},h=n("tBpV"),f=Object(h.a)(d,(function(){var t=this,e=t._self._c;return e("gl-collapsible-listbox",{attrs:{"toggle-text":t.preferredLocale.text,items:t.locales,category:"tertiary",placement:"bottom-end",icon:"earth",size:"small","toggle-class":"!gl-py-0 gl-h-6"},on:{select:t.onLanguageSelected},scopedSlots:t._u([{key:"list-item",fn:function({item:n}){return[e("span",{attrs:{lang:t.itemLangAttribute(n.value),"data-testid":t.itemTestSelector(n.value)}},[t._v("\n      "+t._s(n.text)+"\n    ")])]}},{key:"footer",fn:function(){return[e("div",{staticClass:"gl-flex gl-justify-center gl-border-t-1 gl-border-t-default gl-p-3 gl-border-t-solid",attrs:{"data-testid":"footer"}},[e("gl-link",{attrs:{href:t.$options.HELP_TRANSLATE_HREF}},[t._v(t._s(t.$options.HELP_TRANSLATE_MSG))])],1)]},proxy:!0}]),model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}})}),[],!1,null,null,null).exports;const g=function(){const t=document.querySelector(".js-language-switcher");if(!t)return!1;const e=JSON.parse(t.dataset.locales),n=Object(o.j)("preferred_language"),r=e.find((function(t){return t.value===n})),s={locales:e};return r&&(s.preferredLocale=r),new i.default({el:t,name:"LanguageSwitcherRoot",provide:s,render:t=>t(f)})}},onSc:function(t,e,n){"use strict";
2/*! 
3  * portal-vue © Thorsten Lünborg, 2019 
4  * 
5  * Version: 2.1.7
6  * 
7  * LICENCE: MIT 
8  * 
9  * https://github.com/linusborg/portal-vue
10  * 
vendor: 4,293 bytes, line 11
11 */Object.defineProperty(e,"__esModule",{value:!0});var i,o=(i=n("ewH8"))&&"object"==typeof i&&"default"in i?i.default:i;function r(t){return(r="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 l="undefined"!=typeof window;function a(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var c={},u={},d={},h=new(o.extend({data:function(){return{transports:c,targets:u,sources:d,trackInstances:l}},methods:{open:function(t){if(l){var e=t.to,n=t.from,i=t.passengers,s=t.order,a=void 0===s?1/0:s;if(e&&n&&i){var c,u={to:e,from:n,passengers:(c=i,Array.isArray(c)||"object"===r(c)?Object.freeze(c):c),order:a};-1===Object.keys(this.transports).indexOf(e)&&o.set(this.transports,e,[]);var d,h=this.$_getTransportIndex(u),f=this.transports[e].slice(0);-1===h?f.push(u):f[h]=u,this.transports[e]=(d=function(t,e){return t.order-e.order},f.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 o=this.$_getTransportIndex(t);if(o>=0){var r=this.transports[n].slice(0);r.splice(o,1),this.transports[n]=r}}},registerTarget:function(t,e,n){l&&(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){l&&(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),f=1,g=o.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(f++)}},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"})}}),p=o.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]}}
11,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],o="function"==typeof i?i(e):n.passengers;return t.concat(o)}),[])}(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)}}),m=0,b=["disabled","name","order","slim","slotProps","tag","to"],y=["multiple","transition"],v=o.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(m++)}},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",o=document.createElement(i);t.appendChild(o),t=o}var r=a(this.$props,y);r.slim=this.targetSlim,r.tag=this.targetTag,r.slotProps=this.targetSlotProps,r.name=this.to,this.portalTarget=new p({el:t,parent:this.$parent||this,propsData:r})}}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=a(this.$props,b);return t(g,{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 x={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",g),t.component(e.portalTargetName||"PortalTarget",p),t.component(e.MountingPortalName||"MountingPortal",v)}};e.default=x,e.Portal=g,e.PortalTarget=p,e.MountingPortal=v,e.Wormhole=h},pqEc:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));n("ZzK0"),n("z6RN"),n("BzOf");var i=n("N6Fp"),o=n("/lV4"),r=n("KXtm");class s extends r.a{constructor(t={}){var e;super(),e=this;const n=t.container||"";this.noEmojiEmelents=document.querySelectorAll(n+" .js-block-emoji"),this.noEmojiEmelents.forEach((function(t){return t.addEventListener("input",e.eventHandler.bind(e))}))}eventHandler(t){this.inputDomElement=t.target,this.inputErrorMessage=this.inputDomElement.nextSibling;const{value:e}=this.inputDomElement;this.errorMessage=Object(o.a)("Invalid input, please avoid emoji"),this.validatePattern(e),this.setValidationStateAndMessage()}validatePattern(t){const e=Object(i.a)();
11this.invalidInput=new RegExp(e).test(t)}}},vx36:function(t,e,n){"use strict";var i=n("d85j"),o=n("RK7s"),r=n("mpVB"),s={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},isHighlighted:{type:Boolean,default:!1,required:!1},isDisabled:{type:Boolean,default:!1,required:!1}},computed:{checkedClasses(){return this.isCheckCentered?"":"gl-mt-3 gl-self-start"}},methods:{onMousedown(t){this.isDisabled&&Object(r.k)(t)},toggleSelection(){this.isDisabled||this.$emit("select",!this.isSelected)},onKeydown(t){const{code:e}=t;e!==o.d&&e!==o.n||(Object(r.k)(t),this.toggleSelection())}}},l=n("tBpV"),a=Object(l.a)(s,(function(){var t=this,e=t._self._c;return e("li",{class:["gl-new-dropdown-item",{"gl-new-dropdown-item-highlighted":t.isHighlighted,disabled:t.isDisabled}],attrs:{role:"option",tabindex:t.isFocused?0:-1,"aria-selected":t.isSelected,"aria-disabled":t.isDisabled},on:{mousedown:t.onMousedown,click:t.toggleSelection,keydown:t.onKeydown}},[e("span",{staticClass:"gl-new-dropdown-item-content"},[e("gl-icon",{class:["gl-new-dropdown-item-check-icon",{"gl-invisible":!t.isSelected},t.checkedClasses],attrs:{name:"check","data-testid":"dropdown-item-checkbox"}}),t._v(" "),e("span",{staticClass:"gl-new-dropdown-item-text-wrapper"},[t._t("default")],2)],1)])}),[],!1,null,null,null);e.a=a.exports},wDRK:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));n("ZzK0"),n("z6RN"),n("BzOf");var i=n("ewH8"),o=n("NmEs"),r=n("59b1"),s=n("zt6T");const l=function(){document.querySelectorAll(".js-password").forEach((function(t){if(!t)return null;const{form:e}=t,{title:n,id:l,minimumPasswordLength:a,testid:c,trackActionForErrors:u,required:d,autocomplete:h,name:f,disabled:g}=t.dataset,p=!d||Object(o.G)(d),m=!!g&&Object(o.G)(g);return new i.default({el:t,name:"PasswordInputRoot",render:t=>t(s.a,{props:{title:n,id:l,minimumPasswordLength:a,testid:c,trackActionForErrors:u,autocomplete:h,name:f,required:p,disabled:m}})}),new r.a(e)}))}},zt6T:function(t,e,n){"use strict";var i=n("hvGG"),o=n("CbCZ"),r=n("zIFf"),s=n("/lV4");const l=Object(s.a)("Show password"),a=Object(s.a)("Hide password");var c={name:"PasswordInput",components:{GlFormInput:i.a,GlButton:o.a},directives:{GlTooltip:r.a},props:{title:{type:String,required:!1,default:null},id:{type:String,required:!1,default:null},minimumPasswordLength:{type:String,required:!1,default:null},testid:{type:String,required:!1,default:null},trackActionForErrors:{type:String,required:!1,default:null},autocomplete:{type:String,required:!1,default:"current-password"},autofocus:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!0},name:{type:String,required:!0},disabled:{type:Boolean,required:!1,default:!1},state:{type:Boolean,required:!1,default:null},value:{type:String,required:!1,default:null}},data:()=>({isMasked:!0}),computed:{type(){return this.isMasked?"password":"text"},toggleVisibilityLabel(){return this.isMasked?l:a},toggleVisibilityIcon(){return this.isMasked?"eye":"eye-slash"}},methods:{handleToggleVisibilityButtonClick(){this.isMasked=!this.isMasked}}},u=n("LPAU"),d=n.n(u),h=n("FooD"),f=n.n(h),g={insert:"head",singleton:!1},p=(d()(f.a,g),f.a.locals,n("tBpV")),m=Object(p.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"gl-field-error-anchor gl-relative"},[e("gl-form-input",t._g({staticClass:"js-password-complexity-validation js-track-error !gl-pr-8",attrs:{id:t.id,value:t.value,required:t.required,autocomplete:t.autocomplete,autofocus:t.autofocus,name:t.name,minlength:t.minimumPasswordLength,"data-testid":t.testid,"data-track-action-for-errors":t.trackActionForErrors,title:t.title,type:t.type,disabled:t.disabled,state:t.state}},t.$listeners)),t._v(" "),e("gl-button",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip",value:t.toggleVisibilityLabel,expression:"toggleVisibilityLabel"}],staticClass:"gl-absolute gl-right-0 gl-top-0",attrs:{category:"tertiary","aria-label":t.toggleVisibilityLabel,icon:t.toggleVisibilityIcon,disabled:t.disabled},on:{click:t.handleToggleVisibilityButtonClick}})],1)}),[],!1,null,"91c2358c",null);e.a=m.exports}}]);
12//# sourceMappingURL=commons-pages.registrations.new-pages.sessions.new.431bb883.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.