1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1816],{9270:(e,a,t)=>{Promise.resolve().then(t.bind(t,69015)),Promise.resolve().then(t.t.bind(t,41402,23))},69015:(e,a,t)=>{"use strict";t.d(a,{default:()=>b});var l=t(95155),n=t(31725),s=t(88743),o=t(12115),i=t(69141),r=t(23664),c=t(5937),d=t(65229),x=t(75662),h=t(27871);let m=()=>{let[e,a]=(0,o.useState)(!1),[t,n]=(0,o.useState)(!1),{settings:s}=(0,h.y)(),{i18n:m}=(0,x.Bd)(),p="zh"===m.language,u=null==s?void 0:s.whatsapp_url,b=null==s?void 0:s.wechat_id,f=null==s?void 0:s.wechat_qr_code_url,g=null==s?void 0:s.phone,w=null==s?void 0:s.email,j=(null==s?void 0:s.floating_contact_enabled)!==!1,v=(null==s?void 0:s.floating_button_style)||"gradient",y=(null==s?void 0:s.floating_button_primary_color)||"#2563eb",N=(null==s?void 0:s.floating_button_secondary_color)||"#9333ea",_=null==s?void 0:s.floating_button_image_url;if(!j||!(u||b||g||w))return null;let k=[u&&{id:"whatsapp",label:"WhatsApp",label_zh:"WhatsApp",icon:()=>(0,l.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"h-7 w-7",children:(0,l.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z"})}),url:u,color:"#25D366",action:"link"},g&&{id:"phone",label:"Call Us",label_zh:"è´çµæä»¬",icon:i.A,url:"tel:".concat(g),info:g,color:"#2563eb",action:"link"},w&&{id:"email",label:"Email",label_zh:"é®ä»¶",icon:r.A,url:"mailto:".concat(w),info:w,color:"#ea580c",action:"link"},b&&{id:"wechat",label:"WeChat",label_zh:"微信",icon:c.A,color:"#07C160",action:"card"}].filter(Boolean);return(0,l.jsxs)(l.Fragment,{children:[(e||t)&&(0,l.jsx)("div",{className:"fixed inset-0 bg-black/20 z-40",onClick:()=>{a(!1),n(!1)}}),e&&!t&&(0,l.jsx)("div",{className:"fixed bottom-24 right-4 sm:right-6 z-50 animate-fadeIn",children:(0,l.jsxs)("div",{className:"w-80 max-w-[calc(100vw-2rem)] rounded-3xl p-6",style:{background:"#e0e0e0",boxShadow:"5px 5px 10px #bebebe, -5px -5px 10px #ffffff"},children:[(0,l.jsx)("h3",{className:"text-lg font-bold text-gray-800 mb-4",children:p?"èç³»æä»¬":"Contact Us"}),(0,l.jsx)("div",{className:"space-y-3",children:k.map(e=>{let t=e.icon;return(0,l.jsxs)("button",{onClick:()=>{"card"===e.action?n(!0):window.open(e.url,"_blank"),a(!1)},className:"w-full flex items-center gap-4 p-4 rounded-2xl transition-all hover:scale-[1.02]",style:{background:"#e0e0e0",boxShadow:"3px 3px 6px #bebebe, -3px -3px 6px #ffffff"},children:[(0,l.jsx)("div",{className:"w-12 h-12 rounded-full flex items-center justify-center flex-shrink-0",style:{backgroundColor:e.color},children:(0,l.jsx)(t,{className:"h-6 w-6 text-white"})}),(0,l.jsxs)("div",{className:"flex-1 text-left",children:[(0,l.jsx)("p",{className:"font-semibold text-gray-800",children:p?e.label_zh:e.label}),e.info&&(0,l.jsx)("p",{className:"text-sm text-gray-600",children:e.info})]})]},e.id)})})]})}),t&&(0,l.jsx)("div",{className:"fixed bottom-24 right-4 sm:right-6 z-50 animate-fadeIn",children:(0,l.jsxs)("div",{className:"w-80 max-w-[calc(100vw-2rem)] rounded-3xl p-6",style:{background:"#e0e0e0",boxShadow:"5px 5px 10px #bebebe, -5px -5px 10px #ffffff"},children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(c.A,{className:"h-6 w-6 text-[#07C160]"}),(0,l.jsx)("h3",{className:"text-lg font-bold text-gray-800",children:p?"微信":"WeChat"})]}),(0,l.jsx)("button",{onClick:()=>n(!1),className:"text-gray-600 hover:text-gray-800",children:(0,l.jsx)(d.A,{className:"h-5 w-5"})})]}),f&&(0,l.jsx)("div",{className:"mb-4 flex justify-center",children:(0,l.jsx)("img",{src:f,alt:"WeChat QR Code",className:"w-48 h-48 rounded-2xl",style:{boxShadow:"inset 2px 2px 4px #bebebe, inset -2px -2px 4px #ffffff"}})}),(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("p",{className:"text-sm text-gray-600 mb-1",children:p?"微信å·":"WeChat ID"}),(0,l.jsx)("p",{className:"text-base font-semibold text-gray-800 mb
1-4",children:b}),(0,l.jsx)("button",{onClick:()=>{navigator.clipboard&&b&&(navigator.clipboard.writeText(b),alert(p?"微信å·å·²å¤å¶":"WeChat ID copied!"))},className:"w-full py-3 rounded-2xl text-sm font-medium text-white transition-all hover:scale-[1.02]",style:{background:"#07C160",boxShadow:"3px 3px 6px #bebebe, -3px -3px 6px #ffffff"},children:p?"å¤å¶å¾®ä¿¡å·":"Copy WeChat ID"})]})]})}),(0,l.jsx)("div",{className:"fixed bottom-4 right-4 sm:bottom-6 sm:right-6 z-50",children:(0,l.jsxs)("div",{className:"relative group",children:[!e&&!t&&"image"!==v&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"absolute inset-0 rounded-full animate-ping opacity-75",style:{background:"gradient"===v?"linear-gradient(to right, ".concat(y,", ").concat(N,")"):y}}),(0,l.jsx)("div",{className:"absolute inset-0 rounded-full animate-pulse opacity-50",style:{background:"gradient"===v?"linear-gradient(to right, ".concat(y,", ").concat(N,")"):y}})]}),(0,l.jsxs)("button",{onClick:()=>{t?n(!1):a(!e)},className:"relative p-5 rounded-full shadow-2xl transition-all duration-300 transform hover:scale-110 ".concat(e||t?"rotate-90":"animate-bounce-slow"),style:e||t?{background:"#374151"}:{background:"gradient"===v?"linear-gradient(to right, ".concat(y,", ").concat(N,")"):"solid"===v?y:"transparent",boxShadow:"image"!==v?"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 30px ".concat(y,"40"):"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)"},"aria-label":e||t?"Close contact menu":"Open contact menu",children:[!(e||t)&&(0,l.jsxs)("span",{className:"absolute -top-1 -right-1 flex h-5 w-5",children:[(0,l.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"}),(0,l.jsx)("span",{className:"relative inline-flex rounded-full h-5 w-5 bg-green-500 border-2 border-white"})]}),e||t?(0,l.jsx)(d.A,{className:"h-7 w-7 text-white"}):"image"===v&&_?(0,l.jsx)("img",{src:_,alt:"Contact",className:"h-14 w-14 object-cover rounded-full"}):(0,l.jsx)(c.A,{className:"h-7 w-7 text-white"})]}),!(e||t)&&(0,l.jsxs)("div",{className:"absolute bottom-full right-0 mb-3 px-3 py-2 bg-gray-900 text-white text-sm font-medium rounded-lg shadow-lg opacity-0 group-hover:opacity-100 transition-opacity whitespace-nowrap pointer-events-none",children:[p?"\uD83D\uDCAC èç³»æä»¬":"\uD83D\uDCAC Contact Us",(0,l.jsx)("div",{className:"absolute top-full right-4 -mt-1 border-4 border-transparent border-t-gray-900"})]})]})}),(0,l.jsx)("style",{children:"\n @keyframes bounce-slow {\n 0%, 100% {\n transform: translateY(0);\n }\n 50% {\n transform: translateY(-10px);\n }\n }\n .animate-bounce-slow {\n animation: bounce-slow 3s ease-in-out infinite;\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n transform: translateY(10px) scale(0.95);\n }\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n }\n .animate-fadeIn {\n animation: fadeIn 0.3s ease-out;\n }\n "})]})};var p=t(20562);function u(){let[e,a]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let e=()=>a(window.scrollY>500);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,l.jsx)("button",{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),"aria-label":"Back to top",style:{position:"fixed",bottom:32,right:32,width:44,height:44,borderRadius:12,border:"1px solid #e2e8f0",background:"white",boxShadow:"0 4px 12px rgba(0,0,0,0.08)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"all 0.3s",opacity:+!!e,pointerEvents:e?"auto":"none",transform:e?"translateY(0)":"translateY(16px)",zIndex:40},children:(0,l.jsx)(p.A,{style:{width:20,height:20,color:"#7661FE"}})})}function b(e){let{children:a,settings:t}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.default,{serverSettings:t}),(0,l.jsx)("main",{className:"min-h-screen",children:a}),(0,l.jsx)(s.default,{serverSettings:t}),(0,l.jsx)(m,{}),(0,l.jsx)(u,{})]})}}},e=>{e.O(0,[2619,5417,5662,1786,67,8441,1255,7358],()=>e(e.s=9270)),_N_E=e.O()}]);
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.