1(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["chunk-2d0de536"],{"84bf":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;return e("b-container",[e("h4",{staticClass:"my-4"},[t._v("Impersonate")]),e("div",{staticStyle:{"min-height":"400px"}},[e("b-table",{ref:"table",attrs:{striped:"",items:t.fetchList,"current-page":t.pagination.page,fields:t.fields,busy:t.loading,"table-class":"user-list",outlined:"","head-variant":"light","show-empty":!0,"sort-by":t.sorting.column,"sort-desc":t.sorting.asc},on:{"update:busy":function(e){t.loading=e}},scopedSlots:t._u([{key:"empty",fn:function(n){return[e("div",{staticClass:"text-center m-5"},[t._v("No results")])]}},{key:"top-row",fn:function(n){return t._l(n.fields,(function(n){return e("td",{key:n.key},[n.filterable?e("b-input",{attrs:{placeholder:n.label},on:{change:t.updateFilter},model:{value:t.filters[n.key],callback:function(e){t.$set(t.filters,n.key,e)},expression:"filters[field.key]"}}):t._e()],1)}))}},{key:"cell(actions)",fn:function(n){return[e("b-button",{attrs:{variant:"success",size:"sm"},on:{click:function(e){return t.onImpersonate(n.item)}}},[t._v("Impersonate")])]}}])})],1),e("b-pagination",{class:"user-pagination",attrs:{"total-rows":t.pagination.total,"per-page":t.pagination.page_size,"aria-controls":"my-table"},model:{value:t.pagination.page,callback:function(e){t.$set(t.pagination,"page",e)},expression:"pagination.page"}})],1)},i=[],o=n("2f62");function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function s(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var s=r&&r.prototype instanceof u?r:u,l=Object.create(s.prototype);return c(l,"_invoke",function(n,r,i){var o,s,c,u=0,l=i||[],f=!1,p={p:0,n:0,v:t,a:b,f:b.bind(t,4),d:function(e,n){return o=e,s=0,c=t,p.n=n,a}};function b(n,r){for(s=n,c=r,e=0;!f&&u&&!i&&e<l.length;e++){var i,o=l[e],b=p.p,y=o[2];n>3?(i=y===r)&&(c=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=t):o[0]<=b&&((i=n<2&&b<o[1])?(s=0,p.v=r,p.n=o[1]):b<y&&(i=n<3||o[0]>r||r>y)&&(o[4]=n,o[5]=r,p.n=y,s=0))}if(i||n>1)return a;throw f=!0,r}return function(i,l,y){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&b(l,y),s=l,c=y;(e=s<2?t:c)||!f;){o||(s?s<3?(s>1&&(p.n=-1),b(s,c)):p.n=c:p.v=c);try{if(u=2,o){if(s||(i="next"),e=o[i]){if(!(e=e.call(o,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,s<2&&(s=0)}else 1===s&&(e=o.return)&&e.call(o),s<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),s=1);o=t}else if((e=(f=p.n<0)?c:n.call(r,p))!==a)break}catch(e){o=t,s=1,c=e}finally{u=1}}return{value:e,done:f}}}(n,i,o),!0),l}var a={};function u(){}function l(){}function f(){}e=Object.getPrototypeOf;var p=[][r]?e(e([][r]())):(c(e={},r,(function(){return this})),e),b=f.prototype=u.prototype=Object.create(p);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,i,"GeneratorFunction")),t.prototype=Object.create(b),t}return l.prototype=f,c(b,"constructor",f),c(f,"constructor",l),l.displayName="GeneratorFunction",c(f,i,"GeneratorFunction"),c(b),c(b,i,"Generator"),c(b,r,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),(s=function(){return{w:o,m:y}})()}function c(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}c=function(t,e,n,r){function o(e,n){c(t,e,(function(t){return this._invoke(e,n,t)}))}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},c(t,e,n,r)}function u(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function l(t){return function(){var e=this,n=arguments;
1return new Promise((function(r,i){var o=t.apply(e,n);function a(t){u(o,r,i,a,s,"next",t)}function s(t){u(o,r,i,a,s,"throw",t)}a(void 0)}))}}function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){b(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function b(t,e,n){return(e=y(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function y(t){var e=g(t,"string");return"symbol"==a(e)?e:e+""}function g(t,e){if("object"!=a(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var m={name:"Users",data:function(){return{loading:!1,fields:[{key:"id",label:"ID"},{key:"first_name",label:"First name",sortable:!0,filterable:!0},{key:"last_name",label:"Last name",sortable:!0,filterable:!0},{key:"email",label:"Email",sortable:!0,filterable:!0},{key:"actions",label:""}],filters:{first_name:"",last_name:"",email:""},pagination:{page:1,page_size:20,total:0},sorting:{column:"email",asc:!0}}},methods:p(p({},Object(o["b"])("impersonate",["fetchUsersList","impersonate"])),{},{updateFilter:function(){this.$refs.table.refresh()},fetchList:function(){var t=l(s().m((function t(e){var n,r;return s().w((function(t){while(1)switch(t.n){case 0:return this.loading=!0,n={filters:this.filters,pagination:{page_size:20,page:e.currentPage},sorting:{column:e.sortBy,asc:e.sortDesc}},t.n=1,this.fetchUsersList(n);case 1:return r=t.v,this.loading=!1,this.pagination.total=r.pagination.total,this.pagination.page_size=r.pagination.page_size,this.pagination.page=r.pagination.page,t.a(2,r.results)}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),onImpersonate:function(){var t=l(s().m((function t(e){return s().w((function(t){while(1)switch(t.n){case 0:return t.n=1,this.impersonate(e);case 1:return t.n=2,this.$router.push({name:"checkins-list"});case 2:return t.a(2)}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()})},h=m,v=n("2877"),d=Object(v["a"])(h,r,i,!1,null,null,null);e["default"]=d.exports}}]); 2//# sourceMappingURL=chunk-2d0de536.7cfdcb78.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.