diff --git a/asset-manifest.json b/asset-manifest.json index 3d477c0..c0a8129 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,6 +1,6 @@ { "files": { - "main.js": "/AppHighLand/static/js/main.dbe3c6b9.js", + "main.js": "/AppHighLand/static/js/main.b6af6c40.js", "static/js/466.3e3008e6.js": "/AppHighLand/static/js/466.3e3008e6.js", "static/media/MaterialCommunityIcons.ttf": "/AppHighLand/static/media/MaterialCommunityIcons.5d42b4e60858731e7b65.ttf", "static/media/background.jpg": "/AppHighLand/static/media/background.2bc385f1e9d7fa1f9533.jpg", @@ -66,11 +66,11 @@ "favicon-16.png": "/AppHighLand/favicon-16.png", "serve.json": "/AppHighLand/serve.json", "manifest.json": "/AppHighLand/manifest.json", - "main.dbe3c6b9.js.map": "/AppHighLand/static/js/main.dbe3c6b9.js.map", + "main.b6af6c40.js.map": "/AppHighLand/static/js/main.b6af6c40.js.map", "466.3e3008e6.js.map": "/AppHighLand/static/js/466.3e3008e6.js.map" }, "entrypoints": [ "static/js/466.3e3008e6.js", - "static/js/main.dbe3c6b9.js" + "static/js/main.b6af6c40.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 3278100..7fd5741 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Bai1
\ No newline at end of file +Bai1
\ No newline at end of file diff --git a/static/js/main.dbe3c6b9.js b/static/js/main.b6af6c40.js similarity index 50% rename from static/js/main.dbe3c6b9.js rename to static/js/main.b6af6c40.js index 80877d2..3f2d4fa 100644 --- a/static/js/main.dbe3c6b9.js +++ b/static/js/main.b6af6c40.js @@ -1,2 +1,2 @@ -(()=>{"use strict";var e={6015:(e,t,n)=>{n.r(t),n.d(t,{default:()=>he});var i=n(2990),r=n(9573),a=n(8258),o=n(3985),l=n(9128),s=n(1296);const c=n.p+"static/media/background.2bc385f1e9d7fa1f9533.jpg";var d=n(7674),h=l.default.create({container:{flex:1,justifyContent:"center",alignItems:"center"},image:{flex:1,width:"100%",height:"100%"}});const g=function(e){var t=e.navigation;return(0,i.useEffect)((function(){var e=setTimeout((function(){t.replace("Login")}),2e3);return function(){return clearTimeout(e)}}),[t]),(0,d.jsx)(s.default,{style:h.container,children:(0,d.jsx)(o.default,{source:c,resizeMode:"cover",style:h.image})})};var u=n(5890),f=n(8688),p=n(1085),m=n(4359),x=n(9626);function A(){return(0,d.jsx)(s.default,{style:{flex:1,backgroundColor:"#FFFFFF"},children:(0,d.jsxs)(u.default,{style:{flex:1,backgroundColor:"#ffffff",paddingTop:1,paddingBottom:16},children:[(0,d.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"center",backgroundColor:"#ffffff",paddingVertical:16,paddingHorizontal:21,marginBottom:14,marginHorizontal:2},children:[(0,d.jsx)(f.default,{source:{account:m},resizeMode:"stretch",style:{width:53,height:34}}),(0,d.jsx)(s.default,{style:{flex:1,alignSelf:"stretch"}}),(0,d.jsx)(f.default,{source:{search:x},resizeMode:"stretch",style:{width:39,height:39}})]}),(0,d.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"center",marginBottom:2,marginHorizontal:21},children:[(0,d.jsx)(p.default,{style:{color:"#000000",fontSize:15,marginRight:4,flex:1},children:"\u0110ang di\u1ec5n ra"}),(0,d.jsx)(p.default,{style:{color:"#dddddd",fontSize:15},children:"L\u1ecbch s\u1eed \u0111\u1eb7t h\xe0ng"})]}),(0,d.jsx)(s.default,{style:{width:164,height:1,backgroundColor:"#aa0000",marginBottom:1}}),(0,d.jsx)(s.default,{style:{marginBottom:1},children:(0,d.jsx)(s.default,{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#eeeeee"},children:(0,d.jsx)(p.default,{style:{color:"#000000",fontSize:15,marginTop:359,marginLeft:152},children:"Kh\xf4ng c\xf3 d\u1eef li\u1ec7u"})})})]})})}var y=n(9675),b=n(5861),j=n(885),C=n(4714),S=n(2259),T=n(3273),w=n(5279),v=n(6115);const F=n.p+"static/media/banner.602e8d7e4e6e0d506796.jpg",B=n.p+"static/media/cb1.20496e592177639d1985.jpg",I=n.p+"static/media/cb2.35f0987e13b0eb08a826.jpg";var R=[{id:1,title:"C\xc0 PH\xca\nTRUY\u1ec0N TH\u1ed0NG",image:n(2415)},{id:2,title:"C\xc0 PH\xca\nPHA M\xc1Y",image:n(8237)},{id:3,title:"TR\xc0",image:n(8200)},{id:4,title:"PHINDI",image:n(7912)},{id:5,title:"\u0110\xc1 XAY",image:n(5843)},{id:6,title:"TH\u1ee8C U\u1ed0NG KH\xc1C",image:n(6333)},{id:7,title:"B\xc1NH NG\u1eccT",image:n(7355)},{id:8,title:"B\xc1NH M\xcc",image:n(3956)}],H=[n(8461),n(5394),n(1720)],L=5e3;C.default.OS;function D(e){var t=e.navigation,n=(0,i.useState)(1),r=(0,j.default)(n,2),a=r[0],l=r[1],c=(0,i.useState)(0),h=(0,j.default)(c,2),g=h[0],A=h[1],y=(0,i.useState)([]),C=(0,j.default)(y,2),R=C[0],D=C[1];(0,i.useEffect)((function(){k();var e=setInterval((function(){A((g+1)%H.length)}),L);return function(){clearInterval(e)}}),[g]);var k=function(){var e=(0,b.default)((function*(){try{var e=yield v.default.get("https://6562df38ee04015769a69d38.mockapi.io/categories");D(e.data)}catch(t){console.error("Error fetching data:",t)}}));return function(){return e.apply(this,arguments)}}();return(0,d.jsxs)(S.SafeAreaView,{style:{},children:[(0,d.jsxs)(s.default,{style:z.container,children:[(0,d.jsxs)(s.default,{style:z.containerHeader,children:[(0,d.jsx)(f.default,{source:m,style:z.styleAvatar}),(0,d.jsx)(f.default,{source:x,style:z.styleSearch})]}),(0,d.jsxs)(s.default,{style:z.account,children:[(0,d.jsxs)(o.default,{source:F,style:z.styleBanner,children:[(0,d.jsx)(p.default,{style:z.styleText1,children:"Nguy\u1ec5n Ch\xed C\u01b0\u1eddng"}),(0,d.jsx)(p.default,{style:z.styleText1,children:"TH\xc0NH VI\xcaN"})]}),(0,d.jsxs)(s.default,{style:z.containerViandDrips,children:[(0,d.jsxs)(s.default,{style:z.containerVi,children:[(0,d.jsx)(p.default,{style:z.styleText2,children:"Tr\u1ea3 tr\u01b0\u1edbc"}),(0,d.jsx)(p.default,{styles:z.styleText3,children:"0 \u0111"})]}),(0,d.jsx)(s.default,{style:{width:50}}),(0,d.jsxs)(s.default,{style:z.containerDrips,children:[(0,d.jsx)(p.default,{style:z.styleText2,children:"Drips"}),(0,d.jsx)(p.default,{styles:z.styleText3,children:"0 \u0111"})]})]})]})]}),(0,d.jsx)(s.default,{children:(0,d.jsx)(u.default,{children:(0,d.jsx)(T.default,{horizontal:!0,showsHorizontalScrollIndicator:!0,data:R,keyExtractor:function(e){return e.id.toString()},contentContainerStyle:z.flatListContainer,renderItem:function(e){var n=e.item,i=n.id===a;return(0,d.jsxs)(w.default,{onPress:function(){l(n.id),t.navigate("DatHang",{categoryId:n.id}),console.log({categoryId:n.id})},style:[z.itemContainer,{backgroundColor:"#FFFFFF",shadowColor:i?"#000":"transparent"}],children:[(0,d.jsx)(s.default,{style:z.imageContainer,children:(0,d.jsx)(f.default,{source:n.image,style:z.itemImage})}),(0,d.jsx)(s.default,{style:z.textContainer,children:(0,d.jsx)(p.default,{style:z.styleTextMenuItem,children:n.title})})]})}})})}),(0,d.jsx)(s.default,{children:(0,d.jsx)(o.default,{source:H[g],style:z.bannerImage})}),(0,d.jsxs)(s.default,{style:z.containerKm,children:[(0,d.jsxs)(s.default,{children:[(0,d.jsx)(f.default,{source:B,style:z.styleCombo}),(0,d.jsx)(p.default,{children:"T\u1eb6NG H\u1ed8I CH\u1eca EM"}),(0,d.jsx)(p.default,{children:"T\u1eeb 13/10-20/10"})]}),(0,d.jsxs)(s.default,{children:[(0,d.jsx)(f.default,{source:I,style:z.styleCombo}),(0,d.jsx)(p.default,{children:"B\xc1NH NGON 25K"}),(0,d.jsx)(p.default,{children:"T\u1eeb 16/10-18/10"})]})]})]})}var z=l.default.create({container:{flex:1,justifyContent:"center",alignItems:"center",width:"100%"},containerHeader:{flexDirection:"row"},styleAvatar:{width:50,height:50,marginLeft:10,marginTop:5},styleSearch:{width:40,height:40,marginLeft:290,marginTop:5},account:{width:428,height:250,backgroundColor:"#f0e2b1",marginTop:10,justifyContent:"center",alignItems:"center"},styleBanner:{width:380,height:150,borderRadius:10},styleText1:{color:"#FFFFFF",fontSize:12,fontWeight:"700",marginLeft:10,marginTop:10,fontFamily:"Arial"},styleText2:{color:"#666666",fontSize:12,fontWeight:"700",marginLeft:10,marginTop:10,fontFamily:"Arial"},styleText3:{color:"#440000",fontSize:12,fontWeight:"700",marginLeft:10,marginTop:10,fontFamily:"Arial"},containerViandDrips:{marginTop:20,flexDirection:"row",justifyContent:"space-between",paddingHorizontal:10},containerVi:{width:150,height:50,flexDirection:"column",backgroundColor:"#99CCFF",borderRadius:10,marginLeft:10},containerDrips:{width:150,height:50,flexDirection:"column",backgroundColor:"#CC99CC",borderRadius:10,marginRight:10},styleIcon:{width:20,height:20},iconWhite:{tintColor:"#FFFFFF"},flatListContainer:{flexDirection:"row",justifyContent:"space-between",paddingHorizontal:5},itemContainer:{flexDirection:"column",alignItems:"center",justifyContent:"center",alignContent:"center"},itemImage:{width:70,height:70,borderRadius:25},textContainer:{padding:0},imageContainer:{width:90,height:90,borderRadius:50,overflow:"hidden",flexDirection:"column",alignItems:"center",padding:4,backgroundColor:"#FFFAF0"},styleTextMenuItem:{color:"#8B4513",fontSize:12,fontWeight:"700",marginLeft:10,marginTop:10,fontFamily:"Arial"},bannerImage:{width:400,height:100,marginBottom:10,marginTop:10,borderRadius:10},styleCombo:{height:100,width:100},containerKm:{flexDirection:"row",marginLeft:10},combo:{flexDirection:"column",alignContent:"center",justifyContent:"center"}}),k=n(2982),P=n(8264),E=[{id:1,name:"Phin \u0110en \u0110\xe1",priceS:29e3,priceM:35e3,priceL:39e3,note:"Ly C\xe0 Ph\xea \u0111\u01b0\u1ee3c pha ho\xe0n to\xe0n t\u1eeb phin,th\xeam \u0111\u01b0\u1eddng \u0111\xe1 nh\u1eefng v\u1eabn c\u1ef1c \u0111\u1eadm v\u1ecb c\xe0 ph\xea",image:n(3211),categorie:1},{id:2,name:"Phin S\u1eefa \u0110\xe1",priceS:29e3,priceM:35e3,priceL:39e3,note:"Ly C\xe0 Ph\xea \u0111\u01b0\u1ee3c pha ho\xe0n to\xe0n t\u1eeb phin,th\xeam \u0111\u01b0\u1eddng \u0111\xe1 nh\u1eefng v\u1eabn c\u1ef1c \u0111\u1eadm v\u1ecb c\xe0 ph\xea",image:n(7513),categorie:1},{id:3,name:"Phin \u0110en N\xf3ng",priceS:29e3,priceM:35e3,priceL:39e3,note:"Ly C\xe0 Ph\xea \u0111\u01b0\u1ee3c pha ho\xe0n to\xe0n t\u1eeb phin,th\xeam \u0111\u01b0\u1eddng \u0111\xe1 nh\u1eefng v\u1eabn c\u1ef1c \u0111\u1eadm v\u1ecb c\xe0 ph\xea",image:n(3489),categorie:1},{id:4,name:"Phin S\u1eefa N\xf3ng",priceS:29e3,priceM:35e3,priceL:39e3,note:"Ly C\xe0 Ph\xea \u0111\u01b0\u1ee3c pha ho\xe0n to\xe0n t\u1eeb phin,th\xeam \u0111\u01b0\u1eddng \u0111\xe1 nh\u1eefng v\u1eabn c\u1ef1c \u0111\u1eadm v\u1ecb c\xe0 ph\xea",image:n(8460),categorie:1},{id:5,name:"Mocha N\xf3ng",priceS:69e3,priceM:79e3,priceL:85e3,note:"C\xe0 ph\xea \u1ea5m n\xf3ng c\xf9ng v\u1edbi s\u1ef1 h\xf2a quy\u1ec7n gi\u1eefa v\u1ecb \u0111\u1eafng c\xe0 ph\xea epresso v\xe0 s\u1ed1t socola, th\xeam ng\u1ecdt ng\xe0o t\u1eeb s\u1eefa t\u01b0\u01a1i v\xe0 ngh\u1ec7 thu\u1eadt t\u1ea1o h\xecnh trang tr\xed \u0111\u1eb3ng c\u1ea5p",image:n(6985),categorie:2},{id:6,name:"CaramelMachiato N\xf3ng",priceS:69e3,priceM:79e3,priceL:85e3,note:"C\xe0 ph\xea \u1ea5m n\xf3ng c\xf9ng v\u1edbi s\u1ef1 h\xf2a quy\u1ec7n gi\u1eefa v\u1ecb \u0111\u1eafng c\xe0 ph\xea epresso v\xe0 s\u1ed1t socola,th\xeam ng\u1ecdt ng\xe0o t\u1eeb s\u1eefa t\u01b0\u01a1i v\xe0 ngh\u1ec7 thu\u1eadt t\u1ea1o h\xecnh trang tr\xed \u0111\u1eb3ng c\u1ea5p",image:n(949),categorie:2},{id:7,name:"Latte N\xf3ng",priceS:65e3,priceM:75e3,priceL:79e3,note:"C\xe0 ph\xea \u1ea5m n\xf3ng c\xf9ng v\u1edbi s\u1ef1 h\xf2a quy\u1ec7n gi\u1eefa v\u1ecb \u0111\u1eafng c\xe0 ph\xea epresso v\xe0 s\u1ed1t socola,th\xeam ng\u1ecdt ng\xe0o t\u1eeb s\u1eefa t\u01b0\u01a1i v\xe0 ngh\u1ec7 thu\u1eadt t\u1ea1o h\xecnh trang tr\xed \u0111\u1eb3ng c\u1ea5p",image:n(4183),categorie:2},{id:8,name:"Epresso N\xf3ng",priceS:45e3,priceM:49e3,priceL:55e3,note:"C\xe0 ph\xea \u1ea5m n\xf3ng c\xf9ng v\u1edbi s\u1ef1 h\xf2a quy\u1ec7n gi\u1eefa v\u1ecb \u0111\u1eafng c\xe0 ph\xea epresso v\xe0 s\u1ed1t socola,th\xeam ng\u1ecdt ng\xe0o t\u1eeb s\u1eefa t\u01b0\u01a1i v\xe0 ngh\u1ec7 thu\u1eadt t\u1ea1o h\xecnh trang tr\xed \u0111\u1eb3ng c\u1ea5p",image:n(9223),categorie:2},{id:9,name:"Tr\xe0 Qu\u1ea3 M\u1ecdng Anh \u0110\xe0o",priceS:59e3,priceM:69e3,priceL:75e3,note:"Tr\xe0 th\u01a1m s\xe1nh \u0111\xf4i c\xf9ng qu\u1ea3 m\u1ecdng chua ng\u1ecdt, th\xeam \u0111\xe0i qu\u1ea3 ng\xe2m gi\xf2n gi\xf2n, s\u1eb5n s\xe0ng \u0111\xe1nh tan c\u01a1n kh\xe1t",image:n(8661),categorie:3},{id:10,name:"Tr\xe0 Sen V\xe0ng C\u1ee7 N\u0103ng",priceS:45e3,priceM:55e3,priceL:65e3,note:"T\u1eeb Olong k\u1ebft h\u1ee3p v\u1edbi h\u01b0\u01a1ng sen t\u01b0\u01a1i thanh m\xe1t, th\xeam c\u1ee7 n\u0103ng gi\xf2n ng\u1ecdt v\xe0 l\u1edbp kem m\u1ec1m m\u1ea1i",image:n(9871),categorie:3},{id:11,name:"Tr\xe0 Th\u1ea1ch \u0110\xe0o",priceS:45e3,priceM:55e3,priceL:65e3,note:"S\u1ef1 h\xf2a quy\u1ec7n gi\u1eefa h\u01b0\u01a1ng th\u01a1m \u0111\xe0o v\xe0 \u0111\u1ed9 b\xe9o c\u1ee7a s\u1eefa.Th\xeam ngon c\xf9ng topping th\u1ea1ch \u0111\xe0o v\xe0 mi\u1ebfng \u0111\xe0o dai gi\xf2n",image:n(4744),categorie:3},{id:12,name:"Tr\xe0 Thanh \u0110\xe0o",priceS:45e3,priceM:55e3,priceL:65e3,note:"S\u1ef1 h\xe0o quy\u1ec7n gi\u1eefa v\u1ecb tr\xe0 cao c\u1ea5p, nh\u1eefng mi\u1ebfng \u0111\xe0o ng\u1ecdt gi\xf2n th\xeam ch\xfat h\u01b0\u01a1ng thanh m\xe1t c\u1ee7a s\u1ea3, th\u1ecfa m\xe3n v\u1ecb gi\xe1c 100%",image:n(9250),categorie:3},{id:13,name:"Tr\xe0 Xanh \u0110\u1eadu \u0110\u1ecf",priceS:45e3,priceM:55e3,priceL:65e3,note:"V\u1ecb tr\xe0 xanh \u0111\u0103ng \u0111\u1eafng thanh m\xe1t,th\xeam \u0111\u1ed9 ng\u1ecdt v\u1eeba v\xe0 m\u1ec1m m\u1ea1i c\u1ee7a \u0111\u1eadu \u0111\u1ecf. Ngon ng\u1ecdt nh\u01b0ng kh\xf4ng ng\u1ea5y",image:n(4933),categorie:3},{id:14,name:"Tr\xe0 Th\u1ea1ch V\u1ea3i",priceS:45e3,priceM:55e3,priceL:65e3,note:"S\u1ef1 k\u1ebft h\u1ee3p gi\u1eefa qu\u1ea3 v\u1ea3i m\u1ecdng n\u01b0\u1edbc v\xe0 tr\xe0 \u0111en v\xe0 th\u1ea1ch v\u1ea3i th\u01a1m h\u01b0\u01a1ng v\u1ea3i",image:n(2846),categorie:3},{id:15,name:"PhinDi H\u1ea1t D\u1ebb C\u01b0\u1eddi",priceS:45e3,priceM:49e3,priceL:55e3,note:"C\xe0 ph\xea phin v\u1edbi \u0111\u1ed9 \u0111\u1eadm c\xe0 ph\xea v\u1eeba ph\u1ea3i, \u0111\u1eb7c bi\u1ec7t th\xeam h\u1ea1nh nh\xe2n b\xf9i b\xf9i, th\u01a1m ngon",image:n(5980),categorie:4},{id:16,name:"PhinDi Choco",priceS:45e3,priceM:49e3,priceL:55e3,note:"C\xe0 ph\xea phin v\u1edbi \u0111\u1ed9 \u0111\u1eadm c\xe0 ph\xea v\u1eeba ph\u1ea3i, \u0111\u1eb7c bi\u1ec7t th\xeam h\u1ea1nh nh\xe2n b\xf9i b\xf9i, th\u01a1m ngon",image:n(7781),categorie:4},{id:17,name:"PhinDi Kem S\u1eefa",priceS:45e3,priceM:49e3,priceL:55e3,note:"C\xe0 ph\xea phin v\u1edbi \u0111\u1ed9 \u0111\u1eadm c\xe0 ph\xea v\u1eeba ph\u1ea3i, \u0111\u1eb7c bi\u1ec7t th\xeam h\u1ea1nh nh\xe2n b\xf9i b\xf9i, th\u01a1m ngon",image:n(6667),categorie:4},{id:18,name:"PhinDi H\u1ea1nh Nh\xe2n",priceS:45e3,priceM:49e3,priceL:55e3,note:"C\xe0 ph\xea phin v\u1edbi \u0111\u1ed9 \u0111\u1eadm c\xe0 ph\xea v\u1eeba ph\u1ea3i, \u0111\u1eb7c bi\u1ec7t th\xeam h\u1ea1nh nh\xe2n b\xf9i b\xf9i, th\u01a1m ngon",image:n(1530),categorie:4},{id:19,name:"Frezee Qu\u1ea3 M\u1ecdng Anh \u0110\xe0o",priceS:45e3,priceM:49e3,priceL:55e3,note:"Kem b\xe9o h\xe0i h\xf2a c\xf9ng v\u1edbi s\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a v\u1ecb chua qu\u1ea3 m\u1ecdng",image:n(5744),categorie:5},{id:20,name:"Frezee Tr\xe0 Xanh",priceS:45e3,priceM:49e3,priceL:55e3,note:"Kem b\xe9o h\xe0i h\xf2a c\xf9ng v\u1edbi s\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a v\u1ecb chua qu\u1ea3 m\u1ecdng",image:n(7175),categorie:5},{id:21,name:"Caramel Phin Freeze",priceS:45e3,priceM:49e3,priceL:55e3,note:"Kem b\xe9o h\xe0i h\xf2a c\xf9ng v\u1edbi s\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a v\u1ecb chua qu\u1ea3 m\u1ecdng",image:n(8837),categorie:5},{id:22,name:"Frezee S\xf4 C\xf4 La",priceS:45e3,priceM:49e3,priceL:55e3,note:"Kem b\xe9o h\xe0i h\xf2a c\xf9ng v\u1edbi s\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a v\u1ecb chua qu\u1ea3 m\u1ecdng",image:n(5715),categorie:5},{id:23,name:"Classic Phin Freeze ",priceS:45e3,priceM:49e3,priceL:55e3,note:"Kem b\xe9o h\xe0i h\xf2a c\xf9ng v\u1edbi s\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a v\u1ecb chua qu\u1ea3 m\u1ecdng",image:n(7695),categorie:5}];function M(e){var t=e.route.params.item,n=(0,i.useState)(1),r=(0,j.default)(n,2),a=r[0],o=r[1],l=(0,i.useState)("S"),c=(0,j.default)(l,2),h=c[0],g=c[1],m=(0,i.useState)(t.priceS*a),x=(0,j.default)(m,2),A=x[0],y=x[1],b=function(e){g(e),C(e,a)},C=function(e,n){var i=0;"S"===e?i=t.priceS:"M"===e?i=t.priceM:"L"===e&&(i=t.priceL),y(i*n)};return(0,d.jsxs)(u.default,{style:O.container,children:[(0,d.jsx)(f.default,{source:t.image,style:O.productImage}),(0,d.jsxs)(s.default,{style:{backgroundColor:"#EEEEEE",borderRadius:20,width:"100%",height:"35%"},children:[(0,d.jsxs)(s.default,{style:{flexDirection:"row"},children:[(0,d.jsx)(p.default,{style:O.productName,children:t.name}),(0,d.jsx)(s.default,{style:{width:200}}),(0,d.jsxs)(p.default,{style:O.productPrice,children:[" ","S"===h?t.priceS:"M"===h?t.priceM:t.priceL,"\u0111"]})]}),(0,d.jsx)(p.default,{style:O.productNote,children:t.note}),(0,d.jsxs)(s.default,{style:O.sizeButtonsContainer,children:[(0,d.jsx)(w.default,{style:[O.sizeButton,{backgroundColor:"S"===h?"#AA0000":"#FFFFFF"}],onPress:function(){return b("S")},children:(0,d.jsx)(p.default,{style:{color:"S"===h?"#FFFFFF":"#000000"},children:"S"})}),(0,d.jsx)(w.default,{style:[O.sizeButton,{backgroundColor:"M"===h?"#AA0000":"#FFFFFF"}],onPress:function(){return b("M")},children:(0,d.jsx)(p.default,{style:{color:"M"===h?"#FFFFFF":"#000000"},children:"M"})}),(0,d.jsx)(w.default,{style:[O.sizeButton,{backgroundColor:"L"===h?"#AA0000":"#FFFFFF"}],onPress:function(){return b("L")},children:(0,d.jsx)(p.default,{style:{color:"L"===h?"#FFFFFF":"#000000"},children:"L"})})]}),(0,d.jsxs)(s.default,{style:{justifyContent:"center",alignItems:"center",alignContent:"flex-start"},children:[(0,d.jsx)(p.default,{children:"Ghi ch\xfa"}),(0,d.jsx)(P.default,{placeholder:"Ghi ch\xfa",style:{width:"80%",height:50,borderRadius:10,borderWidth:.5,borderColor:"#DDDDDD"}})]})]}),(0,d.jsxs)(s.default,{style:{flexDirection:"row",marginTop:20,flex:1},children:[(0,d.jsxs)(s.default,{style:O.quantityContainer,children:[(0,d.jsx)(s.default,{children:(0,d.jsx)(w.default,{onPress:function(){if(a>1){var e=a-1;o(e),C(h,e)}},style:{height:30,width:30,borderWidth:1,justifyContent:"center",alignItems:"center",alignContent:"center"},children:(0,d.jsx)(p.default,{style:O.quantityButton,children:"-"})})}),(0,d.jsx)(s.default,{style:{margin:10},children:(0,d.jsx)(p.default,{children:a})}),(0,d.jsx)(s.default,{children:(0,d.jsx)(w.default,{onPress:function(){var e=a+1;o(e),C(h,e)},style:{height:30,width:30,borderWidth:1,justifyContent:"center",alignItems:"center",alignContent:"center"},children:(0,d.jsx)(p.default,{style:O.quantityButton,children:"+"})})})]}),(0,d.jsx)(s.default,{style:{width:100}}),(0,d.jsx)(s.default,{style:{flex:5},children:(0,d.jsx)(w.default,{style:{borderRadius:15,backgroundColor:"#AA0000",alignContent:"center",alignItems:"center",justifyContent:"center",width:200,height:50},children:(0,d.jsx)(p.default,{style:{color:"#FFFFFF",textAlign:"center",fontWeight:700},children:`Th\xeam ${A}\u0111`})})})]})]})}var O={container:{flex:1,backgroundColor:"#FFFFFF"},sizePickerContainer:{margin:10,borderBottomWidth:1,borderBottomColor:"#ddd"},sizePicker:{height:40},productImage:{width:200,height:400,alignSelf:"center"},productName:{fontSize:20,fontWeight:"bold",margin:10,textAlign:"center"},productNote:{fontSize:16,color:"#888",textAlign:"center"},productPrice:{fontSize:18,color:"#AA0000",fontWeight:"bold",textAlign:"center"},productSize:{fontSize:16,margin:10,textAlign:"center"},quantityContainer:{flexDirection:"row",alignItems:"center",justifyContent:"center",flex:5},quantityButton:{width:30,height:30,borderWidth:1,justifyContent:"center",alignItems:"center"},quantityInput:{fontSize:5,textAlign:"center"},sizeButtonsContainer:{flexDirection:"row",justifyContent:"space-around",margin:10,marginTop:20},sizeButton:{width:80,height:50,borderRadius:5,justifyContent:"center",alignItems:"center"},quantityContainer:{flexDirection:"row",alignItems:"center",justifyContent:"center",margin:10},quantityButton:{fontSize:24},quantityInput:{fontSize:20,marginHorizontal:20}};function V(e){var t=e.navigation,n=e.route,r=(0,i.useState)([]),a=(0,j.default)(r,2),o=(a[0],a[1]),l=(0,i.useState)(n.params?n.params.categoryId:1),c=(0,j.default)(l,2),h=c[0],g=c[1],m=(0,i.useState)(""),A=(0,j.default)(m,2),y=A[0],C=A[1],S=(0,i.useState)(null),F=(0,j.default)(S,2),B=(F[0],F[1],(0,i.useState)(Date.now().toString())),I=(0,j.default)(B,2),H=I[0],L=(I[1],(0,i.useState)([])),D=(0,j.default)(L,2),z=D[0],M=D[1];console.log(h),console.log("sp sau lock>>:",z),(0,i.useEffect)((function(){var e=E.filter((function(e){return(null==h||e.categorie==h)&&(""==y||e.name.toLowerCase().includes(y.toLowerCase()))}));console.log("sp sau lock efect>>:",e),M((0,k.default)(e)),console.log("sp root>>:",E)}),[h]);!function(){var e=(0,b.default)((function*(){try{var e=yield v.default.get("https://6562df38ee04015769a69d38.mockapi.io/categories");o(e.data)}catch(t){console.error("Error fetching data:",t)}}))}();return(0,d.jsxs)(s.default,{style:N.scrollContainer,children:[(0,d.jsx)(s.default,{style:N.searchContainer,children:(0,d.jsxs)(s.default,{style:N.searchBar,children:[(0,d.jsx)(P.default,{style:N.searchInput,placeholder:"T\xecm ki\u1ebfm t\xean m\xf3n \u0103n",value:y,onChangeText:function(e){return C(e)}}),(0,d.jsx)(f.default,{source:x,resizeMode:"stretch",style:N.searchIcon})]})}),(0,d.jsx)(s.default,{style:N.categoryListContainer,children:(0,d.jsx)(T.default,{horizontal:!0,showsHorizontalScrollIndicator:!1,data:R,keyExtractor:function(e){return e.id.toString()},renderItem:function(e){var t=e.item;t.id;return(0,d.jsxs)(w.default,{onPress:function(){return g(t.id)},style:[N.categoryItem,{shadowColor:h===t.id?"#AA0000":"#000000"}],children:[(0,d.jsx)(f.default,{source:t.image,style:N.categoryImage}),(0,d.jsx)(p.default,{style:{textAlign:"center",color:h===t.id?"#AA0000":"#000000"},children:t.title})]})}},H)}),(0,d.jsx)(u.default,{style:N.container,children:(0,d.jsx)(s.default,{style:N.product,children:(0,d.jsx)(T.default,{horizontal:!1,showsHorizontalScrollIndicator:!1,data:z,keyExtractor:function(e){return e.id.toString()},renderItem:function(e){var n=e.item;return(0,d.jsx)(w.default,{onPress:function(){return t.navigate("ProductDetail",{item:n})},children:(0,d.jsxs)(s.default,{style:N.productContainer,children:[(0,d.jsx)(s.default,{style:{flex:3},children:(0,d.jsx)(f.default,{source:n.image,style:N.productImage})}),(0,d.jsxs)(s.default,{style:{flex:5},children:[(0,d.jsx)(p.default,{style:N.productName,children:n.name}),(0,d.jsx)(p.default,{style:N.productNote,children:n.note})]}),(0,d.jsx)(s.default,{style:{flex:2},children:(0,d.jsxs)(p.default,{style:N.productPrice,children:[n.priceS,"\u0111"]})})]},n.id)})}},h)})})]})}var N={container:{flex:1,backgroundColor:"#FFFFFF"},container2:{flexDirection:"row",backgroundColor:"#FFFFFF"},scrollContainer:{flex:1,backgroundColor:"#ffffff"},searchContainer:{backgroundColor:"#ffffff",paddingTop:20,paddingHorizontal:18},searchBar:{flexDirection:"row",alignItems:"center",backgroundColor:"#f8f8ff",borderRadius:10,height:40,marginBottom:15},searchInput:{color:"#dddddd",fontSize:15,marginRight:4,flex:1,height:40},searchIcon:{width:19,height:20},categoryListContainer:{paddingHorizontal:18},categoryItem:{backgroundColor:"#FFFFFF",shadowColor:"transparent",marginRight:5,borderRadius:10,alignItems:"center"},categoryImage:{width:80,height:80,marginBottom:5},categoryText:{textAlign:"center"},productImage:{width:100,height:100},productName:{fontSize:16,fontWeight:"bold",marginTop:8},productPrice:{fontSize:14,color:"#AA0000",fontWeight:700},productNote:{fontSize:12,color:"#888"},productContainer:{flexDirection:"row",flex:1,borderWidth:1,borderColor:"#ddd",padding:10},product:{marginTop:0}},Q=n(7223),K=n(8487),W=n(9744);const U=function(){return(0,d.jsxs)(s.default,{style:Y.container,children:[(0,d.jsx)(K.default,{mode:"outlined",icon:"chevron-down",textColor:"#fff",style:{borderColor:"#fff",width:145,alignSelf:"flex-end",marginTop:26,marginRight:20},contentStyle:{flexDirection:"row-reverse",width:126,height:34},labelStyle:{fontSize:13},children:"Ti\u1ebfng Vi\u1ec7t"}),(0,d.jsxs)(s.default,{style:{flexDirection:"row",marginTop:20,justifyContent:"space-between",paddingHorizontal:20},children:[(0,d.jsx)(f.default,{source:n(4359),style:{width:90,height:90}}),(0,d.jsxs)(s.default,{children:[(0,d.jsx)(p.default,{style:{fontSize:16,color:"#fff"},children:"\u0110\u1eb7ng Th\u1ecb Quy\u1ec1n C\u01a1 | TH\xc0NH VI\xcaN"}),(0,d.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"center",marginVertical:4},children:[(0,d.jsx)(f.default,{source:n(7620),style:{width:25,height:25}}),(0,d.jsx)(p.default,{style:{color:"#fff",fontSize:16,marginLeft:4},children:"DRIPS: 0"})]}),(0,d.jsxs)(s.default,{style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:[(0,d.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"center"},children:[(0,d.jsx)(f.default,{source:n(7429),style:{width:25,height:25}}),(0,d.jsx)(p.default,{style:{color:"#fff",fontSize:16,marginLeft:4},children:"Tr\u1ea3 tr\u01b0\u1edbc: 0 \u0111"})]}),(0,d.jsx)(K.default,{mode:"contained",textColor:"#B3282D",style:{backgroundColor:"#E0D7BF"},contentStyle:{width:90,height:25},labelStyle:{fontSize:13,margin:0},children:"K\xcdCH HO\u1ea0T"})]})]})]}),(0,d.jsx)(s.default,{style:Y.body,children:(0,d.jsxs)(u.default,{children:[(0,d.jsxs)(s.default,{children:[(0,d.jsxs)(s.default,{style:{marginTop:24},children:[(0,d.jsx)(p.default,{style:Y.sectionHeader,children:"T\xe0i Kho\u1ea3n"}),(0,d.jsxs)(s.default,{style:{paddingHorizontal:15,paddingVertical:8},children:[(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderTopLeftRadius:10,borderTopRightRadius:10,borderBottomWidth:1,borderColor:"#E0D7BF"}],children:[(0,d.jsx)(f.default,{source:n(4312),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"H\u1ed3 S\u01a1"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]}),(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderBottomLeftRadius:10,borderBottomRightRadius:10}],children:[(0,d.jsx)(f.default,{source:n(3361),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"C\xe0i \u0110\u1eb7t"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]})]})]}),(0,d.jsxs)(s.default,{style:{marginTop:24},children:[(0,d.jsx)(p.default,{style:Y.sectionHeader,children:"T\u01b0\u01a1ng T\xe1c"}),(0,d.jsx)(s.default,{style:{paddingHorizontal:15,paddingVertical:8},children:(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderRadius:10}],children:[(0,d.jsx)(f.default,{source:n(6414),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"Ho\u1ea1t \u0110\u1ed9ng"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]})})]}),(0,d.jsxs)(s.default,{style:{marginTop:24},children:[(0,d.jsx)(p.default,{style:Y.sectionHeader,children:"Th\xf4ng Tin Chung"}),(0,d.jsxs)(s.default,{style:{paddingHorizontal:15,paddingVertical:8},children:[(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderTopLeftRadius:10,borderTopRightRadius:10,borderBottomWidth:1,borderColor:"#E0D7BF"}],children:[(0,d.jsx)(f.default,{source:n(1710),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"Ch\xednh s\xe1ch/Policies"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]}),(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderBottomWidth:1,borderColor:"#E0D7BF"}],children:[(0,d.jsx)(f.default,{source:n(1710),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"CT Th\xe0nh Vi\xean/Loalty"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]}),(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderBottomLeftRadius:10,borderBottomRightRadius:10}],children:[(0,d.jsx)(f.default,{source:n(717),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"Gi\u1edbi Thi\u1ec7u V\u1ec1 Phi\xean B\u1ea3n \u1ee8ng D\u1ee5ng"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]})]})]}),(0,d.jsxs)(s.default,{style:{marginTop:24},children:[(0,d.jsx)(p.default,{style:Y.sectionHeader,children:"Trung T\xe2m Tr\u1ee3 Gi\xfap"}),(0,d.jsxs)(s.default,{style:{paddingHorizontal:15,paddingVertical:8},children:[(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderTopLeftRadius:10,borderTopRightRadius:10,borderBottomWidth:1,borderColor:"#E0D7BF"}],children:[(0,d.jsx)(f.default,{source:n(6705),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"C\xe2u H\u1ecfi Th\u01b0\u1eddng G\u1eb7p"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]}),(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderBottomLeftRadius:10,borderBottomRightRadius:10}],children:[(0,d.jsx)(f.default,{source:n(5701),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"Ph\u1ea3n H\u1ed3i & H\u1ed7 Tr\u1ee3"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]})]})]})]}),(0,d.jsx)(K.default,{mode:"contained",style:{marginHorizontal:15,marginTop:4,marginBottom:16,backgroundColor:"#B3282D"},children:"\u0110\u0103ng xu\u1ea5t"})]})})]})};var Y=l.default.create({container:{flex:1,backgroundColor:"#B3282D"},body:{flex:1,backgroundColor:"rgb(215, 207, 207)",marginTop:"auto",borderTopLeftRadius:15,borderTopRightRadius:15,paddingTop:8},sectionHeader:{fontSize:24,fontWeight:"700",padding:5,paddingLeft:10,color:"#311111"},sectionItemContainer:{flexDirection:"row",alignItems:"center",backgroundColor:"#fff",height:44,fontSize:14,paddingRight:10}}),G=[{image:n(9055),name:"Sala 2",address:"125 Nguy\u1ec5n C\u01a1 Th\u1ea1ch\n Ph\u01b0\u1eddng An L\u1ee3i \u0110\xf4ng Qu\u1eadn 2",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 23:00"},{image:n(3155),name:"Sarica Sala",address:"No 06, D9 streeet\n Ph\u01b0\u1eddng An L\u1ee3i \u0110\xf4ng Qu\u1eadn 2",phone:"(028) 3740 7777",isOpen:!0,time:"07:00 - 23:00"},{image:n(7763),name:"ViVo HCM",address:"1058 Nguy\u1ec5n V\u0103n Linh\n Ph\u01b0\u1eddng T\xe2n Phong Qu\u1eadn 7",phone:"(028) 3740 8888",isOpen:!1,time:"07:00 - 23:00"},{image:n(9055),name:"AQ",address:"39 \u0110\u01b0\u1eddng M\u1ea1c \u0110\u0129nh Chi\n Ph\u01b0\u1eddng \u0110a Kao Qu\u1eadn 1",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 23:00"},{image:n(3155),name:"Vincom Thao Dien",address:"159 Xa L\u1ed9 H\xe0 N\u1ed9i\n Ph\u01b0\u1eddng Th\u1ea3o \u0110i\u1ec1n Qu\u1eadn 2",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 22:00"},{image:n(9055),name:"La Kai HCM",address:"98 Nguy\u1ec5n C\u01a1 Th\u1ea1ch\n Ph\u01b0\u1eddng An L\u1ee3i \u0110\xf4ng Qu\u1eadn 2",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 23:00"},{image:n(3155),name:"Tung Thien Vuong-HCM",address:"312 - 314 V\xf5 V\u0103n Ki\u1ec7t\n Ph\u01b0\u1eddng C\xf4 Giang Qu\u1eadn 1",phone:"(028) 3740 6666",isOpen:!1,time:"07:00 - 23:00"},{image:n(7763),name:"Big C An Lac",address:"1231 Qu\u1ed1c L\u1ed9 1A\n Ph\u01b0\u1eddng B\xecnh H\u01b0ng H\xf2a Qu\u1eadn B\xecnh T\xe2n",phone:"(028) 3740 6666",isOpen:!0,time:"09:00 - 22:00"},{image:n(3155),name:"Hoang Dieu 2 Thu Duc",address:"142, Ho\xe0ng Di\u1ec7u 2 \n Ph\u01b0\u1eddng Linh Chi\u1ec3u Qu\u1eadn Th\u1ee7 \u0110\u1ee9c",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 23:00"},{image:n(3155),name:"Viettel CMT8",address:"285 C\xe1ch M\u1ea1ng Th\xe1ng 8\n Ph\u01b0\u1eddng 12 Qu\u1eadn 10",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 23:00"}],X=n(5918);const J=function(e){var t=e.item;return(0,d.jsxs)(s.default,{style:{flexDirection:"row",backgroundColor:"#fff",padding:8,borderRadius:6},children:[(0,d.jsx)(f.default,{style:{width:120,height:120},source:t.image}),(0,d.jsxs)(s.default,{style:{paddingLeft:8},children:[(0,d.jsx)(p.default,{style:{fontSize:17,fontWeight:"700",marginBottom:4},children:t.name}),(0,d.jsx)(p.default,{style:{fontSize:14,color:"#777"},children:t.address}),(0,d.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"center"},children:[(0,d.jsx)(X.default,{icon:"phone-outline",size:16,iconColor:"#777",style:{padding:0,margin:0}}),(0,d.jsx)(p.default,{style:{color:"#777"},children:t.phone})]}),(0,d.jsxs)(s.default,{style:{flexDirection:"row",alignItems:"center",marginTop:"auto"},children:[(0,d.jsx)(p.default,{style:[q.stateItem,t.isOpen?q.openState:q.closeState],children:t.isOpen?"M\u1edf":"\u0110\xf3ng"}),(0,d.jsx)(p.default,{style:{marginLeft:4,color:"#777"},children:t.time})]})]})]})};var q=l.default.create({container:{flex:1},stateItem:{paddingHorizontal:8,paddingVertical:2,fontSize:14,color:"#fff",borderRadius:50},openState:{backgroundColor:"#3FB644"},closeState:{backgroundColor:"#999"}});const Z=function(){return(0,d.jsxs)(s.default,{style:_.container,children:[(0,d.jsxs)(s.default,{style:{flexDirection:"row",justifyContent:"space-between",paddingHorizontal:12,height:76,alignItems:"center",backgroundColor:"#fff"},children:[(0,d.jsx)(f.default,{style:{width:40,height:40},source:n(4359)}),(0,d.jsx)(f.default,{style:{width:26,height:26},source:n(9626)})]}),(0,d.jsxs)(s.default,{style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingHorizontal:12,paddingVertical:20},children:[(0,d.jsxs)(s.default,{style:{flexDirection:"row",position:"relative",flex:1},children:[(0,d.jsx)(P.default,{placeholder:"T\xecm \u0111\u1ecba ch\u1ec9",style:{backgroundColor:"#fff",color:"#777",borderRadius:50,width:"100%",paddingVertical:6,paddingLeft:12,outline:"none"}}),(0,d.jsx)(f.default,{style:{width:16,height:16,position:"absolute",top:"50%",right:8,transform:"translateY(-50%)"},source:n(9626)})]}),(0,d.jsx)(f.default,{style:{width:22,height:22,marginHorizontal:12},source:n(4742)}),(0,d.jsx)(p.default,{children:"B\u1ea2N \u0110\u1ed2"})]}),(0,d.jsx)(S.SafeAreaView,{style:{paddingHorizontal:12,flex:1},children:(0,d.jsx)(u.default,{children:(0,d.jsx)(T.default,{data:G,renderItem:function(e){var t=e.item;return(0,d.jsx)(J,{item:t})},ItemSeparatorComponent:function(){return(0,d.jsx)(s.default,{style:{height:8}})}})})})]})};var _=l.default.create({container:{flex:1},stateItem:{paddingHorizontal:8,paddingVertical:2,fontSize:14,color:"#fff",borderRadius:50},openState:{backgroundColor:"#3FB644"},closeState:{backgroundColor:"#999"}}),$=(0,y.default)();function ee(e){e.route;return(0,d.jsxs)($.Navigator,{tabBarOptions:{tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000"},children:[(0,d.jsx)($.Screen,{name:"Trang ch\u1ee7",component:D,options:function(e){var t=e.route;return{tabBarIcon:function(e){e.color,e.size;return(0,d.jsx)(f.default,{source:(t.state&&t.state.index,n(2858)),style:{width:50,height:50,tintColor:"#AA0000"}})},tabBarLabelStyle:{fontSize:12,marginTop:5,fontStyle:"Regular",fontFamily:"Roboto"},tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000",headerShown:!1}}}),(0,d.jsx)($.Screen,{name:"\u0110\u1eb7t h\xe0ng",component:V,options:function(e){e.route;return{tabBarIcon:function(e){e.color,e.size;return(0,d.jsx)(f.default,{source:n(5375),style:{width:30,height:30}})},headerShown:!1,tabBarLabelStyle:{fontSize:12,marginTop:5,fontStyle:"Regular",fontFamily:"Roboto"},tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000"}}}),(0,d.jsx)($.Screen,{name:"Ho\u1ea1t \u0111\u1ed9ng",component:A,options:function(e){e.route;return{tabBarIcon:function(e){e.color,e.size;return(0,d.jsx)(f.default,{source:n(3217),style:{width:30,height:30}})},headerShown:!1,tabBarLabelStyle:{fontSize:12,marginTop:5,fontStyle:"Regular",fontFamily:"Roboto"},tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000"}}}),(0,d.jsx)($.Screen,{name:"C\u1eeda h\xe0ng",component:Z,options:function(e){e.route;return{tabBarIcon:function(e){e.color,e.size;return(0,d.jsx)(f.default,{source:n(207),style:{width:30,height:30}})},headerShown:!1,tabBarLabelStyle:{fontSize:12,marginTop:5,fontStyle:"Regular",fontFamily:"Roboto"},tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000"}}}),(0,d.jsx)($.Screen,{name:"Kh\xe1c",component:U,options:function(e){e.route;return{tabBarIcon:function(e){e.color,e.size;return(0,d.jsx)(f.default,{source:n(5728),style:{width:30,height:30}})},headerShown:!1,tabBarLabelStyle:{fontSize:12,marginTop:5,fontStyle:"Regular",fontFamily:"Roboto"},tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000"}}})]})}var te=n(7909);const ne=n.p+"static/media/logo.da664c3ad2c59ddd7f97.png",ie=n.p+"static/media/apple.06651be94d357ceb0537.png",re=n.p+"static/media/fb.5c9294366b9bc4df10c9.png",ae=n.p+"static/media/google.3c06af15d0f7e34f9cc5.png";(function(){var e=(0,b.default)((function*(e){try{var t=JSON.stringify({to:e,channel:"sms"}),n=yield fetch("https://highlandcoffee-7822.twil.io/start-verify",{method:"POST",headers:{"Content-Type":"application/json"},body:t});return(yield n.json()).success}catch(i){return console.error(i),!1}}))})(),function(){var e=(0,b.default)((function*(e,t){try{var n=JSON.stringify({to:e,code:t}),i=yield fetch("https://highlandcoffee-7822.twil.io/check-verify",{method:"POST",headers:{"Content-Type":"application/json"},body:n});return(yield i.json()).success}catch(r){return console.error(r),!1}}))}();var oe=l.default.create({container:{flex:1,justifyContent:"center",alignItems:"center",backgroundColor:"#f0e2b1",width:"100%",height:"100%"},styleText:{color:"#4c2f16",fontSize:30,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"700"},logo:{width:200,height:200},containerText:{marginTop:10,marginBottom:50,justifyContent:"center",alignContent:"center",alignItems:"center"},buttonTiepTuc:{backgroundColor:"#DDDDDD",width:350,height:50,alignItems:"center",justifyContent:"center",borderRadius:5,marginTop:20},imageFooter:{width:50,height:50},containerFotter:{flexDirection:"row",marginTop:10},google:{marginTop:5},fb:{marginLeft:10},textFooter:{fontFamily:"Roboto",fontSize:15,fontWeight:"700",color:"#AA0000"},footer:{marginTop:20},footer2:{flexDirection:"row",marginTop:150},otpInput:{height:40,borderColor:"gray",borderWidth:1,marginVertical:10,paddingHorizontal:10},button:{backgroundColor:"#DDDDDD",width:350,height:50,alignItems:"center",justifyContent:"center",borderRadius:5,marginTop:20},buttonText:{fontSize:16,fontWeight:"bold"}});const le=function(e){var t=e.navigation,n=(0,i.useState)(""),r=(0,j.default)(n,2),a=r[0],o=r[1],l=(0,i.useState)(""),c=(0,j.default)(l,2),h=c[0],g=c[1],u=(0,i.useState)("110402"),m=(0,j.default)(u,2),x=(m[0],m[1]),A=(0,i.useState)(""),y=(0,j.default)(A,2),b=(y[0],y[1],(0,i.useState)(!1)),C=(0,j.default)(b,2),S=(C[0],C[1]),T=(0,i.useRef)(null);return(0,d.jsxs)(s.default,{style:oe.container,children:[(0,d.jsx)(s.default,{children:(0,d.jsx)(f.default,{source:ne,style:oe.logo})}),(0,d.jsx)(s.default,{style:oe.containerText,children:(0,d.jsx)(p.default,{style:oe.styleText,children:"B\u1eaft \u0111\u1ea7u cu\u1ed9c h\xe0nh tr\xecnh c\u1ee7a b\u1ea1n"})}),(0,d.jsx)(te.default,{ref:T,defaultValue:a,defaultCode:"VN",layout:"first",onChangeText:function(e){return o(e)},onChangeFormattedText:function(e){return g(e)},countryPickerProps:{withAlphaFilter:!0},withShadow:!0,autoFocus:!0,onPressFlag:function(){T.current.selectCountry()}}),(0,d.jsx)(w.default,{style:oe.buttonTiepTuc,onPress:function(){fetch("https://hc-5776.twil.io/sendsms",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({to:h})}).then((function(e){return e.json()})).then((function(e){console.log(e.otp),x(e.otp),S(!0)})).catch((function(e){console.error(e)}))},setShowOTPInput:!0,children:(0,d.jsx)(p.default,{style:oe.buttonText,children:"G\u1eedi m\xe3"})}),(0,d.jsx)(w.default,{style:oe.buttonTiepTuc,onPress:function(){return t.navigate("Otp")},children:(0,d.jsx)(p.default,{children:"Ti\u1ebfp t\u1ee5c x\xe1c nh\u1eadn OTP"})}),(0,d.jsxs)(s.default,{style:oe.containerFotter,children:[(0,d.jsx)(f.default,{source:ie,style:oe.imageFooter}),(0,d.jsx)(s.default,{style:oe.fb,children:(0,d.jsx)(f.default,{source:re,style:oe.imageFooter})}),(0,d.jsx)(s.default,{style:oe.google,children:(0,d.jsx)(f.default,{source:ae,style:oe.imageFooter})})]}),(0,d.jsx)(s.default,{style:oe.footer,children:(0,d.jsx)(w.default,{onPress:function(){return t.navigate("MainApp")},children:(0,d.jsx)(p.default,{style:oe.textFooter,children:"TI\u1ebeP T\u1ee4C NH\u01af KH\xc1CH"})})}),(0,d.jsxs)(s.default,{style:oe.footer2,children:[(0,d.jsx)(p.default,{children:"B\u1ea1n \u0111\xe3 c\xf3 t\xe0i kho\u1ea3n?"}),(0,d.jsx)(p.default,{style:{color:"#AA0000",fontWeight:700},children:" \u0110\u0103ng nh\u1eadp"})]})]})};var se=l.default.create({container:{flex:1,justifyContent:"center",alignItems:"center",backgroundColor:"#f0e2b1",width:"100%",height:"100%"},styleText:{color:"#4c2f16",fontSize:30,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"700"},logo:{width:200,height:200},containerText:{marginTop:10,marginBottom:50,justifyContent:"center",alignContent:"center",alignItems:"center"},buttonTiepTuc:{backgroundColor:"#DDDDDD",width:350,height:50,alignItems:"center",justifyContent:"center",borderRadius:5,marginTop:20},imageFooter:{width:50,height:50},containerFotter:{flexDirection:"row",marginTop:10},google:{marginTop:5},fb:{marginLeft:10},textFooter:{fontFamily:"Roboto",fontSize:15,fontWeight:"700",color:"#AA0000"},footer:{marginTop:20},footer2:{flexDirection:"row",marginTop:150},otpInput:{height:40,borderColor:"gray",borderWidth:1,marginVertical:10,paddingHorizontal:10},button:{backgroundColor:"#DDDDDD",width:350,height:50,alignItems:"center",justifyContent:"center",borderRadius:5,marginTop:20},buttonText:{fontSize:16,fontWeight:"bold"}});const ce=function(e){var t=e.navigation,n=(0,i.useState)(""),r=(0,j.default)(n,2),a=(r[0],r[1],(0,i.useState)("")),o=(0,j.default)(a,2),l=(o[0],o[1],(0,i.useState)("110402")),c=(0,j.default)(l,2),h=(c[0],c[1],(0,i.useState)("")),g=(0,j.default)(h,2),u=g[0],m=g[1],x=(0,i.useState)(!1),A=(0,j.default)(x,2);A[0],A[1],(0,i.useRef)(null);return(0,d.jsxs)(s.default,{style:se.container,children:[(0,d.jsx)(s.default,{children:(0,d.jsx)(f.default,{source:ne,style:se.logo})}),(0,d.jsx)(s.default,{style:se.containerText,children:(0,d.jsx)(p.default,{style:se.styleText,children:"B\u1eaft \u0111\u1ea7u cu\u1ed9c h\xe0nh tr\xecnh c\u1ee7a b\u1ea1n"})}),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(P.default,{style:se.otpInput,placeholder:"Nh\u1eadp m\xe3 OTP",keyboardType:"numeric",onChangeText:function(e){return m(e)},value:u}),(0,d.jsx)(w.default,{style:se.button,onPress:function(){return t.navigate("MainApp")},children:(0,d.jsx)(p.default,{style:se.buttonText,children:"X\xe1c nh\u1eadn OTP"})})]}),(0,d.jsxs)(s.default,{style:se.containerFotter,children:[(0,d.jsx)(f.default,{source:ie,style:se.imageFooter}),(0,d.jsx)(s.default,{style:se.fb,children:(0,d.jsx)(f.default,{source:re,style:se.imageFooter})}),(0,d.jsx)(s.default,{style:se.google,children:(0,d.jsx)(f.default,{source:ae,style:se.imageFooter})})]}),(0,d.jsx)(s.default,{style:se.footer,children:(0,d.jsx)(w.default,{onPress:function(){return t.navigate("MainApp")},children:(0,d.jsx)(p.default,{style:se.textFooter,children:"TI\u1ebeP T\u1ee4C NH\u01af KH\xc1CH"})})}),(0,d.jsxs)(s.default,{style:se.footer2,children:[(0,d.jsx)(p.default,{children:"B\u1ea1n \u0111\xe3 c\xf3 t\xe0i kho\u1ea3n?"}),(0,d.jsx)(p.default,{style:{color:"#AA0000",fontWeight:700},children:" \u0110\u0103ng nh\u1eadp"})]})]})};var de=(0,a.default)();function he(){return(0,d.jsx)(r.default,{children:(0,d.jsxs)(de.Navigator,{initialRouteName:"Home",children:[(0,d.jsx)(de.Screen,{name:"Login",component:le,options:{headerShown:!1}}),(0,d.jsx)(de.Screen,{name:"HomeScreen",component:g,options:{title:"HomeScreen"}}),(0,d.jsx)(de.Screen,{name:"MainApp",component:ee,options:{title:"Back"}}),(0,d.jsx)(de.Screen,{name:"HoatDong",component:A,options:{title:"Back"}}),(0,d.jsx)(de.Screen,{name:"DatHang",component:V,options:{title:"Back"}}),(0,d.jsx)(de.Screen,{name:"ProductDetail",component:M,options:{title:"Back"}}),(0,d.jsx)(de.Screen,{name:"Other",component:U,options:{title:"Back"}}),(0,d.jsx)(de.Screen,{name:"Otp",component:ce,options:{title:"Back"}})]})})}},4359:(e,t,n)=>{e.exports=n.p+"static/media/av.98d541cf9cfdc591859a.png"},8461:(e,t,n)=>{e.exports=n.p+"static/media/banner1.d2c1b45974c1de1d2f8f.jpg"},5394:(e,t,n)=>{e.exports=n.p+"static/media/banner2.b7328054a64140a331b6.jpg"},1720:(e,t,n)=>{e.exports=n.p+"static/media/banner3.a0b62d3ad3800ac79bc5.jpg"},3956:(e,t,n)=>{e.exports=n.p+"static/media/banhmi.6b4734270c68a5970078.png"},7355:(e,t,n)=>{e.exports=n.p+"static/media/banhngot.d96f731a04e50babfb8e.png"},8237:(e,t,n)=>{e.exports=n.p+"static/media/cfmay.539bc0f45a9d85aaeb06.png"},2415:(e,t,n)=>{e.exports=n.p+"static/media/cftt.447b681e66cb3e1a0cb1.png"},5843:(e,t,n)=>{e.exports=n.p+"static/media/daxay.dc3c5fd190d1a9ec0b14.png"},7912:(e,t,n)=>{e.exports=n.p+"static/media/phindi.bc167f279985e5338392.png"},6333:(e,t,n)=>{e.exports=n.p+"static/media/thucuongkhac.a5020967fe44830f8391.png"},8200:(e,t,n)=>{e.exports=n.p+"static/media/tra.0604f8a210f96eb6a2f3.png"},9626:(e,t,n)=>{e.exports=n.p+"static/media/iconsearch.b4ad5cf05c588e8091c6.png"},4742:(e,t,n)=>{e.exports=n.p+"static/media/map.9743937e9227e20d8871.png"},7620:(e,t,n)=>{e.exports=n.p+"static/media/medal.e8f52dfb52baf3dd8c4e.png"},207:(e,t,n)=>{e.exports=n.p+"static/media/cuahang.be6853e2868dd995908f.png"},5375:(e,t,n)=>{e.exports=n.p+"static/media/dathang.6311d14104db731f5db5.png"},3217:(e,t,n)=>{e.exports=n.p+"static/media/hoatdong.cd4a93643dba14da49f6.png"},5728:(e,t,n)=>{e.exports=n.p+"static/media/khac.0d0fe9f020ccd2a19caa.png"},2858:(e,t,n)=>{e.exports=n.p+"static/media/trangchu.1771fefd733ee2244ef4.png"},5701:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD2SURBVHgB7ZO/EYIwGMVfAlg7gnY03sEGDqAFI7iBbqAT6AaOQOECOIEWetLBCJbe8ScCNiGHBANqw69LvuR9ed+7AD3/hogbrmmOdBj7rGKBYYgmENyRwotJtHJ8P8S7BoU4MU6NhSsaxSyy+SaUrw+YsVUWz8nuFu45Sg1Siinako+WQ4fwAvF8DG3s+OcQFbimleWVBHUaFFIeirUXuvyAERzMCVRp4KAdUgdiBpVzr0EhA/ncebrPIP/VHJ1nwFIc+bXUwUdkr0+gLfmtbhwUY2FezDRb/JQ1Dthm7l/WaAn9pnhOyQEDFpSkw9ntukPPr3gCBb1NkP3Nx8cAAAAASUVORK5CYII="},1710:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGeSURBVHgB3ZZNTsJQFIXPbavGgQlL6MSkoJjnCmROVNiB7gBWAKwAd+ASSkDH4A46INA4seyAoQm019dgTOwPfbSSqF9CSO5t35f2nd4W+G9QWsM+rQhd1wWDzWgveDcemp6zHJbPWj77g6bresgjGlkXHYC7aSdptDbr8/liaFXfiFBa8+oyS6ZFC7Z1XtsmicEoHeBgbFuWiV1EslDDjjBgGnxo26YoKYvk3TSRB2JhHPmPUBcVgNAYlqv9/YtCF6MlQ3K3d9HnolfRmoECEPg+qb6C4f2IyIfRkn/ta3c6UT0nlyjchyer2pCx9pL6Afjl1p12C4tCwmcHm18MHeRFa3sJQxKZVySHoRcEaJPGy/SDyA5HEYqImHh58zodbDtmZFUdZIyu7D1iEnKh8Za+vBIWyEA1DLXUjoygCr8/DMSakPvXhyK5w2CbpmMcn3Sy0qYsSg0DQahK1EQbarGKWga+iIWBKHBQEB+8yBYxFRbJRScJte9sRj/3kBvuJb0+Uj8gnysV4QfJH5BJkJzYuuY79dms8B35G3wABtmNVUHesM0AAAAASUVORK5CYII="},717:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHcSURBVHgB7ZY7TsNAEIb/8doSBYWPsGWEQPIRcB2l8AmAk0Q5CeQEKSLq5AiWQFEkGh8hJVJsD7N5YfyKncQ08DWO4/H+s+OZ2QH+GtTGeKK1i6trT4E0g/VmAbJWCadhsHyfowWNhCe923sbNBRrDwy3ZrGXNXjcxAmqF+xpG86z/LxHC7YOrEfBchnV2JTzenPjJamaiIHGCch7ESVJ0P9YhBXPy0VTVrO6sKbgkbla5hNUq6+sOPHLxAvCJrwKzuzYTgfLt827094d19mZnUvY/XzYrbyhA2d4anjLEK/2eZJ36Jtd9s7QgBjsm2tTe3HBH2Sy3c4+ckAPjGY0F9yzyYX5/u5HqEX0EV0hPWCiPbcgbMKMLpEKsa9iryCsiD10DCPVBWFmctECU077kmoubOmC8G9zECZQhI4h4lWJMEfoGGIKC8Lxpx2a3ooOyTaQg3AQhSv5+iE6whyV2ftccm1PnC6QiWVcKbwLxRwXxux2kJtKCuUUQz1J64xwOVE5FtWo5P8iFx0ESPn9RXh8EMiKnz36WCooEwVqOld/sQgTKF/CPkZreC7h9atEd44dZyonF4MexfgB1StJObIRGg3OHW8rnSDLY07d7QIUma5nGtCmF/xTwRd5x7nvBWqShgAAAABJRU5ErkJggg=="},6705:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHjSURBVHgB7VTN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7xd69VSJkPUxApOV6uhM/aWy7kg8WhxIdRwEM1jbZ9p4q+37WMSNEJF0aOLfzvzeWnpM/Y7noPk3D5j0UxKd9hbzo3RYV3sZelSEGcuEWqLPaJU6KQf/Z3ZrFepvL0vAGUmvsY6LivsXnhW7gBkOZuOf3p/0wAAAABJRU5ErkJggg=="},4312:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFpSURBVHgB7ZQ9TsNAEIXfxrYUCqQUSJSYzgU/4QbhAAGlpAJO4uQkxBWlJTgApqOMACFLNKZFSEAFkuMMY7kkXs9ig4Tkr/Q+z9vdeTtAS8svoWBI6G0NbCif/+yD0ONPEQHBQXw3NaljZHzp7fgAjUtKjYfx7QRNG1942ycsPtOraH8Y30cQ0IEQNj0WqHwIERszg0pF3vfGjRXeKjVF2Bo2JswEoghCDK6aKhNLUAGEiI2LtOrMaWLyli0YcP7yHB2trT8pEPdSuUXf6YaXTnljU/wHxAMkH5UOqUMej/lJv6VXcfjSRRaMHh8EIRQYh67bs7urISTvuCg4TZFORnGcVOg0pp7nWnCuVH5KA1ifpJ/W3iiZlb59baodOL6paU7eDmsl8ys2t5zQ7fMVZ6/4KZz4+Ye1WXbq8hN35+K5uxQen7amRkezMEBNFpoapcY2qV3UxILagKkxz91r1ISI3tHS8td8AYfIZkl4bGqcAAAAAElFTkSuQmCC"},5744:(e,t,n)=>{e.exports=n.p+"static/media/berry.712c34d1213e54459ec1.png"},8837:(e,t,n)=>{e.exports=n.p+"static/media/caramel.185cbb9e9b977ed0b46e.png"},949:(e,t,n)=>{e.exports=n.p+"static/media/caramelmachiato.59ed12184d638e4cfea6.png"},7781:(e,t,n)=>{e.exports=n.p+"static/media/choco.0098fa316d69d6019913.png"},7695:(e,t,n)=>{e.exports=n.p+"static/media/classic.a231755d98e61dd79294.png"},9223:(e,t,n)=>{e.exports=n.p+"static/media/epresso.23a5d805404d2bc47f2c.png"},5715:(e,t,n)=>{e.exports=n.p+"static/media/fchoco.31ac4b02cfa2ceffa1b6.png"},1530:(e,t,n)=>{e.exports=n.p+"static/media/hanhnhan.117bf4cc3d660a3d6e74.png"},5980:(e,t,n)=>{e.exports=n.p+"static/media/hatde.450a6d48c8b65b6fb31b.png"},6667:(e,t,n)=>{e.exports=n.p+"static/media/kemsua.c53630fdd71763d15715.png"},4183:(e,t,n)=>{e.exports=n.p+"static/media/latte.449c36f127419a05cf3f.png"},6985:(e,t,n)=>{e.exports=n.p+"static/media/mocha.5f3bd9c84079f6d82b7b.png"},3211:(e,t,n)=>{e.exports=n.p+"static/media/phindenda.88ef5d7b1caf909e1d56.png"},3489:(e,t,n)=>{e.exports=n.p+"static/media/phindennong.d0ba66ea841cd17b6276.png"},7513:(e,t,n)=>{e.exports=n.p+"static/media/phinsuada.5371749169e299a4ba1d.png"},8460:(e,t,n)=>{e.exports=n.p+"static/media/phinsuanong.20808eb140471074ba5c.png"},8661:(e,t,n)=>{e.exports=n.p+"static/media/traanhdao.31cd7ba4a45f66dfd519.png"},9871:(e,t,n)=>{e.exports=n.p+"static/media/trasen.6544dc4fb52b028f2ac6.png"},4744:(e,t,n)=>{e.exports=n.p+"static/media/trathachdao.30261b6431ad457e8b93.png"},9250:(e,t,n)=>{e.exports=n.p+"static/media/trathanhdao.41c408a6cb57a0df2681.png"},2846:(e,t,n)=>{e.exports=n.p+"static/media/travai.0e17999c44836b2e4aee.png"},7175:(e,t,n)=>{e.exports=n.p+"static/media/traxanh.1683687817b533690571.png"},4933:(e,t,n)=>{e.exports=n.p+"static/media/traxanhdaudo.426ccb087bc99c3b4ae1.png"},9055:(e,t,n)=>{e.exports=n.p+"static/media/sala2.a7ac42848af67e948808.png"},3155:(e,t,n)=>{e.exports=n.p+"static/media/sala3.b255784fdede3f33f6f6.png"},7763:(e,t,n)=>{e.exports=n.p+"static/media/sala4.e4484ee0bfe88aae42c6.png"},7429:(e,t,n)=>{e.exports=n.p+"static/media/wallet.eacbcdfee7fbd2db5d1e.png"}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var a=t[i]={exports:{}};return e[i].call(a.exports,a,a.exports,n),a.exports}n.m=e,(()=>{var e=[];n.O=(t,i,r,a)=>{if(!i){var o=1/0;for(d=0;d=a)&&Object.keys(n.O).every((e=>n.O[e](i[s])))?i.splice(s--,1):(l=!1,a0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[i,r,a]}})(),n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(i,r){if(1&r&&(i=this(i)),8&r)return i;if("object"===typeof i&&i){if(4&r&&i.__esModule)return i;if(16&r&&"function"===typeof i.then)return i}var a=Object.create(null);n.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var l=2&r&&i;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>o[e]=()=>i[e]));return o.default=()=>i,n.d(a,o),a}})(),n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/AppHighLand/",(()=>{var e={179:0};n.O.j=t=>0===e[t];var t=(t,i)=>{var r,a,[o,l,s]=i,c=0;if(o.some((t=>0!==e[t]))){for(r in l)n.o(l,r)&&(n.m[r]=l[r]);if(s)var d=s(n)}for(t&&t(i);cn(565)));i=n.O(i)})(); -//# sourceMappingURL=main.dbe3c6b9.js.map \ No newline at end of file +(()=>{"use strict";var e={6015:(e,t,n)=>{n.r(t),n.d(t,{default:()=>he});var i=n(2990),r=n(9573),o=n(8258),a=n(3985),s=n(9128),l=n(1296);const c=n.p+"static/media/background.2bc385f1e9d7fa1f9533.jpg";var d=n(7674),h=s.default.create({container:{flex:1,justifyContent:"center",alignItems:"center"},image:{flex:1,width:"100%",height:"100%"}});const g=function(e){var t=e.navigation;return(0,i.useEffect)((function(){var e=setTimeout((function(){t.replace("Login")}),2e3);return function(){return clearTimeout(e)}}),[t]),(0,d.jsx)(l.default,{style:h.container,children:(0,d.jsx)(a.default,{source:c,resizeMode:"cover",style:h.image})})};var u=n(5890),f=n(8688),p=n(1085),m=n(4359),x=n(9626);function A(){return(0,d.jsx)(l.default,{style:{flex:1,backgroundColor:"#FFFFFF"},children:(0,d.jsxs)(u.default,{style:{flex:1,backgroundColor:"#ffffff",paddingTop:1,paddingBottom:16},children:[(0,d.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"center",backgroundColor:"#ffffff",paddingVertical:16,paddingHorizontal:21,marginBottom:14,marginHorizontal:2},children:[(0,d.jsx)(f.default,{source:{account:m},resizeMode:"stretch",style:{width:53,height:34}}),(0,d.jsx)(l.default,{style:{flex:1,alignSelf:"stretch"}}),(0,d.jsx)(f.default,{source:{search:x},resizeMode:"stretch",style:{width:39,height:39}})]}),(0,d.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"center",marginBottom:2,marginHorizontal:21},children:[(0,d.jsx)(p.default,{style:{color:"#000000",fontSize:15,marginRight:4,flex:1},children:"\u0110ang di\u1ec5n ra"}),(0,d.jsx)(p.default,{style:{color:"#dddddd",fontSize:15},children:"L\u1ecbch s\u1eed \u0111\u1eb7t h\xe0ng"})]}),(0,d.jsx)(l.default,{style:{width:164,height:1,backgroundColor:"#aa0000",marginBottom:1}}),(0,d.jsx)(l.default,{style:{marginBottom:1},children:(0,d.jsx)(l.default,{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#eeeeee"},children:(0,d.jsx)(p.default,{style:{color:"#000000",fontSize:15,marginTop:359,marginLeft:152},children:"Kh\xf4ng c\xf3 d\u1eef li\u1ec7u"})})})]})})}var y=n(9675),b=n(5861),j=n(885),C=n(4714),S=n(2259),w=n(3273),T=n(5279),v=n(6115);const F=n.p+"static/media/banner.602e8d7e4e6e0d506796.jpg",B=n.p+"static/media/cb1.20496e592177639d1985.jpg",I=n.p+"static/media/cb2.35f0987e13b0eb08a826.jpg";var R=[{id:1,title:"C\xc0 PH\xca\nTRUY\u1ec0N TH\u1ed0NG",image:n(2415)},{id:2,title:"C\xc0 PH\xca\nPHA M\xc1Y",image:n(8237)},{id:3,title:"TR\xc0",image:n(8200)},{id:4,title:"PHINDI",image:n(7912)},{id:5,title:"\u0110\xc1 XAY",image:n(5843)},{id:6,title:"TH\u1ee8C U\u1ed0NG KH\xc1C",image:n(6333)},{id:7,title:"B\xc1NH NG\u1eccT",image:n(7355)},{id:8,title:"B\xc1NH M\xcc",image:n(3956)}],H=[n(8461),n(5394),n(1720)],L=5e3;C.default.OS;function D(e){var t=e.navigation,n=(0,i.useState)(1),r=(0,j.default)(n,2),o=r[0],s=r[1],c=(0,i.useState)(0),h=(0,j.default)(c,2),g=h[0],A=h[1],y=(0,i.useState)([]),C=(0,j.default)(y,2),R=C[0],D=C[1];(0,i.useEffect)((function(){P();var e=setInterval((function(){A((g+1)%H.length)}),L);return function(){clearInterval(e)}}),[g]);var P=function(){var e=(0,b.default)((function*(){try{var e=yield v.default.get("https://6562df38ee04015769a69d38.mockapi.io/categories");D(e.data)}catch(t){console.error("Error fetching data:",t)}}));return function(){return e.apply(this,arguments)}}();return(0,d.jsxs)(S.SafeAreaView,{style:{},children:[(0,d.jsxs)(l.default,{style:z.container,children:[(0,d.jsxs)(l.default,{style:z.containerHeader,children:[(0,d.jsx)(f.default,{source:m,style:z.styleAvatar}),(0,d.jsx)(f.default,{source:x,style:z.styleSearch})]}),(0,d.jsxs)(l.default,{style:z.account,children:[(0,d.jsxs)(a.default,{source:F,style:z.styleBanner,children:[(0,d.jsx)(p.default,{style:z.styleText1,children:"Nguy\u1ec5n Ch\xed C\u01b0\u1eddng"}),(0,d.jsx)(p.default,{style:z.styleText1,children:"TH\xc0NH VI\xcaN"})]}),(0,d.jsxs)(l.default,{style:z.containerViandDrips,children:[(0,d.jsxs)(l.default,{style:z.containerVi,children:[(0,d.jsx)(p.default,{style:z.styleText2,children:"Tr\u1ea3 tr\u01b0\u1edbc"}),(0,d.jsx)(p.default,{styles:z.styleText3,children:"0 \u0111"})]}),(0,d.jsx)(l.default,{style:{width:50}}),(0,d.jsxs)(l.default,{style:z.containerDrips,children:[(0,d.jsx)(p.default,{style:z.styleText2,children:"Drips"}),(0,d.jsx)(p.default,{styles:z.styleText3,children:"0 \u0111"})]})]})]})]}),(0,d.jsx)(l.default,{children:(0,d.jsx)(u.default,{children:(0,d.jsx)(w.default,{horizontal:!0,showsHorizontalScrollIndicator:!0,data:R,keyExtractor:function(e){return e.id.toString()},contentContainerStyle:z.flatListContainer,renderItem:function(e){var n=e.item,i=n.id===o;return(0,d.jsxs)(T.default,{onPress:function(){s(n.id),t.navigate("DatHang",{categoryId:n.id}),console.log({categoryId:n.id})},style:[z.itemContainer,{backgroundColor:"#FFFFFF",shadowColor:i?"#000":"transparent"}],children:[(0,d.jsx)(l.default,{style:z.imageContainer,children:(0,d.jsx)(f.default,{source:n.image,style:z.itemImage})}),(0,d.jsx)(l.default,{style:z.textContainer,children:(0,d.jsx)(p.default,{style:z.styleTextMenuItem,children:n.title})})]})}})})}),(0,d.jsx)(l.default,{children:(0,d.jsx)(a.default,{source:H[g],style:z.bannerImage})}),(0,d.jsxs)(l.default,{style:z.containerKm,children:[(0,d.jsxs)(l.default,{children:[(0,d.jsx)(f.default,{source:B,style:z.styleCombo}),(0,d.jsx)(p.default,{children:"T\u1eb6NG H\u1ed8I CH\u1eca EM"}),(0,d.jsx)(p.default,{children:"T\u1eeb 13/10-20/10"})]}),(0,d.jsxs)(l.default,{children:[(0,d.jsx)(f.default,{source:I,style:z.styleCombo}),(0,d.jsx)(p.default,{children:"B\xc1NH NGON 25K"}),(0,d.jsx)(p.default,{children:"T\u1eeb 16/10-18/10"})]})]})]})}var z=s.default.create({container:{flex:1,justifyContent:"center",alignItems:"center",width:"100%"},containerHeader:{flexDirection:"row"},styleAvatar:{width:50,height:50,marginLeft:10,marginTop:5},styleSearch:{width:40,height:40,marginLeft:290,marginTop:5},account:{width:428,height:250,backgroundColor:"#f0e2b1",marginTop:10,justifyContent:"center",alignItems:"center"},styleBanner:{width:380,height:150,borderRadius:10},styleText1:{color:"#FFFFFF",fontSize:12,fontWeight:"700",marginLeft:10,marginTop:10,fontFamily:"Arial"},styleText2:{color:"#666666",fontSize:12,fontWeight:"700",marginLeft:10,marginTop:10,fontFamily:"Arial"},styleText3:{color:"#440000",fontSize:12,fontWeight:"700",marginLeft:10,marginTop:10,fontFamily:"Arial"},containerViandDrips:{marginTop:20,flexDirection:"row",justifyContent:"space-between",paddingHorizontal:10},containerVi:{width:150,height:50,flexDirection:"column",backgroundColor:"#99CCFF",borderRadius:10,marginLeft:10},containerDrips:{width:150,height:50,flexDirection:"column",backgroundColor:"#CC99CC",borderRadius:10,marginRight:10},styleIcon:{width:20,height:20},iconWhite:{tintColor:"#FFFFFF"},flatListContainer:{flexDirection:"row",justifyContent:"space-between",paddingHorizontal:5},itemContainer:{flexDirection:"column",alignItems:"center",justifyContent:"center",alignContent:"center"},itemImage:{width:70,height:70,borderRadius:25},textContainer:{padding:0},imageContainer:{width:90,height:90,borderRadius:50,overflow:"hidden",flexDirection:"column",alignItems:"center",padding:4,backgroundColor:"#FFFAF0"},styleTextMenuItem:{color:"#8B4513",fontSize:12,fontWeight:"700",marginLeft:10,marginTop:10,fontFamily:"Arial"},bannerImage:{width:400,height:100,marginBottom:10,marginTop:10,borderRadius:10},styleCombo:{height:100,width:100},containerKm:{flexDirection:"row",marginLeft:10},combo:{flexDirection:"column",alignContent:"center",justifyContent:"center"}}),P=n(2982),k=n(8264),E=[{id:1,name:"Phin \u0110en \u0110\xe1",priceS:29e3,priceM:35e3,priceL:39e3,note:"Ly C\xe0 Ph\xea \u0111\u01b0\u1ee3c pha ho\xe0n to\xe0n t\u1eeb phin,th\xeam \u0111\u01b0\u1eddng \u0111\xe1 nh\u1eefng v\u1eabn c\u1ef1c \u0111\u1eadm v\u1ecb c\xe0 ph\xea",image:n(3211),categorie:1},{id:2,name:"Phin S\u1eefa \u0110\xe1",priceS:29e3,priceM:35e3,priceL:39e3,note:"Ly C\xe0 Ph\xea \u0111\u01b0\u1ee3c pha ho\xe0n to\xe0n t\u1eeb phin,th\xeam \u0111\u01b0\u1eddng \u0111\xe1 nh\u1eefng v\u1eabn c\u1ef1c \u0111\u1eadm v\u1ecb c\xe0 ph\xea",image:n(7513),categorie:1},{id:3,name:"Phin \u0110en N\xf3ng",priceS:29e3,priceM:35e3,priceL:39e3,note:"Ly C\xe0 Ph\xea \u0111\u01b0\u1ee3c pha ho\xe0n to\xe0n t\u1eeb phin,th\xeam \u0111\u01b0\u1eddng \u0111\xe1 nh\u1eefng v\u1eabn c\u1ef1c \u0111\u1eadm v\u1ecb c\xe0 ph\xea",image:n(3489),categorie:1},{id:4,name:"Phin S\u1eefa N\xf3ng",priceS:29e3,priceM:35e3,priceL:39e3,note:"Ly C\xe0 Ph\xea \u0111\u01b0\u1ee3c pha ho\xe0n to\xe0n t\u1eeb phin,th\xeam \u0111\u01b0\u1eddng \u0111\xe1 nh\u1eefng v\u1eabn c\u1ef1c \u0111\u1eadm v\u1ecb c\xe0 ph\xea",image:n(8460),categorie:1},{id:5,name:"Mocha N\xf3ng",priceS:69e3,priceM:79e3,priceL:85e3,note:"C\xe0 ph\xea \u1ea5m n\xf3ng c\xf9ng v\u1edbi s\u1ef1 h\xf2a quy\u1ec7n gi\u1eefa v\u1ecb \u0111\u1eafng c\xe0 ph\xea epresso v\xe0 s\u1ed1t socola, th\xeam ng\u1ecdt ng\xe0o t\u1eeb s\u1eefa t\u01b0\u01a1i v\xe0 ngh\u1ec7 thu\u1eadt t\u1ea1o h\xecnh trang tr\xed \u0111\u1eb3ng c\u1ea5p",image:n(6985),categorie:2},{id:6,name:"CaramelMachiato N\xf3ng",priceS:69e3,priceM:79e3,priceL:85e3,note:"C\xe0 ph\xea \u1ea5m n\xf3ng c\xf9ng v\u1edbi s\u1ef1 h\xf2a quy\u1ec7n gi\u1eefa v\u1ecb \u0111\u1eafng c\xe0 ph\xea epresso v\xe0 s\u1ed1t socola,th\xeam ng\u1ecdt ng\xe0o t\u1eeb s\u1eefa t\u01b0\u01a1i v\xe0 ngh\u1ec7 thu\u1eadt t\u1ea1o h\xecnh trang tr\xed \u0111\u1eb3ng c\u1ea5p",image:n(949),categorie:2},{id:7,name:"Latte N\xf3ng",priceS:65e3,priceM:75e3,priceL:79e3,note:"C\xe0 ph\xea \u1ea5m n\xf3ng c\xf9ng v\u1edbi s\u1ef1 h\xf2a quy\u1ec7n gi\u1eefa v\u1ecb \u0111\u1eafng c\xe0 ph\xea epresso v\xe0 s\u1ed1t socola,th\xeam ng\u1ecdt ng\xe0o t\u1eeb s\u1eefa t\u01b0\u01a1i v\xe0 ngh\u1ec7 thu\u1eadt t\u1ea1o h\xecnh trang tr\xed \u0111\u1eb3ng c\u1ea5p",image:n(4183),categorie:2},{id:8,name:"Epresso N\xf3ng",priceS:45e3,priceM:49e3,priceL:55e3,note:"C\xe0 ph\xea \u1ea5m n\xf3ng c\xf9ng v\u1edbi s\u1ef1 h\xf2a quy\u1ec7n gi\u1eefa v\u1ecb \u0111\u1eafng c\xe0 ph\xea epresso v\xe0 s\u1ed1t socola,th\xeam ng\u1ecdt ng\xe0o t\u1eeb s\u1eefa t\u01b0\u01a1i v\xe0 ngh\u1ec7 thu\u1eadt t\u1ea1o h\xecnh trang tr\xed \u0111\u1eb3ng c\u1ea5p",image:n(9223),categorie:2},{id:9,name:"Tr\xe0 Qu\u1ea3 M\u1ecdng Anh \u0110\xe0o",priceS:59e3,priceM:69e3,priceL:75e3,note:"Tr\xe0 th\u01a1m s\xe1nh \u0111\xf4i c\xf9ng qu\u1ea3 m\u1ecdng chua ng\u1ecdt, th\xeam \u0111\xe0i qu\u1ea3 ng\xe2m gi\xf2n gi\xf2n, s\u1eb5n s\xe0ng \u0111\xe1nh tan c\u01a1n kh\xe1t",image:n(8661),categorie:3},{id:10,name:"Tr\xe0 Sen V\xe0ng C\u1ee7 N\u0103ng",priceS:45e3,priceM:55e3,priceL:65e3,note:"T\u1eeb Olong k\u1ebft h\u1ee3p v\u1edbi h\u01b0\u01a1ng sen t\u01b0\u01a1i thanh m\xe1t, th\xeam c\u1ee7 n\u0103ng gi\xf2n ng\u1ecdt v\xe0 l\u1edbp kem m\u1ec1m m\u1ea1i",image:n(9871),categorie:3},{id:11,name:"Tr\xe0 Th\u1ea1ch \u0110\xe0o",priceS:45e3,priceM:55e3,priceL:65e3,note:"S\u1ef1 h\xf2a quy\u1ec7n gi\u1eefa h\u01b0\u01a1ng th\u01a1m \u0111\xe0o v\xe0 \u0111\u1ed9 b\xe9o c\u1ee7a s\u1eefa.Th\xeam ngon c\xf9ng topping th\u1ea1ch \u0111\xe0o v\xe0 mi\u1ebfng \u0111\xe0o dai gi\xf2n",image:n(4744),categorie:3},{id:12,name:"Tr\xe0 Thanh \u0110\xe0o",priceS:45e3,priceM:55e3,priceL:65e3,note:"S\u1ef1 h\xe0o quy\u1ec7n gi\u1eefa v\u1ecb tr\xe0 cao c\u1ea5p, nh\u1eefng mi\u1ebfng \u0111\xe0o ng\u1ecdt gi\xf2n th\xeam ch\xfat h\u01b0\u01a1ng thanh m\xe1t c\u1ee7a s\u1ea3, th\u1ecfa m\xe3n v\u1ecb gi\xe1c 100%",image:n(9250),categorie:3},{id:13,name:"Tr\xe0 Xanh \u0110\u1eadu \u0110\u1ecf",priceS:45e3,priceM:55e3,priceL:65e3,note:"V\u1ecb tr\xe0 xanh \u0111\u0103ng \u0111\u1eafng thanh m\xe1t,th\xeam \u0111\u1ed9 ng\u1ecdt v\u1eeba v\xe0 m\u1ec1m m\u1ea1i c\u1ee7a \u0111\u1eadu \u0111\u1ecf. Ngon ng\u1ecdt nh\u01b0ng kh\xf4ng ng\u1ea5y",image:n(4933),categorie:3},{id:14,name:"Tr\xe0 Th\u1ea1ch V\u1ea3i",priceS:45e3,priceM:55e3,priceL:65e3,note:"S\u1ef1 k\u1ebft h\u1ee3p gi\u1eefa qu\u1ea3 v\u1ea3i m\u1ecdng n\u01b0\u1edbc v\xe0 tr\xe0 \u0111en v\xe0 th\u1ea1ch v\u1ea3i th\u01a1m h\u01b0\u01a1ng v\u1ea3i",image:n(2846),categorie:3},{id:15,name:"PhinDi H\u1ea1t D\u1ebb C\u01b0\u1eddi",priceS:45e3,priceM:49e3,priceL:55e3,note:"C\xe0 ph\xea phin v\u1edbi \u0111\u1ed9 \u0111\u1eadm c\xe0 ph\xea v\u1eeba ph\u1ea3i, \u0111\u1eb7c bi\u1ec7t th\xeam h\u1ea1nh nh\xe2n b\xf9i b\xf9i, th\u01a1m ngon",image:n(5980),categorie:4},{id:16,name:"PhinDi Choco",priceS:45e3,priceM:49e3,priceL:55e3,note:"C\xe0 ph\xea phin v\u1edbi \u0111\u1ed9 \u0111\u1eadm c\xe0 ph\xea v\u1eeba ph\u1ea3i, \u0111\u1eb7c bi\u1ec7t th\xeam h\u1ea1nh nh\xe2n b\xf9i b\xf9i, th\u01a1m ngon",image:n(7781),categorie:4},{id:17,name:"PhinDi Kem S\u1eefa",priceS:45e3,priceM:49e3,priceL:55e3,note:"C\xe0 ph\xea phin v\u1edbi \u0111\u1ed9 \u0111\u1eadm c\xe0 ph\xea v\u1eeba ph\u1ea3i, \u0111\u1eb7c bi\u1ec7t th\xeam h\u1ea1nh nh\xe2n b\xf9i b\xf9i, th\u01a1m ngon",image:n(6667),categorie:4},{id:18,name:"PhinDi H\u1ea1nh Nh\xe2n",priceS:45e3,priceM:49e3,priceL:55e3,note:"C\xe0 ph\xea phin v\u1edbi \u0111\u1ed9 \u0111\u1eadm c\xe0 ph\xea v\u1eeba ph\u1ea3i, \u0111\u1eb7c bi\u1ec7t th\xeam h\u1ea1nh nh\xe2n b\xf9i b\xf9i, th\u01a1m ngon",image:n(1530),categorie:4},{id:19,name:"Frezee Qu\u1ea3 M\u1ecdng Anh \u0110\xe0o",priceS:45e3,priceM:49e3,priceL:55e3,note:"Kem b\xe9o h\xe0i h\xf2a c\xf9ng v\u1edbi s\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a v\u1ecb chua qu\u1ea3 m\u1ecdng",image:n(5744),categorie:5},{id:20,name:"Frezee Tr\xe0 Xanh",priceS:45e3,priceM:49e3,priceL:55e3,note:"Kem b\xe9o h\xe0i h\xf2a c\xf9ng v\u1edbi s\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a v\u1ecb chua qu\u1ea3 m\u1ecdng",image:n(7175),categorie:5},{id:21,name:"Caramel Phin Freeze",priceS:45e3,priceM:49e3,priceL:55e3,note:"Kem b\xe9o h\xe0i h\xf2a c\xf9ng v\u1edbi s\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a v\u1ecb chua qu\u1ea3 m\u1ecdng",image:n(8837),categorie:5},{id:22,name:"Frezee S\xf4 C\xf4 La",priceS:45e3,priceM:49e3,priceL:55e3,note:"Kem b\xe9o h\xe0i h\xf2a c\xf9ng v\u1edbi s\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a v\u1ecb chua qu\u1ea3 m\u1ecdng",image:n(5715),categorie:5},{id:23,name:"Classic Phin Freeze ",priceS:45e3,priceM:49e3,priceL:55e3,note:"Kem b\xe9o h\xe0i h\xf2a c\xf9ng v\u1edbi s\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a v\u1ecb chua qu\u1ea3 m\u1ecdng",image:n(7695),categorie:5}];function M(e){var t=e.route.params.item,n=(0,i.useState)(1),r=(0,j.default)(n,2),o=r[0],a=r[1],s=(0,i.useState)("S"),c=(0,j.default)(s,2),h=c[0],g=c[1],m=(0,i.useState)(t.priceS*o),x=(0,j.default)(m,2),A=x[0],y=x[1],b=function(e){g(e),C(e,o)},C=function(e,n){var i=0;"S"===e?i=t.priceS:"M"===e?i=t.priceM:"L"===e&&(i=t.priceL),y(i*n)};return(0,d.jsxs)(u.default,{style:N.container,children:[(0,d.jsx)(f.default,{source:t.image,style:N.productImage}),(0,d.jsxs)(l.default,{style:{backgroundColor:"#EEEEEE",borderRadius:20,width:"100%",height:"35%"},children:[(0,d.jsxs)(l.default,{style:{flexDirection:"row"},children:[(0,d.jsx)(p.default,{style:N.productName,children:t.name}),(0,d.jsx)(l.default,{style:{width:200}}),(0,d.jsxs)(p.default,{style:N.productPrice,children:[" ","S"===h?t.priceS:"M"===h?t.priceM:t.priceL,"\u0111"]})]}),(0,d.jsx)(p.default,{style:N.productNote,children:t.note}),(0,d.jsxs)(l.default,{style:N.sizeButtonsContainer,children:[(0,d.jsx)(T.default,{style:[N.sizeButton,{backgroundColor:"S"===h?"#AA0000":"#FFFFFF"}],onPress:function(){return b("S")},children:(0,d.jsx)(p.default,{style:{color:"S"===h?"#FFFFFF":"#000000"},children:"S"})}),(0,d.jsx)(T.default,{style:[N.sizeButton,{backgroundColor:"M"===h?"#AA0000":"#FFFFFF"}],onPress:function(){return b("M")},children:(0,d.jsx)(p.default,{style:{color:"M"===h?"#FFFFFF":"#000000"},children:"M"})}),(0,d.jsx)(T.default,{style:[N.sizeButton,{backgroundColor:"L"===h?"#AA0000":"#FFFFFF"}],onPress:function(){return b("L")},children:(0,d.jsx)(p.default,{style:{color:"L"===h?"#FFFFFF":"#000000"},children:"L"})})]}),(0,d.jsxs)(l.default,{style:{justifyContent:"center",alignItems:"center",alignContent:"flex-start"},children:[(0,d.jsx)(p.default,{children:"Ghi ch\xfa"}),(0,d.jsx)(k.default,{placeholder:"Ghi ch\xfa",style:{width:"80%",height:50,borderRadius:10,borderWidth:.5,borderColor:"#DDDDDD"}})]})]}),(0,d.jsxs)(l.default,{style:{flexDirection:"row",marginTop:20,flex:1},children:[(0,d.jsxs)(l.default,{style:N.quantityContainer,children:[(0,d.jsx)(l.default,{children:(0,d.jsx)(T.default,{onPress:function(){if(o>1){var e=o-1;a(e),C(h,e)}},style:{height:30,width:30,borderWidth:1,justifyContent:"center",alignItems:"center",alignContent:"center"},children:(0,d.jsx)(p.default,{style:N.quantityButton,children:"-"})})}),(0,d.jsx)(l.default,{style:{margin:10},children:(0,d.jsx)(p.default,{children:o})}),(0,d.jsx)(l.default,{children:(0,d.jsx)(T.default,{onPress:function(){var e=o+1;a(e),C(h,e)},style:{height:30,width:30,borderWidth:1,justifyContent:"center",alignItems:"center",alignContent:"center"},children:(0,d.jsx)(p.default,{style:N.quantityButton,children:"+"})})})]}),(0,d.jsx)(l.default,{style:{width:100}}),(0,d.jsx)(l.default,{style:{flex:5},children:(0,d.jsx)(T.default,{style:{borderRadius:15,backgroundColor:"#AA0000",alignContent:"center",alignItems:"center",justifyContent:"center",width:200,height:50},children:(0,d.jsx)(p.default,{style:{color:"#FFFFFF",textAlign:"center",fontWeight:700},children:`Th\xeam ${A}\u0111`})})})]})]})}var N={container:{flex:1,backgroundColor:"#FFFFFF"},sizePickerContainer:{margin:10,borderBottomWidth:1,borderBottomColor:"#ddd"},sizePicker:{height:40},productImage:{width:200,height:400,alignSelf:"center"},productName:{fontSize:20,fontWeight:"bold",margin:10,textAlign:"center"},productNote:{fontSize:16,color:"#888",textAlign:"center"},productPrice:{fontSize:18,color:"#AA0000",fontWeight:"bold",textAlign:"center"},productSize:{fontSize:16,margin:10,textAlign:"center"},quantityContainer:{flexDirection:"row",alignItems:"center",justifyContent:"center",flex:5},quantityButton:{width:30,height:30,borderWidth:1,justifyContent:"center",alignItems:"center"},quantityInput:{fontSize:5,textAlign:"center"},sizeButtonsContainer:{flexDirection:"row",justifyContent:"space-around",margin:10,marginTop:20},sizeButton:{width:80,height:50,borderRadius:5,justifyContent:"center",alignItems:"center"},quantityContainer:{flexDirection:"row",alignItems:"center",justifyContent:"center",margin:10},quantityButton:{fontSize:24},quantityInput:{fontSize:20,marginHorizontal:20}};function O(e){var t=e.navigation,n=e.route,r=(0,i.useState)([]),o=(0,j.default)(r,2),a=(o[0],o[1]),s=(0,i.useState)(n.params?n.params.categoryId:1),c=(0,j.default)(s,2),h=c[0],g=c[1],m=(0,i.useState)(""),A=(0,j.default)(m,2),y=A[0],C=A[1],S=(0,i.useState)(null),F=(0,j.default)(S,2),B=(F[0],F[1],(0,i.useState)(Date.now().toString())),I=(0,j.default)(B,2),H=I[0],L=(I[1],(0,i.useState)([])),D=(0,j.default)(L,2),z=D[0],M=D[1];console.log(h),console.log("sp sau lock>>:",z),(0,i.useEffect)((function(){var e=E.filter((function(e){return(null==h||e.categorie==h)&&(""==y||e.name.toLowerCase().includes(y.toLowerCase()))}));console.log("sp sau lock efect>>:",e),M((0,P.default)(e)),console.log("sp root>>:",E)}),[h]);!function(){var e=(0,b.default)((function*(){try{var e=yield v.default.get("https://6562df38ee04015769a69d38.mockapi.io/categories");a(e.data)}catch(t){console.error("Error fetching data:",t)}}))}();return(0,d.jsxs)(l.default,{style:V.scrollContainer,children:[(0,d.jsx)(l.default,{style:V.searchContainer,children:(0,d.jsxs)(l.default,{style:V.searchBar,children:[(0,d.jsx)(k.default,{style:V.searchInput,placeholder:"T\xecm ki\u1ebfm t\xean m\xf3n \u0103n",value:y,onChangeText:function(e){return C(e)}}),(0,d.jsx)(f.default,{source:x,resizeMode:"stretch",style:V.searchIcon})]})}),(0,d.jsx)(l.default,{style:V.categoryListContainer,children:(0,d.jsx)(w.default,{horizontal:!0,showsHorizontalScrollIndicator:!1,data:R,keyExtractor:function(e){return e.id.toString()},renderItem:function(e){var t=e.item;t.id;return(0,d.jsxs)(T.default,{onPress:function(){return g(t.id)},style:[V.categoryItem,{shadowColor:h===t.id?"#AA0000":"#000000"}],children:[(0,d.jsx)(f.default,{source:t.image,style:V.categoryImage}),(0,d.jsx)(p.default,{style:{textAlign:"center",color:h===t.id?"#AA0000":"#000000"},children:t.title})]})}},H)}),(0,d.jsx)(u.default,{style:V.container,children:(0,d.jsx)(l.default,{style:V.product,children:(0,d.jsx)(w.default,{horizontal:!1,showsHorizontalScrollIndicator:!1,data:z,keyExtractor:function(e){return e.id.toString()},renderItem:function(e){var n=e.item;return(0,d.jsx)(T.default,{onPress:function(){return t.navigate("ProductDetail",{item:n})},children:(0,d.jsxs)(l.default,{style:V.productContainer,children:[(0,d.jsx)(l.default,{style:{flex:3},children:(0,d.jsx)(f.default,{source:n.image,style:V.productImage})}),(0,d.jsxs)(l.default,{style:{flex:5},children:[(0,d.jsx)(p.default,{style:V.productName,children:n.name}),(0,d.jsx)(p.default,{style:V.productNote,children:n.note})]}),(0,d.jsx)(l.default,{style:{flex:2},children:(0,d.jsxs)(p.default,{style:V.productPrice,children:[n.priceS,"\u0111"]})})]},n.id)})}},h)})})]})}var V={container:{flex:1,backgroundColor:"#FFFFFF"},container2:{flexDirection:"row",backgroundColor:"#FFFFFF"},scrollContainer:{flex:1,backgroundColor:"#ffffff"},searchContainer:{backgroundColor:"#ffffff",paddingTop:20,paddingHorizontal:18},searchBar:{flexDirection:"row",alignItems:"center",backgroundColor:"#f8f8ff",borderRadius:10,height:40,marginBottom:15},searchInput:{color:"#dddddd",fontSize:15,marginRight:4,flex:1,height:40},searchIcon:{width:19,height:20},categoryListContainer:{paddingHorizontal:18},categoryItem:{backgroundColor:"#FFFFFF",shadowColor:"transparent",marginRight:5,borderRadius:10,alignItems:"center"},categoryImage:{width:80,height:80,marginBottom:5},categoryText:{textAlign:"center"},productImage:{width:100,height:100},productName:{fontSize:16,fontWeight:"bold",marginTop:8},productPrice:{fontSize:14,color:"#AA0000",fontWeight:700},productNote:{fontSize:12,color:"#888"},productContainer:{flexDirection:"row",flex:1,borderWidth:1,borderColor:"#ddd",padding:10},product:{marginTop:0}},Q=n(7223),K=n(8487),W=n(9744);const U=function(){return(0,d.jsxs)(l.default,{style:Y.container,children:[(0,d.jsx)(K.default,{mode:"outlined",icon:"chevron-down",textColor:"#fff",style:{borderColor:"#fff",width:145,alignSelf:"flex-end",marginTop:26,marginRight:20},contentStyle:{flexDirection:"row-reverse",width:126,height:34},labelStyle:{fontSize:13},children:"Ti\u1ebfng Vi\u1ec7t"}),(0,d.jsxs)(l.default,{style:{flexDirection:"row",marginTop:20,justifyContent:"space-between",paddingHorizontal:20},children:[(0,d.jsx)(f.default,{source:n(4359),style:{width:90,height:90}}),(0,d.jsxs)(l.default,{children:[(0,d.jsx)(p.default,{style:{fontSize:16,color:"#fff"},children:"Nguy\u1ec5n Ch\xed C\u01b0\u1eddng | TH\xc0NH VI\xcaN"}),(0,d.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"center",marginVertical:4},children:[(0,d.jsx)(f.default,{source:n(7620),style:{width:25,height:25}}),(0,d.jsx)(p.default,{style:{color:"#fff",fontSize:16,marginLeft:4},children:"DRIPS: 0"})]}),(0,d.jsxs)(l.default,{style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},children:[(0,d.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"center"},children:[(0,d.jsx)(f.default,{source:n(7429),style:{width:25,height:25}}),(0,d.jsx)(p.default,{style:{color:"#fff",fontSize:16,marginLeft:4},children:"Tr\u1ea3 tr\u01b0\u1edbc: 0 \u0111"})]}),(0,d.jsx)(K.default,{mode:"contained",textColor:"#B3282D",style:{backgroundColor:"#E0D7BF"},contentStyle:{width:90,height:25},labelStyle:{fontSize:13,margin:0},children:"K\xcdCH HO\u1ea0T"})]})]})]}),(0,d.jsx)(l.default,{style:Y.body,children:(0,d.jsxs)(u.default,{children:[(0,d.jsxs)(l.default,{children:[(0,d.jsxs)(l.default,{style:{marginTop:24},children:[(0,d.jsx)(p.default,{style:Y.sectionHeader,children:"T\xe0i Kho\u1ea3n"}),(0,d.jsxs)(l.default,{style:{paddingHorizontal:15,paddingVertical:8},children:[(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderTopLeftRadius:10,borderTopRightRadius:10,borderBottomWidth:1,borderColor:"#E0D7BF"}],children:[(0,d.jsx)(f.default,{source:n(4312),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"H\u1ed3 S\u01a1"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]}),(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderBottomLeftRadius:10,borderBottomRightRadius:10}],children:[(0,d.jsx)(f.default,{source:n(3361),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"C\xe0i \u0110\u1eb7t"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]})]})]}),(0,d.jsxs)(l.default,{style:{marginTop:24},children:[(0,d.jsx)(p.default,{style:Y.sectionHeader,children:"T\u01b0\u01a1ng T\xe1c"}),(0,d.jsx)(l.default,{style:{paddingHorizontal:15,paddingVertical:8},children:(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderRadius:10}],children:[(0,d.jsx)(f.default,{source:n(6414),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"Ho\u1ea1t \u0110\u1ed9ng"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]})})]}),(0,d.jsxs)(l.default,{style:{marginTop:24},children:[(0,d.jsx)(p.default,{style:Y.sectionHeader,children:"Th\xf4ng Tin Chung"}),(0,d.jsxs)(l.default,{style:{paddingHorizontal:15,paddingVertical:8},children:[(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderTopLeftRadius:10,borderTopRightRadius:10,borderBottomWidth:1,borderColor:"#E0D7BF"}],children:[(0,d.jsx)(f.default,{source:n(1710),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"Ch\xednh s\xe1ch/Policies"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]}),(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderBottomWidth:1,borderColor:"#E0D7BF"}],children:[(0,d.jsx)(f.default,{source:n(1710),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"CT Th\xe0nh Vi\xean/Loalty"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]}),(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderBottomLeftRadius:10,borderBottomRightRadius:10}],children:[(0,d.jsx)(f.default,{source:n(717),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"Gi\u1edbi Thi\u1ec7u V\u1ec1 Phi\xean B\u1ea3n \u1ee8ng D\u1ee5ng"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]})]})]}),(0,d.jsxs)(l.default,{style:{marginTop:24},children:[(0,d.jsx)(p.default,{style:Y.sectionHeader,children:"Trung T\xe2m Tr\u1ee3 Gi\xfap"}),(0,d.jsxs)(l.default,{style:{paddingHorizontal:15,paddingVertical:8},children:[(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderTopLeftRadius:10,borderTopRightRadius:10,borderBottomWidth:1,borderColor:"#E0D7BF"}],children:[(0,d.jsx)(f.default,{source:n(6705),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"C\xe2u H\u1ecfi Th\u01b0\u1eddng G\u1eb7p"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]}),(0,d.jsxs)(Q.default,{style:[Y.sectionItemContainer,{borderBottomLeftRadius:10,borderBottomRightRadius:10}],children:[(0,d.jsx)(f.default,{source:n(5701),style:{width:24,height:24,marginLeft:10,marginRight:18}}),(0,d.jsx)(p.default,{style:{marginRight:"auto"},children:"Ph\u1ea3n H\u1ed3i & H\u1ed7 Tr\u1ee3"}),(0,d.jsx)(W.default,{source:"chevron-right",size:20,color:"#000"})]})]})]})]}),(0,d.jsx)(K.default,{mode:"contained",style:{marginHorizontal:15,marginTop:4,marginBottom:16,backgroundColor:"#B3282D"},children:"\u0110\u0103ng xu\u1ea5t"})]})})]})};var Y=s.default.create({container:{flex:1,backgroundColor:"#B3282D"},body:{flex:1,backgroundColor:"rgb(215, 207, 207)",marginTop:"auto",borderTopLeftRadius:15,borderTopRightRadius:15,paddingTop:8},sectionHeader:{fontSize:24,fontWeight:"700",padding:5,paddingLeft:10,color:"#311111"},sectionItemContainer:{flexDirection:"row",alignItems:"center",backgroundColor:"#fff",height:44,fontSize:14,paddingRight:10}}),G=[{image:n(9055),name:"Sala 2",address:"125 Nguy\u1ec5n C\u01a1 Th\u1ea1ch\n Ph\u01b0\u1eddng An L\u1ee3i \u0110\xf4ng Qu\u1eadn 2",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 23:00"},{image:n(3155),name:"Sarica Sala",address:"No 06, D9 streeet\n Ph\u01b0\u1eddng An L\u1ee3i \u0110\xf4ng Qu\u1eadn 2",phone:"(028) 3740 7777",isOpen:!0,time:"07:00 - 23:00"},{image:n(7763),name:"ViVo HCM",address:"1058 Nguy\u1ec5n V\u0103n Linh\n Ph\u01b0\u1eddng T\xe2n Phong Qu\u1eadn 7",phone:"(028) 3740 8888",isOpen:!1,time:"07:00 - 23:00"},{image:n(9055),name:"AQ",address:"39 \u0110\u01b0\u1eddng M\u1ea1c \u0110\u0129nh Chi\n Ph\u01b0\u1eddng \u0110a Kao Qu\u1eadn 1",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 23:00"},{image:n(3155),name:"Vincom Thao Dien",address:"159 Xa L\u1ed9 H\xe0 N\u1ed9i\n Ph\u01b0\u1eddng Th\u1ea3o \u0110i\u1ec1n Qu\u1eadn 2",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 22:00"},{image:n(9055),name:"La Kai HCM",address:"98 Nguy\u1ec5n C\u01a1 Th\u1ea1ch\n Ph\u01b0\u1eddng An L\u1ee3i \u0110\xf4ng Qu\u1eadn 2",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 23:00"},{image:n(3155),name:"Tung Thien Vuong-HCM",address:"312 - 314 V\xf5 V\u0103n Ki\u1ec7t\n Ph\u01b0\u1eddng C\xf4 Giang Qu\u1eadn 1",phone:"(028) 3740 6666",isOpen:!1,time:"07:00 - 23:00"},{image:n(7763),name:"Big C An Lac",address:"1231 Qu\u1ed1c L\u1ed9 1A\n Ph\u01b0\u1eddng B\xecnh H\u01b0ng H\xf2a Qu\u1eadn B\xecnh T\xe2n",phone:"(028) 3740 6666",isOpen:!0,time:"09:00 - 22:00"},{image:n(3155),name:"Hoang Dieu 2 Thu Duc",address:"142, Ho\xe0ng Di\u1ec7u 2 \n Ph\u01b0\u1eddng Linh Chi\u1ec3u Qu\u1eadn Th\u1ee7 \u0110\u1ee9c",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 23:00"},{image:n(3155),name:"Viettel CMT8",address:"285 C\xe1ch M\u1ea1ng Th\xe1ng 8\n Ph\u01b0\u1eddng 12 Qu\u1eadn 10",phone:"(028) 3740 6666",isOpen:!0,time:"07:00 - 23:00"}],X=n(5918);const J=function(e){var t=e.item;return(0,d.jsxs)(l.default,{style:{flexDirection:"row",backgroundColor:"#fff",padding:8,borderRadius:6},children:[(0,d.jsx)(f.default,{style:{width:120,height:120},source:t.image}),(0,d.jsxs)(l.default,{style:{paddingLeft:8},children:[(0,d.jsx)(p.default,{style:{fontSize:17,fontWeight:"700",marginBottom:4},children:t.name}),(0,d.jsx)(p.default,{style:{fontSize:14,color:"#777"},children:t.address}),(0,d.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"center"},children:[(0,d.jsx)(X.default,{icon:"phone-outline",size:16,iconColor:"#777",style:{padding:0,margin:0}}),(0,d.jsx)(p.default,{style:{color:"#777"},children:t.phone})]}),(0,d.jsxs)(l.default,{style:{flexDirection:"row",alignItems:"center",marginTop:"auto"},children:[(0,d.jsx)(p.default,{style:[q.stateItem,t.isOpen?q.openState:q.closeState],children:t.isOpen?"M\u1edf":"\u0110\xf3ng"}),(0,d.jsx)(p.default,{style:{marginLeft:4,color:"#777"},children:t.time})]})]})]})};var q=s.default.create({container:{flex:1},stateItem:{paddingHorizontal:8,paddingVertical:2,fontSize:14,color:"#fff",borderRadius:50},openState:{backgroundColor:"#3FB644"},closeState:{backgroundColor:"#999"}});const Z=function(){return(0,d.jsxs)(l.default,{style:_.container,children:[(0,d.jsxs)(l.default,{style:{flexDirection:"row",justifyContent:"space-between",paddingHorizontal:12,height:76,alignItems:"center",backgroundColor:"#fff"},children:[(0,d.jsx)(f.default,{style:{width:40,height:40},source:n(4359)}),(0,d.jsx)(f.default,{style:{width:26,height:26},source:n(9626)})]}),(0,d.jsxs)(l.default,{style:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingHorizontal:12,paddingVertical:20},children:[(0,d.jsxs)(l.default,{style:{flexDirection:"row",position:"relative",flex:1},children:[(0,d.jsx)(k.default,{placeholder:"T\xecm \u0111\u1ecba ch\u1ec9",style:{backgroundColor:"#fff",color:"#777",borderRadius:50,width:"100%",paddingVertical:6,paddingLeft:12,outline:"none"}}),(0,d.jsx)(f.default,{style:{width:16,height:16,position:"absolute",top:"50%",right:8,transform:"translateY(-50%)"},source:n(9626)})]}),(0,d.jsx)(f.default,{style:{width:22,height:22,marginHorizontal:12},source:n(4742)}),(0,d.jsx)(p.default,{children:"B\u1ea2N \u0110\u1ed2"})]}),(0,d.jsx)(S.SafeAreaView,{style:{paddingHorizontal:12,flex:1},children:(0,d.jsx)(u.default,{children:(0,d.jsx)(w.default,{data:G,renderItem:function(e){var t=e.item;return(0,d.jsx)(J,{item:t})},ItemSeparatorComponent:function(){return(0,d.jsx)(l.default,{style:{height:8}})}})})})]})};var _=s.default.create({container:{flex:1},stateItem:{paddingHorizontal:8,paddingVertical:2,fontSize:14,color:"#fff",borderRadius:50},openState:{backgroundColor:"#3FB644"},closeState:{backgroundColor:"#999"}}),$=(0,y.default)();function ee(e){e.route;return(0,d.jsxs)($.Navigator,{tabBarOptions:{tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000"},children:[(0,d.jsx)($.Screen,{name:"Trang ch\u1ee7",component:D,options:function(e){var t=e.route;return{tabBarIcon:function(e){e.color,e.size;return(0,d.jsx)(f.default,{source:(t.state&&t.state.index,n(2858)),style:{width:50,height:50,tintColor:"#AA0000"}})},tabBarLabelStyle:{fontSize:12,marginTop:5,fontStyle:"Regular",fontFamily:"Roboto"},tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000",headerShown:!1}}}),(0,d.jsx)($.Screen,{name:"\u0110\u1eb7t h\xe0ng",component:O,options:function(e){e.route;return{tabBarIcon:function(e){e.color,e.size;return(0,d.jsx)(f.default,{source:n(5375),style:{width:30,height:30}})},headerShown:!1,tabBarLabelStyle:{fontSize:12,marginTop:5,fontStyle:"Regular",fontFamily:"Roboto"},tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000"}}}),(0,d.jsx)($.Screen,{name:"Ho\u1ea1t \u0111\u1ed9ng",component:A,options:function(e){e.route;return{tabBarIcon:function(e){e.color,e.size;return(0,d.jsx)(f.default,{source:n(3217),style:{width:30,height:30}})},headerShown:!1,tabBarLabelStyle:{fontSize:12,marginTop:5,fontStyle:"Regular",fontFamily:"Roboto"},tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000"}}}),(0,d.jsx)($.Screen,{name:"C\u1eeda h\xe0ng",component:Z,options:function(e){e.route;return{tabBarIcon:function(e){e.color,e.size;return(0,d.jsx)(f.default,{source:n(207),style:{width:30,height:30}})},headerShown:!1,tabBarLabelStyle:{fontSize:12,marginTop:5,fontStyle:"Regular",fontFamily:"Roboto"},tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000"}}}),(0,d.jsx)($.Screen,{name:"Kh\xe1c",component:U,options:function(e){e.route;return{tabBarIcon:function(e){e.color,e.size;return(0,d.jsx)(f.default,{source:n(5728),style:{width:30,height:30}})},headerShown:!1,tabBarLabelStyle:{fontSize:12,marginTop:5,fontStyle:"Regular",fontFamily:"Roboto"},tabBarActiveTintColor:"#AA0000",tabBarInactiveTintColor:"#000000"}}})]})}var te=n(7909);const ne=n.p+"static/media/logo.da664c3ad2c59ddd7f97.png",ie=n.p+"static/media/apple.06651be94d357ceb0537.png",re=n.p+"static/media/fb.5c9294366b9bc4df10c9.png",oe=n.p+"static/media/google.3c06af15d0f7e34f9cc5.png";(function(){var e=(0,b.default)((function*(e){try{var t=JSON.stringify({to:e,channel:"sms"}),n=yield fetch("https://highlandcoffee-7822.twil.io/start-verify",{method:"POST",headers:{"Content-Type":"application/json"},body:t});return(yield n.json()).success}catch(i){return console.error(i),!1}}))})(),function(){var e=(0,b.default)((function*(e,t){try{var n=JSON.stringify({to:e,code:t}),i=yield fetch("https://highlandcoffee-7822.twil.io/check-verify",{method:"POST",headers:{"Content-Type":"application/json"},body:n});return(yield i.json()).success}catch(r){return console.error(r),!1}}))}();var ae=s.default.create({container:{flex:1,justifyContent:"center",alignItems:"center",backgroundColor:"#f0e2b1",width:"100%",height:"100%"},styleText:{color:"#4c2f16",fontSize:30,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"700"},logo:{width:200,height:200},containerText:{marginTop:10,marginBottom:50,justifyContent:"center",alignContent:"center",alignItems:"center"},buttonTiepTuc:{backgroundColor:"#DDDDDD",width:350,height:50,alignItems:"center",justifyContent:"center",borderRadius:5,marginTop:20},imageFooter:{width:50,height:50},containerFotter:{flexDirection:"row",marginTop:10},google:{marginTop:5},fb:{marginLeft:10},textFooter:{fontFamily:"Roboto",fontSize:15,fontWeight:"700",color:"#AA0000"},footer:{marginTop:20},footer2:{flexDirection:"row",marginTop:150},otpInput:{height:40,borderColor:"gray",borderWidth:1,marginVertical:10,paddingHorizontal:10},button:{backgroundColor:"#DDDDDD",width:350,height:50,alignItems:"center",justifyContent:"center",borderRadius:5,marginTop:20},buttonText:{fontSize:16,fontWeight:"bold"}});const se=function(e){var t=e.navigation,n=(0,i.useState)(""),r=(0,j.default)(n,2),o=r[0],a=r[1],s=(0,i.useState)(""),c=(0,j.default)(s,2),h=c[0],g=c[1],u=(0,i.useState)("110402"),m=(0,j.default)(u,2),x=(m[0],m[1]),A=(0,i.useState)(""),y=(0,j.default)(A,2),b=(y[0],y[1],(0,i.useState)(!1)),C=(0,j.default)(b,2),S=(C[0],C[1]),w=(0,i.useRef)(null);return(0,d.jsxs)(l.default,{style:ae.container,children:[(0,d.jsx)(l.default,{children:(0,d.jsx)(f.default,{source:ne,style:ae.logo})}),(0,d.jsx)(l.default,{style:ae.containerText,children:(0,d.jsx)(p.default,{style:ae.styleText,children:"B\u1eaft \u0111\u1ea7u cu\u1ed9c h\xe0nh tr\xecnh c\u1ee7a b\u1ea1n"})}),(0,d.jsx)(te.default,{ref:w,defaultValue:o,defaultCode:"VN",layout:"first",onChangeText:function(e){return a(e)},onChangeFormattedText:function(e){return g(e)},countryPickerProps:{withAlphaFilter:!0},withShadow:!0,autoFocus:!0,onPressFlag:function(){w.current.selectCountry()}}),(0,d.jsx)(T.default,{style:ae.buttonTiepTuc,onPress:function(){fetch("https://hc-5776.twil.io/sendsms",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({to:h})}).then((function(e){return e.json()})).then((function(e){console.log(e.otp),x(e.otp),S(!0)})).catch((function(e){console.error(e)}))},setShowOTPInput:!0,children:(0,d.jsx)(p.default,{style:ae.buttonText,children:"G\u1eedi m\xe3"})}),(0,d.jsx)(T.default,{style:ae.buttonTiepTuc,onPress:function(){return t.navigate("Otp")},children:(0,d.jsx)(p.default,{children:"Ti\u1ebfp t\u1ee5c x\xe1c nh\u1eadn OTP"})}),(0,d.jsxs)(l.default,{style:ae.containerFotter,children:[(0,d.jsx)(f.default,{source:ie,style:ae.imageFooter}),(0,d.jsx)(l.default,{style:ae.fb,children:(0,d.jsx)(f.default,{source:re,style:ae.imageFooter})}),(0,d.jsx)(l.default,{style:ae.google,children:(0,d.jsx)(f.default,{source:oe,style:ae.imageFooter})})]}),(0,d.jsx)(l.default,{style:ae.footer,children:(0,d.jsx)(T.default,{onPress:function(){return t.navigate("MainApp")},children:(0,d.jsx)(p.default,{style:ae.textFooter,children:"TI\u1ebeP T\u1ee4C NH\u01af KH\xc1CH"})})}),(0,d.jsxs)(l.default,{style:ae.footer2,children:[(0,d.jsx)(p.default,{children:"B\u1ea1n \u0111\xe3 c\xf3 t\xe0i kho\u1ea3n?"}),(0,d.jsx)(p.default,{style:{color:"#AA0000",fontWeight:700},children:" \u0110\u0103ng nh\u1eadp"})]})]})};var le=s.default.create({container:{flex:1,justifyContent:"center",alignItems:"center",backgroundColor:"#f0e2b1",width:"100%",height:"100%"},styleText:{color:"#4c2f16",fontSize:30,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"700"},logo:{width:200,height:200},containerText:{marginTop:10,marginBottom:50,justifyContent:"center",alignContent:"center",alignItems:"center"},buttonTiepTuc:{backgroundColor:"#DDDDDD",width:350,height:50,alignItems:"center",justifyContent:"center",borderRadius:5,marginTop:20},imageFooter:{width:50,height:50},containerFotter:{flexDirection:"row",marginTop:10},google:{marginTop:5},fb:{marginLeft:10},textFooter:{fontFamily:"Roboto",fontSize:15,fontWeight:"700",color:"#AA0000"},footer:{marginTop:20},footer2:{flexDirection:"row",marginTop:150},otpInput:{height:40,borderColor:"gray",borderWidth:1,marginVertical:10,paddingHorizontal:10},button:{backgroundColor:"#DDDDDD",width:350,height:50,alignItems:"center",justifyContent:"center",borderRadius:5,marginTop:20},buttonText:{fontSize:16,fontWeight:"bold"}});const ce=function(e){var t=e.navigation,n=(0,i.useState)(""),r=(0,j.default)(n,2),o=(r[0],r[1],(0,i.useState)("")),a=(0,j.default)(o,2),s=(a[0],a[1],(0,i.useState)("110402")),c=(0,j.default)(s,2),h=(c[0],c[1],(0,i.useState)("")),g=(0,j.default)(h,2),u=g[0],m=g[1],x=(0,i.useState)(!1),A=(0,j.default)(x,2);A[0],A[1],(0,i.useRef)(null);return(0,d.jsxs)(l.default,{style:le.container,children:[(0,d.jsx)(l.default,{children:(0,d.jsx)(f.default,{source:ne,style:le.logo})}),(0,d.jsx)(l.default,{style:le.containerText,children:(0,d.jsx)(p.default,{style:le.styleText,children:"B\u1eaft \u0111\u1ea7u cu\u1ed9c h\xe0nh tr\xecnh c\u1ee7a b\u1ea1n"})}),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(k.default,{style:le.otpInput,placeholder:"Nh\u1eadp m\xe3 OTP",keyboardType:"numeric",onChangeText:function(e){return m(e)},value:u}),(0,d.jsx)(T.default,{style:le.button,onPress:function(){return t.navigate("MainApp")},children:(0,d.jsx)(p.default,{style:le.buttonText,children:"X\xe1c nh\u1eadn OTP"})})]}),(0,d.jsxs)(l.default,{style:le.containerFotter,children:[(0,d.jsx)(f.default,{source:ie,style:le.imageFooter}),(0,d.jsx)(l.default,{style:le.fb,children:(0,d.jsx)(f.default,{source:re,style:le.imageFooter})}),(0,d.jsx)(l.default,{style:le.google,children:(0,d.jsx)(f.default,{source:oe,style:le.imageFooter})})]}),(0,d.jsx)(l.default,{style:le.footer,children:(0,d.jsx)(T.default,{onPress:function(){return t.navigate("MainApp")},children:(0,d.jsx)(p.default,{style:le.textFooter,children:"TI\u1ebeP T\u1ee4C NH\u01af KH\xc1CH"})})}),(0,d.jsxs)(l.default,{style:le.footer2,children:[(0,d.jsx)(p.default,{children:"B\u1ea1n \u0111\xe3 c\xf3 t\xe0i kho\u1ea3n?"}),(0,d.jsx)(p.default,{style:{color:"#AA0000",fontWeight:700},children:" \u0110\u0103ng nh\u1eadp"})]})]})};var de=(0,o.default)();function he(){return(0,d.jsx)(r.default,{children:(0,d.jsxs)(de.Navigator,{initialRouteName:"Home",children:[(0,d.jsx)(de.Screen,{name:"Login",component:se,options:{headerShown:!1}}),(0,d.jsx)(de.Screen,{name:"HomeScreen",component:g,options:{headerShown:!1}}),(0,d.jsx)(de.Screen,{name:"MainApp",component:ee,options:{headerShown:!1}}),(0,d.jsx)(de.Screen,{name:"HoatDong",component:A,options:{headerShown:!1}}),(0,d.jsx)(de.Screen,{name:"DatHang",component:O,options:{headerShown:!1}}),(0,d.jsx)(de.Screen,{name:"ProductDetail",component:M,options:{headerShown:!1}}),(0,d.jsx)(de.Screen,{name:"Other",component:U,options:{headerShown:!1}}),(0,d.jsx)(de.Screen,{name:"Otp",component:ce,options:{headerShown:!1}})]})})}},4359:(e,t,n)=>{e.exports=n.p+"static/media/av.98d541cf9cfdc591859a.png"},8461:(e,t,n)=>{e.exports=n.p+"static/media/banner1.d2c1b45974c1de1d2f8f.jpg"},5394:(e,t,n)=>{e.exports=n.p+"static/media/banner2.b7328054a64140a331b6.jpg"},1720:(e,t,n)=>{e.exports=n.p+"static/media/banner3.a0b62d3ad3800ac79bc5.jpg"},3956:(e,t,n)=>{e.exports=n.p+"static/media/banhmi.6b4734270c68a5970078.png"},7355:(e,t,n)=>{e.exports=n.p+"static/media/banhngot.d96f731a04e50babfb8e.png"},8237:(e,t,n)=>{e.exports=n.p+"static/media/cfmay.539bc0f45a9d85aaeb06.png"},2415:(e,t,n)=>{e.exports=n.p+"static/media/cftt.447b681e66cb3e1a0cb1.png"},5843:(e,t,n)=>{e.exports=n.p+"static/media/daxay.dc3c5fd190d1a9ec0b14.png"},7912:(e,t,n)=>{e.exports=n.p+"static/media/phindi.bc167f279985e5338392.png"},6333:(e,t,n)=>{e.exports=n.p+"static/media/thucuongkhac.a5020967fe44830f8391.png"},8200:(e,t,n)=>{e.exports=n.p+"static/media/tra.0604f8a210f96eb6a2f3.png"},9626:(e,t,n)=>{e.exports=n.p+"static/media/iconsearch.b4ad5cf05c588e8091c6.png"},4742:(e,t,n)=>{e.exports=n.p+"static/media/map.9743937e9227e20d8871.png"},7620:(e,t,n)=>{e.exports=n.p+"static/media/medal.e8f52dfb52baf3dd8c4e.png"},207:(e,t,n)=>{e.exports=n.p+"static/media/cuahang.be6853e2868dd995908f.png"},5375:(e,t,n)=>{e.exports=n.p+"static/media/dathang.6311d14104db731f5db5.png"},3217:(e,t,n)=>{e.exports=n.p+"static/media/hoatdong.cd4a93643dba14da49f6.png"},5728:(e,t,n)=>{e.exports=n.p+"static/media/khac.0d0fe9f020ccd2a19caa.png"},2858:(e,t,n)=>{e.exports=n.p+"static/media/trangchu.1771fefd733ee2244ef4.png"},5701:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD2SURBVHgB7ZO/EYIwGMVfAlg7gnY03sEGDqAFI7iBbqAT6AaOQOECOIEWetLBCJbe8ScCNiGHBANqw69LvuR9ed+7AD3/hogbrmmOdBj7rGKBYYgmENyRwotJtHJ8P8S7BoU4MU6NhSsaxSyy+SaUrw+YsVUWz8nuFu45Sg1Siinako+WQ4fwAvF8DG3s+OcQFbimleWVBHUaFFIeirUXuvyAERzMCVRp4KAdUgdiBpVzr0EhA/ncebrPIP/VHJ1nwFIc+bXUwUdkr0+gLfmtbhwUY2FezDRb/JQ1Dthm7l/WaAn9pnhOyQEDFpSkw9ntukPPr3gCBb1NkP3Nx8cAAAAASUVORK5CYII="},1710:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGeSURBVHgB3ZZNTsJQFIXPbavGgQlL6MSkoJjnCmROVNiB7gBWAKwAd+ASSkDH4A46INA4seyAoQm019dgTOwPfbSSqF9CSO5t35f2nd4W+G9QWsM+rQhd1wWDzWgveDcemp6zHJbPWj77g6bresgjGlkXHYC7aSdptDbr8/liaFXfiFBa8+oyS6ZFC7Z1XtsmicEoHeBgbFuWiV1EslD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dZyonF4MexfgB1StJObIRGg3OHW8rnSDLY07d7QIUma5nGtCmF/xTwRd5x7nvBWqShgAAAABJRU5ErkJggg=="},6705:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHjSURBVHgB7VTNTfNAEJ1ZO/q+C1LowBxAJsJgOrDvIHAFkBLogBLoAKggQOCcUAGWgsCCA+6AHINsdtgJcRSvvYkgV55kaT2789787QL8YQFw0YGOuxU0AI8kYIBAzthIGCNSnEm4jl4GV78S6LiuY0PjXC0DmE+QZpCFUZKkdfuiznjXavk2Nh4KciZRYYf5yFrdTwbIaxrb1ArA4bN36y3fEEBN5ExO0JxGOLJ2ozQels45ftP+J3uA5E+Yhjllu3omlQwsaPQKckaGcMLkt+72UXfTe791vTdejwVRnkwdlc+kpOYS3Wx4hypiZ9YWPX83UQKdMgmXhJDO2JaP7FjjC7pqKIwCQsCB5gBd1yP+SsKTDPWyMVBNnFGAiGobVSaAVGXR5rWhscHsj132xvkCpGb/ww458o7jNKUQlZqTVmIBP0AuZZvJb1zv2Pq/8rAwIF2gmG0TotencVNVmc71YZhC3fB5AvewJFA9I0YBAXQBS0Ldm+uSoH5AjWQPFrw/JvCE7SWDtVlbpck5WG2+9nUEam+NP6hnH2Zghbq5IhAlcSrwM6wXGU2+KrlAK2Tf6pYBHdd3LPjsGadlCurnYLfryOcKFOD3SeV5iEQ7xdzzOAuQfQK83E8e+/CHZfAFs3K47tjhHN0AAAAASUVORK5CYII="},3361:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIFSURBVHgB3VVNMsRAFH6dhIoqStygLahQhswNWDNT+gbcgBPgBDgBTjBqsHYEUxV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static/media/berry.712c34d1213e54459ec1.png"},8837:(e,t,n)=>{e.exports=n.p+"static/media/caramel.185cbb9e9b977ed0b46e.png"},949:(e,t,n)=>{e.exports=n.p+"static/media/caramelmachiato.59ed12184d638e4cfea6.png"},7781:(e,t,n)=>{e.exports=n.p+"static/media/choco.0098fa316d69d6019913.png"},7695:(e,t,n)=>{e.exports=n.p+"static/media/classic.a231755d98e61dd79294.png"},9223:(e,t,n)=>{e.exports=n.p+"static/media/epresso.23a5d805404d2bc47f2c.png"},5715:(e,t,n)=>{e.exports=n.p+"static/media/fchoco.31ac4b02cfa2ceffa1b6.png"},1530:(e,t,n)=>{e.exports=n.p+"static/media/hanhnhan.117bf4cc3d660a3d6e74.png"},5980:(e,t,n)=>{e.exports=n.p+"static/media/hatde.450a6d48c8b65b6fb31b.png"},6667:(e,t,n)=>{e.exports=n.p+"static/media/kemsua.c53630fdd71763d15715.png"},4183:(e,t,n)=>{e.exports=n.p+"static/media/latte.449c36f127419a05cf3f.png"},6985:(e,t,n)=>{e.exports=n.p+"static/media/mocha.5f3bd9c84079f6d82b7b.png"},3211:(e,t,n)=>{e.exports=n.p+"static/media/phindenda.88ef5d7b1caf909e1d56.png"},3489:(e,t,n)=>{e.exports=n.p+"static/media/phindennong.d0ba66ea841cd17b6276.png"},7513:(e,t,n)=>{e.exports=n.p+"static/media/phinsuada.5371749169e299a4ba1d.png"},8460:(e,t,n)=>{e.exports=n.p+"static/media/phinsuanong.20808eb140471074ba5c.png"},8661:(e,t,n)=>{e.exports=n.p+"static/media/traanhdao.31cd7ba4a45f66dfd519.png"},9871:(e,t,n)=>{e.exports=n.p+"static/media/trasen.6544dc4fb52b028f2ac6.png"},4744:(e,t,n)=>{e.exports=n.p+"static/media/trathachdao.30261b6431ad457e8b93.png"},9250:(e,t,n)=>{e.exports=n.p+"static/media/trathanhdao.41c408a6cb57a0df2681.png"},2846:(e,t,n)=>{e.exports=n.p+"static/media/travai.0e17999c44836b2e4aee.png"},7175:(e,t,n)=>{e.exports=n.p+"static/media/traxanh.1683687817b533690571.png"},4933:(e,t,n)=>{e.exports=n.p+"static/media/traxanhdaudo.426ccb087bc99c3b4ae1.png"},9055:(e,t,n)=>{e.exports=n.p+"static/media/sala2.a7ac42848af67e948808.png"},3155:(e,t,n)=>{e.exports=n.p+"static/media/sala3.b255784fdede3f33f6f6.png"},7763:(e,t,n)=>{e.exports=n.p+"static/media/sala4.e4484ee0bfe88aae42c6.png"},7429:(e,t,n)=>{e.exports=n.p+"static/media/wallet.eacbcdfee7fbd2db5d1e.png"}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports}n.m=e,(()=>{var e=[];n.O=(t,i,r,o)=>{if(!i){var a=1/0;for(d=0;d=o)&&Object.keys(n.O).every((e=>n.O[e](i[l])))?i.splice(l--,1):(s=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[i,r,o]}})(),n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(i,r){if(1&r&&(i=this(i)),8&r)return i;if("object"===typeof i&&i){if(4&r&&i.__esModule)return i;if(16&r&&"function"===typeof i.then)return i}var o=Object.create(null);n.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&i;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>i[e]));return a.default=()=>i,n.d(o,a),o}})(),n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/AppHighLand/",(()=>{var e={179:0};n.O.j=t=>0===e[t];var t=(t,i)=>{var r,o,[a,s,l]=i,c=0;if(a.some((t=>0!==e[t]))){for(r in s)n.o(s,r)&&(n.m[r]=s[r]);if(l)var d=l(n)}for(t&&t(i);cn(565)));i=n.O(i)})(); +//# sourceMappingURL=main.b6af6c40.js.map \ No newline at end of file diff --git a/static/js/main.b6af6c40.js.map b/static/js/main.b6af6c40.js.map new file mode 100644 index 0000000..5aaed28 --- /dev/null +++ b/static/js/main.b6af6c40.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/main.b6af6c40.js","mappings":"qNAyBMA,EAASC,EAAAA,QAAWC,OAAO,CAC/BC,UAAW,CACTC,KAAM,EACNC,eAAgB,SAChBC,WAAY,UAEdC,MAAO,CACLH,KAAM,EACNI,MAAO,OACPC,OAAQ,UAIZ,QAlCmB,SAAHC,GAAwB,IAAlBC,EAAUD,EAAVC,WAcpB,OAbAC,EAAAA,EAAAA,YAAU,WAER,IAEMC,EAAYC,YAAW,WAE3BH,EAAWI,QAAQ,QACrB,GALc,KAQd,OAAO,kBAAMC,aAAaH,EAAW,CACvC,GAAG,CAACF,KAGFM,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CAACC,MAAOnB,EAAOG,UAAUiB,UAC5BH,EAAAA,EAAAA,KAACI,EAAAA,QAAe,CAACC,OAAQf,EAAOgB,WAAW,QAAQJ,MAAOnB,EAAOO,SAGvE,E,sDCnBe,SAASiB,IACpB,OACIP,EAAAA,EAAAA,KAACC,EAAAA,QAAI,CACVC,MAAS,CACRf,KAAM,EACNqB,gBAAiB,WAChBL,UACFM,EAAAA,EAAAA,MAACC,EAAAA,QAAU,CACVR,MAAS,CACRf,KAAM,EACNqB,gBAAiB,UACjBG,WAAY,EACZC,cAAe,IACdT,SAAA,EACFM,EAAAA,EAAAA,MAACR,EAAAA,QAAI,CACJC,MAAS,C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zT,KACvD,IAGI8P,EAAUyD,GAHT9C,EAAUiD,EAAaC,GAAW3T,EAGhB8Q,EAAI,EAC3B,GAAGL,EAASmD,MAAM5V,GAAgC,IAAxBsV,EAAgBtV,KAAa,CACtD,IAAI8R,KAAY4D,EACZ7D,EAAoB2C,EAAEkB,EAAa5D,KACrCD,EAAoBQ,EAAEP,GAAY4D,EAAY5D,IAGhD,GAAG6D,EAAS,IAAInD,EAASmD,EAAQ9D,EAClC,CAEA,IADG4D,GAA4BA,EAA2BzT,GACrD8Q,EAAIL,EAAShR,OAAQqR,IACzByC,EAAU9C,EAASK,GAChBjB,EAAoB2C,EAAEc,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO1D,EAAoBU,EAAEC,EAAO,EAGjCqD,EAAqBC,KAAsB,gBAAIA,KAAsB,iBAAK,GAC9ED,EAAmBvB,QAAQkB,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KC7CvF,IAAII,EAAsBpE,EAAoBU,OAAEP,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7FoE,EAAsBpE,EAAoBU,EAAE0D,E","sources":["src/component/HomeSreen.js","src/component/Activity.js","src/data/index.js","src/component/Home.js","src/data/product.js","src/component/ProductDetail.js","src/component/Order.js","src/component/Other.js","src/data/store.js","src/component/StoreItem.js","src/component/Store.js","src/component/MainApp.js","src/api/verify.js","src/component/Login.js","src/component/Otp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/create fake namespace object","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import React, { useEffect } from \"react\";\nimport { ImageBackground, StyleSheet, View } from \"react-native\";\nimport image from \"../image/background.jpg\"\n\nconst HomeScreen = ({ navigation }) => {\n useEffect(() => {\n // Chờ vài giây trước khi chuyển đến màn hình Home\n const delay = 2000; \n\n const timeoutId = setTimeout(() => {\n // Điều hướng đến màn hình Home sau khi kết thúc đợi\n navigation.replace(\"Login\");\n }, delay);\n\n // Hủy timeout nếu component bị hủy trước khi đợi kết thúc\n return () => clearTimeout(timeoutId);\n }, [navigation]);\n\n return (\n \n \n \n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n image: {\n flex: 1,\n width: \"100%\",\n height: \"100%\",\n },\n});\n\nexport default HomeScreen;\n","import React from \"react\";\nimport { View, ScrollView, Image, Text, } from \"react-native\";\nimport account from '../image/av.png';\nimport search from '../image/iconsearch.png'\nexport default function HoatDong(){\n return (\n \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{\"Đang diễn ra\"}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{\"Lịch sử đặt hàng\"}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{\"Không có dữ liệu\"}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n \n\t\t\n )\n}","export const categories = [\n {\n id: 1,\n title:\"CÀ PHÊ\\nTRUYỀN THỐNG\",\n image:require(\"../image/categories/cftt.png\")\n },\n {\n id: 2,\n title:\"CÀ PHÊ\\nPHA MÁY\",\n image:require(\"../image/categories/cfmay.png\")\n },\n {\n id: 3,\n title:\"TRÀ\",\n image:require(\"../image/categories/tra.png\")\n },\n {\n id: 4,\n title:\"PHINDI\",\n image:require(\"../image/categories/phindi.png\")\n },\n {\n id: 5,\n title:\"ĐÁ XAY\",\n image:require(\"../image/categories/daxay.png\")\n },\n {\n id: 6,\n title:\"THỨC UỐNG KHÁC\",\n image:require(\"../image/categories/thucuongkhac.png\")\n },\n {\n id: 7,\n title:\"BÁNH NGỌT\",\n image:require(\"../image/categories/banhngot.png\")\n },\n {\n id: 8,\n title:\"BÁNH MÌ\",\n image:require(\"../image/categories/banhmi.png\")\n },\n\n];\nexport const banners = [\n require(\"../image/banner/banner1.jpg\"),\n require(\"../image/banner/banner2.jpg\"),\n require(\"../image/banner/banner3.jpg\"),\n ];\n\n","import React, { useState,useEffect } from \"react\";\nimport { ScrollView, Button, Text, Image, View, StyleSheet, ImageBackground, Platform } from \"react-native\";\nimport { SafeAreaView } from 'react-native-safe-area-context';\nimport { FlatList, TouchableOpacity } from \"react-native\";\nimport axios from 'axios'; // Import thư viện axios\nimport avatar from \"../image/av.png\";\nimport search from \"../image/iconsearch.png\";\nimport banner from \"../image/banner.jpg\";\nimport cb1 from \"../image/combokm/cb1.jpg\"\nimport cb2 from \"../image/combokm/cb2.jpg\"\nimport { categories,banners } from '../data';\nconst bannerChangeInterval = 5000; // 5 giây\nconst ios = Platform.OS === 'ios';\nexport default function Home({ navigation }) {\n const [activeCategory, setActiveCategory] = useState(1);\n const [currentBannerIndex, setCurrentBannerIndex] = useState(0);\n const[apiData,setApiData]=useState([]);\n useEffect(() => {\n // Gọi API ở đây sau khi component đã được mount\n fetchDataFromApi();\n \n // Cập nhật banner sau mỗi khoảng thời gian\n const bannerInterval = setInterval(() => {\n setCurrentBannerIndex((currentBannerIndex + 1) % banners.length);\n }, bannerChangeInterval);\n\n return () => {\n clearInterval(bannerInterval);\n };\n }, [currentBannerIndex]);\n\n const fetchDataFromApi = async () => {\n try {\n const response = await axios.get('https://6562df38ee04015769a69d38.mockapi.io/categories'); // Thay URL_API bằng URL thực tế của API\n setApiData(response.data); // Lưu dữ liệu từ API vào state\n } catch (error) {\n console.error('Error fetching data:', error);\n }\n };\n return (\n \n \n \n \n \n \n \n \n Nguyễn Chí Cường\n THÀNH VIÊN\n \n \n \n Trả trước\n 0 đ\n \n \n \n Drips\n 0 đ\n \n \n \n \n \n \n item.id.toString()}\n contentContainerStyle={styles.flatListContainer}\n renderItem={({ item }) => {\n const isActive = item.id === activeCategory;\n return (\n {\n setActiveCategory(item.id);\n navigation.navigate(\"DatHang\", { categoryId: item.id }); \n console.log({categoryId: item.id })\n // Truyền ID của danh mục\n }} \n style={[\n styles.itemContainer,\n {\n backgroundColor:'#FFFFFF',\n shadowColor: isActive ? '#000' : 'transparent',\n },\n ]}\n >\n \n \n \n \n {item.title}\n \n \n \n );\n }}\n />\n \n \n \n \n \n \n \n \n TẶNG HỘI CHỊ EM\n Từ 13/10-20/10\n \n \n \n BÁNH NGON 25K\n Từ 16/10-18/10\n \n \n \n \n );\n \n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n width:\"100%\",\n },\n containerHeader: {\n flexDirection: 'row',\n },\n styleAvatar: {\n width: 50,\n height: 50,\n marginLeft: 10,\n marginTop: 5\n },\n styleSearch: {\n width: 40,\n height: 40,\n marginLeft: 290,\n marginTop:5\n },\n account: {\n width: 428,\n height: 250,\n backgroundColor: '#f0e2b1',\n marginTop: 10,\n justifyContent: 'center',\n alignItems: 'center',\n },\n styleBanner: {\n width: 380,\n height: 150,\n borderRadius: 10,\n },\n styleText1: {\n color: '#FFFFFF',\n fontSize: 12,\n fontWeight: '700',\n marginLeft: 10,\n marginTop: 10,\n fontFamily: 'Arial',\n },\n styleText2: {\n color: '#666666',\n fontSize: 12,\n fontWeight: '700',\n marginLeft: 10,\n marginTop: 10,\n fontFamily: 'Arial',\n },\n styleText3: {\n color: '#440000',\n fontSize: 12,\n fontWeight: '700',\n marginLeft: 10,\n marginTop: 10,\n fontFamily: 'Arial',\n },\n containerViandDrips: {\n marginTop: 20,\n flexDirection: 'row',\n justifyContent: 'space-between', // Đảm bảo khoảng cách đều nhau\n paddingHorizontal: 10, // Khoảng cách giữa Drips và Vi\n\n },\n containerVi: {\n width:150,\n height: 50,\n flexDirection: 'column',\n backgroundColor:\"#99CCFF\",\n borderRadius: 10,\n // shadowRadius: 5,\n marginLeft: 10,\n },\n containerDrips: {\n width:150,\n height: 50,\n flexDirection: 'column',\n backgroundColor:\"#CC99CC\",\n borderRadius: 10,\n // shadowRadius: 5,\n marginRight: 10,\n },\n styleIcon: {\n width: 20,\n height: 20,\n },\n iconWhite: {\n tintColor: '#FFFFFF',\n },\n flatListContainer: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n paddingHorizontal: 5,\n },\n itemContainer: {\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n alignContent: 'center',\n // padding: 4,\n },\n itemImage: {\n width: 70,\n height: 70,\n borderRadius: 25,\n },\n textContainer: {\n padding: 0,\n },\n imageContainer: {\n width: 90,\n height: 90,\n borderRadius: 50,\n overflow: 'hidden',\n flexDirection: 'column',\n alignItems: 'center',\n padding: 4,\n backgroundColor: '#FFFAF0',\n },\n styleTextMenuItem:{\n color: '#8B4513',\n fontSize: 12,\n fontWeight: '700',\n marginLeft: 10,\n marginTop: 10,\n fontFamily: 'Arial',\n },\n bannerImage: {\n width: 400,\n height: 100, \nmarginBottom:10,\nmarginTop:10,\nborderRadius:10,\n },\n styleCombo:{\n height:100,\n width:100\n },\n containerKm:{\n flexDirection:\"row\",\n // marginTop:10,\n marginLeft:10,\n \n },\n combo:{\n flexDirection:\"column\",\n alignContent:\"center\",\n justifyContent:\"center\"\n }\n});\n","export const products = [\n {\n id:1,\n name:\"Phin Đen Đá\",\n priceS:29000,\n priceM:35000,\n priceL:39000,\n note:\"Ly Cà Phê được pha hoàn toàn từ phin,thêm đường đá những vẫn cực đậm vị cà phê\",\n image:require('../image/product/phindenda.png'),\n categorie:1\n },\n {\n id:2,\n name:\"Phin Sữa Đá\",\n priceS:29000,\n priceM:35000,\n priceL:39000,\n note:\"Ly Cà Phê được pha hoàn toàn từ phin,thêm đường đá những vẫn cực đậm vị cà phê\",\n image:require('../image/product/phinsuada.png'),\n categorie:1\n },\n {\n id:3,\n name:\"Phin Đen Nóng\",\n priceS:29000,\n priceM:35000,\n priceL:39000,\n note:\"Ly Cà Phê được pha hoàn toàn từ phin,thêm đường đá những vẫn cực đậm vị cà phê\",\n image:require('../image/product/phindennong.png'),\n categorie:1\n },\n {\n id:4,\n name:\"Phin Sữa Nóng\",\n priceS:29000,\n priceM:35000,\n priceL:39000,\n note:\"Ly Cà Phê được pha hoàn toàn từ phin,thêm đường đá những vẫn cực đậm vị cà phê\",\n image:require('../image/product/phinsuanong.png'),\n categorie:1\n },\n {\n id:5,\n name:\"Mocha Nóng\",\n priceS:69000,\n priceM:79000,\n priceL:85000,\n note:\"Cà phê ấm nóng cùng với sự hòa quyện giữa vị đắng cà phê epresso và sốt socola, thêm ngọt ngào từ sữa tươi và nghệ thuật tạo hình trang trí đẳng cấp\",\n image:require('../image/product/mocha.png'),\n categorie:2\n },\n {\n id:6,\n name:\"CaramelMachiato Nóng\",\n priceS:69000,\n priceM:79000,\n priceL:85000,\n note:\"Cà phê ấm nóng cùng với sự hòa quyện giữa vị đắng cà phê epresso và sốt socola,thêm ngọt ngào từ sữa tươi và nghệ thuật tạo hình trang trí đẳng cấp\",\n image:require('../image/product/caramelmachiato.png'),\n categorie:2\n },\n {\n id:7,\n name:\"Latte Nóng\",\n priceS:65000,\n priceM:75000,\n priceL:79000,\n note:\"Cà phê ấm nóng cùng với sự hòa quyện giữa vị đắng cà phê epresso và sốt socola,thêm ngọt ngào từ sữa tươi và nghệ thuật tạo hình trang trí đẳng cấp\",\n image:require('../image/product/latte.png'),\n categorie:2\n },\n {\n id:8,\n name:\"Epresso Nóng\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Cà phê ấm nóng cùng với sự hòa quyện giữa vị đắng cà phê epresso và sốt socola,thêm ngọt ngào từ sữa tươi và nghệ thuật tạo hình trang trí đẳng cấp\",\n image:require('../image/product/epresso.png'),\n categorie:2\n },\n {\n id:9,\n name:\"Trà Quả Mọng Anh Đào\",\n priceS:59000,\n priceM:69000,\n priceL:75000,\n note:\"Trà thơm sánh đôi cùng quả mọng chua ngọt, thêm đài quả ngâm giòn giòn, sẵn sàng đánh tan cơn khát\",\n image:require('../image/product/traanhdao.png'),\n categorie:3\n },\n {\n id:10,\n name:\"Trà Sen Vàng Củ Năng\",\n priceS:45000,\n priceM:55000,\n priceL:65000,\n note:\"Từ Olong kết hợp với hương sen tươi thanh mát, thêm củ năng giòn ngọt và lớp kem mềm mại\",\n image:require('../image/product/trasen.png'),\n categorie:3\n },\n {\n id:11,\n name:\"Trà Thạch Đào\",\n priceS:45000,\n priceM:55000,\n priceL:65000,\n note:\"Sự hòa quyện giữa hương thơm đào và độ béo của sữa.Thêm ngon cùng topping thạch đào và miếng đào dai giòn\",\n image:require('../image/product/trathachdao.png'),\n categorie:3\n },\n {\n id:12,\n name:\"Trà Thanh Đào\",\n priceS:45000,\n priceM:55000,\n priceL:65000,\n note:\"Sự hào quyện giữa vị trà cao cấp, những miếng đào ngọt giòn thêm chút hương thanh mát của sả, thỏa mãn vị giác 100%\",\n image:require('../image/product/trathanhdao.png'),\n categorie:3\n },\n {\n id:13,\n name:\"Trà Xanh Đậu Đỏ\",\n priceS:45000,\n priceM:55000,\n priceL:65000,\n note:\"Vị trà xanh đăng đắng thanh mát,thêm độ ngọt vừa và mềm mại của đậu đỏ. Ngon ngọt nhưng không ngấy\",\n image:require('../image/product/traxanhdaudo.png'),\n categorie:3\n },\n {\n id:14,\n name:\"Trà Thạch Vải\",\n priceS:45000,\n priceM:55000,\n priceL:65000,\n note:\"Sự kết hợp giữa quả vải mọng nước và trà đen và thạch vải thơm hương vải\",\n image:require('../image/product/travai.png'),\n categorie:3\n },\n {\n id:15,\n name:\"PhinDi Hạt Dẻ Cười\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Cà phê phin với độ đậm cà phê vừa phải, đặc biệt thêm hạnh nhân bùi bùi, thơm ngon\",\n image:require('../image/product/hatde.png'),\n categorie:4\n },\n {\n id:16,\n name:\"PhinDi Choco\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Cà phê phin với độ đậm cà phê vừa phải, đặc biệt thêm hạnh nhân bùi bùi, thơm ngon\",\n image:require('../image/product/choco.png'),\n categorie:4\n },\n {\n id:17,\n name:\"PhinDi Kem Sữa\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Cà phê phin với độ đậm cà phê vừa phải, đặc biệt thêm hạnh nhân bùi bùi, thơm ngon\",\n image:require('../image/product/kemsua.png'),\n categorie:4\n },\n {\n id:18,\n name:\"PhinDi Hạnh Nhân\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Cà phê phin với độ đậm cà phê vừa phải, đặc biệt thêm hạnh nhân bùi bùi, thơm ngon\",\n image:require('../image/product/hanhnhan.png'),\n categorie:4\n },\n {\n id:19,\n name:\"Frezee Quả Mọng Anh Đào\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Kem béo hài hòa cùng với sự kết hợp của vị chua quả mọng\",\n image:require('../image/product/berry.png'),\n categorie:5\n },\n {\n id:20,\n name:\"Frezee Trà Xanh\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Kem béo hài hòa cùng với sự kết hợp của vị chua quả mọng\",\n image:require('../image/product/traxanh.png'),\n categorie:5\n },\n {\n id:21,\n name:\"Caramel Phin Freeze\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Kem béo hài hòa cùng với sự kết hợp của vị chua quả mọng\",\n image:require('../image/product/caramel.png'),\n categorie:5\n },\n {\n id:22,\n name:\"Frezee Sô Cô La\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Kem béo hài hòa cùng với sự kết hợp của vị chua quả mọng\",\n image:require('../image/product/fchoco.png'),\n categorie:5\n },\n {\n id:23,\n name:\"Classic Phin Freeze \",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Kem béo hài hòa cùng với sự kết hợp của vị chua quả mọng\",\n image:require('../image/product/classic.png'),\n categorie:5\n },\n\n ]","import React, { useState } from \"react\";\nimport { View, ScrollView, Text, Image, TouchableOpacity, TextInput, Button,Picker } from \"react-native\";\n\nexport default function ProductDetail({ route }) {\n const { item } = route.params;\n const [quantity, setQuantity] = useState(1);\n const [selectedSize, setSelectedSize] = useState(\"S\"); // Mặc định là size \"S\"\n const [totalPrice, setTotalPrice] = useState(item.priceS *quantity); // Sử dụng state để lưu tổng giá tiền\n \n const handleIncrement = () => {\n const newQuantity = quantity + 1;\n setQuantity(newQuantity);\n updateTotalPrice(selectedSize, newQuantity);\n };\n\n const handleDecrement = () => {\n if (quantity > 1) {\n const newQuantity = quantity - 1;\n setQuantity(newQuantity);\n updateTotalPrice(selectedSize, newQuantity);\n }\n };\n\n const handleSizeChange = (size) => {\n setSelectedSize(size);\n updateTotalPrice(size, quantity);\n };\n\n const updateTotalPrice = (size, quantity) => {\n let newPrice = 0;\n if (size === \"S\") {\n newPrice = item.priceS;\n } else if (size === \"M\") {\n newPrice = item.priceM;\n } else if (size === \"L\") {\n newPrice = item.priceL;\n }\n const newTotalPrice = newPrice * quantity;\n setTotalPrice(newTotalPrice);\n };\n\n return (\n \n \n \n \n {item.name}\n \n {selectedSize === \"S\"\n ? item.priceS\n : selectedSize === \"M\"\n ? item.priceM\n : item.priceL}\n đ\n \n {item.note}\n \n handleSizeChange(\"S\")}\n >\n \n S\n \n \n\n handleSizeChange(\"M\")}\n >\n \n M\n \n \n handleSizeChange(\"L\")}\n >\n \n L\n \n \n \n \n Ghi chú\n \n \n \n \n {/* Size: {item.size} */}\n\n\n \n \n -\n \n \n \n {quantity}\n \n \n \n +\n \n \n \n \n \n \n {`Thêm ${totalPrice}đ`}\n \n \n \n\n \n \n );\n}\n\nconst styles = {\n container: {\n flex: 1,\n backgroundColor: \"#FFFFFF\",\n },\n sizePickerContainer: {\n margin: 10,\n borderBottomWidth: 1,\n borderBottomColor: \"#ddd\",\n },\n sizePicker: {\n height: 40,\n },\n productImage: {\n width: 200,\n height: 400,\n alignSelf: \"center\",\n },\n productName: {\n fontSize: 20,\n fontWeight: \"bold\",\n margin: 10,\n textAlign: \"center\",\n },\n productNote: {\n fontSize: 16,\n color: \"#888\",\n textAlign: \"center\",\n },\n productPrice: {\n fontSize: 18,\n color: \"#AA0000\",\n fontWeight: \"bold\",\n textAlign: \"center\",\n },\n productSize: {\n fontSize: 16,\n margin: 10,\n textAlign: \"center\",\n },\n quantityContainer: {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flex: 5,\n },\n quantityButton: {\n width: 30,\n height: 30,\n borderWidth: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n quantityInput: {\n fontSize: 5,\n textAlign: \"center\",\n },\n sizeButtonsContainer: {\n flexDirection: \"row\",\n justifyContent: \"space-around\",\n margin: 10,\n marginTop:20\n },\n sizeButton: {\n width: 80,\n height: 50,\n borderRadius: 5,\n justifyContent: \"center\",\n alignItems: \"center\",\n // borderWidth: 1,\n },\n quantityContainer: {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n margin: 10,\n },\n quantityButton: {\n fontSize: 24,\n },\n quantityInput: {\n fontSize: 20,\n marginHorizontal: 20,\n },\n};\n","import React, { useState,useEffect } from \"react\";\nimport { View, ScrollView, Text, Image, TouchableOpacity, FlatList, TextInput, SectionList } from \"react-native\";\nimport search from '../image/iconsearch.png';\nimport axios from 'axios'; // Import thư viện axios\nimport { categories } from '../data'; // Import danh sách danh mục\nimport { products } from '../data/product'; // Import danh sách sản phẩm\nimport ProductDetail from \"./ProductDetail\";\nexport default function DatHang({navigation,route}) {\n const[apiData,setApiData]=useState([]);\n const [selectedCategory, setSelectedCategory] = useState(route.params ? route.params.categoryId : 1) ;\n const [searchText, setSearchText] = useState(\"\");\n const [selectedProduct, setSelectedProduct] = useState(null); // Thêm biến trạng thái selectedProduct\n const [flatListKey, setFlatListKey] = useState(Date.now().toString()); // Key cho FlatList\n const [filteredProducts, setFilteredProducts] = useState([]); // Danh sách sản phẩm sau khi lọc\n\nconsole.log(selectedCategory);\nconsole.log(\"sp sau lock>>:\",filteredProducts);\n useEffect(() => {\n\n let x =products.filter((product) => { \n // Lọc theo danh mục (selectedCategory) và tìm kiếm (searchText)\n //cái retrn này để làm j á trả về cái sản phẩm lọc được là\n return (\n (selectedCategory == null || product.categorie == selectedCategory) &&\n (searchText == \"\" ||\n product.name.toLowerCase().includes(searchText.toLowerCase()))\n );\n });\n console.log(\"sp sau lock efect>>:\",x);\n setFilteredProducts([...x]); // Khởi tạo danh sách sản phẩm sau khi lọc\n console.log(\"sp root>>:\",products);\n\n\n\n }, [selectedCategory]);\n\n// Lọc danh sách sản phẩm dựa trên danh mục và tìm kiếm\n\n const fetchDataFromApi = async () => {\n try {\n const response = await axios.get('https://6562df38ee04015769a69d38.mockapi.io/categories'); // Thay URL_API bằng URL thực tế của API\n setApiData(response.data); // Lưu dữ liệu từ API vào state\n } catch (error) {\n console.error('Error fetching data:', error);\n }\n };\n return (\n\n \n \n \n setSearchText(text)}\n />\n \n \n \n \n item.id.toString()}\n renderItem={({ item }) => {\n const isActive = item.id === selectedCategory;\n return (\n setSelectedCategory(item.id)}\n style={[\n styles.categoryItem,\n {\n shadowColor: selectedCategory === item.id ? \"#AA0000\" : \"#000000\",\n },\n ]}\n >\n \n \n {item.title}\n \n );\n }}\n />\n \n {/* Sử dụng FlatList để hiển thị danh sách sản phẩm */}\n\n\n item.id.toString()}\n renderItem={({ item }) => (\n //Khi sản phẩm được chọn\n navigation.navigate(\"ProductDetail\",{item}) }>\n \n \n \n \n \n {item.name}\n {item.note}\n \n \n {item.priceS}đ\n \n \n \n )}\n />\n\n\n \n );\n}\nconst styles = {\n container: {\n flex: 1,\n backgroundColor: \"#FFFFFF\",\n },\n container2: {\n flexDirection: \"row\",\n backgroundColor: \"#FFFFFF\",\n },\n scrollContainer: {\n flex: 1,\n backgroundColor: \"#ffffff\",\n },\n searchContainer: {\n backgroundColor: \"#ffffff\",\n paddingTop: 20,\n paddingHorizontal: 18,\n },\n searchBar: {\n flexDirection: \"row\",\n alignItems: \"center\",\n backgroundColor: \"#f8f8ff\",\n borderRadius: 10,\n // paddingVertical: 5,\n // paddingHorizontal: 8,\n height: 40,\n marginBottom: 15,\n },\n searchInput: {\n color: \"#dddddd\",\n fontSize: 15,\n marginRight: 4,\n flex: 1,\n height: 40,\n },\n searchIcon: {\n width: 19,\n height: 20,\n },\n categoryListContainer: {\n paddingHorizontal: 18,\n },\n categoryItem: {\n backgroundColor: '#FFFFFF',\n shadowColor: 'transparent',\n marginRight: 5,\n // padding: 10,\n borderRadius: 10,\n alignItems: 'center',\n },\n categoryImage: {\n width: 80,\n height: 80,\n marginBottom: 5,\n },\n categoryText: {\n textAlign: 'center',\n },\n // Styles for products\n productImage: {\n width: 100,\n height: 100,\n },\n productName: {\n fontSize: 16,\n fontWeight: 'bold',\n marginTop: 8,\n },\n productPrice: {\n fontSize: 14,\n color: '#AA0000',\n fontWeight:700\n },\n productNote: {\n fontSize: 12,\n color: '#888',\n },\n productContainer:{\n flexDirection: 'row',\n flex:1,\n borderWidth: 1, // Độ dày của viền\n borderColor: \"#ddd\", // Màu viền\n padding: 10, // Khoảng cách giữa viền và nội dung sản phẩm\n // marginBottom: 10, // Khoảng cách giữa các sản phẩm\n \n },\n product:{\n marginTop:0\n }\n };\n","import { StyleSheet, Text, View, ScrollView, Image, SafeAreaView, SectionList, Pressable } from 'react-native';\nimport React from 'react';\nimport { Button, Icon } from 'react-native-paper';\n\nconst Other = () => {\n return (\n \n \n Tiếng Việt\n \n \n \n \n Nguyễn Chí Cường | THÀNH VIÊN\n \n \n DRIPS: 0\n \n \n \n \n Trả trước: 0 đ\n \n \n KÍCH HOẠT\n \n \n \n \n \n \n \n \n Tài Khoản\n \n \n \n Hồ Sơ\n \n \n \n \n Cài Đặt\n \n \n \n \n \n Tương Tác\n \n \n \n Hoạt Động\n \n \n \n \n \n Thông Tin Chung\n \n \n \n Chính sách/Policies\n \n \n \n \n CT Thành Viên/Loalty\n \n \n \n \n Giới Thiệu Về Phiên Bản Ứng Dụng\n \n \n \n \n \n Trung Tâm Trợ Giúp\n \n \n \n Câu Hỏi Thường Gặp\n \n \n \n \n Phản Hồi & Hỗ Trợ\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Other;\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n backgroundColor: '#B3282D',\n },\n body: {\n flex: 1,\n backgroundColor: 'rgb(215, 207, 207)',\n marginTop: 'auto',\n borderTopLeftRadius: 15,\n borderTopRightRadius: 15,\n paddingTop: 8,\n },\n sectionHeader: {\n fontSize: 24,\n fontWeight: '700',\n padding: 5,\n paddingLeft: 10,\n color: '#311111',\n },\n sectionItemContainer: {\n flexDirection: 'row',\n alignItems: 'center',\n backgroundColor: '#fff',\n height: 44,\n fontSize: 14,\n paddingRight: 10,\n },\n});\n","export const stores = [\n {\n image: require('../image/store/sala2.png'),\n name: 'Sala 2',\n address: '125 Nguyễn Cơ Thạch\\n Phường An Lợi Đông Quận 2',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala3.png'),\n name: 'Sarica Sala',\n address: 'No 06, D9 streeet\\n Phường An Lợi Đông Quận 2',\n phone: '(028) 3740 7777',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala4.png'),\n name: 'ViVo HCM',\n address: '1058 Nguyễn Văn Linh\\n Phường Tân Phong Quận 7',\n phone: '(028) 3740 8888',\n isOpen: false,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala2.png'),\n name: 'AQ',\n address: '39 Đường Mạc Đĩnh Chi\\n Phường Đa Kao Quận 1',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala3.png'),\n name: 'Vincom Thao Dien',\n address: '159 Xa Lộ Hà Nội\\n Phường Thảo Điền Quận 2',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 22:00',\n },\n {\n image: require('../image/store/sala2.png'),\n name: 'La Kai HCM',\n address: '98 Nguyễn Cơ Thạch\\n Phường An Lợi Đông Quận 2',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala3.png'),\n name: 'Tung Thien Vuong-HCM',\n address: '312 - 314 Võ Văn Kiệt\\n Phường Cô Giang Quận 1',\n phone: '(028) 3740 6666',\n isOpen: false,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala4.png'),\n name: 'Big C An Lac',\n address: '1231 Quốc Lộ 1A\\n Phường Bình Hưng Hòa Quận Bình Tân',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '09:00 - 22:00',\n },\n {\n image: require('../image/store/sala3.png'),\n name: 'Hoang Dieu 2 Thu Duc',\n address: '142, Hoàng Diệu 2 \\n Phường Linh Chiểu Quận Thủ Đức',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala3.png'),\n name: 'Viettel CMT8',\n address: '285 Cách Mạng Tháng 8\\n Phường 12 Quận 10',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n];\n","import { Image, Text, View, StyleSheet } from 'react-native';\nimport React from 'react';\nimport { IconButton } from 'react-native-paper';\n\nconst StoreItem = ({ item }) => (\n \n \n \n {item.name}\n {item.address}\n \n \n {item.phone}\n \n \n \n {item.isOpen ? 'Mở' : 'Đóng'}\n \n {item.time}\n \n \n \n);\n\nexport default StoreItem;\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n },\n stateItem: {\n paddingHorizontal: 8,\n paddingVertical: 2,\n fontSize: 14,\n color: '#fff',\n borderRadius: 50,\n },\n openState: {\n backgroundColor: '#3FB644',\n },\n closeState: {\n backgroundColor: '#999',\n },\n});","import { FlatList, Image, StyleSheet, Text, TextInput, View, ScrollView } from 'react-native';\nimport React from 'react';\nimport { stores as DATA } from '../data/store';\nimport { SafeAreaView } from 'react-native-safe-area-context';\nimport StoreItem from './StoreItem';\n\nconst Store = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n BẢN ĐỒ\n \n \n \n }\n ItemSeparatorComponent={() => }\n />\n \n \n \n );\n};\n\nexport default Store;\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n },\n stateItem: {\n paddingHorizontal: 8,\n paddingVertical: 2,\n fontSize: 14,\n color: '#fff',\n borderRadius: 50,\n },\n openState: {\n backgroundColor: '#3FB644',\n },\n closeState: {\n backgroundColor: '#999',\n },\n});","import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';\nimport React from 'react';\nimport { Image } from 'react-native';\nimport Home from '../component/Home';\nimport HoatDong from '../component/Activity';\nimport HomeScreen from './HomeSreen';\nimport DatHang from './Order';\nimport Other from './Other';\nimport Store from './Store';\n\nconst Tab = createBottomTabNavigator();\nexport default function MainApp({ route }) {\n return (\n \n ({\n tabBarIcon: ({ color, size }) => (\n \n ),\n tabBarLabelStyle: { fontSize: 12, marginTop: 5, fontStyle: 'Regular', fontFamily: 'Roboto' },\n tabBarActiveTintColor: '#AA0000', // Màu khi mục đang được chọn\n tabBarInactiveTintColor: '#000000', // Màu khi mục không được chọn\n headerShown: false,\n })}\n />\n ({\n tabBarIcon: ({ color, size }) => (\n \n ),\n headerShown: false,\n tabBarLabelStyle: { fontSize: 12, marginTop: 5, fontStyle: 'Regular', fontFamily: 'Roboto' },\n tabBarActiveTintColor: '#AA0000', // Màu khi mục đang được chọn\n tabBarInactiveTintColor: '#000000', // Màu khi mục không được chọn\n })}\n />\n ({\n tabBarIcon: ({ color, size }) => (\n \n ),\n headerShown: false,\n tabBarLabelStyle: { fontSize: 12, marginTop: 5, fontStyle: 'Regular', fontFamily: 'Roboto' },\n tabBarActiveTintColor: '#AA0000', // Màu khi mục đang được chọn\n tabBarInactiveTintColor: '#000000', // Màu khi mục không được chọn\n })}\n />\n ({\n tabBarIcon: ({ color, size }) => (\n \n ),\n headerShown: false,\n tabBarLabelStyle: { fontSize: 12, marginTop: 5, fontStyle: 'Regular', fontFamily: 'Roboto' },\n tabBarActiveTintColor: '#AA0000', // Màu khi mục đang được chọn\n tabBarInactiveTintColor: '#000000', // Màu khi mục không được chọn\n })}\n />\n ({\n tabBarIcon: ({ color, size }) => (\n \n ),\n headerShown: false,\n tabBarLabelStyle: { fontSize: 12, marginTop: 5, fontStyle: 'Regular', fontFamily: 'Roboto' },\n tabBarActiveTintColor: '#AA0000', // Màu khi mục đang được chọn\n tabBarInactiveTintColor: '#000000', // Màu khi mục không được chọn\n })}\n />\n \n );\n}\n","import { BASE_URL } from \"@env\";\n\nexport const sendSmsVerification = async (phoneNumber) => {\n try {\n const data = JSON.stringify({\n to: phoneNumber,\n channel: \"sms\",\n });\n\n const response = await fetch(`${BASE_URL}/start-verify`, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: data,\n });\n\n const json = await response.json();\n return json.success;\n } catch (error) {\n console.error(error);\n return false;\n }\n};\n\nexport const checkVerification = async (phoneNumber, code) => {\n try {\n const data = JSON.stringify({\n to: phoneNumber,\n code,\n });\n\n const response = await fetch(`${BASE_URL}/check-verify`, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: data,\n });\n\n const json = await response.json();\n return json.success;\n } catch (error) {\n console.error(error);\n return false;\n }\n};\n\n// module.exports = {\n// sendSmsVerification,\n// checkVerification,\n// };\n","import React, { useState, useRef } from \"react\";\nimport { Image, StyleSheet, Text, TouchableOpacity, View ,TextInput} from \"react-native\";\nimport PhoneInput from \"react-native-phone-number-input\";\nimport logo from '../image/logo/logo.png';\nimport apple from '../image/logo/apple.png';\nimport fb from '../image/logo/fb.png';\nimport google from '../image/logo/google.png';\nimport { sendSmsVerification } from \"../api/verify\";\n\nconst Login = ({ navigation }) => {\n const [value, setValue] = useState(\"\");\n const [formattedValue, setFormattedValue] = useState(\"\");\n const [otp, setOTP] = useState('110402');\n const [otpInput, setOTPInput] = useState('');\n const [showOTPInput, setShowOTPInput] = useState(false);\n const phoneInput = useRef(null);\n\n const onPressFlag = () => {\n phoneInput.current.selectCountry();\n };\n\n const handleSendOTP = () => {\n const twilioFunctionUrl = 'https://hc-5776.twil.io/sendsms';\n fetch(twilioFunctionUrl, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n to: formattedValue,\n }),\n })\n .then(response => response.json())\n .then(data => {\n console.log(data.otp);\n setOTP(data.otp);\n setShowOTPInput(true);\n })\n .catch(error => {\n console.error(error);\n });\n };\n\n return (\n \n \n \n \n \n Bắt đầu cuộc hành trình của bạn\n \n setValue(text)}\n onChangeFormattedText={(text) => setFormattedValue(text)}\n countryPickerProps={{ withAlphaFilter: true }}\n withShadow\n autoFocus\n onPressFlag={onPressFlag}\n />\n \n Gửi mã\n \n navigation.navigate(\"Otp\")}\n >\n Tiếp tục xác nhận OTP\n \n \n \n \n \n \n \n \n \n \n \n navigation.navigate(\"MainApp\")}>\n TIẾP TỤC NHƯ KHÁCH\n \n \n \n Bạn đã có tài khoản?\n Đăng nhập\n \n \n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: \"#f0e2b1\",\n width: \"100%\",\n height: \"100%\",\n },\n styleText: {\n color: \"#4c2f16\",\n fontSize: 30,\n fontFamily: \"Roboto\",\n fontStyle: 'normal',\n fontWeight: '700',\n },\n logo: {\n width: 200,\n height: 200,\n },\n containerText: {\n marginTop: 10,\n marginBottom: 50,\n justifyContent: 'center',\n alignContent: 'center',\n alignItems: 'center',\n },\n buttonTiepTuc: {\n backgroundColor: \"#DDDDDD\",\n width: 350,\n height: 50,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 5,\n marginTop: 20,\n },\n imageFooter: {\n width: 50,\n height: 50,\n },\n containerFotter: {\n flexDirection: 'row',\n marginTop: 10,\n },\n google: {\n marginTop: 5,\n },\n fb: {\n marginLeft: 10\n },\n textFooter: {\n fontFamily: \"Roboto\",\n fontSize: 15,\n fontWeight: \"700\",\n color: \"#AA0000\"\n },\n footer: {\n marginTop: 20,\n },\n footer2: {\n flexDirection: 'row',\n marginTop: 150,\n },\n otpInput: {\n height: 40,\n borderColor: 'gray',\n borderWidth: 1,\n marginVertical: 10,\n paddingHorizontal: 10,\n },\n button: {\n backgroundColor: \"#DDDDDD\",\n width: 350,\n height: 50,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 5,\n marginTop: 20,\n },\n buttonText: {\n fontSize: 16,\n fontWeight: 'bold',\n },\n});\n\nexport default Login;\n","import React, { useState, useRef } from \"react\";\nimport { Image, StyleSheet, Text, TouchableOpacity, View ,TextInput} from \"react-native\";\nimport PhoneInput from \"react-native-phone-number-input\";\nimport logo from '../image/logo/logo.png';\nimport apple from '../image/logo/apple.png';\nimport fb from '../image/logo/fb.png';\nimport google from '../image/logo/google.png';\nimport { sendSmsVerification } from \"../api/verify\";\n\nconst Otp = ({ navigation }) => {\n const [value, setValue] = useState(\"\");\n const [formattedValue, setFormattedValue] = useState(\"\");\n const [otp, setOTP] = useState('110402');\n const [otpInput, setOTPInput] = useState('');\n const [showOTPInput, setShowOTPInput] = useState(false);\n const phoneInput = useRef(null);\n\n return (\n \n \n \n \n \n Bắt đầu cuộc hành trình của bạn\n \n <>\n setOTPInput(text)}\n value={otpInput}\n />\n navigation.navigate(\"MainApp\")}\n >\n Xác nhận OTP\n \n \n \n \n \n \n \n \n \n \n \n \n \n navigation.navigate(\"MainApp\")}>\n TIẾP TỤC NHƯ KHÁCH\n \n \n \n Bạn đã có tài khoản?\n Đăng nhập\n \n \n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: \"#f0e2b1\",\n width: \"100%\",\n height: \"100%\",\n },\n styleText: {\n color: \"#4c2f16\",\n fontSize: 30,\n fontFamily: \"Roboto\",\n fontStyle: 'normal',\n fontWeight: '700',\n },\n logo: {\n width: 200,\n height: 200,\n },\n containerText: {\n marginTop: 10,\n marginBottom: 50,\n justifyContent: 'center',\n alignContent: 'center',\n alignItems: 'center',\n },\n buttonTiepTuc: {\n backgroundColor: \"#DDDDDD\",\n width: 350,\n height: 50,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 5,\n marginTop: 20,\n },\n imageFooter: {\n width: 50,\n height: 50,\n },\n containerFotter: {\n flexDirection: 'row',\n marginTop: 10,\n },\n google: {\n marginTop: 5,\n },\n fb: {\n marginLeft: 10\n },\n textFooter: {\n fontFamily: \"Roboto\",\n fontSize: 15,\n fontWeight: \"700\",\n color: \"#AA0000\"\n },\n footer: {\n marginTop: 20,\n },\n footer2: {\n flexDirection: 'row',\n marginTop: 150,\n },\n otpInput: {\n height: 40,\n borderColor: 'gray',\n borderWidth: 1,\n marginVertical: 10,\n paddingHorizontal: 10,\n },\n button: {\n backgroundColor: \"#DDDDDD\",\n width: 350,\n height: 50,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 5,\n marginTop: 20,\n },\n buttonText: {\n fontSize: 16,\n fontWeight: 'bold',\n },\n});\n\nexport default Otp;\n","import React from 'react';\nimport { NavigationContainer } from '@react-navigation/native';\nimport { createNativeStackNavigator } from '@react-navigation/native-stack';\nimport HomeScreen from \"./src/component/HomeSreen\";\n// import Home from \"./src/component/Home\";\nimport HoatDong from './src/component/Activity';\nimport MainApp from \"./src/component/MainApp\"\nimport Login from \"./src/component/Login\"\nimport DatHang from \"./src/component/Order\"\nimport ProductDetail from './src/component/ProductDetail';\nimport Other from './src/component/Other';\nimport Otp from './src/component/Otp';\n\nconst Stack = createNativeStackNavigator();\n\nexport default function App() {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/AppHighLand/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [466], () => (__webpack_require__(565)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["styles","StyleSheet","create","container","flex","justifyContent","alignItems","image","width","height","_ref","navigation","useEffect","timeoutId","setTimeout","replace","clearTimeout","_jsx","View","style","children","ImageBackground","source","resizeMode","HoatDong","backgroundColor","_jsxs","ScrollView","paddingTop","paddingBottom","flexDirection","paddingVertical","paddingHorizontal","marginBottom","marginHorizontal","Image","account","alignSelf","search","Text","color","fontSize","marginRight","position","top","left","marginTop","marginLeft","categories","id","title","require","banners","bannerChangeInterval","Platform","OS","Home","_useState","useState","_useState2","_slicedToArray","activeCategory","setActiveCategory","_useState3","_useState4","currentBannerIndex","setCurrentBannerIndex","_useState5","_useState6","apiData","setApiData","fetchDataFromApi","bannerInterval","setInterval","length","clearInterval","_ref2","_asyncToGenerator","response","axios","get","data","error","console","apply","arguments","SafeAreaView","containerHeader","avatar","styleAvatar","styleSearch","banner","styleBanner","styleText1","containerViandDrips","containerVi","styleText2","styleText3","containerDrips","FlatList","horizontal","showsHorizontalScrollIndicator","keyExtractor","item","toString","contentContainerStyle","flatListContainer","renderItem","_ref3","isActive","TouchableOpacity","onPress","navigate","categoryId","log","itemContainer","shadowColor","imageContainer","itemImage","textContainer","styleTextMenuItem","bannerImage","containerKm","cb1","styleCombo","cb2","borderRadius","fontWeight","fontFamily","styleIcon","iconWhite","tintColor","alignContent","padding","overflow","combo","products","name","priceS","priceM","priceL","note","categorie","ProductDetail","route","params","quantity","setQuantity","selectedSize","setSelectedSize","totalPrice","setTotalPrice","handleSizeChange","size","updateTotalPrice","newPrice","productImage","productName","productPrice","productNote","sizeButtonsContainer","sizeButton","TextInput","placeholder","borderWidth","borderColor","quantityContainer","newQuantity","quantityButton","margin","textAlign","sizePickerContainer","borderBottomWidth","borderBottomColor","sizePicker","productSize","quantityInput","DatHang","selectedCategory","setSelectedCategory","searchText","setSearchText","_useState7","_useState8","_useState9","Date","now","_useState10","flatListKey","_useState11","_useState12","filteredProducts","setFilteredProducts","x","filter","product","toLowerCase","includes","_toConsumableArray","scrollContainer","searchContainer","searchBar","searchInput","value","onChangeText","text","searchIcon","categoryListContainer","categoryItem","categoryImage","_ref4","productContainer","container2","categoryText","Button","mode","icon","textColor","contentStyle","labelStyle","marginVertical","body","sectionHeader","Pressable","sectionItemContainer","borderTopLeftRadius","borderTopRightRadius","Icon","borderBottomLeftRadius","borderBottomRightRadius","paddingLeft","paddingRight","stores","address","phone","isOpen","time","IconButton","iconColor","stateItem","openState","closeState","outline","right","transform","DATA","StoreItem","ItemSeparatorComponent","Tab","createBottomTabNavigator","MainApp","Navigator","tabBarOptions","tabBarActiveTintColor","tabBarInactiveTintColor","Screen","component","options","tabBarIcon","state","index","tabBarLabelStyle","fontStyle","headerShown","_ref5","_ref6","_ref7","Store","_ref8","_ref9","Other","_ref10","_ref11","phoneNumber","JSON","stringify","to","channel","fetch","method","headers","json","success","code","styleText","logo","containerText","buttonTiepTuc","imageFooter","containerFotter","google","fb","textFooter","footer","footer2","otpInput","button","buttonText","setValue","formattedValue","setFormattedValue","setOTP","setShowOTPInput","phoneInput","useRef","PhoneInput","ref","defaultValue","defaultCode","layout","onChangeFormattedText","countryPickerProps","withAlphaFilter","withShadow","autoFocus","onPressFlag","current","selectCountry","then","otp","catch","apple","setOTPInput","_Fragment","keyboardType","Stack","createNativeStackNavigator","App","NavigationContainer","initialRouteName","Login","HomeScreen","Otp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","leafPrototypes","getProto","getPrototypeOf","obj","t","this","ns","def","indexOf","getOwnPropertyNames","forEach","definition","o","defineProperty","enumerable","g","globalThis","Function","e","window","prop","prototype","hasOwnProperty","Symbol","toStringTag","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.dbe3c6b9.js.map b/static/js/main.dbe3c6b9.js.map deleted file mode 100644 index bfd114f..0000000 --- a/static/js/main.dbe3c6b9.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/main.dbe3c6b9.js","mappings":"qNAyBMA,EAASC,EAA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,GAAW,EAE5B,OAAO1D,EAAoBU,EAAEC,EAAO,EAGjCqD,EAAqBC,KAAsB,gBAAIA,KAAsB,iBAAK,GAC9ED,EAAmBvB,QAAQkB,EAAqBO,KAAK,KAAM,IAC3DF,EAAmBG,KAAOR,EAAqBO,KAAK,KAAMF,EAAmBG,KAAKD,KAAKF,G,KC7CvF,IAAII,EAAsBpE,EAAoBU,OAAEP,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7FoE,EAAsBpE,EAAoBU,EAAE0D,E","sources":["src/component/HomeSreen.js","src/component/Activity.js","src/data/index.js","src/component/Home.js","src/data/product.js","src/component/ProductDetail.js","src/component/Order.js","src/component/Other.js","src/data/store.js","src/component/StoreItem.js","src/component/Store.js","src/component/MainApp.js","src/api/verify.js","src/component/Login.js","src/component/Otp.js","App.js","webpack/bootstrap","webpack/runtime/chunk loaded","webpack/runtime/compat get default export","webpack/runtime/create fake namespace object","webpack/runtime/define property getters","webpack/runtime/global","webpack/runtime/hasOwnProperty shorthand","webpack/runtime/make namespace object","webpack/runtime/publicPath","webpack/runtime/jsonp chunk loading","webpack/startup"],"sourcesContent":["import React, { useEffect } from \"react\";\nimport { ImageBackground, StyleSheet, View } from \"react-native\";\nimport image from \"../image/background.jpg\"\n\nconst HomeScreen = ({ navigation }) => {\n useEffect(() => {\n // Chờ vài giây trước khi chuyển đến màn hình Home\n const delay = 2000; \n\n const timeoutId = setTimeout(() => {\n // Điều hướng đến màn hình Home sau khi kết thúc đợi\n navigation.replace(\"Login\");\n }, delay);\n\n // Hủy timeout nếu component bị hủy trước khi đợi kết thúc\n return () => clearTimeout(timeoutId);\n }, [navigation]);\n\n return (\n \n \n \n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n image: {\n flex: 1,\n width: \"100%\",\n height: \"100%\",\n },\n});\n\nexport default HomeScreen;\n","import React from \"react\";\nimport { View, ScrollView, Image, Text, } from \"react-native\";\nimport account from '../image/av.png';\nimport search from '../image/iconsearch.png'\nexport default function HoatDong(){\n return (\n \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{\"Đang diễn ra\"}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{\"Lịch sử đặt hàng\"}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{\"Không có dữ liệu\"}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n \n\t\t\n )\n}","export const categories = [\n {\n id: 1,\n title:\"CÀ PHÊ\\nTRUYỀN THỐNG\",\n image:require(\"../image/categories/cftt.png\")\n },\n {\n id: 2,\n title:\"CÀ PHÊ\\nPHA MÁY\",\n image:require(\"../image/categories/cfmay.png\")\n },\n {\n id: 3,\n title:\"TRÀ\",\n image:require(\"../image/categories/tra.png\")\n },\n {\n id: 4,\n title:\"PHINDI\",\n image:require(\"../image/categories/phindi.png\")\n },\n {\n id: 5,\n title:\"ĐÁ XAY\",\n image:require(\"../image/categories/daxay.png\")\n },\n {\n id: 6,\n title:\"THỨC UỐNG KHÁC\",\n image:require(\"../image/categories/thucuongkhac.png\")\n },\n {\n id: 7,\n title:\"BÁNH NGỌT\",\n image:require(\"../image/categories/banhngot.png\")\n },\n {\n id: 8,\n title:\"BÁNH MÌ\",\n image:require(\"../image/categories/banhmi.png\")\n },\n\n];\nexport const banners = [\n require(\"../image/banner/banner1.jpg\"),\n require(\"../image/banner/banner2.jpg\"),\n require(\"../image/banner/banner3.jpg\"),\n ];\n\n","import React, { useState,useEffect } from \"react\";\nimport { ScrollView, Button, Text, Image, View, StyleSheet, ImageBackground, Platform } from \"react-native\";\nimport { SafeAreaView } from 'react-native-safe-area-context';\nimport { FlatList, TouchableOpacity } from \"react-native\";\nimport axios from 'axios'; // Import thư viện axios\nimport avatar from \"../image/av.png\";\nimport search from \"../image/iconsearch.png\";\nimport banner from \"../image/banner.jpg\";\nimport cb1 from \"../image/combokm/cb1.jpg\"\nimport cb2 from \"../image/combokm/cb2.jpg\"\nimport { categories,banners } from '../data';\nconst bannerChangeInterval = 5000; // 5 giây\nconst ios = Platform.OS === 'ios';\nexport default function Home({ navigation }) {\n const [activeCategory, setActiveCategory] = useState(1);\n const [currentBannerIndex, setCurrentBannerIndex] = useState(0);\n const[apiData,setApiData]=useState([]);\n useEffect(() => {\n // Gọi API ở đây sau khi component đã được mount\n fetchDataFromApi();\n \n // Cập nhật banner sau mỗi khoảng thời gian\n const bannerInterval = setInterval(() => {\n setCurrentBannerIndex((currentBannerIndex + 1) % banners.length);\n }, bannerChangeInterval);\n\n return () => {\n clearInterval(bannerInterval);\n };\n }, [currentBannerIndex]);\n\n const fetchDataFromApi = async () => {\n try {\n const response = await axios.get('https://6562df38ee04015769a69d38.mockapi.io/categories'); // Thay URL_API bằng URL thực tế của API\n setApiData(response.data); // Lưu dữ liệu từ API vào state\n } catch (error) {\n console.error('Error fetching data:', error);\n }\n };\n return (\n \n \n \n \n \n \n \n \n Nguyễn Chí Cường\n THÀNH VIÊN\n \n \n \n Trả trước\n 0 đ\n \n \n \n Drips\n 0 đ\n \n \n \n \n \n \n item.id.toString()}\n contentContainerStyle={styles.flatListContainer}\n renderItem={({ item }) => {\n const isActive = item.id === activeCategory;\n return (\n {\n setActiveCategory(item.id);\n navigation.navigate(\"DatHang\", { categoryId: item.id }); \n console.log({categoryId: item.id })\n // Truyền ID của danh mục\n }} \n style={[\n styles.itemContainer,\n {\n backgroundColor:'#FFFFFF',\n shadowColor: isActive ? '#000' : 'transparent',\n },\n ]}\n >\n \n \n \n \n {item.title}\n \n \n \n );\n }}\n />\n \n \n \n \n \n \n \n \n TẶNG HỘI CHỊ EM\n Từ 13/10-20/10\n \n \n \n BÁNH NGON 25K\n Từ 16/10-18/10\n \n \n \n \n );\n \n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n width:\"100%\",\n },\n containerHeader: {\n flexDirection: 'row',\n },\n styleAvatar: {\n width: 50,\n height: 50,\n marginLeft: 10,\n marginTop: 5\n },\n styleSearch: {\n width: 40,\n height: 40,\n marginLeft: 290,\n marginTop:5\n },\n account: {\n width: 428,\n height: 250,\n backgroundColor: '#f0e2b1',\n marginTop: 10,\n justifyContent: 'center',\n alignItems: 'center',\n },\n styleBanner: {\n width: 380,\n height: 150,\n borderRadius: 10,\n },\n styleText1: {\n color: '#FFFFFF',\n fontSize: 12,\n fontWeight: '700',\n marginLeft: 10,\n marginTop: 10,\n fontFamily: 'Arial',\n },\n styleText2: {\n color: '#666666',\n fontSize: 12,\n fontWeight: '700',\n marginLeft: 10,\n marginTop: 10,\n fontFamily: 'Arial',\n },\n styleText3: {\n color: '#440000',\n fontSize: 12,\n fontWeight: '700',\n marginLeft: 10,\n marginTop: 10,\n fontFamily: 'Arial',\n },\n containerViandDrips: {\n marginTop: 20,\n flexDirection: 'row',\n justifyContent: 'space-between', // Đảm bảo khoảng cách đều nhau\n paddingHorizontal: 10, // Khoảng cách giữa Drips và Vi\n\n },\n containerVi: {\n width:150,\n height: 50,\n flexDirection: 'column',\n backgroundColor:\"#99CCFF\",\n borderRadius: 10,\n // shadowRadius: 5,\n marginLeft: 10,\n },\n containerDrips: {\n width:150,\n height: 50,\n flexDirection: 'column',\n backgroundColor:\"#CC99CC\",\n borderRadius: 10,\n // shadowRadius: 5,\n marginRight: 10,\n },\n styleIcon: {\n width: 20,\n height: 20,\n },\n iconWhite: {\n tintColor: '#FFFFFF',\n },\n flatListContainer: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n paddingHorizontal: 5,\n },\n itemContainer: {\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n alignContent: 'center',\n // padding: 4,\n },\n itemImage: {\n width: 70,\n height: 70,\n borderRadius: 25,\n },\n textContainer: {\n padding: 0,\n },\n imageContainer: {\n width: 90,\n height: 90,\n borderRadius: 50,\n overflow: 'hidden',\n flexDirection: 'column',\n alignItems: 'center',\n padding: 4,\n backgroundColor: '#FFFAF0',\n },\n styleTextMenuItem:{\n color: '#8B4513',\n fontSize: 12,\n fontWeight: '700',\n marginLeft: 10,\n marginTop: 10,\n fontFamily: 'Arial',\n },\n bannerImage: {\n width: 400,\n height: 100, \nmarginBottom:10,\nmarginTop:10,\nborderRadius:10,\n },\n styleCombo:{\n height:100,\n width:100\n },\n containerKm:{\n flexDirection:\"row\",\n // marginTop:10,\n marginLeft:10,\n \n },\n combo:{\n flexDirection:\"column\",\n alignContent:\"center\",\n justifyContent:\"center\"\n }\n});\n","export const products = [\n {\n id:1,\n name:\"Phin Đen Đá\",\n priceS:29000,\n priceM:35000,\n priceL:39000,\n note:\"Ly Cà Phê được pha hoàn toàn từ phin,thêm đường đá những vẫn cực đậm vị cà phê\",\n image:require('../image/product/phindenda.png'),\n categorie:1\n },\n {\n id:2,\n name:\"Phin Sữa Đá\",\n priceS:29000,\n priceM:35000,\n priceL:39000,\n note:\"Ly Cà Phê được pha hoàn toàn từ phin,thêm đường đá những vẫn cực đậm vị cà phê\",\n image:require('../image/product/phinsuada.png'),\n categorie:1\n },\n {\n id:3,\n name:\"Phin Đen Nóng\",\n priceS:29000,\n priceM:35000,\n priceL:39000,\n note:\"Ly Cà Phê được pha hoàn toàn từ phin,thêm đường đá những vẫn cực đậm vị cà phê\",\n image:require('../image/product/phindennong.png'),\n categorie:1\n },\n {\n id:4,\n name:\"Phin Sữa Nóng\",\n priceS:29000,\n priceM:35000,\n priceL:39000,\n note:\"Ly Cà Phê được pha hoàn toàn từ phin,thêm đường đá những vẫn cực đậm vị cà phê\",\n image:require('../image/product/phinsuanong.png'),\n categorie:1\n },\n {\n id:5,\n name:\"Mocha Nóng\",\n priceS:69000,\n priceM:79000,\n priceL:85000,\n note:\"Cà phê ấm nóng cùng với sự hòa quyện giữa vị đắng cà phê epresso và sốt socola, thêm ngọt ngào từ sữa tươi và nghệ thuật tạo hình trang trí đẳng cấp\",\n image:require('../image/product/mocha.png'),\n categorie:2\n },\n {\n id:6,\n name:\"CaramelMachiato Nóng\",\n priceS:69000,\n priceM:79000,\n priceL:85000,\n note:\"Cà phê ấm nóng cùng với sự hòa quyện giữa vị đắng cà phê epresso và sốt socola,thêm ngọt ngào từ sữa tươi và nghệ thuật tạo hình trang trí đẳng cấp\",\n image:require('../image/product/caramelmachiato.png'),\n categorie:2\n },\n {\n id:7,\n name:\"Latte Nóng\",\n priceS:65000,\n priceM:75000,\n priceL:79000,\n note:\"Cà phê ấm nóng cùng với sự hòa quyện giữa vị đắng cà phê epresso và sốt socola,thêm ngọt ngào từ sữa tươi và nghệ thuật tạo hình trang trí đẳng cấp\",\n image:require('../image/product/latte.png'),\n categorie:2\n },\n {\n id:8,\n name:\"Epresso Nóng\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Cà phê ấm nóng cùng với sự hòa quyện giữa vị đắng cà phê epresso và sốt socola,thêm ngọt ngào từ sữa tươi và nghệ thuật tạo hình trang trí đẳng cấp\",\n image:require('../image/product/epresso.png'),\n categorie:2\n },\n {\n id:9,\n name:\"Trà Quả Mọng Anh Đào\",\n priceS:59000,\n priceM:69000,\n priceL:75000,\n note:\"Trà thơm sánh đôi cùng quả mọng chua ngọt, thêm đài quả ngâm giòn giòn, sẵn sàng đánh tan cơn khát\",\n image:require('../image/product/traanhdao.png'),\n categorie:3\n },\n {\n id:10,\n name:\"Trà Sen Vàng Củ Năng\",\n priceS:45000,\n priceM:55000,\n priceL:65000,\n note:\"Từ Olong kết hợp với hương sen tươi thanh mát, thêm củ năng giòn ngọt và lớp kem mềm mại\",\n image:require('../image/product/trasen.png'),\n categorie:3\n },\n {\n id:11,\n name:\"Trà Thạch Đào\",\n priceS:45000,\n priceM:55000,\n priceL:65000,\n note:\"Sự hòa quyện giữa hương thơm đào và độ béo của sữa.Thêm ngon cùng topping thạch đào và miếng đào dai giòn\",\n image:require('../image/product/trathachdao.png'),\n categorie:3\n },\n {\n id:12,\n name:\"Trà Thanh Đào\",\n priceS:45000,\n priceM:55000,\n priceL:65000,\n note:\"Sự hào quyện giữa vị trà cao cấp, những miếng đào ngọt giòn thêm chút hương thanh mát của sả, thỏa mãn vị giác 100%\",\n image:require('../image/product/trathanhdao.png'),\n categorie:3\n },\n {\n id:13,\n name:\"Trà Xanh Đậu Đỏ\",\n priceS:45000,\n priceM:55000,\n priceL:65000,\n note:\"Vị trà xanh đăng đắng thanh mát,thêm độ ngọt vừa và mềm mại của đậu đỏ. Ngon ngọt nhưng không ngấy\",\n image:require('../image/product/traxanhdaudo.png'),\n categorie:3\n },\n {\n id:14,\n name:\"Trà Thạch Vải\",\n priceS:45000,\n priceM:55000,\n priceL:65000,\n note:\"Sự kết hợp giữa quả vải mọng nước và trà đen và thạch vải thơm hương vải\",\n image:require('../image/product/travai.png'),\n categorie:3\n },\n {\n id:15,\n name:\"PhinDi Hạt Dẻ Cười\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Cà phê phin với độ đậm cà phê vừa phải, đặc biệt thêm hạnh nhân bùi bùi, thơm ngon\",\n image:require('../image/product/hatde.png'),\n categorie:4\n },\n {\n id:16,\n name:\"PhinDi Choco\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Cà phê phin với độ đậm cà phê vừa phải, đặc biệt thêm hạnh nhân bùi bùi, thơm ngon\",\n image:require('../image/product/choco.png'),\n categorie:4\n },\n {\n id:17,\n name:\"PhinDi Kem Sữa\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Cà phê phin với độ đậm cà phê vừa phải, đặc biệt thêm hạnh nhân bùi bùi, thơm ngon\",\n image:require('../image/product/kemsua.png'),\n categorie:4\n },\n {\n id:18,\n name:\"PhinDi Hạnh Nhân\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Cà phê phin với độ đậm cà phê vừa phải, đặc biệt thêm hạnh nhân bùi bùi, thơm ngon\",\n image:require('../image/product/hanhnhan.png'),\n categorie:4\n },\n {\n id:19,\n name:\"Frezee Quả Mọng Anh Đào\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Kem béo hài hòa cùng với sự kết hợp của vị chua quả mọng\",\n image:require('../image/product/berry.png'),\n categorie:5\n },\n {\n id:20,\n name:\"Frezee Trà Xanh\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Kem béo hài hòa cùng với sự kết hợp của vị chua quả mọng\",\n image:require('../image/product/traxanh.png'),\n categorie:5\n },\n {\n id:21,\n name:\"Caramel Phin Freeze\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Kem béo hài hòa cùng với sự kết hợp của vị chua quả mọng\",\n image:require('../image/product/caramel.png'),\n categorie:5\n },\n {\n id:22,\n name:\"Frezee Sô Cô La\",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Kem béo hài hòa cùng với sự kết hợp của vị chua quả mọng\",\n image:require('../image/product/fchoco.png'),\n categorie:5\n },\n {\n id:23,\n name:\"Classic Phin Freeze \",\n priceS:45000,\n priceM:49000,\n priceL:55000,\n note:\"Kem béo hài hòa cùng với sự kết hợp của vị chua quả mọng\",\n image:require('../image/product/classic.png'),\n categorie:5\n },\n\n ]","import React, { useState } from \"react\";\nimport { View, ScrollView, Text, Image, TouchableOpacity, TextInput, Button,Picker } from \"react-native\";\n\nexport default function ProductDetail({ route }) {\n const { item } = route.params;\n const [quantity, setQuantity] = useState(1);\n const [selectedSize, setSelectedSize] = useState(\"S\"); // Mặc định là size \"S\"\n const [totalPrice, setTotalPrice] = useState(item.priceS *quantity); // Sử dụng state để lưu tổng giá tiền\n \n const handleIncrement = () => {\n const newQuantity = quantity + 1;\n setQuantity(newQuantity);\n updateTotalPrice(selectedSize, newQuantity);\n };\n\n const handleDecrement = () => {\n if (quantity > 1) {\n const newQuantity = quantity - 1;\n setQuantity(newQuantity);\n updateTotalPrice(selectedSize, newQuantity);\n }\n };\n\n const handleSizeChange = (size) => {\n setSelectedSize(size);\n updateTotalPrice(size, quantity);\n };\n\n const updateTotalPrice = (size, quantity) => {\n let newPrice = 0;\n if (size === \"S\") {\n newPrice = item.priceS;\n } else if (size === \"M\") {\n newPrice = item.priceM;\n } else if (size === \"L\") {\n newPrice = item.priceL;\n }\n const newTotalPrice = newPrice * quantity;\n setTotalPrice(newTotalPrice);\n };\n\n return (\n \n \n \n \n {item.name}\n \n {selectedSize === \"S\"\n ? item.priceS\n : selectedSize === \"M\"\n ? item.priceM\n : item.priceL}\n đ\n \n {item.note}\n \n handleSizeChange(\"S\")}\n >\n \n S\n \n \n\n handleSizeChange(\"M\")}\n >\n \n M\n \n \n handleSizeChange(\"L\")}\n >\n \n L\n \n \n \n \n Ghi chú\n \n \n \n \n {/* Size: {item.size} */}\n\n\n \n \n -\n \n \n \n {quantity}\n \n \n \n +\n \n \n \n \n \n \n {`Thêm ${totalPrice}đ`}\n \n \n \n\n \n \n );\n}\n\nconst styles = {\n container: {\n flex: 1,\n backgroundColor: \"#FFFFFF\",\n },\n sizePickerContainer: {\n margin: 10,\n borderBottomWidth: 1,\n borderBottomColor: \"#ddd\",\n },\n sizePicker: {\n height: 40,\n },\n productImage: {\n width: 200,\n height: 400,\n alignSelf: \"center\",\n },\n productName: {\n fontSize: 20,\n fontWeight: \"bold\",\n margin: 10,\n textAlign: \"center\",\n },\n productNote: {\n fontSize: 16,\n color: \"#888\",\n textAlign: \"center\",\n },\n productPrice: {\n fontSize: 18,\n color: \"#AA0000\",\n fontWeight: \"bold\",\n textAlign: \"center\",\n },\n productSize: {\n fontSize: 16,\n margin: 10,\n textAlign: \"center\",\n },\n quantityContainer: {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flex: 5,\n },\n quantityButton: {\n width: 30,\n height: 30,\n borderWidth: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n },\n quantityInput: {\n fontSize: 5,\n textAlign: \"center\",\n },\n sizeButtonsContainer: {\n flexDirection: \"row\",\n justifyContent: \"space-around\",\n margin: 10,\n marginTop:20\n },\n sizeButton: {\n width: 80,\n height: 50,\n borderRadius: 5,\n justifyContent: \"center\",\n alignItems: \"center\",\n // borderWidth: 1,\n },\n quantityContainer: {\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"center\",\n margin: 10,\n },\n quantityButton: {\n fontSize: 24,\n },\n quantityInput: {\n fontSize: 20,\n marginHorizontal: 20,\n },\n};\n","import React, { useState,useEffect } from \"react\";\nimport { View, ScrollView, Text, Image, TouchableOpacity, FlatList, TextInput, SectionList } from \"react-native\";\nimport search from '../image/iconsearch.png';\nimport axios from 'axios'; // Import thư viện axios\nimport { categories } from '../data'; // Import danh sách danh mục\nimport { products } from '../data/product'; // Import danh sách sản phẩm\nimport ProductDetail from \"./ProductDetail\";\nexport default function DatHang({navigation,route}) {\n const[apiData,setApiData]=useState([]);\n const [selectedCategory, setSelectedCategory] = useState(route.params ? route.params.categoryId : 1) ;\n const [searchText, setSearchText] = useState(\"\");\n const [selectedProduct, setSelectedProduct] = useState(null); // Thêm biến trạng thái selectedProduct\n const [flatListKey, setFlatListKey] = useState(Date.now().toString()); // Key cho FlatList\n const [filteredProducts, setFilteredProducts] = useState([]); // Danh sách sản phẩm sau khi lọc\n\nconsole.log(selectedCategory);\nconsole.log(\"sp sau lock>>:\",filteredProducts);\n useEffect(() => {\n\n let x =products.filter((product) => { \n // Lọc theo danh mục (selectedCategory) và tìm kiếm (searchText)\n //cái retrn này để làm j á trả về cái sản phẩm lọc được là\n return (\n (selectedCategory == null || product.categorie == selectedCategory) &&\n (searchText == \"\" ||\n product.name.toLowerCase().includes(searchText.toLowerCase()))\n );\n });\n console.log(\"sp sau lock efect>>:\",x);\n setFilteredProducts([...x]); // Khởi tạo danh sách sản phẩm sau khi lọc\n console.log(\"sp root>>:\",products);\n\n\n\n }, [selectedCategory]);\n\n// Lọc danh sách sản phẩm dựa trên danh mục và tìm kiếm\n\n const fetchDataFromApi = async () => {\n try {\n const response = await axios.get('https://6562df38ee04015769a69d38.mockapi.io/categories'); // Thay URL_API bằng URL thực tế của API\n setApiData(response.data); // Lưu dữ liệu từ API vào state\n } catch (error) {\n console.error('Error fetching data:', error);\n }\n };\n return (\n\n \n \n \n setSearchText(text)}\n />\n \n \n \n \n item.id.toString()}\n renderItem={({ item }) => {\n const isActive = item.id === selectedCategory;\n return (\n setSelectedCategory(item.id)}\n style={[\n styles.categoryItem,\n {\n shadowColor: selectedCategory === item.id ? \"#AA0000\" : \"#000000\",\n },\n ]}\n >\n \n \n {item.title}\n \n );\n }}\n />\n \n {/* Sử dụng FlatList để hiển thị danh sách sản phẩm */}\n\n\n item.id.toString()}\n renderItem={({ item }) => (\n //Khi sản phẩm được chọn\n navigation.navigate(\"ProductDetail\",{item}) }>\n \n \n \n \n \n {item.name}\n {item.note}\n \n \n {item.priceS}đ\n \n \n \n )}\n />\n\n\n \n );\n}\nconst styles = {\n container: {\n flex: 1,\n backgroundColor: \"#FFFFFF\",\n },\n container2: {\n flexDirection: \"row\",\n backgroundColor: \"#FFFFFF\",\n },\n scrollContainer: {\n flex: 1,\n backgroundColor: \"#ffffff\",\n },\n searchContainer: {\n backgroundColor: \"#ffffff\",\n paddingTop: 20,\n paddingHorizontal: 18,\n },\n searchBar: {\n flexDirection: \"row\",\n alignItems: \"center\",\n backgroundColor: \"#f8f8ff\",\n borderRadius: 10,\n // paddingVertical: 5,\n // paddingHorizontal: 8,\n height: 40,\n marginBottom: 15,\n },\n searchInput: {\n color: \"#dddddd\",\n fontSize: 15,\n marginRight: 4,\n flex: 1,\n height: 40,\n },\n searchIcon: {\n width: 19,\n height: 20,\n },\n categoryListContainer: {\n paddingHorizontal: 18,\n },\n categoryItem: {\n backgroundColor: '#FFFFFF',\n shadowColor: 'transparent',\n marginRight: 5,\n // padding: 10,\n borderRadius: 10,\n alignItems: 'center',\n },\n categoryImage: {\n width: 80,\n height: 80,\n marginBottom: 5,\n },\n categoryText: {\n textAlign: 'center',\n },\n // Styles for products\n productImage: {\n width: 100,\n height: 100,\n },\n productName: {\n fontSize: 16,\n fontWeight: 'bold',\n marginTop: 8,\n },\n productPrice: {\n fontSize: 14,\n color: '#AA0000',\n fontWeight:700\n },\n productNote: {\n fontSize: 12,\n color: '#888',\n },\n productContainer:{\n flexDirection: 'row',\n flex:1,\n borderWidth: 1, // Độ dày của viền\n borderColor: \"#ddd\", // Màu viền\n padding: 10, // Khoảng cách giữa viền và nội dung sản phẩm\n // marginBottom: 10, // Khoảng cách giữa các sản phẩm\n \n },\n product:{\n marginTop:0\n }\n };\n","import { StyleSheet, Text, View, ScrollView, Image, SafeAreaView, SectionList, Pressable } from 'react-native';\nimport React from 'react';\nimport { Button, Icon } from 'react-native-paper';\n\nconst Other = () => {\n return (\n \n \n Tiếng Việt\n \n \n \n \n Đặng Thị Quyền Cơ | THÀNH VIÊN\n \n \n DRIPS: 0\n \n \n \n \n Trả trước: 0 đ\n \n \n KÍCH HOẠT\n \n \n \n \n \n \n \n \n Tài Khoản\n \n \n \n Hồ Sơ\n \n \n \n \n Cài Đặt\n \n \n \n \n \n Tương Tác\n \n \n \n Hoạt Động\n \n \n \n \n \n Thông Tin Chung\n \n \n \n Chính sách/Policies\n \n \n \n \n CT Thành Viên/Loalty\n \n \n \n \n Giới Thiệu Về Phiên Bản Ứng Dụng\n \n \n \n \n \n Trung Tâm Trợ Giúp\n \n \n \n Câu Hỏi Thường Gặp\n \n \n \n \n Phản Hồi & Hỗ Trợ\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Other;\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n backgroundColor: '#B3282D',\n },\n body: {\n flex: 1,\n backgroundColor: 'rgb(215, 207, 207)',\n marginTop: 'auto',\n borderTopLeftRadius: 15,\n borderTopRightRadius: 15,\n paddingTop: 8,\n },\n sectionHeader: {\n fontSize: 24,\n fontWeight: '700',\n padding: 5,\n paddingLeft: 10,\n color: '#311111',\n },\n sectionItemContainer: {\n flexDirection: 'row',\n alignItems: 'center',\n backgroundColor: '#fff',\n height: 44,\n fontSize: 14,\n paddingRight: 10,\n },\n});\n","export const stores = [\n {\n image: require('../image/store/sala2.png'),\n name: 'Sala 2',\n address: '125 Nguyễn Cơ Thạch\\n Phường An Lợi Đông Quận 2',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala3.png'),\n name: 'Sarica Sala',\n address: 'No 06, D9 streeet\\n Phường An Lợi Đông Quận 2',\n phone: '(028) 3740 7777',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala4.png'),\n name: 'ViVo HCM',\n address: '1058 Nguyễn Văn Linh\\n Phường Tân Phong Quận 7',\n phone: '(028) 3740 8888',\n isOpen: false,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala2.png'),\n name: 'AQ',\n address: '39 Đường Mạc Đĩnh Chi\\n Phường Đa Kao Quận 1',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala3.png'),\n name: 'Vincom Thao Dien',\n address: '159 Xa Lộ Hà Nội\\n Phường Thảo Điền Quận 2',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 22:00',\n },\n {\n image: require('../image/store/sala2.png'),\n name: 'La Kai HCM',\n address: '98 Nguyễn Cơ Thạch\\n Phường An Lợi Đông Quận 2',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala3.png'),\n name: 'Tung Thien Vuong-HCM',\n address: '312 - 314 Võ Văn Kiệt\\n Phường Cô Giang Quận 1',\n phone: '(028) 3740 6666',\n isOpen: false,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala4.png'),\n name: 'Big C An Lac',\n address: '1231 Quốc Lộ 1A\\n Phường Bình Hưng Hòa Quận Bình Tân',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '09:00 - 22:00',\n },\n {\n image: require('../image/store/sala3.png'),\n name: 'Hoang Dieu 2 Thu Duc',\n address: '142, Hoàng Diệu 2 \\n Phường Linh Chiểu Quận Thủ Đức',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n {\n image: require('../image/store/sala3.png'),\n name: 'Viettel CMT8',\n address: '285 Cách Mạng Tháng 8\\n Phường 12 Quận 10',\n phone: '(028) 3740 6666',\n isOpen: true,\n time: '07:00 - 23:00',\n },\n];\n","import { Image, Text, View, StyleSheet } from 'react-native';\nimport React from 'react';\nimport { IconButton } from 'react-native-paper';\n\nconst StoreItem = ({ item }) => (\n \n \n \n {item.name}\n {item.address}\n \n \n {item.phone}\n \n \n \n {item.isOpen ? 'Mở' : 'Đóng'}\n \n {item.time}\n \n \n \n);\n\nexport default StoreItem;\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n },\n stateItem: {\n paddingHorizontal: 8,\n paddingVertical: 2,\n fontSize: 14,\n color: '#fff',\n borderRadius: 50,\n },\n openState: {\n backgroundColor: '#3FB644',\n },\n closeState: {\n backgroundColor: '#999',\n },\n});","import { FlatList, Image, StyleSheet, Text, TextInput, View, ScrollView } from 'react-native';\nimport React from 'react';\nimport { stores as DATA } from '../data/store';\nimport { SafeAreaView } from 'react-native-safe-area-context';\nimport StoreItem from './StoreItem';\n\nconst Store = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n BẢN ĐỒ\n \n \n \n }\n ItemSeparatorComponent={() => }\n />\n \n \n \n );\n};\n\nexport default Store;\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n },\n stateItem: {\n paddingHorizontal: 8,\n paddingVertical: 2,\n fontSize: 14,\n color: '#fff',\n borderRadius: 50,\n },\n openState: {\n backgroundColor: '#3FB644',\n },\n closeState: {\n backgroundColor: '#999',\n },\n});","import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';\nimport React from 'react';\nimport { Image } from 'react-native';\nimport Home from '../component/Home';\nimport HoatDong from '../component/Activity';\nimport HomeScreen from './HomeSreen';\nimport DatHang from './Order';\nimport Other from './Other';\nimport Store from './Store';\n\nconst Tab = createBottomTabNavigator();\nexport default function MainApp({ route }) {\n return (\n \n ({\n tabBarIcon: ({ color, size }) => (\n \n ),\n tabBarLabelStyle: { fontSize: 12, marginTop: 5, fontStyle: 'Regular', fontFamily: 'Roboto' },\n tabBarActiveTintColor: '#AA0000', // Màu khi mục đang được chọn\n tabBarInactiveTintColor: '#000000', // Màu khi mục không được chọn\n headerShown: false,\n })}\n />\n ({\n tabBarIcon: ({ color, size }) => (\n \n ),\n headerShown: false,\n tabBarLabelStyle: { fontSize: 12, marginTop: 5, fontStyle: 'Regular', fontFamily: 'Roboto' },\n tabBarActiveTintColor: '#AA0000', // Màu khi mục đang được chọn\n tabBarInactiveTintColor: '#000000', // Màu khi mục không được chọn\n })}\n />\n ({\n tabBarIcon: ({ color, size }) => (\n \n ),\n headerShown: false,\n tabBarLabelStyle: { fontSize: 12, marginTop: 5, fontStyle: 'Regular', fontFamily: 'Roboto' },\n tabBarActiveTintColor: '#AA0000', // Màu khi mục đang được chọn\n tabBarInactiveTintColor: '#000000', // Màu khi mục không được chọn\n })}\n />\n ({\n tabBarIcon: ({ color, size }) => (\n \n ),\n headerShown: false,\n tabBarLabelStyle: { fontSize: 12, marginTop: 5, fontStyle: 'Regular', fontFamily: 'Roboto' },\n tabBarActiveTintColor: '#AA0000', // Màu khi mục đang được chọn\n tabBarInactiveTintColor: '#000000', // Màu khi mục không được chọn\n })}\n />\n ({\n tabBarIcon: ({ color, size }) => (\n \n ),\n headerShown: false,\n tabBarLabelStyle: { fontSize: 12, marginTop: 5, fontStyle: 'Regular', fontFamily: 'Roboto' },\n tabBarActiveTintColor: '#AA0000', // Màu khi mục đang được chọn\n tabBarInactiveTintColor: '#000000', // Màu khi mục không được chọn\n })}\n />\n \n );\n}\n","import { BASE_URL } from \"@env\";\n\nexport const sendSmsVerification = async (phoneNumber) => {\n try {\n const data = JSON.stringify({\n to: phoneNumber,\n channel: \"sms\",\n });\n\n const response = await fetch(`${BASE_URL}/start-verify`, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: data,\n });\n\n const json = await response.json();\n return json.success;\n } catch (error) {\n console.error(error);\n return false;\n }\n};\n\nexport const checkVerification = async (phoneNumber, code) => {\n try {\n const data = JSON.stringify({\n to: phoneNumber,\n code,\n });\n\n const response = await fetch(`${BASE_URL}/check-verify`, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: data,\n });\n\n const json = await response.json();\n return json.success;\n } catch (error) {\n console.error(error);\n return false;\n }\n};\n\n// module.exports = {\n// sendSmsVerification,\n// checkVerification,\n// };\n","import React, { useState, useRef } from \"react\";\nimport { Image, StyleSheet, Text, TouchableOpacity, View ,TextInput} from \"react-native\";\nimport PhoneInput from \"react-native-phone-number-input\";\nimport logo from '../image/logo/logo.png';\nimport apple from '../image/logo/apple.png';\nimport fb from '../image/logo/fb.png';\nimport google from '../image/logo/google.png';\nimport { sendSmsVerification } from \"../api/verify\";\n\nconst Login = ({ navigation }) => {\n const [value, setValue] = useState(\"\");\n const [formattedValue, setFormattedValue] = useState(\"\");\n const [otp, setOTP] = useState('110402');\n const [otpInput, setOTPInput] = useState('');\n const [showOTPInput, setShowOTPInput] = useState(false);\n const phoneInput = useRef(null);\n\n const onPressFlag = () => {\n phoneInput.current.selectCountry();\n };\n\n const handleSendOTP = () => {\n const twilioFunctionUrl = 'https://hc-5776.twil.io/sendsms';\n fetch(twilioFunctionUrl, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n to: formattedValue,\n }),\n })\n .then(response => response.json())\n .then(data => {\n console.log(data.otp);\n setOTP(data.otp);\n setShowOTPInput(true);\n })\n .catch(error => {\n console.error(error);\n });\n };\n\n return (\n \n \n \n \n \n Bắt đầu cuộc hành trình của bạn\n \n setValue(text)}\n onChangeFormattedText={(text) => setFormattedValue(text)}\n countryPickerProps={{ withAlphaFilter: true }}\n withShadow\n autoFocus\n onPressFlag={onPressFlag}\n />\n \n Gửi mã\n \n navigation.navigate(\"Otp\")}\n >\n Tiếp tục xác nhận OTP\n \n \n \n \n \n \n \n \n \n \n \n navigation.navigate(\"MainApp\")}>\n TIẾP TỤC NHƯ KHÁCH\n \n \n \n Bạn đã có tài khoản?\n Đăng nhập\n \n \n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: \"#f0e2b1\",\n width: \"100%\",\n height: \"100%\",\n },\n styleText: {\n color: \"#4c2f16\",\n fontSize: 30,\n fontFamily: \"Roboto\",\n fontStyle: 'normal',\n fontWeight: '700',\n },\n logo: {\n width: 200,\n height: 200,\n },\n containerText: {\n marginTop: 10,\n marginBottom: 50,\n justifyContent: 'center',\n alignContent: 'center',\n alignItems: 'center',\n },\n buttonTiepTuc: {\n backgroundColor: \"#DDDDDD\",\n width: 350,\n height: 50,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 5,\n marginTop: 20,\n },\n imageFooter: {\n width: 50,\n height: 50,\n },\n containerFotter: {\n flexDirection: 'row',\n marginTop: 10,\n },\n google: {\n marginTop: 5,\n },\n fb: {\n marginLeft: 10\n },\n textFooter: {\n fontFamily: \"Roboto\",\n fontSize: 15,\n fontWeight: \"700\",\n color: \"#AA0000\"\n },\n footer: {\n marginTop: 20,\n },\n footer2: {\n flexDirection: 'row',\n marginTop: 150,\n },\n otpInput: {\n height: 40,\n borderColor: 'gray',\n borderWidth: 1,\n marginVertical: 10,\n paddingHorizontal: 10,\n },\n button: {\n backgroundColor: \"#DDDDDD\",\n width: 350,\n height: 50,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 5,\n marginTop: 20,\n },\n buttonText: {\n fontSize: 16,\n fontWeight: 'bold',\n },\n});\n\nexport default Login;\n","import React, { useState, useRef } from \"react\";\nimport { Image, StyleSheet, Text, TouchableOpacity, View ,TextInput} from \"react-native\";\nimport PhoneInput from \"react-native-phone-number-input\";\nimport logo from '../image/logo/logo.png';\nimport apple from '../image/logo/apple.png';\nimport fb from '../image/logo/fb.png';\nimport google from '../image/logo/google.png';\nimport { sendSmsVerification } from \"../api/verify\";\n\nconst Otp = ({ navigation }) => {\n const [value, setValue] = useState(\"\");\n const [formattedValue, setFormattedValue] = useState(\"\");\n const [otp, setOTP] = useState('110402');\n const [otpInput, setOTPInput] = useState('');\n const [showOTPInput, setShowOTPInput] = useState(false);\n const phoneInput = useRef(null);\n\n return (\n \n \n \n \n \n Bắt đầu cuộc hành trình của bạn\n \n <>\n setOTPInput(text)}\n value={otpInput}\n />\n navigation.navigate(\"MainApp\")}\n >\n Xác nhận OTP\n \n \n \n \n \n \n \n \n \n \n \n \n \n navigation.navigate(\"MainApp\")}>\n TIẾP TỤC NHƯ KHÁCH\n \n \n \n Bạn đã có tài khoản?\n Đăng nhập\n \n \n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\",\n alignItems: \"center\",\n backgroundColor: \"#f0e2b1\",\n width: \"100%\",\n height: \"100%\",\n },\n styleText: {\n color: \"#4c2f16\",\n fontSize: 30,\n fontFamily: \"Roboto\",\n fontStyle: 'normal',\n fontWeight: '700',\n },\n logo: {\n width: 200,\n height: 200,\n },\n containerText: {\n marginTop: 10,\n marginBottom: 50,\n justifyContent: 'center',\n alignContent: 'center',\n alignItems: 'center',\n },\n buttonTiepTuc: {\n backgroundColor: \"#DDDDDD\",\n width: 350,\n height: 50,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 5,\n marginTop: 20,\n },\n imageFooter: {\n width: 50,\n height: 50,\n },\n containerFotter: {\n flexDirection: 'row',\n marginTop: 10,\n },\n google: {\n marginTop: 5,\n },\n fb: {\n marginLeft: 10\n },\n textFooter: {\n fontFamily: \"Roboto\",\n fontSize: 15,\n fontWeight: \"700\",\n color: \"#AA0000\"\n },\n footer: {\n marginTop: 20,\n },\n footer2: {\n flexDirection: 'row',\n marginTop: 150,\n },\n otpInput: {\n height: 40,\n borderColor: 'gray',\n borderWidth: 1,\n marginVertical: 10,\n paddingHorizontal: 10,\n },\n button: {\n backgroundColor: \"#DDDDDD\",\n width: 350,\n height: 50,\n alignItems: 'center',\n justifyContent: 'center',\n borderRadius: 5,\n marginTop: 20,\n },\n buttonText: {\n fontSize: 16,\n fontWeight: 'bold',\n },\n});\n\nexport default Otp;\n","import React from 'react';\nimport { NavigationContainer } from '@react-navigation/native';\nimport { createNativeStackNavigator } from '@react-navigation/native-stack';\nimport HomeScreen from \"./src/component/HomeSreen\";\n// import Home from \"./src/component/Home\";\nimport HoatDong from './src/component/Activity';\nimport MainApp from \"./src/component/MainApp\"\nimport Login from \"./src/component/Login\"\nimport DatHang from \"./src/component/Order\"\nimport ProductDetail from './src/component/ProductDetail';\nimport Other from './src/component/Other';\nimport Otp from './src/component/Otp';\n\nconst Stack = createNativeStackNavigator();\n\nexport default function App() {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/AppHighLand/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkweb\"] = self[\"webpackChunkweb\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [466], () => (__webpack_require__(565)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["styles","StyleSheet","create","container","flex","justifyContent","alignItems","image","width","height","_ref","navigation","useEffect","timeoutId","setTimeout","replace","clearTimeout","_jsx","View","style","children","ImageBackground","source","resizeMode","HoatDong","backgroundColor","_jsxs","ScrollView","paddingTop","paddingBottom","flexDirection","paddingVertical","paddingHorizontal","marginBottom","marginHorizontal","Image","account","alignSelf","search","Text","color","fontSize","marginRight","position","top","left","marginTop","marginLeft","categories","id","title","require","banners","bannerChangeInterval","Platform","OS","Home","_useState","useState","_useState2","_slicedToArray","activeCategory","setActiveCategory","_useState3","_useState4","currentBannerIndex","setCurrentBannerIndex","_useState5","_useState6","apiData","setApiData","fetchDataFromApi","bannerInterval","setInterval","length","clearInterval","_ref2","_asyncToGenerator","response","axios","get","data","error","console","apply","arguments","SafeAreaView","containerHeader","avatar","styleAvatar","styleSearch","banner","styleBanner","styleText1","containerViandDrips","containerVi","styleText2","styleText3","containerDrips","FlatList","horizontal","showsHorizontalScrollIndicator","keyExtractor","item","toString","contentContainerStyle","flatListContainer","renderItem","_ref3","isActive","TouchableOpacity","onPress","navigate","categoryId","log","itemContainer","shadowColor","imageContainer","itemImage","textContainer","styleTextMenuItem","bannerImage","containerKm","cb1","styleCombo","cb2","borderRadius","fontWeight","fontFamily","styleIcon","iconWhite","tintColor","alignContent","padding","overflow","combo","products","name","priceS","priceM","priceL","note","categorie","ProductDetail","route","params","quantity","setQuantity","selectedSize","setSelectedSize","totalPrice","setTotalPrice","handleSizeChange","size","updateTotalPrice","newPrice","productImage","productName","productPrice","productNote","sizeButtonsContainer","sizeButton","TextInput","placeholder","borderWidth","borderColor","quantityContainer","newQuantity","quantityButton","margin","textAlign","sizePickerContainer","borderBottomWidth","borderBottomColor","sizePicker","productSize","quantityInput","DatHang","selectedCategory","setSelectedCategory","searchText","setSearchText","_useState7","_useState8","_useState9","Date","now","_useState10","flatListKey","_useState11","_useState12","filteredProducts","setFilteredProducts","x","filter","product","toLowerCase","includes","_toConsumableArray","scrollContainer","searchContainer","searchBar","searchInput","value","onChangeText","text","searchIcon","categoryListContainer","categoryItem","categoryImage","_ref4","productContainer","container2","categoryText","Button","mode","icon","textColor","contentStyle","labelStyle","marginVertical","body","sectionHeader","Pressable","sectionItemContainer","borderTopLeftRadius","borderTopRightRadius","Icon","borderBottomLeftRadius","borderBottomRightRadius","paddingLeft","paddingRight","stores","address","phone","isOpen","time","IconButton","iconColor","stateItem","openState","closeState","outline","right","transform","DATA","StoreItem","ItemSeparatorComponent","Tab","createBottomTabNavigator","MainApp","Navigator","tabBarOptions","tabBarActiveTintColor","tabBarInactiveTintColor","Screen","component","options","tabBarIcon","state","index","tabBarLabelStyle","fontStyle","headerShown","_ref5","_ref6","_ref7","Store","_ref8","_ref9","Other","_ref10","_ref11","phoneNumber","JSON","stringify","to","channel","fetch","method","headers","json","success","code","styleText","logo","containerText","buttonTiepTuc","imageFooter","containerFotter","google","fb","textFooter","footer","footer2","otpInput","button","buttonText","setValue","formattedValue","setFormattedValue","setOTP","setShowOTPInput","phoneInput","useRef","PhoneInput","ref","defaultValue","defaultCode","layout","onChangeFormattedText","countryPickerProps","withAlphaFilter","withShadow","autoFocus","onPressFlag","current","selectCountry","then","otp","catch","apple","setOTPInput","_Fragment","keyboardType","Stack","createNativeStackNavigator","App","NavigationContainer","initialRouteName","Login","HomeScreen","Otp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","leafPrototypes","getProto","getPrototypeOf","obj","t","this","ns","def","indexOf","getOwnPropertyNames","forEach","definition","o","defineProperty","enumerable","g","globalThis","Function","e","window","prop","prototype","hasOwnProperty","Symbol","toStringTag","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","push","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file