1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var a=1;a<arguments.length;a++){var r=arguments[a];if(null!=r)for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:z91Mnki30xai7A92Z285bVr1MkHMpy":!0});var a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="2dae24fa-a718-449c-9257-7352b9104381",e._sentryDebugIdIdentifier="sentry-dbid-2dae24fa-a718-449c-9257-7352b9104381")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5104,5538],{2320:(e,a,r)=>{"use strict";r.d(a,{A:()=>s});var t=r(37876);r(14232);var l=r(69082);let s=e=>(0,t.jsxs)(l.A,{viewbox:"0 0 20 20",fill:"none",...e,children:[(0,t.jsx)("path",{d:"M10 6.00001C10.1657 6.00001 10.3 6.13433 10.3 6.30001C10.3 6.46569 10.1657 6.60001 10 6.60001",stroke:"currentcolor",strokeWidth:"1.2"}),(0,t.jsx)("path",{d:"M9.99995 6.00001C9.83427 6.00001 9.69995 6.13433 9.69995 6.30001C9.69995 6.46569 9.83427 6.60001 9.99995 6.60001",stroke:"currentcolor",strokeWidth:"1.2"}),(0,t.jsx)("path",{d:"M9.99995 9L9.99995 14",stroke:"currentcolor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M9.99996 0.999999C5.0294 0.999999 0.999955 5.02944 0.999955 10C0.999954 14.9706 5.02939 19 9.99995 19C14.9705 19 19 14.9706 19 10C19 5.02944 14.9705 0.999999 9.99996 0.999999Z",stroke:"currentcolor",strokeWidth:"2",strokeMiterlimit:"10"})]})},5538:(e,a,r)=>{"use strict";r.r(a),r.d(a,{default:()=>z});var t=r(37876),l=r(14232),s=r(70929),i=r(26272);let n=["00NOb0000084nzu","00NOb0000084o7C","00NOb0000084o7L","orgid","Origin","status","recordType","company","phone","email","name","subject","description"],o="00NOb0000084o7L",c=async(e,a,r)=>{let t;if(a?.whoareyou)throw(0,i.A)({event:"form_spam_blocked",formId:r,formName:e.formName,formType:"WebToCase",spamType:"honeypot"}),Error("Not able to submit form at this time");if(a?.agreeTerms&&a?.agreeTerms?.required===!0&&a?.agreeTerms?.checked!==!0)throw Error("Terms and conditions must be agreed to");if(a?.q15_consent&&a?.q15_consent?.value!=="Yes")throw Error("Consent is required to proceed");let l=[a?.description?.value||"",((t=Object.keys(a).reduce((e,r)=>{let t=a[r];if(t?.hidden||n.includes(r)||(t?.type==="checkbox"||t?.type==="radio")&&t?.checked===!1||!t?.value)return e;let l=Array.isArray(t.value)?t.value.join(", "):t.value;return e.push(`${t?.label||r}: ${l}`),e},[]).join("\n")).length>32e3&&(t=t.slice(0,32e3)),t)].filter(Boolean).join("\n"),s={};if(Object.entries(a).forEach(([e,a])=>{a?.value!==void 0&&"description"!==e&&n.includes(e)&&(s[e]=String(a.value))}),l&&(s.description=l),o&&a.feedbackTopic?.value){let e=(a.feedbackTopic.value?.toString()||"").split("-")[0].trim();s[o]=e}try{let e=await fetch("/api/form/submission",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}),a=await e.json();if(!e.ok||!a.success){let e=a?.error||a?.message||"Form submission failed. Please try again";throw Error(e)}}catch(e){if(e instanceof Error)throw e;throw Error("Form submission failed. Please try again")}(0,i.A)({event:"form_submit",formId:r,formName:e.formName,formType:"WebToCase",formDestination:"Salesforce"})};var u=r(11586),d=r(88485);let m=(e,a)=>{let r=(0,l.useRef)(!1);return{handleFirstInteraction:(0,l.useCallback)(()=>{!r.current&&e&&a&&((0,i.A)({event:"form_start",formId:a,formName:e.formName,formType:"WebToCase",formDestination:"Salesforce"}),r.current=!0)},[e,a]),handleFormFieldInteraction:(0,l.useCallback)(r=>{if(!e||!a)return;let{target:t}=r;(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLSelectElement)&&(0,i.A)({event:"form_field_interaction",formId:a,formName:e.formName,formType:"WebToCase",formDestination:"Salesforce",formFieldId:t.id,formFieldName:t.name})},[e,a])}};var h=r(43069),p=r(18643),_=r(39525),v=r(13255),b=r(66396),f=r(54750),x=r
1(36015),g=r(46781),y=r(84925),j=r(91063),w=r(71305),C=r(15039),N=r.n(C),A=r(74225),k=r.n(A);let q=({label:e,hint:a,className:r,children:s,error:i,options:n,name:o,value:c,validation:u,onChange:d,onBlur:m})=>{let h=N()("field-group",k()["field-group"],{[k()["field-group--error"]]:i},r);return(0,t.jsxs)("div",{className:h,children:[e&&(0,t.jsxs)("div",{className:`field-group__label ${k()["field-group__label"]}`,children:[e,u?.required&&(0,t.jsx)("span",{className:k()["field-group__required"],children:" *"})]}),a&&(0,t.jsx)("div",{className:k()["field-group__hint"],children:a}),(0,t.jsx)("div",{className:k()["field-group__options"],children:(()=>{if("function"!=typeof s)return s;if(!n)return null;if(Array.isArray(c)){let e=c.map(String),a=e.length>0,r=u?.required?{required:!a}:u;return n.map((a,i)=>{let n=e.includes(a.value);return(0,t.jsx)(l.Fragment,{children:s({option:a,index:i,name:o,checked:n,onChange:d,onBlur:m,validation:r})},a.value)})}let e=void 0!==c?String(c):"";return n.map((a,r)=>{let i=e===a.value,n=u?.required?{required:0===r}:u;return(0,t.jsx)(l.Fragment,{children:s({option:a,index:r,name:o,checked:i,onChange:d,onBlur:m,validation:n})},a.value)})})()}),i&&(0,t.jsx)("div",{className:k()["field-group__error"],children:i})]})},L=({label:e,className:a,id:r,...s})=>{let i=(0,l.useId)(),n=r||i;return(0,t.jsxs)("label",{htmlFor:n,className:a,children:[(0,t.jsx)("input",{id:n,type:"checkbox",...s}),e&&(0,t.jsx)("span",{children:e})]})};var T=r(78503),M=r.n(T);let S=({value:e,label:a,placeholder:r,size:s="large",hint:i,minLength:n,maxLength:o=100,onChange:c=()=>{},required:u=!1,disabled:d=!1,isValid:m,className:h,name:p})=>{let[_,v]=(0,l.useState)(d?void 0:m),b=N()(M().textarea,h),f=N()(M().textarea__label,{"label--small":"small"===s}),x=N()({"textarea--small":"small"===s,"textarea--success":_,"textarea--error":!1===_}),g=(0,l.useRef)(null),y=N()(M().textarea__footer,{[M()["textarea__footer--small"]]:"small"===s,[M()["textarea__footer--success"]]:_,[M()["textarea__footer--error"]]:!1===_});(0,l.useEffect)(()=>{d?v(void 0):v(m?g.current?.checkValidity():m)},[m,d]);let j=(0,l.useId)();return(0,t.jsxs)("div",{className:b,children:[(0,t.jsx)("label",{htmlFor:j,className:f,children:a}),(0,t.jsx)("textarea",{className:x,id:j,name:p,required:u,disabled:d,"aria-label":a,placeholder:r,minLength:n,maxLength:o,ref:g,onChange:e=>{!1===m||d||v(g.current?.checkValidity()),c&&c(e)},value:e}),(0,t.jsxs)("div",{className:y,children:[i&&(0,t.jsx)("div",{children:i}),o&&(0,t.jsxs)("div",{children:[e?.length||0,"/",o]})]})]})};var O=r(59223),I=r.n(O),F=r(84822),E=r(36953),B=r.n(E);let W=({label:e,hint:a,options:r,validation:s,onChange:i,onBlur:n,onInvalid:o,value:c,className:u,...d})=>{let[m,h]=(0,l.useState)(!1),p=(0,l.useId)(),_=m&&s?.required&&!c,v=(0,l.useCallback)(e=>{e.preventDefault(),h(!0),o?.(e)},[o]),b=N()(B()["select-field"],u),f=N()(B()["select-field__container"],{[B()["select-field__container--error"]]:_});return(0,t.jsxs)("div",{className:b,children:[(0,t.jsxs)("label",{htmlFor:p,children:[e,s?.required&&(0,t.jsx)("span",{className:B()["select-field__required"],children:"*"})]}),(0,t.jsx)("div",{className:f,children:(0,t.jsx)("select",{id:p,value:c,onChange:i,onBlur:e=>{h(!0),n?.(e)},required:s?.required,...d,onInvalid:v,children:r.map(e=>(0,t.jsx)("option",{value:e.value,children:e.label||e.value},`${e.value}-${e.label||""}`))})}),!_&&a&&(0,t.jsx)("div",{className:B()["select-field__hint"],children:a}),_&&(0,t.jsxs)("div",{className:B()["select-field__message--error"],children:[(0,t.jsx)(F.A,{className:B()["select-field__error-icon"]}),"Please select an option"]})]})},P=({name:e,label:a,value:r,checked:s,onChange:i,className:n,id:o,...c})=>{let u=(0,l.useId)(),d=o||u;return(0,t.jsxs)("label",{htmlFor:d,className:n,children:[(0,t.jsx)("input",{id:d,type:"radio",name:e,value:r,checked:s,onChange:i,...c}),a&&(0,t.jsx)("span",{children:a})]})},Y={"Financial hardship":({heading:e,formOverview:a,state:r,onFormSubmit:s,onFieldChange:i,formStatus:n,isValid:o,error:c,success:u})=>{let d=(0,l.useRef)(null);return(0,t.jsxs)("div",{className:I()["web-to-case"],children:[(0,t.jsxs)("div",{className:I()["web-to-case__form-header"],children:[e&&(0,t.jsx)(x.A,{level:2,children:e}),!u&&a&&(0,t.jsx)(g.A,{children:a})]}),(0,t.jsxs)("form",{ref:d,onSubmit:s,children:[(0,t.jsx)(y.A,{id:"whoareyou",type:"text",name:"whoareyou",className:"u-visually-hidden",tabIndex:-1,autoComplete:"off","aria-hidden":"true",onCh
1ange:i,value:r?.whoareyou?.value||"",label:""}),!u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 1 OF 3"}),(0,t.jsx)(x.A,{level:3,children:"Your details"}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Business name",name:"company",type:"text",validation:{required:!0,maxLength:255},value:r?.company?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"MYOB Client ID",name:"clientId",type:"text",maxLength:8,validation:{pattern:/^\d{7,8}$/},hint:"Can be found in My Account or at the top of your MYOB invoice",value:r?.clientId?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Your name",name:"name",type:"text",validation:{required:!0,maxLength:255},value:r?.name?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Name of business owner or director",name:"businessOwner",type:"text",validation:{required:!0,maxLength:255},value:r?.businessOwner?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Phone number",name:"phone",type:"tel",validation:{required:!0,maxLength:40,pattern:/^\+?[0-9][0-9 ]*$/},value:r?.phone?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Address",name:"address",type:"text",validation:{required:!0,maxLength:255},value:r?.address?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Email",name:"email",type:"email",validation:{required:!0,email:!0,maxLength:80},value:r?.email?.value,onChange:i})]}),(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 2 OF 3"}),(0,t.jsx)(x.A,{level:3,children:"About your circumstances"}),(0,t.jsx)(q,{label:"Relevant circumstances. Select all that apply",name:"relevantCircumstances[]",value:Array.isArray(r?.relevantCircumstances?.value)?r.relevantCircumstances.value:[],onChange:i,options:[{value:"I'm a sole trader or micro business (1â5 employees)"},{value:"We don't have a secondary revenue stream or investment backing"},{value:"We depend heavily on single revenue channel"},{value:"We're unable to pay due to external circumstances"},{value:"We're at risk of closing or liquidating"},{value:"Other circumstances"}],className:I()["web-to-case__field-wrapper"],children:({option:e,checked:a,name:r,onChange:l,onBlur:s})=>(0,t.jsx)(L,{name:r,value:e.value,label:e.label||e.value,checked:a,onChange:l,onBlur:s})}),Array.isArray(r?.relevantCircumstances?.value)&&r.relevantCircumstances.value.includes("Other circumstances")&&(0,t.jsx)(S,{className:I()["web-to-case__field-wrapper"],label:"Please describe",name:"otherCircumstances",placeholder:"Keep your description under 4,000 characters",maxLength:4e3,value:String(r?.otherCircumstances?.value||""),onChange:i})]}),(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 3 OF 3"}),(0,t.jsx)(x.A,{level:3,children:"Disclaimer"}),(0,t.jsx)("p",{children:"We appreciate you taking the time to share your situation with us. Please note that submitting this form does not guarantee that assistance will be provided. Each hardship request is reviewed carefully on a case-by-case basis, and while we'll do our best to understand your circumstances, we may not always be able to offer the support or outcome you're seeking."}),(0,t.jsx)("p",{children:"To help us assess your request, we may ask you to provide additional information or documents such as profit and loss statements, bank statements, evidence of debts or liabilities, BAS or tax returns, and cash flow forecasts."}),(0,t.jsxs)("p",{children:["We'll contact you once your application has been reviewed to let you know the next steps. By submitting this form, you agree that the information you've shared will be collected in accordance with our ",(0,t.jsx)("a",{href:"https://www.myob.com/legal/privacy-policy",children:"Privacy Policy"})," and"," ",(0,t.jsx)("a",{href:"https://www.myob.com/legal/privacy-collection-notice",children:"Collection Notice"}),"."]})]})]}),u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.A.Success,{children:(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"Your financial hardship request has been successfully submitted"})})}),(0,t.jsx)("p",{children:"You'll receive an email confirming we've received your request and created a case."}
1),(0,t.jsx)("p",{children:"Our team will contact you by email to discuss your situation and may request supporting documents to help assess your application. We'll review your information carefully and get in touch with the outcome or next steps as soon as possible."})]}),c&&(0,t.jsx)(j.A.Error,{children:"We're experiencing technical difficulties and could not submit your request. Please try again later."}),!u&&(0,t.jsx)("div",{className:I()["web-to-case__submit-button"],children:(0,t.jsx)(w.A,{type:"submit",disabled:"submitting"===n||!o,variant:"retail",size:"large",label:"Submit"})})]})]})},Migration:({heading:e,formOverview:a,state:r,onFormSubmit:s,onFormFirstInteraction:i,onFormFieldInteraction:n,onFieldChange:o,formStatus:c,isValid:u,success:d,error:m})=>{let h=(0,l.useRef)(null);return(0,t.jsxs)("div",{className:I()["web-to-case"],children:[(0,t.jsxs)("div",{className:I()["web-to-case__form-header"],children:[e&&(0,t.jsx)(x.A,{level:2,children:e}),!d&&a&&(0,t.jsx)(g.A,{children:a})]}),(0,t.jsxs)("form",{ref:h,onSubmit:s,onFocus:i,onBlur:n,children:[(0,t.jsx)(y.A,{id:"whoareyou",type:"text",name:"whoareyou",className:"u-visually-hidden",tabIndex:-1,autoComplete:"off","aria-hidden":"true",onChange:o,value:r?.whoareyou?.value||"",label:""}),!d&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 1 OF 3"}),(0,t.jsx)(x.A,{level:3,children:"Your details"}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Business name",name:"company",type:"text",maxLength:255,validation:{required:!0,maxLength:255},value:r?.company?.value,onChange:o}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Your name",name:"name",type:"text",maxLength:255,validation:{required:!0,maxLength:255},value:r?.name?.value,onChange:o}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Phone number",name:"phone",type:"tel",validation:{required:!0,maxLength:40,pattern:/^\+?[0-9][0-9 ]*$/},value:r?.phone?.value,onChange:o}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Email",name:"email",type:"email",maxLength:80,validation:{required:!0,email:!0},value:r?.email?.value,onChange:o})]}),(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 2 OF 3"}),(0,t.jsx)(x.A,{level:3,children:"About your move"}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"New MYOB Business serial number",name:"serialNumber",type:"text",maxLength:12,validation:{required:!0,pattern:/[0-9]{12}/,messages:{patternMismatch:"Please match the requested 12-digit serial number format."}},hint:"Enter the 12-digit serial number for your new software. If you haven't signed up for a new subscription yet, do that first.",value:r?.serialNumber?.value,onChange:o}),(0,t.jsx)(W,{className:I()["web-to-case__field-wrapper"],label:"What should happen to your old subscription?",hint:"When you move, your data will be added to your new MYOB file. You can keep your original subscription with your old data, but you'll keep being charged until you cancel it.",validation:{required:!0},name:"originalSubscription",value:r?.originalSubscription?.value||"",onChange:o,options:[{value:"",label:"-- Please choose --"},{value:"Automatically cancel at end of current billing cycle"},{value:"Keep active (you'll be charged until you cancel)"}]})]}),(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 3 OF 3"}),(0,t.jsx)(x.A,{level:3,children:"Submission acknowledgement"}),(0,t.jsxs)("p",{children:["By submitting this form, you agree to the"," ",(0,t.jsx)("a",{href:"https://www.myob.com/legal/my
1ob-business-terms",children:"MYOB Business terms of use"})," and confirm you have sufficient authority to approve the migration."]})]})]}),d&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.A.Success,{children:(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"Your request to migrate your MYOB file has been successfully submitted"})})}),(0,t.jsx)("p",{children:"You'll receive an email confirming we've received your request and created a case."}),(0,t.jsx)("p",{children:"Our data migration team will be in touch to let you know how to send us your old MYOB file. We'll then move your data to your new subscription."})]}),m&&(0,t.jsx)(j.A.Error,{children:"We're experiencing technical difficulties and could not submit your request. Please try again later."}),!d&&(0,t.jsx)("div",{className:I()["web-to-case__submit-button"],children:(0,t.jsx)(w.A,{type:"submit",disabled:"submitting"===c||!u,variant:"retail",size:"large",label:"Submit"})})]})]})},"Security incident":({heading:e,formOverview:a,state:r,onFormSubmit:s,onFieldChange:i,formStatus:n,isValid:o,success:c,error:u})=>{let d=(0,l.useRef)(null),{handleFirstInteraction:h,handleFormFieldInteraction:p}=m();return(0,t.jsxs)("div",{className:I()["web-to-case"],children:[(0,t.jsxs)("div",{className:I()["web-to-case__form-header"],children:[e&&(0,t.jsx)(x.A,{level:2,children:e}),!c&&a&&(0,t.jsx)(g.A,{children:a})]}),(0,t.jsxs)("form",{ref:d,onSubmit:s,onFocus:h,onBlur:p,children:[(0,t.jsx)(y.A,{id:"whoareyou",type:"text",name:"whoareyou",className:"u-visually-hidden",tabIndex:-1,autoComplete:"off","aria-hidden":"true",onChange:i,value:r?.whoareyou?.value||"",label:""}),!c&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 1 OF 3"}),(0,t.jsx)(x.A,{level:3,children:"Your details"}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Business name",name:"businessName",type:"text",maxLength:255,validation:{required:!1,maxLength:255},value:r?.businessName?.value,onChange:i}),(0,t.jsx)(q,{label:"Are you a customer of MYOB?",name:"myob_customer",value:(0,_.A)(r?.myob_customer?.value)?r.myob_customer.value:void 0,onChange:i,validation:{required:!0},options:[{value:"Yes",label:"Yes"},{value:"No",label:"No"}],className:I()["web-to-case__field-wrapper"],children:({option:e,checked:a,name:r,onChange:l,onBlur:s,validation:i})=>(0,t.jsx)(P,{name:r,value:e.value,label:e.label,checked:a,onChange:l,onBlur:s,required:i?.required})}),r?.myob_customer?.value==="Yes"&&(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"MYOB Client ID",name:"clientId",type:"text",maxLength:8,validation:{required:!1,pattern:/^\d{7,8}$/},hint:"Can be found in My Account or at the top of your MYOB invoice",value:r?.clientId?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Your name",name:"name",type:"text",maxLength:255,validation:{required:!1,maxLength:255},value:r?.name?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Name of business owner or director",name:"company",type:"text",maxLength:255,validation:{required:!1,maxLength:255},value:r?.company?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Phone number",name:"phone",type:"tel",validation:{required:!1,maxLength:40,pattern:/^\+?[0-9][0-9 ]*$/},value:r?.phone?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Contact email address",name:"email",type:"email",maxLength:80,validation:{required:!1,email:!0},value:r?.email?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"MYOB login email address",name:"loginEmail",type:"email",maxLength:80,hint:"This is the email you use to log in to your MYOB software or services",validation:{required:!1,email:!0},value:r?.loginEmail?.value,onChange:i})]}),(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 2 OF 3"}),(0,t.jsx)(x.A,{level:3,children:"About your issue"}),(0,t.jsx)(q,{label:"What type of issue are you experiencing?",hint:"Select the option that best describes your concern",name:"q1_issueType[]",value:Array.isArray(r?.q1_issueType?.value)?r.q1_issueType.value:[],onChange:i,options:[{value:"I believe my account or data has been compromised"},{value:"I received a suspicious email or message"},{value:"I noticed unusual activity in my account or system"},{value:"I accidentally shared sensitive information (such as my log in details)"},{value:"I suspect someone is impersonating MYOB staff"},{value:"Other",label:"Other (please describe)"}],className:I()["web-to-case__field-wrapper"],children:({option:e,checked:a,name:r,onChange:l,onBlur:s,validation:i})=>(0,t.jsx)(L,{name:r,value:e.value,label:e.label||e.value,checked:a,onChange:l,onBlur:s,required:i?.required})}),Array.isArray(r?.q1_issueType?.value)&&r.q1_issueType.value.includes("Other")&&(0,t.jsx)(S,{className:I()["web-to-case__field-wrapper"],label:"Please describe what happened in your own words.",name:"q2_text",placeholder:"Include what you saw, when it happened, and what actions you took.",value:String(r?.q2_text?.value||""),onChange:i,maxLength:1500}),(0,t.jsx)(q,{label:"What kind of data or systems were affected?",hint:"Select all that apply",name:"q3_affected[]",value:Array.isArray(r?.q3_affected?.value)?r.q3_affected.value:[],onChange:i,validation:{required:!0},options:[{value:"Customer data",label:"Customer data (e.g. names, addresses, financial info)"},{value:"Business systems",label:"Business systems (e.g. MYOB software, integrations)"},{value:"Credentials",label:"Login credentials or passwords"},{value:"Email tools",label:"Email or communication tools"},{value:"Not sure"},{value:"Other (please describe)"}],className:I()["web-to-case__field-wrapper"],children:({option:e,checked:a,name:r,onChange:l,onBlur:s,validation:i})=>(0,t.jsx)(L,{name:r,value:e.value,label:e.label||e.value,checked:a,onChange:l,onBlur:s,required:i?.required})}),Array.isArray(r?.q3_affected?.value)&&r.q3_affected.value.includes("Other (please describe)")&&(0,t.jsx)(S,{className:I()["web-to-case__field-wrapper"],label:"Please share details regarding the affected data or system",name:"q3_other_text",placeholder:"Please share as much detail as possible",value:String(r?.q3_other_text?.value||""),onChange:i,maxLength:1500}),(0,t.jsx)(q,{label:"How severe is the disruption to your business?",name:"q4_severity",value:(0,_.A)(r?.q4_severity?.value)?r.q4_severity.value:void 0,onChange:i,validation:{required:!0},options:[{value:"Minor",label:"Minor - No disruption, just reporting"},{value:"Moderate",label:"Moderate - Some disruption or concern"},{value:"Major",label:"Major - Business operations affected"}],className:I()["web-to-case__field-wrapper"],children:({option:e,checked:a,name:r,onChange:l,onBlur:s,validation:i})=>(0,t.jsx)(P,{name:r,value:e.value,label:e.label,checked:a,onChange:l,onBlur:s,required:i?.required})}),r?.q4_severity?.value==="Major"&&(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"When did the incident occur?",name:"q5_dt",type:"datetime-local",value:r?.q5_dt?.value,onChange:i}),(0,t.jsx)(q,{label:"Is the issue still ongoing?",name:"q6_ongoing",value:(0,_.A)(r?.q6_ongoing?.value)?r.q6_ongoing.value:void 0,onChange:i,validation:{required:!0},options:[{value:"Yes",label:"Yes"},{value:"No",label:"No"}],className:I()["web-to-case__field-wrapper"],children:({option:e,checked:a,name:r,onChange:l,onBlur:s,validation:i})=>(0,t.jsx)(P,{name:r,value:e.value,label:e.label,checked:a,onChange:l,onBlur:s,required:i?.required})}),r?.q6_ongoing?.value==="Yes"&&(0,t.jsx)(S,{className:I()["web-to-case__field-wrapper"],label:"What actions have you taken so far?",name:"q7_text",placeholder:"E.g. changed passwords, contacted support, disconnected device",value:String(r?.q7_text?.value||""),onChange:i,maxLength:1500}),(0,t.jsx)(q,{label:"Have you already spoken to someone at MYOB about this issue?",name:"q9_spoken",value:(0,_.A)(r?.q9_spoken?.value)?r.q9_spoken.value:void 0,onChange:i,validation:{required:!0},options:[{value:"Yes",label:"Yes"},{value:"No",label:"No"}],className:I()["web-to-case__field-wrapper"],children:({option:e,checked:a,name:r,onChange:l,onBlur:s,validation:i})=>(0,t.jsx)(P,{name:r,value:e.value,label:e.label,checked:a,onChange:l,onBlur:s,required:i?.required})}),r?.q9_spoken?.value==="Yes"&&(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Please provide their name or team (if known).",name:"q10_text",type:"text",value:r?.q10_text?.value,onChange:i})]}),(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 3 OF 3"}),(0,t.jsx)(q,{label:"Can MYOB use this information to investigate and contact you about this issue?",hint:"Consent is required to proceed.",name:"q15_consent",value:(0,_.A)(r?.q15_consent?.value)?r.q15_consent.value:void 0,onChange:i,validation:{required:!0},options:[{value:"Yes",label:"Yes"},{value:"No",label:"No"}],className:I()["web-to-case__field-wrapper"],children:({option:e,checked:a,name:r,onChange:l,onBlur:s,validation:i})=>(0,t.jsx)(P,{name:r,value:e.value,label:e.label,checked:a,onChange:l,onBlur:s,required:i?.required})})]}),r?.q15_consent?.value==="No"&&(0,t.jsx)(j.A.Error,{children:"We cannot proceed without your consent. Please contact support directly."}),(0,t.jsx)("div",{className:I()["web-to-case__field-group"],children:(0,t.jsxs)("p",{children:[(0,t.jsx)("strong",{children:"Disclaimer:"})," By submitting this form, you acknowledge that this information is collected in accordance with our ",(0,t.jsx)("a",{href:"https://www.myob.com/legal/privacy-policy",children:"Privacy Policy"})," and"," ",(0,t.jsx)("a",{href:"https://www.myob.com/legal/privacy-collection-notice",children:"Collection Notice."}
1)," MYOB may contact you, if required, to discuss this issue with you further."]})})]}),c&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.A.Success,{children:(0,t.jsx)("p",{children:(0,t.jsx)("strong",{children:"Your concern has been successfully submitted"})})}),(0,t.jsx)("p",{children:"We've logged your report and notified our security team. If we need additional information, such as screenshots or system logs, we'll contact you directly."}),(0,t.jsx)("p",{children:"Our team will investigate the issue as a priority. If necessary, we'll keep you informed once the matter has been resolved or mitigated. Please avoid sharing details publicly while our investigation is in progress."})]}),u&&(0,t.jsx)(j.A.Error,{children:"We're experiencing technical difficulties and could not submit your request. Please try again later."}),!c&&(0,t.jsx)("div",{className:I()["web-to-case__submit-button"],children:(0,t.jsx)(w.A,{type:"submit",disabled:"submitting"===n||!o,variant:"retail",size:"large",label:"Submit"})})]})]})},"Feedback and complaints":({heading:e,formOverview:a,state:r,onFormSubmit:s,onFieldChange:i,formStatus:n,isValid:o,success:c,error:u})=>{let d=(0,l.useRef)(null);return(0,t.jsxs)("div",{className:I()["web-to-case"],children:[(0,t.jsxs)("div",{className:I()["web-to-case__form-header"],children:[e&&(0,t.jsx)(x.A,{level:2,children:e}),!c&&a&&(0,t.jsx)(g.A,{children:a})]}),(0,t.jsxs)("form",{ref:d,onSubmit:s,children:[(0,t.jsx)(y.A,{id:"whoareyou",type:"text",name:"whoareyou",className:"u-visually-hidden",tabIndex:-1,autoComplete:"off","aria-hidden":"true",onChange:i,value:r?.whoareyou?.value||"",label:""}),!c&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 1 OF 3"}),(0,t.jsx)(x.A,{level:3,children:"Business details"}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Business name",name:"company",type:"text",maxLength:255,validation:{required:!0,maxLength:255},value:r?.company?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Your name",name:"name",type:"text",maxLength:255,validation:{required:!0,maxLength:255},value:r?.name?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"MYOB Client ID",name:"clientId",type:"text",maxLength:8,validation:{required:!1,pattern:/^\d{7,8}$/},hint:"Can be found in My Account or at the top of your MYOB invoice",value:r?.clientId?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Phone number",name:"phone",type:"tel",validation:{required:!0,maxLength:40,pattern:/^\+?[0-9][0-9 ]*$/},value:r?.phone?.value,onChange:i}),(0,t.jsx)(y.A,{className:I()["web-to-case__field-wrapper"],label:"Email",name:"email",type:"email",maxLength:80,validation:{required:!0,email:!0},value:r?.email?.value,onChange:i}),(0,t.jsx)(W,{className:I()["web-to-case__field-wrapper"],label:"Preferred method of contact",name:"preferredContactMethod",options:[{value:"By email",label:"By email"},{value:"By phone",label:"By phone"},{value:"I would like not to be contacted",label:"I would like not to be contacted"}],value:r?.preferredContactMethod?.value,onChange:i})]}),(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 2 OF 3"}),(0,t.jsx)(x.A,{level:3,children:"About your feedback or complaint"}),(0,t.jsx)(q,{className:I()["web-to-case__field-wrapper"],validation:{required:!0},label:"What would you like to do?",name:"feedbackOrComplaint",options:[{value:"Feedback",label:"Give feedback"},{value:"Complaint",label:"Make a complaint"}],value:r?.feedbackOrComplaint?.value,onChange:i,children:({option:e,checked:a,onChange:r,validation:l})=>(0,t.jsx)(P,{name:"feedbackOrComplaint",value:e.value,checked:a,onChange:r,label:e.label,required:l?.required})}),(0,t.jsx)(W,{className:I()["web-to-case__field-wrapper"],validation:{required:!0},label:"What is this about?",name:"feedbackTopic",options:[{value:"Product feedback - Your MYOB software",label:"Your MYOB software"},{value:"Product feedback - Support",label:"Support"},{value:"Product feedback - Sales",label:"Sales"},{value:"Product feedback - Financial services",label:"Financial services"},{value:"Product feedback - Marketing",label:"Marketing"},{value:"Product feedback - Legal",label:"Legal"}],value:r?.feedbackTopic?.value,onChange:i}),(0,t.jsx)(S,{className:I()["web-to-case__field-wrapper"],label:"Tell us what happened",name:"feedbackDetail
1s",maxLength:4e3,value:r?.feedbackDetails?.value?.toString(),onChange:i})]}),(0,t.jsxs)("div",{className:I()["web-to-case__field-group"],children:[(0,t.jsx)("p",{className:"txt__overline",children:"STEP 3 OF 3"}),(0,t.jsx)(x.A,{level:3,children:"Disclaimer"}),(0,t.jsx)("p",{children:"By submitting this form, you agree to our terms and conditions. Your feedback is valuable to us."})]})]}),c&&(0,t.jsxs)(j.A.Success,{children:[(0,t.jsx)(x.A,{level:3,children:"Thanks for getting in touch"}),(0,t.jsxs)("p",{children:["You'll receive an email confirming we've received your feedback and created a case.",(0,t.jsx)("br",{}),"If we need more information, we'll contact you to discuss the details. We aim to respond as soon as possible and will keep you updated on our progress."]})]}),u&&(0,t.jsx)(j.A.Error,{children:"We're experiencing technical difficulties and could not submit your request. Please try again later."}),!c&&(0,t.jsx)("div",{className:I()["web-to-case__submit-button"],children:(0,t.jsx)(w.A,{type:"submit",disabled:"submitting"===n||!o,variant:"retail",size:"large",label:"Submit"})})]})]})}},D="00D28000000L5ov",R="012Ob000006UPLj",$="00NOb0000084nzu",G="00NOb0000084o7C",V="00NOb0000084o7L",Z={"Financial hardship":{formName:"ANZ-ALL-RET-Apply-For-Financial-Hardship",caseType:"Service",category:"Billing and subscription",subCategory:"Apply for financial hardship",defaultFields:{subject:{hidden:!0,value:"Application for financial hardship"}}},Migration:{formName:"ANZ-SME-EXP-MYOB-Business-Upgrade",caseType:"Support",category:"Product help",subCategory:"Migrate my software",defaultFields:{subject:{hidden:!0,value:"Migration Request"}}},"Feedback and complaints":{formName:"ANZ-ALL-RET-Feedback-And-Complaints",caseType:"Feedback and Complaints",category:"Feedback and complaints",subCategory:"Product feedback",defaultFields:{subject:{hidden:!0,value:"Providing feedback"}}},"Security incident":{formName:"ANZ-ALL-RET-Report-A-Security-Concern",caseType:"Service",category:"Account and user access",subCategory:"Raise a security concern",defaultFields:{subject:{hidden:!0,value:"Reporting a security concern"}}}},z=e=>{let a=e?.fields?.formType,r=Z[a]||{},i=e?.sys?.id,n=(e=>{if(!((0,p.Ay)(e)&&e.sys?.contentType?.sys?.id==="formWebToCase"&&(0,v.A)(e.fields)&&(0,_.A)(e.fields.formTitle)&&(0,_.A)(e.fields.formType)&&(void 0===e.fields.formDescription||(0,h.A)(e.fields.formDescription))))return null;let{fields:a,sys:r}=e,{formType:t}=a,l=Y[t]||!1;return{id:r.id,title:a.formTitle,formType:a.formType,formOverview:(0,f.i)(a.formDescription,(0,b.A)()),FormComponent:l}})(e),o=(0,l.useRef)(null),{handleFirstInteraction:u,handleFormFieldInteraction:x}=m(r,i),[g,y]=(0,l.useState)({status:"idle",success:!1,error:""}),[j,w]=(0,l.useState)({...r?.defaultFields,orgid:{hidden:!0,value:D},external:{hidden:!0,value:"1"},priority:{hidden:!0,value:"Medium"},recordType:{hidden:!0,value:R},[$]:{hidden:!0,value:r?.caseType||""},[G]:{hidden:!0,value:r?.category||""},[V]:{hidden:!0,value:r?.subCategory||""},Origin:{hidden:!0,value:"Web"},status:{hidden:!0,value:"New"}}),C=()=>Object.entries(j).every(([,e])=>{if(!e||e.hidden)return!0;if(e.required){let{value:a}=e;return Array.isArray(a)?a.length>0:(0,d.A)(a)}return!0});(0,l.useEffect)(()=>{g.success&&o.current&&o.current.scrollIntoView({behavior:"smooth",block:"start"})},[g.success]);let N=async e=>{if(e.preventDefault(),e.target instanceof HTMLFormElement){if(!C()){y(e=>({...e,status:"error",error:"Please fill out all required fields correctly."})),e.target.reportValidity();return}if(y({status:"submitting",success:!1,error:""}),!e.target.checkValidity()){e.target.reportValidity(),y({status:"error",success:!1,error:"Please fill out all required fields correctly."});return}try{await c(r,j,i),y({status:"success",success:!0,error:""})}catch(e){console.error("Web-to-Case form submission error:",{formType:a,error:e instanceof Error?e.message:"Unknown error",timestamp:new Date().toISOString()}),y({status:"error",success:!1,error:"There was an error submitting the form. Please try again."})}}};if(D&&R&&$&&G&&V||console.error(`Web-to-Case ${a} form is missing required environment variables.`),!n)return null;let{title:A,formOverview:k,FormComponent:q}=n;return(0,t.jsx)("div",{ref:o,className:`${I()["web-to-case"]} lay__constrain-width-8-cols`,children:q&&(0,t.jsx)(q,{heading:A,formOverview:k,state:j,onFieldChange:e=>{(e=>{if(!e)return;let{name:a,value:r,type:t,required:l}=e;if(!a)return;let i=e.closest(".field-group"),n=i?.querySelector(".field-group__label")?.textContent,o=e?.form?.querySelector(`label[for="${e.id}"]`),c=n||o?.textContent||e?.ariaLabel||e?.name||"",u=((0,s.aj)(c,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]})||"").trim();w(i=>{let n={...i};if(!i[a]?.hidden){let m=a.endsWith("[]"),h=(0,s.aj)(r,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]}
1),p=h.trim();if(m){var o,c;let r=a.slice(0,-2),m=(o=i[r]?.value,c="string",Array.isArray(o)&&o.every(e=>"string"==typeof e&&(0,d.A)(e)))?i[r]?.value:[];("checkbox"===t||"radio"===t)&&e instanceof HTMLInputElement?n[r]={value:e.checked?[...m,p].filter((e,a,r)=>r.indexOf(e)===a):m.filter(e=>e!==p),label:(0,s.aj)(u,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]}),type:t,required:l}:""===p&&delete n[r]}else{if(""===p)return delete n[a],n;("checkbox"===t||"radio"===t)&&e instanceof HTMLInputElement?n[a]={value:e.checked?p:"",label:u,type:t,required:l,checked:e.checked}:n[a]={value:h,label:(0,s.aj)(u,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]}),type:t,required:l}}}return n})})(e.target)},onFormSubmit:N,onFormFirstInteraction:u,onFormFieldInteraction:x,formStatus:g.status,isValid:C(),success:g.success,error:g.error})})}},11586:(e,a,r)=>{"use strict";r.d(a,{A:()=>l});var t=r(22381);let l=e=>(0,t.A)(e)&&Number.isFinite(e)},19701:(e,a,r)=>{"use strict";r.d(a,{A:()=>s});var t=r(37876);r(14232);var l=r(69082);let s=e=>(0,t.jsxs)(l.A,{viewbox:"0 0 20 20",fill:"none",...e,children:[(0,t.jsx)("path",{d:"M6 10.7118L7.63333 12.7299C7.69529 12.8104 7.77845 12.877 7.8759 12.9239C7.97335 12.9708 8.08226 12.9968 8.19358 12.9997C8.3049 13.0026 8.4154 12.9823 8.5159 12.9405C8.61639 12.8987 8.70396 12.8367 8.77133 12.7595L14 7",stroke:"currentcolor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M10 19C14.9706 19 19 14.9706 19 10C19 5.02944 14.9706 1 10 1C5.02944 1 1 5.02944 1 10C1 14.9706 5.02944 19 10 19Z",stroke:"currentcolor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},22381:(e,a,r)=>{"use strict";r.d(a,{A:()=>t});let t=e=>"number"==typeof e&&!Number.isNaN(e)},26272:(e,a,r)=>{"use strict";r.d(a,{A:()=>t});let t=({event:e,formId:a,formName:r,formType:t=null,formDestination:l=null,formFieldId:s,formFieldName:i,spamType:n})=>{window.dataLayer.push({event:e,form_id:a,form_name:r,form_type:t,form_destination:l,...void 0!==s&&{form_field_id:s},...void 0!==i&&{form_field_name:i},...void 0!==n&&{spam_type:n}})}},36953:e=>{e.exports={"select-field":"Select_select-field__moUy5","select-field__container":"Select_select-field__container__eOiV9","select-field__container--error":"Select_select-field__container--error__ybIiI","select-field__hint":"Select_select-field__hint__Oz38j","select-field__message--error":"Select_select-field__message--error__62_im","select-field__error-icon":"Select_select-field__error-icon__xe43C"}},46781:(e,a,r)=>{"use strict";r.d(a,{A:()=>t.A});var t=r(60427)},55104:(e,a,r)=>{"use strict";r.r(a),r.d(a,{default:()=>s});var t=r(37876);r(14232);var l=r(69082);let s=e=>(0,t.jsxs)(l.A,{viewbox:"0 0 20 20",fill:"none",...e,children:[(0,t.jsx)("path",{d:"M10 16.0002C9.83434 16.0002 9.70001 15.8659 9.70001 15.7002C9.70001 15.5345 9.83434 15.4002 10 15.4002",stroke:"currentcolor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M10 16.0002C10.1657 16.0002 10.3 15.8659 10.3 15.7002C10.3 15.5345 10.1657 15.4002 10 15.4002",stroke:"currentcolor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M10 13.0001V6.99995",stroke:"currentcolor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M11.2969 1.80783C11.1778 1.56543 10.9932 1.36126 10.764 1.21847C10.5348 1.07569 10.2701 1 10 1C9.72993 1 9.46529 1.07569 9.23608 1.21847C9.00688 1.36126 8.82223 1.56543 8.70319 1.80783L1.12461 17.2466C1.03339 17.4322 0.990958 17.638 1.00133 17.8445C1.01171 18.051 1.07455 18.2515 1.18392 18.4269C1.29328 18.6025 1.44557 18.7472 1.62641 18.8475C1.80724 18.9478 2.01065 19.0004 2.21744 19.0002H17.7826C17.9894 19.0004 18.1928 18.9478 18.3737 18.8475C18.5545 18.7472 18.7068 18.6025 18.8162 18.4269C18.9255 18.2515 18.9883 18.051 18.9987 17.8445C19.0091 17.638 18.9666 17.4322 18.8754 17.2466L11.2969 1.80783Z",stroke:"currentcolor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},59223:e=>{e.exports={"web-to-case__field-wrapper":"WebToCase_web-to-case__field-wrapper__hGFsg","web-to-case__form-header":"WebToCase_web-to-case__form-header__kZ7wv","web-to-case__field-group":"WebToCase_web-to-case__field-group__5I7u3","web-to-case__submit-button":"WebToCase_web-to-case__submit-button__lUqTU"}},60427:(e,a,r)=>{"use strict";r.d(a,{A:()=>l});var t=r(37876);r(14232);let l=({children:e,...a})=>
1(0,t.jsx)("string"==typeof e?"p":"div",{...a,children:e})},74225:e=>{e.exports={"field-group":"FieldGroup_field-group__bq_2u","field-group__label":"FieldGroup_field-group__label__cxJ9D","field-group__required":"FieldGroup_field-group__required__NWBho","field-group__hint":"FieldGroup_field-group__hint__ZnjO0","field-group__options":"FieldGroup_field-group__options__cl0gc","field-group__error":"FieldGroup_field-group__error__wph2z","field-group--error":"FieldGroup_field-group--error__k_K1f"}},78503:e=>{e.exports={textarea:"Textarea_textarea__YV_Ad",textarea__label:"Textarea_textarea__label__ea22X",textarea__footer:"Textarea_textarea__footer__iEycJ","textarea__footer--small":"Textarea_textarea__footer--small__Pp0_y","textarea__footer--success":"Textarea_textarea__footer--success__VstPK","textarea__footer--error":"Textarea_textarea__footer--error__1BQUi"}},84822:(e,a,r)=>{"use strict";r.d(a,{A:()=>s});var t=r(37876);r(14232);var l=r(69082);let s=e=>(0,t.jsxs)(l.A,{viewbox:"0 0 20 20",fill:"none",...e,children:[(0,t.jsx)("path",{d:"M9.99999 14.2C9.8343 14.2 9.69998 14.0657 9.69998 13.9C9.69998 13.7343 9.8343 13.6 9.99999 13.6",stroke:"currentcolor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M9.99998 14.2C10.1657 14.2 10.3 14.0657 10.3 13.9C10.3 13.7343 10.1657 13.6 9.99998 13.6",stroke:"currentcolor",strokeWidth:"1.5"}),(0,t.jsx)("path",{d:"M9.99998 11.2V5.19989",stroke:"currentcolor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M1.42384 11.0248C1.15236 10.7529 0.999878 10.3845 0.999878 10.0004C0.999878 9.6162 1.15236 9.24771 1.42384 8.97595L8.9759 1.42464C9.1103 1.28996 9.2699 1.1831 9.44558 1.11019C9.62134 1.03729 9.80967 0.999756 9.99991 0.999756C10.1902 0.999756 10.3786 1.03729 10.5543 1.11019C10.73 1.1831 10.8896 1.28996 11.0239 1.42464L18.576 8.97595C18.8475 9.24771 19 9.6162 19 10.0004C19 10.3845 18.8475 10.7529 18.576 11.0248L11.0239 18.5761C10.7523 18.8475 10.384 18.9999 9.99991 18.9999C9.6159 18.9999 9.24758 18.8475 8.9759 18.5761L1.42384 11.0248Z",stroke:"currentcolor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},84925:(e,a,r)=>{"use strict";r.d(a,{A:()=>d});var t=r(37876),l=r(14232),s=r(15039),i=r.n(s),n=r(84822),o=r(88125),c=r.n(o);let u=(0,l.forwardRef)(({label:e,hint:a,iconStart:r,size:s="default",validation:o,className:u,disabled:d,type:m="text",onChange:h,onBlur:p,onInvalid:_,value:v,defaultValue:b,...f},x)=>{let[g,y]=(0,l.useState)(v||b||""),[j,w]=(0,l.useState)(!1),[C,N]=(0,l.useState)(""),A=(0,l.useRef)(null),k=x||A,q=void 0!==v,L=(0,l.useId)(),T=a?`${L}-hint`:void 0,M=C?`${L}-error`:void 0,S=(0,l.useCallback)(e=>{let{validity:a}=e;return a&&!a.valid?(N(((e,a)=>{let{validity:r,validationMessage:t}=e;return r.patternMismatch?a?.patternMismatch??t:t})(e,o?.messages)),!1):(N(""),!0)},[]);(0,l.useEffect)(()=>{q&&y(v||""),j&&k&&"current"in k&&k.current&&setTimeout(()=>{k.current&&S(k.current)},0)},[v,j,k,S,q]);let O=(0,l.useCallback)(e=>{y(e.target.value),j&&S(e.target),h?.(e)},[h,S,j]),I=(0,l.useCallback)(e=>{w(!0),S(e.target),p?.(e)},[p,S]),F=(0,l.useCallback)(e=>{e.preventDefault(),w(!0),S(e.currentTarget),_?.(e)},[_,S]),E=!!C,B=i()(c().input__field,u),W=i()({"label--small":"small"===s}),P=i()("input",{"input--small":"small"===s,"input--error":E}),Y=i()(c().input__hint,{[c()["input__hint--small"]]:"small"===s}),D=i()(c().input__message,{[c()["input__message--small"]]:"small"===s,[c()["input__message--error"]]:E}),R=i()(c().input__container,{[c()["input__container--error"]]:E}),$=i()(c()["input__icon-start"],{[c()["input__icon-start--small"]]:"small"===s,[c()["input__icon-start--error"]]:E});return(0,t.jsxs)("div",{className:B,children:[(0,t.jsxs)("label",{htmlFor:L,className:W,children:[e,o?.required&&(0,t.jsx)("span",{className:c().input__required,children:"*"})]}),(0,t.jsxs)("div",{className:R,children:[r&&(0,t.jsx)("span",{className:$,children:r}),(0,t.jsx)("input",{ref:k,id:L,className:P,disabled:d,required:o?.required,minLength:o?.minLength,maxLength:o?.maxLength,pattern:o?.pattern?o.pattern.source:void 0,type:o?.email?"email":m,value:g,onChange:O,onBlur:I,"aria-describedby":[a?T:"",E?M:""].filter(
1Boolean).join(" ")||void 0,"aria-invalid":E,...f,onInvalid:F})]}),a&&!E&&(0,t.jsx)("div",{id:T,className:Y,children:a}),E&&(0,t.jsxs)("div",{id:M,className:D,children:[(0,t.jsx)(n.A,{className:c()["input__error-icon"]}),C]})]})});u.displayName="Input";let d=u},88125:e=>{e.exports={input:"Input_input__X5fF8",input__field:"Input_input__field__ocYLI",input__container:"Input_input__container__q4e_e","input__icon-start":"Input_input__icon-start__y7CBy","input__container--error":"Input_input__container--error__BczGm","input__icon-start--small":"Input_input__icon-start--small__dfZWG","input__icon-start--error":"Input_input__icon-start--error__Y2o9V","input__error-icon":"Input_input__error-icon__9wlxo",input__hint:"Input_input__hint__TGN26",input__message:"Input_input__message__d2je8","input__hint--small":"Input_input__hint--small__b4Ycs","input__message--small":"Input_input__message--small__T3Ugx","input__message--error":"Input_input__message--error__CSCJE"}},91063:(e,a,r)=>{"use strict";r.d(a,{A:()=>p});var t=r(37876);r(14232);var l=r(15039),s=r.n(l),i=r(76594),n=r(2320),o=r(19701),c=r(55104),u=r(84822),d=r(99213),m=r.n(d);let h=({className:e,onClose:a,size:r="medium",hasBorder:l=!1,icon:n,children:o,...c})=>{let u=s()(m().alert,"alert",m()[`alert--${r}`],l?m()["alert--border"]:null,e);return(0,t.jsxs)("div",{className:u,...c,children:[(0,t.jsxs)("div",{className:m().alert__container,children:[n,(0,t.jsx)("div",{className:m().alert__label,children:o})]}),a&&(0,t.jsx)(i.A,{tabIndex:"0",onClick:a})]})},p={Base:h,Info:({children:e,...a})=>(0,t.jsx)(h,{icon:(0,t.jsx)(n.A,{}),className:m()["alert--info"],...a,children:e}),Success:({children:e,...a})=>(0,t.jsx)(h,{icon:(0,t.jsx)(o.A,{}),className:m()["alert--success"],...a,children:e}),Warning:({children:e,...a})=>(0,t.jsx)(h,{icon:(0,t.jsx)(c.default,{}),className:m()["alert--warn"],...a,children:e}),Error:({children:e,...a})=>(0,t.jsx)(h,{icon:(0,t.jsx)(u.A,{}),className:m()["alert--error"],...a,children:e})}},99213:e=>{e.exports={alert:"Alert_alert__cqCCm","alert--small":"Alert_alert--small__gii70",alert__container:"Alert_alert__container__vdTCt",alert__label:"Alert_alert__label___T0Cj","alert--info":"Alert_alert--info__FsjgM","alert--success":"Alert_alert--success__Ff5YD","alert--warn":"Alert_alert--warn__X8zIQ","alert--error":"Alert_alert--error__yMwkt"}}}]);
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.