1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="213eea12-11d8-42fb-92d2-bc9ac21fde0d",e._sentryDebugIdIdentifier="sentry-dbid-213eea12-11d8-42fb-92d2-bc9ac21fde0d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[557],{9245:function(e,t,n){"use strict";var l=n(85893),o=n(32355),a=n(15543),i=n.n(a);t.Z=e=>{let{className:t}=e;return(0,l.jsxs)("span",{className:(0,o.A)(i().root,t),children:[(0,l.jsx)("span",{className:i().dot},"dot_1"),(0,l.jsx)("span",{className:i().dot},"dot_2"),(0,l.jsx)("span",{className:i().dot},"dot_3")]})}},50557:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var l=n(85893),o=n(32355),a=n(35478),i=n(67294),r=n(93967),d=n.n(r),s=n(37156),c=n(95591),u=n(9245);let x=()=>{let{locale:e=""}=(0,s.useRouter)(),{data:t}=(0,c.ZP)("countryName",()=>fetch("/api/multipass/gcs/entryRelationship/list",{method:"GET"}).then(e=>e.json()).then(e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.data}));return(0,i.useMemo)(()=>{let n={};return null==t||t.map(t=>{let l;n[t.pageCode||"_global"]||(n[t.pageCode||"_global"]={});try{l=JSON.parse(t.translateText||"{}")}catch(e){}n[t.pageCode||"_global"][t.positionCode]=(null==l?void 0:l[e.toUpperCase()])||t.entryStr}),n},[t,e])};var p=n(85103),m=n(54715);let v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return fetch("/api/multipass/gcs/portalPage/listContactUsByBrand",{method:"POST",body:JSON.stringify({brand:p.cg,contactType:e})}).then(e=>e.json()).then(e=>(0,m.Y)(e.data,(null==t?void 0:t.toUpperCase())||"US"))},f=e=>{let{headerRow:t,dataRows:n}=e;return(0,l.jsxs)("div",{className:"rounded-[16px] bg-white p-[32px] l:bg-transparent l:p-0",children:[(0,l.jsx)("div",{className:"grid items-center bg-[#F1F2F3] text-[16px] font-bold leading-[1.4] l:hidden",style:{gridTemplateColumns:"repeat(".concat(t.length,", minmax(0, 1fr))")},children:t.map((e,t)=>(0,l.jsx)("div",{className:"col-span-1 p-[16px] text-left text-[16px] font-bold text-[#1D1F22]",children:e},t))}),(0,l.jsx)("div",{className:"mt-[16px] flex flex-col gap-[16px]",children:n.map((e,n)=>(0,l.jsx)("div",{className:"flex flex-col gap-[16px] text-[16px] font-bold leading-[1.4]",children:(0,l.jsxs)("div",{className:(0,o.A)("grid items-center text-[16px] font-bold text-[#1D1F22] l:!grid-cols-2 l:items-start l:gap-x-[12px] l:gap-y-0 l:py-[16px]",0===n?"":"l:border-t l:border-[#CECECF]/60"),style:{gridTemplateColumns:"repeat(".concat(t.length,", minmax(0, 1fr))")},children:[e.map((e,t)=>(0,l.jsx)("div",{className:"col-span-1 break-all p-[16px] text-left l:hidden",children:e},t)),(0,l.jsx)("div",{className:"col-span-1 l:text-[14px] min-l:hidden",children:e[0]}),(0,l.jsx)("div",{className:"text-[12px] text-[#86868C] min-l:hidden",children:e.slice(1).map((e,t)=>(0,l.jsx)("div",{children:e},t))})]})},n))})]})},h=e=>{let{setting:t}=e,{locale:n}=(0,s.useRouter)(),o=x(),a=(0,i.useMemo)(()=>[{id:"customerService",label:null==t?void 0:t.customerService},{id:"other",label:null==t?void 0:t.otherDepartments}],[t]),[r,p]=(0,i.useState)(a[0].id),{data:m=[],isLoading:h}=(0,c.ZP)("Email",()=>v("Email",n)),b=(0,i.useMemo)(()=>null==m?void 0:m.some(e=>!!e.contactLanguage),[m]),g=(0,i.useMemo)(()=>"other"===r?[null==t?void 0:t.notes,null==t?void 0:t.email]:b?[null==t?void 0:t.country,null==t?void 0:t.email,null==t?void 0:t.language,null==t?void 0:t.serviceTime]:[null==t?void 0:t.country,null==t?void 0:t.email,null==t?void 0:t.notes],[r,b,t]),y=(0,i.useMemo)(()=>{if("other"===r){var e;return(null===(e=t.otherDepartmentEmailList)||void 0===e?void 0:e.map((e,t)=>[(0,l.jsx)("div",{children:e.notes},e.notes+"_"+t),(0,l.jsx)("a",{className:"text-[#3adb67] underline",href:"mailto:".concat(e.contactInfo),children:e.contactInfo},e.contactInfo+"_"+t)]))||[]}return m.filter(e=>!!e.isContactShow&&!!e.isWebShow).sort((e,t)=>{let l=e.area.toLowerCase(),o=t.area.toLowerCase();return l===n&&o!==n?-1:l!==n&&o===n?1:"eu"===n&&"pl"===l?-1:e.contactPriority-t.contactPriority}).map(e=>{var t,n;return b?[(null===(t=o.country)||void 0===t?void 0:t[e.area.toLowerCase()])||e.area,(0,l.jsx)("a",{href:"mailto:".concat(e.contactInfo),children:e.contactInfo},e.contactInfo),e.contactLanguage,e.serviceTime]:[(null===(n=o.country)||void 0===n?void 0:n[e.area.toLowerCase()])||e.area,(0,l.jsx)("a",{className:"text-[#3adb67] underline",href:"mailto:".concat(e.contactInfo),children:e.contactInfo},e.contactInfo),e.descriptionEn]})},[m,b,r,t,o]);return(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"mx-auto mb-[48px] mt-[-24px] flex w-fit items-center justify-center bg-[#E9EBEE] p-[4px]",children:a.map(e=>(0,l.jsx)("div",{className:d()("flex h-[38px] min-w-[175px] cursor-pointer items-center justify-center rounded-[4px] px-[16px] text-[16px] font-bold text-[#1D1D1F] l:text-[14px]",r===e.id?"bg-white":"bg-transparent"),onClick:()=>{p(e.id)},onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),p(e.id))},role:"button",tabIndex:0,children:e.label},e.id))}),o.country?(0,l.jsx)(f,{headerRow:g,dataRows:y}):(0,l.jsx)("div",{className:"flex items-center justify-center py-8",children:(0,l.jsx)(u.Z,{})})]})},b=e=>{let{setting:t}=e,{locale:n}=(0,s.useRouter)(),{data:o=[]}=(0,c.ZP)("HOTLINE",()=>v("HOTLINE",n)),a=(0,i.useMemo)(()=>null==o?void 0:o.some(e=>!!e.contactLanguage),[o]),r=x(),d=(0,i.useMemo)(()=>a?[null==t?void 0:t.country,null==t?void 0:t.tel,null==t?void 0:t.language,null==t?void 0:t.serviceTime,null==t?void 0:t.notes]:[null==t?void 0:t.country,null==t?void 0:t.tel,null==t?void 0:t.serviceTime,null==t?void 0:t.notes],[a,t]),p=(0,i.useMemo)(()=>o.filter(e=>!!e.isContactShow&&!!e.isWebShow).sort((e,t)=>
1{let l=e.area.toLowerCase(),o=t.area.toLowerCase();return l===n&&o!==n?-1:l!==n&&o===n?1:"eu"===n&&"pl"===l?-1:e.contactPriority-t.contactPriority}).map(e=>{var t,n;return a?[(null===(t=r.country)||void 0===t?void 0:t[e.area.toLowerCase()])||e.area,(0,l.jsx)("a",{className:"text-[#3adb67] underline",href:"tel:".concat(e.contactInfo),children:e.contactInfo},e.contactInfo),e.contactLanguage,e.serviceTime,e.descriptionEn]:[(null===(n=r.country)||void 0===n?void 0:n[e.area.toLowerCase()])||e.area,(0,l.jsx)("a",{className:"text-[#3adb67] underline",href:"tel:".concat(e.contactInfo),children:e.contactInfo},e.contactInfo),e.serviceTime,e.descriptionEn]}),[o,a,r]);return r.country?(0,l.jsx)(f,{headerRow:d,dataRows:p}):(0,l.jsx)("div",{className:"flex items-center justify-center py-8",children:(0,l.jsx)(u.Z,{})})};var g=e=>{var t,n;let{page:r}=e,d=null==r?void 0:null===(n=r.metafields)||void 0===n?void 0:null===(t=n.component)||void 0===t?void 0:t.setting,s=(0,i.useMemo)(()=>[{id:"email",label:null==d?void 0:d.email,children:d&&(0,l.jsx)(h,{setting:d})},{id:"call-us",label:null==d?void 0:d.callUs,children:d&&(0,l.jsx)(b,{setting:d})}],[d]),[c,u]=(0,i.useState)(s[0].id);return(0,i.useEffect)(()=>{let e=()=>{s.forEach(e=>{let t=document.querySelector("#".concat(e.id));if(t){let n=t.getBoundingClientRect();n.top<100&&n.bottom>100&&u(e.id)}})},t=()=>{e()};return window.addEventListener("scroll",e),window.addEventListener("resize",t),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",t)}},[s]),(0,l.jsxs)("div",{className:"bg-[#f7f8f9]",children:[(0,l.jsx)("div",{className:"sticky top-0 flex h-[46px] items-center gap-[32px] border-b border-[#CECECF] bg-white px-[16px] text-[16px] font-bold text-[#1D1F22] min-l:hidden",children:s.map(e=>(0,l.jsx)("div",{className:(0,o.A)("flex h-full items-center border-b-[3px]",e.id===c?"border-brand":"border-transparent"),onClick:()=>{document.querySelector("#".concat(e.id))&&(0,a.Z)("#".concat(e.id))},onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),document.querySelector("#".concat(e.id))&&(0,a.Z)("#".concat(e.id)))},role:"button",tabIndex:0,children:e.label},e.id))}),(0,l.jsxs)("div",{className:"mx-auto max-w-[1664px] py-[96px] md:w-full md:px-[16px] l:py-[64px] min-xl:w-[calc(100vw-128px)] md-l:w-[calc(100vw-64px)] l-xl:w-[calc(100vw-128px)]",children:[(0,l.jsx)("div",{className:"text-center text-[36px] font-extrabold l:text-[24px]",children:(null==d?void 0:d.title)||(null==r?void 0:r.title)}),(0,l.jsx)("div",{className:"mt-[48px] flex flex-col gap-[96px] l:mt-[32px] l:gap-[64px]",children:s.map(e=>(0,l.jsxs)("div",{id:e.id,children:[(0,l.jsx)("div",{className:"text-center text-[24px] font-extrabold l:text-[20px]",children:e.label}),(0,l.jsx)("div",{className:"mt-[48px] l:mt-[36px]",children:e.children})]},e.id))})]})]})}},15543:function(e){e.exports={root:"LoadingDots_root__8o4w0",dot:"LoadingDots_dot__kJynh",blink:"LoadingDots_blink__iunUN"}}}]);
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.