(this.webpackJsonp=this.webpackJsonp||[]).push([[209],{AiXD:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n("3UXl"),n("iyoE");var i=n("3twG");function a(e,t,n=function(){}){return e.map((function(e){return{sha:e.commit.id,message:e.commit.message,titleHtml:e.commit_title_html,committedDate:e.commit.committed_date,commitPath:e.commit_path,fileName:e.file_name,filePath:Object(i.A)(t,e.file_name),__typename:"LogTreeCommit",...n(e)}}))}},LPAU:function(e,t,n){"use strict";var i,a=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function l(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},i=[],a=0;a<e.length;a++){var r=e[a],s=t.base?r[0]+t.base:r[0],d=n[s]||0,c="".concat(s," ").concat(d);n[s]=d+1;var u=l(c),p={css:r[1],media:r[2],sourceMap:r[3]};-1!==u?(o[u].references++,o[u].updater(p)):o.push({identifier:c,updater:v(p,t),references:1}),i.push(c)}return i}function d(e){var t=document.createElement("style"),i=e.attributes||{};if(void 0===i.nonce){var a=n.nc;a&&(i.nonce=a)}if(Object.keys(i).forEach((function(e){t.setAttribute(e,i[e])})),"function"==typeof e.insert)e.insert(t);else{var o=r(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var c,u=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function p(e,t,n,i){var a=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(e.styleSheet)e.styleSheet.cssText=u(t,a);else{var r=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(r,o[t]):e.appendChild(r)}}function m(e,t,n){var i=n.css,a=n.media,r=n.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}var h=null,f=0;function v(e,t){var n,i,a;if(t.singleton){var r=f++;n=h||(h=d(t)),i=p.bind(null,n,r,!1),a=p.bind(null,n,r,!0)}else n=d(t),i=m.bind(null,n,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var i=0;i<n.length;i++){var a=l(n[i]);o[a].references--}for(var r=s(e,t),d=0;d<n.length;d++){var c=l(n[d]);0===o[c].references&&(o[c].updater(),o.splice(c,1))}n=r}}}},Mq5L:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var i=n("3hkr"),a=n("CU79"),r=n("n6Wd"),o=n("oTzT"),l=n("ZdEn"),s=n("gZSI"),d=n("VuSA"),c=n("J6+d"),u=n("h4pE");const p=Object(l.d)(i.M,a.L),m="__bv_modal_directive__",h=e=>{let{modifiers:t={},arg:n,value:i}=e;return Object(s.m)(i)?i:Object(s.m)(n)?n:Object(d.h)(t).reverse()[0]},f=e=>e&&Object(o.v)(e,".dropdown-menu > li, li.nav-item")&&Object(o.C)("a, button",e)||e,v=e=>{e&&"BUTTON"!==e.tagName&&(Object(o.o)(e,"role")||Object(o.E)(e,"role","button"),"A"===e.tagName||Object(o.o)(e,"tabindex")||Object(o.E)(e,"tabindex","0"))},g=e=>{const t=e[m]||{},n=t.trigger,i=t.handler;n&&i&&(Object(l.a)(n,"click",i,a.R),Object(l.a)(n,"keydown",i,a.R),Object(l.a)(e,"click",i,a.R),Object(l.a)(e,"keydown",i,a.R)),delete e[m]},b=(e,t,n)=>{const i=e[m]||{},s=h(t),d=f(e);s===i.target&&d===i.trigger||(g(e),((e,t,n)=>{const i=h(t),s=f(e);if(i&&s){const d=e=>{const a=e.currentTarget;if(!Object(o.r)(a)){const o=e.type,l=e.keyCode;"click"!==o&&("keydown"!==o||l!==r.c&&l!==r.h)||Object(c.a)(Object(u.a)(n,t)).$emit(p,i,a)}};e[m]={handler:d,target:i,trigger:s},v(s),Object(l.b)(s,"click",d,a.R),"BUTTON"!==s.tagName&&"button"===Object(o.h)(s,"role")&&Object(l.b)(s,"keydown",d,a.R)}})(e,t,n)),v(d)},k={inserted:b,updated:()=>{},componentUpdated:b,unbind:g}},OGDS:function(e,t){var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"TreeEntry"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Entry"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sha"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"flatPath"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getPaginatedTree"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectPath"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ref"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"nextPageCursor"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"refType"}},type:{kind:"NamedType",name:{kind:"Name",value:"RefType"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"project"},arguments:[{kind:"Argument",name:{kind:"Name",value:"fullPath"},value:{kind:"Variable",name:{kind:"Name",value:"projectPath"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"repository"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paginatedTree"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}},{kind:"Argument",name:{kind:"Name",value:"ref"},value:{kind:"Variable",name:{kind:"Name",value:"ref"}}},{kind:"Argument",name:{kind:"Name",value:"refType"},value:{kind:"Variable",name:{kind:"Name",value:"refType"}}},{kind:"Argument",name:{kind:"Name",value:"after"},value:{kind:"Variable",name:{kind:"Name",value:"nextPageCursor"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endCursor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"startCursor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasNextPage"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"trees"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TreeEntry"},directives:[]},{kind:"Field",name:{kind:"Name",value:"webPath"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"submodules"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TreeEntry"},directives:[]},{kind:"Field",name:{kind:"Name",value:"webUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"treeUrl"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"blobs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"TreeEntry"},directives:[]},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webPath"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lfsOid"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:1063}};n.loc.source={body:"fragment TreeEntry on Entry {\n  __typename\n  id\n  sha\n  name\n  flatPath\n  type\n}\n\nquery getPaginatedTree(\n  $projectPath: ID!\n  $path: String\n  $ref: String!\n  $nextPageCursor: String\n  $refType: RefType\n) {\n  project(fullPath: $projectPath) {\n    id\n    __typename\n    repository {\n      __typename\n      paginatedTree(path: $path, ref: $ref, refType: $refType, after: $nextPageCursor) {\n        __typename\n        pageInfo {\n          __typename\n          endCursor\n          startCursor\n          hasNextPage\n        }\n        nodes {\n          __typename\n          trees {\n            __typename\n            nodes {\n              ...TreeEntry\n              webPath\n            }\n          }\n          submodules {\n            __typename\n            nodes {\n              ...TreeEntry\n              webUrl\n              treeUrl\n            }\n          }\n          blobs {\n            __typename\n            nodes {\n              ...TreeEntry\n              mode\n              webPath\n              lfsOid\n            }\n          }\n        }\n      }\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[a(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var r=i[t]||new Set,o=new Set,l=new Set;for(r.forEach((function(e){l.add(e)}));l.size>0;){var s=l;l=new Set,s.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){l.add(e)})))}))}return o.forEach((function(t){var i=a(e,t);i&&n.definitions.push(i)})),n}n.definitions.forEach((function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach((function(t){e(t,n)})),t.variableDefinitions&&t.variableDefinitions.forEach((function(t){e(t,n)})),t.definitions&&t.definitions.forEach((function(t){e(t,n)}))}(e,t),i[e.name.value]=t}})),e.exports=n,e.exports.TreeEntry=r(n,"TreeEntry"),e.exports.getPaginatedTree=r(n,"getPaginatedTree")},VNgF:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var a=(o=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),r=i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}));return[n].concat(r).concat([a]).join("\n")}var o;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},a=0;a<this.length;a++){var r=this[a][0];null!=r&&(i[r]=!0)}for(a=0;a<e.length;a++){var o=e[a];null!=o[0]&&i[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),t.push(o))}},t}},Vacx:function(e,t,n){(e.exports=n("VNgF")(!1)).push([e.i,"\n/* Temporary override until we have\n   * widths available in GlDisclosureDropdown\n   * https://gitlab.com/gitlab-org/gitlab-ui/-/issues/2501\n   */\n.code-dropdown .gl-new-dropdown-panel {\n  width: 100%;\n  max-width: 348px;\n}\n",""])},XCOs:function(e,t,n){var i=n("rhmX"),a=/[\\^$.*+?()[\]{}|]/g,r=RegExp(a.source);e.exports=function(e){return(e=i(e))&&r.test(e)?e.replace(a,"\\$&"):e}},"Z+zr":function(e,t,n){"use strict";var i=n("XiQx"),a=n("l5WF"),r=n("Lb36"),o=n("4lAS"),l=n("z1xw"),s=n("/lV4"),d={components:{GlDisclosureDropdownItem:i.b,GlFormGroup:a.a,GlFormInputGroup:r.a,GlButton:o.a},directives:{GlTooltip:l.a},props:{label:{type:String,required:!0},labelClass:{type:String,required:!1,default:""},link:{type:String,required:!0},inputId:{type:String,required:!1,default:""},name:{type:String,required:!1,default:null},testId:{type:String,required:!0}},copyURLTooltip:Object(s.a)("Copy URL")},c=n("tBpV"),u=Object(c.a)(d,(function(){var e=this,t=e._self._c;return t("gl-disclosure-dropdown-item",[t("gl-form-group",{staticClass:"gl-mb-3 gl-px-3 gl-text-left",attrs:{label:e.label,"label-class":e.labelClass,"label-for":e.inputId}},[t("gl-form-input-group",{attrs:{id:e.inputId,value:e.link,name:e.name,"data-testid":e.inputId,label:e.label,readonly:"","select-on-click":""},scopedSlots:e._u([{key:"append",fn:function(){return[t("gl-button",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip.hover",modifiers:{hover:!0}}],staticClass:"gl-inline-flex",attrs:{title:e.$options.copyURLTooltip,"aria-label":e.$options.copyURLTooltip,"data-clipboard-text":e.link,"data-testid":e.testId,icon:"copy-to-clipboard"}})]},proxy:!0}])})],1)],1)}),[],!1,null,null,null);t.a=u.exports},h6C7:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getProjectPath"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectPath"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}]}]}}],loc:{start:0,end:47}};n.loc.source={body:"query getProjectPath {\n  projectPath @client\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}n.definitions.forEach((function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach((function(t){e(t,n)})),t.variableDefinitions&&t.variableDefinitions.forEach((function(t){e(t,n)})),t.definitions&&t.definitions.forEach((function(t){e(t,n)}))}(e,t),i[e.name.value]=t}})),e.exports=n,e.exports.getProjectPath=function(e,t){var n={kind:e.kind,definitions:[a(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var r=i[t]||new Set,o=new Set,l=new Set;for(r.forEach((function(e){l.add(e)}));l.size>0;){var s=l;l=new Set,s.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){l.add(e)})))}))}return o.forEach((function(t){var i=a(e,t);i&&n.definitions.push(i)})),n}(n,"getProjectPath")},htAy:function(e,t,n){"use strict";n.d(t,"a",(function(){return de}));var i=n("XCOs"),a=n.n(i),r=n("ewH8"),o=n("lRsd"),l=n("3twG"),s={components:{BlobContentViewer:n("kYRv").a},props:{path:{type:String,required:!0},projectPath:{type:String,required:!0},refType:{type:String,required:!1,default:null}}},d=n("tBpV"),c=Object(d.a)(s,(function(){return(0,this._self._c)("blob-content-viewer",{attrs:{path:this.path,"project-path":this.projectPath,"ref-type":this.refType}})}),[],!1,null,null,null).exports,u=n("t8rf"),p=(n("RFHG"),n("z6RN"),n("xuo1"),n("B++/"),n("47t/"),n("OGDS")),m=n.n(p),h=n("jlnU"),f=n("uQq6"),v=n("jEr0"),g=n("ITU6"),b=n("h6C7"),k=n.n(b);const y=["index","readme"],w=["ad","adoc","asciidoc","creole","markdown","md","mdown","mediawiki","mkd","mkdn","org","rdoc","rst","textile","wiki"],S=function(e){return new RegExp(`^(${y.join("|")})\\.(${w.join("|")})$`,"i").test(e.name)},_=function(e){return new RegExp(`^(${y.join("|")})(\\.txt)?$`,"i").test(e.name)};n("v2fZ"),n("ZzK0"),n("BzOf");var j=n("2ibD"),N=n("AiXD");let P=[],T=[];const O=function(e){return P.includes(e)},x=function(){P=[],T=[]},C=async function(e,t,n,i,a){if(O(i))return[];Array.from(Array(f.a)).forEach((function(e,t){return function(e){O(e)||e<0||P.push(e)}(i+t)}));return await function(e,t,n,i,a){if(T.includes(i)||i<0)return[];T.push(i);const r=Object(l.A)(gon.relative_url_root||"/",e,"/-/refs/",encodeURIComponent(n),"/logs_tree/",encodeURI(function(e){return e.replace(/^\//,"")}(t)));return j.a.get(r,{params:{format:"json",offset:i,ref_type:a}}).then((function({data:e}){return Object(N.a)(e,t)})).catch((function(){return Object(h.createAlert)({message:f.i})}))}(e,t,n,i,a)};var D=n("iCwi"),E=n("4+8U"),F=n("4lAS"),L=n("/lV4"),R=Object(d.a)({},(function(){var e=this,t=e._self._c;return t("thead",[t("tr",[t("th",{attrs:{id:"name",scope:"col"}},[e._v(e._s(e.s__("ProjectFileTree|Name")))]),e._v(" "),t("th",{staticClass:"gl-hidden sm:gl-table-cell",attrs:{id:"last-commit",scope:"col"}},[e._v("\n      "+e._s(e.__("Last commit"))+"\n    ")]),e._v(" "),t("th",{staticClass:"text-right",attrs:{id:"last-update",scope:"col"}},[e._v(e._s(e.__("Last update")))])])])}),[],!1,null,null,null).exports,q=(n("3UXl"),n("iyoE"),n("FkSe")),U=n("z1xw"),$={components:{GlLoadingIcon:q.a},directives:{GlTooltip:U.a},inject:["refType"],props:{commitRef:{type:String,required:!0},path:{type:String,required:!0},loadingPath:{type:String,required:!1,default:null}},computed:{parentPath(){const e=this.path.split("/");return e.pop(),e.map((function(e){return encodeURIComponent(e)})).join("/")},parentRoute(){const e=Object(l.A)("/-/tree",this.commitRef,this.parentPath);return Object(l.e)({path:e,refType:this.refType})}},methods:{clickRow(){this.$router.push(this.parentRoute)}}},A=Object(d.a)($,(function(){var e=this,t=e._self._c;return t("tr",{staticClass:"tree-item"},[t("td",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip.left.viewport",modifiers:{left:!0,viewport:!0}}],staticClass:"tree-item-file-name",attrs:{title:e.__("Go to parent directory"),colspan:"3"},on:{click:function(t){return t.target!==t.currentTarget?null:e.clickRow.apply(null,arguments)}}},[e.parentPath===e.loadingPath?t("gl-loading-icon",{staticClass:"align-text-bottom gl-inline-block",attrs:{size:"sm",inline:""}}):t("router-link",{attrs:{to:e.parentRoute,"aria-label":e.__("Go to parent")}},[e._v(" .. ")])],1)])}),[],!1,null,null,null).exports,I=n("Lzak"),G=n("MV2A"),B=n("s1D3"),V=n("ehHk"),M=n("KFC0"),z=n.n(M);let H,Q;const J={bind:(e,t)=>{let{value:n}=t;if(!z()(n))throw TypeError("Directive value must be a function");const i=()=>{H&&(clearTimeout(H),H=void 0)};Q=()=>{e.addEventListener("mouseout",i,{passive:!0}),H=setTimeout(()=>{n(e),e.removeEventListener("mouseover",Q,!0),e.removeEventListener("mouseout",i),H=void 0},100)},e.addEventListener("mouseover",Q,{capture:!0,passive:!0})},unbind:e=>{e.removeEventListener("mouseover",Q,!0)}};var X=n("Mp8J"),Z=n("9dZE"),K=n("Fsq/"),W=n("ilhb"),Y=n.n(W),ee={components:{GlBadge:I.a,GlLink:G.a,GlSkeletonLoader:E.a,GlLoadingIcon:q.a,GlIcon:B.a,TimeagoTooltip:K.a,FileIcon:Z.a,GlIntersectionObserver:V.a},directives:{GlTooltip:U.a,GlHoverLoad:J,SafeHtml:X.a},mixins:[v.a],inject:["refType"],props:{commitInfo:{type:Object,required:!1,default:null},rowNumber:{type:Number,required:!1,default:null},totalEntries:{type:Number,required:!0},id:{type:String,required:!0},sha:{type:String,required:!0},projectPath:{type:String,required:!0},currentPath:{type:String,required:!0},name:{type:String,required:!0},path:{type:String,required:!0},mode:{type:String,required:!1,default:""},type:{type:String,required:!0},url:{type:String,required:!1,default:null},lfsOid:{type:String,required:!1,default:null},submoduleTreeUrl:{type:String,required:!1,default:null},loadingPath:{type:String,required:!1,default:""}},data:()=>({hasRowAppeared:!1,delayedRowAppear:null}),computed:{commitData(){return this.commitInfo},routerLinkTo(){return this.isBlob?Object(l.e)({path:Object(l.A)("/-/blob",this.escapedRef,encodeURI(this.path)),refType:this.refType}):this.isFolder?Object(l.e)({path:Object(l.A)("/-/tree",this.escapedRef,encodeURI(this.path)),refType:this.refType}):null},isBlob(){return"blob"===this.type},isFolder(){return"tree"===this.type},isSubmodule(){return"commit"===this.type},linkComponent(){return this.isFolder||this.isBlob?"router-link":"a"},fullPath(){return this.path.replace(new RegExp(`^${a()(this.currentPath)}/`),"")},shortSha(){return this.sha.slice(0,8)},hasLockLabel(){return this.commitData&&this.commitData.lockLabel},showSkeletonLoader(){return!this.commitData&&this.hasRowAppeared}},methods:{handlePreload(){return this.isFolder?this.loadFolder():this.loadBlob()},loadFolder(){this.apolloQuery(m.a,{projectPath:this.projectPath,ref:this.ref,refType:Object(g.a)(this.refType),path:this.path,nextPageCursor:"",pageSize:f.w})},loadBlob(){this.apolloQuery(Y.a,{projectPath:this.projectPath,filePath:[this.path],ref:this.ref,refType:Object(g.a)(this.refType),shouldFetchRawText:!0})},apolloQuery(e,t){this.$apollo.query({query:e,variables:t})},rowAppeared(){var e=this;this.hasRowAppeared=!0,this.commitInfo||(this.delayedRowAppear=setTimeout((function(){return e.$emit("row-appear",e.rowNumber)}),f.q))},rowDisappeared(){clearTimeout(this.delayedRowAppear),this.hasRowAppeared=!1}},safeHtmlConfig:{ADD_TAGS:["gl-emoji"]}},te=Object(d.a)(ee,(function(){var e=this,t=e._self._c;return t("tr",{staticClass:"tree-item"},[t("td",{staticClass:"tree-item-file-name cursor-default position-relative"},[t(e.linkComponent,{directives:[{name:"gl-hover-load",rawName:"v-gl-hover-load",value:e.handlePreload,expression:"handlePreload"},{name:"gl-tooltip",rawName:"v-gl-tooltip",value:{placement:"left",boundary:"viewport"},expression:"{ placement: 'left', boundary: 'viewport' }"}],ref:"link",tag:"component",staticClass:"tree-item-link str-truncated",class:{"is-submodule":e.isSubmodule},attrs:{title:e.fullPath,to:e.routerLinkTo,href:e.url,"data-testid":"file-name-link"}},[t("file-icon",{staticClass:"mr-1 position-relative text-secondary",attrs:{"file-name":e.fullPath,"file-mode":e.mode,folder:e.isFolder,submodule:e.isSubmodule,loading:e.path===e.loadingPath,"css-classes":"position-relative file-icon"}}),t("span",{staticClass:"position-relative"},[e._v(e._s(e.fullPath))])],1),e._v(" "),e.lfsOid?t("gl-badge",{staticClass:"ml-1",attrs:{variant:"muted","data-testid":"label-lfs"}},[e._v("LFS")]):e._e(),e._v(" "),e.isSubmodule?[e._v("\n      @ "),t("gl-link",{staticClass:"commit-sha",attrs:{href:e.submoduleTreeUrl}},[e._v(e._s(e.shortSha))])]:e._e(),e._v(" "),e.hasLockLabel?t("gl-icon",{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip"}],staticClass:"ml-1",attrs:{title:e.commitData.lockLabel,name:"lock",size:12}}):e._e()],2),e._v(" "),t("td",{staticClass:"tree-commit cursor-default gl-hidden sm:gl-table-cell"},[e.commitData?t("gl-link",{directives:[{name:"safe-html",rawName:"v-safe-html:[$options.safeHtmlConfig]",value:e.commitData.titleHtml,expression:"commitData.titleHtml",arg:e.$options.safeHtmlConfig}],staticClass:"str-truncated-100 tree-commit-link gl-text-gray-600",attrs:{href:e.commitData.commitPath,title:e.commitData.message}}):e._e(),e._v(" "),t("gl-intersection-observer",{on:{appear:e.rowAppeared,disappear:e.rowDisappeared}},[e.showSkeletonLoader?t("gl-skeleton-loader",{attrs:{lines:1}}):e._e()],1)],1),e._v(" "),t("td",{staticClass:"tree-time-ago text-right cursor-default gl-text-gray-600"},[t("gl-intersection-observer",{on:{appear:e.rowAppeared,disappear:e.rowDisappeared}},[e.commitData?t("timeago-tooltip",{attrs:{time:e.commitData.committedDate}}):e._e()],1),e._v(" "),e.showSkeletonLoader?t("gl-skeleton-loader",{attrs:{lines:1}}):e._e()],1)])}),[],!1,null,null,null).exports,ne={components:{GlSkeletonLoader:E.a,TableHeader:R,TableRow:te,ParentRow:A,GlButton:F.a},mixins:[v.a],apollo:{projectPath:{query:k.a}},props:{commits:{type:Array,required:!1,default:function(){return[]}},path:{type:String,required:!0},entries:{type:Object,required:!1,default:function(){return{}}},isLoading:{type:Boolean,required:!0},loadingPath:{type:String,required:!1,default:""},hasMore:{type:Boolean,required:!0}},data:()=>({projectPath:"",rowNumbers:{}}),computed:{totalEntries(){return Object.values(this.entries).flat().length},tableCaption(){return this.isLoading?Object(L.h)(Object(L.a)("Loading files, directories, and submodules in the path %{path} for commit reference %{ref}"),{path:this.path,ref:this.ref}):Object(L.h)(Object(L.a)("Files, directories, and submodules in the path %{path} for commit reference %{ref}"),{path:this.path,ref:this.ref})},showParentRow(){return-1===["","/"].indexOf(this.path)}},methods:{showMore(){this.$emit("showMore")},generateRowNumber(e,t){var n,i;const{flatPath:a,id:r}=e,o=`${a}-${r}-${t}`,l=(null===(n=this.entries)||void 0===n||null===(n=n.trees)||void 0===n?void 0:n.length)||0,s=(null===(i=this.entries)||void 0===i||null===(i=i.blobs)||void 0===i?void 0:i.length)||0;return this.rowNumbers[o]||0===this.rowNumbers[o]||("commit"===e.type?this.rowNumbers[o]=l+s+t:"blob"===e.type?this.rowNumbers[o]=l+t:this.rowNumbers[o]=t),this.rowNumbers[o]},getCommit(e){var t=this;return this.commits.find((function(n){return n.filePath===Object(l.A)(t.path,e)}))}}},ie=Object(d.a)(ne,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"tree-content-holder"},[t("div",{staticClass:"table-holder bordered-box"},[t("table",{staticClass:"table tree-table",class:{"gl-table-fixed":!e.showParentRow},attrs:{"aria-label":e.tableCaption,"aria-live":"polite","data-testid":"file-tree-table"}},[e._m(0),e._v(" "),t("tbody",[e.showParentRow?t("parent-row",{attrs:{"commit-ref":e.escapedRef,path:e.path,"loading-path":e.loadingPath}}):e._e(),e._v(" "),e._l(e.entries,(function(n){return e._l(n,(function(n,i){return t("table-row",e._g({key:`${n.flatPath}-${n.id}-${i}`,attrs:{id:n.id,sha:n.sha,"project-path":e.projectPath,"current-path":e.path,name:n.name,path:n.flatPath,type:n.type,url:n.webUrl||n.webPath,mode:n.mode,"submodule-tree-url":n.treeUrl,"lfs-oid":n.lfsOid,"loading-path":e.loadingPath,"total-entries":e.totalEntries,"row-number":e.generateRowNumber(n,i),"commit-info":e.getCommit(n.name)}},e.$listeners))}))})),e._v(" "),e.isLoading?e._l(5,(function(n){return t("tr",{key:n,attrs:{"aria-hidden":"true"}},[t("td",[t("gl-skeleton-loader",{attrs:{lines:1}})],1),e._v(" "),t("td",{staticClass:"gl-hidden sm:gl-block"},[t("gl-skeleton-loader",{attrs:{lines:1}})],1),e._v(" "),t("td",[t("div",{staticClass:"gl-flex lg:gl-justify-end"},[t("gl-skeleton-loader",{attrs:{"equal-width-lines":!0,lines:1}})],1)])])})):e._e(),e._v(" "),e.hasMore?[t("tr",[t("td",{staticClass:"!gl-p-0",attrs:{align:"center",colspan:"3"}},[t("gl-button",{staticClass:"gl-flex gl-w-full !gl-py-4",attrs:{variant:"link",loading:e.isLoading},on:{click:e.showMore}},[e._v("\n                "+e._s(e.s__("ProjectFileTree|Show more"))+"\n              ")])],1)])]:e._e()],2)],1)])])}),[function(){return(0,this._self._c)("table-header")}],!1,null,null,null).exports,ae={i18n:f.x,components:{FileTable:ie,FilePreview:D.a},mixins:[v.a],apollo:{projectPath:{query:k.a}},inject:["refType"],props:{path:{type:String,required:!1,default:"/"},loadingPath:{type:String,required:!1,default:""}},data:()=>({commits:[],projectPath:"",nextPageCursor:"",pagesLoaded:1,entries:{trees:[],submodules:[],blobs:[]},isLoadingFiles:!1,isOverLimit:!1,clickedShowMore:!1,fetchCounter:0}),computed:{totalEntries(){return Object.values(this.entries).flat().length},readme(){return(e=this.entries.blobs).find(S)||e.find(_);var e},pageLimitReached(){return this.totalEntries/this.pagesLoaded>=f.v},hasShowMore(){return!this.clickedShowMore&&this.pageLimitReached}},watch:{$route:function(){this.entries.trees=[],this.entries.submodules=[],this.entries.blobs=[],this.nextPageCursor="",x(),this.fetchFiles()}},mounted(){var e=this;this.$nextTick((function(){x(),e.fetchFiles()}))},methods:{fetchFiles(){var e=this;const t=this.path||"/";return this.isLoadingFiles=!0,this.$apollo.query({query:m.a,variables:{projectPath:this.projectPath,ref:this.ref,refType:Object(g.a)(this.refType),path:t,nextPageCursor:this.nextPageCursor,pageSize:f.w}}).then((function({data:n}){var i;if(n.errors)throw n.errors;if(null==n||null===(i=n.project)||void 0===i||!i.repository||t!==(e.path||"/"))return;const{project:{repository:{paginatedTree:{pageInfo:a}}}}=n;e.isLoadingFiles=!1,e.entries=Object.keys(e.entries).reduce((function(t,i){return{...t,[i]:e.normalizeData(i,n.project.repository.paginatedTree.nodes[0][i])}}),{}),null!=a&&a.hasNextPage&&(e.nextPageCursor=a.endCursor,e.fetchCounter+=1,e.pageLimitReached&&!e.clickedShowMore||(e.fetchFiles(),e.clickedShowMore=!1))})).catch((function(t){let n;t.graphQLErrors&&(n=t.graphQLErrors.find((function(e){var t;return(null==e||null===(t=e.extensions)||void 0===t?void 0:t.code)===f.h})));const i=n?e.$options.i18n.gitalyError:e.$options.i18n.generalError;Object(h.createAlert)({message:i,captureError:!0})}))},normalizeData(e,t){return this.entries[e].concat(t.nodes)},hasNextPage:e=>[].concat(e.trees.pageInfo,e.submodules.pageInfo,e.blobs.pageInfo).find((function({hasNextPage:e}){return e})),handleRowAppear(e){O(e)||this.loadCommitData(e-e%f.a)},loadCommitData(e){C(this.projectPath,this.path,this.ref,e,this.refType).then(this.setCommitData).catch((function(){}))},setCommitData(e){this.commits=this.commits.concat(e)},handleShowMore(){this.clickedShowMore=!0,this.pagesLoaded+=1,this.fetchFiles()}}},re={components:{TreeContent:Object(d.a)(ae,(function(){var e=this,t=e._self._c;return t("div",[t("file-table",{attrs:{path:e.path,entries:e.entries,"is-loading":e.isLoadingFiles,"loading-path":e.loadingPath,"has-more":e.hasShowMore,commits:e.commits},on:{showMore:e.handleShowMore,"row-appear":e.handleRowAppear}}),e._v(" "),e.readme?t("file-preview",{attrs:{blob:e.readme}}):e._e()],1)}),[],!1,null,null,null).exports},mixins:[{mixins:[v.a],apollo:{projectPath:{query:k.a}},data:()=>({projectPath:"",loadingPath:null}),beforeRouteUpdate(e,t,n){this.preload(e.params.path,n)},methods:{preload(e="/",t){return this.loadingPath=e.replace(/^\//,""),this.$apollo.query({query:m.a,variables:{projectPath:this.projectPath,ref:this.ref,refType:Object(g.a)(this.refType),path:this.loadingPath,nextPageCursor:"",pageSize:100}}).then((function(){return t()}))}}}],provide(){return{refType:this.refType}},props:{path:{type:String,required:!1,default:"/"},refType:{type:String,required:!1,default:""}},computed:{isRoot(){return"/"===this.path}},watch:{isRoot:{immediate:!0,handler:"updateElements"}},methods:{updateElements(e){Object(u.a)(".js-show-on-root",e),Object(u.a)(".js-hide-on-root",!e)}}},oe=Object(d.a)(re,(function(){return(0,this._self._c)("tree-content",{attrs:{path:this.path,"loading-path":this.loadingPath}})}),[],!1,null,null,null).exports,le={components:{TreePage:oe},props:{refType:{type:String,required:!1,default:null}},mounted(){this.updateProjectElements(!0)},beforeDestroy(){this.updateProjectElements(!1)},methods:{updateProjectElements(e){Object(u.a)(".js-show-on-project-root",e)}}},se=Object(d.a)(le,(function(){return(0,this._self._c)("tree-page",{attrs:{path:"/","ref-type":this.refType}})}),[],!1,null,null,null).exports;function de(e,t){const n={component:oe,props:function(e){var t;return{path:(null===(t=e.params.path)||void 0===t?void 0:t.replace(/^\//,""))||"/",refType:Object(g.a)(e.query.ref_type||null)}}},i={component:c,props:function(t){return{path:t.params.path,projectPath:e,refType:Object(g.a)(t.query.ref_type||null)}}},r=new o.a({mode:"history",base:Object(l.A)(gon.relative_url_root||"",e),routes:[{name:"treePathDecoded",path:`(/-)?/tree/${decodeURI(t)}/:path*`,...n},{name:"treePath",path:`(/-)?/tree/${a()(t)}/:path*`,...n},{name:"blobPathDecoded",path:`(/-)?/blob/${decodeURI(t)}/:path*`,...i},{name:"blobPath",path:`(/-)?/blob/${a()(t)}/:path*`,...i},{path:"/",name:"projectRoot",component:se,props:{refType:"HEADS"},meta:{refType:"HEADS"}}]});return r.afterEach((function(n){const i=!n.name.includes("blobPath");window.gl.webIDEPath=Object(l.T)(Object(l.A)("/",e,"edit",decodeURI(t),"-",n.params.path||"",i&&"/"))})),r}r.default.use(o.a)},iCwi:function(e,t,n){"use strict";var i=n("s1D3"),a=n("MV2A"),r=n("FkSe"),o=n("Mp8J"),l=n("NmEs"),s=n("EJYk"),d=n("kytF"),c={apollo:{readme:{query:n.n(d).a,variables(){return{url:this.blob.webPath}}}},components:{GlIcon:i.a,GlLink:a.a,GlLoadingIcon:r.a},directives:{SafeHtml:o.a},props:{blob:{type:Object,required:!0}},data:()=>({readme:null}),computed:{isLoading(){return this.$apollo.queries.readme.loading}},watch:{readme(e){var t=this;e&&this.$nextTick((function(){Object(l.n)(),Object(s.a)(t.$refs.readme)}))}},safeHtmlConfig:{ADD_TAGS:["copy-code"]}},u=n("tBpV"),p=Object(u.a)(c,(function(){var e=this,t=e._self._c;return t("article",{staticClass:"file-holder limited-width-container readme-holder"},[t("div",{staticClass:"js-file-title file-title-flex-parent"},[t("div",{staticClass:"file-header-content"},[t("gl-icon",{attrs:{name:"doc-text"}}),e._v(" "),t("gl-link",{attrs:{href:e.blob.webPath}},[t("strong",[e._v(e._s(e.blob.name))])])],1)]),e._v(" "),t("div",{staticClass:"blob-viewer",attrs:{"data-testid":"blob-viewer-content",itemprop:"about"}},[e.isLoading?t("gl-loading-icon",{staticClass:"my-4 mx-auto",attrs:{size:"lg",color:"dark"}}):e.readme?t("div",{directives:[{name:"safe-html",rawName:"v-safe-html:[$options.safeHtmlConfig]",value:e.readme.html,expression:"readme.html",arg:e.$options.safeHtmlConfig}],ref:"readme"}):e._e()],1)])}),[],!1,null,null,null);t.a=p.exports},kytF:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getReadme"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"url"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"readme"},arguments:[{kind:"Argument",name:{kind:"Name",value:"url"},value:{kind:"Variable",name:{kind:"Name",value:"url"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:78}};n.loc.source={body:"query getReadme($url: String!) {\n  readme(url: $url) @client {\n    html\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function a(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}n.definitions.forEach((function(e){if(e.name){var t=new Set;!function e(t,n){if("FragmentSpread"===t.kind)n.add(t.name.value);else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&n.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach((function(t){e(t,n)})),t.variableDefinitions&&t.variableDefinitions.forEach((function(t){e(t,n)})),t.definitions&&t.definitions.forEach((function(t){e(t,n)}))}(e,t),i[e.name.value]=t}})),e.exports=n,e.exports.getReadme=function(e,t){var n={kind:e.kind,definitions:[a(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var r=i[t]||new Set,o=new Set,l=new Set;for(r.forEach((function(e){l.add(e)}));l.size>0;){var s=l;l=new Set,s.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){l.add(e)})))}))}return o.forEach((function(t){var i=a(e,t);i&&n.definitions.push(i)})),n}(n,"getReadme")},t8rf:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));n("ZzK0"),n("z6RN"),n("BzOf");var i=n("3twG");const a=function(e,t){document.querySelectorAll(e).forEach((function(e){return e.classList.toggle("hidden",!t)}))},r=function(e,t,n){const a=document.querySelector(e);a&&(a.action=Object(i.A)(t,n))}},y2bm:function(e,t,n){"use strict";n("UezY"),n("z6RN"),n("hG7+"),n("3UXl"),n("iyoE");var i=n("Bo17"),a=n("fSQg"),r=n("z1xw"),o=n("3twG"),l=n("/lV4"),s=n("Z+zr"),d={components:{GlDisclosureDropdown:i.a,GlDisclosureDropdownGroup:a.a,CodeDropdownItem:s.a},directives:{GlTooltip:r.a},props:{sshUrl:{type:String,required:!1,default:""},httpUrl:{type:String,required:!1,default:""},kerberosUrl:{type:String,required:!1,default:null},xcodeUrl:{type:String,required:!1,default:""},currentPath:{type:String,required:!1,default:null},directoryDownloadLinks:{type:Array,required:!1,default:null}},computed:{httpLabel(){var e;const t=this.httpUrl?null===(e=Object(o.m)(this.httpUrl))||void 0===e?void 0:e.toUpperCase():"";return Object(l.h)(Object(l.a)("Clone with %{protocol}"),{protocol:t})},sshUrlEncoded(){return encodeURIComponent(this.sshUrl)},httpUrlEncoded(){return encodeURIComponent(this.httpUrl)},ideGroup(){const e=[Boolean(this.sshUrl)&&{text:Object(l.a)("Visual Studio Code (SSH)"),href:`${this.$options.vsCodeBaseUrl}${this.sshUrlEncoded}`},Boolean(this.httpUrl)&&{text:Object(l.a)("Visual Studio Code (HTTPS)"),href:`${this.$options.vsCodeBaseUrl}${this.httpUrlEncoded}`},Boolean(this.sshUrl)&&{text:Object(l.a)("IntelliJ IDEA (SSH)"),href:`${this.$options.jetBrainsBaseUrl}${this.sshUrlEncoded}`},Boolean(this.httpUrl)&&{text:Object(l.a)("IntelliJ IDEA (HTTPS)"),href:`${this.$options.jetBrainsBaseUrl}${this.httpUrlEncoded}`},Boolean(this.xcodeUrl)&&{text:Object(l.a)("Xcode"),href:this.xcodeUrl}].filter(Boolean);return{name:this.$options.i18n.openInIDE,items:e}},sourceCodeGroup(){const e=this.directoryDownloadLinks.map((function(e){return{text:e.text,href:e.path,extraAttrs:{rel:"nofollow",download:""}}}));return{name:this.$options.i18n.downloadSourceCode,items:e}},directoryDownloadLinksGroup(){var e=this;const t=this.directoryDownloadLinks.map((function(t){return{text:t.text,href:`${t.path}?path=${e.currentPath}`,extraAttrs:{rel:"nofollow",download:""}}}));return{name:this.$options.i18n.downloadDirectory,items:t}}},methods:{closeDropdown(){this.$refs.dropdown.close()}},vsCodeBaseUrl:"vscode://vscode.git/clone?url=",jetBrainsBaseUrl:"jetbrains://idea/checkout/git?idea.required.plugins.id=Git4Idea&checkout.repo=",i18n:{defaultLabel:Object(l.a)("Code"),cloneWithSsh:Object(l.a)("Clone with SSH"),cloneWithKerberos:Object(l.a)("Clone with KRB5"),openInIDE:Object(l.a)("Open in your IDE"),downloadSourceCode:Object(l.a)("Download source code"),downloadDirectory:Object(l.a)("Download this directory")}},c=n("LPAU"),u=n.n(c),p=n("Vacx"),m=n.n(p),h={insert:"head",singleton:!1},f=(u()(m.a,h),m.a.locals,n("tBpV")),v=Object(f.a)(d,(function(){var e=this,t=e._self._c;return t("gl-disclosure-dropdown",{ref:"dropdown",staticClass:"code-dropdown gl-text-left",attrs:{"toggle-text":e.$options.i18n.defaultLabel,category:"primary",variant:"confirm",placement:"bottom-end","fluid-width":"","data-testid":"code-dropdown","auto-close":!1}},[e.sshUrl?t("gl-disclosure-dropdown-group",[t("code-dropdown-item",{attrs:{label:e.$options.i18n.cloneWithSsh,"label-class":"!gl-text-sm !gl-pt-2",link:e.sshUrl,name:"ssh_project_clone","input-id":"copy-ssh-url-input","test-id":"copy-ssh-url-button"}})],1):e._e(),e._v(" "),e.httpUrl?t("gl-disclosure-dropdown-group",[t("code-dropdown-item",{attrs:{label:e.httpLabel,"label-class":"!gl-text-sm !gl-pt-2",link:e.httpUrl,name:"http_project_clone","input-id":"copy-http-url-input","test-id":"copy-http-url-button"}})],1):e._e(),e._v(" "),e.kerberosUrl?t("gl-disclosure-dropdown-group",[t("code-dropdown-item",{attrs:{label:e.$options.i18n.cloneWithKerberos,"label-class":"!gl-text-sm !gl-pt-2",link:e.kerberosUrl,name:"kerberos_project_clone","input-id":"copy-http-url-input","test-id":"copy-http-url-button"}})],1):e._e(),e._v(" "),t("gl-disclosure-dropdown-group",{attrs:{group:e.ideGroup,bordered:""},on:{action:e.closeDropdown}}),e._v(" "),e.directoryDownloadLinks?t("gl-disclosure-dropdown-group",{attrs:{group:e.sourceCodeGroup,bordered:""},on:{action:e.closeDropdown}}):e._e(),e._v(" "),e.currentPath&&e.directoryDownloadLinks?t("gl-disclosure-dropdown-group",{attrs:{group:e.directoryDownloadLinksGroup,bordered:""},on:{action:e.closeDropdown}}):e._e()],1)}),[],!1,null,null,null);t.a=v.exports}}]);
//# sourceMappingURL=commons-pages.projects.show-pages.projects.tree.show.0f479a11.chunk.js.map