{"version":3,"sources":["webpack:///./src/views/layouts/guards/TeamGuard.vue?af97","webpack:///src/views/layouts/guards/TeamGuard.vue","webpack:///./src/views/layouts/guards/TeamGuard.vue?6d2f","webpack:///./src/views/layouts/guards/TeamGuard.vue","webpack:///./node_modules/core-js/library/fn/object/define-property.js","webpack:///./node_modules/core-js/library/modules/es6.object.define-property.js","webpack:///./node_modules/@babel/runtime-corejs2/core-js/object/define-property.js","webpack:///./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js","webpack:///./node_modules/core-js/modules/_own-keys.js","webpack:///./node_modules/core-js/modules/es6.string.ends-with.js","webpack:///./node_modules/@babel/runtime-corejs2/helpers/esm/defineProperty.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","team","state","staticClass","_v","attrs","on","activateTeam","_m","_g","$listeners","_s","$t","teamType","isTalentFlowTeam","staticRenderFns","name","components","TeamsDropDown","data","changeTeamOnRouteChange","teamIsLoaded","computed","$store","getters","currentTeam","loading","teams","isLoading","isManager","includes","currentPermissionLevel","permittedRoutes","isTalentFlow","watch","newTeam","oldTeam","switchTeamSetup","newId","oldId","$router","push","currentTeamId","initializeData","checkAuthorization","methods","setupUserPilot","Userpilot","AppActiveUser","staging","window","location","hostname","local","TALENTFLOW_STAGING_APP","TALENTFLOW_PRODUCTION_APP","initialize","DAXTRA_STAGING_APP","DAXTRA_PRODUCTION_APP","identify","id","product","concat","firstName","lastName","username","email","created_at","dateJoined","company","publicName","locale","newTeamId","toString","routeTeamId","$route","params","teamId","isEngageTeam","currentRouteName","routesToRemapToTalentFlow","find","slug","endsWith","newRouteName","replace","route","Object","assign","_objectSpread","query","appLoading","document","getElementById","remove","selectTeam","dispatch","notify","$vs","_this","$http","post","currentUserId","then","catch","error","time","title","text","message","iconPack","icon","color","position","currentRoute","path","hasNoPermissions","length","checkUserName","_this2","user","payload","body","team_id","parseInt","type","_this3","list","created","component","$Object","module","exports","it","key","desc","defineProperty","$export","S","F","f","ownKeys","toIObject","gOPD","createProperty","getOwnPropertyDescriptors","object","O","getDesc","keys","result","i","undefined","gOPN","gOPS","anObject","Reflect","getSymbols","toLength","context","ENDS_WITH","$endsWith","P","searchString","that","endPosition","arguments","len","end","Math","min","search","String","call","slice","_defineProperty","obj","value","enumerable","configurable","writable"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAAGJ,EAAIM,MAA4B,kBAAbN,EAAIM,MAAsBN,EAAIM,KAAKC,OAA4B,WAAnBP,EAAIM,KAAKC,OAAyC,UAAnBP,EAAIM,KAAKC,MAA8YH,EAAG,MAAM,CAACI,YAAY,gEAAgE,CAACJ,EAAG,MAAM,CAACI,YAAY,oCAAoC,CAACJ,EAAG,oBAAoB,GAAuB,aAAnBJ,EAAIM,KAAKC,MAAsBH,EAAG,MAAM,CAACA,EAAG,KAAK,CAACJ,EAAIS,GAAG,mBAAoBT,EAAa,UAAEI,EAAG,MAAM,CAACA,EAAG,MAAM,CAACI,YAAY,yCAAyC,CAACJ,EAAG,IAAI,CAACI,YAAY,QAAQ,CAACR,EAAIS,GAAG,8CAA8CL,EAAG,YAAY,CAACM,MAAM,CAAC,MAAQ,UAAU,KAAO,SAASC,GAAG,CAAC,MAAQX,EAAIY,eAAe,CAACZ,EAAIS,GAAG,yCAAyC,KAAKL,EAAG,IAAI,CAACJ,EAAIS,GAAG,gDAAoE,YAAnBT,EAAIM,KAAKC,MAAqBH,EAAG,MAAM,CAACA,EAAG,KAAK,CAACJ,EAAIS,GAAG,iBAAiBL,EAAG,MAAM,CAACI,YAAY,yCAAyC,CAACJ,EAAG,YAAY,CAACI,YAAY,OAAOE,MAAM,CAAC,KAAO,QAAQ,KAAO,yBAAyB,OAAS,WAAW,CAACN,EAAG,MAAM,CAACI,YAAY,qBAAqB,CAACR,EAAIS,GAAG,0BAA0BL,EAAG,eAAe,CAACI,YAAY,eAAeE,MAA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O,EAAQH,GAC7BJ,EAAKU,MAAMN,EAAMG,EAAOtD,OAAQmD,KAASG,M,kCCjBjD,2DACe,SAASI,EAAgBC,EAAK1C,EAAK2C,GAYhD,OAXI3C,KAAO0C,EACT,IAAuBA,EAAK1C,EAAK,CAC/B2C,MAAOA,EACPC,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZJ,EAAI1C,GAAO2C,EAGND","file":"js/chunk-d55f7e22.73269d1b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.team || typeof _vm.team === 'number' || !_vm.team.state || _vm.team.state === 'active' || _vm.team.state === 'grace')?_c('div',[(_vm.teamIsLoaded)?_c('router-view',_vm._g({},_vm.$listeners)):_c('transition',{attrs:{\"name\":\"app-loader\",\"appear\":\"\"}},[_c('div',{staticClass:\"flex flex-col\"},[_c('vs-progress',{attrs:{\"indeterminate\":\"\"}}),_c('h3',{staticClass:\"text-center mt-4\"},[_vm._v(_vm._s(_vm.$t('common.appIsLoading', {teamType: _vm.isTalentFlowTeam ? 'TalentFlow' : 'Engage'})))])],1)])],1):_c('div',{staticClass:\"w-full h-screen flex items-center justify-center text-center\"},[_c('div',{staticClass:\"absolute right-0 top-0 mr-4 mt-4\"},[_c('teams-drop-down')],1),(_vm.team.state === 'inactive')?_c('div',[_c('h1',[_vm._v(\"Team inactive\")]),(_vm.isManager)?_c('div',[_c('div',{staticClass:\"mt-3 flex justify-center items-center\"},[_c('p',{staticClass:\"mr-5\"},[_vm._v(\"As a manager, you can activate this team\")]),_c('vs-button',{attrs:{\"color\":\"primary\",\"size\":\"small\"},on:{\"click\":_vm.activateTeam}},[_vm._v(\"\\n Activate\\n \")])],1)]):_c('p',[_vm._v(\"Please log in as a manager to enable it.\")])]):(_vm.team.state === 'billing')?_c('div',[_c('h1',[_vm._v(\"Team Locked\")]),_c('div',{staticClass:\"mt-3 flex justify-center items-center\"},[_c('vs-button',{staticClass:\"px-4\",attrs:{\"size\":\"small\",\"href\":\"https://pay.pivotcx.io\",\"target\":\"_blank\"}},[_c('div',{staticClass:\"flex items-center\"},[_vm._v(\"\\n Billing \"),_c('feather-icon',{staticClass:\"w-4 h-4 ml-4\",attrs:{\"icon\":\"ChevronRightIcon\"}})],1)])],1)]):(_vm.team.state === 'locked')?_c('div',[_c('h1',[_vm._v(\"Team Locked\")]),_vm._m(0)]):_c('div',[_c('h1',[_vm._v(\"Invalid team state\")]),_vm._m(1)])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-3 flex justify-center items-center\"},[_c('p',[_vm._v(\"Contact your account representative for more information.\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_vm._v(\"Please contact Daxtra Engage support: \"),_c('a',{attrs:{\"href\":\"mailto:help@pivotcx.io\"}},[_vm._v(\"help@pivotcx.io\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n \n \n \n \n \n \n {{ $t('common.appIsLoading', {teamType: isTalentFlowTeam ? 'TalentFlow' : 'Engage'}) }}\n \n \n \n \n \n \n \n \n Team inactive\n \n \n As a manager, you can activate this team\n \n Activate\n \n \n \n Please log in as a manager to enable it.\n \n \n Team Locked\n \n \n \n Billing \n \n \n \n \n \n Team Locked\n \n Contact your account representative for more information.\n \n \n \n Invalid team state\n Please contact Daxtra Engage support: help@pivotcx.io\n \n \n \n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamGuard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TeamGuard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TeamGuard.vue?vue&type=template&id=51e731b7&\"\nimport script from \"./TeamGuard.vue?vue&type=script&lang=js&\"\nexport * from \"./TeamGuard.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","require('../../modules/es6.object.define-property');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n","module.exports = require(\"core-js/library/fn/object/define-property\");","// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = require('./_export');\nvar ownKeys = require('./_own-keys');\nvar toIObject = require('./_to-iobject');\nvar gOPD = require('./_object-gopd');\nvar createProperty = require('./_create-property');\n\n$export($export.S, 'Object', {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIObject(object);\n var getDesc = gOPD.f;\n var keys = ownKeys(O);\n var result = {};\n var i = 0;\n var key, desc;\n while (keys.length > i) {\n desc = getDesc(O, key = keys[i++]);\n if (desc !== undefined) createProperty(result, key, desc);\n }\n return result;\n }\n});\n","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn');\nvar gOPS = require('./_object-gops');\nvar anObject = require('./_an-object');\nvar Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n var keys = gOPN.f(anObject(it));\n var getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n","// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = require('./_export');\nvar toLength = require('./_to-length');\nvar context = require('./_string-context');\nvar ENDS_WITH = 'endsWith';\nvar $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = context(this, searchString, ENDS_WITH);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);\n var search = String(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n","import _Object$defineProperty from \"@babel/runtime-corejs2/core-js/object/define-property\";\nexport default function _defineProperty(obj, key, value) {\n if (key in obj) {\n _Object$defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}"],"sourceRoot":""}
As a manager, you can activate this team
Please log in as a manager to enable it.
Contact your account representative for more information.
Please contact Daxtra Engage support: help@pivotcx.io