PageSourceSearch

https://www.onlyoffice.com/_next/static/chunks/09ehhs6tyf.4w.js

js onlyoffice.com collected 2026-10-01 07:54:03 UTC 26,568 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,476694,e=>{e.v({container:"Container-module-scss-module__69tsbq__container"})},289347,5303,e=>{"use strict";var t=e.i(391398),l=e.i(56206),s=e.i(476694);e.s(["Container",0,({id:e,className:o,children:a,maxWidth:r,spacing:u,desktopSpacing:c,tabletSpacing:i,mobileSpacing:n,style:d})=>(0,t.jsx)("div",{id:e,className:(0,l.default)(s.default.container,o),style:{"--container-max-width":r,"--container-spacing":u,"--container-desktop-spacing":c,"--container-tablet-spacing":i,"--container-mobile-spacing":n,...d},children:a})],5303),e.s([],289347)},876466,e=>{e.v({"border-top":"Section-module-scss-module__LwzKGG__border-top","has-background":"Section-module-scss-module__LwzKGG__has-background",section:"Section-module-scss-module__LwzKGG__section"})},995734,897920,e=>{"use strict";var t=e.i(391398),l=e.i(56206),s=e.i(876466);let o=e=>e[0]===e[1]?`${e[0]} 0`:`${e[0]} 0 ${e[1]}`;e.s(["Section",0,({id:e,className:a,style:r,children:u,as:c="section",background:i,desktopSpacing:n,tabletSpacing:d,tabletSmallSpacing:m,mobileSpacing:p,borderTop:_=!1,borderTopColor:f,dir:h})=>(0,t.jsx)(c,{id:e,className:(0,l.default)(s.default.section,i&&s.default["has-background"],_&&s.default["border-top"],a),dir:h,style:{...n&&{"--section-desktop-padding":o(n)},...d&&{"--section-tablet-padding":o(d)},...m&&{"--section-tablet-small-padding":o(m)},...p&&{"--section-mobile-padding":o(p)},"--section-background":i,"--section-border-top-color":f,...r},children:u})],897920),e.s([],995734)},233862,e=>{"use strict";e.s(["getFromParam",0,function(){{let e=new URLSearchParams(window.location.search).get("from"),t=window.location.pathname.split("/").slice(1,3).join("/").split(".")[0];return e||t}}])},703275,e=>{e.v({floating:"TextArea-module-scss-module__xssS3a__floating",focused:"TextArea-module-scss-module__xssS3a__focused","full-width":"TextArea-module-scss-module__xssS3a__full-width","has-label":"TextArea-module-scss-module__xssS3a__has-label","status-success":"TextArea-module-scss-module__xssS3a__status-success",textarea:"TextArea-module-scss-module__xssS3a__textarea","textarea-field":"TextArea-module-scss-module__xssS3a__textarea-field","textarea-label":"TextArea-module-scss-module__xssS3a__textarea-label"})},931913,923980,e=>{"use strict";var t=e.i(391398),l=e.i(191788),s=e.i(56206),o=e.i(703275);let a=(0,l.forwardRef)(({id:e,className:a,label:r,placeholder:u,tabIndex:c,status:i="default",required:n,name:d,value:m,cols:p,rows:_,maxLength:f,fullWidth:h,onFocus:b,onBlur:v,onChange:x,onKeyDown:g},j)=>{let[N,S]=(0,l.useState)(!1),y=N||void 0!==m&&m.length>0;return(0,t.jsxs)("div",{className:(0,s.default)(o.default.textarea,o.default[`status-${i}`],N&&o.default.focused,h&&o.default["full-width"],a),children:[r&&(0,t.jsxs)("label",{htmlFor:e,className:(0,s.default)(o.default["textarea-label"],y&&o.default.floating,o.default[`status-${i}`]),children:[r,n&&(0,t.jsx)("span",{children:"*"})]}),(0,t.jsx)("textarea",{id:e,ref:j,className:(0,s.default)(o.default["textarea-field"],r&&o.default["has-label"]),tabIndex:c,placeholder:N?u:void 0,required:n,value:m,name:d,cols:p,rows:_,maxLength:f,onFocus:e=>{S(!0),b&&b(e)},onBlur:e=>{S(!1),v&&v(e)},onChange:e=>{x&&x(e)},onKeyDown:g})]})});a.displayName="TextArea",e.s(["TextArea",0,a],923980),e.s([],931913)},324256,e=>{e.v({active:"Select-module-scss-module__1rbP5a__active",open:"Select-module-scss-module__1rbP5a__open",reset:"Select-module-scss-module__1rbP5a__reset",select:"Select-module-scss-module__1rbP5a__select","select-caption":"Select-module-scss-module__1rbP5a__select-caption","select-input":"Select-module-scss-module__1rbP5a__select-input","select-input-count":"Select-module-scss-module__1rbP5a__select-input-count","select-input-icon":"Select-module-scss-module__1rbP5a__select-input-icon","select-input-label-variant-primary":"Select-module-scss-module__1rbP5a__select-input-label-variant-primary","select-input-open":"Select-module-scss-module__1rbP5a__select-input-open","select-input-placeholder":"Select-module-scss-module__1rbP5a__select-input-placeholder","select-input-status-default":"Select-module-scss-module__1rbP5a__select-input-status-default","select-input-status-error":"Select-module-scss-module__1rbP5a__select-input-status-error","select-input-status-success":"Select-module-scss-module__1rbP5a__select-input-status-success","select-input-value":"Select-module-scss-module__1rbP5a__select-input-value","select-label-status-error":"Select-module-scss-module__1rbP5a__select-label-status-error","select-label-variant-primary":"Select-module-scss-module__1rbP5a__select-label-variant-primary","select-label-variant-secondary":"Select-module-scss-module__1rbP5a__select-label-variant-secondary","select-option":"Select-module-scss-module__1rbP5a__select-option","select-options":"Select-module-scss-module__1rbP5a__select-options",selected:"Select-module-scss-module__1rbP5a__selected","status-error":"Select-module-scss-module__1rbP5a__status-error","with-selected-icon":"Select-module-scss-module__1rbP5a__with-selected-icon"})},221650,268710,e=>{"use strict";var t=e.i(391398),l=e.i(191788);e.i(664157);var s=e.i(271179),o=e.i(56206);e.i(974928);var a=e.i(842764),r=e.i(307434),u=e.i(324256);e.s(["Select",0,({selected:e,setSelected:c,options:i,label:n,labelVariant:d="primary",placeholder:m,disabled:p,required:_,multiple:f,multipleCount:h,status:b="default",caption:v,maxWidth:x,withReset:g,withSelectedIcon:j,enableScrollToSelected:N=!1,onFocus:S,onBlur:y})=>{let{t:k}=(0,s.useTranslation)("Select"),U=(0,l.useRef)(null),P=(0,l.useRef)(null),H=(0,l.useRef)(null),C=(0,l.useRef)({}),[A,q]=(0,l.useState)(!1);(0,l.useEffect)(()=>
1{if(!f&&N&&e.length>0){let t=e[0];H.current&&C.current[t.value]&&H.current.scrollTo({top:C.current[t.value]?.offsetTop||0})}},[A,e,f,N]),(0,l.useEffect)(()=>{if(!A)return;let e=e=>{U.current&&!U.current.contains(e.target)&&q(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[A]);let w=e.length>0,T=A||w;return(0,t.jsxs)("div",{ref:U,className:u.default.select,onKeyDown:e=>{if("Tab"===e.key){let t=H.current?.querySelectorAll("button"),l=t?.[0],s=t?.[t.length-1];document.activeElement!==s||e.shiftKey?document.activeElement===l&&e.shiftKey&&q(!1):q(!1),document.activeElement===P.current&&e.shiftKey&&q(!1)}},style:{"--select-max-width":x},children:[(0,t.jsxs)("button",{ref:P,className:(0,o.default)(u.default["select-input"],u.default[`select-input-label-variant-${d}`],u.default[`select-input-status-${b}`],A&&u.default["select-input-open"],!w&&m&&u.default["select-input-placeholder"]),onClick:()=>!p&&q(e=>!e),disabled:p,type:"button",onFocus:e=>{S?.(e)},onBlur:e=>{y?.(e)},children:[n&&(0,t.jsxs)("div",{className:(0,o.default)(u.default[`select-label-variant-${d}`],T&&u.default.active,"error"===b&&u.default["select-label-status-error"]),children:[n,_&&(0,t.jsx)("span",{children:"*"})]}),(0,t.jsx)("div",{className:u.default["select-input-value"],children:!w&&A?m:f?e.map(e=>e.label).join(", "):e[0]?.label}),h&&w&&(0,t.jsxs)("span",{className:u.default["select-input-count"],children:["(",e.length,")"]}),(0,t.jsx)(a.ChevronDownIcon,{className:(0,o.default)(u.default["select-input-icon"],A&&u.default.open,w&&u.default.active,"error"===b&&u.default["status-error"])})]}),"error"===b&&v&&(0,t.jsx)("div",{className:u.default["select-caption"],children:v}),A&&(0,t.jsxs)("div",{ref:H,className:u.default["select-options"],children:[g&&(0,t.jsx)("button",{className:(0,o.default)(u.default["select-option"],j&&u.default["with-selected-icon"],u.default.reset),onClick:e=>{e.stopPropagation(),c([]),q(!1)},type:"button",style:j?{"--select-option-icon":`url(${(0,r.getAssetUrl)("/images/icons/cross.svg")})`}:void 0,children:k("Reset")}),i.map(l=>{let s=!!e.find(e=>e.value===l.value),a=j?s?(0,r.getAssetUrl)("/images/icons/check-large.svg"):void 0:void 0;return(0,t.jsx)("button",{className:(0,o.default)(u.default["select-option"],s&&u.default.selected,j&&u.default["with-selected-icon"]),type:"button",onClick:t=>{t.stopPropagation(),f?e.find(e=>e.value===l.value)?c(e=>e.filter(e=>e.value!==l.value)):c(e=>[...e,l]):c([l]),q(!1)},ref:e=>{e?C.current[l.value]=e:delete C.current[l.value]},style:a?{"--select-option-icon":`url(${a})`}:void 0,children:l.label},l.value)})]})]})}],268710),e.s([],221650)},265180,e=>{e.v({"hero-agree-text":"Hero-module-scss-module__kNUl6q__hero-agree-text","hero-form":"Hero-module-scss-module__kNUl6q__hero-form","hero-heading":"Hero-module-scss-module__kNUl6q__hero-heading","hero-loader-button-wrapper":"Hero-module-scss-module__kNUl6q__hero-loader-button-wrapper","hero-options":"Hero-module-scss-module__kNUl6q__hero-options","hero-paid-license":"Hero-module-scss-module__kNUl6q__hero-paid-license","hero-paid-license-text":"Hero-module-scss-module__kNUl6q__hero-paid-license-text","hero-radio-input":"Hero-module-scss-module__kNUl6q__hero-radio-input","hero-radio-label":"Hero-module-scss-module__kNUl6q__hero-radio-label","hero-select":"Hero-module-scss-module__kNUl6q__hero-select","hero-select--error":"Hero-module-scss-module__kNUl6q__hero-select--error","hero-select--open":"Hero-module-scss-module__kNUl6q__hero-select--open","hero-select--selected":"Hero-module-scss-module__kNUl6q__hero-select--selected","hero-select--success":"Hero-module-scss-module__kNUl6q__hero-select--success","hero-select-label":"Hero-module-scss-module__kNUl6q__hero-select-label","hero-select-label--active":"Hero-module-scss-module__kNUl6q__hero-select-label--active","hero-select-label--error":"Hero-module-scss-module__kNUl6q__hero-select-label--error","hero-select-text":"Hero-module-scss-module__kNUl6q__hero-select-text","hero-select-wrapper":"Hero-module-scss-module__kNUl6q__hero-select-wrapper","hero-text":"Hero-module-scss-module__kNUl6q__hero-text","hero-upload":"Hero-module-scss-module__kNUl6q__hero-upload","hero-upload-input":"Hero-module-scss-module__kNUl6q__hero-upload-input","hero-upload-item":"Hero-module-scss-module__kNUl6q__hero-upload-item","hero-upload-item-remove":"Hero-module-scss-module__kNUl6q__hero-upload-item-remove","hero-upload-item-text":"Hero-module-scss-module__kNUl6q__hero-upload-item-text","hero-upload-item-text-error":"Hero-module-scss-module__kNUl6q__hero-upload-item-text-error","hero-upload-label":"Hero-module-scss-module__kNUl6q__hero-upload-label","hero-upload-label--default":"Hero-module-scss-module__kNUl6q__hero-upload-label--default","hero-upload-label--error":"Hero-module-scss-module__kNUl6q__hero-upload-label--error","hero-upload-label--success":"Hero-module-scss-module__kNUl6q__hero-upload-label--success","hero-upload-list":"Hero-module-scss-module__kNUl6q__hero-upload-list","hero-upload-text":"Hero-module-scss-module__kNUl6q__hero-upload-text",popError:"Hero-module-scss-module__kNUl6q__popError",popSuccess:"Hero-module-scss-module__kNUl6q__popSuccess","select-caption":"Hero-module-scss-module__kNUl6q__select-caption","select-caption--error":"Hero-module-scss-module__kNUl6q__select-caption--error","select-caption--success":"Hero-module-scss-module__kNUl6q__select-caption--success","select-option":"Hero-module-scss-module__kNUl6q__select-option","select-option--selected":"Hero-module-scss-module__kNUl6q__select-option--selected","select-option-no-include":"Hero-module-scss-module__kNUl6q__select-option-no-include","select-option-sub":"Hero-module-scss-module__kNUl6q__select-option-sub","select-option-sub--selected":"Hero-module-scss-module__kNUl6q__select-option-sub--selected","select-option-title":"Hero-module-scss-module__kNUl6q__select-option-title"})},452925,e=>{"use strict";var t=e.i(391398);e.i(664157);var l=e.i(271179);
1e.i(695021);var s=e.i(816499);e.i(684599);var o=e.i(135148);e.i(779733);var a=e.i(374964);e.i(908076);var r=e.i(156705);e.i(236350);var u=e.i(711066),c=e.i(191788),i=e.i(203828),n=e.i(109007),d=e.i(56206);e.i(995734);var m=e.i(897920);e.i(289347);var p=e.i(5303);e.i(221650);var _=e.i(268710);e.i(842035);var f=e.i(881838);e.i(931913);var h=e.i(923980);e.i(917071);var b=e.i(234132);e.i(233355);var v=e.i(519549);e.i(768968);var x=e.i(274210);e.i(86695);var g=e.i(309158);e.i(339781);var j=e.i(137091);let N=[{option:"CloudService",value:"Cloud Service",data:[{option:"Presale",value:"Presale"},{option:"UpgradeRefund",value:"Upgrade/Refund"},{title:"Functionality",value:"Functionality",subData:[{option:"Documents",value:"Documents"},{option:"CRM",value:"CRM"},{option:"Projects",value:"Projects"},{option:"Other",value:"Functionality: Other"}]},{option:"GDPR",value:"GDPR"},{option:"Other",value:"Other"}]},{option:"SelfHostedServer",value:"Self-Hosted Server",data:[{title:"CollaborationPlatform",value:"Collaboration platform",subData:[{option:"InstallationActivation",value:"Collaboration platform: Installation/Activation"},{option:"MigrationUpdates",value:"Collaboration platform: Migration/Updates"},{option:"Other",value:"Collaboration platform: Other"}]},{title:"OnlineEditors",value:"Online Editors",subData:[{option:"InstallationActivation",value:"Online Editors: Installation/Activation"},{option:"MigrationUpdates",value:"Online Editors: Migration/Updates"},{option:"Connectors",value:"Connectors"},{option:"API",value:"API"},{option:"Plugins",value:"Plugins"},{option:"Other",value:"Online Editors: Other"}]}]},{option:"Applications",value:"Applications",data:[{option:"DesktopApps",value:"Desktop Apps"},{option:"MobileApps",value:"Mobile Apps"}]}];var S=e.i(462854),y=e.i(233862),k=e.i(323229);e.i(600697);var U=e.i(225825);e.i(974928);var P=e.i(842764),H=e.i(324256),C=e.i(765192),A=e.i(307434),q=e.i(265180);let w=["image/jpeg","image/png","application/pdf"],T=()=>{let{t:e}=(0,l.useTranslation)("support-contact-form"),{locale:s}=(0,i.useRouter)(),{country:o}=(0,C.useIPGeolocationStore)(e=>e.IPGeolocationInfo),a=(0,c.useRef)(null),[r,u]=(0,c.useState)("default"),[T,O]=(0,c.useState)({product:"default",subject:"default",name:"default",email:"default",file:"default"}),[L,E]=(0,c.useState)(""),[F,I]=(0,c.useState)([]),R=[{value:"Cloud Service",label:e("CloudService")},{value:"Self-Hosted Server",label:e("SelfHostedServer")},{value:"Applications",label:e("Applications")}],[D,$]=(0,c.useState)(),[M,z]=(0,c.useState)(""),[K,B]=(0,c.useState)(!1),G=(0,c.useRef)(null),Y=(0,c.useRef)(null),W=(0,c.useRef)(null),V=(0,c.useRef)(null);(0,c.useMemo)(()=>{$(N.find(e=>e.value===F[0]?.value))},[F]);let[X,Q]=(0,c.useState)({product:"",subject:"",specifyOfOther:"",paidLicense:!0,description:"",files:[],name:"",email:""}),Z=(e,t)=>{Q(e=>({...e,subject:t})),z(e),B(!1),O(e=>({...e,subject:"success"}))};(0,c.useEffect)(()=>{B(!1),z(""),Q(e=>({...e,subject:"",product:F[0]?.value||""})),O(e=>({...e,subject:(F.length,"default")}))},[F]),(0,c.useEffect)(()=>{if(!K)return;let e=e=>{G.current&&!G.current.contains(e.target)&&B(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[K]),(0,c.useEffect)(()=>()=>{J.current&&clearTimeout(J.current),V.current&&clearTimeout(V.current)},[]);let J=(0,c.useRef)(void 0),ee=()=>{J.current=setTimeout(()=>{O(e=>({...e,file:"default"})),E("")},3e3)},et=e=>{if(e&&"target"in e)return void O(e=>({...e,product:F.length>0?"success":"default"}));let t=Array.isArray(e)?e:e?.(F)??F;O(e=>({...e,product:t.length>0?"success":"default"}))},el=async()=>{(0,S.validateEmail)(X.email)?O(e=>({...e,email:"success"})):O(e=>({...e,email:"error"}))},es=e=>{e?er(e):eo()},eo=()=>{a.current?.resetCaptcha(),u("default")},ea=()=>{("error"===r||"rateLimit"===r)&&(V.current&&(clearTimeout(V.current),V.current=null),eo())},er=async e=>{V.current&&(clearTimeout(V.current),V.current=null);let t=(0,y.getFromParam)();try{let l=new FormData;l.append("product",X.product??""),l.append("subject",X.subject??""),l.append("specifyOfOther",X.specifyOfOther??""),l.append("paidLicense",String(X.paidLicense??"")),l.append("description",X.description??""),l.append("name",X.name??""),l.append("email",X.email??""),l.append("languageCode",String(s)),l.append("from",String(t)),l.append("hCaptchaResponse",e??""),o&&l.append("country",o),X.files.forEac
1h(e=>{l.append("files",e,e.name)});let r=await fetch("/api/support-contact-form",{method:"POST",body:l}),c=await r.json();if("rateLimit"===c.status)return void u("rateLimit");if("hCaptchaInvalid"===c.status)return void u("error");"success"===c.status?(u("success"),V.current=setTimeout(()=>{Q({product:"",subject:"",specifyOfOther:"",paidLicense:!0,description:"",files:[],name:"",email:""}),O({product:"default",subject:"default",name:"default",email:"default",file:"default"}),E(""),I([]),z(""),B(!1),u("default"),a.current?.resetCaptcha()},5e3)):u("error")}catch(e){console.error(e),u("error")}},eu=K||M.length>0;return(0,t.jsx)(m.Section,{children:(0,t.jsxs)(p.Container,{children:[(0,t.jsx)(g.Heading,{className:q.default["hero-heading"],size:2,textAlign:"center",label:e("SupportContactForm")}),(0,t.jsx)(j.Text,{className:q.default["hero-text"],size:1,textAlign:"center",label:e("DescribeYourProblem")}),(0,t.jsxs)("form",{className:q.default["hero-form"],onSubmit:e=>{e.preventDefault(),"loading"===r||"success"===r||("error"===r||"rateLimit"===r?eo():(()=>{let e=!0,t={...T};if(0===F.length?(t.product="error",e=!1):t.product="success",0===M.length?(t.subject="error",e=!1):t.subject="success",(0,S.validateFullName)(X.name)?t.name="success":(t.name="error",e=!1),(0,S.validateEmail)(X.email)?t.email="success":(t.email="error",e=!1),O(t),!e){let e=[{ref:Y,status:t.product},{ref:W,status:t.subject}].find(e=>"error"===e.status);e?.ref?.current&&setTimeout(()=>{e.ref.current?.scrollIntoView({behavior:"smooth",block:"center"})},0)}return e})()&&(u("loading"),(0,k.cookieForm)()?er():a.current?.isReady()&&a.current.execute()))},children:[(0,t.jsx)("div",{ref:Y,children:(0,t.jsx)(_.Select,{onFocus:ea,selected:F,setSelected:e=>{I(e),et(e)},options:R,label:e("Product"),maxWidth:"100%",status:T.product,onBlur:et,caption:"error"===T.product?e("ProductIsNotSelected"):""})}),(0,t.jsxs)("div",{className:q.default["hero-select-wrapper"],ref:G,children:[(0,t.jsx)("div",{ref:W,children:(0,t.jsxs)("button",{type:"button",className:(0,d.default)(q.default["hero-select"],{[q.default["hero-select--open"]]:K,[q.default["hero-select--selected"]]:!K&&M.length>0&&"error"!==T.subject&&"success"!==T.subject,[q.default["hero-select--error"]]:!K&&"error"===T.subject,[q.default["hero-select--success"]]:!K&&"success"===T.subject}),onClick:()=>{K?B(!1):(B(!0),0===M.length&&O(e=>({...e,subject:"default"})))},onFocus:ea,onBlur:()=>{0===M.length&&O(e=>({...e,subject:"default"}))},children:[(0,t.jsx)(j.Text,{className:(0,d.default)(q.default["hero-select-label"],{[q.default["hero-select-label--active"]]:eu,[q.default["hero-select-label--error"]]:!eu&&"error"===T.subject}),label:e("Subject"),color:"#aaaaaa"}),(0,t.jsx)(j.Text,{className:q.default["hero-select-text"],label:e(M),size:2,color:"#333333"}),(0,t.jsx)(P.ChevronDownIcon,{className:(0,d.default)(H.default["select-input-icon"],K&&H.default.open,!!D?.data&&D.data.length>0&&H.default.active,"error"===T.subject&&H.default["status-error"])})]})}),"error"===T.subject&&(0,t.jsx)(j.Text,{className:(0,d.default)(q.default["select-caption"],q.default["select-caption--error"]),size:4,children:e("SubjectIsNotSelected")}),K&&(0,t.jsx)("div",{className:q.default["hero-options"],children:D?.data?D.data.map(l=>(0,t.jsxs)(c.default.Fragment,{children:["string"==typeof l.option&&l.option.length>0&&(0,t.jsx)("button",{type:"button",className:(0,d.default)(q.default["select-option"],{[q.default["select-option--selected"]]:l.value===X.subject}),onClick:()=>Z(l.option,l.value),children:e(l.option)}),l.title&&(0,t.jsx)("button",{type:"button",className:q.default["select-option-title"],children:e(l.title)}),l?.subData&&l.subData.map(l=>(0,t.jsx)("button",{type:"button",className:(0,d.default)(q.default["select-option-sub"],{[q.default["select-option-sub--selected"]]:l.value===X.subject}),onClick:()=>Z(l.option,l.value),children:e(l.option)},l.value))]},l.value)):(0,t.jsx)("button",{type:"button",className:q.default["select-option-no-include"],children:e("ProductIsNotSelected")})})]}),("Other"===X.subject||"Functionality: Other"===X.subject||"Online Editors: Other"===X.subject||"Collaboration platform: Other"===X.subject)&&(0,t.jsx)(f.Input,{label:e("PleaseSpecify"),value:X.specifyOfOther,onChange:e=>{Q(t=>({...t,specifyOfOther:e.target.value}))},status:X.specifyOfOther.length>0?"success":"default"}
1),(0,t.jsxs)("div",{className:q.default["hero-paid-license"],children:[(0,t.jsx)(j.Text,{className:q.default["hero-paid-license-text"],label:e("PaidLicense"),color:"#666666"}),(0,t.jsx)("input",{className:q.default["hero-radio-input"],id:"paid-license-yes",type:"radio",name:"paidLicense",value:"yes",checked:X.paidLicense,onChange:()=>{Q(e=>({...e,paidLicense:!0}))}}),(0,t.jsx)("label",{className:q.default["hero-radio-label"],htmlFor:"paid-license-yes",children:e("Yes")}),(0,t.jsx)("input",{className:q.default["hero-radio-input"],id:"paid-license-no",type:"radio",name:"paidLicense",value:"no",checked:!X.paidLicense,onChange:()=>{Q(e=>({...e,paidLicense:!1}))}}),(0,t.jsx)("label",{className:q.default["hero-radio-label"],htmlFor:"paid-license-no",children:e("No")})]}),(0,t.jsx)(h.TextArea,{label:e("Description"),value:X.description,onFocus:ea,onChange:e=>{Q(t=>({...t,description:e.target.value}))},fullWidth:!0}),(0,t.jsxs)("div",{className:q.default["hero-upload-wrapper"],children:[(0,t.jsxs)("div",{className:q.default["hero-upload"],children:[(0,t.jsx)("input",{className:q.default["hero-upload-input"],id:"file-input",type:"file",multiple:!0,onChange:t=>(t=>{if(!t.target.files)return;let l=Array.from(t.target.files),s=10-X.files.length,o=l.filter(t=>s<=0?(O(e=>({...e,file:"error"})),E(e("YouCanAttachUp")),ee(),!1):w.includes(t.type)?t.size>5242880?(O(e=>({...e,file:"error"})),E(t.name),ee(),!1):(s--,O(e=>({...e,file:"success"})),ee(),!0):(O(e=>({...e,file:"error"})),E(e("YouCanOnlyAttach")),ee(),!1));Q(e=>({...e,files:[...e.files,...o]}))})(t),onClick:ea}),(0,t.jsx)("label",{htmlFor:"file-input",className:(0,d.default)(q.default["hero-upload-label"],{[q.default["hero-upload-label--default"]]:"default"===T.file,[q.default["hero-upload-label--error"]]:"error"===T.file,[q.default["hero-upload-label--success"]]:"success"===T.file}),style:{"--clip-icon":`url(${(0,A.getAssetUrl)("/images/icons/clip.svg")})`,"--cross-red-icon":`url(${(0,A.getAssetUrl)("/images/icons/cross-red.svg")})`,"--check-green-icon":`url(${(0,A.getAssetUrl)("/images/icons/check-green.svg")})`},children:(0,t.jsx)(n.Trans,{t:e,i18nKey:"AttachFileOrScreenshоts",components:[(0,t.jsx)(j.Text,{as:"span",className:q.default["hero-upload-text"]},"0")]})})]}),X.files?.length>0&&(0,t.jsx)("ul",{className:q.default["hero-upload-list"],children:X.files.map((e,l)=>(0,t.jsxs)("li",{className:q.default["hero-upload-item"],children:[(0,t.jsx)(j.Text,{className:q.default["hero-upload-item-text"],size:4,label:e.name,color:"#808080"}),(0,t.jsx)("button",{type:"button",className:q.default["hero-upload-item-remove"],style:{"--file-item-close-icon":`url(${(0,A.getAssetUrl)("/images/icons/file-item-close.svg")})`},onClick:()=>{Q(t=>({...t,files:t.files?.filter(t=>t!==e)})),ea()}})]},`${e.name}-${e.lastModified}-${l}`))}),"error"===T.file&&(0,t.jsx)(j.Text,{className:q.default["hero-upload-item-text-error"],size:4,label:L===e("YouCanAttachUp")?e("YouCanAttachUp"):L===e("YouCanOnlyAttach")?e("YouCanOnlyAttach"):`${e("FileSizeExceeded")} ${L}`,color:"#CB0000"})]}),(0,t.jsx)(f.Input,{label:e("Name"),placeholder:e("Name"),type:"text",value:X.name,maxLength:255,onChange:e=>{Q(t=>({...t,name:e.target.value})),(0,S.validateFullName)(e.target.value)?O(e=>({...e,name:"success"})):O(e=>({...e,name:"default"}))},required:!0,onBlur:()=>{(0,S.validateFullName)(X.name)?O(e=>({...e,name:"success"})):O(e=>({...e,name:"error"}))},onFocus:()=>{O(e=>({...e,name:"default"})),ea()},status:T.name,caption:"error"===T.name&&0===X.name.length?e("NameIsEmpty"):"error"===T.name&&X.name.length>0?e("NameIsIncorrect"):""}),(0,t.jsx)(f.Input,{label:e("Email"),placeholder:"[email protected]",type:"email",value:X.email,maxLength:255,onChange:e=>{Q(t=>({...t,email:e.target.value})),(0,S.validateEmail)(e.target.value)?O(e=>({...e,email:"success"})):O(e=>({...e,email:"default"}))},required:!0,onBlur:el,onFocus:()=>{O(e=>({...e,email:"default"})),ea()},status:T.email,caption:"error"===T.email&&0===X.email.length?e("EmailIsEmpty"):"error"===T.email&&X.email.length>0?e("EmailIsIncorrect"):""}),(0,t.jsxs)("div",{children:[(0,t.jsx)(j.Text,{className:q.default["hero-agree-text"],color:"#808080",children:(0,t.jsx)(n.Trans,{t:e,i18nKey:"ByClickingSubmit",components:[(0,t.jsx)(v.Link,{href:"https://docspace.onlyoffice.com/s/SMvMQ-Rwh8WDK5k",target:"_blank",color:"main",textUnderline:!0},"0"),(0,t.jsx)(v.Link,{href:"https://docspace.onlyoffice.com/s/Fj-fVY--ZhHHnv7",target:"_blank",color:"main",textUnderline:!0},"1")]})}),(0,t.jsx)(b.HCaptcha,{ref:a,size:"invisible",onVerify:es,onExpire:()=>es(null),onClose:()=>u("default")})]}),(0,t.jsxs)("div",{className:q.default["hero-loader-button-wrapper"],children:["loading"===r&&(0,t.jsx)(U.FormStatusMessage,{status:"loading",hasMarginTop:!1}),(0,t.jsx)(x.LoaderButton,{label:e("Submit"),disabled:"success"!==T.name||"success"!==T.email||"error"===T.subject||"error"===T.product,status:"rateLimit"===r?"error":r,fullWidth:!0,type:"submit"}),("success"===r||"error"===r||"rateLimit"===r)&&(0,t.jsx)(U.FormStatusMessage,{status:r,textAlign:"center"})]})]})]})})},O=()=>(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(T,{})});e.s(["__N_SSG",0,!0,"default",0,({locale:e})=>{let{t:c}=(0,l.useTranslation)("support-contact-form");return(0,t.jsxs)(s.Layout,{children:[(0,t.jsx)(s.Layout.AdventAnnounce,{children:(0,t.jsx)(o.AdventAnnounce,{locale:e})}),(0,t.jsx)(s.Layout.Head,{children:(0,t.jsx)(a.Head,{title:c("PageTitle"),description:c("PageDescription")})}),(0,t.jsx)(s.Layout.Header,{children:(0,t.jsx)(r.Header,{locale:e})}),(0,t.jsx)(s.Layout.Main,{children:(0,t.jsx)(O,{})}),(0,t.jsx)(s.Layout.Footer,{children:(0,t.jsx)(u.Footer,{locale:e})})]})}],452925)},983479,(e,t,l)=>{let s="/support-contact-form";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(452925)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},648761,e=>{e.v(t=>Promise.all(["static/chunks/0n..hexfw6r85.js"].map(t=>e.l(t))).then(()=>t(493594)))},828805,e=>{e.v(t=>Promise.all(["static/chunks/18bztvpdorkth.js"].map(t=>e.l(t))).then(()=>t(879466)))}]);

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.