1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5860],{6699:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/help-center",function(){return a(6682)}])},3105:function(e,t,a){"use strict";var s=a(5893);t.Z=function(e){var t=e.width,a=void 0===t?32:t,n=e.height,r=void 0===n?32:n,i=e.color,l=void 0===i?"#000":i,c=e.className;return(0,s.jsx)("div",{className:c,children:(0,s.jsx)("svg",{width:a,height:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M6 4.07291L9.67453 7.74745C10.1085 8.1814 10.1085 8.89151 9.67453 9.32547L6 13",stroke:l,strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})})})}},9597:function(e,t,a){"use strict";var s=a(4924),n=a(5893),r=a(7294),i=a(4993),l=a(4184),c=a.n(l);t.Z=function(e){var t=e.title,a=e.maxHeight,l=e.iconType,d=void 0===l?"plus":l,o=e.content,m=e.className,x=e.contentWrapperClosedClassName,u=void 0===x?"":x,h=e.contentWrapperExpandedClassName,p=void 0===h?"":h,f=e.initialIsExpanded,g=void 0!==f&&f,j=e.iconSize,v=void 0===j?24:j,b=e.contentClassName,w=(0,r.useState)(!1),N=w[0],y=w[1],k=(0,r.useRef)(null),Z=(0,r.useRef)(null);(0,r.useEffect)((function(){var e=function(e){k.current&&!k.current.contains(e.target)&&y(!1)};return document.addEventListener("click",e),function(){document.removeEventListener("click",e)}}),[k]),(0,r.useEffect)((function(){y(g)}),[]);return(0,n.jsxs)("div",{className:c()("border border-accent-gray rounded-sm pt-3 pr-3 pl-3",(0,s.Z)({},m,m)),ref:k,children:[(0,n.jsxs)("div",{className:"flex flex-row items-center justify-between gap-2 cursor-pointer",onClick:function(){return y(!N)},children:[t,(0,n.jsx)("div",{className:c()("flex flex-shrink-0",{"transition-all duration-300 ease-in-out rotate-90":N&&"arrow"===d}),children:(0,n.jsx)(i.Z,{src:"arrow"===d?"/images/ic-chevron-double-right.svg":"chevron"===d?N?"/images/ic-chevron-up-gray.svg":"/images/ic-chevron-down-gray.svg":N?"/images/ic-minus.svg":"/images/ic-plus.svg",width:v,height:v,alt:""})})]}),(0,n.jsx)("div",{className:c()("overflow-hidden mt-3",N?p:u),style:{height:N&&Z.current?Z.current.clientHeight:0,transition:"height .2s ease-out"},children:(0,n.jsx)("div",{className:c()("pb-3 overflow-auto",b),style:{maxHeight:a||void 0},ref:Z,children:o})})]})}},9186:function(e,t,a){"use strict";var s=a(5893),n=a(7294),r=a(1664),i=a.n(r),l=a(4184),c=a.n(l),d=a(3105);t.Z=function(e){var t=e.items;return(0,s.jsx)("div",{className:"flex flex-row md:gap-x-2 text-sm md:text-16px text-desc overflow-hidden",children:t.map((function(e,a){return(0,s.jsxs)(n.Fragment,{children:[e.url?(0,s.jsx)(i(),{href:e.url,children:(0,s.jsx)("a",{className:c()("hover:underline shrink-0 whitespace-nowrap max-w-[180px]",{"text-primary-blue-5":a!==t.length-1,"text-grayscale-caption-400":a===t.length-1}),children:e.text})}):(0,s.jsx)("span",{className:c()("whitespace-nowrap max-w-[180px]",{"text-primary-blue-5 shrink-0 ":a!==t.length-1,"text-grayscale-caption-400 text-ellipsis overflow-hidden":a===t.length-1}),children:e.text}),a!==t.length-1&&(0,s.jsx)(d.Z,{color:"#798EA5",height:16,width:16})]},a)}))})}},9274:function(e,t,a){"use strict";var s=a(5893),n=a(7294),r=a(4993),i=a(7498),l=a(7690),c=function(e){switch(e){case"disfungsi-ereksi":case"ejakulasi-dini":return"Mulai Belanja";default:return"Mulai Konsul"}};t.Z=function(e){var t=e.slug,a=e.consultSlug,d=(0,l.Z)((function(e){return e.startConsult})),o=(0,n.useCallback)((function(){return(0,i._q)(a)?(0,s.jsxs)("button",{type:"button",onClick:function(){return d({flowId:Number(a)})}
1,className:"flex items-center h-14 rounded-sm text-white bg-primary-blue-5 font-bold px-10 justify-center",children:[(0,s.jsx)("span",{className:"mr-2",children:c(t)}),(0,s.jsx)(r.Z,{src:"/images/ic-arrow-right.svg",alt:"arrow",height:20,width:20})]}):(0,s.jsxs)("a",{href:(0,i.rB)(a),className:"flex items-center h-14 rounded-sm text-white bg-primary-blue-5 font-bold px-10 justify-center",children:[(0,s.jsx)("span",{className:"mr-2",children:c(t)}),(0,s.jsx)(r.Z,{src:"/images/ic-arrow-right.svg",alt:"arrow",height:20,width:20})]})}),[a,t]);return(0,s.jsx)("div",{className:"bg-accent-gray bg-opacity-50",children:(0,s.jsxs)("div",{className:"md:container md:mx-auto px-4 pt-8 pb-6 md:pt-16 md:pb-16 grid grid-cols-3 lg:grid-cols-9 gap-6 md:gap-8",children:[(0,s.jsxs)("div",{className:"col-span-3 lg:col-span-3",children:[(0,s.jsx)("h2",{className:"text-primary-blue-5 font-bolder md:text-lg mb-3 md:mb-4",children:"3 langkah mudah beli produk #RawatDiri"}),(0,s.jsx)("p",{className:"text-sm text-desc md:mb-4",children:"Dapatkan produk efektif dari dokter, dibuat personal untukmu."}),(0,s.jsx)("div",{className:"hidden lg:flex",children:(0,s.jsx)(o,{})})]}),(0,s.jsxs)("div",{className:"col-span-3 lg:col-span-2 flex lg:flex-col",children:[(0,s.jsx)("div",{className:"w-12 h-12 md:w-20 md:h-20 rounded-sm md:rounded-lg bg-accent-gray bg-opacity-50 flex items-center justify-center lg:mb-6 mr-4",children:(0,s.jsx)("div",{className:"w-8 h-8 md:w-14 md:h-14 relative",children:(0,s.jsx)(r.Z,{src:"/images/ic-profile-tick.svg",alt:"person",layout:"fill",objectFit:"contain"})})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("div",{className:"font-bolder text-base md:text-16px text-head mb-0.5 mb-2",children:"Isi kuesioner simpel"}),(0,s.jsx)("div",{className:"text-desc text-sm",children:"Isi pertanyaan singkat tentang kondisimu. Tim Klinis akan memeriksa dan merespon kamu dengan segera."})]})]}),(0,s.jsxs)("div",{className:"col-span-3 lg:col-span-2 flex lg:flex-col",children:[(0,s.jsx)("div",{className:"w-12 h-12 md:w-20 md:h-20 rounded-sm md:rounded-lg bg-accent-gray bg-opacity-50 flex items-center justify-center lg:mb-6 mr-4",children:(0,s.jsx)("div",{className:"w-8 h-8 md:w-14 md:h-14 relative",children:(0,s.jsx)(r.Z,{src:"/images/ic-truck-fast.svg",alt:"truck",width:56,height:56})})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("div",{className:"font-bolder text-base md:text-16px text-head mb-0.5 mb-2",children:"Beli produk dan terima paket cepat"}),(0,s.jsx)("div",{className:"text-desc text-sm",children:"Pilih dan bayar produk rekomendasi Diri. Terima di alamatmu dengan cepat."})]})]}),(0,s.jsxs)("div",{className:"col-span-3 lg:col-span-2 flex lg:flex-col",children:[(0,s.jsx)("div",{className:"w-12 h-12 md:w-20 md:h-20 rounded-sm md:rounded-lg bg-accent-gray bg-opacity-50 flex items-center justify-center lg:mb-6 mr-4",children:(0,s.jsx)("div",{className:"w-8 h-8 md:w-14 md:h-14 relative",children:(0,s.jsx)(r.Z,{src:"/images/ic-mouse-square.svg",alt:"pointer",width:56,height:56})})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("div",{className:"font-bolder text-base md:text-16px text-head mb-0.5 mb-2",children:"Nikmati layanan perawatan berkelanjutan"}),(0,s.jsx)("div",{className:"text-desc text-sm",children:"Punya pertanyaan seputar perawatanmu? Tanya-jawab dengan tim klinis Diri GRATIS selama perawatan."})]})]}),(0,s.jsx)("div",{className:"lg:hidden col-span-3",children:(0,s.jsx)(o,{})})]})})}},6299:function(e,t,a){"use strict";var s=a(4924),n=a(5893),r=a(4184),i=a.n(r),l=a(1664),c=a.n(l);t.Z=function(e){var t=e.items,a=e.activeId,r=e.onChange,l=e.className;return(0,n.jsx)("div",{className:i()("flex flex-row gap-2 items-center",(0,s.Z)({},l,l)),children:t.map((function(e){return e.url?(0,n.jsx)(c(),{href:e.url,scroll:!1,children:(0,n.jsx)("a",{className:i()("py-2 px-3 text-sm md:text-16px rounded cursor-pointer flex-shrink-0 transit transition duration-200 ease-out",{"bg-primary-blue-5 text-white font-bold":e.id===a,"border border-accent-gray bg-white text-desc":e.id!==a}),children:e.label})},e.id):(0,n.jsx)("div",{onClick:function(){return r&&r(e.id)},className:i()("py-2 px-3 text-sm md:text-16px rounded cursor-pointer flex-shrink-0 transit transition duration-200 ease-out",{"bg-primary-blue-5 text-white font-bold":e.id===a,"border border-accent-gray bg-white text-desc":e.id!==a}),children:e.label},e.id)}))})}},6682:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return v},default:function(){return b}});var s=a(5893),n=a(7294),r=a(9274),i=a(5600),l=a(4993),c=a(1664),d=a.n(c),o=function(e){var t=e.email,a=e.whatsapp;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h2",{id:"contact-us",className:"text-head font-semi text-16px md:text-xl md:text-center",children:"Kontak Kami"}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-8 mt-4",children:[t&&(0,s.jsxs)("div",{className:"border border-accent-gray rounded-sm p-4 flex-1",children:[(0,s.jsxs)("div",{className:"flex flex-row gap-2 items-center mb-1",children:[(0,s.jsx)(l.Z,{src:"/images/ic-contact-email.svg",width:20,height:20,alt:"email"}),(0,s.jsx)("span",{className:"text-base md:text-18px text-desc",children:"Email"})]}),(0,s.jsx)(d(),{href:"mailto:".concat(t),children:(0,s.jsx)("a",{target:"_blank",rel:"noopener noreferrer",className:"text-secondary font-semi text-16px md:text-md",children:t})})]}),a&&(0,s.jsxs)("div",{className:"border border-accent-gray rounded-sm p-4 flex-1",children:[(0,s.jsxs)("div",{className:"flex flex-row gap-2 items-center mb-1",children:[(0,s.jsx)(l.Z,{src:"/images/ic-contact-wa.svg",width:20,height:20,alt:"wa"}),(0,s.jsx)("span",{className:"text-base md:text-18px text-desc",children:"WhatsApp"})]}),(0,s.jsx)(d(),{href:"https://wa.me/".concat(a.replace(/[^\d]/g,"")),children:(0,s.jsx)("a",{target:"_blank",rel:"noopener noreferrer",className:"text-secondary font-semi text-16px md:text-md",children:a})})]})]})]})},m=a(9597),x=a(9186),u=a(6299),h=a(483),p=a(9008),f=a.n(p),g=a(4184),j=a.n(g),v=!0,b=function(e){var t=e.data,a=e.initialCategoryIndex,l=e.initialContentIndex,c=(0,n.use
1State)(a),d=c[0],p=c[1],g=(0,n.useRef)([]);return(0,n.useEffect)((function(){if(l){var e,t,a=null!==(t=null===(e=g.current[l])||void 0===e?void 0:e.offsetTop)&&void 0!==t?t:0;setTimeout((function(){window.scrollTo({top:a-140,behavior:"smooth"})}),500)}}),[]),(0,s.jsxs)(i.Z,{navbar:t.navbar,footer:t.footer,children:[(0,s.jsxs)(f(),{children:[(0,s.jsx)("title",{children:"Halaman Bantuan yang Berisikan Jawaban dari Semua Pertanyaan Anda"},"title"),(0,s.jsx)("meta",{property:"og:title",content:"Halaman Bantuan yang Berisikan Jawaban dari Semua Pertanyaan Anda"},"og-title"),(0,s.jsx)("meta",{name:"description",content:"Temukan jawaban dari semua pertanyaan yang sering diajukan seputar obat, cara perawatan, keluhan kulit, skincare, haircare, masalah rambut & sexualitas - Diri"},"meta-desc"),(0,s.jsx)("meta",{property:"og:description",content:"Temukan jawaban dari semua pertanyaan yang sering diajukan seputar obat, cara perawatan, keluhan kulit, skincare, haircare, masalah rambut & sexualitas - Diri"},"og-desc")]}),(0,s.jsxs)("div",{className:"md:container md:mx-auto flex flex-col md:flex-row md:items-start md:gap-20 mt-2 md:mt-6",children:[(0,s.jsxs)("div",{className:"px-4 md:px-0 md:flex-[1] md:pr-10 md:border-r md:border-accent-gray",children:[(0,s.jsx)("h1",{className:"text-head font-semi text-16px md:text-xl",children:"Kategori Bantuan"}),(0,s.jsx)("div",{className:"mt-1",children:(0,s.jsx)(x.Z,{items:[{text:"Home",url:"/#"},{text:"Pusat Bantuan"}]})}),(0,s.jsx)("div",{className:"mt-8 hidden md:flex md:flex-col md:gap-4",children:t.categories.map((function(e){return e.name})).map((function(e,t){return(0,s.jsx)("h2",{className:j()("flex flex-row justify-between items-center gap-2 px-5 py-3 bg-opacity-20 cursor-pointer rounded-sm text-18px text-head",{"bg-accent-gray text-secondary":t===d}),onClick:function(){return p(t)},children:e},t)}))})]}),(0,s.jsx)("div",{className:"mt-4 md:hidden",children:(0,s.jsx)(u.Z,{items:t.categories.map((function(e){return e.name})).map((function(e,t){return{id:t,label:(0,s.jsx)("h2",{children:e})}})),activeId:d,onChange:p,className:"overflow-auto no-scrollbar px-4 md:px-0 md:flex-wrap md:justify-center"})}),(0,s.jsxs)("div",{className:"px-4 md:px-0 md:flex-[3]",children:[(0,s.jsxs)("div",{className:"hidden md:block text-center",children:[(0,s.jsx)("p",{className:"text-xl text-head font-semi",children:t.categories[d].name}),(0,s.jsx)("p",{className:"text-18px text-desc",children:"Pertanyaan yang sering diajukan"})]}),(0,s.jsx)("div",{className:"mt-4 md:mt-10 flex flex-col gap-4",children:t.categories[d].contents.map((function(e,t){return(0,s.jsx)("div",{ref:function(e){g.current[t]=e},children:(0,s.jsx)(m.Z,{title:(0,s.jsx)("h3",{className:"text-head font-semi text-base md:text-18px",children:e.question}),content:(0,s.jsx)("div",{className:"text-desc text-sm mt-1 md:text-18px rich-text",children:h.Z.default(e.answer)}),initialIsExpanded:d===a&&t===l})},t)}))}),(0,s.jsx)("div",{className:"mt-10",children:(0,s.jsx)(o,{email:t.footer.customerSupportEmail,whatsapp:t.footer.customerSupportWhatsapp})})]})]}),(0,s.jsx)("div",{className:"mt-6 md:mt-14",children:(0,s.jsx)(r.Z,{consultSlug:t.buttonConsult1})})]})}}},function(e){e.O(0,[4885,7158,5935,9457,2179,5600,9774,2888,179],(function(){return t=6699,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.