{"version":3,"sources":["webpack:///./new_commit_form.js","webpack:///./pager.js","webpack:///./lib/utils/ace_utils.js","webpack:///./star.js","webpack:///./pages/projects/show/index.js","webpack:///./read_more.js","webpack:///./activities.js","webpack:///./blob/viewer/index.js","webpack:///./blob/file_template_selector.js","webpack:///./blob/template_selectors/type_selector.js","webpack:///./blob/template_selectors/ci_yaml_selector.js","webpack:///./blob/template_selectors/dockerfile_selector.js","webpack:///./blob/template_selectors/gitignore_selector.js","webpack:///./blob/template_selectors/license_selector.js","webpack:///./blob/file_template_mediator.js","webpack:///./blob_edit/edit_blob.js","webpack:///./blob/blob_file_dropzone.js","webpack:///./blob_edit/blob_bundle.js","webpack:///./gpg_badges.js","webpack:///./behaviors/shortcuts/shortcuts_navigation.js","webpack:///./project_select_combo_button.js","webpack:///./project_select.js","webpack:///./pages/projects/project.js","webpack:///./notifications_dropdown.js","webpack:///./notifications_form.js","webpack:///./user_callout.js","webpack:///./pages/projects/index.js","webpack:///./tree.js","webpack:///./lib/utils/constants.js"],"names":["NewCommitForm","form","_classCallCheck","this","renderDestination","bind","branchName","find","originalBranch","createMergeRequest","createMergeRequestContainer","keyup","different","val","show","wasDifferent","prop","hide","jquery__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","jquery__WEBPACK_IMPORTED_MODULE_0___default","n","_lib_utils_common_utils__WEBPACK_IMPORTED_MODULE_1__","_lib_utils_axios_utils__WEBPACK_IMPORTED_MODULE_2__","_lib_utils_url_utility__WEBPACK_IMPORTED_MODULE_3__","__webpack_exports__","init","limit","arguments","length","undefined","preload","disable","prepareData","$","noop","callback","container","url","data","removeParams","offset","parseInt","getParameterByName","loading","concat","first","getOld","initLoadMore","_this","axios","get","params","then","_ref","append","count","html","isScrollable","catch","$w","window","document","height","scrollTop","_this2","off","endlessScroll","bottomPixels","fireDelay","fireOnce","ceaseFire","is","getModeByFileExtension","path","ace","require","getModeForPath","mode","d","Star","on","$this","$starSpan","$starIcon","iconClasses","attr","split","post","isStarred","hasClass","parent","text","star_count","removeClass","s__","remove","prepend","spriteIcon","addClass","__","Flash","addEventListener","triggerSelector","triggerEls","querySelectorAll","forEach","triggerEl","targetEl","previousElementSibling","e","classList","add","target","once","initReadMore","notificationsDropdown","ShortcutsNavigation","NotificationsForm","UserCallout","setCalloutPerProject","className","treeSlider","querySelector","TreeView","initBlob","BlobViewer","Activities","waitForImages","ajaxGet","dataset","logsPath","GpgBadges","fetch","Pager","updateTooltips","preventDefault","toggleFilter","currentTarget","reloadActivities","localTimeAgo","sender","$sender","filter","Cookies","set","closest","toggleClass","initAuxiliaryViewer","initRichViewer","initMainViewers","auxiliaryViewer","loadViewer","viewer","richType","initViewer","promise","module","default","error","Promise","all","viewerParam","getAttribute","resolve","setAttribute","innerHTML","$fileHolder","switcher","switcherBtns","copySourceBtn","simpleViewer","richViewer","initBindings","switchToInitialViewer","initialViewerName","location","hash","indexOf","switchToViewer","Array","from","el","switchViewHandler","contains","blur","activeViewer","tooltip","name","newViewer","oldButton","newButton","oldViewer","toggleCopyButtonState","renderGFM","trigger","handleLocationHash","FileTemplateSelector","mediator","$dropdown","$wrapper","cfg","config","dropdown","wrapper","$loadingIcon","$dropdownToggleText","initDropdown","options","query","selectTemplateFile","opts","selectedObj","reportSelection","FileTemplateTypeSelector","dropdownData","type_selector_classCallCheck","_possibleConstructorReturn","_getPrototypeOf","call","glDropdown","filterable","selectable","toggleLabel","item","clicked","selectTemplateTypeOptions","BlobCiYamlSelector","ci_yaml_selector_classCallCheck","ci_yaml_selector_possibleConstructorReturn","ci_yaml_selector_getPrototypeOf","key","pattern","type","search","fields","reportSelectionName","DockerfileSelector","dockerfile_selector_classCallCheck","dockerfile_selector_possibleConstructorReturn","dockerfile_selector_getPrototypeOf","BlobGitignoreSelector","gitignore_selector_classCallCheck","gitignore_selector_possibleConstructorReturn","gitignore_selector_getPrototypeOf","BlobLicenseSelector","license_selector_classCallCheck","license_selector_possibleConstructorReturn","license_selector_getPrototypeOf","$el","project","fullname","id","FileTemplateMediator","editor","currentAction","projectId","file_template_mediator_classCallCheck","initTemplateSelectors","initTemplateTypeSelector","initDomElements","initDropdowns","initPageEvents","templateSelectors","GitignoreSelector","LicenseSelector","map","TemplateSelectorClass","typeSelector","templateSelector","$templatesMenu","$undoMenu","$fileEditor","$undoBtn","$templateSelectors","$filenameInput","$fileContent","$commitForm","$navLinks","hideTemplateSelectorMenu","displayMatchedTemplateSelector","listenForFilenameInput","prepFileContentForSubmit","listenForPreviewMode","_this3","submit","getValue","_this4","href","isHidden","showTemplateSelectorMenu","selector","setToggleText","cacheToggleText","selectTemplateType","_this5","renderLoading","destroyUndoMenu","fetchFileTemplate","file","showUndoMenu","setEditorContent","setFilename","renderLoaded","err","_this6","currentInput","getFilename","test","_this7","Api","projectTemplate","newValue","content","setValue","focus","navigateFileStart","_this8","restoreFromCache","cacheFileContents","cachedToggleText","getTemplateSelectorToggleText","cachedContent","cachedFilename","setTemplateSelectorToggleText","getToggleText","selected","EditBlob","edit_blob_classCallCheck","configureAceEditor","initModePanesAndLinks","initSoftWrap","initFileSelectors","_this$options","filePath","assetsPath","isMarkdown","loadModule","edit","addEditorMarkdownListeners","$blockScrolling","Infinity","getSession","setMode","_this$options2","fileTemplateMediator","TemplateSelectorMediator","$editModePanes","$editModeLinks","editModeLinkClickHandler","currentLink","paneId","currentPane","fadeIn","$toggleButton","empty","createFlash","isSoftWrapped","toggleSoftWrap","setUseWrapMode","toggleLoading","$icon","HIDDEN_CLASS","enable","Dropzone","autoDiscover","BlobFileDropzone","method","blob_file_dropzone_classCallCheck","formDropzone","submitButton","submitButtonLoadingIcon","dropzoneMessage","dropzone","autoProcessQueue","clickable","uploadMultiple","paramName","maxFilesize","gon","max_file_size","parallelUploads","maxFiles","addRemoveLinks","previewsContainer","headers","csrf","header","response","modal","visitUrl","removeFile","xhr","formData","errorMessage","stripped","stopPropagation","getQueuedFiles","alert","processQueue","editBlobForm","uploadBlobForm","deleteBlobForm","urlRoot","commitButton","onbeforeunload","gl","utils","disableButtonIfEmptyField","tag","badges","displayError","endpoint","reject","Error","parseQueryStringIntoObject","serialize","signatures","signature","commit_sha","replaceWith","Mousetrap","findAndFollowLink","enabledHelp","push","Shortcuts","ProjectSelectComboButton","select","projectSelectInput","newItemBtn","resourceType","resourceLabel","formattedText","deriveTextVariants","groupId","bindEvents","initLocalStorage","siblings","openDropdown","getProjectFromLocalStorage","selectProject","AccessorUtilities","isLocalStorageAccessSafe","localStorageKey","localStorageItemType","join","setBtnTextFromLocalStorage","event","t","select2","selectedProjectData","JSON","parse","projectMeta","setNewItemBtnAttributes","setProjectInLocalStorage","cachedProjectData","defaultTextPrefix","presetTextSuffix","projectString","localStorage","getItem","stringify","setItem","slice","projectSelect","each","i","placeholder","simpleFilter","includeGroups","allProjects","orderBy","withIssuesEnabled","withMergeRequestsEnabled","withShared","includeProjectsInSubgroups","allowClear","minimumInputLength","finalCallback","projectsCallback","projects","results","groupsCallback","groups","term","groupProjects","with_issues_enabled","with_merge_requests_enabled","with_shared","include_subgroups","order_by","membership","web_url","name_with_namespace","initSelection","dropdownCssClass","Project","$cloneOptions","$projectCloneField","$cloneBtnLabel","mobileCloneField","selectedCloneOption","trim","cloneType","activeText","$label","clipboardText","initRefSwitcher","parents","cookieKey","projectSelectDropdown","changeProject","refListItem","createElement","refLink","ref","flash","filterRemote","filterByText","inputFieldName","fieldName","renderRow","li","cloneNode","textContent","link","appendChild","obj","$form","$visit","shouldVisit","action","divider","_flash__WEBPACK_IMPORTED_MODULE_1__","notificationLevel","saved","toggleCheckbox","initEventListeners","$checkbox","$parent","saveEvent","showCheckboxLoadingSpinner","setTimeout","userCalloutBody","cookieName","isCalloutDismissed","dismissCallout","$currentTarget","expires","r","_projects_gke_cluster_dropdowns__WEBPACK_IMPORTED_MODULE_0__","_persistent_user_callout__WEBPACK_IMPORTED_MODULE_1__","_project__WEBPACK_IMPORTED_MODULE_2__","_behaviors_shortcuts_shortcuts_navigation__WEBPACK_IMPORTED_MODULE_3__","page","body","callout","PersistentUser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3C,EAAGgD,OAAOxd,SAAS,YAE3BjE,IAAEohB,GAAY3P,SACA,KAAZ7M,EAAEsc,QACX1e,EAAOxC,IAAE,8CAA8CoD,KAAK,SAEnDgT,YAAS5T,QAHb,2EC1DbvD,EAAA4D,EAAAtD,EAAA,sBAAAmiB,IAAAziB,EAAA4D,EAAAtD,EAAA,sBAAAiV,IAAO,IAAMkN,EAAe,KACflN,EAAe","file":"pages.projects.show.a00f6c69.chunk.js","sourcesContent":["/* eslint-disable no-var, no-return-assign */\nexport default class NewCommitForm {\n constructor(form) {\n this.form = form;\n this.renderDestination = this.renderDestination.bind(this);\n this.branchName = form.find('.js-branch-name');\n this.originalBranch = form.find('.js-original-branch');\n this.createMergeRequest = form.find('.js-create-merge-request');\n this.createMergeRequestContainer = form.find('.js-create-merge-request-container');\n this.branchName.keyup(this.renderDestination);\n this.renderDestination();\n }\n renderDestination() {\n var different;\n different = this.branchName.val() !== this.originalBranch.val();\n if (different) {\n this.createMergeRequestContainer.show();\n if (!this.wasDifferent) {\n this.createMergeRequest.prop('checked', true);\n }\n } else {\n this.createMergeRequestContainer.hide();\n this.createMergeRequest.prop('checked', false);\n }\n return (this.wasDifferent = different);\n }\n}\n","import $ from 'jquery';\nimport { getParameterByName } from '~/lib/utils/common_utils';\nimport axios from './lib/utils/axios_utils';\nimport { removeParams } from './lib/utils/url_utility';\n\nconst ENDLESS_SCROLL_BOTTOM_PX = 400;\nconst ENDLESS_SCROLL_FIRE_DELAY_MS = 1000;\n\nexport default {\n init(\n limit = 0,\n preload = false,\n disable = false,\n prepareData = $.noop,\n callback = $.noop,\n container = '',\n ) {\n this.url = $('.content_list').data('href') || removeParams(['limit', 'offset']);\n this.limit = limit;\n this.offset = parseInt(getParameterByName('offset'), 10) || this.limit;\n this.disable = disable;\n this.prepareData = prepareData;\n this.callback = callback;\n this.loading = $(`${container} .loading`).first();\n if (preload) {\n this.offset = 0;\n this.getOld();\n }\n this.initLoadMore();\n },\n\n getOld() {\n this.loading.show();\n axios\n .get(this.url, {\n params: {\n limit: this.limit,\n offset: this.offset,\n },\n })\n .then(({ data }) => {\n this.append(data.count, this.prepareData(data.html));\n this.callback();\n\n // keep loading until we've filled the viewport height\n if (!this.disable && !this.isScrollable()) {\n this.getOld();\n } else {\n this.loading.hide();\n }\n })\n .catch(() => this.loading.hide());\n },\n\n append(count, html) {\n $('.content_list').append(html);\n if (count > 0) {\n this.offset += count;\n } else {\n this.disable = true;\n }\n },\n\n isScrollable() {\n const $w = $(window);\n return $(document).height() > $w.height() + $w.scrollTop() + ENDLESS_SCROLL_BOTTOM_PX;\n },\n\n initLoadMore() {\n $(document).off('scroll');\n $(document).endlessScroll({\n bottomPixels: ENDLESS_SCROLL_BOTTOM_PX,\n fireDelay: ENDLESS_SCROLL_FIRE_DELAY_MS,\n fireOnce: true,\n ceaseFire: () => this.disable === true,\n callback: () => {\n if (!this.loading.is(':visible')) {\n this.loading.show();\n this.getOld();\n }\n },\n });\n },\n};\n","/* global ace */\n\nexport default function getModeByFileExtension(path) {\n const modelist = ace.require('ace/ext/modelist');\n return modelist.getModeForPath(path).mode;\n}\n","import $ from 'jquery';\nimport Flash from './flash';\nimport { __, s__ } from './locale';\nimport { spriteIcon } from './lib/utils/common_utils';\nimport axios from './lib/utils/axios_utils';\n\nexport default class Star {\n constructor(container = '.project-home-panel') {\n $(`${container} .toggle-star`).on('click', function toggleStarClickCallback() {\n const $this = $(this);\n const $starSpan = $this.find('span');\n const $starIcon = $this.find('svg');\n const iconClasses = $starIcon.attr('class').split(' ');\n\n axios\n .post($this.data('endpoint'))\n .then(({ data }) => {\n const isStarred = $starSpan.hasClass('starred');\n $this\n .parent()\n .find('.star-count')\n .text(data.star_count);\n\n if (isStarred) {\n $starSpan.removeClass('starred').text(s__('StarProject|Star'));\n $starIcon.remove();\n $this.prepend(spriteIcon('star-o', iconClasses));\n } else {\n $starSpan.addClass('starred').text(__('Unstar'));\n $starIcon.remove();\n $this.prepend(spriteIcon('star', iconClasses));\n }\n })\n .catch(() => Flash('Star toggle failed. Try again later.'));\n });\n }\n}\n","import $ from 'jquery';\nimport initBlob from '~/blob_edit/blob_bundle';\nimport ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';\nimport NotificationsForm from '~/notifications_form';\nimport UserCallout from '~/user_callout';\nimport TreeView from '~/tree';\nimport BlobViewer from '~/blob/viewer/index';\nimport Activities from '~/activities';\nimport { ajaxGet } from '~/lib/utils/common_utils';\nimport GpgBadges from '~/gpg_badges';\nimport initReadMore from '~/read_more';\nimport Star from '../../../star';\nimport notificationsDropdown from '../../../notifications_dropdown';\n\ndocument.addEventListener('DOMContentLoaded', () => {\n initReadMore();\n new Star(); // eslint-disable-line no-new\n notificationsDropdown();\n new ShortcutsNavigation(); // eslint-disable-line no-new\n new NotificationsForm(); // eslint-disable-line no-new\n // eslint-disable-next-line no-new\n new UserCallout({\n setCalloutPerProject: false,\n className: 'js-autodevops-banner',\n });\n\n // Project show page loads different overview content based on user preferences\n const treeSlider = document.querySelector('#tree-slider');\n if (treeSlider) {\n new TreeView(); // eslint-disable-line no-new\n initBlob();\n }\n\n if (document.querySelector('.blob-viewer')) {\n new BlobViewer(); // eslint-disable-line no-new\n }\n\n if (document.querySelector('.project-show-activity')) {\n new Activities(); // eslint-disable-line no-new\n }\n\n $(treeSlider).waitForImages(() => {\n ajaxGet(document.querySelector('.js-tree-content').dataset.logsPath);\n });\n\n GpgBadges.fetch();\n});\n","/**\n * ReadMore\n *\n * Adds \"read more\" functionality to elements.\n *\n * Specifically, it looks for a trigger, by default \".js-read-more-trigger\", and adds the class\n * \"is-expanded\" to the previous element in order to provide a click to expand functionality.\n *\n * This is useful for long text elements that you would like to truncate, especially for mobile.\n *\n * Example Markup\n *
Some text that should be long enough to have to truncate within a specified container.
\n *This text will not appear in the container, as only the first line can be truncated.
\n *This should also not appear, if everything is working correctly!
\n *