text: (window.webpackJsonp=window.webpackJsonp||[]).push([[9,3,4],{274:function(t,e,n){var content=n(276);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(96).default)("40f14241",content,!0,{sourceMap:!1})},275:function(t,e,n){"use strict";n(274)},276:function(t,e,n){var o=n(95)(!1);o.push([t.i,"@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap);"]),o.push([t.i,'*[data-v-e817e848]{margin:0;padding:0;box-sizing:border-box;font-family:"Poppins",sans-serif}.sidebar[data-v-e817e848]{position:fixed;left:0;top:0;height:100%;width:78px;background:#11101d;padding:6px 14px;z-index:99;transition:all .5s ease}.sidebar.open[data-v-e817e848]{width:250px}.sidebar .logo-details[data-v-e817e848]{height:60px;display:flex;align-items:center;position:relative}.sidebar .logo-details .icon[data-v-e817e848]{opacity:0;transition:all .5s ease}.sidebar .logo-details .logo_name[data-v-e817e848]{color:#fff;font-size:20px;font-weight:600;opacity:0;transition:all .5s ease}.sidebar.open .logo-details .icon[data-v-e817e848],.sidebar.open .logo-details .logo_name[data-v-e817e848]{opacity:1}.sidebar .logo-details #btn[data-v-e817e848]{position:absolute;top:50%;right:0;transform:translateY(-50%);font-size:22px;transition:all .4s ease;font-size:23px;text-align:center;cursor:pointer;transition:all .5s ease}.sidebar.open .logo-details #btn[data-v-e817e848]{text-align:right}.sidebar i[data-v-e817e848]{color:#fff;height:60px;min-width:50px;font-size:28px;text-align:center;line-height:60px}.sidebar .nav-list[data-v-e817e848]{margin-top:20px;height:100%}.sidebar li[data-v-e817e848]{position:relative;margin:8px 0;list-style:none}.sidebar li .tooltip[data-v-e817e848]{position:absolute;top:-20px;left:calc(100% + 15px);z-index:3;background:#fff;box-shadow:0 5px 10px rgba(0,0,0,.3);padding:6px 12px;border-radius:4px;font-size:15px;font-weight:400;opacity:0;white-space:nowrap;pointer-events:none;transition:0s}.sidebar li:hover .tooltip[data-v-e817e848]{opacity:1;pointer-events:auto;transition:all .4s ease;top:50%;transform:translateY(-50%)}.sidebar.open li .tooltip[data-v-e817e848]{display:none}.sidebar input[data-v-e817e848]{font-size:15px;color:#fff;font-weight:400;outline:none;height:50px;width:100%;width:50px;border:none;border-radius:12px;transition:all .5s ease;background:#1d1b31}.sidebar.open input[data-v-e817e848]{padding:0 20px 0 50px;width:100%}.sidebar .bx-search[data-v-e817e848]{position:absolute;top:50%;left:0;transform:translateY(-50%);font-size:22px}.sidebar .bx-search[data-v-e817e848],.sidebar.open .bx-search[data-v-e817e848]:hover{background:#1d1b31;color:#fff}.sidebar .bx-search[data-v-e817e848]:hover{background:#fff;color:#11101d}.sidebar li a[data-v-e817e848]{display:flex;height:100%;width:100%;border-radius:12px;align-items:center;text-decoration:none;transition:all .4s ease;background:#11101d}.sidebar li a[data-v-e817e848]:hover{background:#fff}.sidebar li a .links_name[data-v-e817e848]{color:#fff;font-size:15px;font-weight:400;white-space:nowrap;opacity:0;pointer-events:none;transition:.4s}.sidebar.open li a .links_name[data-v-e817e848]{opacity:1;pointer-events:auto}.sidebar li a:hover .links_name[data-v-e817e848],.sidebar li a:hover i[data-v-e817e848]{transition:all .5s ease;color:#11101d}.sidebar li i[data-v-e817e848]{height:50px;line-height:50px;font-size:18px;border-radius:12px}.sidebar li.profile[data-v-e817e848]{position:fixed;height:60px;width:78px;left:0;bottom:-8px;padding:10px 14px;background:#1d1b31;transition:all .5s ease;overflow:hidden}.sidebar.open li.profile[data-v-e817e848]{width:250px}.sidebar li .profile-details[data-v-e817e848]{display:flex;align-items:center;flex-wrap:nowrap}.sidebar li img[data-v-e817e848]{height:45px;width:45px;-o-object-fit:cover;object-fit:cover;border-radius:6px;margin-right:10px}.sidebar li.profile .job[data-v-e817e848],.sidebar li.profile .name[data-v-e817e848]{font-size:15px;font-weight:400;color:#fff;white-space:nowrap}.sidebar li.profile .job[data-v-e817e848]{font-size:12px}.sidebar .profile #log_out[data-v-e817e848]{position:absolute;top:50%;right:0;transform:translateY(-50%);background:#1d1b31;width:100%;height:60px;line-height:60px;border-radius:0;transition:all .5s ease}.sidebar.open .profile #log_out[data-v-e817e848]{width:50px;background:none}.home-section[data-v-e817e848]{position:relative;background:#e4e9f7;top:0;left:78px;width:calc(100% - 78px);transition:all .5s ease;z-index:2}.sidebar.open~.home-section[data-v-e817e848]{left:250px;width:calc(100% - 250px)}.home-section .text[data-v-e817e848]{display:inline-block;color:#11101d;font-size:25px;font-weight:500;margin:18px}@media (max-width:420px){.sidebar li .tooltip[data-v-e817e848]{display:none}}',""]),t.exports=o},277:function(t,e,n){"use strict";n.r(e);n(275);var o=n(63),component=Object(o.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",[t._m(0),t._v(" "),n("body",[n("div",{staticClass:"sidebar"},[t._m(1),t._v(" "),n("ul",{staticClass:"nav-list"},[t._m(2),t._v(" "),n("li",[n("NuxtLink",{staticClass:"text-white cd-md-3",attrs:{to:"/"}},[n("i",{staticClass:"bx bx-grid-alt"}),t._v(" "),n("span",{staticClass:"links_name"},[t._v("Home")])]),t._v(" "),n("span",{staticClass:"tooltip"},[t._v("Home")])],1),t._v(" "),n("li",[n("NuxtLink",{staticClass:"text-white cd-md-3",attrs:{to:"/product"}},[n("i",{staticClass:"bx bx-cart-alt"}),t._v(" "),n("span",{staticClass:"links_name"},[t._v("Product")])]),t._v(" "),n("span",{staticClass:"tooltip"},[t._v("Product")])],1),t._v(" "),n("li",[n("NuxtLink",{staticClass:"text-white cd-md-3",attrs:{to:"/contact"}},[n("i",{staticClass:"bx bx-chat"}),t._v(" "),n("span",{staticClass:"links_name"},[t._v("Contact")])]),t._v(" "),n("span",{staticClass:"tooltip"},[t._v("Contact")])],1),t._v(" "),t._m(3)])]),t._v(" "),t._m(4),t._v(" "),n("script",[t._v('\n    let sidebar = document.querySelector(".sidebar");\n    let closeBtn = document.querySelector("#btn");\n    let searchBtn = document.querySelector(".bx-search");\n\n    closeBtn.addEventListener("click", ()=>{\n      sidebar.classList.toggle("open");\n      menuBtnChange();//calling the function(optional)\n    });\n\n    searchBtn.addEventListener("click", ()=>{ // Sidebar open when you click on the search iocn\n      sidebar.classList.toggle("open");\n      menuBtnChange(); //calling the function(optional)\n    });\n\n    // following are the code to change sidebar button(optional)\n    function menuBtnChange() {\n    if(sidebar.classList.contains("open")){\n      closeBtn.classList.replace("bx-menu", "bx-menu-alt-right");//replacing the iocns class\n    }else {\n      closeBtn.classList.replace("bx-menu-alt-right","bx-menu");//replacing the iocns class\n    }\n    }\n  ')])])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("head",[n("meta",{attrs:{charset:"UTF-8"}}),t._v(" "),n("link",{attrs:{href:"https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css",rel:"stylesheet"}}),t._v(" "),n("meta",{attrs:{name:"viewport",content:"width=device-width, initial-scale=1.0"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"logo-details"},[n("div",{staticClass:"logo_name"},[t._v("AMASTYLE")]),t._v(" "),n("i",{staticClass:"bx bx-menu",attrs:{id:"btn"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",[n("i",{staticClass:"bx bx-search"}),t._v(" "),n("input",{attrs:{type:"text",placeholder:"Search..."}}),t._v(" "),n("span",{staticClass:"tooltip"},[t._v("Search")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"profile"},[n("div",{staticClass:"profile-details"},[n("div",{staticClass:"name_job"},[n("div",{staticClass:"name"},[t._v("Copyright by Rahma")]),t._v(" "),n("div",{staticClass:"job"},[t._v("Online Store")])])]),t._v(" "),n("i",{staticClass:"bx bx-log-out",attrs:{id:"log_out"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"home-section"},[n("div",{staticClass:"text"},[t._v("AMASTYLE")])])}],!1,null,"e817e848",null);e.default=component.exports},281:function(t,e,n){var content=n(287);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(96).default)("612c3648",content,!0,{sourceMap:!1})},283:function(t,e,n){"use strict";n.r(e);var o=n(63),component=Object(o.a)({},(function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",[n("h1",[t._v("Best Product")])])}],!1,null,null,null);e.default=component.exports},285:function(t,e,n){t.exports=n.p+"img/loading1.6288c35.gif"},286:function(t,e,n){"use strict";n(281)},287:function(t,e,n){var o=n(95)(!1);o.push([t.i,".home-section[data-v-7e61519e]{position:relative;top:0;left:78px;width:calc(100% - 78px);transition:all .5s ease;z-index:2}",""]),t.exports=o},288:function(t,e,n){"use strict";n.r(e);var o=n(32),r=(n(76),{data:function(){return{items:"",loading:!0}},mounted:function(){this.ambilData()},methods:{ambilData:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,data,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$supabase.from("tb_produk").select();case 2:n=e.sent,data=n.data,o=n.error,data&&(t.items=data),t.loading=!1,o&&console.log(o);case 8:case"end":return e.stop()}}),e)})))()}}}),l=(n(286),n(63)),component=Object(l.a)(r,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("main",[o("div",[o("navigasi")],1),t._v(" "),o("section",{staticClass:"home-section"},[o("div",{staticClass:"jumbotron"},[o("product")],1),t._v(" "),o("div",{staticClass:"row"},[o("div",{staticClass:"col-md-12"},[t.loading?o("div",{staticClass:"text-center"},[o("img",{attrs:{src:n(285),alt:""}})]):t._e()]),t._v(" "),t._l(t.items,(function(e){return o("div",{key:e.id,staticClass:"col-md-4"},[o("div",{staticClass:"card mb-3"},[o("div",{staticClass:"card-header"},[o("img",{attrs:{src:e.foto,width:"100%"}})]),t._v(" "),o("div",{staticClass:"card-body"},[o("h4",[t._v(t._s(e.nama))]),t._v(" "),o("h4",[t._v("Rp"+t._s(e.harga))]),t._v(" "),o("a",{staticClass:"btn btn-success btn-block",attrs:{href:e.link_eksternal}},[t._v("Beli Via Wa")])])])])}))],2)])])}),[],!1,null,"7e61519e",null);e.default=component.exports;installComponents(component,{Navigasi:n(277).default,Product:n(283).default})}}]);