{"version":3,"sources":["webpack:///webpack/bootstrap 5f9545f95e57f1eb5336","webpack:///external \"girder_lib\"","webpack:///delegated ./src/utilities/PluginUtils.js from dll-reference girder_lib","webpack:///./~/@girder/oauth/views/OAuthLoginView.js","webpack:///delegated ./node_modules/pug-runtime/index.js from dll-reference girder_lib","webpack:///delegated ./src/views/View.js from dll-reference girder_lib","webpack:///delegated ./node_modules/jquery/dist/jquery.js from dll-reference girder_lib","webpack:///delegated ./node_modules/underscore/modules/index-all.js from dll-reference girder_lib","webpack:///delegated ./src/rest.js from dll-reference girder_lib","webpack:///delegated ./src/events.js from dll-reference girder_lib","webpack:///./~/@girder/oauth/main.js","webpack:///./~/@girder/oauth/routes.js","webpack:///./~/@girder/oauth/views/ConfigView.js","webpack:///./~/@girder/oauth/views/LoginView.js","webpack:///./~/@girder/oauth/views/RegisterView.js","webpack:///./~/@girder/oauth/templates/configView.pug","webpack:///./~/@girder/oauth/templates/oauthLoginView.pug","webpack:///./~/@girder/oauth/stylesheets/configView.styl","webpack:///./~/@girder/oauth/stylesheets/oauthLoginView.styl","webpack:///delegated ./src/auth.js from dll-reference girder_lib","webpack:///delegated ./src/misc.js from dll-reference girder_lib","webpack:///delegated ./src/views/layout/LoginView.js from dll-reference girder_lib","webpack:///delegated ./src/views/widgets/PluginConfigBreadcrumbWidget.js from dll-reference girder_lib","webpack:///delegated ./src/views/layout/RegisterView.js from dll-reference girder_lib","webpack:///delegated ./src/router.js from dll-reference girder_lib"],"names":["OAuthLoginView","View","extend","events","event","providerId","currentTarget","attr","provider","_","findWhere","providers","id","window","location","url","initialize","settings","redirect","href","base","modeText","enablePasswordLogin","has","data","list","done","resp","render","buttons","each","btn","_buttons","text","name","push","console","warn","length","$el","append","google","icon","class","globus","github","bitbucket","microsoft","linkedin","box","router","route","trigger","ConfigView","preventDefault","target","$","empty","key","value","val","trim","takesTenantId","_saveSettings","method","is","type","timeout","hasAuthorizedOrigins","instructions","providerIds","pluck","settingKeys","JSON","stringify","settingVals","origin","protocol","host","_apiRoot","substring","html","apiRoot","breadcrumb","PluginConfigBreadcrumbWidget","pluginName","el","parentView","checked","filter","error","fail","responseJSON","message","LoginView","call","RegisterView","pug","require","template","locals","pug_html","pug_mixins","pug_interp","pug_debug_filename","pug_debug_line","pug_debug_sources","locals_for_with","$$obj","pug_index0","$$l","classes","escape","undefined","err","rethrow","module","exports","button"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA,2CAA2C,cAAc;;QAEzD;QACA;QACA;QACA;QACA;QACA;QACA;QACA,KAAK;QACL;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA;QACA;;;;;;;ACjEA,4B;;;;;;ACAA,+C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAxB,GAAwG,aAAnH;AACA,aAAC+D,iBAAiB,EAAjB,CAAoBD,qBAAqB,uFAArB;AACrBH,uBAAWA,WAAW,qCAAtB;AACA,aAACI,iBAAiB,EAAjB,CAAoBD,qBAAqB,uFAArB;AACrBH,uBAAWA,WAAYJ,IAAIe,MAAJ,CAAW,SAAST,aAAae,OAAOrF,IAAP,IAAeqF,OAAOjH,UAA5C,IAA0D,EAA1D,GAA+DkG,UAA1E,CAAZ,GAAqG,cAAhH;AACK;AACF;AACF,OAjCA,EAiCER,IAjCF,CAiCO,IAjCP;;AAmCDM,iBAAWA,WAAW,QAAtB;AAA+C,KAzDR,EAyDSN,IAzDT,CAyDc,IAzDd,EAyDmB,aAAaY,eAAb,GAA6BA,gBAAgB9E,OAA7C,GAAqD,OAAOA,OAAP,KAAiB,WAAjB,GAA6BA,OAA7B,GAAqCoF,SAzD7G,EAyDuH,yBAAyBN,eAAzB,GAAyCA,gBAAgBrF,mBAAzD,GAA6E,OAAOA,mBAAP,KAA6B,WAA7B,GAAyCA,mBAAzC,GAA6D2F,SAzDjQ,EAyD2Q,cAAcN,eAAd,GAA8BA,gBAAgBtF,QAA9C,GAAuD,OAAOA,QAAP,KAAkB,WAAlB,GAA8BA,QAA9B,GAAuC4F,SAzDzW,CAAD;AAyDuX,GA1D5S,CA0D6S,OAAOC,GAAP,EAAY;AAACjB,QAAIkB,OAAJ,CAAYD,GAAZ,EAAiBV,kBAAjB,EAAqCC,cAArC,EAAqDC,kBAAkBF,kBAAlB,CAArD;AAA6F,IAAC,OAAOH,QAAP;AAAiB;AAC1hBe,OAAOC,OAAP,GAAiBlB,QAAjB,C;;;;;;AC7DA,yC;;;;;;ACAA,yC;;;;;;ACAA,8C;;;;;;ACAA,8C;;;;;;ACAA,+C;;;;;;ACAA,+C;;;;;;ACAA,8C;;;;;;ACAA,6C","file":"plugin.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/dsa/static/built/\";\n\n \t__webpack_require__(9);\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 24);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 5f9545f95e57f1eb5336","module.exports = girder_lib;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external \"girder_lib\"\n// module id = 0\n// module chunks = 0","module.exports = (__webpack_require__(0))(123);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/utilities/PluginUtils.js from dll-reference girder_lib\n// module id = 1\n// module chunks = 0","import $ from 'jquery';\nimport _ from 'underscore';\n\nimport View from '@girder/core/views/View';\nimport { restRequest } from '@girder/core/rest';\nimport { splitRoute } from '@girder/core/misc';\n\nimport OAuthLoginViewTemplate from '../templates/oauthLoginView.pug';\nimport '../stylesheets/oauthLoginView.styl';\n\nvar OAuthLoginView = View.extend({\n events: {\n 'click .g-oauth-button': function (event) {\n var providerId = $(event.currentTarget).attr('g-provider');\n var provider = _.findWhere(this.providers, { id: providerId });\n window.location = provider.url;\n }\n },\n\n initialize: function (settings) {\n var redirect = settings.redirect || splitRoute(window.location.href).base;\n this.modeText = settings.modeText || 'log in';\n this.providers = null;\n this.enablePasswordLogin = _.has(settings, 'enablePasswordLogin') ? settings.enablePasswordLogin : true;\n\n restRequest({\n url: 'oauth/provider',\n data: {\n redirect: redirect,\n list: true\n }\n }).done((resp) => {\n this.providers = resp;\n this.render();\n });\n },\n\n render: function () {\n if (this.providers === null) {\n return this;\n }\n\n var buttons = [];\n _.each(this.providers, function (provider) {\n var btn = this._buttons[provider.id];\n\n if (btn) {\n btn.providerId = provider.id;\n btn.text = provider.name;\n buttons.push(btn);\n } else {\n console.warn('Unsupported OAuth2 provider: ' + provider.id);\n }\n }, this);\n\n if (buttons.length) {\n this.$el.append(OAuthLoginViewTemplate({\n modeText: this.modeText,\n buttons: buttons,\n enablePasswordLogin: this.enablePasswordLogin\n }));\n }\n\n return this;\n },\n\n _buttons: {\n google: {\n icon: 'gplus',\n class: 'g-oauth-button-google'\n },\n globus: {\n icon: 'globe',\n class: 'g-oauth-button-globus'\n },\n github: {\n icon: 'github-circled',\n class: 'g-oauth-button-github'\n },\n bitbucket: {\n icon: 'bitbucket',\n class: 'g-oauth-button-bitbucket'\n },\n microsoft: {\n icon: 'microsoft',\n class: 'g-oauth-button-microsoft'\n },\n linkedin: {\n icon: 'linkedin',\n class: 'g-oauth-button-linkedin'\n },\n box: {\n icon: 'box',\n class: 'g-oauth-button-box'\n }\n }\n});\n\nexport default OAuthLoginView;\n\n\n\n// WEBPACK FOOTER //\n// ./~/@girder/oauth/views/OAuthLoginView.js","module.exports = (__webpack_require__(0))(0);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./node_modules/pug-runtime/index.js from dll-reference girder_lib\n// module id = 3\n// module chunks = 0","module.exports = (__webpack_require__(0))(1);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/views/View.js from dll-reference girder_lib\n// module id = 4\n// module chunks = 0","module.exports = (__webpack_require__(0))(2);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./node_modules/jquery/dist/jquery.js from dll-reference girder_lib\n// module id = 5\n// module chunks = 0","module.exports = (__webpack_require__(0))(3);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./node_modules/underscore/modules/index-all.js from dll-reference girder_lib\n// module id = 6\n// module chunks = 0","module.exports = (__webpack_require__(0))(4);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/rest.js from dll-reference girder_lib\n// module id = 7\n// module chunks = 0","module.exports = (__webpack_require__(0))(5);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/events.js from dll-reference girder_lib\n// module id = 8\n// module chunks = 0","import './routes';\n\n// Extends and overrides API\nimport './views/LoginView';\nimport './views/RegisterView';\n\n\n\n// WEBPACK FOOTER //\n// ./~/@girder/oauth/main.js","/* eslint-disable import/first */\n\nimport events from '@girder/core/events';\nimport router from '@girder/core/router';\nimport { exposePluginConfig } from '@girder/core/utilities/PluginUtils';\n\nexposePluginConfig('oauth', 'plugins/oauth/config');\n\nimport ConfigView from './views/ConfigView';\nrouter.route('plugins/oauth/config', 'oauthConfig', function () {\n events.trigger('g:navigateTo', ConfigView);\n});\n\n\n\n// WEBPACK FOOTER //\n// ./~/@girder/oauth/routes.js","import $ from 'jquery';\nimport _ from 'underscore';\n\nimport PluginConfigBreadcrumbWidget from '@girder/core/views/widgets/PluginConfigBreadcrumbWidget';\nimport View from '@girder/core/views/View';\nimport { getApiRoot, restRequest } from '@girder/core/rest';\nimport events from '@girder/core/events';\n\nimport ConfigViewTemplate from '../templates/configView.pug';\nimport '../stylesheets/configView.styl';\n\nvar ConfigView = View.extend({\n events: {\n 'submit .g-oauth-provider-form': function (event) {\n event.preventDefault();\n var providerId = $(event.target).attr('provider-id');\n this.$('#g-oauth-provider-' + providerId + '-error-message').empty();\n\n const settings = [{\n key: 'oauth.' + providerId + '_client_id',\n value: this.$('#g-oauth-provider-' + providerId + '-client-id').val().trim()\n }, {\n key: 'oauth.' + providerId + '_client_secret',\n value: this.$('#g-oauth-provider-' + providerId + '-client-secret').val().trim()\n }];\n if (_.findWhere(this.providers, { id: providerId }).takesTenantId) {\n settings.push({\n key: 'oauth.' + providerId + '_tenant_id',\n value: this.$('#g-oauth-provider-' + providerId + '-tenant-id').val().trim()\n });\n }\n this._saveSettings(providerId, settings);\n },\n\n 'change .g-ignore-registration-policy': function (event) {\n restRequest({\n method: 'PUT',\n url: 'system/setting',\n data: {\n key: 'oauth.ignore_registration_policy',\n value: $(event.target).is(':checked')\n }\n }).done(() => {\n events.trigger('g:alert', {\n icon: 'ok',\n text: 'Setting saved.',\n type: 'success',\n timeout: 3000\n });\n });\n }\n },\n\n initialize: function () {\n this.providers = [{\n id: 'google',\n name: 'Google',\n icon: 'google',\n hasAuthorizedOrigins: true,\n takesTenantId: false,\n instructions: 'Client IDs and secret keys are managed in the Google ' +\n 'Developer Console. When creating your client ID there, ' +\n 'use the following values:'\n }, {\n id: 'globus',\n name: 'Globus',\n icon: 'globe',\n hasAuthorizedOrigins: false,\n takesTenantId: false,\n instructions: 'Client IDs and secret keys are managed in the Google ' +\n 'Developer Console. When creating your client ID there, ' +\n 'use the following values:'\n }, {\n id: 'github',\n name: 'GitHub',\n icon: 'github-circled',\n hasAuthorizedOrigins: false,\n takesTenantId: false,\n instructions: 'Client IDs and secret keys are managed in the ' +\n 'Applications page of your GitHub account settings. ' +\n 'Use the following as the authorization callback URL:'\n }, {\n id: 'bitbucket',\n name: 'Bitbucket',\n icon: 'bitbucket',\n hasAuthorizedOrigins: false,\n takesTenantId: false,\n instructions: 'Client IDs and secret keys are managed in the ' +\n 'Applications page of your Bitbucket account settings. ' +\n 'Use the following as the authorization callback URL:'\n }, {\n id: 'microsoft',\n name: 'Microsoft',\n icon: 'microsoft',\n hasAuthorizedOrigins: false,\n takesTenantId: true,\n instructions: 'Application (client) ID and secret keys can be found ' +\n 'at the \"Overview\" and \"Certificates & secrets\" sections ' +\n 'of the Azure application website. Select the \"User.Read\" ' +\n 'permission under \"API permissions - Microsoft Graph - ' +\n 'Delegated permissions\" and add this callback URL to the ' +\n '\"Redirect URIs\" under \"Authentication\":'\n }, {\n id: 'linkedin',\n name: 'LinkedIn',\n icon: 'linkedin',\n hasAuthorizedOrigins: false,\n takesTenantId: false,\n instructions: 'Client IDs and secret keys are managed at the ' +\n 'Applications page of the LinkedIn Developers site. ' +\n 'Select the \"r_basicprofile\" and \"r_emailaddress\" ' +\n 'Default Application Permissions, and use the ' +\n 'following as an OAuth 2.0 Authorized Redirect URL:'\n }, {\n id: 'box',\n name: 'Box',\n icon: 'box-brand',\n hasAuthorizedOrigins: false,\n takesTenantId: false,\n instructions: 'Client IDs and secret keys are managed in the Box ' +\n 'Developer Services page. When creating your client ID ' +\n 'there, use the following as the authorization callback URL:'\n }];\n this.providerIds = _.pluck(this.providers, 'id');\n\n var settingKeys = ['oauth.ignore_registration_policy'];\n _.each(this.providerIds, function (id) {\n settingKeys.push('oauth.' + id + '_client_id');\n settingKeys.push('oauth.' + id + '_client_secret');\n if (_.findWhere(this.providers, { id: id }).takesTenantId) {\n settingKeys.push('oauth.' + id + '_tenant_id');\n }\n }, this);\n\n restRequest({\n method: 'GET',\n url: 'system/setting',\n data: {\n list: JSON.stringify(settingKeys)\n }\n }).done((resp) => {\n this.settingVals = resp;\n this.render();\n });\n },\n\n render: function () {\n var origin = window.location.protocol + '//' + window.location.host,\n _apiRoot = getApiRoot();\n\n if (_apiRoot.substring(0, 1) !== '/') {\n _apiRoot = '/' + _apiRoot;\n }\n\n this.$el.html(ConfigViewTemplate({\n origin: origin,\n apiRoot: _apiRoot,\n providers: this.providers\n }));\n\n if (!this.breadcrumb) {\n this.breadcrumb = new PluginConfigBreadcrumbWidget({\n pluginName: 'OAuth login',\n el: this.$('.g-config-breadcrumb-container'),\n parentView: this\n }).render();\n }\n\n if (this.settingVals) {\n _.each(this.providerIds, function (id) {\n this.$('#g-oauth-provider-' + id + '-client-id').val(\n this.settingVals['oauth.' + id + '_client_id']);\n this.$('#g-oauth-provider-' + id + '-client-secret').val(\n this.settingVals['oauth.' + id + '_client_secret']);\n if (_.findWhere(this.providers, { id: id }).takesTenantId) {\n this.$('#g-oauth-provider-' + id + '-tenant-id').val(\n this.settingVals['oauth.' + id + '_tenant_id']);\n }\n }, this);\n\n var checked = this.settingVals['oauth.ignore_registration_policy'];\n this.$('.g-ignore-registration-policy').attr('checked', checked ? 'checked' : null);\n }\n\n return this;\n },\n\n _saveSettings: function (providerId, settings) {\n settings.push({\n key: 'oauth.providers_enabled',\n value: _.filter(this.providerIds, function (id) {\n return !!this.$('#g-oauth-provider-' + id + '-client-id').val();\n }, this)\n });\n\n restRequest({\n method: 'PUT',\n url: 'system/setting',\n data: {\n list: JSON.stringify(settings)\n },\n error: null\n }).done(() => {\n events.trigger('g:alert', {\n icon: 'ok',\n text: 'Settings saved.',\n type: 'success',\n timeout: 3000\n });\n }).fail((resp) => {\n this.$('#g-oauth-provider-' + providerId + '-error-message').text(\n resp.responseJSON.message);\n });\n }\n});\n\nexport default ConfigView;\n\n\n\n// WEBPACK FOOTER //\n// ./~/@girder/oauth/views/ConfigView.js","import LoginView from '@girder/core/views/layout/LoginView';\nimport { wrap } from '@girder/core/utilities/PluginUtils';\n\nimport OAuthLoginView from './OAuthLoginView';\n\nwrap(LoginView, 'render', function (render) {\n render.call(this);\n new OAuthLoginView({\n el: this.$('.modal-body'),\n parentView: this,\n enablePasswordLogin: this.enablePasswordLogin\n }).render();\n return this;\n});\n\n\n\n// WEBPACK FOOTER //\n// ./~/@girder/oauth/views/LoginView.js","import RegisterView from '@girder/core/views/layout/RegisterView';\nimport { getCurrentUser } from '@girder/core/auth';\nimport { wrap } from '@girder/core/utilities/PluginUtils';\n\nimport OAuthLoginView from './OAuthLoginView';\n\n/**\n * We want to add some additional stuff to the login view when it is shown.\n */\nwrap(RegisterView, 'render', function (render) {\n render.call(this);\n\n if (!getCurrentUser()) {\n new OAuthLoginView({\n el: this.$('.modal-body'),\n parentView: this,\n modeText: 'register automatically'\n }).render();\n }\n\n return this;\n});\n\n\n\n// WEBPACK FOOTER //\n// ./~/@girder/oauth/views/RegisterView.js","var pug = require(\"!../../../pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;var pug_debug_filename, pug_debug_line;try {var pug_debug_sources = {\"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\":\".g-config-breadcrumb-container\\n\\n.g-reg-policy-config-container\\n p.\\n Normally, if the core registration policy is set to closed, OAuth\\n users are also not allowed to be created. If you want to override this\\n policy and allow OAuth users to register even if the core registration\\n policy is closed, check the box below.\\n .checkbox\\n label\\n input.g-ignore-registration-policy(type=\\\"checkbox\\\")\\n | Ignore closed registration policy\\n\\n.g-oauth-provider-list-title Configure supported providers below\\np Only fill in the information for the OAuth2 providers you wish to enable.\\n\\n#g-oauth-provider-accordion.panel-group\\n each provider in providers\\n .panel.panel-default\\n .panel-heading(data-toggle=\\\"collapse\\\",\\n data-parent=\\\"#g-oauth-provider-accordion\\\",\\n data-target=`#g-oauth-provider-${provider.id}`)\\n .panel-title\\n a\\n i(class=`icon-${provider.icon}`)\\n span= provider.name\\n .panel-collapse.collapse(id=`g-oauth-provider-${provider.id}`)\\n .panel-body\\n p= provider.instructions\\n if provider.hasAuthorizedOrigins\\n .g-oauth-value-container\\n b Authorized javascript origins:\\n span.g-oauth-value= origin\\n .g-oauth-value-container\\n b Authorized redirect URI:\\n span.g-oauth-value= `${origin}${apiRoot}\\u002Foauth\\u002F${provider.id}\\u002Fcallback`\\n form.g-oauth-provider-form(role=\\\"form\\\",\\n id=`g-oauth-provider-${provider.id}-form`, provider-id=provider.id)\\n if provider.takesTenantId\\n .form-group\\n label.control-label(for=`g-oauth-provider-${provider.id}-tenant-id`) #{provider.name} tenant ID\\n input.input-sm.form-control(id=`g-oauth-provider-${provider.id}-tenant-id`,\\n type=\\\"text\\\", placeholder=\\\"Tenant ID, e.g., 885af973-684f-2561-7a74-5bedd6a0d901\\\")\\n .form-group\\n label.control-label(for=`g-oauth-provider-${provider.id}-client-id`) #{provider.name} client ID\\n input.input-sm.form-control(id=`g-oauth-provider-${provider.id}-client-id`,\\n type=\\\"text\\\", placeholder=\\\"Client ID, e.g., b394e84b-a2f1-e65a-b2ef-f7457ccd2d2a\\\")\\n .form-group\\n label.control-label(for=`g-oauth-provider-${provider.id}-client-secret`) #{provider.name} client secret\\n input.input-sm.form-control(id=`g-oauth-provider-${provider.id}-client-secret`,\\n type=\\\"text\\\", placeholder=\\\"Client secret, e.g., bS_BkHNW2DJl-XIvCI3WP6w24~LoC54ZiefaY\\\")\\n p.g-validation-failed-message(id=`g-oauth-provider-${provider.id}-error-message`)\\n input.btn.btn-sm.btn-primary(type=\\\"submit\\\", value=\\\"Save\\\", provider-id=provider.id)\\n\"};\n;var locals_for_with = (locals || {});(function (apiRoot, origin, providers) {;pug_debug_line = 1;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-config-breadcrumb-container\\\"\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 3;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-reg-policy-config-container\\\"\\u003E\";\n;pug_debug_line = 4;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cp\\u003E\";\n;pug_debug_line = 5;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Normally, if the core registration policy is set to closed, OAuth\";\n;pug_debug_line = 6;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\n\";\n;pug_debug_line = 6;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"users are also not allowed to be created. If you want to override this\";\n;pug_debug_line = 7;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\n\";\n;pug_debug_line = 7;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"policy and allow OAuth users to register even if the core registration\";\n;pug_debug_line = 8;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\n\";\n;pug_debug_line = 8;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"policy is closed, check the box below.\\u003C\\u002Fp\\u003E\";\n;pug_debug_line = 9;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"checkbox\\\"\\u003E\";\n;pug_debug_line = 10;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Clabel\\u003E\";\n;pug_debug_line = 11;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput class=\\\"g-ignore-registration-policy\\\" type=\\\"checkbox\\\"\\u003E\";\n;pug_debug_line = 12;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Ignore closed registration policy\\u003C\\u002Flabel\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 14;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-provider-list-title\\\"\\u003E\";\n;pug_debug_line = 14;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Configure supported providers below\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 15;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cp\\u003E\";\n;pug_debug_line = 15;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Only fill in the information for the OAuth2 providers you wish to enable.\\u003C\\u002Fp\\u003E\";\n;pug_debug_line = 17;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"panel-group\\\" id=\\\"g-oauth-provider-accordion\\\"\\u003E\";\n;pug_debug_line = 18;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\n// iterate providers\n;(function(){\n var $$obj = providers;\n if ('number' == typeof $$obj.length) {\n for (var pug_index0 = 0, $$l = $$obj.length; pug_index0 < $$l; pug_index0++) {\n var provider = $$obj[pug_index0];\n;pug_debug_line = 19;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"panel panel-default\\\"\\u003E\";\n;pug_debug_line = 20;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv\" + (\" class=\\\"panel-heading\\\"\"+\" data-toggle=\\\"collapse\\\" data-parent=\\\"#g-oauth-provider-accordion\\\"\"+pug.attr(\"data-target\", `#g-oauth-provider-${provider.id}`, true, true)) + \"\\u003E\";\n;pug_debug_line = 23;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"panel-title\\\"\\u003E\";\n;pug_debug_line = 24;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Ca\\u003E\";\n;pug_debug_line = 25;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Ci\" + (pug.attr(\"class\", pug.classes([`icon-${provider.icon}`], [true]), false, true)) + \"\\u003E\\u003C\\u002Fi\\u003E\";\n;pug_debug_line = 26;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cspan\\u003E\";\n;pug_debug_line = 26;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = provider.name) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003C\\u002Fa\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 27;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv\" + (\" class=\\\"panel-collapse collapse\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}`, true, true)) + \"\\u003E\";\n;pug_debug_line = 28;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"panel-body\\\"\\u003E\";\n;pug_debug_line = 29;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cp\\u003E\";\n;pug_debug_line = 29;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = provider.instructions) ? \"\" : pug_interp)) + \"\\u003C\\u002Fp\\u003E\";\n;pug_debug_line = 30;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\nif (provider.hasAuthorizedOrigins) {\n;pug_debug_line = 31;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-value-container\\\"\\u003E\";\n;pug_debug_line = 32;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cb\\u003E\";\n;pug_debug_line = 32;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Authorized javascript origins:\\u003C\\u002Fb\\u003E\";\n;pug_debug_line = 33;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cspan class=\\\"g-oauth-value\\\"\\u003E\";\n;pug_debug_line = 33;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = origin) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\n;pug_debug_line = 34;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-value-container\\\"\\u003E\";\n;pug_debug_line = 35;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cb\\u003E\";\n;pug_debug_line = 35;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Authorized redirect URI:\\u003C\\u002Fb\\u003E\";\n;pug_debug_line = 36;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cspan class=\\\"g-oauth-value\\\"\\u003E\";\n;pug_debug_line = 36;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = `${origin}${apiRoot}/oauth/${provider.id}/callback`) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 37;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cform\" + (\" class=\\\"g-oauth-provider-form\\\"\"+\" role=\\\"form\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}-form`, true, true)+pug.attr(\"provider-id\", provider.id, true, true)) + \"\\u003E\";\n;pug_debug_line = 39;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\nif (provider.takesTenantId) {\n;pug_debug_line = 40;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"form-group\\\"\\u003E\";\n;pug_debug_line = 41;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Clabel\" + (\" class=\\\"control-label\\\"\"+pug.attr(\"for\", `g-oauth-provider-${provider.id}-tenant-id`, true, true)) + \"\\u003E\";\n;pug_debug_line = 41;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = provider.name) ? \"\" : pug_interp));\n;pug_debug_line = 41;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \" tenant ID\\u003C\\u002Flabel\\u003E\";\n;pug_debug_line = 42;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput\" + (\" class=\\\"input-sm form-control\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}-tenant-id`, true, true)+\" type=\\\"text\\\" placeholder=\\\"Tenant ID, e.g., 885af973-684f-2561-7a74-5bedd6a0d901\\\"\") + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\n;pug_debug_line = 44;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"form-group\\\"\\u003E\";\n;pug_debug_line = 45;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Clabel\" + (\" class=\\\"control-label\\\"\"+pug.attr(\"for\", `g-oauth-provider-${provider.id}-client-id`, true, true)) + \"\\u003E\";\n;pug_debug_line = 45;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = provider.name) ? \"\" : pug_interp));\n;pug_debug_line = 45;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \" client ID\\u003C\\u002Flabel\\u003E\";\n;pug_debug_line = 46;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput\" + (\" class=\\\"input-sm form-control\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}-client-id`, true, true)+\" type=\\\"text\\\" placeholder=\\\"Client ID, e.g., b394e84b-a2f1-e65a-b2ef-f7457ccd2d2a\\\"\") + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 48;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"form-group\\\"\\u003E\";\n;pug_debug_line = 49;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Clabel\" + (\" class=\\\"control-label\\\"\"+pug.attr(\"for\", `g-oauth-provider-${provider.id}-client-secret`, true, true)) + \"\\u003E\";\n;pug_debug_line = 49;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = provider.name) ? \"\" : pug_interp));\n;pug_debug_line = 49;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \" client secret\\u003C\\u002Flabel\\u003E\";\n;pug_debug_line = 50;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput\" + (\" class=\\\"input-sm form-control\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}-client-secret`, true, true)+\" type=\\\"text\\\" placeholder=\\\"Client secret, e.g., bS_BkHNW2DJl-XIvCI3WP6w24~LoC54ZiefaY\\\"\") + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 52;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cp\" + (\" class=\\\"g-validation-failed-message\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}-error-message`, true, true)) + \"\\u003E\\u003C\\u002Fp\\u003E\";\n;pug_debug_line = 53;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput\" + (\" class=\\\"btn btn-sm btn-primary\\\"\"+\" type=\\\"submit\\\" value=\\\"Save\\\"\"+pug.attr(\"provider-id\", provider.id, true, true)) + \"\\u003E\\u003C\\u002Fform\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n }\n } else {\n var $$l = 0;\n for (var pug_index0 in $$obj) {\n $$l++;\n var provider = $$obj[pug_index0];\n;pug_debug_line = 19;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"panel panel-default\\\"\\u003E\";\n;pug_debug_line = 20;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv\" + (\" class=\\\"panel-heading\\\"\"+\" data-toggle=\\\"collapse\\\" data-parent=\\\"#g-oauth-provider-accordion\\\"\"+pug.attr(\"data-target\", `#g-oauth-provider-${provider.id}`, true, true)) + \"\\u003E\";\n;pug_debug_line = 23;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"panel-title\\\"\\u003E\";\n;pug_debug_line = 24;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Ca\\u003E\";\n;pug_debug_line = 25;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Ci\" + (pug.attr(\"class\", pug.classes([`icon-${provider.icon}`], [true]), false, true)) + \"\\u003E\\u003C\\u002Fi\\u003E\";\n;pug_debug_line = 26;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cspan\\u003E\";\n;pug_debug_line = 26;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = provider.name) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003C\\u002Fa\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 27;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv\" + (\" class=\\\"panel-collapse collapse\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}`, true, true)) + \"\\u003E\";\n;pug_debug_line = 28;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"panel-body\\\"\\u003E\";\n;pug_debug_line = 29;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cp\\u003E\";\n;pug_debug_line = 29;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = provider.instructions) ? \"\" : pug_interp)) + \"\\u003C\\u002Fp\\u003E\";\n;pug_debug_line = 30;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\nif (provider.hasAuthorizedOrigins) {\n;pug_debug_line = 31;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-value-container\\\"\\u003E\";\n;pug_debug_line = 32;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cb\\u003E\";\n;pug_debug_line = 32;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Authorized javascript origins:\\u003C\\u002Fb\\u003E\";\n;pug_debug_line = 33;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cspan class=\\\"g-oauth-value\\\"\\u003E\";\n;pug_debug_line = 33;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = origin) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\n;pug_debug_line = 34;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-value-container\\\"\\u003E\";\n;pug_debug_line = 35;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cb\\u003E\";\n;pug_debug_line = 35;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"Authorized redirect URI:\\u003C\\u002Fb\\u003E\";\n;pug_debug_line = 36;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cspan class=\\\"g-oauth-value\\\"\\u003E\";\n;pug_debug_line = 36;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = `${origin}${apiRoot}/oauth/${provider.id}/callback`) ? \"\" : pug_interp)) + \"\\u003C\\u002Fspan\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 37;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cform\" + (\" class=\\\"g-oauth-provider-form\\\"\"+\" role=\\\"form\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}-form`, true, true)+pug.attr(\"provider-id\", provider.id, true, true)) + \"\\u003E\";\n;pug_debug_line = 39;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\nif (provider.takesTenantId) {\n;pug_debug_line = 40;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"form-group\\\"\\u003E\";\n;pug_debug_line = 41;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Clabel\" + (\" class=\\\"control-label\\\"\"+pug.attr(\"for\", `g-oauth-provider-${provider.id}-tenant-id`, true, true)) + \"\\u003E\";\n;pug_debug_line = 41;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = provider.name) ? \"\" : pug_interp));\n;pug_debug_line = 41;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \" tenant ID\\u003C\\u002Flabel\\u003E\";\n;pug_debug_line = 42;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput\" + (\" class=\\\"input-sm form-control\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}-tenant-id`, true, true)+\" type=\\\"text\\\" placeholder=\\\"Tenant ID, e.g., 885af973-684f-2561-7a74-5bedd6a0d901\\\"\") + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n}\n;pug_debug_line = 44;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"form-group\\\"\\u003E\";\n;pug_debug_line = 45;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Clabel\" + (\" class=\\\"control-label\\\"\"+pug.attr(\"for\", `g-oauth-provider-${provider.id}-client-id`, true, true)) + \"\\u003E\";\n;pug_debug_line = 45;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = provider.name) ? \"\" : pug_interp));\n;pug_debug_line = 45;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \" client ID\\u003C\\u002Flabel\\u003E\";\n;pug_debug_line = 46;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput\" + (\" class=\\\"input-sm form-control\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}-client-id`, true, true)+\" type=\\\"text\\\" placeholder=\\\"Client ID, e.g., b394e84b-a2f1-e65a-b2ef-f7457ccd2d2a\\\"\") + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 48;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"form-group\\\"\\u003E\";\n;pug_debug_line = 49;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Clabel\" + (\" class=\\\"control-label\\\"\"+pug.attr(\"for\", `g-oauth-provider-${provider.id}-client-secret`, true, true)) + \"\\u003E\";\n;pug_debug_line = 49;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = provider.name) ? \"\" : pug_interp));\n;pug_debug_line = 49;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \" client secret\\u003C\\u002Flabel\\u003E\";\n;pug_debug_line = 50;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput\" + (\" class=\\\"input-sm form-control\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}-client-secret`, true, true)+\" type=\\\"text\\\" placeholder=\\\"Client secret, e.g., bS_BkHNW2DJl-XIvCI3WP6w24~LoC54ZiefaY\\\"\") + \"\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 52;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cp\" + (\" class=\\\"g-validation-failed-message\\\"\"+pug.attr(\"id\", `g-oauth-provider-${provider.id}-error-message`, true, true)) + \"\\u003E\\u003C\\u002Fp\\u003E\";\n;pug_debug_line = 53;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FconfigView.pug\";\npug_html = pug_html + \"\\u003Cinput\" + (\" class=\\\"btn btn-sm btn-primary\\\"\"+\" type=\\\"submit\\\" value=\\\"Save\\\"\"+pug.attr(\"provider-id\", provider.id, true, true)) + \"\\u003E\\u003C\\u002Fform\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n }\n }\n}).call(this);\n\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\";}.call(this,\"apiRoot\" in locals_for_with?locals_for_with.apiRoot:typeof apiRoot!==\"undefined\"?apiRoot:undefined,\"origin\" in locals_for_with?locals_for_with.origin:typeof origin!==\"undefined\"?origin:undefined,\"providers\" in locals_for_with?locals_for_with.providers:typeof providers!==\"undefined\"?providers:undefined));} catch (err) {pug.rethrow(err, pug_debug_filename, pug_debug_line, pug_debug_sources[pug_debug_filename]);};return pug_html;};\nmodule.exports = template;\n\n\n// WEBPACK FOOTER //\n// ./~/@girder/oauth/templates/configView.pug","var pug = require(\"!../../../pug-runtime/index.js\");\n\nfunction template(locals) {var pug_html = \"\", pug_mixins = {}, pug_interp;var pug_debug_filename, pug_debug_line;try {var pug_debug_sources = {\"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\":\".g-oauth-container\\n .g-oauth-section-header\\n .g-oauth-section-header-text\\n if enablePasswordLogin\\n | Or #{modeText} with\\n else\\n | Log in with\\n each button in buttons\\n .g-oauth-button(class=button.class, g-provider=button.providerId)\\n .g-oauth-button-icon\\n i(class=`icon-${button.icon}`)\\n .g-oauth-button-text= button.text || button.providerId\\n\"};\n;var locals_for_with = (locals || {});(function (buttons, enablePasswordLogin, modeText) {;pug_debug_line = 1;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-container\\\"\\u003E\";\n;pug_debug_line = 2;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-section-header\\\"\\u003E\";\n;pug_debug_line = 3;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-section-header-text\\\"\\u003E\";\n;pug_debug_line = 4;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\nif (enablePasswordLogin) {\n;pug_debug_line = 5;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"Or \";\n;pug_debug_line = 5;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = modeText) ? \"\" : pug_interp));\n;pug_debug_line = 5;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \" with\";\n}\nelse {\n;pug_debug_line = 7;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"Log in with\";\n}\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 8;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\n// iterate buttons\n;(function(){\n var $$obj = buttons;\n if ('number' == typeof $$obj.length) {\n for (var pug_index0 = 0, $$l = $$obj.length; pug_index0 < $$l; pug_index0++) {\n var button = $$obj[pug_index0];\n;pug_debug_line = 9;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"g-oauth-button\",button.class], [false,true]), false, true)+pug.attr(\"g-provider\", button.providerId, true, true)) + \"\\u003E\";\n;pug_debug_line = 10;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-button-icon\\\"\\u003E\";\n;pug_debug_line = 11;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"\\u003Ci\" + (pug.attr(\"class\", pug.classes([`icon-${button.icon}`], [true]), false, true)) + \"\\u003E\\u003C\\u002Fi\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 12;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-button-text\\\"\\u003E\";\n;pug_debug_line = 12;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = button.text || button.providerId) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n }\n } else {\n var $$l = 0;\n for (var pug_index0 in $$obj) {\n $$l++;\n var button = $$obj[pug_index0];\n;pug_debug_line = 9;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"\\u003Cdiv\" + (pug.attr(\"class\", pug.classes([\"g-oauth-button\",button.class], [false,true]), false, true)+pug.attr(\"g-provider\", button.providerId, true, true)) + \"\\u003E\";\n;pug_debug_line = 10;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-button-icon\\\"\\u003E\";\n;pug_debug_line = 11;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"\\u003Ci\" + (pug.attr(\"class\", pug.classes([`icon-${button.icon}`], [true]), false, true)) + \"\\u003E\\u003C\\u002Fi\\u003E\\u003C\\u002Fdiv\\u003E\";\n;pug_debug_line = 12;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + \"\\u003Cdiv class=\\\"g-oauth-button-text\\\"\\u003E\";\n;pug_debug_line = 12;pug_debug_filename = \"\\u002Fopt\\u002Fgirder\\u002Fgirder\\u002Fweb_client\\u002Fnode_modules\\u002F@girder\\u002Foauth\\u002Ftemplates\\u002FoauthLoginView.pug\";\npug_html = pug_html + (pug.escape(null == (pug_interp = button.text || button.providerId) ? \"\" : pug_interp)) + \"\\u003C\\u002Fdiv\\u003E\\u003C\\u002Fdiv\\u003E\";\n }\n }\n}).call(this);\n\npug_html = pug_html + \"\\u003C\\u002Fdiv\\u003E\";}.call(this,\"buttons\" in locals_for_with?locals_for_with.buttons:typeof buttons!==\"undefined\"?buttons:undefined,\"enablePasswordLogin\" in locals_for_with?locals_for_with.enablePasswordLogin:typeof enablePasswordLogin!==\"undefined\"?enablePasswordLogin:undefined,\"modeText\" in locals_for_with?locals_for_with.modeText:typeof modeText!==\"undefined\"?modeText:undefined));} catch (err) {pug.rethrow(err, pug_debug_filename, pug_debug_line, pug_debug_sources[pug_debug_filename]);};return pug_html;};\nmodule.exports = template;\n\n\n// WEBPACK FOOTER //\n// ./~/@girder/oauth/templates/oauthLoginView.pug","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@girder/oauth/stylesheets/configView.styl\n// module id = 16\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@girder/oauth/stylesheets/oauthLoginView.styl\n// module id = 17\n// module chunks = 0","module.exports = (__webpack_require__(0))(10);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/auth.js from dll-reference girder_lib\n// module id = 18\n// module chunks = 0","module.exports = (__webpack_require__(0))(11);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/misc.js from dll-reference girder_lib\n// module id = 19\n// module chunks = 0","module.exports = (__webpack_require__(0))(145);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/views/layout/LoginView.js from dll-reference girder_lib\n// module id = 20\n// module chunks = 0","module.exports = (__webpack_require__(0))(253);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/views/widgets/PluginConfigBreadcrumbWidget.js from dll-reference girder_lib\n// module id = 21\n// module chunks = 0","module.exports = (__webpack_require__(0))(82);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/views/layout/RegisterView.js from dll-reference girder_lib\n// module id = 22\n// module chunks = 0","module.exports = (__webpack_require__(0))(9);\n\n\n//////////////////\n// WEBPACK FOOTER\n// delegated ./src/router.js from dll-reference girder_lib\n// module id = 23\n// module chunks = 0"],"sourceRoot":""}