| Server IP : 34.87.99.72 / Your IP : 216.73.217.31 Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 User : bitnami ( 1000) PHP Version : 7.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apache/htdocs/app/public/js/ |
Upload File : |
(self.webpackChunk=self.webpackChunk||[]).push([[548],{6399:(t,e,r)=>{"use strict";r.d(e,{v:()=>o});var o={methods:{errorHandler_:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=this.errorSeparator_(t,e),o=r.a,n=r.b;return Object.keys(n).length>0&&this.alertErrorMessages_(this.computeErrorMessages_(n)),o},errorSeparator_:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r="Something Is Not Right. Please Try Again Later.",o={},n={};if(null==t)this.defaultNotify_(r);else if(t.status&&t.data){var a=t.status,s=t.data;if(422==a){var i=s.errors||s.message;Object.keys(i).forEach((function(t){e.includes(t)?o[t]=i[t]:n[t]=i[t]}))}else r=[400,403].includes(a)?s.message:r,this.defaultNotify_(r)}else console.error(t);return{a:o,b:n}},defaultNotify_:function(t){return this.$toast.warning(t),null},computeErrorMessages_:function(t){var e=Object.keys(t);if(e.length>0){var r=[];return e.forEach((function(e){r.push(t[e][0])})),r}return[]},alertErrorMessages_:function(t){this.$toast.warning(t.join("<br>"))}}}},7753:(t,e,r)=>{"use strict";r.d(e,{S:()=>a});var o=r(361),n=r.n(o),a={data:function(){return{form_dialog_:!1,form_item_:{},form_action_:null}},methods:{emptyModel_:function(){return{}},archiveModel_:function(t){console.log("archiveModel_ :: remember to overwrite me.",t)},newItem_:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.cloneDeep_(t);this.bindAction_("new",e)},editItem_:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.cloneDeep_(t);this.bindAction_("edit",e)},duplicateItem_:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.cloneDeep_(t);this.form_item_.id=null,this.bindAction_("new",e)},bindAction_:function(t,e){this.form_action_=t,this.form_item_=e,this.form_dialog_=!0},confirmArchive_:function(t){var e=this;this.$swal({title:"Are you sure?",text:"You won't be able to revert this!",type:"warning",showCancelButton:!0}).then((function(r){r.value&&e.archiveModel_(t)}))},cloneDeep_:function(t){return n()(t)}}}},5748:(t,e,r)=>{"use strict";r.d(e,{b:()=>o});var o={data:function(){return{view_item_:{},view_dialog_:!1,model_loading_:!1,settings_:{},totalData_:0,resourceData_:{},resourceDataSet_:[],options_:{},filters_:{},sort_:{},search_:{search:null,searchBy:null},isReady:!1}},watch:{settings_:{handler:function(){this.isReady?this.getResourceData_():this.isReady=!0},deep:!0}},methods:{initialize_:function(){this.getResourceData_()},getAllRefs_:function(t){return Promise.allSettled(t)},row_classes_:function(t){if(t.deleted_at)return"grey--text font-italic opacity-7"},searchData_:function(){""==this.search_.search&&(this.search_.search=null),this.settings_.page=1,this.getResourceData_()},getResourceData_:function(){console.log("getResourceData_ :: remember to overwrite me.")},viewMore_:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.view_item_=this.cloneDeep_(t),this.view_dialog_=!0},setPagination_:function(){var t=this.settings_;return{page:t.page,itemsPerPage:t.itemsPerPage}},getActivityRefs_:function(){return[{value:1,text:"Active Only"},{value:0,text:"Archived Only"},{value:2,text:"All"}]},downloadFile_:function(t,e){var r=document.createElement("a");r.setAttribute("download",e),r.setAttribute("href",t),document.body.appendChild(r),r.click(),document.body.removeChild(r)}}}},8552:(t,e,r)=>{var o=r(852)(r(5639),"DataView");t.exports=o},1989:(t,e,r)=>{var o=r(1789),n=r(401),a=r(7667),s=r(1327),i=r(1866);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}c.prototype.clear=o,c.prototype.delete=n,c.prototype.get=a,c.prototype.has=s,c.prototype.set=i,t.exports=c},9423:(t,e,r)=>{var o=r(7040),n=r(4125),a=r(2117),s=r(7518),i=r(4705);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}c.prototype.clear=o,c.prototype.delete=n,c.prototype.get=a,c.prototype.has=s,c.prototype.set=i,t.exports=c},7071:(t,e,r)=>{var o=r(852)(r(5639),"Map");t.exports=o},3369:(t,e,r)=>{var o=r(4785),n=r(1285),a=r(6e3),s=r(9916),i=r(5265);function c(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}c.prototype.clear=o,c.prototype.delete=n,c.prototype.get=a,c.prototype.has=s,c.prototype.set=i,t.exports=c},3818:(t,e,r)=>{var o=r(852)(r(5639),"Promise");t.exports=o},8525:(t,e,r)=>{var o=r(852)(r(5639),"Set");t.exports=o},6384:(t,e,r)=>{var o=r(9423),n=r(7465),a=r(3779),s=r(7599),i=r(4758),c=r(4309);function u(t){var e=this.__data__=new o(t);this.size=e.size}u.prototype.clear=n,u.prototype.delete=a,u.prototype.get=s,u.prototype.has=i,u.prototype.set=c,t.exports=u},1149:(t,e,r)=>{var o=r(5639).Uint8Array;t.exports=o},577:(t,e,r)=>{var o=r(852)(r(5639),"WeakMap");t.exports=o},7412:t=>{t.exports=function(t,e){for(var r=-1,o=null==t?0:t.length;++r<o&&!1!==e(t[r],r,t););return t}},4963:t=>{t.exports=function(t,e){for(var r=-1,o=null==t?0:t.length,n=0,a=[];++r<o;){var s=t[r];e(s,r,t)&&(a[n++]=s)}return a}},4636:(t,e,r)=>{var o=r(2545),n=r(5694),a=r(1469),s=r(4144),i=r(5776),c=r(6719),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=a(t),l=!r&&n(t),p=!r&&!l&&s(t),f=!r&&!l&&!p&&c(t),v=r||l||p||f,d=v?o(t.length,String):[],_=d.length;for(var h in t)!e&&!u.call(t,h)||v&&("length"==h||p&&("offset"==h||"parent"==h)||f&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||i(h,_))||d.push(h);return d}},2488:t=>{t.exports=function(t,e){for(var r=-1,o=e.length,n=t.length;++r<o;)t[n+r]=e[r];return t}},4865:(t,e,r)=>{var o=r(9465),n=r(7813),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var s=t[e];a.call(t,e)&&n(s,r)&&(void 0!==r||e in t)||o(t,e,r)}},8470:(t,e,r)=>{var o=r(7813);t.exports=function(t,e){for(var r=t.length;r--;)if(o(t[r][0],e))return r;return-1}},4037:(t,e,r)=>{var o=r(8363),n=r(3674);t.exports=function(t,e){return t&&o(e,n(e),t)}},3886:(t,e,r)=>{var o=r(8363),n=r(1704);t.exports=function(t,e){return t&&o(e,n(e),t)}},9465:(t,e,r)=>{var o=r(8777);t.exports=function(t,e,r){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},5990:(t,e,r)=>{var o=r(6384),n=r(7412),a=r(4865),s=r(4037),i=r(3886),c=r(4626),u=r(278),l=r(8805),p=r(1911),f=r(8234),v=r(6904),d=r(4160),_=r(3824),h=r(9148),b=r(8517),y=r(1469),x=r(4144),g=r(6688),j=r(3218),m=r(2928),w=r(3674),A=r(1704),O="[object Arguments]",S="[object Function]",D="[object Object]",P={};P[O]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P[D]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P[S]=P["[object WeakMap]"]=!1,t.exports=function t(e,r,k,z,U,M){var E,I=1&r,R=2&r,B=4&r;if(k&&(E=U?k(e,z,U,M):k(e)),void 0!==E)return E;if(!j(e))return e;var C=y(e);if(C){if(E=_(e),!I)return u(e,E)}else{var F=d(e),$=F==S||"[object GeneratorFunction]"==F;if(x(e))return c(e,I);if(F==D||F==O||$&&!U){if(E=R||$?{}:b(e),!I)return R?p(e,i(E,e)):l(e,s(E,e))}else{if(!P[F])return U?e:{};E=h(e,F,I)}}M||(M=new o);var L=M.get(e);if(L)return L;M.set(e,E),m(e)?e.forEach((function(o){E.add(t(o,r,k,o,e,M))})):g(e)&&e.forEach((function(o,n){E.set(n,t(o,r,k,n,e,M))}));var T=C?void 0:(B?R?v:f:R?A:w)(e);return n(T||e,(function(o,n){T&&(o=e[n=o]),a(E,n,t(o,r,k,n,e,M))})),E}},3118:(t,e,r)=>{var o=r(3218),n=Object.create,a=function(){function t(){}return function(e){if(!o(e))return{};if(n)return n(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=a},8866:(t,e,r)=>{var o=r(2488),n=r(1469);t.exports=function(t,e,r){var a=e(t);return n(t)?a:o(a,r(t))}},9454:(t,e,r)=>{var o=r(4239),n=r(7005);t.exports=function(t){return n(t)&&"[object Arguments]"==o(t)}},5588:(t,e,r)=>{var o=r(4160),n=r(7005);t.exports=function(t){return n(t)&&"[object Map]"==o(t)}},8458:(t,e,r)=>{var o=r(3560),n=r(7724),a=r(3218),s=r(346),i=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,p=u.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||n(t))&&(o(t)?f:i).test(s(t))}},9221:(t,e,r)=>{var o=r(4160),n=r(7005);t.exports=function(t){return n(t)&&"[object Set]"==o(t)}},8749:(t,e,r)=>{var o=r(4239),n=r(1780),a=r(7005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&n(t.length)&&!!s[o(t)]}},280:(t,e,r)=>{var o=r(5726),n=r(6916),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!o(t))return n(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},313:(t,e,r)=>{var o=r(3218),n=r(5726),a=r(3498),s=Object.prototype.hasOwnProperty;t.exports=function(t){if(!o(t))return a(t);var e=n(t),r=[];for(var i in t)("constructor"!=i||!e&&s.call(t,i))&&r.push(i);return r}},2545:t=>{t.exports=function(t,e){for(var r=-1,o=Array(t);++r<t;)o[r]=e(r);return o}},1717:t=>{t.exports=function(t){return function(e){return t(e)}}},4318:(t,e,r)=>{var o=r(1149);t.exports=function(t){var e=new t.constructor(t.byteLength);return new o(e).set(new o(t)),e}},4626:(t,e,r)=>{t=r.nmd(t);var o=r(5639),n=e&&!e.nodeType&&e,a=n&&t&&!t.nodeType&&t,s=a&&a.exports===n?o.Buffer:void 0,i=s?s.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,o=i?i(r):new t.constructor(r);return t.copy(o),o}},7157:(t,e,r)=>{var o=r(4318);t.exports=function(t,e){var r=e?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},3147:t=>{var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},419:(t,e,r)=>{var o=r(2705),n=o?o.prototype:void 0,a=n?n.valueOf:void 0;t.exports=function(t){return a?Object(a.call(t)):{}}},7133:(t,e,r)=>{var o=r(4318);t.exports=function(t,e){var r=e?o(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},278:t=>{t.exports=function(t,e){var r=-1,o=t.length;for(e||(e=Array(o));++r<o;)e[r]=t[r];return e}},8363:(t,e,r)=>{var o=r(4865),n=r(9465);t.exports=function(t,e,r,a){var s=!r;r||(r={});for(var i=-1,c=e.length;++i<c;){var u=e[i],l=a?a(r[u],t[u],u,r,t):void 0;void 0===l&&(l=t[u]),s?n(r,u,l):o(r,u,l)}return r}},8805:(t,e,r)=>{var o=r(8363),n=r(9551);t.exports=function(t,e){return o(t,n(t),e)}},1911:(t,e,r)=>{var o=r(8363),n=r(1442);t.exports=function(t,e){return o(t,n(t),e)}},4429:(t,e,r)=>{var o=r(5639)["__core-js_shared__"];t.exports=o},8777:(t,e,r)=>{var o=r(852),n=function(){try{var t=o(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=n},8234:(t,e,r)=>{var o=r(8866),n=r(9551),a=r(3674);t.exports=function(t){return o(t,a,n)}},6904:(t,e,r)=>{var o=r(8866),n=r(1442),a=r(1704);t.exports=function(t){return o(t,a,n)}},5050:(t,e,r)=>{var o=r(7019);t.exports=function(t,e){var r=t.__data__;return o(e)?r["string"==typeof e?"string":"hash"]:r.map}},852:(t,e,r)=>{var o=r(8458),n=r(7801);t.exports=function(t,e){var r=n(t,e);return o(r)?r:void 0}},5924:(t,e,r)=>{var o=r(5569)(Object.getPrototypeOf,Object);t.exports=o},9551:(t,e,r)=>{var o=r(4963),n=r(479),a=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,i=s?function(t){return null==t?[]:(t=Object(t),o(s(t),(function(e){return a.call(t,e)})))}:n;t.exports=i},1442:(t,e,r)=>{var o=r(2488),n=r(5924),a=r(9551),s=r(479),i=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)o(e,a(t)),t=n(t);return e}:s;t.exports=i},4160:(t,e,r)=>{var o=r(8552),n=r(7071),a=r(3818),s=r(8525),i=r(577),c=r(4239),u=r(346),l="[object Map]",p="[object Promise]",f="[object Set]",v="[object WeakMap]",d="[object DataView]",_=u(o),h=u(n),b=u(a),y=u(s),x=u(i),g=c;(o&&g(new o(new ArrayBuffer(1)))!=d||n&&g(new n)!=l||a&&g(a.resolve())!=p||s&&g(new s)!=f||i&&g(new i)!=v)&&(g=function(t){var e=c(t),r="[object Object]"==e?t.constructor:void 0,o=r?u(r):"";if(o)switch(o){case _:return d;case h:return l;case b:return p;case y:return f;case x:return v}return e}),t.exports=g},7801:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},1789:(t,e,r)=>{var o=r(4536);t.exports=function(){this.__data__=o?o(null):{},this.size=0}},401:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:(t,e,r)=>{var o=r(4536),n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(o){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return n.call(e,t)?e[t]:void 0}},1327:(t,e,r)=>{var o=r(4536),n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return o?void 0!==e[t]:n.call(e,t)}},1866:(t,e,r)=>{var o=r(4536);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=o&&void 0===e?"__lodash_hash_undefined__":e,this}},3824:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,o=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(o.index=t.index,o.input=t.input),o}},9148:(t,e,r)=>{var o=r(4318),n=r(7157),a=r(3147),s=r(419),i=r(7133);t.exports=function(t,e,r){var c=t.constructor;switch(e){case"[object ArrayBuffer]":return o(t);case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return n(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return i(t,r);case"[object Map]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return a(t);case"[object Set]":return new c;case"[object Symbol]":return s(t)}}},8517:(t,e,r)=>{var o=r(3118),n=r(5924),a=r(5726);t.exports=function(t){return"function"!=typeof t.constructor||a(t)?{}:o(n(t))}},5776:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var o=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==o||"symbol"!=o&&e.test(t))&&t>-1&&t%1==0&&t<r}},7019:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},7724:(t,e,r)=>{var o,n=r(4429),a=(o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";t.exports=function(t){return!!a&&a in t}},5726:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},7040:t=>{t.exports=function(){this.__data__=[],this.size=0}},4125:(t,e,r)=>{var o=r(8470),n=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=o(e,t);return!(r<0)&&(r==e.length-1?e.pop():n.call(e,r,1),--this.size,!0)}},2117:(t,e,r)=>{var o=r(8470);t.exports=function(t){var e=this.__data__,r=o(e,t);return r<0?void 0:e[r][1]}},7518:(t,e,r)=>{var o=r(8470);t.exports=function(t){return o(this.__data__,t)>-1}},4705:(t,e,r)=>{var o=r(8470);t.exports=function(t,e){var r=this.__data__,n=o(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}},4785:(t,e,r)=>{var o=r(1989),n=r(9423),a=r(7071);t.exports=function(){this.size=0,this.__data__={hash:new o,map:new(a||n),string:new o}}},1285:(t,e,r)=>{var o=r(5050);t.exports=function(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}},6e3:(t,e,r)=>{var o=r(5050);t.exports=function(t){return o(this,t).get(t)}},9916:(t,e,r)=>{var o=r(5050);t.exports=function(t){return o(this,t).has(t)}},5265:(t,e,r)=>{var o=r(5050);t.exports=function(t,e){var r=o(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}},4536:(t,e,r)=>{var o=r(852)(Object,"create");t.exports=o},6916:(t,e,r)=>{var o=r(5569)(Object.keys,Object);t.exports=o},3498:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},1167:(t,e,r)=>{t=r.nmd(t);var o=r(1957),n=e&&!e.nodeType&&e,a=n&&t&&!t.nodeType&&t,s=a&&a.exports===n&&o.process,i=function(){try{var t=a&&a.require&&a.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=i},5569:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},7465:(t,e,r)=>{var o=r(9423);t.exports=function(){this.__data__=new o,this.size=0}},3779:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},7599:t=>{t.exports=function(t){return this.__data__.get(t)}},4758:t=>{t.exports=function(t){return this.__data__.has(t)}},4309:(t,e,r)=>{var o=r(9423),n=r(7071),a=r(3369);t.exports=function(t,e){var r=this.__data__;if(r instanceof o){var s=r.__data__;if(!n||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(t,e),this.size=r.size,this}},346:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},361:(t,e,r)=>{var o=r(5990);t.exports=function(t){return o(t,5)}},7813:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},5694:(t,e,r)=>{var o=r(9454),n=r(7005),a=Object.prototype,s=a.hasOwnProperty,i=a.propertyIsEnumerable,c=o(function(){return arguments}())?o:function(t){return n(t)&&s.call(t,"callee")&&!i.call(t,"callee")};t.exports=c},1469:t=>{var e=Array.isArray;t.exports=e},8612:(t,e,r)=>{var o=r(3560),n=r(1780);t.exports=function(t){return null!=t&&n(t.length)&&!o(t)}},4144:(t,e,r)=>{t=r.nmd(t);var o=r(5639),n=r(5062),a=e&&!e.nodeType&&e,s=a&&t&&!t.nodeType&&t,i=s&&s.exports===a?o.Buffer:void 0,c=(i?i.isBuffer:void 0)||n;t.exports=c},1780:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},6688:(t,e,r)=>{var o=r(5588),n=r(1717),a=r(1167),s=a&&a.isMap,i=s?n(s):o;t.exports=i},7005:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},2928:(t,e,r)=>{var o=r(9221),n=r(1717),a=r(1167),s=a&&a.isSet,i=s?n(s):o;t.exports=i},6719:(t,e,r)=>{var o=r(8749),n=r(1717),a=r(1167),s=a&&a.isTypedArray,i=s?n(s):o;t.exports=i},3674:(t,e,r)=>{var o=r(4636),n=r(280),a=r(8612);t.exports=function(t){return a(t)?o(t):n(t)}},1704:(t,e,r)=>{var o=r(4636),n=r(313),a=r(8612);t.exports=function(t){return a(t)?o(t,!0):n(t)}},479:t=>{t.exports=function(){return[]}},5062:t=>{t.exports=function(){return!1}},8548:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>i});var o=r(5748),n=r(7753),a=r(6399);const s={components:{},mixins:[o.b,n.S,a.v],data:function(){return{table_headers:[{text:"#",value:"id"},{text:"Name",value:"name"},{text:"Download",value:"download",class:"text-center"}],show_statistics:!1,view_module:!1}},created:function(){this.initialize_()},methods:{getResourceData_:function(){this.resourceDataSet_=[{id:1,name:"User (All)",download:"exportUserList",payload:{}},{id:2,name:"User (Partner)",download:"exportUserList",payload:{role_id:2}},{id:3,name:"User (Customer)",download:"exportUserList",payload:{role_id:1}},{id:4,name:"Locker",download:"exportLockerList",payload:{}},{id:5,name:"Booking History",download:"exportBoxInventoryOverviewList",payload:{}}]},download:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};console.log(this.resourceDataSet_);var o=this.$api[t](r);this.model_loading_=!0,o.then((function(t){var r=t.data.result;e.downloadFile_(r.fileUrl,r.fileName)})).catch((function(t){e.errorHandler_(t)})).finally((function(){e.model_loading_=!1}))}}};const i=(0,r(1900).Z)(s,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-container",[r("v-row",{attrs:{align:"end"}},[r("v-col",[r("div",{staticClass:"headline font-weight-bold"},[t._v("Report")]),t._v(" "),r("div",{staticClass:"subtitle-2 grey--text"},[t._v("Reports that can be generated by the system.")])])],1),t._v(" "),r("v-card",{staticClass:"mt-4",attrs:{color:"transparent",flat:""}},[r("v-data-table",{ref:"dataTable",class:t.view_module?"row-gap":"",attrs:{headers:t.table_headers,items:t.resourceDataSet_,"footer-props":{"items-per-page-options":[5,10,25,50]},loading:t.model_loading_,"disable-sort":"","hide-default-header":t.view_module,"item-class":t.row_classes_},scopedSlots:t._u([t.view_module?{key:"body",fn:function(e){var o=e.items,n=e.headers;return[r("td",{attrs:{colspan:n.length}},[r("v-row",{staticClass:"ma-0",attrs:{dense:""}},t._l(o,(function(t){return r("v-col",{key:t.id,attrs:{cols:"12",sm:"6",md:"4",lg:"3"}})})),1)],1)]}}:null,{key:"item.download",fn:function(e){var o=e.item;return[r("v-btn",{attrs:{icon:"",small:""},on:{click:function(e){return t.download(o.download,o.payload)}}},[r("v-icon",{attrs:{small:""}},[t._v("mdi-download")])],1)]}}],null,!0)})],1)],1)}),[],!1,null,null,null).exports}}]);