1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[162],{77860:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return T}});var a=t(83789),i=t(92809),n=t(67294),r=t(11163),c=t(58478),o=t(90723),l=t(87396),m=t(37054),d=t(85893),g=function(e){var s=e.address,t=e.distance,a=e.lat,i=e.lng,n=e.timings,r=e.email,g=e.contact,u=(e.storeMapImgUrl,(0,c.b)().currentLocale),h=l.l[u];return(0,d.jsxs)("div",{className:"store-location-info",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"direction-item",children:[(0,d.jsxs)("div",{className:"d-flex align-items-center mb-2 mt-2",children:[(0,d.jsx)("img",{src:"/images/map-pin-icon.svg",alt:"Clock",className:"left-icon"}),(0,d.jsx)("h3",{className:"store-detail-title mb-0",children:h.locations})]}),-1!==t&&(0,d.jsxs)("p",{className:"store-location-distance",children:["(",t," Km from your location)"]}),(0,d.jsx)("p",{className:"store-location-address",children:s}),(0,d.jsx)("a",{target:"_blank",className:"store-get-direction",href:"https://www.google.com/maps?z=15&daddr=".concat(a,",").concat(i),rel:"noreferrer",children:"GET DIRECTION"})]}),n&&(0,d.jsxs)("div",{className:"d-flex flex-column mt-4",children:[(0,d.jsxs)("div",{className:"d-flex align-items-center mb-2 mt-2",children:[(0,d.jsx)("img",{src:"/images/store-clock.svg",alt:"Clock",className:"store-clock"}),(0,d.jsx)("h3",{className:"store-detail-title mb-0",children:h.openingHours})]}),(0,d.jsx)("p",{className:"store-time",children:n})]}),(0,d.jsxs)("div",{className:"mt-4",children:[(0,d.jsxs)("div",{className:"d-flex align-items-center mb-2 mt-2",children:[(0,d.jsx)("img",{src:"/images/Chat_Conversation.svg",alt:"chat",className:"store-chat"}),(0,d.jsx)("h3",{className:"store-detail-title mb-0",children:h.contactInfo})]}),(0,d.jsxs)("div",{className:"d-flex flex-column ml-2rem",children:[(0,d.jsx)("div",{className:"d-flex align-items-center mb-2",children:(0,d.jsxs)("a",{target:"_blank",href:o.Z.chatWithExpert("Hai SATURDAYS...",g),className:"store-detail-contact",rel:"noreferrer",children:[(0,d.jsx)("img",{src:"/images/store-whatsapp.svg"}),g]})}),(0,d.jsx)("div",{className:"d-flex align-items-center",children:(0,d.jsxs)("a",{href:o.Z.emailSaturdays(),className:"store-detail-email",children:[(0,d.jsx)("img",{src:"/images/Mail-blue.svg"}),r]})})]})]})]}),(0,d.jsx)("div",{style:{width:620,height:360},children:(0,d.jsx)(m.KJ,{googleMapsApiKey:"AIzaSyDA0DT9_Qt4xhFDyjW9Ejdkolr5LUKnPS0",children:(0,d.jsx)(m.b6,{options:{streetViewControl:!1,fullscreenControl:!1},mapContainerStyle:{width:"100%",height:"100%"},zoom:16,center:{lat:a,lng:i},children:(0,d.jsx)(m.Jx,{icon:{url:"/images/saturday_map_marker.svg",scale:.5},position:{lat:a,lng:i},draggable:!1})})})})]})},u=[{src:"/images/free-eye-exam.svg",title:"Free Eye Exam",content:"Our certified optician is always available in the store. No appointment required.",showByDefault:!0},{src:"/images/styling-assistance.svg",title:"Styling Assistance",content:"We'll guide you through our collection to find the next pair that you will wear.",showByDefault:!0},{src:"/images/insurance.svg",title:"Insurance Benefit",content:"Claim your insurance with us and find your best vision solutions",showByDefault:!0},{src:"/images/express-service.svg",title:"Express Service",content:"Glasses can be ready in 20-minute. That's equal to a cup of coffee in one sitting!",isExpressService:!0},{src:"/images/free-repair.svg",title:"Free Repair and Consultation",content:"Our guaranteed services include frame adjustment and lens cleansing.",showByDefault:!0},{src:"/images/in-store-coffee.svg",title:"Buy 1 Get 1",content:"Bring your loved ones and get your second drink for free by wearing SATURDAYS.",isCafe:!0}],h=[{src:"/images/free-eye-exam.svg",title:"Gratis Periksa Mata",content:"Ahli kacamata yang bersertifikat selalu berada di optik. Sila
1hkan datang tanpa membuat janji terlebih dahulu.",showByDefault:!0},{src:"/images/styling-assistance.svg",title:"Bantuan Penataan Gaya",content:"Kami akan memandu Anda melalui koleksi kami untuk menemukan pasangan berikutnya yang akan Anda kenakan.",showByDefault:!0},{src:"/images/insurance.svg",title:"Manfaat Asuransi",content:"Klaim asuransi Anda bersama kami dan temukan solusi penglihatan terbaik Anda",showByDefault:!0},{src:"/images/express-service.svg",title:"Layanan Cepat",content:"Waktu tunggu hanya 30 menit, sama seperti menghabiskan satu cangkir kopi!",isExpressService:!0},{src:"/images/free-repair.svg",title:"Perbaikan Gratis",content:"Layanan kami termasuk penyesuaian bingkai, pembersihan lensa dan penggantian lensa yang tergores",showByDefault:!0},{src:"/images/in-store-coffee.svg",title:"Beli 1 Gratis 1 Kopi",content:"Dapatkan minuman kedua gratis setiap kamu mengunjungi toko menggunakan kacamata SATURDAYS",isCafe:!0}],x=function(e){var s=e.cafePresent,t="en"===(0,c.b)().currenLocale?u:h;return(0,d.jsxs)("div",{className:"in-store-service-section",children:[(0,d.jsx)("h2",{className:"heading font-oswald title",children:"IN-STORE SERVICES"}),(0,d.jsx)("div",{className:"in-store-services",children:t.map((function(e){var t=e.content,a=e.title,i=e.src;return"Buy 1 Get 1"!==a||s?(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"d-flex align-items-center mb-2",children:[(0,d.jsx)("img",{src:i}),(0,d.jsx)("h3",{className:"title",children:o.Z.capitalizeWords(a)})]}),(0,d.jsx)("p",{className:"content",style:{marginLeft:"50px"},children:t})]},a):null}))})]})},f=t(31913),p=(t(30381),t(41664)),v=function(e){var s=e.author_name,t=e.text,a=e.rating,i=e.time;return(0,d.jsxs)("div",{className:"store-review-card mb-4",children:[(0,d.jsxs)("div",{className:"review-card-inner-blk",children:[(0,d.jsxs)("div",{className:"review-card-header",children:[(0,d.jsx)("p",{className:"name",children:s}),(0,d.jsxs)("div",{className:"d-flex align-items-center review-card-count",children:[(0,d.jsx)("img",{src:"/images/star-black.svg",className:"review-card-rating-icon"}),Number(a)&&Number(a).toFixed(1)]})]}),(0,d.jsx)("p",{className:"date",children:o.Z.timeStampToRequiredFormat(i,"DD MMM YYYY")})]}),(0,d.jsx)(f.Z,{text:t,maxLength:100,className:"review"})]},i)},j=function(e){var s=e.rating,t=e.totalUserRatings,a=e.redirectURLToGoogleMaps,i=e.reviews;return(0,d.jsxs)("div",{className:"store-reviews-section",children:[(0,d.jsx)("h2",{className:"heading font-oswald title",children:"REVIEWS"}),a&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"d-flex align-items-center justify-content-between store-reviews-section-top-section",children:[(0,d.jsxs)("div",{className:"d-flex align-items-center",children:[(0,d.jsx)("img",{src:"/images/star-black.svg",className:"star-black-icon"}),(0,d.jsx)("p",{className:"review-point",children:s}),(0,d.jsx)("span",{className:"line-separator"}),(0,d.jsxs)("span",{className:"review-count",children:[t," reviews"]})]}),(0,d.jsxs)("a",{href:a,target:"_blank",rel:"noreferrer",className:"btn custom-button saturdays__button-active new-arrivals review-view-all",children:[(0,d.jsx)("img",{src:"/images/edit-pencil-white.svg"}),"add review"]})]}),(0,d.jsx)("div",{className:"store-review-card-wrapper",children:i.map(v)})]}),(0,d.jsx)("button",{className:"d-flex outlined-btn mb-4 mt-4 mx-auto",onClick:function(){},children:(0,d.jsx)(p.default,{href:a,children:(0,d.jsx)("a",{children:"view all review"})})})]})},y=t(75819),N=function(e){var s=e.name,t=e.isPopupStore,a=e.city,i=e.storeRegion,n=e.rating,r=e.totalUserRating,c=e.redirectURLToGoogleMaps,o=e.isCafe;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"d-flex align-items-center justify-content-between",children:[(0,d.jsxs)("div",{className:"d-flex align-items-center gap-4",children:[(0,d.jsx)("h1",{children:s}),t&&(0,d.jsx)(y.Z,{})]}),o&&(0,d.jsxs)("ul",{className:"list-unstyled store-facilities-list",children:[(0,d.jsx)("li",{children:(0,d.jsx)("img",{src:"/images/new-certified-optician.svg",alt:"glass"})}),(0,d.jsx)("li",{children:(0,d.jsx)("img",{src:"/images/coffee-icon.svg",alt:"coffee"})}),(0,d.jsx)("li",{children:(0,d.jsx)("img",{src:"/images/wifi-icon.svg",alt:"wifi"})})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"store-detail",children:a}),(0,d.jsx)("p",{className:"store-detail",children:i})]}),(0,d.jsxs)("div",{className:"d-flex align-items-center",children:[!!n&&!!r&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("img",{src:"/images/rating_star.svg",alt:"rating star"}),(0,d.jsxs)("p",{className:"rating",children:[n," (",r," ratings)"]})]}),c&&(0,d.jsx)("a",{href:c,target:"_blank",className:"view-review",rel:"noreferrer",children:"view reviews"})]})]})}
1,w=t(2992),b=t(93942),k=t(72421),_=t(22222),S=(t(25675),t(59050)),R=((0,_.P1)([function(e){return e.stores},function(e,s){return s}],(function(e,s){var t=e.storesList;return S.ZP.find(t,(function(e){return e.id==s}))})),(0,_.P1)([function(e){return e.stores},function(e,s){return s}],(function(e,s){var t=e.storesList;return S.ZP.find(t,(function(e){var t,a;return(null===(t=e.name)||void 0===t?void 0:t.toUpperCase())==(null===(a=(0,k.m)(s))||void 0===a?void 0:a.toUpperCase())}))}))),C=t(50196),E=t(92167),D=function(e){var s=e.rating,t=e.name,a=e.is_cafe,i=e.city,n=e.store_region,r=e.distance,c=e.timings,o=e.image,l=e.handleClick;return(0,d.jsx)("div",{onClick:function(){return l("/retail/".concat((0,k.d)(i),"/").concat((0,k.d)(t)))},className:"store-detail-nearby-card position-relative",children:(0,d.jsxs)("div",{className:"map-location-store-card",children:[!!s&&-1!==s&&(0,d.jsxs)("div",{className:"store-map-rating-wrapper",children:[(0,d.jsx)("img",{src:"/images/rating_star.svg",alt:"rating star"}),(0,d.jsx)("span",{className:"store-rating",children:s})]}),(0,d.jsx)("div",{className:"store-nearby-image-wrapper",children:(0,d.jsx)("img",{src:o})}),(0,d.jsxs)("div",{className:"store-nearby-info-wrapper",children:[(0,d.jsx)("p",{className:"store-name font-montserrat f-600",children:t}),a&&(0,d.jsxs)("ul",{className:"list-unstyled store-faclities-list",style:{display:"flex"},children:[(0,d.jsx)("li",{className:"d-flex",children:(0,d.jsx)("img",{src:"/images/glasses_outline.svg",alt:"glass"})}),(0,d.jsx)("li",{children:(0,d.jsx)("img",{src:"/images/coffee-icon.svg",alt:"coffee"})}),(0,d.jsx)("li",{children:(0,d.jsx)("img",{src:"/images/wifi-icon.svg",alt:"wifi"})})]}),(0,d.jsxs)("p",{className:"store-address font-montserrat",children:[i,", ",n]}),(0,d.jsx)("p",{className:"store-timings font-montserrat",children:c}),!!r&&-1!==r&&(0,d.jsxs)("p",{className:"store-distance d-flex align-items-center mt-2",children:[(0,d.jsx)("img",{src:"/images/map-pin-icon.svg",alt:"location pin"}),r," Kms"]})]})]})})},L=function(e){var s=e.storesNearBy,t=void 0===s?[{rating:1.2,name:"store-name",is_cafe:!0,city:"City",store_region:"store-region",distance:1e3,timings:"timings"},{name:"store-name",city:"City",store_region:"store-region",timings:"timings"}]:s,a=(0,r.useRouter)();return(0,d.jsxs)("div",{className:"store-detail-nearby-section",children:[(0,d.jsx)("h2",{className:"heading font-oswald title",children:"nearby stores"}),(0,d.jsx)("div",{className:"store-detail-nearby-card-wrapper mt-4",children:t.map((function(e,s){var t=e.rating,i=e.city,n=e.name,r=e.store_region,c=e.timings,o=e.distance,l=e.is_cafe,m=e.image;return(0,d.jsx)(D,{city:i,distance:o,image:m,is_cafe:l,name:n,rating:t,store_region:r,timings:c,handleClick:a.push},s)}))}),(0,d.jsx)("button",{className:"d-flex outlined-btn mb-4 mt-4 mx-auto",onClick:function(){},children:(0,d.jsx)(E.default,{href:"/store-locations",children:(0,d.jsx)("a",{children:"view all stores"})})})]})},P=t(27613);function O(e,s){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);s&&(a=a.filter((function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable}))),t.push.apply(t,a)}return t}function U(e){for(var s=1;s<arguments.length;s++){var t=null!=arguments[s]?arguments[s]:{};s%2?O(Object(t),!0).forEach((function(s){(0,i.Z)(e,s,t[s])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O(Object(t)).forEach((function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(t,s))}))}return e}var T=function(e){var s=e.heightHeight,t=(0,r.useRouter)(),i=(0,b.I0)(),l=t.query.storeName,m=(0,b.v9)((function(e){return e.user})),u=m.apiKey,h=m.authorization,f=(0,b.v9)((function(e){return e.stores})).storesList,p=(0,b.v9)((function(e){return R(e,l)})),v=(0,n.useState)(!1),y=(v[0],v[1],(0,n.useState)("")),k=(y[0],y[1]),_=(0,n.useState)({reviews:[],rating:[],redirectURLToGoogleMaps:"",totalUserRatings:""}),S=_[0],E=_[1],D=p||{},O=D.base_url,T=D.store_image_key,A=D.address,M=D.city,B=D.distance,Z=(D.id,D.is_cafe),G=(D.is_insurance,D.name),I=(D.province,D.store_region),F=D.store_timing,K=D.phone,W=D.email,z=D.lat,Y=D.long,q=D.place_id,H=(D.is_express_service,D.map_image_key,D.is_popup_store),V=O+T,J=S.reviews,X=S.rating,Q=S.redirectURLToGoogleMaps,$=S.totalUserRatings,ee=(0,n.use
1State)({lat:void 0,lng:void 0}),se=ee[0],te=ee[1];(0,n.useEffect)((function(){navigator.geolocation&&navigator.geolocation.getCurrentPosition((function(e){var s=e.coords,t=s.latitude,a=s.longitude;te((function(e){return U(U({},e),{},{lat:t,lng:a})}))}),(function(){}),{enableHighAccuracy:!0})}),[]);var ae=(0,n.useMemo)((function(){var e,s,t;return f&&f.length?null===(e=(0,a.Z)(f).filter((function(e){return e.name!==(null===p||void 0===p?void 0:p.name)})))||void 0===e||null===(s=e.sort((function(e){return e.distance})))||void 0===s||null===(t=s.slice(0,3))||void 0===t?void 0:t.map((function(e){return{rating:e.rating,name:e.name,is_cafe:e.is_cafe,city:e.city,store_region:e.store_region,distance:e.distance,timings:e.store_timing,image:e.base_url+e.store_image_key}})):[]}),[f,p]);(0,n.useEffect)((function(){if(t.isReady&&!p){var e={apiKey:u,authorization:h};i((0,w.x)(e)).unwrap().catch((function(){toast.error(messages.somethingWentWrong)}))}}),[p,t,u,h,i]);var ie=(0,c.b)().currentLocale;(0,n.useEffect)((function(){if(k(window.location.href),q&&t.isReady){var e={apiKey:u,authorization:h,placeId:q};i((0,w.NB)(e)).unwrap().then((function(e){var s=e.status,t=e.data,a=e.message;if(s){var i=t.reviews,n=t.rating,r=t.url,c=t.user_ratings_total;E((function(e){return U(U({},e),{},{reviews:i,rating:n,totalUserRatings:c,redirectURLToGoogleMaps:r})}))}else toast.error(a.en)})).catch((function(){toast.error(messages.somethingWentWrong)}))}}),[q,t]);se.lat?"".concat("en"===ie?C.o0.lokasiToko:C.bv.storeLocations,"?latitude=").concat(se.lat,"&longitude=").concat(se.lng):"en"===ie?C.o0.lokasiToko:C.bv.storeLocations;return(0,d.jsxs)("section",{style:{marginTop:"".concat(s+s/5,"px")},className:"store-detail-page",children:[(0,d.jsx)(P.Z,{title:"SATURDAYS",description:"For fashion-conscious, progressive generations who have a vision to shape the world.",image:"/images/thumbnail/v2/general.png"}),(0,d.jsxs)("div",{className:"d-flex flex-row align-items-center my-3",style:{marginLeft:"85px"},children:[(0,d.jsx)("span",{className:"store-locations-breadcrumbs",style:{cursor:"pointer"},onClick:function(){return t.back()},children:"Store locations"}),(0,d.jsx)("span",{style:{marginLeft:"10px",marginRight:"10px"},children:">"}),(0,d.jsx)("span",{className:"store-locations-breadcrumbs",children:o.Z.capitalizeWords(G)})]}),(0,d.jsx)("img",{src:V||"",className:"store-location-banner"}),(0,d.jsxs)("div",{className:"store-detail-main",children:[(0,d.jsx)(N,{city:M,name:G,isPopupStore:H,rating:Number(X)&&Number(X).toFixed(1),redirectURLToGoogleMaps:Q,storeRegion:I,totalUserRating:$,isCafe:Z}),(0,d.jsx)(g,{address:A,contact:K,distance:B,email:W,lat:z,lng:Y,timings:F,storeMapImgUrl:o.Z.getStaticMapImg(z,Y,620,360,18)}),(0,d.jsx)(x,{cafePresent:Z}),J&&!!J.length&&(0,d.jsx)(j,{rating:Number(X)&&Number(X).toFixed(1),redirectURLToGoogleMaps:Q,totalUserRatings:$,reviews:J.slice(0,3)}),(0,d.jsx)(L,{currentStore:null===l||void 0===l?void 0:l.name,storesNearBy:ae})]})]})}},27613:function(e,s,t){"use strict";var a=t(9008),i=t(85893);s.Z=function(e){var s=e.title,t=e.description,n=e.image;return(0,i.jsxs)(a.default,{children:[(0,i.jsx)("title",{children:s}),(0,i.jsx)("meta",{name:"description",content:s}),(0,i.jsx)("meta",{name:"robots",content:"index,follow"}),(0,i.jsx)("meta",{property:"og:title",content:s}),(0,i.jsx)("meta",{property:"og:description",content:t}),(0,i.jsx)("meta",{property:"og:image",content:n}),(0,i.jsx)("meta",{property:"og:image:alt",content:s}),(0,i.jsx)("meta",{property:"og:image:width",content:"800"}),(0,i.jsx)("meta",{property:"og:image:height",content:"600"})," ",(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{name:"twitter:title",content:s}),(0,i.jsx)("meta",{name:"twitter:description",content:t}),(0,i.jsx)("meta",{name:"twitter:image",content:n})]})}},31913:function(e,s,t){"use strict";var a=t(67294),i=t(85893);s.Z=function(e){var s=e.text,t=e.className,n=e.maxLength,r=void 0===n?100:n,c=(0,a.useState)(!1),o=c[0],l=c[1];return(0,i.jsxs)("div",{children:[s.length<=r||o?(0,i.jsx)("p",{className:t,children:s}):(0,i.jsx)("div",{children:(0,i.jsx)("p",{className:t,children:"".concat(s.substring(0,r),"...")})}),s.length>r&&(0,i.jsx)("span",{className:"review-read-more",onClick:function(){l(!o)},children:o?"Read Less":"Read More"})]})}},75819:function(e,s,t){"use strict";t(67294);var a=t(85893);s.Z=function(e){var s=e.size;return(0,a.jsx)("div",{style:{backgroundColor:"#F3EDE9",color:"white",borderRadius:"10px",border:"1px solid #B59272"},className:"px-2 fw-600",children:(0,a.jsx)("p",{style:{fontSize:s||"1rem",color:"#8A6D53",whiteSpace:"nowrap"},children:"Pop-up Experience"})})}},86372:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/retail/[area]/[storeName]",function(){return t(77860)}])}},function(e){e.O(0,[1255,9774,2888,179],(function(){return s=86372,e(e.s=s);var s}));var s=e.O();_N_E=s}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.