From 412116ffbe581068bd19ca2d91c3c3daa8679fd0 Mon Sep 17 00:00:00 2001 From: Novian Andika Date: Fri, 6 Jan 2023 06:01:07 +0700 Subject: [PATCH] feat: improvement --- assets/images/home/empty.json | 1 + assets/images/home/empty.zip | Bin 0 -> 4173 bytes lib/app/modules/gate/views/gate_view.dart | 10 +- .../home/controllers/home_controller.dart | 4 + lib/app/modules/home/views/home_view.dart | 560 ++++++++++-------- .../controllers/login_page_controller.dart | 30 +- 6 files changed, 340 insertions(+), 265 deletions(-) create mode 100644 assets/images/home/empty.json create mode 100644 assets/images/home/empty.zip diff --git a/assets/images/home/empty.json b/assets/images/home/empty.json new file mode 100644 index 00000000..da1cdb81 --- /dev/null +++ b/assets/images/home/empty.json @@ -0,0 +1 @@ +{"v":"5.6.4","fr":24,"ip":0,"op":118,"w":797,"h":908,"nm":"Sleeping Cat 4","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":3,"nm":"Null 1","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[398,454,0],"ix":2},"a":{"a":0,"k":[50,50,0],"ix":1},"s":{"a":0,"k":[243,243,100],"ix":6}},"ao":0,"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":3,"nm":"Null 10","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[379.5,464,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Layer 4 Outlines 7","parent":4,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":276,"s":[100]},{"t":282,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":187,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":211,"s":[-23]},{"t":235,"s":[0]}],"ix":10,"x":"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":187,"s":[234.215,-141.867,0],"to":[14.417,-18.75,0],"ti":[-14.417,18.75,0]},{"t":282,"s":[320.715,-254.367,0]}],"ix":2},"a":{"a":0,"k":[6.83,7.826,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":187,"s":[0,0,100]},{"t":282,"s":[243,243,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.132,0.114],[0,0],[0,0],[0.187,0.22],[-0.046,0.305],[-0.245,0.165],[-0.423,-0.064],[0,0],[0.141,-0.942],[0.209,-0.243],[0.601,-0.522],[0,0],[0,0],[-0.186,-0.209],[0.048,-0.318],[0.242,-0.161],[0.43,0.064],[0,0],[0.264,0.317],[-0.069,0.455],[-0.07,0.124],[-0.101,0.103],[-0.176,0.156]],"o":[[0,0],[0,0],[-0.424,-0.064],[-0.187,-0.219],[0.047,-0.319],[0.245,-0.164],[0,0],[1.011,0.152],[-0.068,0.45],[-0.208,0.243],[0,0],[0,0],[0.431,0.065],[0.185,0.21],[-0.049,0.331],[-0.241,0.162],[0,0],[-0.605,-0.091],[-0.265,-0.317],[0.023,-0.156],[0.07,-0.123],[0.102,-0.103],[0.177,-0.155]],"v":[[-5.236,2.854],[3.073,-4.518],[-2.98,-5.426],[-3.897,-5.85],[-4.108,-6.637],[-3.67,-7.361],[-2.667,-7.512],[5.135,-6.342],[6.439,-4.702],[6.025,-3.663],[4.81,-2.516],[-2.953,4.335],[4.307,5.424],[5.231,5.835],[5.437,6.628],[5.001,7.365],[3.994,7.512],[-4.912,6.174],[-6.216,5.563],[-6.511,4.404],[-6.372,3.984],[-6.116,3.645],[-5.699,3.258]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.29411764705882354,0.29411764705882354,0.29411764705882354,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[6.83,7.826],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":187,"op":283,"st":187,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Layer 4 Outlines 6","parent":4,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":219,"s":[100]},{"t":225,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":130,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":154,"s":[-23]},{"t":178,"s":[0]}],"ix":10,"x":"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":130,"s":[234.215,-141.867,0],"to":[14.417,-18.75,0],"ti":[-14.417,18.75,0]},{"t":225,"s":[320.715,-254.367,0]}],"ix":2},"a":{"a":0,"k":[6.83,7.826,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":130,"s":[0,0,100]},{"t":225,"s":[243,243,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.132,0.114],[0,0],[0,0],[0.187,0.22],[-0.046,0.305],[-0.245,0.165],[-0.423,-0.064],[0,0],[0.141,-0.942],[0.209,-0.243],[0.601,-0.522],[0,0],[0,0],[-0.186,-0.209],[0.048,-0.318],[0.242,-0.161],[0.43,0.064],[0,0],[0.264,0.317],[-0.069,0.455],[-0.07,0.124],[-0.101,0.103],[-0.176,0.156]],"o":[[0,0],[0,0],[-0.424,-0.064],[-0.187,-0.219],[0.047,-0.319],[0.245,-0.164],[0,0],[1.011,0.152],[-0.068,0.45],[-0.208,0.243],[0,0],[0,0],[0.431,0.065],[0.185,0.21],[-0.049,0.331],[-0.241,0.162],[0,0],[-0.605,-0.091],[-0.265,-0.317],[0.023,-0.156],[0.07,-0.123],[0.102,-0.103],[0.177,-0.155]],"v":[[-5.236,2.854],[3.073,-4.518],[-2.98,-5.426],[-3.897,-5.85],[-4.108,-6.637],[-3.67,-7.361],[-2.667,-7.512],[5.135,-6.342],[6.439,-4.702],[6.025,-3.663],[4.81,-2.516],[-2.953,4.335],[4.307,5.424],[5.231,5.835],[5.437,6.628],[5.001,7.365],[3.994,7.512],[-4.912,6.174],[-6.216,5.563],[-6.511,4.404],[-6.372,3.984],[-6.116,3.645],[-5.699,3.258]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.29411764705882354,0.29411764705882354,0.29411764705882354,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[6.83,7.826],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":130,"op":226,"st":130,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"Layer 4 Outlines 5","parent":4,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":150,"s":[100]},{"t":156,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":61,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":85,"s":[-23]},{"t":109,"s":[0]}],"ix":10,"x":"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":61,"s":[234.215,-141.867,0],"to":[14.417,-18.75,0],"ti":[-14.417,18.75,0]},{"t":156,"s":[320.715,-254.367,0]}],"ix":2},"a":{"a":0,"k":[6.83,7.826,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":61,"s":[0,0,100]},{"t":156,"s":[243,243,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.132,0.114],[0,0],[0,0],[0.187,0.22],[-0.046,0.305],[-0.245,0.165],[-0.423,-0.064],[0,0],[0.141,-0.942],[0.209,-0.243],[0.601,-0.522],[0,0],[0,0],[-0.186,-0.209],[0.048,-0.318],[0.242,-0.161],[0.43,0.064],[0,0],[0.264,0.317],[-0.069,0.455],[-0.07,0.124],[-0.101,0.103],[-0.176,0.156]],"o":[[0,0],[0,0],[-0.424,-0.064],[-0.187,-0.219],[0.047,-0.319],[0.245,-0.164],[0,0],[1.011,0.152],[-0.068,0.45],[-0.208,0.243],[0,0],[0,0],[0.431,0.065],[0.185,0.21],[-0.049,0.331],[-0.241,0.162],[0,0],[-0.605,-0.091],[-0.265,-0.317],[0.023,-0.156],[0.07,-0.123],[0.102,-0.103],[0.177,-0.155]],"v":[[-5.236,2.854],[3.073,-4.518],[-2.98,-5.426],[-3.897,-5.85],[-4.108,-6.637],[-3.67,-7.361],[-2.667,-7.512],[5.135,-6.342],[6.439,-4.702],[6.025,-3.663],[4.81,-2.516],[-2.953,4.335],[4.307,5.424],[5.231,5.835],[5.437,6.628],[5.001,7.365],[3.994,7.512],[-4.912,6.174],[-6.216,5.563],[-6.511,4.404],[-6.372,3.984],[-6.116,3.645],[-5.699,3.258]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.29411764705882354,0.29411764705882354,0.29411764705882354,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[6.83,7.826],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":61,"op":157,"st":61,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Layer 4 Outlines 4","parent":4,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":79,"s":[100]},{"t":95,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":24,"s":[-23]},{"t":48,"s":[0]}],"ix":10,"x":"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[234.215,-141.867,0],"to":[14.417,-18.75,0],"ti":[-14.417,18.75,0]},{"t":95,"s":[320.715,-254.367,0]}],"ix":2},"a":{"a":0,"k":[6.83,7.826,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":0,"s":[0,0,100]},{"t":95,"s":[243,243,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.132,0.114],[0,0],[0,0],[0.187,0.22],[-0.046,0.305],[-0.245,0.165],[-0.423,-0.064],[0,0],[0.141,-0.942],[0.209,-0.243],[0.601,-0.522],[0,0],[0,0],[-0.186,-0.209],[0.048,-0.318],[0.242,-0.161],[0.43,0.064],[0,0],[0.264,0.317],[-0.069,0.455],[-0.07,0.124],[-0.101,0.103],[-0.176,0.156]],"o":[[0,0],[0,0],[-0.424,-0.064],[-0.187,-0.219],[0.047,-0.319],[0.245,-0.164],[0,0],[1.011,0.152],[-0.068,0.45],[-0.208,0.243],[0,0],[0,0],[0.431,0.065],[0.185,0.21],[-0.049,0.331],[-0.241,0.162],[0,0],[-0.605,-0.091],[-0.265,-0.317],[0.023,-0.156],[0.07,-0.123],[0.102,-0.103],[0.177,-0.155]],"v":[[-5.236,2.854],[3.073,-4.518],[-2.98,-5.426],[-3.897,-5.85],[-4.108,-6.637],[-3.67,-7.361],[-2.667,-7.512],[5.135,-6.342],[6.439,-4.702],[6.025,-3.663],[4.81,-2.516],[-2.953,4.335],[4.307,5.424],[5.231,5.835],[5.437,6.628],[5.001,7.365],[3.994,7.512],[-4.912,6.174],[-6.216,5.563],[-6.511,4.404],[-6.372,3.984],[-6.116,3.645],[-5.699,3.258]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.29411764705882354,0.29411764705882354,0.29411764705882354,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[6.83,7.826],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":96,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"Layer 4 Outlines 3","parent":4,"sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":25,"s":[100]},{"t":39,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":-56,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":-32,"s":[-23]},{"t":-8,"s":[0]}],"ix":10,"x":"var $bm_rt;\n$bm_rt = loopOut('cycle', 0);"},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":-56,"s":[234.215,-141.867,0],"to":[14.417,-18.75,0],"ti":[-14.417,18.75,0]},{"t":39,"s":[320.715,-254.367,0]}],"ix":2},"a":{"a":0,"k":[6.83,7.826,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":-56,"s":[0,0,100]},{"t":39,"s":[243,243,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.132,0.114],[0,0],[0,0],[0.187,0.22],[-0.046,0.305],[-0.245,0.165],[-0.423,-0.064],[0,0],[0.141,-0.942],[0.209,-0.243],[0.601,-0.522],[0,0],[0,0],[-0.186,-0.209],[0.048,-0.318],[0.242,-0.161],[0.43,0.064],[0,0],[0.264,0.317],[-0.069,0.455],[-0.07,0.124],[-0.101,0.103],[-0.176,0.156]],"o":[[0,0],[0,0],[-0.424,-0.064],[-0.187,-0.219],[0.047,-0.319],[0.245,-0.164],[0,0],[1.011,0.152],[-0.068,0.45],[-0.208,0.243],[0,0],[0,0],[0.431,0.065],[0.185,0.21],[-0.049,0.331],[-0.241,0.162],[0,0],[-0.605,-0.091],[-0.265,-0.317],[0.023,-0.156],[0.07,-0.123],[0.102,-0.103],[0.177,-0.155]],"v":[[-5.236,2.854],[3.073,-4.518],[-2.98,-5.426],[-3.897,-5.85],[-4.108,-6.637],[-3.67,-7.361],[-2.667,-7.512],[5.135,-6.342],[6.439,-4.702],[6.025,-3.663],[4.81,-2.516],[-2.953,4.335],[4.307,5.424],[5.231,5.835],[5.437,6.628],[5.001,7.365],[3.994,7.512],[-4.912,6.174],[-6.216,5.563],[-6.511,4.404],[-6.372,3.984],[-6.116,3.645],[-5.699,3.258]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.29411764705882354,0.29411764705882354,0.29411764705882354,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[6.83,7.826],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":-56,"op":40,"st":-56,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"Layer 3 Outlines 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[218.329,371.88,0],"ix":2},"a":{"a":0,"k":[38.092,69.509,0],"ix":1},"s":{"a":0,"k":[243,243,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[3.938,1.438],[0,0],[-65.154,-9.354],[-9.609,9.602],[7.273,-2.257],[31.437,4.606],[0.57,6.841]],"o":[[0,0],[-3.937,-1.437],[0,0],[28.176,4.045],[12.5,-12.49],[-7.25,2.25],[-24.005,-3.517],[-0.5,-6]],"v":[[-28,-24.676],[-28.625,-34.864],[-36.75,-28.176],[-3.971,35.91],[50.916,20.483],[44.387,3.718],[-3.854,14.749],[-31.25,-9.676]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.34509803921568627,0.3764705882352941,0.403921568627451,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[70.25,99.176],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 11","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"Layer 3 Outlines 7","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[40.876,14.559,0],"ix":2},"a":{"a":0,"k":[102.906,67.863,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-1.698,0.421],[0,0]],"o":[[0,0],[1.764,-0.438],[0,0]],"v":[[-3.133,0.437],[0.499,0.216],[3.133,-0.637]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[184.867,70.508],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 8","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-13.214,-7.897],[0,0]],"o":[[0,0],[11.938,7.135],[0,0]],"v":[[-28.406,-16.684],[4.344,-2.934],[28.406,16.684]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[159.052,59.941],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 9","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[8.75,1.083],[0,0],[4.898,6.334],[0,0]],"o":[[0.167,-5.167],[-7.795,-0.965],[0,0],[-6.821,-8.818],[0,0]],"v":[[29.067,17.669],[10.232,5.648],[-10.936,6.316],[-15.769,-8.852],[-29.234,-16.523]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[104.767,43.334],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 10","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":13,"ty":4,"nm":"Layer 3 Outlines 6","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[40.876,14.559,0],"ix":2},"a":{"a":0,"k":[102.906,67.863,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[{"i":[[0,0],[0,-2.136]],"o":[[0,0],[0,0]],"v":[[0.075,-2.136],[-0.074,2.136]],"c":false}]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":47,"s":[{"i":[[0,0],[0,-2.136]],"o":[[0,0],[0,0]],"v":[[-0.543,-6.868],[-1.103,0.387]],"c":false}]},{"t":95,"s":[{"i":[[0,0],[0,-2.136]],"o":[[0,0],[0,0]],"v":[[0.075,-2.136],[-0.074,2.136]],"c":false}]}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[140.2,21.552],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 7","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"Layer 3 Outlines 5","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":47,"s":[-12]},{"t":95,"s":[0]}],"ix":10},"p":{"a":0,"k":[127.06,8.762,0],"ix":2},"a":{"a":0,"k":[189.091,62.066,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-6.5,0]],"o":[[0,0],[0,0]],"v":[[-5.25,-1.647],[5.25,1.647]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[194.625,63.227],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-4,0.441]],"o":[[0,0],[0,0]],"v":[[-5.861,-0.417],[5.861,-0.024]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[194.952,59.676],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 6","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":15,"ty":4,"nm":"Layer 3 Outlines 4","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[40.876,14.559,0],"to":[0,-0.652,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":47,"s":[40.876,10.65,0],"to":[0,0,0],"ti":[0,-0.652,0]},{"t":95,"s":[40.876,14.559,0]}],"ix":2},"a":{"a":0,"k":[102.906,67.863,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[{"i":[[0,0],[-1.167,-3.083],[1.883,-0.745]],"o":[[0,0],[-2.563,0.453],[-0.698,-5.517]],"v":[[-3.459,-5.517],[4.375,3.566],[-3.677,5.517]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":47,"s":[{"i":[[0,0],[-1.167,-3.083],[1.883,-0.745]],"o":[[0,0],[-2.563,0.453],[-0.698,-5.517]],"v":[[-3.459,-5.517],[4.889,2.229],[-5.529,4.18]],"c":true}]},{"t":95,"s":[{"i":[[0,0],[-1.167,-3.083],[1.883,-0.745]],"o":[[0,0],[-2.563,0.453],[-0.698,-5.517]],"v":[[-3.459,-5.517],[4.375,3.566],[-3.677,5.517]],"c":true}]}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[148.792,13.35],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":16,"ty":4,"nm":"Layer 3 Outlines 3","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[40.876,14.559,0],"to":[0,-0.309,0],"ti":[0,0,0]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":47,"s":[40.876,12.708,0],"to":[0,0,0],"ti":[0,-0.309,0]},{"t":95,"s":[40.876,14.559,0]}],"ix":2},"a":{"a":0,"k":[102.906,67.863,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-4.5,-0.64],[-1.083,-3]],"o":[[0,0],[3.888,0.552],[0,0]],"v":[[-8.042,-3.709],[-2.209,-1.568],[8.041,3.709]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[164.792,45.791],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-1.229,0.584],[-0.75,1.334]],"o":[[0,0],[1.449,-0.687],[0,0]],"v":[[-4.157,1.531],[-2.509,0.22],[4.157,-1.531]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[188.925,48.696],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.473,0.595],[0,-0.737],[0.291,0.008]],"o":[[0.473,-0.595],[0,0.736],[-0.292,-0.008]],"v":[[-2.464,-0.909],[2.937,-0.499],[0.202,1.495]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[180.408,56.754],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":4,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":17,"ty":4,"nm":"Layer 3 Outlines","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[48.326,-10.566,0],"ix":2},"a":{"a":0,"k":[110.357,42.738,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":0,"s":[{"i":[[0,0],[0.189,-2.649],[1.25,-0.708],[1.062,-2.083],[2.17,1.33],[7.67,3.66],[0,0],[2.299,-1.611],[5.67,0],[14.33,-6.66],[6.67,3.66],[1.75,6.5],[-23.25,4.5],[0,0],[-5.139,-0.73],[-0.67,-0.38],[-2.5,0],[0,0],[-2.25,-0.25],[0,0],[-0.199,0.669],[-2.27,-0.21],[-0.13,-7.47],[0.061,-0.56],[1.027,-3.367],[0,-3.26]],"o":[[0,0],[-0.125,1.75],[0.333,1.25],[-1.73,2.841],[-2,-1.239],[-7.67,-3.67],[0,0],[-3.661,2.57],[-5.66,0],[-23.34,10.34],[-6.67,-3.67],[-5,-25.5],[23.25,-4.5],[0,0],[3.221,0.46],[0.08,-1.67],[2.5,0],[0,0],[2.25,0.25],[0.13,-0.089],[0.971,-3.13],[2.54,0.23],[0.01,0.63],[6.782,7.464],[-1.342,4.396],[0,5.802]],"v":[[78.905,26.786],[80.417,31.214],[78.333,34.339],[78.167,39.401],[68.974,41.04],[44.834,26.051],[24.424,18.381],[22.004,22.711],[4.664,21.051],[-26.997,31.711],[-71.667,34.051],[-82.917,17.131],[-47.167,-37.87],[9.084,-25.62],[24.853,-25.139],[32.334,-23.37],[35.334,-41.62],[50.834,-27.87],[59.834,-28.12],[65.932,-27.671],[66.432,-28.859],[72.333,-39.87],[81.206,-20.717],[81.134,-18.918],[85.583,4.631],[86.654,16.14]],"c":true}]},{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":47,"s":[{"i":[[0,0],[0.189,-2.649],[1.25,-0.708],[1.062,-2.083],[2.17,1.33],[7.67,3.66],[0,0],[2.299,-1.611],[5.67,0],[14.33,-6.66],[6.67,3.66],[1.75,6.5],[-23.25,4.5],[0,0],[-5.139,-0.73],[-0.67,-0.38],[-2.5,0],[0,0],[-2.25,-0.25],[0,0],[-0.199,0.669],[-2.27,-0.21],[-0.13,-7.47],[0.061,-0.56],[1.027,-3.367],[0,-3.26]],"o":[[0,0],[-0.125,1.75],[0.333,1.25],[-1.73,2.841],[-2,-1.239],[-7.67,-3.67],[0,0],[-3.661,2.57],[-5.66,0],[-23.34,10.34],[-6.67,-3.67],[-5,-25.5],[23.25,-4.5],[0,0],[3.221,0.46],[0.08,-1.67],[2.5,0],[0,0],[2.25,0.25],[0.13,-0.089],[0.971,-3.13],[2.54,0.23],[0.01,0.63],[6.782,7.464],[-1.342,4.396],[0,5.802]],"v":[[78.905,26.786],[80.417,31.214],[78.333,34.339],[78.167,39.401],[68.974,41.04],[44.834,26.051],[24.424,18.381],[22.004,22.711],[4.664,21.051],[-26.997,31.711],[-71.667,34.051],[-82.917,17.131],[-47.167,-37.87],[7.643,-31.175],[23.412,-30.695],[30.893,-28.925],[35.128,-44.294],[50.628,-30.544],[59.628,-30.794],[65.726,-30.345],[66.226,-31.534],[72.128,-42.544],[81,-23.392],[81.134,-18.917],[85.378,1.956],[86.448,13.466]],"c":true}]},{"t":95,"s":[{"i":[[0,0],[0.189,-2.649],[1.25,-0.708],[1.062,-2.083],[2.17,1.33],[7.67,3.66],[0,0],[2.299,-1.611],[5.67,0],[14.33,-6.66],[6.67,3.66],[1.75,6.5],[-23.25,4.5],[0,0],[-5.139,-0.73],[-0.67,-0.38],[-2.5,0],[0,0],[-2.25,-0.25],[0,0],[-0.199,0.669],[-2.27,-0.21],[-0.13,-7.47],[0.061,-0.56],[1.027,-3.367],[0,-3.26]],"o":[[0,0],[-0.125,1.75],[0.333,1.25],[-1.73,2.841],[-2,-1.239],[-7.67,-3.67],[0,0],[-3.661,2.57],[-5.66,0],[-23.34,10.34],[-6.67,-3.67],[-5,-25.5],[23.25,-4.5],[0,0],[3.221,0.46],[0.08,-1.67],[2.5,0],[0,0],[2.25,0.25],[0.13,-0.089],[0.971,-3.13],[2.54,0.23],[0.01,0.63],[6.782,7.464],[-1.342,4.396],[0,5.802]],"v":[[78.905,26.786],[80.417,31.214],[78.333,34.339],[78.167,39.401],[68.974,41.04],[44.834,26.051],[24.424,18.381],[22.004,22.711],[4.664,21.051],[-26.997,31.711],[-71.667,34.051],[-82.917,17.131],[-47.167,-37.87],[9.084,-25.62],[24.853,-25.139],[32.334,-23.37],[35.334,-41.62],[50.834,-27.87],[59.834,-28.12],[65.932,-27.671],[66.432,-28.859],[72.333,-39.87],[81.206,-20.717],[81.134,-18.918],[85.583,4.631],[86.654,16.14]],"c":true}]}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.34509803921568627,0.3764705882352941,0.403921568627451,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[108.917,42.62],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 12","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0},{"ddd":0,"ind":18,"ty":4,"nm":"Layer 2 Outlines","parent":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[50.145,86.718,0],"ix":2},"a":{"a":0,"k":[103.915,111.603,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-0.033,-0.406]],"o":[[0,0],[0,0]],"v":[[-0.174,-1.453],[0.174,1.453]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.803921568627451,0.8196078431372549,0.8313725490196079,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":7,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[170.661,122.783],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-2.31,-22.025]],"o":[[0,0],[0,0]],"v":[[-4.306,-23.886],[4.306,23.886]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.803921568627451,0.8196078431372549,0.8313725490196079,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":7,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[164.875,84.913],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-10.148],[10.148,0],[0,10.148],[-10.148,0]],"o":[[0,10.148],[-10.148,0],[0,-10.148],[10.148,0]],"v":[[18.375,0],[0,18.375],[-18.375,0],[0,-18.375]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.6823529411764706,0.7098039215686275,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[103.914,204.58],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":4,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-1.409,-0.32],[0,0],[0,0],[0,0],[-1.51,0]],"o":[[0,0],[0,0],[0,0],[1.41,-0.32],[1.5,0]],"v":[[4.375,-3.655],[4.375,4.145],[-4.375,4.145],[-4.375,-3.655],[0.005,-4.145]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.34509803921568627,0.3764705882352941,0.403921568627451,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[103.914,188.56],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":4,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-1.47,0],[0,0],[3.75,0],[0,0],[0,0],[-1.45,0]],"o":[[0,0],[0,0],[-3.75,0],[0,0],[1.47,0],[1.45,0]],"v":[[4.375,-2.495],[4.375,2.505],[0.075,1.328],[-4.375,2.505],[-4.375,-2.495],[0.005,-2.505]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.34509803921568627,0.3764705882352941,0.403921568627451,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[103.914,179.085],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":4,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-1.47,0],[0,0],[0,0],[0,0],[-1.45,0]],"o":[[0,0],[0,0],[0,0],[1.47,0],[1.45,0]],"v":[[4.375,-8.24],[4.375,8.25],[-4.375,8.25],[-4.375,-8.24],[0.005,-8.25]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.6823529411764706,0.7098039215686275,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[103.914,184.83],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 6","np":4,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[67.667,0],[0,0]],"o":[[0,0],[-67.667,0],[0,0]],"v":[[92.819,5.881],[0,-5.881],[-92.819,5.881]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.34509803921568627,0.3764705882352941,0.403921568627451,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":2,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[103.914,147.128],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 7","np":2,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-6.92],[24.27,-2.26],[8.17,0],[22.21,2.07],[0,4.96],[-40.53,0.31],[-1.45,0],[-1.47,0]],"o":[[0,4.96],[-22.21,2.07],[-8.18,0],[-24.27,-2.26],[0,-6.92],[1.47,0],[1.45,0],[40.52,0.31]],"v":[[93.165,-0.86],[53.105,9.93],[0.005,12.53],[-53.105,9.93],[-93.165,-0.86],[-4.375,-12.52],[0.005,-12.53],[4.375,-12.52]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.34509803921568627,0.3764705882352941,0.403921568627451,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[103.914,189.11],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 8","np":4,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.66,-2.5],[60.791,-1.939],[7.03,0],[6.171,0.201],[1.51,2.27],[-1,3],[0,0],[-11.831,37.08],[-21.5,0],[-18.519,-58.04],[0,0],[-1,-3]],"o":[[-1.52,2.27],[-6.16,0.201],[-7.03,0],[-60.79,-1.939],[-1.669,-2.5],[1,-3],[0,0],[18.52,-58.04],[21.5,0],[11.84,37.08],[0,0],[1,3]],"v":[[102.005,86.995],[19.775,101.854],[0.005,102.165],[-19.775,101.854],[-101.995,86.995],[-101.995,59.665],[-96.495,51.665],[-76.664,-39.165],[0.005,-102.165],[76.664,-39.165],[96.505,51.665],[102.005,59.665]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.6823529411764706,0.7098039215686275,0.7333333333333333,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[103.915,102.415],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 9","np":4,"cix":2,"bm":0,"ix":9,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":240,"st":0,"bm":0}],"markers":[]} \ No newline at end of file diff --git a/assets/images/home/empty.zip b/assets/images/home/empty.zip new file mode 100644 index 0000000000000000000000000000000000000000..20d4143402ded1c3e315e6d9c2da482ac8177342 GIT binary patch literal 4173 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 X1qJ{B000310RT4u0000G00000sd54W literal 0 HcmV?d00001 diff --git a/lib/app/modules/gate/views/gate_view.dart b/lib/app/modules/gate/views/gate_view.dart index 60cca37f..9af72aa5 100644 --- a/lib/app/modules/gate/views/gate_view.dart +++ b/lib/app/modules/gate/views/gate_view.dart @@ -163,7 +163,15 @@ class GateView extends GetView { ), ), listItemTextColor: Colors.white, - onTap: () {}, + onTap: () async { + // Initialize the shared preferences + final prefs = + await SharedPreferences.getInstance(); + + await prefs.setString('role', 'pengutus'); + + Get.offAllNamed(Routes.HOME_PENGUTUS); + }, ), ) : Container(), diff --git a/lib/app/modules/home/controllers/home_controller.dart b/lib/app/modules/home/controllers/home_controller.dart index 12e6d80a..c75befea 100644 --- a/lib/app/modules/home/controllers/home_controller.dart +++ b/lib/app/modules/home/controllers/home_controller.dart @@ -85,6 +85,10 @@ class HomeController extends GetxController { getMyDebiturInput(sort); } + Future refreshPengajuan() async { + getMySubmission(); + } + // Initialize firebase auth FirebaseAuth auth = FirebaseAuth.instance; diff --git a/lib/app/modules/home/views/home_view.dart b/lib/app/modules/home/views/home_view.dart index 3000fde3..8215c2dd 100644 --- a/lib/app/modules/home/views/home_view.dart +++ b/lib/app/modules/home/views/home_view.dart @@ -1048,7 +1048,7 @@ class HomeView extends GetView { ), Center( child: Lottie.asset( - 'assets/images/home/404.zip', + 'assets/images/home/empty.json', frameRate: FrameRate.max, fit: BoxFit.cover, repeat: true, @@ -1063,16 +1063,50 @@ class HomeView extends GetView { }, ), ), - const Center( - child: Text( - 'Data tidak dapat ditemukan di database atau list debitur masih kosong', - style: TextStyle( - color: Colors.white, - fontSize: 22, - fontWeight: FontWeight.normal, - letterSpacing: 1.2, - ), - textAlign: TextAlign.center, + Center( + child: Column( + mainAxisAlignment: + MainAxisAlignment.center, + children: [ + const Text( + 'Belum ada riwayat input debitur', + style: TextStyle( + color: Colors.white, + fontSize: 22, + fontWeight: FontWeight.normal, + letterSpacing: 1.2, + ), + textAlign: TextAlign.center, + ), + const SizedBox(height: 20), + TextButton( + style: TextButton.styleFrom( + backgroundColor: + Colors.blueAccent, + padding: const EdgeInsets + .symmetric( + horizontal: 30, + vertical: 15), + shape: RoundedRectangleBorder( + borderRadius: + BorderRadius.circular( + 30), + ), + ), + onPressed: () { + controller.refreshInputtan(); + }, + child: const Text( + 'Refresh', + style: TextStyle( + color: Colors.white, + fontSize: 18, + fontWeight: FontWeight.bold, + letterSpacing: 1.2, + ), + ), + ), + ], ), ), ], @@ -1089,234 +1123,250 @@ class HomeView extends GetView { ); } else { if (controller.listMySubmission.isNotEmpty) { - return ListView.builder( - itemCount: controller.listMySubmission.length, - itemBuilder: (context, index) { - bool isSameDate = true; - final dateString = controller - .listMySubmission[index].tglSubmit; + return RefreshIndicator( + onRefresh: () { + return controller.refreshPengajuan(); + }, + child: ListView.builder( + itemCount: + controller.listMySubmission.length, + itemBuilder: (context, index) { + bool isSameDate = true; + final dateString = controller + .listMySubmission[index].tglSubmit; - if (index == 0) { - isSameDate = false; - } else { - final prevDateString = controller - .listMySubmission[index - 1].tglSubmit - ?.toIso8601String(); - final DateTime prevDate = - DateTime.parse(prevDateString!); - isSameDate = dateString! == prevDate; - } + if (index == 0) { + isSameDate = false; + } else { + final prevDateString = controller + .listMySubmission[index - 1] + .tglSubmit + ?.toIso8601String(); + final DateTime prevDate = + DateTime.parse(prevDateString!); + isSameDate = dateString! == prevDate; + } - if (index == 0 || !(isSameDate)) { - return Column( - children: [ - const SizedBox( - height: 10, - ), - Text( - DateFormat('EEEE, dd MMMM yyyy') - .format(dateString!), - style: GoogleFonts.poppins( - color: Colors.white, - fontSize: 20, - fontWeight: FontWeight.bold, + if (index == 0 || !(isSameDate)) { + return Column( + children: [ + const SizedBox( + height: 10, ), - ), - const SizedBox( - height: 10, - ), - GFCard( - border: Border.all( - color: - Colors.black.withOpacity(0.1), + Text( + DateFormat('EEEE, dd MMMM yyyy') + .format(dateString!), + style: GoogleFonts.poppins( + color: Colors.white, + fontSize: 20, + fontWeight: FontWeight.bold, + ), ), - padding: const EdgeInsets.all(10), - color: - Colors.white.withOpacity(0.9), - elevation: 5, - titlePosition: GFPosition.start, - title: GFListTile( - avatar: const Icon( - FontAwesomeIcons - .bookBookmark), - title: Text( - controller - .listMySubmission[index] - .id!, - style: GoogleFonts.montserrat( - color: Colors.black87, - fontSize: 25, - fontWeight: FontWeight.w400, - ), + const SizedBox( + height: 10, + ), + GFCard( + border: Border.all( + color: Colors.black + .withOpacity(0.1), ), - subTitle: controller - .listMySubmission[ - index] - .status == - 'PENDING' - ? const Text( - 'Status : Pending', - style: TextStyle( - color: Colors.red, - fontSize: 18, - fontWeight: - FontWeight.bold, - ), - ) - : controller - .listMySubmission[ - index] - .status == - 'REVIEWED' - ? const Text( - 'Status : Sedang Direview', - style: TextStyle( - color: - Colors.orange, - fontSize: 18, - fontWeight: - FontWeight.bold, - ), - ) - : controller - .listMySubmission[ - index] - .status == - 'DONE' - ? const Text( - 'Status : Diterima', - style: TextStyle( - color: Colors - .green, - fontSize: 18, - fontWeight: - FontWeight - .bold, - ), - ) - : const Text( - 'Status : Ditolak 🤣', - style: TextStyle( - color: - Colors.pink, - fontSize: 18, - fontWeight: - FontWeight - .bold, - ), + padding: const EdgeInsets.all(10), + color: + Colors.white.withOpacity(0.9), + elevation: 5, + titlePosition: GFPosition.start, + title: GFListTile( + avatar: const Icon( + FontAwesomeIcons + .bookBookmark), + title: Text( + controller + .listMySubmission[index] + .id!, + style: GoogleFonts.montserrat( + color: Colors.black87, + fontSize: 25, + fontWeight: FontWeight.w400, + ), + ), + subTitle: controller + .listMySubmission[ + index] + .status == + 'PENDING' + ? const Text( + 'Status : Pending', + style: TextStyle( + color: Colors.red, + fontSize: 18, + fontWeight: + FontWeight.bold, + ), + ) + : controller + .listMySubmission[ + index] + .status == + 'REVIEWED' + ? const Text( + 'Status : Sedang Direview', + style: TextStyle( + color: + Colors.orange, + fontSize: 18, + fontWeight: + FontWeight + .bold, ), - icon: GFButton( - onPressed: (() { - Get.toNamed( - Routes.PENGAJUAN_DETAIL, - arguments: controller - .listMySubmission[ - index] - .id); - }), - text: 'Detail', - color: Colors.blue, - textStyle: - GoogleFonts.montserrat( - color: Colors.white, - fontSize: 15, - fontWeight: FontWeight.w400, + ) + : controller + .listMySubmission[ + index] + .status == + 'DONE' + ? const Text( + 'Status : Diterima', + style: + TextStyle( + color: Colors + .green, + fontSize: 18, + fontWeight: + FontWeight + .bold, + ), + ) + : const Text( + 'Status : Ditolak 🤣', + style: + TextStyle( + color: Colors + .pink, + fontSize: 18, + fontWeight: + FontWeight + .bold, + ), + ), + icon: GFButton( + onPressed: (() { + Get.toNamed( + Routes.PENGAJUAN_DETAIL, + arguments: controller + .listMySubmission[ + index] + .id); + }), + text: 'Detail', + color: Colors.blue, + textStyle: + GoogleFonts.montserrat( + color: Colors.white, + fontSize: 15, + fontWeight: FontWeight.w400, + ), ), ), - ), - ) - ], - ); - } else { - return GFCard( - border: Border.all( - color: Colors.black.withOpacity(0.1), - ), - padding: const EdgeInsets.all(10), - color: Colors.white.withOpacity(0.9), - elevation: 5, - titlePosition: GFPosition.start, - title: GFListTile( - avatar: const Icon( - FontAwesomeIcons.bookBookmark), - title: Text( - controller - .listMySubmission[index].id!, - style: GoogleFonts.montserrat( - color: Colors.black87, - fontSize: 25, - fontWeight: FontWeight.w400, - ), + ) + ], + ); + } else { + return GFCard( + border: Border.all( + color: + Colors.black.withOpacity(0.1), ), - subTitle: controller - .listMySubmission[index] - .status == - 'PENDING' - ? const Text( - 'Status : Pending', - style: TextStyle( - color: Colors.red, - fontSize: 18, - fontWeight: FontWeight.bold, - ), - ) - : controller - .listMySubmission[ - index] - .status == - 'REVIEWED' - ? const Text( - 'Status : Sedang Direview', - style: TextStyle( - color: Colors.yellow, - fontSize: 18, - fontWeight: - FontWeight.w400, - ), - ) - : controller - .listMySubmission[ - index] - .status == - 'DONE' - ? const Text( - 'Status : Diterima', - style: TextStyle( - color: Colors.green, - fontSize: 18, - fontWeight: - FontWeight.bold, - ), - ) - : const Text( - 'Status : Ditolak 🤣', - style: TextStyle( - color: Colors.pink, - fontSize: 18, - fontWeight: - FontWeight.bold, - ), + padding: const EdgeInsets.all(10), + color: Colors.white.withOpacity(0.9), + elevation: 5, + titlePosition: GFPosition.start, + title: GFListTile( + avatar: const Icon( + FontAwesomeIcons.bookBookmark), + title: Text( + controller + .listMySubmission[index].id!, + style: GoogleFonts.montserrat( + color: Colors.black87, + fontSize: 25, + fontWeight: FontWeight.w400, + ), + ), + subTitle: controller + .listMySubmission[index] + .status == + 'PENDING' + ? const Text( + 'Status : Pending', + style: TextStyle( + color: Colors.red, + fontSize: 18, + fontWeight: + FontWeight.bold, + ), + ) + : controller + .listMySubmission[ + index] + .status == + 'REVIEWED' + ? const Text( + 'Status : Sedang Direview', + style: TextStyle( + color: Colors.yellow, + fontSize: 18, + fontWeight: + FontWeight.w400, ), - icon: GFButton( - onPressed: (() { - Get.toNamed( - Routes.PENGAJUAN_DETAIL, - arguments: controller - .listMySubmission[index] - .id); - }), - text: 'Detail', - color: Colors.blue, - textStyle: GoogleFonts.montserrat( - color: Colors.white, - fontSize: 15, - fontWeight: FontWeight.w400, + ) + : controller + .listMySubmission[ + index] + .status == + 'DONE' + ? const Text( + 'Status : Diterima', + style: TextStyle( + color: + Colors.green, + fontSize: 18, + fontWeight: + FontWeight + .bold, + ), + ) + : const Text( + 'Status : Ditolak 🤣', + style: TextStyle( + color: + Colors.pink, + fontSize: 18, + fontWeight: + FontWeight + .bold, + ), + ), + icon: GFButton( + onPressed: (() { + Get.toNamed( + Routes.PENGAJUAN_DETAIL, + arguments: controller + .listMySubmission[index] + .id); + }), + text: 'Detail', + color: Colors.blue, + textStyle: GoogleFonts.montserrat( + color: Colors.white, + fontSize: 15, + fontWeight: FontWeight.w400, + ), ), ), - ), - ); - } - }, + ); + } + }, + ), ); } else { return Align( @@ -1342,7 +1392,7 @@ class HomeView extends GetView { ), Center( child: Lottie.asset( - 'assets/images/home/404.zip', + 'assets/images/home/empty.json', frameRate: FrameRate.max, fit: BoxFit.cover, repeat: true, @@ -1357,16 +1407,50 @@ class HomeView extends GetView { }, ), ), - const Center( - child: Text( - 'Data tidak dapat ditemukan di database atau list debitur masih kosong', - style: TextStyle( - color: Colors.white, - fontSize: 22, - fontWeight: FontWeight.normal, - letterSpacing: 1.2, - ), - textAlign: TextAlign.center, + Center( + child: Column( + mainAxisAlignment: + MainAxisAlignment.center, + children: [ + const Text( + 'Belum ada riwayat pengajuan', + style: TextStyle( + color: Colors.white, + fontSize: 22, + fontWeight: FontWeight.normal, + letterSpacing: 1.2, + ), + textAlign: TextAlign.center, + ), + const SizedBox(height: 20), + TextButton( + style: TextButton.styleFrom( + backgroundColor: + Colors.blueAccent, + padding: const EdgeInsets + .symmetric( + horizontal: 30, + vertical: 15), + shape: RoundedRectangleBorder( + borderRadius: + BorderRadius.circular( + 30), + ), + ), + onPressed: () { + controller.refreshPengajuan(); + }, + child: const Text( + 'Refresh', + style: TextStyle( + color: Colors.white, + fontSize: 18, + fontWeight: FontWeight.bold, + letterSpacing: 1.2, + ), + ), + ), + ], ), ), ], diff --git a/lib/app/modules/login-page/controllers/login_page_controller.dart b/lib/app/modules/login-page/controllers/login_page_controller.dart index f1fdcf9a..1e32732b 100644 --- a/lib/app/modules/login-page/controllers/login_page_controller.dart +++ b/lib/app/modules/login-page/controllers/login_page_controller.dart @@ -177,32 +177,7 @@ class LoginPageController extends GetxController { claims.claims!['reviewer'] == false) { debugPrint('User is signed in! and is pengutus only'); Get.offAllNamed(Routes.HOME_PENGUTUS); - // Get.offAllNamed(Routes.HOME_PENGUTUS); - } // check if claims is empty or null - // else if (mapCreated['claims'] == null) { - // debugPrint('User is signed in! but claims is empty or null'); - // Get.dialog(AlertDialog( - // title: const Text('Perhatian'), - // content: const Text( - // 'Akun anda belum terdaftar sebagai analis atau reviewer. Silahkan hubungi admin untuk melakukan registrasi.'), - // actions: [ - // TextButton( - // onPressed: () { - // Get.back(); - // Get.offAllNamed(Routes.LOGIN_PAGE); - // }, - // child: const Text('OK'), - // ), - // ], - // )).then((value) async { - // auth.signOut(); - - // final prefs = await SharedPreferences.getInstance(); - - // // remove all data from shared preferences - // prefs.clear(); - // }); - else { + } else { // check shared preferences if user already login final prefs = await SharedPreferences.getInstance(); // if user already login then route to dashboard page @@ -212,6 +187,9 @@ class LoginPageController extends GetxController { } else if (prefs.getString('role') == 'reviewer') { debugPrint('User is signed in! and already choose reviewer role'); Get.offAllNamed(Routes.HOME_REVIEWER); + } else if (prefs.getString('role') == 'pengutus') { + debugPrint('User is signed in! and already choose pengutus role'); + Get.offAllNamed(Routes.HOME_PENGUTUS); } else { debugPrint('User is signed in! but role is null'); Get.offAllNamed(Routes.GATE);