PageSourceSearch

https://www.plithus.kr/_next/static/chunks/592-cffebc5348df1a6e.js?dpl=dpl_DSLwCTUFPKN7zocq1kTnthcgbZ5C

js plithus.kr collected 2026-09-25 03:22:36 UTC 23,449 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[592],{20592:function(e,t,r){r.d(t,{N:function(){return q}});var a=r(86102),s=r(87806),i=r(98654),n=r(44665),l=r(77409),o=r(73123),c=r(35011),d=r(8172),m=r(96627),u=r(2683),x=r(92821),g=r(33906),p=r(38492),y=r(11279),h=r(14465),b=r(97174),f=r(18392),v=r(27205),N=r(59183);function j(e){let{className:t,...r}=e;return(0,a.jsx)(f.fC,{"data-slot":"checkbox",className:(0,N.cn)("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",t),...r,children:(0,a.jsx)(f.z$,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:(0,a.jsx)(v.Z,{className:"size-3.5"})})})}class T{constructor(e,t){this.key=e,this.value=t}}T.PC=new T("pc","PC"),T.MOBILE=new T("mobile","MOBILE"),T.CONSOLE=new T("console","CONSOLE"),T.VR=new T("vr","VR"),T.ETC=new T("etc","ETC"),T.values=[T.PC,T.MOBILE,T.CONSOLE,T.VR,T.ETC],T.keys=T.values.map(e=>e.key);var w=r(70687),k=r(13740),E=r(40689),C=r(67693);function q(e){let{isOpen:t,onClose:r,couponCode:f,pricingSummary:v}=e,{language:N,t:q}=(0,w.Z)(),[P,F]=(0,b.useState)({assigneeName:"",teamName:"",email:"",position:"",inquiryType:null,testType:null,gameName:"",gamePlatform:null,gamePageLink:"",inquiryContent:"",isAgree:!1}),[S,A]=(0,b.useState)(!1),[L,O]=(0,b.useState)(!1),[B,I]=(0,b.useState)(""),[z,_]=(0,b.useState)(new Set),[Z,M]=(0,b.useState)(!1),[R,V]=(0,b.useState)(null),[U,D]=(0,b.useState)(null);(0,b.useEffect)(()=>{z.has("email")&&(""===P.email.trim()||/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(P.email)?I(""):I(q("emailInvalid")))},[P.email,z,q]),(0,b.useEffect)(()=>{let e=""!==P.email.trim()&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(P.email),t=""!==P.assigneeName.trim()&&""!==P.teamName.trim()&&e&&""!==P.position.trim()&&null!==P.inquiryType,r=!0;"test"===P.inquiryType?r=""!==P.gameName.trim()&&null!==P.gamePlatform&&null!==P.testType:"marketing"===P.inquiryType?r=""!==P.gameName.trim()&&null!==P.gamePlatform&&""!==P.inquiryContent.trim():P.inquiryType&&(r=""!==P.inquiryContent.trim()),A(t&&r&&P.isAgree)},[P]),(0,b.useEffect)(()=>(t?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[t]);let G=async()=>{if(S&&!L){O(!0);try{var e;let t=[];"test"===P.inquiryType?t.push(P.testType||"CBT"):P.inquiryType&&t.push({marketing:"MARKETING",partnership:"PARTNERSHIP",other:"ETC"}[P.inquiryType]||P.inquiryType.toUpperCase());let r=P.inquiryContent||"";(f||P.gamePageLink||v)&&(r+="\n",f&&(r+="VALID CODE USED : ".concat(f,"\n")),P.gamePageLink&&(r+="GAMELINK: ".concat(P.gamePageLink,"\n")),v&&(r+="PRICING: ".concat(v)));let a=""!==P.gameName.trim()?P.gameName:"N/A",s=(null===(e=P.gamePlatform)||void 0===e?void 0:e.value)||"NONE",i={assigneeName:P.assigneeName,jobPosition:P.position,teamName:P.teamName,gameName:a,mailAddress:P.email,gamePlatform:s,serviceRequestTypes:t,inquiryContent:r,isAgree:P.isAgree,language:N.toUpperCase(),...f&&{couponCode:f},...P.gamePageLink&&{gamePageLink:P.gamePageLink},...P.inquiryType&&{inquiryType:P.inquiryType},...P.testType&&{testType:P.testType}},n=await fetch("".concat("https://prod03.plithus.com","/business/email"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)}),l=await n.json();if(l.success){if(f)try{let e=await fetch("/api/coupons/redeem",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:f.toUpperCase().trim()})}),t=await e.json();t.success||console.warn("Failed to redeem coupon:",t.error)}catch(e){console.error("Error redeeming coupon:",e)}V("success"),F({assigneeName:"",teamName:"",email:"",position:"",inquiryType:null,testType:null,gameName:"",gamePlatform:null,gamePageLink:"",inquiryContent:"",isAgree:!1}),_(new Set),M(!1)}else{let e=l.message,t=e&&e.includes("널이어서는 안됩니다")?q("submitFailure"):e||q("submitFailure");console.warn("Form submission failed:",t),V("error")}}catch(e){console.error("Error submitting form:",e),V("error")}finally{O(!1)}}},$="test"===P.inquiryType,H="marketing"===P.inquiryType,J=e=>({pc:q("platformPC"),mobile:q("platformMobile"),console:q("platformConsole"),vr:q("platformVR"),etc:q("platformOther")})[e.key]||e.value;return t?(0,a.jsx)(k.M,{children:(0,a.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[(0,a.jsx)(E.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:r}),(0,a.jsxs)(E.E.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{duration:.2},className:"relative bg-white rounded-2xl shadow-2xl w-full max-w-4xl max-h-[90vh] overflow-hidden flex flex-col",children:[(0,a.jsx)("div",{className:"relative border-b border-gray-200 bg-white p-6",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-xl font-bold text-[#2282E9]",style:{fontFamily:"var(--font-figtree)",letterSpacing:"-0.5px"},children:"PLITHUS"}),(0,a.jsx)("span",{className:"text-gray-400 font-medium text-sm",style:{fontFamily:"var(--font-figtree)"},children:"—"}),(0,a.jsx)("h2",{className:"text-lg font-bold text-gray-900",style:{fontFamily:"var(--font-figtree)"},children:q("contactModalTitle")})]}),f&&(0,a.jsxs)("div",{className:"bg-blue-50 border border-blue-200 rounded-lg px-3 py-1.5 flex items-center gap-2",children:[(0,a.jsx)(s.Z,{className:"h-4 w-4 text-[#2282E9]"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs font-semibold text-blue-900",children:q("couponApplied")}),(0,a.jsx)("p",{className:"text-xs text-blue-700",children:f})]})]})]}),(0,a.jsx)(g.z,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0 hover:bg-gray-100 text-gray-600",onClick:r,children:(0,a.jsx)(i.Z,{className:"h-5 w-5"})})]})}),(0,a.jsxs)("div",{className:"flex-1 overflow-y-auto p-6 md:p-8 space-y-6",children:["success"===R&&(0,a.jsxs)("div",{className:"flex items-center justify-between rounded-lg border border-green-200 bg-green-50 px-4 py-3 text-sm text-green-800",children:[(0,a.jsx)("span",{children:q("submitSuccess")}),(0,a.jsx)("button",{type:"button",onClick:()=>V(null),className:"p-1 rounded hover:bg-green-100",children:(0,a.jsx)(i.Z,{className:"h-4 w-4"})})]}),"error"===R&&(0,a.jsxs)("div",{className:"flex items-center justify-between rounded-lg border border-red-200 bg-red-50 px-4 py-3 text-sm text-red-800",children:[(0,a.jsx)("span",{children:q("submitFailure")}),(0,a.jsx)("button",{type:"button",onClick:()=>V(null),className:"p-1 rounded hover:bg-red-100",children:(0,a.jsx)(i.Z,{className:"h-4 w-4"})})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,a.jsx)("div",{className:"w-1 h-6 bg-gradient-to-b from-[#2282E9] to-[#60A5FA] rounded-full"}),(0,a.jsx)("h3",{className:"text-xl font-bold text-gray-900",style:{fontFamily:"var(--font-figtree)"},children:q("basicInformation")})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(y._,{htmlFor:"assigneeName",className:"text-sm font-semibold text-gray-700 flex items-center gap-2",children:[q("contactName"),(0,a.jsx)("span",{className:"text-[#2282E9] text-xs",children:"*"})]}),(0,a.jsx)(p.I,{id:"assigneeName",type:"text",placeholder:q("contactNamePlaceholder"),className:"h-11 border-gray-300 focus:border-[#2282E9] focus:ring-[#2282E9]",value:P.assigneeName,onChange:e=>F(t=>({...t,assigneeName:e.target.value})),onBlur:()=>_(e=>new Set([...e,"assigneeName"]))})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(y._,{htmlFor:"position",className:"text-sm font-semibold text-gray-700 flex items-center gap-2",children:[q("position"),(0,a.jsx)("span",{className:"text-[#2282E9] text-xs",children:"*"})]}),(0,a.jsx)(p.I,{id:"position",type:"text",placeholder:q("positionPlaceholder"),className:"h-11 border-gray-300 focus:border-[#2282E9] focus:ring-[#2282E9]",value:P.position,onChange:e=>F(t=>({...t,position:e.target.value})),onBlur:()=>_(e=>new Set([...e,"position"]))})]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(y._,{htmlFor:"teamName",className:"text-sm font-semibold text-gray-700 flex items-center gap-2",children:[q("teamName"),(0,a.jsx)("span",{className:"text-[#2282E9] text-xs",children:"*"})]}),(0,a.jsx)(p.I,{id:"teamName",type:"text",placeholder:q("teamNamePlaceholder"),className:"h-11 border-gray-300 focus:border-[#2282E9] focus:ring-[#2282E9]",value:P.teamName,onChange:e=>F(t=>({...t,teamName:e.target.value})),onBlur:()=>_(e=>new Set([...e,"teamName"]))})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(y._,{htmlFor:"email",className:"text-sm font-semibold text-gray-700 flex items-center gap-2",children:[q("emailField"),(0,a.jsx)("span",{className:"text-[#2282E9] text-xs",children:"*"})]}),(0,a.jsx)(p.I,{id:"email",type:"email",placeholder:q("emailPlaceholder"),className:"h-11 border-gray-300 focus:border-[#2282E9] focus:ring-[#2282E9] ".concat(B?"border-red-500 focus:border-red-500 focus:ring-red-500":""),value:P.email,onChange:e=>F(t=>({...t,email:e.target.value})),onBlur:()=>_(e=>new Set([...e,"email"]))}),B&&(0,a.jsx)("p",{className:"text-red-500 text-xs mt-1",children:B})]})]})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,a.jsx)("div",{className:"w-1 h-6 bg-gradient-to-b from-[#2282E9] to-[#60A5FA] rounded-full"}),(0,a.jsx)("h3",{className:"text-xl font-bold text-gray-900",style:{fontFamily:"var(--font-figtree)"},children:q("inquiryTypeTitle")})]}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsx)("div",{className:"rounded-lg border-2 transition-all cursor-pointer ".concat("test"===P.inquiryType?"border-[#2282E9] bg-blue-50":"border-gray-200 bg-white hover:border-gray-300"),onClick:()=>{F(e=>({...e,inquiryType:"test",testType:e.testType||"CBT"}))},children:(0,a.jsxs)("div",{className:"flex items-center gap-2 p-2.5",children:[(0,a.jsx)(n.Z,{className:"h-4 w-4 flex-shrink-0 ".concat("test"===P.inquiryType?"text-[#2282E9]":"text-gray-400")}),(0,a.jsx)("span",{className:"text-sm font-semibold ".concat("test"===P.inquiryType?"text-[#2282E9]":"text-gray-700"),children:q("gameTest")}),(0,a.jsxs)("div",{className:"relative flex gap-1.5 ml-2",onClick:e=>e.stopPropagation(),children:[U&&(0,a.jsxs)("div",{className:"absolute bottom-full left-1/2 -translate-x-1/2 mb-1.5 z-10 px-3 py-2 rounded-lg border border-gray-200 bg-white shadow-lg text-left min-w-[200px] max-w-[260px]",role:"tooltip",children:[(0,a.jsx)("div",{className:"text-xs font-semibold text-gray-900",children:"CBT"===U?q("cbtTooltipTitle"):q("obtTooltipTitle")}),(0,a.jsx)("div",{className:"text-xs text-gray-600 mt-0.5",children:"CBT"===U?q("cbtTooltipBody"):q("obtTooltipBody")})]}),(0,a.jsx)("button",{type:"button",onMouseEnter:()=>D("CBT"),onMouseLeave:()=>D(null),onClick:e=>{e.stopPropagation(),F(e=>({...e,inquiryType:"test",testType:"CBT"}))},className:"px-3 py-1.5 text-xs rounded border transition-all cursor-pointer ".concat("test"===P.inquiryType&&"CBT"===P.testType?"border-[#2282E9] bg-[#2282E9] text-white font-semibold":"border-gray-300 bg-white text-gray-700 hover:border-gray-400"),children:q("serviceCBT")}),(0,a.jsx)("button",{type:"button",onMouseEnter:()=>D("OBT"),onMouseLeave:()=>D(null),onClick:e=>{e.stopPropagation(),F(e=>({...e,inquiryType:"test",testType:"OBT"}))},className:"px-3 py-1.5 text-xs rounded border transition-all cursor-pointer ".concat("test"===P.inquiryType&&"OBT"===P.testType?"border-[#2282E9] bg-[#2282E9] text-white font-semibold":"border-gray-300 bg-white text-gray-700 hover:border-gray-400"),children:q("serviceOBT")})]})]})}),!f&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("button",{type:"button",onClick:()=>{F(e=>({...e,inquiryType:"marketing",testType:null}))},className:"flex items-center gap-2 p-2.5 rounded-lg border-2 transition-all cursor-pointer ".concat("marketing"===P.inquiryType?"border-[#2282E9] bg-blue-50":"border-gray-200 bg-white hover:border-gray-300"),children:[(0,a.jsx)(l.Z,{className:"h-4 w-4 flex-shrink-0 ".concat("marketing"===P.inquiryType?"text-[#2282E9]":"text-gray-400")}),(0,a.jsx)("span",{className:"text-sm font-semibold ".concat("marketing"===P.inquiryType?"text-[#2282E9]":"text-gray-700"),children:q("gameMarketing")})]}),(0,a.jsxs)("button",{type:"button",onClick:()=>{F(e=>({...e,inquiryType:"partnership",testType:null}))},className:"flex items-center gap-2 p-2.5 rounded-lg border-2 transition-all cursor-pointer ".concat("partnership"===P.inquiryType?"border-[#2282E9] bg-blue-50":"border-gray-200 bg-white hover:border-gray-300"),children:[(0,a.jsx)(o.Z,{className:"h-4 w-4 flex-shrink-0 ".concat("partnership"===P.inquiryType?"text-[#2282E9]":"text-gray-400")}),(0,a.jsx)("span",{className:"text-sm font-semibold ".concat("partnership"===P.inquiryType?"text-[#2282E9]":"text-gray-700"),children:q("servicePartnership")})]}),(0,a.jsxs)("button",{type:"button",onClick:()=>{F(e=>({...e,inquiryType:"other",testType:null}))},className:"flex items-center gap-2 p-2.5 rounded-lg border-2 transition-all cursor-pointer ".concat("other"===P.inquiryType?"border-[#2282E9] bg-blue-50":"border-gray-200 bg-white hover:border-gray-300"),children:[(0,a.jsx)(c.Z,{className:"h-4 w-4 flex-shrink-0 ".concat("other"===P.inquiryType?"text-[#2282E9]":"text-gray-400")}),(0,a.jsx)("span",{className:"text-sm font-semibold ".concat("other"===P.inquiryType?"text-[#2282E9]":"text-gray-700"),children:q("serviceOther")})]})]})]})]}),P.inquiryType&&(0,a.jsxs)(E.E.div,{initial:{opacity:0,y:10}
1,animate:{opacity:1,y:0},className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,a.jsx)("div",{className:"w-1 h-6 bg-gradient-to-b from-[#2282E9] to-[#60A5FA] rounded-full"}),(0,a.jsx)("h3",{className:"text-xl font-bold text-gray-900",style:{fontFamily:"var(--font-figtree)"},children:$||H?q("gameInformationTitle"):q("inquiryDetailsTitle")})]}),$||H?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(y._,{htmlFor:"gameName",className:"text-sm font-semibold text-gray-700 flex items-center gap-2",children:[q("gameName"),(0,a.jsx)("span",{className:"text-[#2282E9] text-xs",children:"*"})]}),(0,a.jsx)(p.I,{id:"gameName",type:"text",placeholder:q("gameNamePlaceholder"),className:"h-11 border-gray-300 focus:border-[#2282E9] focus:ring-[#2282E9]",value:P.gameName,onChange:e=>F(t=>({...t,gameName:e.target.value}))})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(y._,{className:"text-sm font-semibold text-gray-700 flex items-center gap-2",children:[q("gamePlatform"),(0,a.jsx)("span",{className:"text-[#2282E9] text-xs",children:"*"})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:T.values.map(e=>{var t;return(0,a.jsx)("button",{type:"button",onClick:()=>{F(t=>({...t,gamePlatform:e}))},className:"px-4 py-2 text-sm rounded-lg border-2 transition-all font-medium cursor-pointer ".concat((null===(t=P.gamePlatform)||void 0===t?void 0:t.value)===e.value?"border-[#2282E9] bg-blue-50 text-[#2282E9]":"border-gray-300 bg-white text-gray-700 hover:border-gray-400"),children:J(e)},e.value)})})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(y._,{htmlFor:"gamePageLink",className:"text-sm font-semibold text-gray-700",children:[q("gamePageLink")," ",(0,a.jsxs)("span",{className:"text-gray-500 text-xs font-normal",children:["(",q("optional"),")"]})]}),(0,a.jsx)(p.I,{id:"gamePageLink",type:"url",placeholder:q("gamePageLinkPlaceholder"),className:"h-11 border-gray-300 focus:border-[#2282E9] focus:ring-[#2282E9]",value:P.gamePageLink,onChange:e=>F(t=>({...t,gamePageLink:e.target.value}))})]})]}):null,(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)(y._,{htmlFor:"inquiryContent",className:"text-sm font-semibold text-gray-700 flex items-center gap-2",children:[q("inquiryContent"),(0,a.jsx)("span",{className:"text-[#2282E9] text-xs",children:"*"})]}),(0,a.jsx)(h.g,{id:"inquiryContent",placeholder:q("inquiryContentPlaceholder"),className:"min-h-[120px] resize-none border-gray-300 focus:border-[#2282E9] focus:ring-[#2282E9]",value:P.inquiryContent,onChange:e=>F(t=>({...t,inquiryContent:e.target.value}))})]})]}),(0,a.jsxs)("div",{className:"space-y-3 pt-4 border-t border-gray-200",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold text-gray-900",children:q("privacy")}),(0,a.jsx)("button",{type:"button",onClick:()=>M(!Z),className:"p-1 hover:bg-gray-100 rounded transition-colors cursor-pointer",children:Z?(0,a.jsx)(d.Z,{className:"h-4 w-4 text-gray-500"}):(0,a.jsx)(m.Z,{className:"h-4 w-4 text-gray-500"})})]}),Z&&(0,a.jsxs)("div",{className:"bg-gray-50 p-4 rounded-lg text-xs text-gray-600 leading-relaxed mb-4 space-y-2",children:[(0,a.jsx)("p",{children:q("privacyPolicyText1")}),(0,a.jsx)("p",{children:q("privacyPolicyText2")}),(0,a.jsxs)("p",{children:[(0,a.jsx)(C.default,{href:"/privacy",className:"text-[#2282E9] hover:underline underline-offset-2",children:q("privacyPolicyContactFullLink")}),(0,a.jsx)("span",{className:"text-gray-400",children:" \xb7 "}),(0,a.jsx)(C.default,{href:"/terms",className:"text-[#2282E9] hover:underline underline-offset-2",children:q("termsOfService")})]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2 group/checkbox",children:[(0,a.jsx)("span",{className:"text-[#2282E9] text-xs",children:q("required")}),(0,a.jsx)(y._,{htmlFor:"privacyAgreement",className:"text-sm text-gray-700 cursor-pointer",children:q("privacyAgreement")}),(0,a.jsx)(j,{id:"privacyAgreement",checked:P.isAgree,className:"border-2 mr-1 border-gray-400 data-[state=checked]:bg-[#2282E9] data-[state=checked]:border-[#2282E9] cursor-pointer transition-colors hover:border-[#2282E9] hover:bg-blue-50/50 group-hover/checkbox:border-[#2282E9] group-hover/checkbox:bg-blue-50/50",onCheckedChange:e=>F(t=>({...t,isAgree:e}))})]})]})]}),(0,a.jsx)("div",{className:"border-t border-gray-200 p-6 bg-gray-50",children:(0,a.jsxs)("div",{className:"flex justify-end gap-3",children:[(0,a.jsx)(g.z,{variant:"outline",onClick:r,className:"px-6 h-11 border-gray-300",children:q("cancel")}),(0,a.jsx)(g.z,{onClick:G,disabled:!S||L,className:"px-8 h-11 font-semibold transition-all ".concat(S&&!L?"bg-gradient-to-r from-[#2282E9] to-[#60A5FA] hover:from-[#1a6bc7] hover:to-[#4a8fd4] text-white shadow-lg":"bg-gray-300 cursor-not-allowed text-gray-500"),style:{fontFamily:"var(--font-figtree)"},children:L?(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[(0,a.jsx)(u.Z,{className:"h-4 w-4 animate-spin"}),q("submitting")]}):(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[(0,a.jsx)(x.Z,{className:"h-4 w-4"}),q("submitInquiry")]})})]})})]})]})}):null}},33906:function(e,t,r){r.d(t,{z:function(){return o}});var a=r(86102);r(97174);var s=r(36589),i=r(41289),n=r(59183);let l=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive cursor-pointer",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function o(e){let{className:t,variant:r,size:i,asChild:o=!1,...c}=e,d=o?s.g7:"button";return(0,a.jsx)(d,{"data-slot":"button",className:(0,n.cn)(l({variant:r,size:i,className:t})),...c})}},38492:function(e,t,r){r.d(t,{I:function(){return i}});var a=r(86102);r(97174);var s=r(59183);function i(e){let{className:t,type:r,...i}=e;return(0,a.jsx)("input",{type:r,"data-slot":"input",className:(0,s.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),...i})}},11279:function(e,t,r){r.d(t,{_:function(){return n}});var a=r(86102);r(97174);var s=r(90585),i=r(59183);function n(e){let{className:t,...r}=e;return(0,a.jsx)(s.f,{"data-slot":"label",className:(0,i.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...r})}},14465:function(e,t,r){r.d(t,{g:function(){return i}});var a=r(86102);r(97174);var s=r(59183);function i(e){let{className:t,...r}=e;return(0,a.jsx)("textarea",{"data-slot":"textarea",className:(0,s.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),...r})}},59183:function(e,t,r){r.d(t,{cn:function(){return i}});var a=r(33497),s=r(76519);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.m6)((0,a.W)(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.