{"size": 52926, "ext": "js", "max_stars_repo_path": "dist/js/app.c03e5a08.js", "max_stars_repo_name": "CS3022-Group-13/frontend-app", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "dist/js/app.c03e5a08.js", "max_issues_repo_name": "CS3022-Group-13/frontend-app", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "dist/js/app.c03e5a08.js", "max_forks_repo_name": "CS3022-Group-13/frontend-app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26463.0, "max_line_length": 52885, "alphanum_fraction": 0.674299966}
(function(e){function t(t){for(var n,r,o=t[0],c=t[1],u=t[2],l=0,p=[];l<o.length;l++)r=o[l],Object.prototype.hasOwnProperty.call(s,r)&&s[r]&&p.push(s[r][0]),s[r]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);m&&m(t);while(p.length)p.shift()();return i.push.apply(i,u||[]),a()}function a(){for(var e,t=0;t<i.length;t++){for(var a=i[t],n=!0,r=1;r<a.length;r++){var o=a[r];0!==s[o]&&(n=!1)}n&&(i.splice(t--,1),e=c(c.s=a[0]))}return e}var n={},r={app:0},s={app:0},i=[];function o(e){return c.p+"js/"+({"complaint~user~web-app":"complaint~user~web-app",complaint:"complaint",user:"user","web-app":"web-app"}[e]||e)+"."+{"complaint~user~web-app":"162a1911",complaint:"7743760b",user:"48fb168b","web-app":"0ebd7dce"}[e]+".js"}function c(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,c),a.l=!0,a.exports}c.e=function(e){var t=[],a={"complaint~user~web-app":1,user:1,"web-app":1};r[e]?t.push(r[e]):0!==r[e]&&a[e]&&t.push(r[e]=new Promise((function(t,a){for(var n="css/"+({"complaint~user~web-app":"complaint~user~web-app",complaint:"complaint",user:"user","web-app":"web-app"}[e]||e)+"."+{"complaint~user~web-app":"48c84315",complaint:"31d6cfe0",user:"63a31c10","web-app":"1d8f1273"}[e]+".css",s=c.p+n,i=document.getElementsByTagName("link"),o=0;o<i.length;o++){var u=i[o],l=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(l===n||l===s))return t()}var p=document.getElementsByTagName("style");for(o=0;o<p.length;o++){u=p[o],l=u.getAttribute("data-href");if(l===n||l===s)return t()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.onload=t,m.onerror=function(t){var n=t&&t.target&&t.target.src||s,i=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=n,delete r[e],m.parentNode.removeChild(m),a(i)},m.href=s;var d=document.getElementsByTagName("head")[0];d.appendChild(m)})).then((function(){r[e]=0})));var n=s[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,a){n=s[e]=[t,a]}));t.push(n[2]=i);var u,l=document.createElement("script");l.charset="utf-8",l.timeout=120,c.nc&&l.setAttribute("nonce",c.nc),l.src=o(e);var p=new Error;u=function(t){l.onerror=l.onload=null,clearTimeout(m);var a=s[e];if(0!==a){if(a){var n=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;p.message="Loading chunk "+e+" failed.\n("+n+": "+r+")",p.name="ChunkLoadError",p.type=n,p.request=r,a[1](p)}s[e]=void 0}};var m=setTimeout((function(){u({type:"timeout",target:l})}),12e4);l.onerror=l.onload=u,document.head.appendChild(l)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,a){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(c.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(a,n,function(t){return e[t]}.bind(null,n));return a},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var p=0;p<u.length;p++)t(u[p]);var m=l;i.push([0,"chunk-vendors"]),a()})({0:function(e,t,a){e.exports=a("cd49")},"034f":function(e,t,a){"use strict";var n=a("85ec"),r=a.n(n);r.a},"0613":function(e,t,a){"use strict";var n=a("2b0e"),r=a("2f62"),s=a("9ab4"),i=a("79f6"),o={userData:{role:""}},c={isAuth:function(e){return""!=e.userData.role},getOffice:function(e){return e.userData.office},getRole:function(e){return e.userData&&e.userData.role?e.userData.role:"None"}},u={SET_USER_DATA:function(e,t){e.userData=t},CLEAR_USER_DATA:function(e){e.userData={role:""}},SET_TOKEN:function(e,t){e.token=t}},l={login:function(e,t){return Object(s["a"])(this,void 0,void 0,(function(){var a,n,r;return Object(s["b"])(this,(function(s){switch(s.label){case 0:return[4,i["a"].user.login(t.username,t.password)];case 1:return a=s.sent(),n=a[0],r=a[1],200!==r.code?[3,5]:[4,e.commit("SET_USER_DATA",n.userData)];case 2:return s.sent(),[4,e.commit("SET_TOKEN",n.token)];case 3:return s.sent(),[4,e.dispatch("setLocalStorage")];case 4:s.sent(),i["a"].token.set(n.token),s.label=5;case 5:return[2,r]}}))}))},loadLocalStorage:function(e){return Object(s["a"])(this,void 0,void 0,(function(){var t,a;return Object(s["b"])(this,(function(n){switch(n.label){case 0:return""!=e.state.userData.role?[2]:[4,sessionStorage.getItem("token")];case 1:return t=n.sent(),[4,sessionStorage.getItem("userData")];case 2:return a=n.sent(),t&&a?[4,e.commit("SET_USER_DATA",JSON.parse(a))]:[3,5];case 3:return n.sent(),[4,e.commit("SET_TOKEN",t)];case 4:return n.sent(),i["a"].token.set(t),[3,7];case 5:return[4,sessionStorage.clear()];case 6:n.sent(),n.label=7;case 7:return[2]}}))}))},setLocalStorage:function(e){return Object(s["a"])(this,void 0,void 0,(function(){var t,a,n;return Object(s["b"])(this,(function(r){switch(r.label){case 0:return[4,sessionStorage.clear()];case 1:return r.sent(),t=e.state,a=t.token,n=t.userData,a&&n?[4,sessionStorage.setItem("token",a)]:[3,4];case 2:return r.sent(),[4,sessionStorage.setItem("userData",JSON.stringify(n))];case 3:r.sent(),r.label=4;case 4:return[2]}}))}))},logout:function(e){return Object(s["a"])(this,void 0,void 0,(function(){return Object(s["b"])(this,(function(t){return e.commit("CLEAR_USER_DATA"),i["a"].token.remove(),sessionStorage.clear(),[2]}))}))}},p={namespaced:!0,state:o,mutations:u,getters:c,actions:l},m={divisions:[],gn_offices:[],roles:[],comTypes:[],comStates:[]},d={getNameOnly_Divisions:function(e){for(var t=[],a=0;a<e.divisions.length;a++)t.push(e.divisions[a].name);return t},getNameOnly_GnOffices:function(e){for(var t=[],a=0;a<e.gn_offices.length;a++)t.push(e.gn_offices[a].name);return t},getNameOnly_UserRoles:function(e){for(var t=[],a=0;a<e.roles.length;a++)t.push(e.roles[a].role);return t},getNameOnly_ComStates:function(e){for(var t=[],a=0;a<e.comStates.length;a++)t.push(e.comStates[a].state);return t},getNameOnly_ComTypes:function(e){for(var t=[],a=0;a<e.comTypes.length;a++)t.push(e.comTypes[a].type);return t}},v={ADD_DIVISION:function(e,t){e.divisions.push(t)},ADD_GN_OFFICE:function(e,t){e.gn_offices.push(t)},REMOVE_DIVISION:function(e,t){e.divisions=e.divisions.filter((function(e){return e.name!==t.name}))},REMOVE_GN_OFFICE:function(e,t){e.gn_offices=e.gn_offices.filter((function(e){return e.name!==t.name}))}},b={addDivision:function(e,t){return Object(s["a"])(this,void 0,void 0,(function(){var a;return Object(s["b"])(this,(function(n){switch(n.label){case 0:return[4,i["a"].util.addDivision(t.name,t.address)];case 1:return a=n.sent(),200===a.code&&e.commit("ADD_DIVISION",t),[2,a]}}))}))},addGNOffice:function(e,t){return Object(s["a"])(this,void 0,void 0,(function(){var a;return Object(s["b"])(this,(function(n){switch(n.label){case 0:return[4,i["a"].util.addGNOffice(t.name,t.address)];case 1:return a=n.sent(),200===a.code&&e.commit("ADD_GN_OFFICE",t),[2,a]}}))}))},removeDivision:function(e,t){return Object(s["a"])(this,void 0,void 0,(function(){var a;return Object(s["b"])(this,(function(n){switch(n.label){case 0:return[4,i["a"].util.deleteDivision(t.name)];case 1:return a=n.sent(),200===a.code&&e.commit("REMOVE_DIVISION",t),[2,a]}}))}))},removeGNOffice:function(e,t){return Object(s["a"])(this,void 0,void 0,(function(){var a;return Object(s["b"])(this,(function(n){switch(n.label){case 0:return[4,i["a"].util.deleteGNOffice(t.name)];case 1:return a=n.sent(),200===a.code&&e.commit("REMOVE_GN_OFFICE",t),[2,a]}}))}))},loadDivisions:function(e){return Object(s["a"])(this,void 0,void 0,(function(){var t,a,n;return Object(s["b"])(this,(function(r){switch(r.label){case 0:return[4,i["a"].util.getAllDivisions()];case 1:return t=r.sent(),a=t[0],n=t[1],200===n.code&&(e.state.divisions=a),[2,n]}}))}))},loadGNOffices:function(e){return Object(s["a"])(this,void 0,void 0,(function(){var t,a,n;return Object(s["b"])(this,(function(r){switch(r.label){case 0:return[4,i["a"].util.getAllGNOffices()];case 1:return t=r.sent(),a=t[0],n=t[1],200===n.code&&(e.state.gn_offices=a),[2,n]}}))}))},loadUserRoles:function(e){return Object(s["a"])(this,void 0,void 0,(function(){var t,a,n;return Object(s["b"])(this,(function(r){switch(r.label){case 0:return[4,i["a"].util.getAllUserRoles()];case 1:return t=r.sent(),a=t[0],n=t[1],200===n.code&&(e.state.roles=a),[2,n]}}))}))},loadComStates:function(e){return Object(s["a"])(this,void 0,void 0,(function(){var t,a,n;return Object(s["b"])(this,(function(r){switch(r.label){case 0:return[4,i["a"].util.getAllComStates()];case 1:return t=r.sent(),a=t[0],n=t[1],200===n.code&&(e.state.comStates=a),[2,n]}}))}))},loadComTypes:function(e){return Object(s["a"])(this,void 0,void 0,(function(){var t,a,n;return Object(s["b"])(this,(function(r){switch(r.label){case 0:return[4,i["a"].util.getAllComTypes()];case 1:return t=r.sent(),a=t[0],n=t[1],200===n.code&&(e.state.comTypes=a),[2,n]}}))}))},loadAll:function(e){return Object(s["a"])(this,void 0,void 0,(function(){var t,a,n;return Object(s["b"])(this,(function(r){switch(r.label){case 0:t=["loadDivisions","loadGNOffices","loadUserRoles","loadComStates","loadComTypes"],n=0,r.label=1;case 1:return n<t.length?[4,e.dispatch(""+t[n])]:[3,4];case 2:if(a=r.sent(),200!==a.code)return[2,a];r.label=3;case 3:return n++,[3,1];case 4:return[2,a]}}))}))}},f={namespaced:!0,state:m,getters:d,mutations:v,actions:b},h={showMessage:!1,message:{text:"Welcome",type:"info"}},g={SHOW_MSG:function(e,t){e.showMessage=!1,e.message.type=t.type||"info",e.message.text=t.text||"Message",e.showMessage=!0}},w={namespaced:!0,state:h,mutations:g};n["a"].use(r["a"]);t["a"]=new r["a"].Store({modules:{user:p,utils:f,app:w}})},"0c92":function(e,t,a){"use strict";var n=a("6f95"),r=a.n(n);r.a},6797:function(e,t,a){e.exports=a.p+"img/gov-logo.8cb5164e.svg"},"67ae":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-tooltip",{attrs:{right:""},scopedSlots:e._u([{key:"activator",fn:function(t){var n=t.on,r=t.attrs;return[a("v-btn",e._g(e._b({staticClass:"logo",attrs:{absolute:"",color:"secondary",to:"/"}},"v-btn",r,!1),n),[a("v-icon",{attrs:{color:"black"}},[e._v("mdi-home")]),a("span",{staticClass:"ml-2 text"},[e._v("Home")])],1)]}}])},[a("span",[e._v("Visit Home Page")])])},r=[],s={name:"HomeButton"},i=s,o=(a("0c92"),a("2877")),c=a("6544"),u=a.n(c),l=a("8336"),p=a("132d"),m=a("3a2f"),d=Object(o["a"])(i,n,r,!1,null,"5ef7649f",null);t["a"]=d.exports;u()(d,{VBtn:l["a"],VIcon:p["a"],VTooltip:m["a"]})},"6f95":function(e,t,a){},"79f6":function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var n=a("9ab4"),r=a("bc3a"),s=a.n(r),i="http://ec2-100-25-45-111.compute-1.amazonaws.com:8000",o=function(){function e(){var e=this;this.get=function(t,a){return void 0===a&&(a=void 0),e.conn.get(t,{params:a})},this.post=function(t,a,n){return void 0===a&&(a=void 0),void 0===n&&(n=void 0),e.conn.post(t,a,{params:n})},this.put=function(t,a,n){return void 0===a&&(a=void 0),void 0===n&&(n=void 0),e.conn.put(t,a,{params:n})},this.post_file=function(t,a){return e.conn.post(t,a,{headers:{"Content-Type":"multipart/form-data"}})},this.get_file=function(t){return e.conn.get(t,{responseType:"blob"})},this.conn=s.a.create({baseURL:i,timeout:1e4,headers:{}})}return e.prototype.enableAuth=function(e){this.conn.defaults.headers.Authorization="Bearer "+e},e.prototype.removeAuth=function(){delete this.conn.defaults.headers.Authorization},e.instance=new e,e}(),c=o.instance;function u(e){return e&&e.status?{code:e.status,message:e.data.message}:{code:408,message:"Check your connection!"}}var l={checkUsername:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.get("api/user/check-username/"+e)];case 1:return t=n.sent(),[2,[t.data.data,u(t)]];case 2:return a=n.sent(),[2,[a.response.data.data,u(a.response)]];case 3:return[2]}}))}))},register:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.post("api/user/register",e)];case 1:return t=n.sent(),[2,[t.data.data,u(t)]];case 2:return a=n.sent(),[2,[a.response.data.data,u(a.response)]];case 3:return[2]}}))}))},login:function(e,t){return Object(n["a"])(this,void 0,Promise,(function(){var a,r,s,i,o;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.post("api/user/login",{username:e,password:t})];case 1:return a=n.sent(),r=a.data,s=r.token,i=r.data,[2,[{token:s,userData:i},u(a)]];case 2:return o=n.sent(),[2,[null,u(o.response)]];case 3:return[2]}}))}))},getUser:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var e,t;return Object(n["b"])(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,c.get("api/user/get-user")];case 1:return e=a.sent(),[2,[e.data.data,u(e)]];case 2:return t=a.sent(),[2,[null,u(t.response)]];case 3:return[2]}}))}))},updateUser:function(e,t){return Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/user/update-user/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},updateCredentials:function(e,t){return Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/user/update-credential/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},verifyUser:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/user/verify-user/"+e)];case 1:return t=n.sent(),[2,u(t)];case 2:return a=n.sent(),[2,u(a.response)];case 3:return[2]}}))}))},disableUser:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/user/disable-user/"+e)];case 1:return t=n.sent(),[2,u(t)];case 2:return a=n.sent(),[2,u(a.response)];case 3:return[2]}}))}))}},p={addDivision:function(e,t){return Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.post("api/util/add-div",{name:e,address:t})];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},addGNOffice:function(e,t){return Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.post("api/util/add-gn-office",{name:e,address:t})];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},deleteDivision:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/util/delete-div",{name:e})];case 1:return t=n.sent(),[2,u(t)];case 2:return a=n.sent(),[2,u(a.response)];case 3:return[2]}}))}))},deleteGNOffice:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/util/delete-gn-office",{name:e})];case 1:return t=n.sent(),[2,u(t)];case 2:return a=n.sent(),[2,u(a.response)];case 3:return[2]}}))}))},getAllDivisions:function(){return Object(n["a"])(this,void 0,Promise,(function(){var e,t;return Object(n["b"])(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,c.get("api/util/all-divs")];case 1:return e=a.sent(),[2,[e.data.data,u(e)]];case 2:return t=a.sent(),console.log(t.response.data),[2,[t.response.data.data,u(t.response)]];case 3:return[2]}}))}))},getAllGNOffices:function(){return Object(n["a"])(this,void 0,Promise,(function(){var e,t;return Object(n["b"])(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,c.get("api/util/all-gn-offices")];case 1:return e=a.sent(),[2,[e.data.data,u(e)]];case 2:return t=a.sent(),console.log(t.response.data),[2,[t.response.data.data,u(t.response)]];case 3:return[2]}}))}))},getAllUserRoles:function(){return Object(n["a"])(this,void 0,Promise,(function(){var e,t;return Object(n["b"])(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,c.get("api/util/all-user-roles")];case 1:return e=a.sent(),[2,[e.data.data,u(e)]];case 2:return t=a.sent(),console.log(t.response.data),[2,[t.response.data.data,u(t.response)]];case 3:return[2]}}))}))},getAllComStates:function(){return Object(n["a"])(this,void 0,Promise,(function(){var e,t;return Object(n["b"])(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,c.get("api/util/all-com-states")];case 1:return e=a.sent(),[2,[e.data.data,u(e)]];case 2:return t=a.sent(),console.log(t.response.data),[2,[t.response.data.data,u(t.response)]];case 3:return[2]}}))}))},getAllComTypes:function(){return Object(n["a"])(this,void 0,Promise,(function(){var e,t;return Object(n["b"])(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,c.get("api/util/all-com-types")];case 1:return e=a.sent(),[2,[e.data.data,u(e)]];case 2:return t=a.sent(),console.log(t.response.data),[2,[t.response.data.data,u(t.response)]];case 3:return[2]}}))}))}},m={addComplaint:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.post("api/complaint/add-complaint",e)];case 1:return t=n.sent(),[2,[t.data.data,u(t)]];case 2:return a=n.sent(),[2,["",u(a.response)]];case 3:return[2]}}))}))},addAttachment:function(e,t){return Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.post("api/complaint/add-attachment/"+e,{attachmentId:t})];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},assignDivision:function(e,t){return Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.post("api/complaint/assign-div/"+e,{division:t})];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},reassignDivision:function(e,t){return Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/complaint/reassign-div/"+e,{division:t})];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},getComplaintCount:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.get("api/complaint/get-count",e)];case 1:return t=n.sent(),[2,[t.data.data,u(t)]];case 2:return a=n.sent(),[2,[-1,u(a.response)]];case 3:return[2]}}))}))},getComplaints:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.get("api/complaint/get-complaint",e)];case 1:return t=n.sent(),[2,[t.data.data,u(t)]];case 2:return a=n.sent(),[2,[[],u(a.response)]];case 3:return[2]}}))}))},getAttachments:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.get("api/complaint/get-attachments/"+e)];case 1:return t=n.sent(),[2,[t.data.data,u(t)]];case 2:return a=n.sent(),[2,[[],u(a.response)]];case 3:return[2]}}))}))},getLogs:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.get("api/complaint/get-complaint-log/"+e)];case 1:return t=n.sent(),[2,[t.data.data,u(t)]];case 2:return a=n.sent(),[2,[[],u(a.response)]];case 3:return[2]}}))}))},getFullDetails:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.get("api/complaint/get-full-details/"+e)];case 1:return t=n.sent(),[2,[t.data.data,u(t)]];case 2:return a=n.sent(),[2,[null,u(a.response)]];case 3:return[2]}}))}))},writeLogEntry:function(e,t){return Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.post("api/complaint/write-log/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},mark:{markForApproval:function(e,t){return void 0===t&&(t=void 0),Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/complaint/mark-complaint/aw-approval/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},markAsApproved:function(e,t){return void 0===t&&(t=void 0),Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/complaint/mark-complaint/approved/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},markForAccept:function(e,t){return void 0===t&&(t=void 0),Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/complaint/mark-complaint/aw-accept/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},markAsAccepted:function(e,t){return void 0===t&&(t=void 0),Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/complaint/mark-complaint/accepted/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},markForDivSecReview:function(e,t){return void 0===t&&(t=void 0),Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/complaint/mark-complaint/aw-div-review/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},markAsDivSecReviewed:function(e,t){return void 0===t&&(t=void 0),Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/complaint/mark-complaint/div-reviewed/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},markForDisSecReview:function(e,t){return void 0===t&&(t=void 0),Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/complaint/mark-complaint/aw-dis-review/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},markAsDisSecReviewed:function(e,t){return void 0===t&&(t=void 0),Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/complaint/mark-complaint/dis-reviewed/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},markAsSolved:function(e,t){return void 0===t&&(t=void 0),Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/complaint/mark-complaint/solved/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))},markAsRejected:function(e,t){return void 0===t&&(t=void 0),Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/complaint/mark-complaint/reject/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))}}},d={uploadAttachment:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:t=new FormData,t.append("attachment",e),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,c.post_file("file/upload/attachment",t)];case 2:return a=n.sent(),[2,[a.data.data,u(a)]];case 3:return r=n.sent(),[2,["",u(r.response)]];case 4:return[2]}}))}))},getAttachment:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.get_file("file/attachment/"+e)];case 1:return t=n.sent(),[2,[t.data,u(t)]];case 2:return a=n.sent(),[2,["",u(a.response)]];case 3:return[2]}}))}))},getAttachmentDetails:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.get("file/attachment/details/"+e)];case 1:return t=n.sent(),[2,[t.data.data,u(t)]];case 2:return a=n.sent(),[2,["",u(a.response)]];case 3:return[2]}}))}))}},v={addCustomer:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.post("api/customer/add-customer",e)];case 1:return t=n.sent(),[2,[t.data.data,u(t)]];case 2:return a=n.sent(),[2,["",u(a.response)]];case 3:return[2]}}))}))},getCustomer:function(e){return Object(n["a"])(this,void 0,Promise,(function(){var t,a;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.get("api/customer/get-customer",e)];case 1:return t=n.sent(),[2,[t.data.data,u(t)]];case 2:return a=n.sent(),[2,[[],u(a.response)]];case 3:return[2]}}))}))},getCustomerCount:function(){return Object(n["a"])(this,void 0,Promise,(function(){var e,t;return Object(n["b"])(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,c.get("api/customer/get-count")];case 1:return e=a.sent(),[2,[e.data.data,u(e)]];case 2:return t=a.sent(),[2,[-1,u(t.response)]];case 3:return[2]}}))}))},updateCustomer:function(e,t){return Object(n["a"])(this,void 0,Promise,(function(){var a,r;return Object(n["b"])(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,c.put("api/customer/update-customer/"+e,t)];case 1:return a=n.sent(),[2,u(a)];case 2:return r=n.sent(),[2,u(r.response)];case 3:return[2]}}))}))}},b={set:function(e){c.enableAuth(e)},remove:function(){c.removeAuth()}},f={user:l,util:p,complaint:m,customer:v,file:d,token:b}},8396:function(e,t,a){"use strict";var n=a("aaf0"),r=a.n(n);r.a},"85ec":function(e,t,a){},aaf0:function(e,t,a){},cd49:function(e,t,a){"use strict";a.r(t);var n=a("2b0e"),r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("transition",{attrs:{name:"slide-fade",mode:"out-in"}},[a("router-view")],1)},s=[],i=(a("034f"),a("2877")),o={},c=Object(i["a"])(o,r,s,!1,null,null,null),u=c.exports,l=a("9483");Object(l["a"])("/service-worker.js",{ready:function(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered:function(){console.log("Service worker has been registered.")},cached:function(){console.log("Content has been cached for offline use.")},updatefound:function(){console.log("New content is downloading.")},updated:function(){console.log("New content is available; please refresh.")},offline:function(){console.log("No internet connection found. App is running in offline mode.")},error:function(e){console.error("Error during service worker registration:",e)}});var p=a("8c4f"),m=[{path:"",name:"Dashboard",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"24ee"))}},{path:"complaint/view/:complaintId",name:"View Complaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"2f5e"))}},{path:"utils/divisions",name:"DivisionalOffices",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"bccf"))}},{path:"utils/gn-offices",name:"GnOffices",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"9d11"))}},{path:"utils/user-accounts",name:"UserAccounts",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"6312"))}},{path:"complaint/create-new",name:"NewComplaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"9f57"))}},{path:"complaint/drafts",name:"DraftComplaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"3105"))}},{path:"complaint/approved",name:"ApprovedComplaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"b50c"))}},{path:"complaint/reviewed",name:"ReviewedComplaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"ab0e"))}},{path:"complaint/solved",name:"SolvedComplaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"78b3"))}},{path:"complaint/rejected",name:"RejectedComplaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"447b"))}},{path:"complaint/for-approve",name:"ApproveComplaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"799c"))}},{path:"complaint/for-review",name:"Dis-ReviewComplaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"b952"))}},{path:"complaint/for-accept",name:"AcceptComplaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"4f3e"))}},{path:"complaint/in-progress",name:"InProgress",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"2f82"))}},{path:"complaint/div-reviewed",name:"Div-ReviewedComplaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"8230"))}},{path:"complaint/for-div-review",name:"Div-ReviewComplaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"6673"))}}],d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",[n("v-container",{staticClass:"pa-0",staticStyle:{display:"flex",background:"#FFC007",height:"130px"},attrs:{fluid:""}},[n("v-container",{staticStyle:{padding:"0px",width:"content-box","max-width":"130px"}},[n("img",{staticClass:"logo",attrs:{alt:"Home",src:a("6797"),height:"130px"}})]),n("v-container",{staticClass:"pa-0 pl-10",staticStyle:{display:"flex","align-items":"center"}},[n("v-col",[n("v-row",[n("h1",[e._v("Public Grievance Management")])]),n("v-row",[n("h3",[e._v(" Galle District ")])])],1)],1),n("v-container",{staticClass:"pa-0"},[n("v-row",{staticClass:"pa-4  pr-10 pt-2",staticStyle:{background:"#545863","border-bottom-left-radius":"100px",display:"flex","align-items":"center"}},[n("v-container",{staticClass:"pa-0 pl-5",staticStyle:{width:"10em"}},[n("a",{staticStyle:{"text-decoration":"none"},attrs:{href:"https://www.facebook.com/Galle.DS/"}},[n("v-btn",{attrs:{dark:"",icon:""}},[n("v-icon",{attrs:{size:"32px"}},[e._v("mdi-facebook")])],1)],1),n("a",{staticStyle:{"text-decoration":"none"},attrs:{href:"https://twitter.com/DistrictGalle"}},[n("v-btn",{attrs:{dark:"",icon:""}},[n("v-icon",{attrs:{size:"32px"}},[e._v("mdi-twitter")])],1)],1)]),n("LanguageSelector",{attrs:{lang:e.language},on:{toggle:e.change}})],1),n("v-row",{staticClass:"pa-5 pr-10"},[n("v-spacer"),n("LoginButton")],1)],1)],1),n("v-main",{},[n("v-container",{staticClass:"fill-height",staticStyle:{height:"560px","background-image":"url('https://www.cesl.lk/images/projects/completed/Eight%20Storey%20District%20Secretariat%20Building%20at%20Galle_39_cesl.jpg')","background-size":"cover"},attrs:{fluid:""}},[n("v-spacer"),n("v-row",{staticStyle:{"justify-content":"center"}},[n("v-btn",{attrs:{to:"/add-complaint",color:"error"}},[e._v(" "+e._s(e.lang.button))])],1),n("v-spacer")],1),n("v-container",{staticStyle:{height:"100px",background:"#FFC007",display:"flex","align-content":"center"},attrs:{fluid:""}},[n("v-container",{staticClass:"pa-0"},[n("v-row",[n("v-container",{staticClass:"pa-0",staticStyle:{width:"70%"}},[n("v-card-title",{staticStyle:{color:"#545863"}},[e._v(" "+e._s(e.lang.CTA))])],1),n("v-container",{staticStyle:{width:"20%"}},[n("v-btn",{attrs:{to:"/add-complaint",color:"error"}},[e._v(" "+e._s(e.lang.button))])],1)],1)],1)],1),n("section",[n("v-row",[n("v-col",{staticClass:"pa-0"},[n("v-card",{staticStyle:{display:"flex","align-items":"center","justify-content":"center",background:"#545863",color:"white"},attrs:{height:"350px"}},[n("v-container",{staticClass:"text-center",staticStyle:{padding:"16%"}},[n("h3",[e._v(" "+e._s(e.lang.block1title)+" ")]),n("br"),n("p",{staticStyle:{"text-align":"justify"}},[e._v(" "+e._s(e.lang.block1)+" ")])])],1)],1),n("v-col",{staticClass:"pa-0",staticStyle:{"max-width":"50%"}},[n("v-img",{attrs:{"max-height":"350px",src:"https://www.cesl.lk/images/projects/completed/Eight%20Storey%20District%20Secretariat%20Building%20at%20Galle_39_cesl.jpg"}})],1)],1),n("v-row",[n("v-col",{staticClass:"pa-0",staticStyle:{"max-width":"50%"}},[n("v-img",{attrs:{"max-height":"350px",src:"https://www.cesl.lk/images/projects/completed/Eight%20Storey%20District%20Secretariat%20Building%20at%20Galle_39_cesl.jpg"}})],1),n("v-col",{staticClass:"pa-0"},[n("v-card",{staticStyle:{display:"flex","align-items":"center","justify-content":"center",background:"#545863",color:"white"},attrs:{height:"350px"}},[n("v-container",{staticClass:"text-center",staticStyle:{padding:"16%"}},[n("h3",[e._v(" "+e._s(e.lang.block2title)+" ")]),n("br"),n("p",{staticStyle:{"text-align":"justify"}},[e._v(" "+e._s(e.lang.block2)+" "),n("br"),n("br"),e._v(" "+e._s(e.lang.benefits1)+" "),n("br"),e._v(" "+e._s(e.lang.benefits2)+" "),n("br"),e._v(" "+e._s(e.lang.benefits3)+" ")])])],1)],1)],1)],1),n("v-bottom-navigation",{attrs:{height:"120px","background-color":"primary"}},[n("v-row",{staticStyle:{"align-content":"center"}},[n("v-col",[n("v-row",{staticClass:"stats values",staticStyle:{padding:"0px",margin:"0px"}},[n("ProgressIndicator",{attrs:{value:"100",color:"black",indeterminate:"false"}})],1),n("v-row",{staticClass:"stats"},[e._v(" "+e._s(e.lang.progressbar1))])],1),n("v-col",[n("v-row",{staticClass:"stats values",staticStyle:{padding:"0px",margin:"0px"}},[n("ProgressIndicator",{attrs:{value:"75",color:"red",indeterminate:"false"}})],1),n("v-row",{staticClass:"stats"},[e._v(" "+e._s(e.lang.progressbar2))])],1),n("v-col",[n("v-row",{staticClass:"stats values",staticStyle:{padding:"0px",margin:"0px"}},[n("ProgressIndicator",{attrs:{value:"25",color:"green",indeterminate:"false"}})],1),n("v-row",{staticClass:"stats"},[e._v(" "+e._s(e.lang.progressbar3))])],1)],1)],1),n("v-divider"),n("v-container",{staticClass:"transparent pa-0",attrs:{fluid:""}},[n("v-row",{attrs:{"no-gutters":""}},[n("v-col",{attrs:{cols:"6",md:"4"}},[n("v-card",{staticClass:"pa-12 pl-16 pr-16 ma-0",attrs:{tile:"",align:"left"}},[n("v-card-title",{staticClass:"pa-0 pb-5"},[e._v(" "+e._s(e.lang.associations))]),e._v(" "+e._s(e.lang.ds)+" "),n("br"),e._v(" "),n("br"),n("v-btn",{staticClass:"mx-1",staticStyle:{color:"white"},attrs:{color:"red"}},[e._v(" "+e._s(e.lang.Galle)+" ")]),n("br"),n("br"),e._v(" "+e._s(e.lang.division)+" "),n("br"),e._v(" "),n("br"),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Akmeemana))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Ambalangoda))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Baddegama))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Balapitiya))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.BopePoddala))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Benthota))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Elpitiya))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.GalleFourGravets))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Habaraduwa))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Imaduwa))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Hikkaduwa))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Karandeniya))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Nagoda))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Neluwa))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Niyagama))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.WelivitiyaDivithura))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Yakkalamulla))]),n("v-btn",{staticClass:"mx-1 associations",attrs:{color:"green"}},[e._v(" "+e._s(e.lang.Gonapinuwala))])],1)],1),n("v-col",{attrs:{cols:"12",sm:"6",md:"8"}},[n("v-row",{staticClass:"pt-5 pl-10 pr-10"},[n("v-card",{staticClass:"pa-5"},[n("v-card-title",[e._v("Tell The Galle GA")]),n("p",[e._v(" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam in dapibus lorem. Vestibulum consectetur rutrum massa, sed feugiat arcu tristique at. Etiam lacinia dictum tortor nec bibendum. Maecenas congue orci non odio viverra accumsan. Suspendisse ornare iaculis mi at facilisis. Suspendisse congue dui id turpis bibendum, ut pellentesque nisi molestie. Duis interdum eros eros, eget faucibus urna aliquet vitae")])],1)],1),n("v-row",{staticClass:"pa-5 pl-10 pr-10"},[n("v-card",{staticClass:"pa-5"},[n("v-card-title",[e._v("Tell your Divisional Secretariat")]),n("p",[e._v(" Sed condimentum ac mauris et commodo. Cras semper leo quis risus tempus, quis efficitur enim semper. Etiam quis velit at augue volutpat feugiat. Aliquam erat odio, consequat sit amet lorem sit amet, bibendum egestas leo. Praesent nisi felis, convallis maximus sem sit amet, bibendum vehicula augue. Nunc pharetra purus ipsum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis non sapien eget magna lobortis sollicitudin rhoncus sed nulla. Aliquam blandit massa quis orci dignissim, ut pharetra enim rutrum. Pellentesque hendrerit purus non mauris vulputate facilisis. ")])],1)],1)],1)],1)],1)],1),n("v-divider"),n("v-footer",{attrs:{padless:"",color:"primary"}},[n("FooterCard")],1)],1)},v=[],b=(a("67ae"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("v-btn",{attrs:{rounded:"",to:"/login",small:"",color:"success"}},[e._v("USER LOGIN")])],1)}),f=[],h={name:"LoginButton",computed:{}},g=h,w=a("6544"),y=a.n(w),O=a("8336"),_=Object(i["a"])(g,b,f,!1,null,"bcdb5ece",null),j=_.exports;y()(_,{VBtn:O["a"]});var S=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-card",{staticClass:"flex",attrs:{flat:"",tile:"",color:"primary"}},[a("v-card-title",{staticClass:"pt-5 pa-0"},[a("a",{attrs:{href:"http://www.galle.dist.gov.lk/index.php/en/",target:"_blank"}},[a("v-btn",{attrs:{text:"",color:"black",to:""}},[e._v("Visit Galle District Secretariat")])],1),a("v-spacer"),e._l(e.icons,(function(t){return a("a",{key:t.name,attrs:{href:t.url}},[a("v-btn",{staticClass:"mx-4",attrs:{dark:"",icon:""}},[a("v-icon",{attrs:{size:"32px"}},[e._v(e._s(t.name))])],1)],1)}))],2),a("v-card-text",{staticClass:"py-2 black--text"},[e._v(" Copyright © "+e._s((new Date).getFullYear())+" Galle District Public Grievance Management. All Rights Reserved. ")])],1)},C=[],k={data:()=>({icons:[{name:"mdi-facebook",url:"https://www.facebook.com/Galle.DS/"},{name:"mdi-twitter",url:"https://twitter.com/DistrictGalle"}]})},P=k,x=a("b0af"),A=a("99d9"),D=a("132d"),E=a("2fa4"),G=Object(i["a"])(P,S,C,!1,null,"0f1546b6",null),N=G.exports;y()(G,{VBtn:O["a"],VCard:x["a"],VCardText:A["b"],VCardTitle:A["c"],VIcon:D["a"],VSpacer:E["a"]});var T=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"text-center",staticStyle:{"font-size":"25px"}},[a("v-progress-circular",{attrs:{indeterminate:!0===e.indeterminate,rotate:"0",size:"64",value:e.value,width:"6",color:e.color}},[e._v(e._s(e.value))])],1)},V=[],I={name:"ProgressIndicator",props:["value","color","indeterminate"]},q=I,F=a("490a"),R=Object(i["a"])(q,T,V,!1,null,null,null),B=R.exports;y()(R,{VProgressCircular:F["a"]});var L=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-row",{staticStyle:{padding:"0",margin:"0px"}},[a("v-spacer"),a("v-btn",{attrs:{dark:"",rounded:"",text:"english"!==e.lang,small:"",color:"red"},on:{click:e.englishSelector}},[e._v("English")]),a("v-btn",{attrs:{dark:"",rounded:"",text:"sinhala"!==e.lang,small:"",color:"red"},on:{click:e.sinhalaSelector}},[e._v("සිංහල")])],1)},M=[],U={name:"LanguageSelector",props:["lang"],methods:{sinhalaSelector(){this.$emit("toggle","sinhala")},englishSelector(){this.$emit("toggle","english")}}},H=U,$=a("0fd9"),z=Object(i["a"])(H,L,M,!1,null,null,null),K=z.exports;y()(z,{VBtn:O["a"],VRow:$["a"],VSpacer:E["a"]});var W={header:"ගාලු දිස්ත්‍රික් මහජන ගැටලු කලමනාකරණය",button:"පැමිණිළි ඉදිරිපත් කිරීම්",CTA:"මහජන ගැටලු ගාල්ල දිස්ත්‍රික් ලේකම්තුමාට හෝ ප්‍රදේශීය ලෙකම්තුමාට යොමු කිරීම.",block1title:"මහජන ගැටලු කළමනාකරණය පිළිබඳව ",block1:"ගාල්ල දිස්ත්‍රික් මහජන ගැටලු කළමනාකරණ පද්ධතියට සාදරයෙන් පිළිගනිමු. මෙම වෙබ් අඩවිය ගාල්ල දිස්ත්‍රික් ලේකම් කාර්යාලය විසින් නඩත්තු කරනු ලබන අතර දිස්ත්‍රික්කයේ ප්‍රාදේශීය ලේකම් කාර්යාල 17 සමඟ සම්බන්ධ වේ. අපගේ දැක්ම වන්නේ ප්‍රමාදයන් අවම කර මහජන ගැටලු හැසිරවීමේ කාර්යක්ෂමතාව වැඩි දියුණු කිරීමයි. ඔබේ දුක්ගැනවිලි අදාළ පාර්ශවයට කෙලින්ම වාර්තා කළ හැකිය, වාර්තා කළ දුක්ගැනවිලි වල ප්‍රගතිය පරීක්ෂා කර අන්තර්ජාලය හරහා වේගයෙන් විසඳුම් ලබා ගත හැකිය. භාවිතා කිරීමේ උපදෙස් පහත දී ඇත.",block2title:"මහජනතාවට අත්වන වාසි",block2:"මහජන දුක්ගැනවිලි කළමනාකරණ පද්ධතියේ ප්‍රධාන අභිප්‍රාය වන්නේ කෙටි කාලයක් තුළ විසඳුම් ලබා දීම සඳහා මහජන දුක්ගැනවිලි විසඳීමේ ප්‍රමාදය අඩු කිරීමයි.",benefits1:"> කාර්යක්ෂම සේවය",benefits2:"> ප්‍රගති සමාලෝචනය",benefits3:"> විද්‍යුත් තැපෑල හරහා විසඳුම",progressbar1:"වර්තමාන පරිශීලකයන්",progressbar2:"නිරාකරනය කරමින් පවතින ගැටලු",progressbar3:"නිරකරණය කළ ගැටලු",associations:"ගැටලු යොමු කල හැකි පාර්ශවයන්",ds:"දිස්ත්‍රික් ලේකම්",division:"ප්‍රාදේශීය ලේකම්",Galle:"ගාල්ල",Akmeemana:"අක්මීමන",Ambalangoda:"අම්බලන්ගොඩ",Baddegama:"බද්දේගම",Balapitiya:"බලපිටිය",BopePoddala:"බෝපෙ- පෝද්දල",Benthota:"බෙන්තොට",Elpitiya:"ඇල්පිටිය",GalleFourGravets:"ගාල්ල කඩවත් සතර",Habaraduwa:"හබරාදූව",Imaduwa:"ඉමදූව",Hikkaduwa:"හික්කඩුව",Karandeniya:"කරන්දෙනිය",Nagoda:"නාගොඩ",Neluwa:"නෙලුව",Niyagama:"නියාගම",WelivitiyaDivithura:"වැලිවිටිය-දිවිතුර",Yakkalamulla:"‍යක්කලමුල්ල",Gonapinuwala:"ගෝනාපිනුවල",section1:"දුක්ගැනවිලි ගාල්ල දිස්ත්‍රික් මහලේකම් කාර්යාලයට කියන්න\nLorem ipsum dolor sit amet, consectetur adipiscing elit. මූල්යකරණය වර්තමාන චාප, නෝට්බුක් පහසුව විෂ්කම්භය බවට පත් කර ඇත. එහි ශීතකරණයක් ද තිබුණි. ඉන්ටර්ජර් සෙම්පර්, ක්‍රීඩකයන්ගේ කැරට් කතුවරයා. නමුත් සමහර අවස්ථාවලදී, කොන්සියුලර් ඔහු ඉදිරිපිටට ඇදී එයි. සේපියන් හි විලයනය එය ප්‍රෝටීන ගේට්ටුව නොවේ. කතාබස් කාලය, නිදහස සමහර විට වැදගත් වත්කමක්, ලෝරම් සංවර්ධකයින්ගේ සායනික පරිසරය, සේපියන් හි සිනා හෝ පැසිපන්දු ගොඩක්. අමිට්, සුසිපිට් ඉකුලිස් නෙක්, මවුස්ලි ලිගුලා. චිකිත්සාව ඉලක්ක කර ගත් තට්ටුවක් පමණක් නොවේ. සායනික කනගාටුදායකය තාප මූලද්‍රව්‍ය කලාපය. කෙසේ වෙතත්, සලාදයක් විය. පාකිස්තානයේ පවා කැරට් හෝ කැරට් ඩුයි නිදහස් කර ඇත. එය පරාජය කරන ඕනෑම මුල්‍යකරණයක් ලෝරම් කරන්න. නමුත් ac rhoncus leo, nec ullamcorper diam. සමහර ප්‍රතිඔක්සිකාරක කාර්යාංශය සාර්ව ගර්භනී ඉලක්ක කරගත් මූල්‍යකරණයෙන් වෛර කරයි. විශාලතම ප්‍රචාරක කටයුතුවලදී. වෙස්ටිබුලම් සෙඩ් මෞරිස් උනුසුම් වීමේ කෙළවරේ.",section2:"දුක්ගැනවිලි ගාල්ල දිස්ත්‍රික් මහලේකම් කාර්යාලයට කියන්න\nLorem ipsum dolor sit amet, consectetur adipiscing elit. මූල්යකරණය වර්තමාන චාප, නෝට්බුක් පහසුව විෂ්කම්භය බවට පත් කර ඇත. එහි ශීතකරණයක් ද තිබුණි. ඉන්ටර්ජර් සෙම්පර්, ක්‍රීඩකයන්ගේ කැරට් කතුවරයා. නමුත් සමහර අවස්ථාවලදී, කොන්සියුලර් ඔහු ඉදිරිපිටට ඇදී එයි. සේපියන් හි විලයනය එය ප්‍රෝටීන ගේට්ටුව නොවේ. කතාබස් කාලය, නිදහස සමහර විට වැදගත් වත්කමක්, ලෝරම් සංවර්ධකයින්ගේ සායනික පරිසරය, සේපියන් හි සිනා හෝ පැසිපන්දු ගොඩක්. අමිට්, සුසිපිට් ඉකුලිස් නෙක්, මවුස්ලි ලිගුලා. චිකිත්සාව ඉලක්ක කර ගත් තට්ටුවක් පමණක් නොවේ. සායනික කනගාටුදායකය තාප මූලද්‍රව්‍ය කලාපය. කෙසේ වෙතත්, සලාදයක් විය. පාකිස්තානයේ පවා කැරට් හෝ කැරට් ඩුයි නිදහස් කර ඇත. එය පරාජය කරන ඕනෑම මුල්‍යකරණයක් ලෝරම් කරන්න. නමුත් ac rhoncus leo, nec ullamcorper diam. සමහර ප්‍රතිඔක්සිකාරක කාර්යාංශය සාර්ව ගර්භනී ඉලක්ක කරගත් මූල්‍යකරණයෙන් වෛර කරයි. විශාලතම ප්‍රචාරක කටයුතුවලදී. වෙස්ටිබුලම් සෙඩ් මෞරිස් උනුසුම් වීමේ කෙළවරේ."},Y={header:"Galle Public Grievance Management",button:"TELL THE GRIEVANCE",CTA:"Report Public Grievacnes Directly To Galle GA Or Divisional Secretariat In Your Aria",block1title:"About Grievance Management System",block1:"Welcome to Galle District Public Grievance Management System. This website is maintained by Galle District Secretariat & associated with 17 Divisional Secretariats. Our vision is to improve efficiency of public grievances handling to reduce delays and to improve customer experience. You can report your grievances directly to the relevant party, check the progress of reported grievances and can receive solutions faster via online. You can see the instructions below.",block2title:"Benefits of Grievance Management System",block2:"The main intention of the Public Grievance Management System is to reduce the latency of solving a public grievance to provide solutions within a short time of period.",benefits1:"> Efficient Service",benefits2:"> Realtime Progress Tracking",benefits3:"> Solution via System & Email",progressbar1:"Registered Users",progressbar2:"In Progress",progressbar3:"Problem Solved",associations:"Associated Parties",ds:"District Secretariats",Galle:"Galle",Akmeemana:"Akmeemana",Ambalangoda:"Ambalangoda",Baddegama:"Baddegama",Balapitiya:"Balapitiya",BopePoddala:"Bope-Poddala",Benthota:"Benthota",Elpitiya:"Elpitiya",GalleFourGravets:"Galle Four Gravets",Habaraduwa:"Habaraduwa",Imaduwa:"Imaduwa",Hikkaduwa:"Hikkaduwa",Karandeniya:"Karandeniya",Nagoda:"Nagoda",Neluwa:"Neluwa",Niyagama:"Niyagama",WelivitiyaDivithura:"Welivitiya-Divithura",Yakkalamulla:"Yakkalamulla",Gonapinuwala:"Gonapinuwala",division:"Divisional Secretariats",section1:"Tell the Grievance to Galle District Secretariat\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent efficitur imperdiet arcu, ullamcorper commodo diam. Etiam a leo ante. Integer quis semper sapien, sit amet auctor nisl. Sed non ex sit amet ante interdum vulputate ut at ipsum. Fusce at sapien non enim porta dapibus. Curabitur tempus, libero sit amet interdum dignissim, orci lorem tincidunt mauris, sit amet ultrices risus neque at sapien. Vestibulum suscipit iaculis neque, a molestie ligula. Nullam justo erat, suscipit non accumsan id, iaculis at justo. Fusce tristique ligula elementum tellus dictum scelerisque. Sed a erat sem. Etiam in dui sit amet nibh pretium posuere vel sit amet libero. Nullam imperdiet id lorem id pellentesque. Sed ac rhoncus leo, nec ullamcorper diam. Aliquam facilisis hendrerit odio, a imperdiet tortor gravida iaculis. Mauris in justo augue. Aliquam finibus sed mauris ut fermentum.",section2:"Tell the Grievance to Galle District Secretariat\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent efficitur imperdiet arcu, ullamcorper commodo diam. Etiam a leo ante. Integer quis semper sapien, sit amet auctor nisl. Sed non ex sit amet ante interdum vulputate ut at ipsum. Fusce at sapien non enim porta dapibus. Curabitur tempus, libero sit amet interdum dignissim, orci lorem tincidunt mauris, sit amet ultrices risus neque at sapien. Vestibulum suscipit iaculis neque, a molestie ligula. Nullam justo erat, suscipit non accumsan id, iaculis at justo. Fusce tristique ligula elementum tellus dictum scelerisque. Sed a erat sem. Etiam in dui sit amet nibh pretium posuere vel sit amet libero. Nullam imperdiet id lorem id pellentesque. Sed ac rhoncus leo, nec ullamcorper diam. Aliquam facilisis hendrerit odio, a imperdiet tortor gravida iaculis. Mauris in justo augue. Aliquam finibus sed mauris ut fermentum."},J={name:"Home",components:{LoginButton:j,FooterCard:N,ProgressIndicator:B,LanguageSelector:K},data:()=>({language:"english",tab:null,items:[{tab:"Tell the Galle GA",content:"Sed condimentum ac mauris et commodo. Cras semper leo quis risus tempus, quis efficitur enim semper. Etiam quis velit at augue volutpat feugiat. Aliquam erat odio, consequat sit amet lorem sit amet, bibendum egestas leo. Praesent nisi felis, convallis maximus sem sit amet, bibendum vehicula augue. Nunc pharetra purus ipsum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis non sapien eget magna lobortis sollicitudin rhoncus sed nulla. Aliquam blandit massa quis orci dignissim, ut pharetra enim rutrum. Pellentesque hendrerit purus non mauris vulputate facilisis."},{tab:"Tell your Divisional Secretariat",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam in dapibus lorem. Vestibulum consectetur rutrum massa, sed feugiat arcu tristique at. Etiam lacinia dictum tortor nec bibendum. Maecenas congue orci non odio viverra accumsan. Suspendisse ornare iaculis mi at facilisis. Suspendisse congue dui id turpis bibendum, ut pellentesque nisi molestie. Duis interdum eros eros, eget faucibus urna aliquet vitae."}]}),computed:{lang(){return"english"===this.language?Y:W}},methods:{change(e){this.language=e}}},Q=J,X=(a("8396"),a("7496")),Z=a("b81c"),ee=a("62ad"),te=a("a523"),ae=a("ce7e"),ne=a("553a"),re=a("adda"),se=a("f6c4"),ie=Object(i["a"])(Q,d,v,!1,null,"552896af",null),oe=ie.exports;y()(ie,{VApp:X["a"],VBottomNavigation:Z["a"],VBtn:O["a"],VCard:x["a"],VCardTitle:A["c"],VCol:ee["a"],VContainer:te["a"],VDivider:ae["a"],VFooter:ne["a"],VIcon:D["a"],VImg:re["a"],VMain:se["a"],VRow:$["a"],VSpacer:E["a"]}),n["a"].use(p["a"]);var ce=[{path:"/",name:"Home",component:oe},{path:"/register",name:"register",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("user")]).then(a.bind(null,"73cf"))}},{path:"/login",name:"User Login",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("user")]).then(a.bind(null,"a55b"))}},{path:"/add-complaint",name:"Add Complaint",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("complaint")]).then(a.bind(null,"8471"))}},{path:"/app",component:function(){return Promise.all([a.e("complaint~user~web-app"),a.e("web-app")]).then(a.bind(null,"f82c"))},children:m}],ue=new p["a"]({mode:"history",base:"/",routes:ce}),le=ue,pe=a("0613"),me=a("f309");n["a"].use(me["a"]);var de=new me["a"]({theme:{options:{customProperties:!0},themes:{light:{primary:"#ffb700",secondary:"#ff8015",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#DF5E88"}}}}),ve={listener:{isShow:!1,text:"Welcome",type:"info"}},be={install:function(e,t){e.prototype.$setListener=function(e){ve.listener=e},e.prototype.$notify=function(e,t){ve.listener&&(ve.listener.isShow=!1,ve.listener.text=e,ve.listener.type=t,ve.listener.isShow=!0)}}};n["a"].config.productionTip=!1,n["a"].use(be),new n["a"]({router:le,store:pe["a"],vuetify:de,render:function(e){return e(u)}}).$mount("#app")}});
//# sourceMappingURL=app.c03e5a08.js.map