From de3c96e5da21205a10bea02c34c518b1e68eb335 Mon Sep 17 00:00:00 2001
From: Eum SeungJu <109807198+sjsjmine129@users.noreply.github.com>
Date: Sun, 2 Jun 2024 00:01:41 +0900
Subject: [PATCH] Fix (#53)
---
android/app/src/main/assets/index.android.bundle | 6 +++---
src/components/MapDart.js | 1 +
src/screens/list/ListMainScreen.js | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/android/app/src/main/assets/index.android.bundle b/android/app/src/main/assets/index.android.bundle
index 4e0b64f..0720f16 100644
--- a/android/app/src/main/assets/index.android.bundle
+++ b/android/app/src/main/assets/index.android.bundle
@@ -741,7 +741,7 @@ __d((function(g,_r,_i,_a,m,_e,d){var t=_r(d[0]);Object.defineProperty(_e,"__esMo
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var r=e(_r(d[1])),t=e(_r(d[2])),n=e(_r(d[3])),a=e(_r(d[4])),i=e(_r(d[5])),o=((function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n)})(_r(d[6])),e(_r(d[7]))),u=e(_r(d[8])),f=e(_r(d[9])),l=_r(d[10]);function c(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(c=function(e){return e?t:r})(e)}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(s=function(){return!!e})()}var p=_e.default=(function(e){function u(){return(0,r.default)(this,u),e=this,t=u,i=arguments,t=(0,a.default)(t),(0,n.default)(e,s()?Reflect.construct(t,i||[],(0,a.default)(e).constructor):t.apply(e,i));var e,t,i}return(0,i.default)(u,e),(0,t.default)(u,[{key:"render",value:function(){var e=this,r=this.props,t=r.id,n=r.viewBox,a=r.preserveAspectRatio,i=r.refX,u=r.refY,c=r.markerUnits,s=r.orient,p=r.markerWidth,v=r.markerHeight,h=r.children,k={name:t,refX:i,refY:u,markerUnits:c,orient:String(s),markerWidth:p,markerHeight:v};return(0,l.jsx)(f.default,Object.assign({ref:function(r){return e.refMethod(r)}},k,(0,o.default)({viewBox:n,preserveAspectRatio:a}),{children:h}))}}])})(u.default);p.displayName='Marker',p.defaultProps={refX:0,refY:0,orient:'0',markerWidth:3,markerHeight:3,markerUnits:'strokeWidth'}}),693,[1,5,6,10,14,15,153,674,652,637,194]);
__d((function(g,_r,_i,_a,m,_e,d){var t=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var e=t(_r(d[1])),r=t(_r(d[2])),n=t(_r(d[3])),u=t(_r(d[4])),o=t(_r(d[5])),a=((function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=l(e);if(r&&r.has(t))return r.get(t);var n={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&{}.hasOwnProperty.call(t,o)){var a=u?Object.getOwnPropertyDescriptor(t,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=t[o]}n.default=t,r&&r.set(t,n)})(_r(d[6])),t(_r(d[7]))),f=t(_r(d[8])),i=_r(d[9]);function l(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(l=function(t){return t?r:e})(t)}function c(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(c=function(){return!!t})()}var p=_e.default=(function(t){function a(){return(0,e.default)(this,a),t=this,r=a,o=arguments,r=(0,u.default)(r),(0,n.default)(t,c()?Reflect.construct(r,o||[],(0,u.default)(t).constructor):r.apply(t,o));var t,r,o}return(0,o.default)(a,t),(0,r.default)(a,[{key:"render",value:function(){var t=this,e=this.props,r=e.x,n=e.y,u=e.width,o=e.height,a=e.children,l={x:r,y:n,width:u,height:o};return(0,i.jsx)(f.default,Object.assign({ref:function(e){return t.refMethod(e)}},(0,_r(d[10]).withoutXY)(this,e),l,{children:a}))}}])})(a.default);p.displayName='ForeignObject',p.defaultProps={x:'0%',y:'0%',width:'100%',height:'100%'}}),694,[1,5,6,10,14,15,153,675,632,194,656]);
__d((function(g,r,i,a,m,e,d){}),695,[]);
-__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.svgXml=void 0;e.svgXml={baricon:{home:"\n \n ",map:"\n \n ",list:"\n \n ",prifile:"\n \n ",homeColor:"\n \n ",mapColor:"\n \n ",listColor:"\n \n ",prifileColor:"\n \n "},button:{goback:"\n \n ",gobackGray:"\n \n ",passwordNotShow:"\n \n ",passwordShow:"\n \n ",goForward:"\n \n "},marker:{_1:"\n \n ",_2:"\n \n ",_3:"\n \n",_4:"\n\n",_5:"\n\n",_6:"\n\n"},icon:{noImage:"\n \n ",star:"\n \n ",heart:"\n \n ",starFill:"\n \n ",starEmpty:"\n \n ",shop:"\n \n ",shopColor:"\n \n ",search:"\n \n ",persent:"\n \n ",presentColor:"\n \n ",emptyHeart:"\n \n ",emptyHeartColor:"\n \n ",compass:"\n \n ",gps:"\n \n ",refresh:"\n \n ",Color:"\n \n ",arrowDown:"\n \n ",persentBlack:"\n \n ",starBlack:"\n \n ",starGrey:"\n \n ",heartGrey:"\n \n ",emptyHeartGrey:"\n \n ",camera:"\n \n ",prodileDefault:"\n \n",reviewCamera:"\n ",phone:"\n \n ",pen:"\n \n ",location:"\n \n ",clock:"\n \n ",emptyStar:"\n \n ",emptyStarColor:"\n \n ",price:"\n \n ",priceColor:"\n \n ",reply:"\n \n ",replyColor:"\n \n ",filterColor:"\n \n ",filter:"\n \n ",close:"\n \n ",naver:"\n \n ",thumbupOn:"\n \n ",thumbupOff:"\n \n "}}}),696,[]);
+__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.svgXml=void 0;e.svgXml={baricon:{home:"\n \n ",map:"\n \n ",list:"\n \n ",prifile:"\n \n ",homeColor:"\n \n ",mapColor:"\n \n ",listColor:"\n \n ",prifileColor:"\n \n "},button:{goback:"\n \n ",gobackGray:"\n \n ",passwordNotShow:"\n \n ",passwordShow:"\n \n ",goForward:"\n \n "},marker:{_1:"\n \n ",_2:"\n \n ",_3:"\n \n",_4:"\n\n",_5:"\n\n",_6:"\n\n"},icon:{noImage:"\n \n ",star:"\n \n ",heart:"\n \n ",starFill:"\n \n ",starEmpty:"\n \n ",shop:"\n \n ",shopColor:"\n \n ",search:"\n \n ",persent:"\n \n ",presentColor:"\n \n ",emptyHeart:"\n \n ",emptyHeartColor:"\n \n ",compass:"\n \n ",gps:"\n \n ",refresh:"\n \n ",Color:"\n \n ",arrowDown:"\n \n ",persentBlack:"\n \n ",starBlack:"\n \n ",starGrey:"\n \n ",heartGrey:"\n \n ",emptyHeartGrey:"\n \n ",camera:"\n \n ",prodileDefault:"\n \n",reviewCamera:"\n ",phone:"\n \n ",pen:"\n \n ",location:"\n \n ",clock:"\n \n ",emptyStar:"\n \n ",emptyStarColor:"\n \n ",price:"\n \n ",priceColor:"\n \n ",reply:"\n \n ",replyColor:"\n \n ",filterColor:"\n \n ",filter:"\n \n ",close:"\n \n ",naver:"\n \n ",thumbupOn:"\n \n ",thumbupOff:"\n \n "}}}),696,[]);
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=(0,_r(d[12]).useNavigation)(),c=(0,r.useState)(''),f=(0,n.default)(c,2),h=f[0],x=f[1],y=(0,r.useState)(!0),O=(0,n.default)(y,2),j=O[0],b=O[1],C=(function(){var n=(0,t.default)((function*(){console.log('email:',h);try{var t=yield i.default.post("http://13.124.226.226/v1/users/email/send",{email:h,sendType:'RESET_PASSWORD'});console.log('response:',t.data),'SUCCESS'===t.data.result&&e.navigate('CheckEmail2',{email:h})}catch(e){o.default.show({type:'error',text1:'Error',text2:e.response.data.message})}}));return function(){return n.apply(this,arguments)}})();return(0,r.useEffect)((function(){h&&j?b(!1):h||j||b(!0)}),[h]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(l.default,{title:'\ube44\ubc00\ubc88\ud638 \ucc3e\uae30',isBackButton:!0}),(0,u.jsx)(a.TouchableWithoutFeedback,{onPress:a.Keyboard.dismiss,accessible:!1,children:(0,u.jsxs)(a.View,{style:p.entire,children:[(0,u.jsx)(a.View,{style:p.container,children:(0,u.jsxs)(a.View,{style:p.textAndInput,children:[(0,u.jsx)(a.Text,{style:p.samllText,children:"\uc774\uba54\uc77c \uc8fc\uc18c"}),(0,u.jsx)(a.TextInput,{placeholderTextColor:_r(d[13]).COLOR_GRAY,autoCapitalize:"none",keyboardType:"email-address",onChangeText:function(e){x(e)},value:h,style:p.textinputBox})]})}),(0,u.jsx)(a.View,{style:{height:20}}),(0,u.jsx)(s.default,{text:"\ube44\ubc00\ubc88\ud638 \ucd08\uae30\ud654 \uba54\uc77c \ubc1c\uc1a1",action:C,disable:j})]})})]})};var t=e(_r(d[1])),n=e(_r(d[2])),r=f(_r(d[3])),a=_r(d[4]),o=e(_r(d[5])),i=(e(_r(d[6])),f(_r(d[7]))),l=e(_r(d[8])),s=e(_r(d[9])),u=(e(_r(d[10])),_r(d[11]));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}var p=a.StyleSheet.create({entire:{flex:1,backgroundColor:_r(d[13]).COLOR_BACKGROUND,alignItems:'center'},container:{width:'90%',alignItems:'center',justifyContent:'center',marginTop:160,marginHorizontal:16},textAndInput:{width:'100%',alignItems:'flex-start',justifyContent:'center'},samllText:{color:_r(d[13]).COLOR_PRIMARY,fontSize:14,textAlign:'center',paddingVertical:4,fontFamily:'NanumSquareRoundB',marginBottom:8},textinputBox:{height:50,borderColor:'#F8F8F8',borderWidth:1,borderRadius:5,paddingHorizontal:15,backgroundColor:_r(d[13]).COLOR_HOME_BACKGROUND,fontSize:16,width:'100%'},showButton:{position:'absolute',right:0,top:0,padding:5,justifyContent:'center',alignItems:'center'}})}),697,[1,339,26,153,2,445,442,472,623,523,439,194,524,444]);
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=(0,_r(d[13]).useNavigation)(),f=(0,o.useState)(''),h=(0,n.default)(f,2),y=h[0],j=h[1],w=(0,o.useState)(''),T=(0,n.default)(w,2),C=T[0],v=T[1],O=(0,o.useState)(''),S=(0,n.default)(O,2),b=S[0],R=S[1],_=(0,o.useState)(!0),A=(0,n.default)(_,2),B=A[0],I=A[1],V=(0,o.useState)(''),E=(0,n.default)(V,2),P=E[0],z=E[1],k=(0,o.useState)(!0),G=(0,n.default)(k,2),L=G[0],N=G[1],F=(0,o.useState)(!0),M=(0,n.default)(F,2),X=M[0],Y=M[1],W=(0,o.useRef)(null),D=(0,o.useRef)(null),U=(0,o.useRef)(null),H=(0,o.useRef)(null);(0,o.useContext)(u.default);(0,o.useEffect)((function(){y&&C&&b&&X&&P&&b===P?Y(!1):y&&C&&b&&P&&b===P||X||Y(!0)}),[y,C,b,P]);var K=(function(){var n=(0,t.default)((function*(){console.log('name:',y),console.log('email:',C),console.log('password:',b);try{var t=yield r.default.post("http://13.124.226.226/v1/users/email/send",{email:C,sendType:'SIGN_UP'});console.log('response:',t.data),'SUCCESS'===t.data.result&&e.navigate('CheckEmail',{name:y,email:C,password:b})}catch(e){console.log(e.response.data),c.default.show({type:'error',text1:'Error',text2:e.response.data.message})}}));return function(){return n.apply(this,arguments)}})();return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(a.default,{title:'\ud68c\uc6d0\uac00\uc785',isBackButton:!0}),(0,x.jsx)(l.TouchableWithoutFeedback,{onPress:l.Keyboard.dismiss,accessible:!1,children:(0,x.jsxs)(l.View,{style:p.entire,children:[(0,x.jsxs)(l.View,{style:p.container,children:[(0,x.jsxs)(l.View,{style:p.textAndInput,children:[(0,x.jsx)(l.Text,{style:p.samllText,children:"\uc774\ub984"}),(0,x.jsx)(l.TextInput,{ref:W,onSubmitEditing:function(){D.current.focus()},autoCapitalize:"none",placeholderTextColor:_r(d[14]).COLOR_GRAY,onChangeText:function(e){j(e)},value:y,style:p.textinputBox})]}),(0,x.jsx)(l.View,{style:{height:15}}),(0,x.jsxs)(l.View,{style:p.textAndInput,children:[(0,x.jsx)(l.Text,{style:p.samllText,children:"\uc774\uba54\uc77c \uc8fc\uc18c"}),(0,x.jsx)(l.TextInput,{ref:D,onSubmitEditing:function(){U.current.focus()},keyboardType:"email-address",autoCapitalize:"none",placeholderTextColor:_r(d[14]).COLOR_GRAY,onChangeText:function(e){v(e)},value:C,style:p.textinputBox})]}),(0,x.jsx)(l.View,{style:{height:15}}),(0,x.jsxs)(l.View,{style:p.textAndInput,children:[(0,x.jsx)(l.Text,{style:p.samllText,children:"\ube44\ubc00\ubc88\ud638"}),(0,x.jsx)(l.TextInput,{ref:U,onSubmitEditing:function(){H.current.focus()},secureTextEntry:B,autoCapitalize:"none",placeholderTextColor:_r(d[14]).COLOR_GRAY,onChangeText:function(e){R(e)},value:b,style:p.textinputBox}),(0,x.jsx)(s.default,{style:p.showButton,onPress:function(){I(!B)},children:(0,x.jsx)(_r(d[15]).SvgXml,{width:20,height:20,xml:B?_r(d[16]).svgXml.button.passwordShow:_r(d[16]).svgXml.button.passwordNotShow})})]}),(0,x.jsx)(l.View,{style:{height:15}}),(0,x.jsxs)(l.View,{style:p.textAndInput,children:[(0,x.jsx)(l.Text,{style:p.samllText,children:"\ube44\ubc00\ubc88\ud638 \ud655\uc778"}),(0,x.jsx)(l.TextInput,{ref:H,secureTextEntry:L,autoCapitalize:"none",placeholderTextColor:_r(d[14]).COLOR_GRAY,onChangeText:function(e){z(e)},value:P,style:p.textinputBox}),(0,x.jsx)(s.default,{style:p.showButton,onPress:function(){N(!L)},children:(0,x.jsx)(_r(d[15]).SvgXml,{width:20,height:20,xml:L?_r(d[16]).svgXml.button.passwordShow:_r(d[16]).svgXml.button.passwordNotShow})})]})]}),(0,x.jsx)(l.View,{style:{height:50}}),(0,x.jsx)(i.default,{text:b===P?(q=b,Z=/[a-zA-Z]/.test(q),$=/\d/.test(q),J=/[!@#$%^&*(),.?":{}|<>]/.test(q),Z&&$&&J?'\ud68c\uc6d0\uac00\uc785':'\uc601\uc5b4, \uc22b\uc790, \ud2b9\uc218\ubb38\uc790\uac00 \ud3ec\ud568\ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4.'):'\ube44\ubc00\ubc88\ud638\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4',action:K,disable:X}),(0,x.jsxs)(l.View,{style:{marginTop:12,padding:4},children:[(0,x.jsx)(l.Text,{style:p.samllText2,children:'\uac00\uc785\ud558\uc2dc\uba74 \uc774\uc6a9\uc57d\uad00 \ubc0f \uac1c\uc778\uc815\ubcf4 \ubcf4\ud638\uc815\ucc45\uc5d0'}),(0,x.jsx)(l.Text,{style:[p.samllText2,{marginTop:-5}],children:'\uc790\ub3d9\uc73c\ub85c \ub3d9\uc758\ud558\uac8c \ub429\ub2c8\ub2e4.'})]})]})})]});var q,Z,$,J};var t=e(_r(d[1])),n=e(_r(d[2])),o=h(_r(d[3])),l=_r(d[4]),s=e(_r(d[5])),r=h(_r(d[6])),a=e(_r(d[7])),i=e(_r(d[8])),u=(e(_r(d[9])),e(_r(d[10]))),c=e(_r(d[11])),x=_r(d[12]);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&{}.hasOwnProperty.call(e,s)){var r=l?Object.getOwnPropertyDescriptor(e,s):null;r&&(r.get||r.set)?Object.defineProperty(o,s,r):o[s]=e[s]}return o.default=e,n&&n.set(e,o),o}var p=l.StyleSheet.create({entire:{flex:1,backgroundColor:_r(d[14]).COLOR_BACKGROUND,alignItems:'center',justifyContent:'center'},container:{width:'90%',alignItems:'center',justifyContent:'center',marginHorizontal:16},textAndInput:{width:'100%',alignItems:'flex-start',justifyContent:'center'},samllText:{color:_r(d[14]).COLOR_PRIMARY,fontSize:14,textAlign:'center',paddingVertical:4,fontFamily:'NanumSquareRoundB',marginBottom:8},samllText2:{color:_r(d[14]).COLOR_TEXT70GRAY,fontSize:14,textAlign:'center',marginBottom:8,fontFamily:'NanumSquareRoundB'},textinputBox:{height:50,borderColor:'#F8F8F8',borderWidth:1,borderRadius:5,paddingHorizontal:15,backgroundColor:_r(d[14]).COLOR_HOME_BACKGROUND,fontSize:16,width:'100%'},showButton:{position:'absolute',right:10,bottom:8,padding:5,justifyContent:'center',alignItems:'center'}})}),698,[1,339,26,153,2,442,472,623,523,517,439,445,194,524,444,624,696]);
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var f,w,v=(0,_r(d[13]).useNavigation)(),j=(0,n.useContext)(l.default),R=e.route,p=(null==(f=R.params)||null==(w=f.data)?void 0:w.id)||2,O=(0,n.useState)(null),C=(0,i.default)(O,2),S=C[0],I=C[1],B=(0,n.useState)(!1),L=(0,i.default)(B,2),V=L[0],b=L[1],A=(0,n.useState)(0),_=(0,i.default)(A,2),k=_[0],N=_[1],X=(0,n.useState)([]),z=(0,i.default)(X,2),D=z[0],F=z[1],E=(0,n.useState)([]),G=(0,i.default)(E,2),P=G[0],M=G[1],H=(0,n.useState)([]),Y=(0,i.default)(H,2),K=Y[0],q=Y[1],$=(0,n.useState)([]),U=(0,i.default)($,2),W=U[0],J=U[1],Q=(0,n.useState)(4),Z=(0,i.default)(Q,2),ee=Z[0],te=Z[1],ie=(0,n.useState)(4),ne=(0,i.default)(ie,2),re=ne[0],oe=ne[1],ae=(0,n.useState)(!1),se=(0,i.default)(ae,2),le=se[0],ce=se[1];(0,_r(d[13]).useFocusEffect)((0,n.useCallback)((function(){ue()}),[])),(0,n.useEffect)((function(){q(D.slice(0,ee))}),[D,ee]),(0,n.useEffect)((function(){J(P.slice(0,re))}),[P,re]);var ue=(function(){var e=(0,t.default)((function*(){console.log('Id: ',p);try{var e=yield c.default.get(`http://13.124.226.226/v1/restaurants/${p}`,{headers:{Authorization:`Bearer ${j.accessToken}`}}),t=yield c.default.get(`http://13.124.226.226/v1/restaurants/${p}/reviews`,{headers:{Authorization:`Bearer ${j.accessToken}`}}),i=e.data.data,n=t.data.data;console.log('storedata: ',i),I(i),b(i.restaurant.isLike),N(i.restaurant.likeCount),F(i.restaurant.detailInfo.menus),M(n.reviews.content)}catch(e){console.error('Error fetching restaurant details:',e)}}));return function(){return e.apply(this,arguments)}})(),de=(function(){var e=(0,t.default)((function*(){try{var e=!V;b(e),N(e?k+1:k-1);var t=yield c.default.post(`http://13.124.226.226/v1/restaurants/${p}/like`,{isLike:e},{headers:{Authorization:`Bearer ${j.accessToken}`}});console.log('isLike: ',t.data)}catch(e){console.error('Error updating heart count:',e)}}));return function(){return e.apply(this,arguments)}})(),he=function(e){h.default.setString(e),r.Alert.alert('\ud074\ub9bd\ubcf4\ub4dc\uc5d0 \ubcf5\uc0ac\ub418\uc5c8\uc2b5\ub2c8\ub2e4.')},me=(function(){var e=(0,t.default)((function*(e){try{var t=!e.item.isLike,i=P.map((function(i){return i.id===e.item.id?Object.assign({},i,{isLike:t,likeCount:t?i.likeCount+1:i.likeCount-1}):i}));M(i);var n=yield c.default.post(`http://13.124.226.226/v1/restaurants/reviews/${e.item.id}/like`,{isLike:t},{headers:{Authorization:`Bearer ${j.accessToken}`}});console.log('isReviewLike: ',n.data)}catch(t){o.default.show({type:'error',text1:'Error',text2:t.response.data.message});var r=P.map((function(t){return t.id===e.item.id?Object.assign({},t,{isLike:e.item.isLike,likeCount:e.item.likeCount}):t}));M(r)}}));return function(t){return e.apply(this,arguments)}})(),ge=function(){te(ee+4)},xe=function(){oe(re+4)};if(!S)return(0,x.jsx)(r.Text,{children:"Loading..."});var fe=function(e){var t=e.item;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(r.View,{style:T.sectionItem,children:[(0,x.jsx)(r.View,{style:{position:'absolute',opacity:1,width:90,height:90,borderRadius:12,marginVertical:12},children:(0,x.jsx)(_r(d[14]).SvgXml,{xml:_r(d[15]).svgXml.icon.noImage,width:90,height:90,style:{marginTop:5}})}),(0,x.jsx)(u.default,{swipeToDismiss:!0,modalImageResizeMode:"contain",imageBackgroundColor:"transparent",overlayBackgroundColor:"rgba(32, 32, 32, 0.9)",source:{uri:t.imageUrl},style:T.menuImage}),(0,x.jsxs)(r.View,{style:T.menuTextContainer,children:[(0,x.jsx)(r.Text,{style:T.menuTitle,children:t.name}),(0,x.jsx)(r.Text,{style:T.menuDescription,children:t.description}),(0,x.jsxs)(r.Text,{style:T.menuPrice,children:[t.price,"\uc6d0"]})]})]},t.name),(0,x.jsx)(r.View,{style:T.horizontalDivider})]})},ye=function(e){var t=e.item,i=t.rating,n=t.likeCount;console.log('review: ',t);return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(r.View,{style:T.sectionItem2,children:(0,x.jsxs)(r.View,{style:T.reviewTextContainer,children:[(0,x.jsxs)(r.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center',width:'100%'},children:[(0,x.jsxs)(r.View,{style:{flexDirection:'row',alignItems:'center'},children:[t.profileImageUrl?(0,x.jsx)(r.Image,{source:{uri:t.profileImageUrl},style:T.reviewAuthorImage}):(0,x.jsx)(r.View,{style:T.reviewAuthorImagePlaceholder}),(0,x.jsx)(r.Text,{style:T.reviewAuthor,children:t.username}),(0,x.jsx)(r.Text,{style:T.reviewAuthor2,children:"\ub2d8"}),(0,x.jsx)(r.TouchableOpacity,{style:T.contactButton,onPress:function(){return me({item:t})},children:(0,x.jsx)(_r(d[14]).SvgXml,{xml:t.isLike?_r(d[15]).svgXml.icon.thumbupOn:_r(d[15]).svgXml.icon.thumbupOff,width:20,height:20})})]}),(0,x.jsxs)(r.View,{style:{flexDirection:'row',alignItems:'center'},children:[(0,x.jsx)(r.Text,{style:T.reviewStats,children:`\uc88b\uc544\uc694 ${n}`}),(function(){for(var e=[],t=0;t<5;t++)e.push((0,x.jsx)(_r(d[14]).SvgXml,{xml:t0?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(r.Text,{style:T.reviewText,children:t.content}),(0,x.jsx)(r.FlatList,{horizontal:!0,data:t.imageUrls,renderItem:function(e){var t=e.item;return(0,x.jsx)(u.default,{swipeToDismiss:!0,modalImageResizeMode:"contain",imageBackgroundColor:"transparent",overlayBackgroundColor:"rgba(32, 32, 32, 0.9)",source:{uri:t},style:T.reviewImage})},keyExtractor:function(e,i){return`${t.id}-${i}`}})]}):(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(r.Text,{style:T.reviewText2,children:t.content})})})]})},t.id),(0,x.jsx)(r.View,{style:T.horizontalDivider})]})};return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(s.default,{title:S.restaurant.name,isBackButton:!0,style:{backgroundColor:'trasparent'}}),(0,x.jsx)(r.FlatList,{ListHeaderComponent:function(){return(0,x.jsx)(x.Fragment,{children:(0,x.jsxs)(r.View,{style:T.entire,children:[(0,x.jsxs)(r.View,{style:T.storeImageContainer,children:[(0,x.jsx)(u.default,{swipeToDismiss:!0,modalImageResizeMode:"contain",imageBackgroundColor:"transparent",overlayBackgroundColor:"rgba(32, 32, 32, 0.9)",source:{uri:S.restaurant.representativeImageUrl},style:T.storeImage}),(0,x.jsx)(r.View,{style:{position:'absolute',width:y,height:240,backgroundColor:'#000000',opacity:.4}})]}),(0,x.jsxs)(r.View,{style:T.storeInfo,children:[(0,x.jsxs)(r.View,{style:T.storeHeader,children:[(0,x.jsxs)(r.View,{style:{flexDirection:'row',justifyContent:'space-between'},children:[(0,x.jsx)(r.Text,{style:T.storeName,children:S.restaurant.name}),(0,x.jsx)(r.Text,{style:T.storeCategory,children:S.restaurant.categories})]}),(0,x.jsxs)(r.View,{style:T.sectionTitle,children:[(0,x.jsxs)(r.View,{style:T.sectionTitle,children:[(0,x.jsx)(r.Text,{style:T.storeReview,children:'\ucc1c '+k}),(0,x.jsx)(r.Text,{style:T.storeReview,children:"\xb7"}),(0,x.jsxs)(r.Text,{style:T.storeReview,children:["\ub9ac\ubdf0 ",S.restaurant.reviewCount]})]}),(0,x.jsxs)(r.View,{style:T.sectionTitle,children:[(0,x.jsx)(r.Text,{style:T.storeReviewNaver,children:'('}),(0,x.jsx)(r.Text,{style:T.storeReviewNaver,children:(0,x.jsx)(_r(d[14]).SvgXml,{xml:_r(d[15]).svgXml.icon.naver,width:15,height:15})}),(0,x.jsxs)(r.Text,{style:T.storeReviewNaver,children:["\ud3c9\uc810 ",S.restaurant.naverRatingAvg]}),(0,x.jsx)(r.Text,{style:T.storeReviewNaver,children:"\xb7"}),(0,x.jsx)(r.Text,{style:T.storeReviewNaver,children:(0,x.jsx)(_r(d[14]).SvgXml,{xml:_r(d[15]).svgXml.icon.naver,width:15,height:15})}),(0,x.jsxs)(r.Text,{style:T.storeReviewNaver,children:["\ub9ac\ubdf0 ",S.restaurant.naverReviewCount," ",')']})]})]})]}),(0,x.jsx)(r.View,{style:T.horizontalDivider}),(0,x.jsxs)(r.View,{style:T.contactContainer,children:[(0,x.jsxs)(r.TouchableOpacity,{style:T.contactButton,onPress:function(){return ce(!0)},children:[(0,x.jsx)(_r(d[14]).SvgXml,{xml:_r(d[15]).svgXml.icon.phone,width:24,height:24}),(0,x.jsx)(r.Text,{style:T.contactButtonText,children:"\uc804\ud654"})]}),(0,x.jsx)(r.View,{style:T.verticalDivider}),(0,x.jsxs)(r.TouchableOpacity,{style:T.contactButton,onPress:de,children:[(0,x.jsx)(_r(d[14]).SvgXml,{xml:V?_r(d[15]).svgXml.icon.heartGrey:_r(d[15]).svgXml.icon.emptyHeartGrey,width:24,height:24}),(0,x.jsx)(r.Text,{style:T.contactButtonText,children:"\ucc1c"})]}),(0,x.jsx)(r.View,{style:T.verticalDivider}),(0,x.jsxs)(r.View,{style:T.contactButton,children:[(0,x.jsx)(_r(d[14]).SvgXml,{xml:_r(d[15]).svgXml.icon.starGrey,width:24,height:24}),(0,x.jsx)(r.Text,{style:T.contactButtonText,children:S.restaurant.ratingAvg.toFixed(1)})]}),(0,x.jsx)(r.View,{style:T.verticalDivider}),(0,x.jsxs)(a.default,{style:T.contactButton,onPress:function(){v.navigate('ReviewWrite',{data:S.restaurant})},children:[(0,x.jsx)(_r(d[14]).SvgXml,{xml:_r(d[15]).svgXml.icon.pen,width:24,height:24}),(0,x.jsx)(r.Text,{style:T.contactButtonText,children:"\ub9ac\ubdf0"})]})]}),(0,x.jsx)(r.View,{style:T.horizontalDivider}),(0,x.jsxs)(r.View,{style:{flexDirection:'row',marginTop:6,alignItems:'center'},children:[(0,x.jsx)(_r(d[14]).SvgXml,{style:T.contactButtonIcon,xml:_r(d[15]).svgXml.icon.location,width:24,height:24}),(0,x.jsxs)(r.View,{style:T.copyContainer,children:[(0,x.jsxs)(r.Text,{style:T.storeAddress,children:["\uc704\uce58: ",S.restaurant.detailInfo.address]}),(0,x.jsx)(r.TouchableOpacity,{onPress:function(){he(S.restaurant.detailInfo.address)},children:(0,x.jsx)(r.Text,{style:T.copyButtonText,children:"\ubcf5\uc0ac"})})]})]}),(0,x.jsxs)(r.View,{style:{flexDirection:'row',alignItems:'center'},children:[(0,x.jsx)(_r(d[14]).SvgXml,{style:T.contactButtonIcon,xml:_r(d[15]).svgXml.icon.phone,width:24,height:24}),(0,x.jsxs)(r.Text,{style:T.storePhoneNum,children:["\uc804\ud654\ubc88\ud638: ",S.restaurant.detailInfo.contactNumber]}),(0,x.jsx)(r.TouchableOpacity,{onPress:function(){he(S.restaurant.detailInfo.contactNumber)},children:(0,x.jsx)(r.Text,{style:T.copyButtonText,children:"\ubcf5\uc0ac"})})]})]}),(0,x.jsxs)(r.View,{style:T.section,children:[(0,x.jsxs)(r.View,{style:T.sectionTitle,children:[(0,x.jsx)(r.Text,{style:T.sectionTitleText,children:"\uba54\ub274"}),(0,x.jsx)(r.Text,{style:T.sectionTitleNumText,children:D.length})]}),(0,x.jsx)(r.FlatList,{data:K,renderItem:fe,keyExtractor:function(e){return e.name}}),ee=n.props.panResponderThreshold||Math.abs(t.dy)>=n.props.panResponderThreshold;return o&&n.props.onSwipeStart&&n.props.onSwipeStart(t),n.currentSwipingDirection=n.getSwipingDirection(t),e=n.createAnimationEventForSwipe(),o}return!1},onStartShouldSetPanResponder:function(e,i){return!(e._dispatchInstances&&e._dispatchInstances.some((function(e){return/scrollview|flatlist/i.test(e.type)}))&&n.shouldPropagateSwipe(e,i)&&n.props.scrollTo&&n.props.scrollOffset>0)&&(n.props.onSwipeStart&&n.props.onSwipeStart(i),n.currentSwipingDirection=null,!0)},onPanResponderMove:function(i,t){if(!n.currentSwipingDirection){if(0===t.dx&&0===t.dy)return;n.currentSwipingDirection=n.getSwipingDirection(t),e=n.createAnimationEventForSwipe()}if(n.isSwipeDirectionAllowed(t)){var o=1-n.calcDistancePercentage(t);n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity*o}),e(i,t),n.props.onSwipeMove&&n.props.onSwipeMove(o,t)}else if(n.props.scrollTo)if(n.props.scrollHorizontal){var r=-t.dx;r>n.props.scrollOffsetMax&&(r-=(r-n.props.scrollOffsetMax)/2),n.props.scrollTo({x:r,animated:!1})}else{var a=-t.dy;a>n.props.scrollOffsetMax&&(a-=(a-n.props.scrollOffsetMax)/2),n.props.scrollTo({y:a,animated:!1})}},onPanResponderRelease:function(e,i){if(n.getAccDistancePerDirection(i)>n.props.swipeThreshold&&n.isSwipeDirectionAllowed(i)){if(n.props.onSwipeComplete)return n.inSwipeClosingState=!0,void n.props.onSwipeComplete({swipingDirection:n.getSwipingDirection(i)},i);if(n.props.onSwipe)return n.inSwipeClosingState=!0,void n.props.onSwipe()}n.props.onSwipeCancel&&n.props.onSwipeCancel(i),n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity}),p.Animated.spring(n.state.pan,{toValue:{x:0,y:0},bounciness:0,useNativeDriver:!1}).start(),n.props.scrollTo&&n.props.scrollOffset>n.props.scrollOffsetMax&&n.props.scrollTo({y:n.props.scrollOffsetMax,animated:!0})}})},n.getAccDistancePerDirection=function(e){switch(n.currentSwipingDirection){case'up':return-e.dy;case'down':return e.dy;case'right':return e.dx;case'left':return-e.dx;default:return 0}},n.getSwipingDirection=function(e){return Math.abs(e.dx)>Math.abs(e.dy)?e.dx>0?'right':'left':e.dy>0?'down':'up'},n.calcDistancePercentage=function(e){switch(n.currentSwipingDirection){case'down':return(e.moveY-e.y0)/((n.props.deviceHeight||n.state.deviceHeight)-e.y0);case'up':return(0,_r(d[12]).reversePercentage)(e.moveY/e.y0);case'left':return(0,_r(d[12]).reversePercentage)(e.moveX/e.x0);case'right':return(e.moveX-e.x0)/((n.props.deviceWidth||n.state.deviceWidth)-e.x0);default:return 0}},n.createAnimationEventForSwipe=function(){return'right'===n.currentSwipingDirection||'left'===n.currentSwipingDirection?p.Animated.event([null,{dx:n.state.pan.x}],{useNativeDriver:!1}):p.Animated.event([null,{dy:n.state.pan.y}],{useNativeDriver:!1})},n.isDirectionIncluded=function(e){return Array.isArray(n.props.swipeDirection)?n.props.swipeDirection.includes(e):n.props.swipeDirection===e},n.isSwipeDirectionAllowed=function(e){var i=e.dy,t=e.dx,o=i>0,r=i<0,a=t<0,s=t>0;return!('up'!==n.currentSwipingDirection||!n.isDirectionIncluded('up')||!r)||(!('down'!==n.currentSwipingDirection||!n.isDirectionIncluded('down')||!o)||(!('right'!==n.currentSwipingDirection||!n.isDirectionIncluded('right')||!s)||!('left'!==n.currentSwipingDirection||!n.isDirectionIncluded('left')||!a)))},n.handleDimensionsUpdate=function(){if(!n.props.deviceHeight&&!n.props.deviceWidth){var e=p.Dimensions.get('window').width,i=p.Dimensions.get('window').height;e===n.state.deviceWidth&&i===n.state.deviceHeight||n.setState({deviceWidth:e,deviceHeight:i})}},n.open=function(){n.isTransitioning||(n.isTransitioning=!0,n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity},n.props.backdropTransitionInTiming),n.state.isSwipeable&&n.state.pan.setValue({x:0,y:0}),n.contentRef&&(n.props.onModalWillShow&&n.props.onModalWillShow(),null==n.interactionHandle&&(n.interactionHandle=p.InteractionManager.createInteractionHandle()),n.contentRef.animate(n.animationIn,n.props.animationInTiming).then((function(){n.isTransitioning=!1,n.interactionHandle&&(p.InteractionManager.clearInteractionHandle(n.interactionHandle),n.interactionHandle=null),n.props.isVisible?n.props.onModalShow():n.close()}))))},n.close=function(){if(!n.isTransitioning){n.isTransitioning=!0,n.backdropRef&&n.backdropRef.transitionTo({opacity:0},n.props.backdropTransitionOutTiming);var e=n.animationOut;n.inSwipeClosingState&&(n.inSwipeClosingState=!1,'up'===n.currentSwipingDirection?e='slideOutUp':'down'===n.currentSwipingDirection?e='slideOutDown':'right'===n.currentSwipingDirection?e='slideOutRight':'left'===n.currentSwipingDirection&&(e='slideOutLeft')),n.contentRef&&(n.props.onModalWillHide&&n.props.onModalWillHide(),null==n.interactionHandle&&(n.interactionHandle=p.InteractionManager.createInteractionHandle()),n.contentRef.animate(e,n.props.animationOutTiming).then((function(){n.isTransitioning=!1,n.interactionHandle&&(p.InteractionManager.clearInteractionHandle(n.interactionHandle),n.interactionHandle=null),n.props.isVisible?n.open():n.setState({showContent:!1},(function(){n.setState({isVisible:!1},(function(){n.props.onModalHide()}))}))})))}},n.makeBackdrop=function(){if(!n.props.hasBackdrop)return null;n.props.customBackdrop&&!s.isValidElement(n.props.customBackdrop)&&console.warn('Invalid customBackdrop element passed to Modal. You must provide a valid React element.');var e=n.props,i=e.customBackdrop,t=e.backdropColor,o=e.useNativeDriver,r=e.useNativeDriverForBackdrop,a=e.onBackdropPress,c=!!n.props.customBackdrop,f=[{width:n.getDeviceWidth(),height:n.getDeviceHeight(),backgroundColor:n.state.showContent&&!c?t:'transparent'}],h=s.createElement(l.View,{ref:function(e){return n.backdropRef=e},useNativeDriver:void 0!==r?r:o,style:[u.default.backdrop,f]},c&&i);return c?h:s.createElement(p.TouchableWithoutFeedback,{onPress:a},h)};var h=(0,_r(d[12]).buildAnimations)(S(e)),w=h.animationIn,v=h.animationOut;return n.animationIn=w,n.animationOut=v,n.state.isSwipeable&&(n.state=Object.assign({},n.state,{pan:new p.Animated.ValueXY}),n.buildPanResponder()),e.isVisible&&(n.state=Object.assign({},n.state,{isVisible:!0,showContent:!0})),n}return(0,a.default)(c,e),(0,t.default)(c,[{key:"componentDidMount",value:function(){this.props.onSwipe&&console.warn('`` is deprecated and will be removed starting from 13.0.0. Use `` instead.'),this.didUpdateDimensionsEmitter=p.DeviceEventEmitter.addListener('didUpdateDimensions',this.handleDimensionsUpdate),this.state.isVisible&&this.open(),p.BackHandler.addEventListener('hardwareBackPress',this.onBackButtonPress)}},{key:"componentWillUnmount",value:function(){p.BackHandler.removeEventListener('hardwareBackPress',this.onBackButtonPress),this.didUpdateDimensionsEmitter&&this.didUpdateDimensionsEmitter.remove(),this.interactionHandle&&(p.InteractionManager.clearInteractionHandle(this.interactionHandle),this.interactionHandle=null)}},{key:"componentDidUpdate",value:function(e){if(this.props.animationIn!==e.animationIn||this.props.animationOut!==e.animationOut){var n=(0,_r(d[12]).buildAnimations)(S(this.props)),i=n.animationIn,t=n.animationOut;this.animationIn=i,this.animationOut=t}this.props.backdropOpacity!==e.backdropOpacity&&this.backdropRef&&this.backdropRef.transitionTo({opacity:this.props.backdropOpacity},this.props.backdropTransitionInTiming),this.props.isVisible&&!e.isVisible?this.open():!this.props.isVisible&&e.isVisible&&this.close()}},{key:"render",value:function(){var e=this,i=this.props,t=(i.animationIn,i.animationInTiming,i.animationOut,i.animationOutTiming,i.avoidKeyboard),o=i.coverScreen,r=(i.hasBackdrop,i.backdropColor,i.backdropOpacity,i.backdropTransitionInTiming,i.backdropTransitionOutTiming,i.customBackdrop,i.children),a=(i.isVisible,i.onModalShow,i.onBackButtonPress),c=i.useNativeDriver,w=(i.propagateSwipe,i.style),v=(0,n.default)(i,f),b=(v.testID,(0,n.default)(v,h)),S=[{margin:.05*this.getDeviceWidth(),transform:[{translateY:0}]},u.default.content,w],k={},D={};this.state.isSwipeable&&(k=Object.assign({},this.panResponder.panHandlers),D=c?{transform:this.state.pan.getTranslateTransform()}:this.state.pan.getLayout());var O=this.props.hideModalContentWhileAnimating&&this.props.useNativeDriver&&!this.state.showContent?s.createElement(l.View,null):r,y=s.createElement(l.View,Object.assign({},k,{ref:function(n){return e.contentRef=n},style:[D,S],pointerEvents:"box-none",useNativeDriver:c},b),O);return!o&&this.state.isVisible?s.createElement(p.View,{pointerEvents:"box-none",style:[u.default.backdrop,u.default.containerBox]},this.makeBackdrop(),y):s.createElement(p.Modal,Object.assign({transparent:!0,animationType:'none',visible:this.state.isVisible,onRequestClose:a},v),this.makeBackdrop(),t?s.createElement(p.KeyboardAvoidingView,{behavior:'ios'===p.Platform.OS?'padding':void 0,pointerEvents:"box-none",style:S.concat([{margin:0}])},y):y)}}],[{key:"getDerivedStateFromProps",value:function(e,n){return!n.isVisible&&e.isVisible?{isVisible:!0,showContent:!0}:null}}])})(s.Component);k.propTypes={animationIn:c.oneOfType([c.string,c.object]),animationInTiming:c.number,animationOut:c.oneOfType([c.string,c.object]),animationOutTiming:c.number,avoidKeyboard:c.bool,coverScreen:c.bool,hasBackdrop:c.bool,backdropColor:c.string,backdropOpacity:c.number,backdropTransitionInTiming:c.number,backdropTransitionOutTiming:c.number,customBackdrop:c.node,children:c.node.isRequired,deviceHeight:c.number,deviceWidth:c.number,isVisible:c.bool.isRequired,hideModalContentWhileAnimating:c.bool,propagateSwipe:c.oneOfType([c.bool,c.func]),onModalShow:c.func,onModalWillShow:c.func,onModalHide:c.func,onModalWillHide:c.func,onBackButtonPress:c.func,onBackdropPress:c.func,panResponderThreshold:c.number,onSwipeStart:c.func,onSwipeMove:c.func,onSwipeComplete:c.func,onSwipeCancel:c.func,swipeThreshold:c.number,swipeDirection:c.oneOfType([c.arrayOf(c.oneOf(['up','down','left','right'])),c.oneOf(['up','down','left','right'])]),useNativeDriver:c.bool,useNativeDriverForBackdrop:c.bool,style:c.any,scrollTo:c.func,scrollOffset:c.number,scrollOffsetMax:c.number,scrollHorizontal:c.bool,supportedOrientations:c.arrayOf(c.oneOf(['portrait','portrait-upside-down','landscape','landscape-left','landscape-right']))},k.defaultProps={animationIn:'slideInUp',animationInTiming:300,animationOut:'slideOutDown',animationOutTiming:300,avoidKeyboard:!1,coverScreen:!0,hasBackdrop:!0,backdropColor:'black',backdropOpacity:.7,backdropTransitionInTiming:300,backdropTransitionOutTiming:300,customBackdrop:null,useNativeDriver:!1,deviceHeight:null,deviceWidth:null,hideModalContentWhileAnimating:!1,propagateSwipe:!1,isVisible:!1,panResponderThreshold:4,swipeThreshold:100,onModalShow:function(){return null},onModalWillShow:function(){return null},onModalHide:function(){return null},onModalWillHide:function(){return null},onBackdropPress:function(){return null},onBackButtonPress:function(){return null},scrollTo:null,scrollOffset:0,scrollOffsetMax:0,scrollHorizontal:!1,statusBarTranslucent:!1,supportedOrientations:['portrait','landscape']};_e.default=k}),757,[1,119,5,6,10,14,15,153,2,259,758,779,780]);
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.createAnimatableComponent=_e.View=_e.Text=_e.Image=void 0,Object.defineProperty(_e,"createAnimation",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(_e,"initializeRegistryWithDefinitions",{enumerable:!0,get:function(){return _r(d[1]).initializeRegistryWithDefinitions}}),Object.defineProperty(_e,"registerAnimation",{enumerable:!0,get:function(){return _r(d[1]).registerAnimation}});var t=_r(d[2]),n=e(_r(d[3])),i=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var u=r?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(i,o,u):i[o]=e[o]}return i.default=e,n&&n.set(e,i),i})(_r(d[4])),r=e(_r(d[5]));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}(0,_r(d[1]).initializeRegistryWithDefinitions)(i);_e.createAnimatableComponent=n.default,_e.View=(0,n.default)(t.View),_e.Text=(0,n.default)(t.Text),_e.Image=(0,n.default)(t.Image)}),758,[1,759,2,762,767,760]);
@@ -1140,7 +1140,7 @@ __d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",
__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,Object.defineProperty(e,"hideNavigationBar",{enumerable:!0,get:function(){return r(d[0]).hideNavigationBar}}),Object.defineProperty(e,"showNavigationBar",{enumerable:!0,get:function(){return r(d[0]).showNavigationBar}});e.default=r(d[0]).changeNavigationBarColor}),1083,[1084]);
__d((function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.showNavigationBar=e.hideNavigationBar=e.changeNavigationBarColor=void 0;var o=r(d[0]),n=o.NativeModules.NavigationBarColor;e.changeNavigationBarColor=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:String,v=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if('android'===o.Platform.OS){var h=!!v;n.changeNavigationBarColor(t,h,l)}},e.hideNavigationBar=function(){return'android'===o.Platform.OS&&n.hideNavigationBar()},e.showNavigationBar=function(){if('android'!==o.Platform.OS)return!1;n.showNavigationBar()}}),1084,[2]);
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){(0,_r(d[14]).useNavigation)();var e=(0,a.useContext)(s.default),h=(0,a.useState)([]),y=(0,r.default)(h,2),O=y[0],j=y[1],w=(0,a.useState)([]),x=(0,r.default)(w,2),_=x[0],S=x[1],k=(function(){var r=(0,t.default)((function*(){try{var t=new URLSearchParams({discountForSkku:!0}).toString(),r=yield i.default.get(`http://13.124.226.226/v1/restaurants?${t}`,{headers:{Authorization:`Bearer ${e.accessToken}`}});S(r.data.data.restaurants.content)}catch(e){o.default.show({type:'error',text1:'Error',text2:e.response.data.message})}}));return function(){return r.apply(this,arguments)}})(),b=(function(){var r=(0,t.default)((function*(){try{var t=yield i.default.get("http://13.124.226.226/v1/restaurants/recommend",{headers:{Authorization:`Bearer ${e.accessToken}`}});console.log('response:',t.data.data.restaurants),j(t.data.data.restaurants)}catch(e){o.default.show({type:'error',text1:'Error',text2:e.response.data.message})}}));return function(){return r.apply(this,arguments)}})();return(0,a.useEffect)((function(){k(),b()}),[]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(u.default,{title:'\ud648',isBackButton:!1}),(0,p.jsxs)(n.ScrollView,{contentContainerStyle:v.entire,children:[(0,p.jsx)(l.default,{todaysPick:O}),(0,p.jsx)(c.default,{}),(0,p.jsx)(f.default,{passData:_}),(0,p.jsx)(n.View,{style:{height:30}})]})]})};var t=e(_r(d[1])),r=e(_r(d[2])),a=y(_r(d[3])),n=_r(d[4]),o=e(_r(d[5])),u=(e(_r(d[6])),e(_r(d[7]))),s=e(_r(d[8])),i=y(_r(d[9])),l=e(_r(d[10])),c=e(_r(d[11])),f=e(_r(d[12])),p=_r(d[13]);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var u=n?Object.getOwnPropertyDescriptor(e,o):null;u&&(u.get||u.set)?Object.defineProperty(a,o,u):a[o]=e[o]}return a.default=e,r&&r.set(e,a),a}n.Dimensions.get('window').width;var v=n.StyleSheet.create({entire:{backgroundColor:_r(d[15]).COLOR_HOME_BACKGROUND,alignItems:'center'},buttonText:{fontSize:20,color:_r(d[15]).COLOR_WHITE,fontWeight:'bold',alignSelf:'center'}})}),1085,[1,339,26,153,2,445,442,700,439,472,710,712,723,194,524,444]);
-__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=(0,_r(d[17]).useNavigation)(),y=(0,n.useContext)(v.default),p=(0,n.useState)(!1),R=(0,l.default)(p,2),b=R[0],T=R[1],O=(0,n.useState)(!1),k=(0,l.default)(O,2),X=k[0],D=k[1],V=(0,n.useState)(!1),A=(0,l.default)(V,2),L=A[0],B=A[1],F=(0,n.useState)(!1),I=(0,l.default)(F,2),P=I[0],_=I[1],M=(0,n.useState)(!1),E=(0,l.default)(M,2),Y=E[0],z=E[1],H=(0,n.useState)(!1),N=(0,l.default)(H,2),W=N[0],U=N[1],q=(0,n.useState)(!1),G=(0,l.default)(q,2),K=G[0],$=G[1],J=(0,n.useState)([]),Q=(0,l.default)(J,2),Z=Q[0],ee=Q[1],te=(0,n.useState)('\uc804\uccb4'),ie=(0,l.default)(te,2),le=ie[0],ne=ie[1],se=(0,n.useState)('\uc804\uccb4'),re=(0,l.default)(se,2),oe=re[0],ae=re[1],ce=(0,n.useState)('\uc804\uccb4'),de=(0,l.default)(ce,2),ue=de[0],he=de[1],xe=(0,n.useState)('\uc804\uccb4'),fe=(0,l.default)(xe,2),ge=fe[0],me=fe[1],je=(0,n.useState)('\uc804\uccb4'),ve=(0,l.default)(je,2),we=ve[0],ye=ve[1],pe=(0,n.useState)('\uae30\ubcf8 \uc21c'),Se=(0,l.default)(pe,2),Ce=Se[0],Re=Se[1],be=(0,n.useState)(!1),Te=(0,l.default)(be,2),Oe=Te[0],ke=Te[1],Xe=(0,n.useState)(!1),De=(0,l.default)(Xe,2),Ve=De[0],Ae=De[1],Le=(0,n.useState)(''),Be=(0,l.default)(Le,2),Fe=Be[0],Ie=Be[1],Pe=(0,n.useState)({latitude:37.297861,longitude:126.971458}),Me=(0,l.default)(Pe,2),Ee=Me[0],Ye=Me[1],ze=(0,n.useState)(0),He=(0,l.default)(ze,2),Ne=He[0],We=He[1],Ue=(0,n.useState)([]),qe=(0,l.default)(Ue,2),Ge=qe[0],Ke=qe[1],$e=(function(){var e=(0,i.default)((function*(){var e=yield u.default.getItem('category');e?(ee([e]),yield u.default.setItem('category','')):ee([])}));return function(){return e.apply(this,arguments)}})(),Je=(function(){var e=(0,i.default)((function*(e){try{We(e+1);var i={page:e};switch(Oe&&(i.discountForSkku=!0),Ve&&(i.like=!0),Z.length>0&&(i.categories=Z),le){case'5.0\uc810':i.ratingAvg=5;break;case'4.5\uc810 \uc774\uc0c1':i.ratingAvg=4.5;break;case'4.0\uc810 \uc774\uc0c1':i.ratingAvg=4;break;case'3.5\uc810 \uc774\uc0c1':i.ratingAvg=3.5}switch(oe){case'5.0\uc810':i.naverRatingAvg=5;break;case'4.5\uc810 \uc774\uc0c1':i.naverRatingAvg=4.5;break;case'4.0\uc810 \uc774\uc0c1':i.naverRatingAvg=4;break;case'3.5\uc810 \uc774\uc0c1':i.naverRatingAvg=3.5}switch(ue){case'10\uac1c \uc774\uc0c1':i.reviewCount=10;break;case'30\uac1c \uc774\uc0c1':i.reviewCount=30;break;case'50\uac1c \uc774\uc0c1':i.reviewCount=50;break;case'100\uac1c \uc774\uc0c1':i.reviewCount=100}switch(we){case'10\uac1c \uc774\uc0c1':i.naverReviewCount=10;break;case'30\uac1c \uc774\uc0c1':i.naverReviewCount=30;break;case'50\uac1c \uc774\uc0c1':i.naverReviewCount=50;break;case'100\uac1c \uc774\uc0c1':i.naverReviewCount=100}switch(ge){case'1\ub9cc\uc6d0 \ubbf8\ub9cc':i.priceMax=1e4;break;case'1\ub9cc\uc6d0 ~ 2\ub9cc\uc6d0':i.priceMin=1e4,i.priceMax=2e4;break;case'2\ub9cc\uc6d0 ~ 3\ub9cc\uc6d0':i.priceMin=2e4,i.priceMax=3e4;break;case'3\ub9cc\uc6d0 \uc774\uc0c1':i.priceMin=3e4}switch(Ce){case'\uac00\uae4c\uc6b4 \uc21c':i.customSort='CLOSELY_DESC',i.latitude=Ee.latitude,i.longitude=Ee.longitude;break;case'\ud3c9\uc810 \ub192\uc740 \uc21c':i.customSort='RATING_DESC';break;case'\ub313\uae00 \ub9ce\uc740 \uc21c':i.customSort='REVIEW_COUNT_DESC';break;case'\ucc1c \ub9ce\uc740 \uc21c':i.customSort='LIKE_COUNT_DESC';break;case'\uae30\ubcf8 \uc21c':i.customSort='BASIC'}''!==Fe&&(i.query=Fe);var l=new URLSearchParams(i).toString(),n=yield h.default.get(`http://13.124.226.226/v1/restaurants?${l}`,{headers:{Authorization:`Bearer ${y.accessToken}`}});console.log('page:',e),Ke(0==e?n.data.data.restaurants.content:[].concat((0,t.default)(Ge),(0,t.default)(n.data.data.restaurants.content)))}catch(e){r.default.show({type:'error',text1:'Error',text2:e.response.data.message})}}));return function(t){return e.apply(this,arguments)}})();(0,n.useEffect)((function(){$e()}),[]),(0,n.useEffect)((function(){Je(0)}),[Z,le,ue,ge,Oe,Ve,Ce,oe,we,Ee,Fe]);return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(a.default,{title:'\ub9ac\uc2a4\ud2b8',isBackButton:!1}),(0,w.jsx)(s.View,{style:C.entire,children:(0,w.jsx)(s.View,{style:{flex:1,alignItems:'center'},children:(0,w.jsx)(s.FlatList,{data:Ge,style:{flex:1,width:S},ListHeaderComponent:function(){return(0,w.jsx)(s.View,{style:{marginTop:16},children:(0,w.jsxs)(s.View,{style:{alignItems:'center'},children:[(0,w.jsx)(o.default,{style:{width:S-32,backgroundColor:'white',borderRadius:10,padding:4,paddingHorizontal:8,elevation:4,justifyContent:'center'},onPress:function(){Ie(''),e.navigate('Search',{setSearch:Ie})},children:(0,w.jsxs)(s.View,{style:{flexDirection:'row',alignItems:'center'},children:[(0,w.jsx)(s.View,{style:{padding:8},children:(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.search,width:"24",height:"24"})}),''!==Fe?(0,w.jsx)(s.Text,{style:C.textInput,children:Fe}):(0,w.jsx)(s.Text,{style:C.textInput,children:'\uc728\uc804\uc758 \ub9db\uc9d1\uc740 \uacfc\uc5f0 \uc5b4\ub514?'})]})}),(0,w.jsxs)(s.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1,style:{paddingTop:16},children:[(0,w.jsx)(s.View,{style:{width:16}}),(0,w.jsx)(o.default,{style:[b?C.filterButtonSelected:C.filterButton,,{backgroundColor:Z.length>0?_r(d[20]).COLOR_PRIMARY:b?'#D9D9D9':'white'}],onPress:function(){console.log('press \uce74\ud14c\uace0\ub9ac'),T(!0)},children:0==Z.length?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.shop,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\uce74\ud14c\uace0\ub9ac'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.shopColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:'\uce74\ud14c\uace0\ub9ac'})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[K?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uae30\ubcf8 \uc21c'!==Ce?_r(d[20]).COLOR_PRIMARY:K?'#D9D9D9':'white'}],onPress:function(){console.log('press \uc815\ub82c'),$(!0)},children:'\uae30\ubcf8 \uc21c'===Ce?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.filter,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\uae30\ubcf8 \uc21c'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.filterColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:Ce})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[C.filterButton,{backgroundColor:Oe?_r(d[20]).COLOR_PRIMARY:'white'}],onPress:function(){console.log('press \uc131\ub300\uc0dd \ud560\uc778'),ke(!Oe)},children:Oe?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.presentColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:'\uc131\ub300\uc0dd \ud560\uc778'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.persent,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\uc131\ub300\uc0dd \ud560\uc778'})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[C.filterButton,{backgroundColor:Ve?_r(d[20]).COLOR_PRIMARY:'white'}],onPress:function(){console.log('press \ucc1c'),Ae(!Ve)},children:Ve?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyHeartColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:'\ucc1c'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyHeart,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\ucc1c'})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[X?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uc804\uccb4'!==le?_r(d[20]).COLOR_PRIMARY:X?'#D9D9D9':'white'}],onPress:function(){console.log('press \ud3c9\uc810'),D(!0)},children:'\uc804\uccb4'===le?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyStar,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\ud3c9\uc810'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyStarColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:le})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[P?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uc804\uccb4'!==oe?_r(d[20]).COLOR_PRIMARY:P?'#D9D9D9':'white'}],onPress:function(){console.log('press \ud3c9\uc810'),_(!0)},children:'\uc804\uccb4'===oe?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyStar,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\ub124\uc774\ubc84 \ud3c9\uc810'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyStarColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:oe})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[L?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uc804\uccb4'!==ue?_r(d[20]).COLOR_PRIMARY:L?'#D9D9D9':'white'}],onPress:function(){console.log('press \ub313\uae00\uc218'),B(!0)},children:'\uc804\uccb4'===ue?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.reply,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\ub313\uae00 \uc218'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.replyColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:ue})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[Y?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uc804\uccb4'!==we?_r(d[20]).COLOR_PRIMARY:Y?'#D9D9D9':'white'}],onPress:function(){console.log('press \ub124\uc774\ubc84 \ub313\uae00\uc218'),z(!0)},children:'\uc804\uccb4'===we?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.reply,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\ub124\uc774\ubc84 \ub9ac\ubdf0 \uc218'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.replyColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:we})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[W?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uc804\uccb4'!==ge?_r(d[20]).COLOR_PRIMARY:W?'#D9D9D9':'white'}],onPress:function(){console.log('press \ub313\uae00\uc218'),U(!0)},children:'\uc804\uccb4'===ge?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.price,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\uac00\uaca9'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.priceColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:ge})]})}),(0,w.jsx)(s.View,{style:{width:16}})]})]})})},ListFooterComponent:function(){return(0,w.jsx)(s.View,{style:{height:16}})},onEndReached:function(){console.log('onEndReached',Ne),0!==Ne&&Je(Ne)},onEndReachedThreshold:60,renderItem:function(e){var t=e.item,i=e.index;return(0,w.jsxs)(s.View,{style:{alignItems:'center'},children:[(0,w.jsx)(s.View,{style:{height:16}}),(0,w.jsx)(c.default,{storeData:t,index:i})]})}})})}),(0,w.jsx)(j.default,{isVisible:b,hasBackdrop:!0,backdropOpacity:.5,onSwipeComplete:function(){return T(!1)},swipeDirection:'down',onBackdropPress:function(){return T(!1)},onBackButtonPress:function(){return T(!1)},onModalHide:function(){T(!1)},style:{justifyContent:'flex-end',margin:0},animationIn:"slideInUp",animationOut:"slideOutDown",children:(0,w.jsxs)(s.View,{style:C.modalContent,children:[(0,w.jsxs)(s.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},children:[(0,w.jsx)(s.Text,{style:C.modalTitle,children:"\uce74\ud14c\uace0\ub9ac"}),(0,w.jsx)(o.default,{style:{padding:4},onPress:function(){console.log('\uc0c8\ub85c\uace0\uce68'),ee([]),T(!1)},children:(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.refresh,width:"24",height:"24"})})]}),(0,w.jsx)(s.View,{style:{marginTop:12},children:(0,w.jsx)(x.default,{onPress:ee,data:Z})})]})}),(0,w.jsx)(f.default,{visible:X,setVisible:D,title:'\ud3c9\uc810',value:le,setValue:ne,valueList:['\uc804\uccb4','5.0\uc810','4.5\uc810 \uc774\uc0c1','4.0\uc810 \uc774\uc0c1','3.5\uc810 \uc774\uc0c1']}),(0,w.jsx)(f.default,{visible:P,setVisible:_,title:'\ub124\uc774\ubc84 \ud3c9\uc810',value:oe,setValue:ae,valueList:['\uc804\uccb4','5.0\uc810','4.5\uc810 \uc774\uc0c1','4.0\uc810 \uc774\uc0c1','3.5\uc810 \uc774\uc0c1']}),(0,w.jsx)(f.default,{visible:K,setVisible:$,title:'\uc815\ub82c',value:Ce,setValue:Re,valueList:['\uae30\ubcf8 \uc21c','\uac00\uae4c\uc6b4 \uc21c','\ud3c9\uc810 \ub192\uc740 \uc21c','\ub313\uae00 \ub9ce\uc740 \uc21c','\ucc1c \ub9ce\uc740 \uc21c'],setLocation:Ye}),(0,w.jsx)(f.default,{visible:L,setVisible:B,title:'\ub313\uae00 \uc218',value:ue,setValue:he,valueList:['\uc804\uccb4','10\uac1c \uc774\uc0c1','30\uac1c \uc774\uc0c1','50\uac1c \uc774\uc0c1','100\uac1c \uc774\uc0c1']}),(0,w.jsx)(f.default,{visible:Y,setVisible:z,title:'\ub124\uc774\ubc84 \ub9ac\ubdf0 \uc218',value:we,setValue:ye,valueList:['\uc804\uccb4','10\uac1c \uc774\uc0c1','30\uac1c \uc774\uc0c1','50\uac1c \uc774\uc0c1','100\uac1c \uc774\uc0c1']}),(0,w.jsx)(f.default,{visible:W,setVisible:U,title:'\uac00\uaca9',value:ge,setValue:me,valueList:['\uc804\uccb4','1\ub9cc\uc6d0 \ubbf8\ub9cc','1\ub9cc\uc6d0 ~ 2\ub9cc\uc6d0','2\ub9cc\uc6d0 ~ 3\ub9cc\uc6d0','3\ub9cc\uc6d0 \uc774\uc0c1']})]})};var t=e(_r(d[1])),i=e(_r(d[2])),l=e(_r(d[3])),n=p(_r(d[4])),s=_r(d[5]),r=e(_r(d[6])),o=e(_r(d[7])),a=e(_r(d[8])),c=e(_r(d[9])),u=e(_r(d[10])),h=p(_r(d[11])),x=e(_r(d[12])),f=e(_r(d[13])),j=e(_r(d[14])),v=e(_r(d[15])),w=_r(d[16]);function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,i=new WeakMap;return(y=function(e){return e?i:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=y(t);if(i&&i.has(e))return i.get(e);var l={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&{}.hasOwnProperty.call(e,s)){var r=n?Object.getOwnPropertyDescriptor(e,s):null;r&&(r.get||r.set)?Object.defineProperty(l,s,r):l[s]=e[s]}return l.default=e,i&&i.set(e,l),l}var S=s.Dimensions.get('window').width;var C=s.StyleSheet.create({entire:{flex:1,backgroundColor:_r(d[20]).COLOR_BACKGROUND,justifyContent:'center',alignItems:'center'},textInput:{marginLeft:10,flex:1,fontSize:13,color:'#888888',padding:0,fontFamily:'NanumSquareRoundB'},filterButton:{flexDirection:'row',justifyContent:'center',alignItems:'center',padding:5,paddingHorizontal:7,borderRadius:15,borderWidth:1.5,borderColor:_r(d[20]).COLOR_PRIMARY},filterButtonSelected:{flexDirection:'row',justifyContent:'center',alignItems:'center',padding:5,paddingHorizontal:7,borderRadius:15,borderWidth:1.5,borderColor:_r(d[20]).COLOR_PRIMARY},filterText:{marginLeft:1,fontSize:12,color:_r(d[20]).COLOR_TEXT_BLACK,fontFamily:'NanumSquareRoundEB'},filterTextActive:{marginLeft:1,fontSize:12,color:'#FFFFFF',fontFamily:'NanumSquareRoundB'},filterTextFade:{marginLeft:1,fontSize:12,color:_r(d[20]).COLOR_GRAY,fontWeight:'bold'},modalContent:{backgroundColor:'white',padding:16,borderRadius:16,borderBottomLeftRadius:0,borderBottomRightRadius:0},modalTitle:{fontSize:20,color:_r(d[20]).COLOR_TEXT70GRAY,fontWeight:'700'},categoryLine:{flexDirection:'row',justifyContent:'space-evenly'}})}),1086,[1,34,339,26,153,2,445,442,700,711,517,472,1087,1088,756,439,194,524,624,696,444]);
+__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(){var e=(0,_r(d[17]).useNavigation)(),y=(0,n.useContext)(v.default),p=(0,n.useState)(!1),R=(0,l.default)(p,2),b=R[0],T=R[1],O=(0,n.useState)(!1),k=(0,l.default)(O,2),X=k[0],D=k[1],V=(0,n.useState)(!1),A=(0,l.default)(V,2),L=A[0],B=A[1],F=(0,n.useState)(!1),I=(0,l.default)(F,2),P=I[0],_=I[1],M=(0,n.useState)(!1),E=(0,l.default)(M,2),Y=E[0],z=E[1],H=(0,n.useState)(!1),N=(0,l.default)(H,2),W=N[0],U=N[1],q=(0,n.useState)(!1),G=(0,l.default)(q,2),K=G[0],$=G[1],J=(0,n.useState)([]),Q=(0,l.default)(J,2),Z=Q[0],ee=Q[1],te=(0,n.useState)('\uc804\uccb4'),ie=(0,l.default)(te,2),le=ie[0],ne=ie[1],se=(0,n.useState)('\uc804\uccb4'),re=(0,l.default)(se,2),oe=re[0],ae=re[1],ce=(0,n.useState)('\uc804\uccb4'),de=(0,l.default)(ce,2),ue=de[0],he=de[1],xe=(0,n.useState)('\uc804\uccb4'),fe=(0,l.default)(xe,2),ge=fe[0],me=fe[1],je=(0,n.useState)('\uc804\uccb4'),ve=(0,l.default)(je,2),we=ve[0],ye=ve[1],pe=(0,n.useState)('\uae30\ubcf8 \uc21c'),Se=(0,l.default)(pe,2),Ce=Se[0],Re=Se[1],be=(0,n.useState)(!1),Te=(0,l.default)(be,2),Oe=Te[0],ke=Te[1],Xe=(0,n.useState)(!1),De=(0,l.default)(Xe,2),Ve=De[0],Ae=De[1],Le=(0,n.useState)(''),Be=(0,l.default)(Le,2),Fe=Be[0],Ie=Be[1],Pe=(0,n.useState)({latitude:37.297861,longitude:126.971458}),Me=(0,l.default)(Pe,2),Ee=Me[0],Ye=Me[1],ze=(0,n.useState)(0),He=(0,l.default)(ze,2),Ne=He[0],We=He[1],Ue=(0,n.useState)([]),qe=(0,l.default)(Ue,2),Ge=qe[0],Ke=qe[1],$e=(function(){var e=(0,i.default)((function*(){var e=yield u.default.getItem('category');e?(ee([e]),yield u.default.setItem('category','')):ee([])}));return function(){return e.apply(this,arguments)}})(),Je=(function(){var e=(0,i.default)((function*(e){try{We(e+1);var i={page:e};switch(Oe&&(i.discountForSkku=!0),Ve&&(i.like=!0),Z.length>0&&(i.categories=Z),le){case'5.0\uc810':i.ratingAvg=5;break;case'4.5\uc810 \uc774\uc0c1':i.ratingAvg=4.5;break;case'4.0\uc810 \uc774\uc0c1':i.ratingAvg=4;break;case'3.5\uc810 \uc774\uc0c1':i.ratingAvg=3.5}switch(oe){case'5.0\uc810':i.naverRatingAvg=5;break;case'4.5\uc810 \uc774\uc0c1':i.naverRatingAvg=4.5;break;case'4.0\uc810 \uc774\uc0c1':i.naverRatingAvg=4;break;case'3.5\uc810 \uc774\uc0c1':i.naverRatingAvg=3.5}switch(ue){case'10\uac1c \uc774\uc0c1':i.reviewCount=10;break;case'30\uac1c \uc774\uc0c1':i.reviewCount=30;break;case'50\uac1c \uc774\uc0c1':i.reviewCount=50;break;case'100\uac1c \uc774\uc0c1':i.reviewCount=100}switch(we){case'10\uac1c \uc774\uc0c1':i.naverReviewCount=10;break;case'30\uac1c \uc774\uc0c1':i.naverReviewCount=30;break;case'50\uac1c \uc774\uc0c1':i.naverReviewCount=50;break;case'100\uac1c \uc774\uc0c1':i.naverReviewCount=100}switch(ge){case'1\ub9cc\uc6d0 \ubbf8\ub9cc':i.priceMax=1e4;break;case'1\ub9cc\uc6d0 ~ 2\ub9cc\uc6d0':i.priceMin=1e4,i.priceMax=2e4;break;case'2\ub9cc\uc6d0 ~ 3\ub9cc\uc6d0':i.priceMin=2e4,i.priceMax=3e4;break;case'3\ub9cc\uc6d0 \uc774\uc0c1':i.priceMin=3e4}switch(Ce){case'\uac00\uae4c\uc6b4 \uc21c':i.customSort='CLOSELY_DESC',i.latitude=Ee.latitude,i.longitude=Ee.longitude;break;case'\ud3c9\uc810 \ub192\uc740 \uc21c':i.customSort='RATING_DESC';break;case'\ub313\uae00 \ub9ce\uc740 \uc21c':i.customSort='REVIEW_COUNT_DESC';break;case'\ucc1c \ub9ce\uc740 \uc21c':i.customSort='LIKE_COUNT_DESC';break;case'\uae30\ubcf8 \uc21c':i.customSort='BASIC'}''!==Fe&&(i.query=Fe);var l=new URLSearchParams(i).toString(),n=yield h.default.get(`http://13.124.226.226/v1/restaurants?${l}`,{headers:{Authorization:`Bearer ${y.accessToken}`}});console.log('response:',n.data.data),console.log('page:',e),Ke(0==e?n.data.data.restaurants.content:[].concat((0,t.default)(Ge),(0,t.default)(n.data.data.restaurants.content)))}catch(e){r.default.show({type:'error',text1:'Error',text2:e.response.data.message})}}));return function(t){return e.apply(this,arguments)}})();(0,n.useEffect)((function(){$e()}),[]),(0,n.useEffect)((function(){Je(0)}),[Z,le,ue,ge,Oe,Ve,Ce,oe,we,Ee,Fe]);return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(a.default,{title:'\ub9ac\uc2a4\ud2b8',isBackButton:!1}),(0,w.jsx)(s.View,{style:C.entire,children:(0,w.jsx)(s.View,{style:{flex:1,alignItems:'center'},children:(0,w.jsx)(s.FlatList,{data:Ge,style:{flex:1,width:S},ListHeaderComponent:function(){return(0,w.jsx)(s.View,{style:{marginTop:16},children:(0,w.jsxs)(s.View,{style:{alignItems:'center'},children:[(0,w.jsx)(o.default,{style:{width:S-32,backgroundColor:'white',borderRadius:10,padding:4,paddingHorizontal:8,elevation:4,justifyContent:'center'},onPress:function(){Ie(''),e.navigate('Search',{setSearch:Ie})},children:(0,w.jsxs)(s.View,{style:{flexDirection:'row',alignItems:'center'},children:[(0,w.jsx)(s.View,{style:{padding:8},children:(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.search,width:"24",height:"24"})}),''!==Fe?(0,w.jsx)(s.Text,{style:C.textInput,children:Fe}):(0,w.jsx)(s.Text,{style:C.textInput,children:'\uc728\uc804\uc758 \ub9db\uc9d1\uc740 \uacfc\uc5f0 \uc5b4\ub514?'})]})}),(0,w.jsxs)(s.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1,style:{paddingTop:16},children:[(0,w.jsx)(s.View,{style:{width:16}}),(0,w.jsx)(o.default,{style:[b?C.filterButtonSelected:C.filterButton,,{backgroundColor:Z.length>0?_r(d[20]).COLOR_PRIMARY:b?'#D9D9D9':'white'}],onPress:function(){console.log('press \uce74\ud14c\uace0\ub9ac'),T(!0)},children:0==Z.length?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.shop,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\uce74\ud14c\uace0\ub9ac'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.shopColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:'\uce74\ud14c\uace0\ub9ac'})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[K?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uae30\ubcf8 \uc21c'!==Ce?_r(d[20]).COLOR_PRIMARY:K?'#D9D9D9':'white'}],onPress:function(){console.log('press \uc815\ub82c'),$(!0)},children:'\uae30\ubcf8 \uc21c'===Ce?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.filter,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\uae30\ubcf8 \uc21c'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.filterColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:Ce})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[C.filterButton,{backgroundColor:Oe?_r(d[20]).COLOR_PRIMARY:'white'}],onPress:function(){console.log('press \uc131\ub300\uc0dd \ud560\uc778'),ke(!Oe)},children:Oe?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.presentColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:'\uc131\ub300\uc0dd \ud560\uc778'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.persent,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\uc131\ub300\uc0dd \ud560\uc778'})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[C.filterButton,{backgroundColor:Ve?_r(d[20]).COLOR_PRIMARY:'white'}],onPress:function(){console.log('press \ucc1c'),Ae(!Ve)},children:Ve?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyHeartColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:'\ucc1c'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyHeart,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\ucc1c'})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[X?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uc804\uccb4'!==le?_r(d[20]).COLOR_PRIMARY:X?'#D9D9D9':'white'}],onPress:function(){console.log('press \ud3c9\uc810'),D(!0)},children:'\uc804\uccb4'===le?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyStar,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\ud3c9\uc810'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyStarColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:le})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[P?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uc804\uccb4'!==oe?_r(d[20]).COLOR_PRIMARY:P?'#D9D9D9':'white'}],onPress:function(){console.log('press \ud3c9\uc810'),_(!0)},children:'\uc804\uccb4'===oe?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyStar,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\ub124\uc774\ubc84 \ud3c9\uc810'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.emptyStarColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:oe})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[L?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uc804\uccb4'!==ue?_r(d[20]).COLOR_PRIMARY:L?'#D9D9D9':'white'}],onPress:function(){console.log('press \ub313\uae00\uc218'),B(!0)},children:'\uc804\uccb4'===ue?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.reply,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\ub313\uae00 \uc218'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.replyColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:ue})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[Y?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uc804\uccb4'!==we?_r(d[20]).COLOR_PRIMARY:Y?'#D9D9D9':'white'}],onPress:function(){console.log('press \ub124\uc774\ubc84 \ub313\uae00\uc218'),z(!0)},children:'\uc804\uccb4'===we?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.reply,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\ub124\uc774\ubc84 \ub9ac\ubdf0 \uc218'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.replyColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:we})]})}),(0,w.jsx)(s.View,{style:{width:8}}),(0,w.jsx)(o.default,{style:[W?C.filterButtonSelected:C.filterButton,{backgroundColor:'\uc804\uccb4'!==ge?_r(d[20]).COLOR_PRIMARY:W?'#D9D9D9':'white'}],onPress:function(){console.log('press \ub313\uae00\uc218'),U(!0)},children:'\uc804\uccb4'===ge?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.price,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterText,children:'\uac00\uaca9'})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.priceColor,width:"20",height:"20"}),(0,w.jsx)(s.Text,{style:C.filterTextActive,children:ge})]})}),(0,w.jsx)(s.View,{style:{width:16}})]})]})})},ListFooterComponent:function(){return(0,w.jsx)(s.View,{style:{height:16}})},onEndReached:function(){console.log('onEndReached',Ne),0!==Ne&&Je(Ne)},onEndReachedThreshold:60,renderItem:function(e){var t=e.item,i=e.index;return(0,w.jsxs)(s.View,{style:{alignItems:'center'},children:[(0,w.jsx)(s.View,{style:{height:16}}),(0,w.jsx)(c.default,{storeData:t,index:i})]})}})})}),(0,w.jsx)(j.default,{isVisible:b,hasBackdrop:!0,backdropOpacity:.5,onSwipeComplete:function(){return T(!1)},swipeDirection:'down',onBackdropPress:function(){return T(!1)},onBackButtonPress:function(){return T(!1)},onModalHide:function(){T(!1)},style:{justifyContent:'flex-end',margin:0},animationIn:"slideInUp",animationOut:"slideOutDown",children:(0,w.jsxs)(s.View,{style:C.modalContent,children:[(0,w.jsxs)(s.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},children:[(0,w.jsx)(s.Text,{style:C.modalTitle,children:"\uce74\ud14c\uace0\ub9ac"}),(0,w.jsx)(o.default,{style:{padding:4},onPress:function(){console.log('\uc0c8\ub85c\uace0\uce68'),ee([]),T(!1)},children:(0,w.jsx)(_r(d[18]).SvgXml,{xml:_r(d[19]).svgXml.icon.refresh,width:"24",height:"24"})})]}),(0,w.jsx)(s.View,{style:{marginTop:12},children:(0,w.jsx)(x.default,{onPress:ee,data:Z})})]})}),(0,w.jsx)(f.default,{visible:X,setVisible:D,title:'\ud3c9\uc810',value:le,setValue:ne,valueList:['\uc804\uccb4','5.0\uc810','4.5\uc810 \uc774\uc0c1','4.0\uc810 \uc774\uc0c1','3.5\uc810 \uc774\uc0c1']}),(0,w.jsx)(f.default,{visible:P,setVisible:_,title:'\ub124\uc774\ubc84 \ud3c9\uc810',value:oe,setValue:ae,valueList:['\uc804\uccb4','5.0\uc810','4.5\uc810 \uc774\uc0c1','4.0\uc810 \uc774\uc0c1','3.5\uc810 \uc774\uc0c1']}),(0,w.jsx)(f.default,{visible:K,setVisible:$,title:'\uc815\ub82c',value:Ce,setValue:Re,valueList:['\uae30\ubcf8 \uc21c','\uac00\uae4c\uc6b4 \uc21c','\ud3c9\uc810 \ub192\uc740 \uc21c','\ub313\uae00 \ub9ce\uc740 \uc21c','\ucc1c \ub9ce\uc740 \uc21c'],setLocation:Ye}),(0,w.jsx)(f.default,{visible:L,setVisible:B,title:'\ub313\uae00 \uc218',value:ue,setValue:he,valueList:['\uc804\uccb4','10\uac1c \uc774\uc0c1','30\uac1c \uc774\uc0c1','50\uac1c \uc774\uc0c1','100\uac1c \uc774\uc0c1']}),(0,w.jsx)(f.default,{visible:Y,setVisible:z,title:'\ub124\uc774\ubc84 \ub9ac\ubdf0 \uc218',value:we,setValue:ye,valueList:['\uc804\uccb4','10\uac1c \uc774\uc0c1','30\uac1c \uc774\uc0c1','50\uac1c \uc774\uc0c1','100\uac1c \uc774\uc0c1']}),(0,w.jsx)(f.default,{visible:W,setVisible:U,title:'\uac00\uaca9',value:ge,setValue:me,valueList:['\uc804\uccb4','1\ub9cc\uc6d0 \ubbf8\ub9cc','1\ub9cc\uc6d0 ~ 2\ub9cc\uc6d0','2\ub9cc\uc6d0 ~ 3\ub9cc\uc6d0','3\ub9cc\uc6d0 \uc774\uc0c1']})]})};var t=e(_r(d[1])),i=e(_r(d[2])),l=e(_r(d[3])),n=p(_r(d[4])),s=_r(d[5]),r=e(_r(d[6])),o=e(_r(d[7])),a=e(_r(d[8])),c=e(_r(d[9])),u=e(_r(d[10])),h=p(_r(d[11])),x=e(_r(d[12])),f=e(_r(d[13])),j=e(_r(d[14])),v=e(_r(d[15])),w=_r(d[16]);function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,i=new WeakMap;return(y=function(e){return e?i:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=y(t);if(i&&i.has(e))return i.get(e);var l={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&{}.hasOwnProperty.call(e,s)){var r=n?Object.getOwnPropertyDescriptor(e,s):null;r&&(r.get||r.set)?Object.defineProperty(l,s,r):l[s]=e[s]}return l.default=e,i&&i.set(e,l),l}var S=s.Dimensions.get('window').width;var C=s.StyleSheet.create({entire:{flex:1,backgroundColor:_r(d[20]).COLOR_BACKGROUND,justifyContent:'center',alignItems:'center'},textInput:{marginLeft:10,flex:1,fontSize:13,color:'#888888',padding:0,fontFamily:'NanumSquareRoundB'},filterButton:{flexDirection:'row',justifyContent:'center',alignItems:'center',padding:5,paddingHorizontal:7,borderRadius:15,borderWidth:1.5,borderColor:_r(d[20]).COLOR_PRIMARY},filterButtonSelected:{flexDirection:'row',justifyContent:'center',alignItems:'center',padding:5,paddingHorizontal:7,borderRadius:15,borderWidth:1.5,borderColor:_r(d[20]).COLOR_PRIMARY},filterText:{marginLeft:1,fontSize:12,color:_r(d[20]).COLOR_TEXT_BLACK,fontFamily:'NanumSquareRoundEB'},filterTextActive:{marginLeft:1,fontSize:12,color:'#FFFFFF',fontFamily:'NanumSquareRoundB'},filterTextFade:{marginLeft:1,fontSize:12,color:_r(d[20]).COLOR_GRAY,fontWeight:'bold'},modalContent:{backgroundColor:'white',padding:16,borderRadius:16,borderBottomLeftRadius:0,borderBottomRightRadius:0},modalTitle:{fontSize:20,color:_r(d[20]).COLOR_TEXT70GRAY,fontWeight:'700'},categoryLine:{flexDirection:'row',justifyContent:'space-evenly'}})}),1086,[1,34,339,26,153,2,445,442,700,711,517,472,1087,1088,756,439,194,524,624,696,444]);
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var a=e.onPress,l=e.data;(0,_r(d[11]).useNavigation)(),(0,n.useContext)(i.default);return(0,c.jsxs)(r.View,{style:u.todayPick,children:[(0,c.jsx)(r.View,{style:u.buttonLine,children:['\ud55c\uc2dd','\uc591\uc2dd','\uc77c\uc2dd','\uc911\uc2dd','\ubd84\uc2dd'].map((function(e,n){var i=n+1;return(0,c.jsxs)(s.default,{style:u.buttonSet,onPress:(0,o.default)((function*(){if(l.includes(e)){var o=l.filter((function(t){return t!==e}));a(o)}else a([].concat((0,t.default)(l),[e]))})),children:[(0,c.jsx)(r.View,{style:[u.categroyButton,l.includes(e)?{backgroundColor:_r(d[12]).COLOR_SECONDARY,borderRadius:20}:null],children:1===i?(0,c.jsx)(r.Image,{style:u.foodIcon,resizeMode:"contain",source:_r(d[13])}):2===i?(0,c.jsx)(r.Image,{style:u.foodIcon,resizeMode:"contain",source:_r(d[14])}):3===i?(0,c.jsx)(r.Image,{style:u.foodIcon,resizeMode:"contain",source:_r(d[15])}):4===i?(0,c.jsx)(r.Image,{style:u.foodIcon,resizeMode:"contain",source:_r(d[16])}):(0,c.jsx)(r.Image,{style:u.foodIcon,resizeMode:"contain",source:_r(d[17])})},n),(0,c.jsx)(r.Text,{style:u.categroyText2,children:e})]})}))}),(0,c.jsx)(r.View,{style:{height:13}}),(0,c.jsx)(r.View,{style:u.buttonLine,children:['\uce58\ud0a8','\ud53c\uc790','\ubc84\uac70','\uc544\uc2dc\uc548','\uce74\ud398'].map((function(e,n){var i=n+1;return(0,c.jsxs)(s.default,{style:u.buttonSet,onPress:(0,o.default)((function*(){if(l.includes(e)){var o=l.filter((function(t){return t!==e}));a(o)}else a([].concat((0,t.default)(l),[e]))})),children:[(0,c.jsx)(r.View,{style:[u.categroyButton,l.includes(e)?{backgroundColor:_r(d[12]).COLOR_SECONDARY,borderRadius:20}:null],children:1===i?(0,c.jsx)(r.Image,{style:u.foodIcon,resizeMode:"contain",source:_r(d[18])}):2===i?(0,c.jsx)(r.Image,{style:u.foodIcon2,resizeMode:"contain",source:_r(d[19])}):3===i?(0,c.jsx)(r.Image,{style:u.foodIcon,resizeMode:"contain",source:_r(d[20])}):4===i?(0,c.jsx)(r.Image,{style:u.foodIcon,resizeMode:"contain",source:_r(d[21])}):(0,c.jsx)(r.Image,{style:u.foodIcon,resizeMode:"contain",source:_r(d[22])})},n),(0,c.jsx)(r.Text,{style:u.categroyText2,children:e})]})}))})]})};var t=e(_r(d[1])),o=e(_r(d[2])),n=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var n={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,o&&o.set(e,n),n})(_r(d[3])),r=_r(d[4]),i=(e(_r(d[5])),e(_r(d[6])),e(_r(d[7]))),s=(e(_r(d[8])),e(_r(d[9]))),c=_r(d[10]);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}var l=r.Dimensions.get('window').width;var u=r.StyleSheet.create({todayPick:{width:l-32,padding:12,paddingHorizontal:15},todayPickTitle:{fontSize:20,color:_r(d[12]).COLOR_PRIMARY,fontFamily:'NIXGONFONTS M 2.0'},line:{marginVertical:8,height:.5,backgroundColor:'#D9D9D9',width:'100%'},buttonLine:{flexDirection:'row',justifyContent:'space-between',marginHorizontal:3},categroyButton:{justifyContent:'center',alignItems:'center',marginBottom:3,width:50,height:50},categroyText2:{fontSize:13,color:_r(d[12]).COLOR_TEXT_BLACK,fontFamily:'NIXGONFONTS M 2.0'},buttonSet:{justifyContent:'center',alignItems:'center',marginBottom:0},foodIcon:{width:30,height:30},foodIcon2:{width:25,height:25}})}),1087,[1,34,339,153,2,517,700,439,472,442,194,524,444,713,714,715,716,717,718,719,720,721,722]);
__d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var a=e.visible,u=e.setVisible,c=e.title,f=e.value,p=e.setValue,h=e.valueList,y=e.setLocation,x=(function(){var e=(0,t.default)((function*(){var e=_r(d[14]).PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION;try{var t=yield(0,_r(d[14]).request)(e);console.log(t)}catch(e){console.warn(e)}r.default.getCurrentPosition((function(e){console.log(e.coords.latitude,e.coords.longitude);var t=e.coords,n=t.latitude,o=t.longitude;y({latitude:n,longitude:o})}),(function(e){console.log(e.code,e.message)}),{enableHighAccuracy:!0,timeout:15e3,maximumAge:1e4})}));return function(){return e.apply(this,arguments)}})();return(0,l.jsx)(i.default,{isVisible:a,hasBackdrop:!0,backdropOpacity:.5,onSwipeComplete:function(){return u(!1)},swipeDirection:'down',onBackdropPress:function(){return u(!1)},onBackButtonPress:function(){return u(!1)},onModalHide:function(){u(!1)},style:{justifyContent:'flex-end',margin:0},animationIn:"slideInUp",animationOut:"slideOutDown",children:(0,l.jsxs)(n.View,{style:s.modalContent,children:[(0,l.jsxs)(n.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center'},children:[(0,l.jsx)(n.Text,{style:s.modalTitle,children:c}),(0,l.jsx)(o.default,{style:{padding:4},onPress:function(){console.log('\uc0c8\ub85c\uace0\uce68'),p(h[0]),u(!1)},children:(0,l.jsx)(_r(d[15]).SvgXml,{xml:_r(d[16]).svgXml.icon.refresh,width:"24",height:"24"})})]}),(0,l.jsx)(n.View,{style:{height:8}}),(0,l.jsx)(_r(d[17]).FlatList,{data:h,renderItem:function(e){var i=e.item;e.index;return(0,l.jsx)(o.default,{style:s.listButton,onPress:(0,t.default)((function*(){'\uac00\uae4c\uc6b4 \uc21c'==i&&x(),p(i)})),children:i==f?(0,l.jsx)(n.Text,{style:s.buttonText2,children:i}):(0,l.jsx)(n.Text,{style:s.buttonText,children:i})})}})]})})};var t=e(_r(d[1])),n=(u(_r(d[2])),_r(d[3])),o=e(_r(d[4])),i=(e(_r(d[5])),u(_r(d[6])),e(_r(d[7])),e(_r(d[8]))),r=(e(_r(d[9])),e(_r(d[10]))),l=(u(_r(d[11])),e(_r(d[12])),_r(d[13]));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if("default"!==r&&{}.hasOwnProperty.call(e,r)){var l=i?Object.getOwnPropertyDescriptor(e,r):null;l&&(l.get||l.set)?Object.defineProperty(o,r,l):o[r]=e[r]}return o.default=e,n&&n.set(e,o),o}n.Dimensions.get('window').width;var s=n.StyleSheet.create({modalContent:{backgroundColor:'white',padding:16,borderRadius:16,borderBottomLeftRadius:0,borderBottomRightRadius:0},modalTitle:{fontSize:20,color:_r(d[18]).COLOR_TEXT70GRAY,fontWeight:'700'},listButton:{padding:8,paddingHorizontal:0},buttonText:{fontSize:13,color:_r(d[18]).COLOR_TEXT_BLACK,fontWeight:'normal'},buttonText2:{fontSize:13,color:'#A4D65E',fontWeight:'normal'}})}),1088,[1,339,153,2,442,700,733,755,756,711,1089,472,439,194,1091,624,696,781,444]);
__d((function(g,r,i,a,m,e,d){var E=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.PositionError=void 0;var I=E(r(d[1]));e.PositionError=Object.freeze({PERMISSION_DENIED:1,POSITION_UNAVAILABLE:2,TIMEOUT:3,PLAY_SERVICE_NOT_AVAILABLE:4,SETTINGS_NOT_SATISFIED:5,INTERNAL_ERROR:-1}),e.default=I.default}),1089,[1,1090]);
diff --git a/src/components/MapDart.js b/src/components/MapDart.js
index 65b4a1b..280696d 100644
--- a/src/components/MapDart.js
+++ b/src/components/MapDart.js
@@ -27,6 +27,7 @@ export default function MapDart(props) {
{
onPress(data);
console.log('marker pressed', data.name);
diff --git a/src/screens/list/ListMainScreen.js b/src/screens/list/ListMainScreen.js
index 0a9090d..ed5127d 100644
--- a/src/screens/list/ListMainScreen.js
+++ b/src/screens/list/ListMainScreen.js
@@ -216,7 +216,7 @@ export default function ListMainScreen() {
},
);
// console.log('queryString:', queryString);
- // console.log('response:', response.data.data);
+ console.log('response:', response.data.data);
console.log('page:', p);