| @@ -1,562 +1,550 @@ | |||
| { | |||
| "devFiles": [], | |||
| "lowPriorityFiles": [ | |||
| "static/rdZEbJK54ZVbYoKMsXh_w/_buildManifest.js", | |||
| "static/rdZEbJK54ZVbYoKMsXh_w/_ssgManifest.js" | |||
| "static/-fPCw5-enddBuQ3ucRsfz/_buildManifest.js", | |||
| "static/-fPCw5-enddBuQ3ucRsfz/_ssgManifest.js" | |||
| ], | |||
| "pages": { | |||
| "/": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/_app": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/css/styles.f2395aca.chunk.css", | |||
| "static/chunks/styles.e3950fabcf0a16860ede.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/styles.98bcee15fc6ffe0b314f.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/_error": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/_polyfills": [ | |||
| "static/runtime/polyfills-d87f0bcfd0acb4e28a63.js" | |||
| "static/runtime/polyfills-8c4ba51ebf05234c3f3e.js" | |||
| ], | |||
| "/home": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/cdd3b5142e199bc14bb189be959a8b719d3f3cca.1c120880a2164db5c85d.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/0e7ad6a59a64ef400ee9cfb3e2ff3b3e10590c1f.74f905cd9fd504920f21.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/index": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/abous_us/aboutus": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/abous_us/penghargaan": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/abous_us/profile": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/abous_us/saham": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/abous_us/sejarah": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/abous_us/struktur_organisasi": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/abous_us/tata_kelola": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/abous_us/tugas_fungsi": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/carrer/carrer": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/carrer/carrer_details": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/9c34e1f84868e1731e5ee308d41a20776a6d4bbc.057d5451cf721803a975.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/e377267ca531a7c43c2fb32226c928eb78c93884.91b687a8a3e8f0bcda2f.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/home": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/47345f59796d5740db82268587002699468e7fc0.4d275502c059ab832999.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/a391c07a2a499043b0ebff05d04070c8d2044ad5.8419d5b45f1286f982cb.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/latest_news/latestnews": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/47345f59796d5740db82268587002699468e7fc0.4d275502c059ab832999.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/a391c07a2a499043b0ebff05d04070c8d2044ad5.8419d5b45f1286f982cb.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/latest_news/latestnews_details": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/9c34e1f84868e1731e5ee308d41a20776a6d4bbc.057d5451cf721803a975.js", | |||
| "static/chunks/47345f59796d5740db82268587002699468e7fc0.4d275502c059ab832999.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/e377267ca531a7c43c2fb32226c928eb78c93884.91b687a8a3e8f0bcda2f.js", | |||
| "static/chunks/a391c07a2a499043b0ebff05d04070c8d2044ad5.8419d5b45f1286f982cb.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/login": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/cdd3b5142e199bc14bb189be959a8b719d3f3cca.1c120880a2164db5c85d.js", | |||
| "static/chunks/be054d5c53b6b2bb6e834a2cb81189bb32176430.e02aca5fcda44d7a7831.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e7ad6a59a64ef400ee9cfb3e2ff3b3e10590c1f.74f905cd9fd504920f21.js", | |||
| "static/chunks/66aa58dfb39e1f66b92f26db52efa6f692ec8a1c.38f3ba2b71393a4699b4.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/product/product": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/product/product_detail": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/9c34e1f84868e1731e5ee308d41a20776a6d4bbc.057d5451cf721803a975.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/chunks/e377267ca531a7c43c2fb32226c928eb78c93884.91b687a8a3e8f0bcda2f.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/suzuki/register": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/cdd3b5142e199bc14bb189be959a8b719d3f3cca.1c120880a2164db5c85d.js", | |||
| "static/chunks/be054d5c53b6b2bb6e834a2cb81189bb32176430.e02aca5fcda44d7a7831.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/0e7ad6a59a64ef400ee9cfb3e2ff3b3e10590c1f.74f905cd9fd504920f21.js", | |||
| "static/chunks/66aa58dfb39e1f66b92f26db52efa6f692ec8a1c.38f3ba2b71393a4699b4.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/abous_us/aboutus": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/abous_us/penghargaan": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/abous_us/profile": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/abous_us/saham": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/abous_us/sejarah": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/abous_us/struktur_organisasi": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/abous_us/tata_kelola": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/abous_us/tugas_fungsi": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/carrer/carrer": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/carrer/carrer_details": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/9c34e1f84868e1731e5ee308d41a20776a6d4bbc.057d5451cf721803a975.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/e377267ca531a7c43c2fb32226c928eb78c93884.91b687a8a3e8f0bcda2f.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/cart/cart": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/cdd3b5142e199bc14bb189be959a8b719d3f3cca.1c120880a2164db5c85d.js", | |||
| "static/chunks/b0897c452571ee12e0ba668a1e1be18d2d9109a3.7ab7cc550b05aa9bdd1a.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e7ad6a59a64ef400ee9cfb3e2ff3b3e10590c1f.74f905cd9fd504920f21.js", | |||
| "static/chunks/697458e14558454e5bef5d852602154dde557002.15c6858ba9b7a1b89136.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/cart/checkout": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/cdd3b5142e199bc14bb189be959a8b719d3f3cca.1c120880a2164db5c85d.js", | |||
| "static/chunks/b0897c452571ee12e0ba668a1e1be18d2d9109a3.7ab7cc550b05aa9bdd1a.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e7ad6a59a64ef400ee9cfb3e2ff3b3e10590c1f.74f905cd9fd504920f21.js", | |||
| "static/chunks/697458e14558454e5bef5d852602154dde557002.15c6858ba9b7a1b89136.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/dealers": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/b337d7b85b43d82208ec869e4d0433cfebbe33b2.b56fdb761a119ea1d389.js", | |||
| "static/chunks/9bc81054f7a6321f6f8e76f22bc8d8ecbf1bbe36.374047a3110fb5bbe27c.js", | |||
| "static/chunks/3e7ca7e52495979a85c950da8fbcc56fb857a518.53c45f0eba81e368abb5.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/ca7b8d61984831249f70eeffee95d7cc4792b41d.ac20246b2c42a0f7c4cc.js", | |||
| "static/chunks/57c5f1e59cfaeab472b1a71d52e03f0c1491fe9b.3d72e4da615f40e532ba.js", | |||
| "static/chunks/524252274c48ef415b75bace666ea023a6fcf4c2.cafb87aa25107f56295b.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/home": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/b337d7b85b43d82208ec869e4d0433cfebbe33b2.b56fdb761a119ea1d389.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/ca7b8d61984831249f70eeffee95d7cc4792b41d.ac20246b2c42a0f7c4cc.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/latest_news/latestnews": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/b337d7b85b43d82208ec869e4d0433cfebbe33b2.b56fdb761a119ea1d389.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/ca7b8d61984831249f70eeffee95d7cc4792b41d.ac20246b2c42a0f7c4cc.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/latest_news/latestnews_details": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/9c34e1f84868e1731e5ee308d41a20776a6d4bbc.057d5451cf721803a975.js", | |||
| "static/chunks/b337d7b85b43d82208ec869e4d0433cfebbe33b2.b56fdb761a119ea1d389.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/e377267ca531a7c43c2fb32226c928eb78c93884.91b687a8a3e8f0bcda2f.js", | |||
| "static/chunks/ca7b8d61984831249f70eeffee95d7cc4792b41d.ac20246b2c42a0f7c4cc.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/login": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/cdd3b5142e199bc14bb189be959a8b719d3f3cca.1c120880a2164db5c85d.js", | |||
| "static/chunks/be054d5c53b6b2bb6e834a2cb81189bb32176430.e02aca5fcda44d7a7831.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e7ad6a59a64ef400ee9cfb3e2ff3b3e10590c1f.74f905cd9fd504920f21.js", | |||
| "static/chunks/66aa58dfb39e1f66b92f26db52efa6f692ec8a1c.38f3ba2b71393a4699b4.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/accessories": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/b337d7b85b43d82208ec869e4d0433cfebbe33b2.b56fdb761a119ea1d389.js", | |||
| "static/chunks/9bc81054f7a6321f6f8e76f22bc8d8ecbf1bbe36.374047a3110fb5bbe27c.js", | |||
| "static/chunks/3e7ca7e52495979a85c950da8fbcc56fb857a518.53c45f0eba81e368abb5.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/ca7b8d61984831249f70eeffee95d7cc4792b41d.ac20246b2c42a0f7c4cc.js", | |||
| "static/chunks/57c5f1e59cfaeab472b1a71d52e03f0c1491fe9b.3d72e4da615f40e532ba.js", | |||
| "static/chunks/524252274c48ef415b75bace666ea023a6fcf4c2.cafb87aa25107f56295b.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/accessories_details": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/9c34e1f84868e1731e5ee308d41a20776a6d4bbc.057d5451cf721803a975.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/chunks/e377267ca531a7c43c2fb32226c928eb78c93884.91b687a8a3e8f0bcda2f.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/apparel": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/b337d7b85b43d82208ec869e4d0433cfebbe33b2.b56fdb761a119ea1d389.js", | |||
| "static/chunks/9bc81054f7a6321f6f8e76f22bc8d8ecbf1bbe36.374047a3110fb5bbe27c.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/ca7b8d61984831249f70eeffee95d7cc4792b41d.ac20246b2c42a0f7c4cc.js", | |||
| "static/chunks/57c5f1e59cfaeab472b1a71d52e03f0c1491fe9b.3d72e4da615f40e532ba.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/apparel_details": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/9c34e1f84868e1731e5ee308d41a20776a6d4bbc.057d5451cf721803a975.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/chunks/e377267ca531a7c43c2fb32226c928eb78c93884.91b687a8a3e8f0bcda2f.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/helmet": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/b337d7b85b43d82208ec869e4d0433cfebbe33b2.b56fdb761a119ea1d389.js", | |||
| "static/chunks/9bc81054f7a6321f6f8e76f22bc8d8ecbf1bbe36.374047a3110fb5bbe27c.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/ca7b8d61984831249f70eeffee95d7cc4792b41d.ac20246b2c42a0f7c4cc.js", | |||
| "static/chunks/57c5f1e59cfaeab472b1a71d52e03f0c1491fe9b.3d72e4da615f40e532ba.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/helmet_details": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/9c34e1f84868e1731e5ee308d41a20776a6d4bbc.057d5451cf721803a975.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/chunks/e377267ca531a7c43c2fb32226c928eb78c93884.91b687a8a3e8f0bcda2f.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/product": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/product_detail": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/9c34e1f84868e1731e5ee308d41a20776a6d4bbc.057d5451cf721803a975.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/chunks/e377267ca531a7c43c2fb32226c928eb78c93884.91b687a8a3e8f0bcda2f.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/yamalube": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/b337d7b85b43d82208ec869e4d0433cfebbe33b2.b56fdb761a119ea1d389.js", | |||
| "static/chunks/9bc81054f7a6321f6f8e76f22bc8d8ecbf1bbe36.374047a3110fb5bbe27c.js", | |||
| "static/chunks/3e7ca7e52495979a85c950da8fbcc56fb857a518.53c45f0eba81e368abb5.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/ca7b8d61984831249f70eeffee95d7cc4792b41d.ac20246b2c42a0f7c4cc.js", | |||
| "static/chunks/57c5f1e59cfaeab472b1a71d52e03f0c1491fe9b.3d72e4da615f40e532ba.js", | |||
| "static/chunks/524252274c48ef415b75bace666ea023a6fcf4c2.cafb87aa25107f56295b.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/yamalube_details": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/0e2baf509ca3492c40744fff686aed7e61e5cca4.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/9c34e1f84868e1731e5ee308d41a20776a6d4bbc.057d5451cf721803a975.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/f8630a4f9afadc32a88a6f84149374cbace3dd8f.c4f68d0fe5e0979a74c1.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/chunks/e377267ca531a7c43c2fb32226c928eb78c93884.91b687a8a3e8f0bcda2f.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/ygp": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/b337d7b85b43d82208ec869e4d0433cfebbe33b2.b56fdb761a119ea1d389.js", | |||
| "static/chunks/9bc81054f7a6321f6f8e76f22bc8d8ecbf1bbe36.374047a3110fb5bbe27c.js", | |||
| "static/chunks/3e7ca7e52495979a85c950da8fbcc56fb857a518.53c45f0eba81e368abb5.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/ca7b8d61984831249f70eeffee95d7cc4792b41d.ac20246b2c42a0f7c4cc.js", | |||
| "static/chunks/57c5f1e59cfaeab472b1a71d52e03f0c1491fe9b.3d72e4da615f40e532ba.js", | |||
| "static/chunks/524252274c48ef415b75bace666ea023a6fcf4c2.cafb87aa25107f56295b.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/product/ygp_details": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/9c34e1f84868e1731e5ee308d41a20776a6d4bbc.057d5451cf721803a975.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/chunks/e377267ca531a7c43c2fb32226c928eb78c93884.91b687a8a3e8f0bcda2f.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/profile/profile": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/3d7819794aa7d3c27e11323040747140decc2965.88e4a8263cf472f99440.js", | |||
| "static/chunks/3f2023480744cd0097b85e72bdb9e84bd2ddebbe.f06d24338b31d4174082.js", | |||
| "static/chunks/611b3cb1e0133ed8ca53caed14942b240653affe.39c2f3466f1bdca8e946.js", | |||
| "static/chunks/cdd3b5142e199bc14bb189be959a8b719d3f3cca.1c120880a2164db5c85d.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/b989c13a8294bb4cb8c69a3b910f8a29d0e36c70.88e4a8263cf472f99440.js", | |||
| "static/chunks/096d86a0c1b023e400df250a77d5b0b012050a22.f06d24338b31d4174082.js", | |||
| "static/chunks/0e7ad6a59a64ef400ee9cfb3e2ff3b3e10590c1f.74f905cd9fd504920f21.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ], | |||
| "/yamaha/register": [ | |||
| "static/runtime/webpack-83bd83ab777f80a6c75c.js", | |||
| "static/chunks/framework.619a4f70c1d4d3a29cbc.js", | |||
| "static/chunks/commons.2ca93df023a68960eb7a.js", | |||
| "static/chunks/b3ce960e259a2b736de475dd332167648c3274e4.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/9a6d8680ea7c99511982950e4e8db6bfc525fbaa.b3732e25955d6028b57b.js", | |||
| "static/chunks/cdd3b5142e199bc14bb189be959a8b719d3f3cca.1c120880a2164db5c85d.js", | |||
| "static/chunks/be054d5c53b6b2bb6e834a2cb81189bb32176430.e02aca5fcda44d7a7831.js", | |||
| "static/runtime/main-c6853b0ca3187e7cab71.js" | |||
| "static/chunks/4ee85aa87558fd220240d75c2ed8f05bb426df17.a623a45a4a3202af4c8e.js", | |||
| "static/chunks/382a72c5a92752809b99e6b38716235fa6be5f54.b3732e25955d6028b57b.js", | |||
| "static/chunks/0e7ad6a59a64ef400ee9cfb3e2ff3b3e10590c1f.74f905cd9fd504920f21.js", | |||
| "static/chunks/66aa58dfb39e1f66b92f26db52efa6f692ec8a1c.38f3ba2b71393a4699b4.js", | |||
| "static/runtime/main-dd27811cc856daef04a3.js" | |||
| ] | |||
| } | |||
| } | |||
| @@ -1 +1 @@ | |||
| {"/_app":"static/rdZEbJK54ZVbYoKMsXh_w/pages/_app.js","/_document":"static/rdZEbJK54ZVbYoKMsXh_w/pages/_document.js","/_error":"static/rdZEbJK54ZVbYoKMsXh_w/pages/_error.js","/api/auth/login":"static/rdZEbJK54ZVbYoKMsXh_w/pages/api/auth/login.js","/api/auth/logout":"static/rdZEbJK54ZVbYoKMsXh_w/pages/api/auth/logout.js","/home":"static/rdZEbJK54ZVbYoKMsXh_w/pages/home.js","/index":"static/rdZEbJK54ZVbYoKMsXh_w/pages/index.js","/suzuki/abous_us/aboutus":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/abous_us/aboutus.js","/suzuki/abous_us/penghargaan":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/abous_us/penghargaan.js","/suzuki/abous_us/profile":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/abous_us/profile.js","/suzuki/abous_us/saham":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/abous_us/saham.js","/suzuki/abous_us/sejarah":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/abous_us/sejarah.js","/suzuki/abous_us/struktur_organisasi":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/abous_us/struktur_organisasi.js","/suzuki/abous_us/tata_kelola":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/abous_us/tata_kelola.js","/suzuki/abous_us/tugas_fungsi":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/abous_us/tugas_fungsi.js","/suzuki/carrer/carrer":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/carrer/carrer.js","/suzuki/carrer/carrer_details":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/carrer/carrer_details.js","/suzuki/home":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/home.js","/suzuki/latest_news/latestnews":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/latest_news/latestnews.js","/suzuki/latest_news/latestnews_details":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/latest_news/latestnews_details.js","/suzuki/login":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/login.js","/suzuki/product/product":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/product/product.js","/suzuki/product/product_detail":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/product/product_detail.js","/suzuki/register":"static/rdZEbJK54ZVbYoKMsXh_w/pages/suzuki/register.js","/yamaha/abous_us/aboutus":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/abous_us/aboutus.js","/yamaha/abous_us/penghargaan":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/abous_us/penghargaan.js","/yamaha/abous_us/profile":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/abous_us/profile.js","/yamaha/abous_us/saham":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/abous_us/saham.js","/yamaha/abous_us/sejarah":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/abous_us/sejarah.js","/yamaha/abous_us/struktur_organisasi":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/abous_us/struktur_organisasi.js","/yamaha/abous_us/tata_kelola":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/abous_us/tata_kelola.js","/yamaha/abous_us/tugas_fungsi":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/abous_us/tugas_fungsi.js","/yamaha/carrer/carrer":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/carrer/carrer.js","/yamaha/carrer/carrer_details":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/carrer/carrer_details.js","/yamaha/cart/cart":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/cart/cart.js","/yamaha/cart/checkout":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/cart/checkout.js","/yamaha/dealers":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/dealers.js","/yamaha/home":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/home.js","/yamaha/latest_news/latestnews":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/latest_news/latestnews.js","/yamaha/latest_news/latestnews_details":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/latest_news/latestnews_details.js","/yamaha/login":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/login.js","/yamaha/product/accessories":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/accessories.js","/yamaha/product/accessories_details":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/accessories_details.js","/yamaha/product/apparel":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/apparel.js","/yamaha/product/apparel_details":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/apparel_details.js","/yamaha/product/helmet":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/helmet.js","/yamaha/product/helmet_details":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/helmet_details.js","/yamaha/product/product":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/product.js","/yamaha/product/product_detail":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/product_detail.js","/yamaha/product/yamalube":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/yamalube.js","/yamaha/product/yamalube_details":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/yamalube_details.js","/yamaha/product/ygp":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/ygp.js","/yamaha/product/ygp_details":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/product/ygp_details.js","/yamaha/profile/profile":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/profile/profile.js","/yamaha/register":"static/rdZEbJK54ZVbYoKMsXh_w/pages/yamaha/register.js","/":"static/rdZEbJK54ZVbYoKMsXh_w/pages/index.js"} | |||
| {"/_app":"static/-fPCw5-enddBuQ3ucRsfz/pages/_app.js","/_document":"static/-fPCw5-enddBuQ3ucRsfz/pages/_document.js","/_error":"static/-fPCw5-enddBuQ3ucRsfz/pages/_error.js","/api/auth/login":"static/-fPCw5-enddBuQ3ucRsfz/pages/api/auth/login.js","/api/auth/logout":"static/-fPCw5-enddBuQ3ucRsfz/pages/api/auth/logout.js","/home":"static/-fPCw5-enddBuQ3ucRsfz/pages/home.js","/index":"static/-fPCw5-enddBuQ3ucRsfz/pages/index.js","/suzuki/abous_us/aboutus":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/abous_us/aboutus.js","/suzuki/abous_us/penghargaan":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/abous_us/penghargaan.js","/suzuki/abous_us/profile":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/abous_us/profile.js","/suzuki/abous_us/saham":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/abous_us/saham.js","/suzuki/abous_us/sejarah":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/abous_us/sejarah.js","/suzuki/abous_us/struktur_organisasi":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/abous_us/struktur_organisasi.js","/suzuki/abous_us/tata_kelola":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/abous_us/tata_kelola.js","/suzuki/abous_us/tugas_fungsi":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/abous_us/tugas_fungsi.js","/suzuki/carrer/carrer":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/carrer/carrer.js","/suzuki/carrer/carrer_details":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/carrer/carrer_details.js","/suzuki/home":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/home.js","/suzuki/latest_news/latestnews":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/latest_news/latestnews.js","/suzuki/latest_news/latestnews_details":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/latest_news/latestnews_details.js","/suzuki/login":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/login.js","/suzuki/product/product":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/product/product.js","/suzuki/product/product_detail":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/product/product_detail.js","/suzuki/register":"static/-fPCw5-enddBuQ3ucRsfz/pages/suzuki/register.js","/yamaha/abous_us/aboutus":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/abous_us/aboutus.js","/yamaha/abous_us/penghargaan":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/abous_us/penghargaan.js","/yamaha/abous_us/profile":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/abous_us/profile.js","/yamaha/abous_us/saham":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/abous_us/saham.js","/yamaha/abous_us/sejarah":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/abous_us/sejarah.js","/yamaha/abous_us/struktur_organisasi":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/abous_us/struktur_organisasi.js","/yamaha/abous_us/tata_kelola":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/abous_us/tata_kelola.js","/yamaha/abous_us/tugas_fungsi":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/abous_us/tugas_fungsi.js","/yamaha/carrer/carrer":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/carrer/carrer.js","/yamaha/carrer/carrer_details":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/carrer/carrer_details.js","/yamaha/cart/cart":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/cart/cart.js","/yamaha/cart/checkout":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/cart/checkout.js","/yamaha/dealers":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/dealers.js","/yamaha/home":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/home.js","/yamaha/latest_news/latestnews":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/latest_news/latestnews.js","/yamaha/latest_news/latestnews_details":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/latest_news/latestnews_details.js","/yamaha/login":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/login.js","/yamaha/product/accessories":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/accessories.js","/yamaha/product/accessories_details":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/accessories_details.js","/yamaha/product/apparel":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/apparel.js","/yamaha/product/apparel_details":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/apparel_details.js","/yamaha/product/helmet":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/helmet.js","/yamaha/product/helmet_details":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/helmet_details.js","/yamaha/product/product":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/product.js","/yamaha/product/product_detail":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/product_detail.js","/yamaha/product/yamalube":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/yamalube.js","/yamaha/product/yamalube_details":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/yamalube_details.js","/yamaha/product/ygp":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/ygp.js","/yamaha/product/ygp_details":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/product/ygp_details.js","/yamaha/profile/profile":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/profile/profile.js","/yamaha/register":"static/-fPCw5-enddBuQ3ucRsfz/pages/yamaha/register.js","/":"static/-fPCw5-enddBuQ3ucRsfz/pages/index.js"} | |||
| @@ -52,7 +52,7 @@ async function login(partner, email, password, token = "") { | |||
| id | |||
| username | |||
| role{ | |||
| role{ | |||
| name | |||
| description | |||
| } | |||
| @@ -140,8 +140,28 @@ async function logout(id, token = "") { | |||
| return res; | |||
| } | |||
| async function profile(token="") { | |||
| var res = await apollo.query( | |||
| ` | |||
| query{ | |||
| users{ | |||
| username | |||
| firstName | |||
| lastName | |||
| telp | |||
| address | |||
| } | |||
| } | |||
| `, | |||
| token | |||
| ); | |||
| return res; | |||
| } | |||
| module.exports = { | |||
| register: register, | |||
| login: login, | |||
| logout: logout, | |||
| profile: profile, | |||
| }; | |||
| @@ -25,6 +25,33 @@ async function GetCheckoutproduct(id, token = "") { | |||
| return res; | |||
| } | |||
| async function GetCheckoutproductBayar(id, token = "") { | |||
| var res = await apollo.query( | |||
| ` | |||
| query($input: ID!) { | |||
| product(id:$input) { | |||
| id | |||
| name | |||
| price | |||
| description | |||
| img { | |||
| url | |||
| } | |||
| overview | |||
| specification | |||
| film | |||
| stock | |||
| } | |||
| } | |||
| `, | |||
| token, { | |||
| "input": id | |||
| } | |||
| ); | |||
| return res; | |||
| } | |||
| module.exports = { | |||
| GetCheckoutproduct: GetCheckoutproduct, | |||
| GetCheckoutproductBayar: GetCheckoutproductBayar, | |||
| }; | |||
| @@ -0,0 +1,24 @@ | |||
| import apollo from "../../lib/apollo.js"; | |||
| async function GetProfile(token="") { | |||
| var res = await apollo.query( | |||
| ` | |||
| query{ | |||
| users{ | |||
| username | |||
| firstName | |||
| lastNam | |||
| telp | |||
| address | |||
| } | |||
| } | |||
| `, | |||
| token | |||
| ); | |||
| return res; | |||
| } | |||
| module.exports = { | |||
| GetProfile:GetProfile, | |||
| }; | |||
| @@ -140,7 +140,8 @@ export default function HeaderLinks({ username, ...props }) { | |||
| </ListItem> | |||
| <ListItem className={classes.listItem} style={{ marginTop: "10px" }}> | |||
| <Button | |||
| href="/yamaha/profile/profile" | |||
| // href="/yamaha/profile/profile" | |||
| href="#" | |||
| color="transparent" | |||
| className={classes.navLink} | |||
| > | |||
| @@ -48,6 +48,8 @@ | |||
| "jquery.scrollto": "^2.1.3", | |||
| "less": "^4.1.1", | |||
| "mdbreact": "^5.0.1", | |||
| "midtrans-client": "^1.2.3", | |||
| "midtrans-payment": "^1.2.7", | |||
| "moment": "2.25.3", | |||
| "next": "9.3.6", | |||
| "next-compose-plugins": "2.2.0", | |||
| @@ -111,7 +111,8 @@ const Transition = React.forwardRef(function Transition(props, ref) { | |||
| return <Slide direction="up" ref={ref} {...props} />; | |||
| }); | |||
| const DataCheckout = function ({ backend, checkoutproduct, ...props }) { | |||
| const DataCheckout = function ({ midtransClient, backend, checkoutproduct, transactionToken, ...props }) { | |||
| console.log('Token :',transactionToken); | |||
| const classes = useStyles(); | |||
| const [open, setOpen] = React.useState(false); | |||
| const handleClickOpen = () => { | |||
| @@ -282,106 +283,9 @@ const DataCheckout = function ({ backend, checkoutproduct, ...props }) { | |||
| ); | |||
| }) | |||
| const CheckoutMetodePembayaran = checkoutproduct.map((data) => { | |||
| return ( | |||
| <div> | |||
| <div align="center"> | |||
| <Card className={classes.textCenter} align="center"> | |||
| <CardBody> | |||
| <div style={{padding:"10px"}}> | |||
| <Typography variant="h6" align="left" className={classes.title}> | |||
| Pilih Metode Pembayaran | |||
| </Typography><br></br><hr></hr> | |||
| <FormControl component="fieldset"> | |||
| <RadioGroup defaultValue="female" aria-label="gender"> | |||
| <GridContainer justify="center" style={{marginTop:"-50px"}}> | |||
| <Grid style={{padding:"25px"}}> | |||
| <Card style={{width: "200px"}}> | |||
| <div align="center"> | |||
| <FormControlLabel value="1" style={{marginLeft:"20px"}} control={<StyledRadio />} /><br></br> | |||
| <img src="https://1.bp.blogspot.com/-ghcXZfSaQBI/X6I02Zg-NfI/AAAAAAAAHaY/OxF9Klx83zQGKNETJ9qEnZCCmjsJ1DifQCLcBGAsYHQ/s1000/logo%2Bbank%2Bbca-01.png" width="100px"/> | |||
| <h4>Bank BCA</h4> | |||
| </div> | |||
| </Card> | |||
| </Grid> | |||
| <Grid style={{padding:"25px"}}> | |||
| <Card style={{width: "200px"}}> | |||
| <div align="center"> | |||
| <FormControlLabel value="2" style={{marginLeft:"20px"}} control={<StyledRadio />} /><br></br> | |||
| <img src="https://cdn.ayobandung.com/images-bandung/post/articles/2020/02/03/78361/logo-bri-bank-rakyat-indonesia-png-terbaru.png" width="120px"/> | |||
| <h4>Bank BRI</h4> | |||
| </div> | |||
| </Card> | |||
| </Grid> | |||
| <Grid style={{padding:"25px"}}> | |||
| <Card style={{width: "200px"}}> | |||
| <div align="center"> | |||
| <FormControlLabel value="3" style={{marginLeft:"20px"}} control={<StyledRadio />} /><br></br> | |||
| <img src="https://cdn3.iconfinder.com/data/icons/banks-in-indonesia-logo-badge/100/Mandiri-512.png" width="140px"/> | |||
| <h4>Bank Mandiri</h4> | |||
| </div> | |||
| </Card> | |||
| </Grid> | |||
| <Grid style={{padding:"25px"}}> | |||
| <Card style={{width: "200px"}}> | |||
| <div align="center"> | |||
| <FormControlLabel value="4" style={{marginLeft:"20px"}} control={<StyledRadio />} /><br></br> | |||
| <img src="https://cdn3.iconfinder.com/data/icons/banks-in-indonesia-logo-badge/100/BNI-512.png" width="140px"/> | |||
| <h4>Bank BNI</h4> | |||
| </div> | |||
| </Card> | |||
| </Grid> | |||
| </GridContainer> | |||
| <GridContainer justify="center" style={{marginTop:"-50px"}}> | |||
| <Grid style={{padding:"25px"}}> | |||
| <Card style={{width: "200px"}}> | |||
| <div align="center"> | |||
| <FormControlLabel value="5" style={{marginLeft:"20px"}} control={<StyledRadio />} /><br></br> | |||
| <img src="https://statik.tempo.co/?id=997833&width=650" width="140px"/> | |||
| <h4>Bank BSI</h4> | |||
| </div> | |||
| </Card> | |||
| </Grid> | |||
| <Grid style={{padding:"25px"}}> | |||
| <Card style={{width: "200px"}}> | |||
| <div align="center"> | |||
| <FormControlLabel value="6" style={{marginLeft:"20px"}} control={<StyledRadio />} /><br></br> | |||
| <img src="https://internationalinvestorclub.com/wp-content/uploads/2020/10/BNLI-Bank-Permata.jpg" width="150px"/> | |||
| <h4>Bank Permata</h4> | |||
| </div> | |||
| </Card> | |||
| </Grid> | |||
| <Grid style={{padding:"25px"}}> | |||
| <Card style={{width: "200px"}}> | |||
| <div align="center"> | |||
| <FormControlLabel value="7" style={{marginLeft:"20px"}} control={<StyledRadio />} /><br></br> | |||
| <img src="https://cdn.ayobandung.com/images-bandung/post/articles/2018/11/10/40370/images.png" width="135px"/> | |||
| <h4>Bank Danamon</h4> | |||
| </div> | |||
| </Card> | |||
| </Grid> | |||
| <Grid style={{padding:"25px"}}> | |||
| <Card style={{width: "200px"}}> | |||
| <div align="center"> | |||
| <FormControlLabel value="8" style={{marginLeft:"20px"}} control={<StyledRadio />} /><br></br> | |||
| <img src="https://seekvectorlogo.com/wp-content/uploads/2020/04/maybank-vector-logo.png" width="145px"/> | |||
| <h4>Bank Maybank</h4> | |||
| </div> | |||
| </Card> | |||
| </Grid> | |||
| </GridContainer> | |||
| </RadioGroup> | |||
| </FormControl> | |||
| </div> | |||
| </CardBody> | |||
| </Card> | |||
| </div> | |||
| </div> | |||
| ); | |||
| }) | |||
| return ( | |||
| <div style={{padding:"50px"}}> | |||
| <script type="text/javascript" src="https://app.sandbox.midtrans.com/snap/snap.js" data-client-key="SB-Mid-client-srx674LjNbEybd4-"/> | |||
| <div align="center" className={classes.section} id="notifications"> | |||
| <SnackbarContent | |||
| message={ | |||
| @@ -398,15 +302,12 @@ const DataCheckout = function ({ backend, checkoutproduct, ...props }) { | |||
| {CheckoutProdukPesanan} | |||
| </div> | |||
| <div> | |||
| {CheckoutMetodePembayaran} | |||
| </div> | |||
| <div> | |||
| <Card className={classes.textCenter} align="center"> | |||
| <CardBody> | |||
| <div style={{padding:"10px"}}> | |||
| <Button1 color="info" href={"/yamaha/profile/profile"} style={{width:"100%"}}> | |||
| <Icon className={classes.icons}>shop</Icon> | |||
| Buat Pesanan | |||
| <Button1 color="info" onClick={(e)=>{snap.pay(transactionToken);}} style={{width:"100%"}}> | |||
| <Icon className={classes.icons}>attach_money</Icon> | |||
| Bayar Pesanan | |||
| </Button1> | |||
| </div> | |||
| </CardBody> | |||
| @@ -75,7 +75,7 @@ const DataProduct = function ({ backend, maxi, matic, naked, sport, offroad, mop | |||
| </Button> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/cart/cart?s="+data.id} | |||
| href={"/yamaha/cart/checkout?s="+data.id} | |||
| > | |||
| <Icon className={classes.icons}>shopping_cart</Icon>Add to Cart | |||
| </Button> | |||
| @@ -105,7 +105,7 @@ const DataProduct = function ({ backend, maxi, matic, naked, sport, offroad, mop | |||
| </Button> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/cart/cart?s="+data.id} | |||
| href={"/yamaha/cart/checkout?s="+data.id} | |||
| > | |||
| <Icon className={classes.icons}>shopping_cart</Icon>Add to Cart | |||
| </Button> | |||
| @@ -135,7 +135,7 @@ const DataProduct = function ({ backend, maxi, matic, naked, sport, offroad, mop | |||
| </Button> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/cart/cart?s="+data.id} | |||
| href={"/yamaha/cart/checkout?s="+data.id} | |||
| > | |||
| <Icon className={classes.icons}>shopping_cart</Icon>Add to Cart | |||
| </Button> | |||
| @@ -165,7 +165,7 @@ const DataProduct = function ({ backend, maxi, matic, naked, sport, offroad, mop | |||
| </Button> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/cart/cart?s="+data.id} | |||
| href={"/yamaha/cart/checkout?s="+data.id} | |||
| > | |||
| <Icon className={classes.icons}>shopping_cart</Icon>Add to Cart | |||
| </Button> | |||
| @@ -195,7 +195,7 @@ const DataProduct = function ({ backend, maxi, matic, naked, sport, offroad, mop | |||
| </Button> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/cart/cart?s="+data.id} | |||
| href={"/yamaha/cart/checkout?s="+data.id} | |||
| > | |||
| <Icon className={classes.icons}>shopping_cart</Icon>Add to Cart | |||
| </Button> | |||
| @@ -225,7 +225,7 @@ const DataProduct = function ({ backend, maxi, matic, naked, sport, offroad, mop | |||
| </Button> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/cart/cart?s="+data.id} | |||
| href={"/yamaha/cart/checkout?s="+data.id} | |||
| > | |||
| <Icon className={classes.icons}>shopping_cart</Icon>Add to Cart | |||
| </Button> | |||
| @@ -255,7 +255,7 @@ const DataProduct = function ({ backend, maxi, matic, naked, sport, offroad, mop | |||
| </Button> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/cart/cart?s="+data.id} | |||
| href={"/yamaha/cart/checkout?s="+data.id} | |||
| > | |||
| <Icon className={classes.icons}>shopping_cart</Icon>Add to Cart | |||
| </Button> | |||
| @@ -32,7 +32,7 @@ const useStyles = makeStyles((theme) => ({ | |||
| }, | |||
| })); | |||
| const DataApparel = function ({ selected, handleName, backend, apparel, asia, basic, merchand, maxi, rainsuit, motogp, offroad, ...props }) { | |||
| const DataApparel = function ({ profile, user, ...props }) { | |||
| const [pass, setPass] = React.useState(""); | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| @@ -42,6 +42,280 @@ const DataApparel = function ({ selected, handleName, backend, apparel, asia, ba | |||
| classes.imgFluid | |||
| ); | |||
| const navImageClasses = classNames(classes.imgRounded, classes.imgGallery); | |||
| const Profile = profile.map((data) => { | |||
| return ( | |||
| <NavPills | |||
| color="info" | |||
| horizontal={{ | |||
| tabsGrid: { xs: 4, sm: 3, md: 3 }, | |||
| contentGrid: { xs: 14, sm: 9, md: 9 } | |||
| }} | |||
| tabs={[ | |||
| { | |||
| tabButton: "Profile", | |||
| tabIcon: People, | |||
| tabContent: ( | |||
| <Grid container> | |||
| <Grid item xs={12}> | |||
| <div align="left"> | |||
| <h3>Profile Saya</h3> | |||
| <span>Kelola informasi profil Anda untuk mengontrol, melindungi dan mengamankan akun</span><hr></hr> | |||
| </div> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Username | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : {data.username} | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Nama | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : {data.first_name} | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : {data.email} | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Nomer Telpon | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : {data.telp} | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/product/product_detail?s="} | |||
| > | |||
| <Icon className={classes.icons}>open_in_new</Icon>Edit Profile | |||
| </Button> | |||
| </Grid> | |||
| ) | |||
| }, | |||
| { | |||
| tabButton: "Alamat", | |||
| tabIcon: LocationOn, | |||
| tabContent: ( | |||
| <Grid container> | |||
| <Grid item xs={12}> | |||
| <div align="left"> | |||
| <h3>Alamat Saya</h3> | |||
| <span>Kelola informasi Alamat Anda untuk Proses Pengirim Barang</span> | |||
| </div><hr></hr> | |||
| </Grid> | |||
| <img src={image1} style={{width:"920px"}}/><br></br> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Nama | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : {data.first_name} | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Telpon | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : {data.telp} | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Alamat | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : {data.address} | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/product/product_detail?s="} | |||
| > | |||
| <Icon className={classes.icons}>open_in_new</Icon>Edit Alamat | |||
| </Button> | |||
| </Grid> | |||
| ) | |||
| }, | |||
| { | |||
| tabButton: "Ubah Password", | |||
| tabIcon: Lock, | |||
| tabContent: ( | |||
| <Grid container> | |||
| <Grid item xs={12}> | |||
| <div align="left"> | |||
| <h3>Ubah Password</h3> | |||
| <span>Untuk keamanan akun Anda, mohon untuk tidak menyebarkan password Anda ke orang lain</span> | |||
| </div><hr></hr> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| <br></br> | |||
| Password Saat Ini | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| <CustomInput | |||
| labelText="Password Saat Ini" | |||
| id="pass" | |||
| value={pass} | |||
| formControlProps={{ | |||
| fullWidth: true, | |||
| }} | |||
| inputProps={{ | |||
| onChange: (event) => setPass(event.target.value), | |||
| type: "password", | |||
| endAdornment: ( | |||
| <InputAdornment position="end"> | |||
| <Icon className={classes.inputIconsColor}> | |||
| lock_outline | |||
| </Icon> | |||
| </InputAdornment> | |||
| ), | |||
| autoComplete: "off", | |||
| }} | |||
| /> | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| <br></br> | |||
| Password Baru | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| <CustomInput | |||
| labelText="Password Baru" | |||
| id="pass" | |||
| value={pass} | |||
| formControlProps={{ | |||
| fullWidth: true, | |||
| }} | |||
| inputProps={{ | |||
| onChange: (event) => setPass(event.target.value), | |||
| type: "password", | |||
| endAdornment: ( | |||
| <InputAdornment position="end"> | |||
| <Icon className={classes.inputIconsColor}> | |||
| lock_outline | |||
| </Icon> | |||
| </InputAdornment> | |||
| ), | |||
| autoComplete: "off", | |||
| }} | |||
| /> | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| <br></br> | |||
| Konfirmasi Password | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| <CustomInput | |||
| labelText="Konfirmasi Password" | |||
| id="pass" | |||
| value={pass} | |||
| formControlProps={{ | |||
| fullWidth: true, | |||
| }} | |||
| inputProps={{ | |||
| onChange: (event) => setPass(event.target.value), | |||
| type: "password", | |||
| endAdornment: ( | |||
| <InputAdornment position="end"> | |||
| <Icon className={classes.inputIconsColor}> | |||
| lock_outline | |||
| </Icon> | |||
| </InputAdornment> | |||
| ), | |||
| autoComplete: "off", | |||
| }} | |||
| /> | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/product/product_detail?s="} | |||
| > | |||
| <Icon className={classes.icons}>open_in_new</Icon> Simpan | |||
| </Button> | |||
| </Grid> | |||
| ) | |||
| } | |||
| ]} | |||
| /> | |||
| ); | |||
| }) | |||
| return ( | |||
| <div> | |||
| <Card className={classes.textCenter} align="center"> | |||
| @@ -57,290 +331,7 @@ const DataApparel = function ({ selected, handleName, backend, apparel, asia, ba | |||
| /> | |||
| </div> | |||
| <GridContainer justify="center" style={{padding: "10px"}}> | |||
| <NavPills | |||
| color="info" | |||
| horizontal={{ | |||
| tabsGrid: { xs: 4, sm: 3, md: 3 }, | |||
| contentGrid: { xs: 14, sm: 9, md: 9 } | |||
| }} | |||
| tabs={[ | |||
| { | |||
| tabButton: "Profile", | |||
| tabIcon: People, | |||
| tabContent: ( | |||
| <Grid container> | |||
| <Grid item xs={12}> | |||
| <div align="left"> | |||
| <h3>Profile Saya</h3> | |||
| <span>Kelola informasi profil Anda untuk mengontrol, melindungi dan mengamankan akun</span><hr></hr> | |||
| </div> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Username | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : Yusmar15 | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Nama | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : Yusmar | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : yusmardianto@thamrin.co.id | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Nomer Telpon | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : 087797315685 | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Jenis Kelamin | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : Laki - Laki | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/product/product_detail?s="} | |||
| > | |||
| <Icon className={classes.icons}>open_in_new</Icon>Edit Profile | |||
| </Button> | |||
| </Grid> | |||
| ) | |||
| }, | |||
| { | |||
| tabButton: "Alamat", | |||
| tabIcon: LocationOn, | |||
| tabContent: ( | |||
| <Grid container> | |||
| <Grid item xs={12}> | |||
| <div align="left"> | |||
| <h3>Alamat Saya</h3> | |||
| <span>Kelola informasi Alamat Anda untuk Proses Pengirim Barang</span> | |||
| </div><hr></hr> | |||
| </Grid> | |||
| <img src={image1} style={{width:"920px"}}/><br></br> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Nama | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : Yusmar | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Telpon | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : 087797315685 | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| Alamat | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| : Thamrin Indrapura Jl.Aipda Karel Satsuit Tubun,17 Ilir, Kec.Ilir Tim.I, Palembang, KOTA PALEMBANG - ILIR TIMUR II, SUMATERA SELATAN, ID 30114 | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/product/product_detail?s="} | |||
| > | |||
| <Icon className={classes.icons}>open_in_new</Icon>Edit Alamat | |||
| </Button> | |||
| </Grid> | |||
| ) | |||
| }, | |||
| { | |||
| tabButton: "Ubah Password", | |||
| tabIcon: Lock, | |||
| tabContent: ( | |||
| <Grid container> | |||
| <Grid item xs={12}> | |||
| <div align="left"> | |||
| <h3>Ubah Password</h3> | |||
| <span>Untuk keamanan akun Anda, mohon untuk tidak menyebarkan password Anda ke orang lain</span> | |||
| </div><hr></hr> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| <br></br> | |||
| Password Saat Ini | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| <CustomInput | |||
| labelText="Password Saat Ini" | |||
| id="pass" | |||
| value={pass} | |||
| formControlProps={{ | |||
| fullWidth: true, | |||
| }} | |||
| inputProps={{ | |||
| onChange: (event) => setPass(event.target.value), | |||
| type: "password", | |||
| endAdornment: ( | |||
| <InputAdornment position="end"> | |||
| <Icon className={classes.inputIconsColor}> | |||
| lock_outline | |||
| </Icon> | |||
| </InputAdornment> | |||
| ), | |||
| autoComplete: "off", | |||
| }} | |||
| /> | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| <br></br> | |||
| Password Baru | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| <CustomInput | |||
| labelText="Password Baru" | |||
| id="pass" | |||
| value={pass} | |||
| formControlProps={{ | |||
| fullWidth: true, | |||
| }} | |||
| inputProps={{ | |||
| onChange: (event) => setPass(event.target.value), | |||
| type: "password", | |||
| endAdornment: ( | |||
| <InputAdornment position="end"> | |||
| <Icon className={classes.inputIconsColor}> | |||
| lock_outline | |||
| </Icon> | |||
| </InputAdornment> | |||
| ), | |||
| autoComplete: "off", | |||
| }} | |||
| /> | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Grid container style={{padding:"10px"}}> | |||
| <Grid item xs> | |||
| <div align="left"> | |||
| <br></br> | |||
| Konfirmasi Password | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs={6}> | |||
| <div align="left"> | |||
| <CustomInput | |||
| labelText="Konfirmasi Password" | |||
| id="pass" | |||
| value={pass} | |||
| formControlProps={{ | |||
| fullWidth: true, | |||
| }} | |||
| inputProps={{ | |||
| onChange: (event) => setPass(event.target.value), | |||
| type: "password", | |||
| endAdornment: ( | |||
| <InputAdornment position="end"> | |||
| <Icon className={classes.inputIconsColor}> | |||
| lock_outline | |||
| </Icon> | |||
| </InputAdornment> | |||
| ), | |||
| autoComplete: "off", | |||
| }} | |||
| /> | |||
| </div> | |||
| </Grid> | |||
| <Grid item xs> | |||
| </Grid> | |||
| </Grid> | |||
| <Button | |||
| color="info" round | |||
| href={"/yamaha/product/product_detail?s="} | |||
| > | |||
| <Icon className={classes.icons}>open_in_new</Icon> Simpan | |||
| </Button> | |||
| </Grid> | |||
| ) | |||
| } | |||
| ]} | |||
| /> | |||
| {Profile} | |||
| </GridContainer> | |||
| </div><br></br><br></br> | |||
| </CardBody> | |||
| @@ -15,16 +15,17 @@ import GridItem from "components/Grid/GridItem.js"; | |||
| import AboutUs from "pages-sections/yamaha/about_us/about_us.js"; | |||
| import Parallax from "components/Parallax/Parallax.js"; | |||
| import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const AboutUS = function ({ backend, businessPartners, service, carousel, ...props }) { | |||
| const AboutUS = function ({ user, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks />} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -55,4 +56,25 @@ const AboutUS = function ({ backend, businessPartners, service, carousel, ...pro | |||
| ); | |||
| } | |||
| export async function getServerSideProps(context) { | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| return { | |||
| props: { user }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| export default AboutUS; | |||
| @@ -10,16 +10,17 @@ import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import SectionCarrer from "pages-sections/yamaha/carrer/carrer.js"; | |||
| import Getcarrer from "../../../api/carrer/carrer.js" | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const Carrer = function ({ backend, s1, d3, sma, ...props }) { | |||
| const Carrer = function ({ user, backend, s1, d3, sma, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks />} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -45,6 +46,21 @@ export async function getServerSideProps(context) { | |||
| var sma = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await Getcarrer.GetCarrerS1Yamaha(); | |||
| if (res["STATUS"] === 1) { | |||
| s1 = res["DATA"]["carrers"]; | |||
| @@ -61,6 +77,6 @@ export async function getServerSideProps(context) { | |||
| } | |||
| return { | |||
| props: { s1, d3, sma, backend }, // will be passed to the page component as props | |||
| props: { user, s1, d3, sma, backend }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -9,16 +9,17 @@ import CarrerDetail from "pages-sections/yamaha/carrer/carrer_details.js"; | |||
| import Parallax from "components/Parallax/Parallax.js"; | |||
| import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import GetDetailcarrer from "../../../api/carrer/carrer.js" | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const CarrerDetails = function ({ backend, detailcarrer, ...props }) { | |||
| const CarrerDetails = function ({ user, backend, detailcarrer, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks/>} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -43,6 +44,21 @@ export async function getServerSideProps(context) { | |||
| var detailcarrer = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetDetailcarrer.GetDetailCarrer(query.s||0); | |||
| if (res["STATUS"] === 1) { | |||
| detailcarrer = res["DATA"]["carrers"]; | |||
| @@ -51,6 +67,6 @@ export async function getServerSideProps(context) { | |||
| console.log(res); | |||
| return { | |||
| props: { detailcarrer, backend }, // will be passed to the page component as props | |||
| props: { user, detailcarrer, backend }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -8,17 +8,17 @@ import Footer from "components/Footer/Footer.js"; | |||
| import Checkout from "pages-sections/yamaha/cart/checkout.js"; | |||
| import Parallax from "components/Parallax/Parallax.js"; | |||
| import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import GetCheckoutproduct from "../../../api/cart/checkout.js" | |||
| import GetCheckoutproduct from "../../../api/cart/checkout.js"; | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const ProductDetails = function ({ backend, checkoutproduct, ...props }) { | |||
| const ProductDetails = function ({ backend, checkoutproduct, user, transactionToken, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks/>} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -29,7 +29,7 @@ const ProductDetails = function ({ backend, checkoutproduct, ...props }) { | |||
| /> | |||
| <Parallax image={require("assets/img/Promotion_2-1.jpg")} width="200px"/> | |||
| <div className={classNames(classes.main, classes.mainRaised)}> | |||
| <Checkout checkoutproduct={checkoutproduct} backend={backend}/> | |||
| <Checkout checkoutproduct={checkoutproduct} transactionToken={transactionToken} backend={backend} /> | |||
| </div> | |||
| <Footer /> | |||
| </div> | |||
| @@ -43,12 +43,89 @@ export async function getServerSideProps(context) { | |||
| var checkoutproduct = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetCheckoutproduct.GetCheckoutproduct(query.s||0); | |||
| if (res["STATUS"] === 1) { | |||
| checkoutproduct = res["DATA"]["products"]; | |||
| } | |||
| var parameters = await GetCheckoutproduct.GetCheckoutproductBayar(query.s||0); | |||
| var transactionToken = []; | |||
| if ( parameters["STATUS"] === 1 ) | |||
| { | |||
| const midtransClient = require('midtrans-client'); | |||
| let snap = new midtransClient.Snap({ | |||
| isProduction : false, | |||
| serverKey : 'SB-Mid-server-SfBhLkXXlTxCBx7EYP5T2k3d', | |||
| clientKey : 'SB-Mid-client-srx674LjNbEybd4-' | |||
| }); | |||
| let parameter = { | |||
| "transaction_details": { | |||
| "order_id":parameters["DATA"]["product"]["id"], | |||
| "gross_amount":parameters["DATA"]["product"]["price"], | |||
| }, "credit_card":{ | |||
| "secure" : true | |||
| }, | |||
| "customer_details": { | |||
| "first_name": "Yusmardi", | |||
| "last_name": "anto", | |||
| "email": "yusmardianto@thamrin.co.id", | |||
| "phone": "087797315685", | |||
| "billing_address": | |||
| { | |||
| "first_name": "Yusmardi", | |||
| "last_name": "anto", | |||
| "email": "yusmardianto@thamrin.co.id", | |||
| "phone": "087797315685", | |||
| "address": "Thamrin Indrapura Jl.Aipda Karel Satsuit Tubun", | |||
| "city": "Kec.Ilir Tim.I, Palembang", | |||
| "postal_code": "30114", | |||
| "country_code": "IDN" | |||
| }, | |||
| "shipping_address": | |||
| { | |||
| "first_name": "Yusmardi", | |||
| "last_name": "anto", | |||
| "email": "yusmardianto@thamrin.co.id", | |||
| "phone": "087797315685", | |||
| "address": "Thamrin Indrapura Jl.Aipda Karel Satsuit Tubun", | |||
| "city": "Kec.Ilir Tim.I, Palembang", | |||
| "postal_code": "30114", | |||
| "country_code": "IDN" | |||
| } | |||
| } | |||
| }; | |||
| await snap.createTransaction(parameter) | |||
| .then((transaction)=>{ | |||
| // transaction token | |||
| transactionToken = transaction.token; | |||
| console.log('transactionToken:',transactionToken); | |||
| // transaction redirect url | |||
| let transactionRedirectUrl = transaction.redirect_url; | |||
| console.log('transactionRedirectUrl:',transactionRedirectUrl); | |||
| }) | |||
| .catch((e)=>{ | |||
| console.log('Error occured:',e.message); | |||
| }); | |||
| } | |||
| return { | |||
| props: { checkoutproduct, backend }, // will be passed to the page component as props | |||
| props: { user, checkoutproduct, backend, transactionToken }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -11,17 +11,18 @@ import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import GetLatestNews from "../../../api/latest_news/news.js" | |||
| import DataSnackbarContent from "../../../pages-sections/yamaha/snackbar.js"; | |||
| import DataLatestNews from "../../../pages-sections/yamaha/latest_news/news.js"; | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const LatestNews = function ({ backend, news, ...props }) { | |||
| const LatestNews = function ({ user, backend, news, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| <DataLatestNews news={props.news}/> | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks />} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -46,11 +47,26 @@ export async function getServerSideProps(context) { | |||
| var news = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetLatestNews.GetNewsYamaha(); | |||
| if (res["STATUS"] === 1) { | |||
| news = res["DATA"]["latestNews"]; | |||
| } | |||
| return { | |||
| props: { news, backend }, // will be passed to the page component as props | |||
| props: { user, news, backend }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -11,17 +11,18 @@ import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import GetLatestNews from "../../../api/latest_news/news.js" | |||
| import DataSnackbarContent from "../../../pages-sections/yamaha/snackbar.js"; | |||
| import DetailLatestNews from "../../../pages-sections/yamaha/latest_news/news_details.js"; | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const detailLatestNews = function ({ backend, news, othernews, ...props }) { | |||
| const detailLatestNews = function ({ user, backend, news, othernews, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| <DetailLatestNews news={props.news}/> | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks />} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -48,6 +49,21 @@ export async function getServerSideProps(context) { | |||
| var othernews = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetLatestNews.GetDetailNews(query.s||0); | |||
| if (res["STATUS"] === 1) { | |||
| news = res["DATA"]["latestNews"]; | |||
| @@ -58,6 +74,6 @@ export async function getServerSideProps(context) { | |||
| othernews = res["DATA"]["latestNews"]; | |||
| } | |||
| return { | |||
| props: { othernews, news, backend }, // will be passed to the page component as props | |||
| props: { user, othernews, news, backend }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -13,6 +13,7 @@ import GetDataAccessories from "../../../api/product/accessories.js"; | |||
| import DataAccessories from "../../../pages-sections/yamaha/product/accessories.js"; | |||
| import DataSnackbarContent from "../../../pages-sections/yamaha/snackbar.js"; | |||
| import Router from 'next/router' | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const queryClient = new QueryClient(); | |||
| @@ -22,13 +23,13 @@ const handleName = values => { | |||
| query: (values&&values.length!=0)?{ filter: values[0]["name"] }:{}, | |||
| }) | |||
| } | |||
| const Accessories = function ({ selected, accessories, backend, ...props }) { | |||
| const Accessories = function ({ selected, accessories, backend, user, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks />} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -58,6 +59,21 @@ export async function getServerSideProps(context) { | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetDataAccessories.GetAccessories(filter); | |||
| if (res["STATUS"] === 1) { | |||
| accessories = res["DATA"]["accessories"]; | |||
| @@ -67,6 +83,6 @@ export async function getServerSideProps(context) { | |||
| } | |||
| return { | |||
| props: { selected, accessories, backend }, // will be passed to the page component as props | |||
| props: { selected, accessories, backend, user }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -9,16 +9,17 @@ import AccessoriesDetail from "pages-sections/yamaha/product/accessories_details | |||
| import Parallax from "components/Parallax/Parallax.js"; | |||
| import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import GetDetailAccessories from "../../../api/product/accessories.js" | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const AccessoriesDetails = function ({ backend, detailaccessories, ...props }) { | |||
| const AccessoriesDetails = function ({ backend, detailaccessories, user, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks/>} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -43,13 +44,27 @@ export async function getServerSideProps(context) { | |||
| var detailaccessories = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetDetailAccessories.GetDetailAccessories(query.s||0); | |||
| if (res["STATUS"] === 1) { | |||
| detailaccessories = res["DATA"]["accessories"]; | |||
| } | |||
| console.log(detailaccessories); | |||
| return { | |||
| props: { detailaccessories, backend }, // will be passed to the page component as props | |||
| props: { detailaccessories, backend, user, }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -13,6 +13,7 @@ import GetDataApparel from "../../../api/product/apparel.js"; | |||
| import DataApparel from "../../../pages-sections/yamaha/product/apparel.js"; | |||
| import DataSnackbarContent from "../../../pages-sections/yamaha/snackbar.js"; | |||
| import Router from 'next/router' | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const queryClient = new QueryClient(); | |||
| @@ -22,13 +23,13 @@ const handleName = values => { | |||
| query: (values&&values.length!=0)?{ filter: values[0]["name"] }:{}, | |||
| }) | |||
| } | |||
| const Apparel = function ({ selected, apparel, asia, basic, merchand, maxi, rainsuit, motogp, offroad, backend, ...props }) { | |||
| const Apparel = function ({ user, selected, apparel, asia, basic, merchand, maxi, rainsuit, motogp, offroad, backend, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks />} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -63,6 +64,21 @@ export async function getServerSideProps(context) { | |||
| var filter = context.query.filter||""; | |||
| var selected = ""; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var res = await GetDataApparel.GetApparel(filter); | |||
| @@ -130,6 +146,6 @@ export async function getServerSideProps(context) { | |||
| } | |||
| return { | |||
| props: { selected, apparel, asia, basic, merchand, maxi, rainsuit, motogp, offroad, backend }, // will be passed to the page component as props | |||
| props: { user, selected, apparel, asia, basic, merchand, maxi, rainsuit, motogp, offroad, backend }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -9,16 +9,17 @@ import ApparelDetail from "pages-sections/yamaha/product/apparel_details.js"; | |||
| import Parallax from "components/Parallax/Parallax.js"; | |||
| import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import GetDetailApparel from "../../../api/product/apparel.js" | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const ApparelDetails = function ({ backend, detailapparel, ...props }) { | |||
| const ApparelDetails = function ({ backend, detailapparel, user, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks/>} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -43,12 +44,27 @@ export async function getServerSideProps(context) { | |||
| var detailapparel = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetDetailApparel.GetDetailApparel(query.s||0); | |||
| if (res["STATUS"] === 1) { | |||
| detailapparel = res["DATA"]["apparels"]; | |||
| } | |||
| return { | |||
| props: { detailapparel, backend }, // will be passed to the page component as props | |||
| props: { detailapparel, backend, user }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -13,6 +13,7 @@ import GetDataHelmet from "../../../api/product/helmet.js" | |||
| import DataHelmet from "../../../pages-sections/yamaha/product/helmet.js"; | |||
| import DataSnackbarContent from "../../../pages-sections/yamaha/snackbar.js"; | |||
| import Router from 'next/router' | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const queryClient = new QueryClient(); | |||
| @@ -22,13 +23,13 @@ const handleName = values => { | |||
| query: (values&&values.length!=0)?{ filter: values[0]["name"] }:{}, | |||
| }) | |||
| } | |||
| const Helmet = function ({ selected, helmet, mtx, extreme, ranger, backend, fighter, swirl, classic, uno, ...props }) { | |||
| const Helmet = function ({ user, selected, helmet, mtx, extreme, ranger, backend, fighter, swirl, classic, uno, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks />} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -65,6 +66,21 @@ export async function getServerSideProps(context) { | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetDataHelmet.GetHelmetRConcepts(filter); | |||
| if (res["STATUS"] === 1) { | |||
| helmet = res["DATA"]["helmets"]; | |||
| @@ -130,6 +146,6 @@ export async function getServerSideProps(context) { | |||
| } | |||
| return { | |||
| props: { selected, helmet, mtx, extreme, ranger, fighter, swirl, classic, uno, backend }, // will be passed to the page component as props | |||
| props: { user, selected, helmet, mtx, extreme, ranger, fighter, swirl, classic, uno, backend }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -9,16 +9,17 @@ import HelmetDetail from "pages-sections/yamaha/product/helmet_details.js"; | |||
| import Parallax from "components/Parallax/Parallax.js"; | |||
| import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import GetDetailHelmet from "../../../api/product/helmet.js" | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const HelmetDetails = function ({ backend, detailhelmet, ...props }) { | |||
| const HelmetDetails = function ({ user, backend, detailhelmet, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks/>} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -42,14 +43,28 @@ export async function getServerSideProps(context) { | |||
| var {query} = context; | |||
| var detailhelmet = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetDetailHelmet.GetDetailHelmet(query.s||0); | |||
| if (res["STATUS"] === 1) { | |||
| detailhelmet = res["DATA"]["helmets"]; | |||
| } | |||
| console.log(detailhelmet); | |||
| return { | |||
| props: { detailhelmet, backend }, // will be passed to the page component as props | |||
| props: { user, detailhelmet, backend }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -8,6 +8,7 @@ import Footer from "components/Footer/Footer.js"; | |||
| import DataProduct from "pages-sections/yamaha/product/product.js"; | |||
| import Parallax from "components/Parallax/Parallax.js"; | |||
| import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import Cookies from "cookies"; | |||
| import Getproduct from "../../../api/product/product.js"; | |||
| @@ -23,6 +24,7 @@ const Product = function ({ | |||
| moped, | |||
| monsterenergy, | |||
| cbu, | |||
| user, | |||
| ...props | |||
| }) { | |||
| const classes = useStyles(); | |||
| @@ -30,7 +32,7 @@ const Product = function ({ | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks />} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -71,6 +73,21 @@ export async function getServerSideProps(context) { | |||
| var cbu = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await Getproduct.GetProductMaxi(); | |||
| if (res["STATUS"] === 1) { | |||
| maxi = res["DATA"]["products"]; | |||
| @@ -111,8 +128,6 @@ export async function getServerSideProps(context) { | |||
| cbu = res["DATA"]["products"]; | |||
| } | |||
| console.log(cbu); | |||
| return { | |||
| props: { | |||
| maxi, | |||
| @@ -124,6 +139,7 @@ export async function getServerSideProps(context) { | |||
| monsterenergy, | |||
| cbu, | |||
| backend, | |||
| user, | |||
| }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -9,16 +9,17 @@ import ProductDetail from "pages-sections/yamaha/product/product_details.js"; | |||
| import Parallax from "components/Parallax/Parallax.js"; | |||
| import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import GetDetailproduct from "../../../api/product/product.js" | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const ProductDetails = function ({ backend, detailproduct, ...props }) { | |||
| const ProductDetails = function ({ backend, detailproduct, user, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks/>} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -43,12 +44,27 @@ export async function getServerSideProps(context) { | |||
| var detailproduct = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetDetailproduct.GetDetailProduct(query.s||0); | |||
| if (res["STATUS"] === 1) { | |||
| detailproduct = res["DATA"]["products"]; | |||
| } | |||
| return { | |||
| props: { detailproduct, backend }, // will be passed to the page component as props | |||
| props: { detailproduct, backend, user }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -13,6 +13,7 @@ import GetDataYamalube from "../../../api/product/accessories.js"; | |||
| import DataYamalube from "../../../pages-sections/yamaha/product/yamalube.js"; | |||
| import DataSnackbarContent from "../../../pages-sections/yamaha/snackbar.js"; | |||
| import Router from 'next/router' | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const queryClient = new QueryClient(); | |||
| @@ -22,13 +23,13 @@ const handleName = values => { | |||
| query: (values&&values.length!=0)?{ filter: values[0]["name"] }:{}, | |||
| }) | |||
| } | |||
| const Yamalube = function ({ selected, yamalube, backend, ...props }) { | |||
| const Yamalube = function ({ user, selected, yamalube, backend, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks />} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -58,6 +59,21 @@ export async function getServerSideProps(context) { | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetDataYamalube.GetYamalube(filter); | |||
| if (res["STATUS"] === 1) { | |||
| @@ -68,6 +84,6 @@ export async function getServerSideProps(context) { | |||
| } | |||
| return { | |||
| props: { selected, yamalube, backend }, // will be passed to the page component as props | |||
| props: { user, selected, yamalube, backend }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -9,16 +9,17 @@ import YamalubeDetail from "pages-sections/yamaha/product/yamalube_details.js"; | |||
| import Parallax from "components/Parallax/Parallax.js"; | |||
| import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import GetDetailYamalube from "../../../api/product/accessories.js" | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const YamalubeDetails = function ({ backend, detailyamalube, ...props }) { | |||
| const YamalubeDetails = function ({ user, backend, detailyamalube, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks/>} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -43,12 +44,27 @@ export async function getServerSideProps(context) { | |||
| var detailyamalube = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetDetailYamalube.GetDetailAccessories(query.s||0); | |||
| if (res["STATUS"] === 1) { | |||
| detailyamalube = res["DATA"]["accessories"]; | |||
| } | |||
| return { | |||
| props: { detailyamalube, backend }, // will be passed to the page component as props | |||
| props: { user, detailyamalube, backend }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -13,7 +13,7 @@ import GetDataYGP from "../../../api/product/accessories.js"; | |||
| import DataYGP from "../../../pages-sections/yamaha/product/ygp.js"; | |||
| import DataSnackbarContent from "../../../pages-sections/yamaha/snackbar.js"; | |||
| import Router from 'next/router' | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const queryClient = new QueryClient(); | |||
| @@ -23,13 +23,13 @@ const handleName = values => { | |||
| query: (values&&values.length!=0)?{ filter: values[0]["name"] }:{}, | |||
| }) | |||
| } | |||
| const YGP = function ({ selected,ygp, backend, ...props }) { | |||
| const YGP = function ({ user, selected, ygp, backend, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks />} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -59,6 +59,21 @@ export async function getServerSideProps(context) { | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetDataYGP.GetYGP(filter); | |||
| if (res["STATUS"] === 1) { | |||
| @@ -69,6 +84,6 @@ export async function getServerSideProps(context) { | |||
| } | |||
| return { | |||
| props: { selected, ygp, backend }, // will be passed to the page component as props | |||
| props: { user, selected, ygp, backend }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -9,16 +9,17 @@ import YGPDetail from "pages-sections/yamaha/product/ygp_details.js"; | |||
| import Parallax from "components/Parallax/Parallax.js"; | |||
| import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import GetDetailYGP from "../../../api/product/accessories.js" | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const YGPDetails = function ({ backend, detailygp, ...props }) { | |||
| const YGPDetails = function ({ user, backend, detailygp, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks/>} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -43,12 +44,27 @@ export async function getServerSideProps(context) { | |||
| var detailygp = []; | |||
| const backend = process.env.BACKEND_SERVER_URI; | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| var res = await GetDetailYGP.GetDetailAccessories(query.s||0); | |||
| if (res["STATUS"] === 1) { | |||
| detailygp = res["DATA"]["accessories"]; | |||
| } | |||
| return { | |||
| props: { detailygp, backend }, // will be passed to the page component as props | |||
| props: { user, detailygp, backend }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| @@ -7,24 +7,18 @@ import HeaderLinks from "components/Header/HeaderLinks.js"; | |||
| import Parallax from "components/Parallax/Parallax.js"; | |||
| import styles from "assets/jss/nextjs-material-kit/pages/components.js"; | |||
| import Footer from "components/Footer/Footer.js"; | |||
| import DataProfile from "../../../pages-sections/yamaha/profile/profile.js" | |||
| import GetProfile from "api/auth/auth.js" | |||
| import DataProfile from "pages-sections/yamaha/profile/profile.js" | |||
| import Cookies from "cookies"; | |||
| const useStyles = makeStyles(styles); | |||
| const Home = function ({ | |||
| backend, | |||
| businessPartners, | |||
| service, | |||
| carousel, | |||
| ...props | |||
| }) { | |||
| const Profile = function ({ user, profile, ...props }) { | |||
| const classes = useStyles(); | |||
| const { ...rest } = props; | |||
| return ( | |||
| <div> | |||
| <Header | |||
| rightLinks={<HeaderLinks username={props.user} />} | |||
| rightLinks={<HeaderLinks username={user} />} | |||
| fixed | |||
| color="info" | |||
| changeColorOnScroll={{ | |||
| @@ -38,10 +32,35 @@ const Home = function ({ | |||
| styles={{ marginTop: "50px" }} | |||
| /> | |||
| <div className={classNames(classes.main, classes.mainRaised)}> | |||
| <DataProfile/> | |||
| <DataProfile profile={profile}/> | |||
| </div> | |||
| <Footer /> | |||
| </div> | |||
| ); | |||
| }; | |||
| export default Home; | |||
| export async function getServerSideProps(context) { | |||
| var profile = []; | |||
| var res = await GetProfile.profile(); | |||
| if (res["STATUS"] === 1) { | |||
| profile = res["DATA"]["users"]; | |||
| } | |||
| var { req, resp } = context; | |||
| const cookies = new Cookies(req, resp); | |||
| var user = ""; | |||
| var userObj = (await cookies.get("user")) | |||
| ? JSON.parse(await cookies.get("user")) | |||
| : null; | |||
| if (userObj) { | |||
| let sessionId = userObj["partners_login_states"].filter(function (i) { | |||
| return ( | |||
| i.business_partner && i.business_partner.name.toUpperCase() == "YAMAHA" | |||
| ); | |||
| }); | |||
| if (sessionId.length != 0) user = userObj["username"]; | |||
| } | |||
| return { | |||
| props: { profile, user }, // will be passed to the page component as props | |||
| }; | |||
| } | |||
| export default Profile; | |||
| @@ -1676,6 +1676,11 @@ async@^2.1.5: | |||
| dependencies: | |||
| lodash "^4.17.14" | |||
| async@~0.9.0: | |||
| version "0.9.2" | |||
| resolved "https://registry.yarnpkg.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d" | |||
| integrity sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0= | |||
| asynckit@^0.4.0: | |||
| version "0.4.0" | |||
| resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" | |||
| @@ -1696,6 +1701,13 @@ aws4@^1.8.0: | |||
| resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59" | |||
| integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA== | |||
| axios@^0.21.1: | |||
| version "0.21.1" | |||
| resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" | |||
| integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== | |||
| dependencies: | |||
| follow-redirects "^1.10.0" | |||
| babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: | |||
| version "6.26.0" | |||
| resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" | |||
| @@ -2321,6 +2333,13 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: | |||
| dependencies: | |||
| delayed-stream "~1.0.0" | |||
| combined-stream@~0.0.4: | |||
| version "0.0.7" | |||
| resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-0.0.7.tgz#0137e657baa5a7541c57ac37ac5fc07d73b4dc1f" | |||
| integrity sha1-ATfmV7qlp1QcV6w3rF/AfXO03B8= | |||
| dependencies: | |||
| delayed-stream "0.0.5" | |||
| commander@^2.20.0: | |||
| version "2.20.3" | |||
| resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" | |||
| @@ -2861,6 +2880,11 @@ define-property@^2.0.2: | |||
| is-descriptor "^1.0.2" | |||
| isobject "^3.0.1" | |||
| delayed-stream@0.0.5: | |||
| version "0.0.5" | |||
| resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-0.0.5.tgz#d4b1f43a93e8296dfe02694f4680bc37a313c73f" | |||
| integrity sha1-1LH0OpPoKW3+AmlPRoC8N6MTxz8= | |||
| delayed-stream@~1.0.0: | |||
| version "1.0.0" | |||
| resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" | |||
| @@ -3455,6 +3479,11 @@ focus-trap@^4.0.2: | |||
| tabbable "^3.1.2" | |||
| xtend "^4.0.1" | |||
| follow-redirects@^1.10.0: | |||
| version "1.13.3" | |||
| resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.3.tgz#e5598ad50174c1bc4e872301e82ac2cd97f90267" | |||
| integrity sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA== | |||
| for-in@^0.1.3: | |||
| version "0.1.8" | |||
| resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.8.tgz#d8773908e31256109952b1fdb9b3fa867d2775e1" | |||
| @@ -3491,6 +3520,15 @@ fork-ts-checker-webpack-plugin@3.1.1: | |||
| tapable "^1.0.0" | |||
| worker-rpc "^0.1.0" | |||
| form-data@^0.2.0: | |||
| version "0.2.0" | |||
| resolved "https://registry.yarnpkg.com/form-data/-/form-data-0.2.0.tgz#26f8bc26da6440e299cbdcfb69035c4f77a6e466" | |||
| integrity sha1-Jvi8JtpkQOKZy9z7aQNcT3em5GY= | |||
| dependencies: | |||
| async "~0.9.0" | |||
| combined-stream "~0.0.4" | |||
| mime-types "~2.0.3" | |||
| form-data@~2.3.2: | |||
| version "2.3.3" | |||
| resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" | |||
| @@ -4727,6 +4765,11 @@ lodash@^4.0.0, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.1 | |||
| resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" | |||
| integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== | |||
| lodash@^4.17.20: | |||
| version "4.17.21" | |||
| resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" | |||
| integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== | |||
| loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.3.1, loose-envify@^1.4.0: | |||
| version "1.4.0" | |||
| resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" | |||
| @@ -4936,6 +4979,21 @@ microseconds@0.2.0: | |||
| resolved "https://registry.yarnpkg.com/microseconds/-/microseconds-0.2.0.tgz#233b25f50c62a65d861f978a4a4f8ec18797dc39" | |||
| integrity sha512-n7DHHMjR1avBbSpsTBj6fmMGh2AGrifVV4e+WYc3Q9lO+xnSZ3NyhcBND3vzzatt05LFhoKFRxrIyklmLlUtyA== | |||
| midtrans-client@^1.2.3: | |||
| version "1.2.3" | |||
| resolved "https://registry.yarnpkg.com/midtrans-client/-/midtrans-client-1.2.3.tgz#cd97f40749479890f72861ffc5115569c686be63" | |||
| integrity sha512-TcVY0ErXr/vmcTIIqrYpVrm3gNMSPZOhpjIBWWC5ShSKzBX/HvxA6pUa+uqeHm2Kuw7GeO4Os7giWv7q+w3AFg== | |||
| dependencies: | |||
| axios "^0.21.1" | |||
| lodash "^4.17.20" | |||
| midtrans-payment@^1.2.7: | |||
| version "1.2.7" | |||
| resolved "https://registry.yarnpkg.com/midtrans-payment/-/midtrans-payment-1.2.7.tgz#1f7029b97509ed147e022c68716e04a04a5ac39f" | |||
| integrity sha512-gHAVCm/iM3wLb3gKhU9Oak7IcedIqlg6wWJcANX92kr8yyEwa6LF+IniR9MuzeoEl5Wg2DI9SVvY2jgXE8cz9A== | |||
| dependencies: | |||
| unirest "^0.6.0" | |||
| miller-rabin@^4.0.0: | |||
| version "4.0.1" | |||
| resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" | |||
| @@ -4949,6 +5007,11 @@ mime-db@1.44.0: | |||
| resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92" | |||
| integrity sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg== | |||
| mime-db@~1.12.0: | |||
| version "1.12.0" | |||
| resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.12.0.tgz#3d0c63180f458eb10d325aaa37d7c58ae312e9d7" | |||
| integrity sha1-PQxjGA9FjrENMlqqN9fFiuMS6dc= | |||
| mime-types@^2.1.12, mime-types@~2.1.19: | |||
| version "2.1.27" | |||
| resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f" | |||
| @@ -4956,11 +5019,23 @@ mime-types@^2.1.12, mime-types@~2.1.19: | |||
| dependencies: | |||
| mime-db "1.44.0" | |||
| mime-types@~2.0.3: | |||
| version "2.0.14" | |||
| resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.0.14.tgz#310e159db23e077f8bb22b748dabfa4957140aa6" | |||
| integrity sha1-MQ4VnbI+B3+Lsit0jav6SVcUCqY= | |||
| dependencies: | |||
| mime-db "~1.12.0" | |||
| mime@^1.4.1: | |||
| version "1.6.0" | |||
| resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" | |||
| integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== | |||
| mime@^2.4.0: | |||
| version "2.5.2" | |||
| resolved "https://registry.yarnpkg.com/mime/-/mime-2.5.2.tgz#6e3dc6cc2b9510643830e5f19d5cb753da5eeabe" | |||
| integrity sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg== | |||
| mime@^2.4.4: | |||
| version "2.4.7" | |||
| resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.7.tgz#962aed9be0ed19c91fd7dc2ece5d7f4e89a90d74" | |||
| @@ -7897,6 +7972,15 @@ unique-slug@^2.0.0: | |||
| dependencies: | |||
| imurmurhash "^0.1.4" | |||
| unirest@^0.6.0: | |||
| version "0.6.0" | |||
| resolved "https://registry.yarnpkg.com/unirest/-/unirest-0.6.0.tgz#289b5ae59cc9fa9fdfff3b5866e0dd50bf5eb280" | |||
| integrity sha512-BdYdcYJHXACqZ53k8Zz7QlNK/1W/HjCZlmg1OaaN/oTSp4FTWh0upXGSJsG88PljDBpSrNc2R649drasUA9NEg== | |||
| dependencies: | |||
| form-data "^0.2.0" | |||
| mime "^2.4.0" | |||
| request "^2.88.0" | |||
| unload@2.2.0: | |||
| version "2.2.0" | |||
| resolved "https://registry.yarnpkg.com/unload/-/unload-2.2.0.tgz#ccc88fdcad345faa06a92039ec0f80b488880ef7" | |||