1"use strict";(self.rspackChunkvagaro_websitebuilder_consumer=self.rspackChunkvagaro_websitebuilder_consumer||[]).push([[3416],{29060(){},9163(e,t,n){n.r(t),n.d(t,{default:()=>v});var r=n(74848),i=n(96540);n(29060);var s=n(15624),a=n(27142),l=n(94089),o=n(67247),c=n(7247),u=n(83967),d=n(67871);let p=(0,i.forwardRef)(({SetValue:e=0,Required:t=!1,Min:n=2500,Max:s=5e4,PrefixIcon:a="$",InputDisable:l=!1,OnChange:o,OnBlur:c},u)=>{let d=i.useRef(null),[p,g]=(0,i.useState)(e),[f,v]=(0,i.useState)(!1),[x,h]=(0,i.useState)(e.toString()),m=e=>new Intl.NumberFormat("en-US").format(e);return(0,i.useEffect)(()=>{h(m(e))},[e]),(0,i.useImperativeHandle)(u,()=>({validate:()=>t&&(0===p||p<n||p>s)?{IsValidate:!1,IsRequired:!!t}:{IsValidate:!0,IsRequired:!!t}})),(0,i.useEffect)(()=>{g(e)},[e]),(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsxs)("div",{className:`flex items-center justify-between pt-[19px] pr-4 pb-[19px] pl-4 transition-all border border-solid rounded-[3px] ${f?"border-border_blue_default":"border-border_neutral_strong"}`,children:[(0,r.jsxs)("div",{className:"flex items-center flex-1 gap-[2px]",onClick:()=>v(!0),children:[(0,r.jsx)("span",{className:"text-[26px] text-text_neutral_default leading-[32px] font-medium",children:a}),f?(0,r.jsx)("input",{ref:d,type:"text",value:x,disabled:l,onChange:e=>{let t=e.target.value.replace(/,/g,"").replace(/[^0-9]/g,"");if(""===t){g(0),h("");return}let n=parseInt(t,10);g(n),h(m(n)),0==n&&setTimeout(()=>{h("")},0),e.target.value=`${n||""}`,o&&o(e)},onBlur:e=>{let t=parseInt(e.target.value.replace(/,/g,"").replace(/[^0-9]/g,""),10);h(isNaN(t)?"":m(t));let r={...e,target:{...e.target,value:isNaN(t)?"":`${t||""}`}};c&&c(r),t>=n&&t<=s?v(!1):(v(!0),setTimeout(()=>{d.current?.focus()},0))},autoFocus:!0,className:"outline-none w-full bg-transparent border-none text-[26px] text-text_neutral_default leading-[32px] font-medium p-0"}):(0,r.jsx)("span",{className:"w-full cursor-pointer text-[26px] text-text_neutral_default leading-[32px] font-medium",children:x})]}),(0,r.jsx)("span",{className:"cursor-pointer leading-0",onClick:()=>v(!0),children:(0,r.jsx)("img",{src:"https://vagaro.azureedge.net/static-content/Images/vagaro-capital/edit-icon.svg",alt:"edit icon"})})]}),(0,r.jsxs)("div",{className:"flex justify-between text-sm mt-1",children:[(0,r.jsxs)("div",{className:"text-[15px] text-text-secondary leading-[20px] font-normal",children:[a,m(n),(0,r.jsx)("small",{className:"text-[12px] text-text-secondary leading-[16px] font-medium block",children:"Min"})]}),(0,r.jsxs)("div",{className:"text-[15px] text-text-secondary leading-[20px] font-normal",children:[a,m(s),(0,r.jsx)("small",{className:"text-[12px] text-text-secondary leading-[16px] font-medium block text-right",children:"Max"})]})]})]})});var g=n(6409),f=n(65195);let v=(0,i.forwardRef)(({InputTitle:e,PlaceHolder:t,Password:n,MaximumLength:v,UrlPrefix:x,PrefixIcon:h,Required:m=!1,CustomErrorMessage:w,InputDescription:C,Validation:b,InfoTooltipMessage:j,RegexPattern:$,RegexErrorMessage:S,AlertPassiveMessage:N,FocusBorder:y,InputDisable:I,OnChange:M,OnBlur:E,InputId:k="",NotificationData:T,customClassName:L="",Protocol:O,SetValue:A="",ShowRequiredFieldMark:R=!1,EnableOnChangeValidation:P=!0,Name:V="vg-input",InputDrop:B,DropInValue:D,InputText:z,PrefixCustomMsg:F,SuffixCustomMsg:_,CustomFileExt:W,isIconBody:q,AutoFocus:H,OnFocus:U,OnClick:K,EnableBody:Z,OnInputDrop:G,SuffixIcon:J,OnKeyUp:Q,BeakPosition:X="Middle",Type:Y="text",OnKeyDown:ee,OnPaste:et,InputMode:en,min:er,max:ei,OnInput:es,TooltipScreenTitleForMobile:ea,OnBlurValidation:el=!0,SetControlonRight:eo=!1,TagTextbox:ec=!1,OnValidation:eu,MobileViewSearch:ed=!1,VginputRef:ep,ShortCutKey:eg="",errorMessageNotShow:ef=!1,PasswordValue:ev,DropdownOptions:ex=[],showAmountCard:eh=!1,CopyVertical:em=!1,OnCopyClick:ew,TabIndex:eC,ComponentTooltipText:eb="",ToggleOptions:ej=[],InputBgColor:e$="",optionContainer:eS="div",TextAlign:eN="",Size:ey="",BorderRadius:eI=!1,GradientBorder:eM=!1,DefaultHeight:eE=!1,BorderNone:ek=!1,IconDark:eT=!1,FailedContact:eL,ShowError:eO=!1,TreatParenthesesAsSpecialChar:eA=!1,DropInPreserveValue:eR=!1,AutoGrowWhenDisabled:eP=!1,RestrictedKeyWord:eV,AutoPasswordSuggest:eB=!1,AiClickEvent:eD,AiControlPopup:ez=!1,RawData:eF,AiControlId:e_="AiInputControlId",CharacterCountEnableForAi:eW,MaximumLengthForAi:eq,ToneMetadata:eH,OnClickCancle:eU,OnClickClose:eK,OnPopupStateChange:eZ,OnClickUseThisText:eG,OnChangeRange:eJ,OnChangeTone:eQ,OnClickNext:eX,OnClickPrevious:eY,OnClickRegenerate:e0,ApiUrl:e1,ApiRequestParam
1s:e2,ExternalPayload:e3,IsEmptyValue:e4=!1,AiPopupOpen:e8=!0,PreAiClickEvent:e5,IsOldAIAPICall:e6=!1,AiPopupSetValue:e9,AlwaysControlonRight:e7=!1,SkipSetValueSync:te=!1,TruncateOnOverflow:tt=!1,TruncateOnTitle:tn=!1,ControlLeftWidth:tr="",ControlRightWidth:ti=""},ts)=>{let ta,[tl,to]=(0,i.useState)(""),[tc,tu]=(0,i.useState)(""),[td,tp]=(0,i.useState)(!0),[tg,tf]=(0,i.useState)(!1),[tv,tx]=(0,i.useState)(!1),[th,tm]=(0,i.useState)(ej[0]||{}),[tw,tC]=(0,i.useState)(!1),[tb,tj]=(0,i.useState)(!1),[t$,tS]=(0,i.useState)(!1),[tN,ty]=(0,i.useState)(),tI=(0,i.useRef)(null),[tM,tE]=(0,i.useState)(!ex?.some(e=>e.value===A)),[tk,tT]=(0,i.useState)(!1),[tL,tO]=(0,i.useState)(!1),[tA,tR]=(0,i.useState)(!1),tP=i.useRef(null),tV=(0,i.useRef)(null),[tB,tD]=(0,i.useState)(!1),[tz,tF]=(0,i.useState)(window.innerWidth<=767),[t_,tW]=(0,i.useState)(!0),[tq,tH]=(0,i.useState)([]);(0,i.useRef)(null);let tU=/[^a-zA-Z0-9\\^$\*\?\|\[\]\{\}]/g,tK=/[^a-zA-Z0-9\\^$\*\?\|\(\)\[\]\{\}]/g,tZ=o.Wp.CheckIsFromProAppWithoutState(),tG=/^\/|\/$/g,tJ=(0,i.useRef)(null),[tQ,tX]=(0,i.useState)(!1),[tY,t0]=(0,i.useState)({width:0}),[t1,t2]=(0,i.useState)(!1),t3=(0,i.useRef)(null),t4=(0,i.useRef)(null),[t8,t5]=(0,i.useState)(eO),[t6,t9]=(0,i.useState)(!1),[t7,ne]=(0,i.useState)(()=>(0,g.o)()),[nt,nn]=(0,i.useState)(!1),[nr,ni]=(0,i.useState)(""),[ns,na]=(0,i.useState)({Index:0,InputDescription:"",Tone:"professional",Range:50}),[nl,no]=(0,i.useState)(!1);(0,i.useEffect)(()=>{if(!(ez||t6)||t7)return;let e=!0;return(0,g.E)().catch(()=>(0,g.E)()).then(t=>{e&&ne(()=>t)}).catch(()=>{}),()=>{e=!1}},[ez,t6,t7]);let nc=!!(eP&&I),nu=eB&&n?"new-password":"off",nd=!!(ez&&"number"!==Y&&"numeric"!==b&&"phone"!==b&&"email"!==b&&"number_rounded"!==b&&"confirmPassword"!==b&&"password"!==b),np=!!(eo&&!ez),ng=()=>{if(!nc||!tV.current)return;let e=tV.current;e.style.height="auto",e.style.height=`${Math.max(e.scrollHeight,40)}px`};(0,i.useEffect)(()=>{if(!te){if(ec&&Array.isArray(A)){let e=A.filter(e=>e&&"string"==typeof e&&e.trim().length>0);tH(e),tu(""),tR(e.length>0);return}if(tZ&&F&&np)null!=A&&("string"!=typeof A||""!==A.trim())?(tu("string"==typeof A&&A.startsWith(F)?A:F+A),tR(!0)):(tu(""),tR(!1));else{let e=null!=A?A:"";tu(e),tR(""!==e),ex?.length&&!ex.some(e=>e.value===A)&&(tu(nx(A)),tR(!0))}}},[A,ec]),(0,i.useEffect)(()=>{t5(eO)},[eO]),(0,i.useEffect)(()=>{tx(eL?.FailedContact??!1)},[eL?.FailedContact]),(0,i.useEffect)(()=>{e9&&""!==e9.InputDescription?na(e9):"string"==typeof A&&""!==A.trim()&&na({Index:0,InputDescription:A,Tone:"professional",Range:50})},[e9,A]),(0,i.useEffect)(()=>{if(ej?.length){let e=ej.find(e=>!0===e.selected);e||(e=ej[0]),tm({...e,position:0===ej.indexOf(e)?"prefix":"suffix"})}},[ej]),(0,i.useEffect)(()=>{let e=!0;m&&ef?e=!1:m&&(e=!0),tW(e)},[]),(0,i.useEffect)(()=>{if(H){var e;(0,o._A)(!0,tP),tO(!0),navigator.userAgent.indexOf("com.vagaro.iospro")>-1&&navigator.userAgent.indexOf("iPhone")>-1&&((e={}).messageType=0,e.message="",e.screenType=0,e.navType=0,e.InputId=k,e.NativeAction=31,e.action="124|~|"+JSON.stringify(e),o.Wp.ToolkitSendCallbacktoMobile(5006,JSON.stringify(e)))}},[H]);let nf=e=>{if(!e&&m)return{isValid:!1,errorMessage:w||""};let t=(e=>{if(!eV||0===eV.length||!e)return null;let t=e.toLowerCase();for(let e of eV){if(!e)continue;let n=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(RegExp(`\\b${n}\\b`,"i").test(t))return w||`"${e}" is not allowed.`}return null})(e);return t?{isValid:!1,errorMessage:t}:e?("numeric"!==b||/^[0-9]*$/.test(e))&&("number_rounded"!==b||/^-?[0-9]*\.?[0-9]*$/.test(e)&&"-"!==e&&"."!==e&&"-."!==e)?"email"!==b||/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/i.test(e)?"phone"!==b||/^[1-9][0-9]{9}$/.test(e)?nd||"regex"!==b||!$||new RegExp($).test(e)?m&&n&&!/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{9,}$/.test(e)&&"password"===b?{isValid:!1,errorMessage:w||"Password must contain at least 9 characters, including uppercase, lowercase letters and numbers."}:m&&n&&e?.length&&e!==ev&&"confirmPassword"===b?{isValid:!1,errorMessage:w||"New password does not match with confirm password."}:{isValid:!0}:{isValid:!1,errorMessage:S||"Invalid format."}:{isValid:!1,errorMessage:w||"Invalid phone number."}:{isValid:!1,errorMessage:w||"Invalid email format."}:{isValid:!1,errorMessage:w||"Only numeric values are allowed."}:{isValid:!0}},nv=e=>{let t=e.target.value;if(tv&&tx(!1),t8&&t5(!1),P){let{isValid:e,errorMessage:n}=nf(t);tp(e),to(n||"");let r=!t&&m,i=e&&!r;"function"==typeof eu&&eu(i,i?"":n||(r?w||"This field is required.":""))}if("paste"===e.type){e.preventDefault();let n=e.clipboardData.getData("text");x&&(n=n.replace(/\s+/g,"")),t=n}if(x&&(t=t.replace(/\s+/g,"")),"numeric"===b){let e=t.replace(/[^0-9]/g,"");if(e!==t)return;t=e}if("number_rounded"===b){let n=t.replace(/[+/*%]/g,""),r=n.match(/-/g);r&&r.length>1?n=0===n.indexOf("-")?"-"+n.slice(1).replace(/-/g,""):n.replace(/-/g,""):r&&0!==n.indexOf("-")&&(n=n.replace(/-/g,""));let i=n.match(/\./g);if(i&&i.length>1){let e=n.indexOf(".");n=n.slice(0,e+1)+n.slice(e+1).replace(/\./g,"")}n!==t&&(t=n,e.target.value=n)}if("number"===Y&&v&&t.length>v&&(t=t.slice(0,v),e.target.value=t.slice(0,v)),M){if(tR(!0),P){let{isValid:e,errorMessage:n}=nf(t);if(tp(e),to(n||""),!nd&&"regex"===b&&$){let e;if(!(e=(e=>{let t=e.replace(tG,""),n=eA?tU:tK;if(!n.test(t))return"";let r=t.match(n);return r?Array.from(new Set(r)).join(""):""})($).replace(/[-/\\^$*+?()|[\]{}]/g,"\\$&"),RegExp(`^[a-zA-Z0-9\\s${e}]*$`)).test(t))return!1}v>0&&t.length>=v?tf(!0):tf(!1),v<0&&tu("")}tZ&&F&&np&&(t.startsWith(F)&&(t=t.slice(F.length)),(t=t?.trim().length>0?F+t:"")===F&&(t=F)),tu(t),M(e)}},nx=(e,t=2)=>{let n=parseFloat(e);return isNaN(n)?"":n.toFixed(t)},nh=e=>{if(!el)return;if(te){E&&E(e);return}if(tO(!1),tk&&""!==tc)return void tT(!1);if(e&&e.target){let t=e.target.value,n=parseFloat(t);"number_rounded"===b&&t&&!isNaN(parseFloat(t))&&(tu(t=Math.round(parseFloat(t)).toString()),e.target.value=t),"number"===Y&&(""===t&&null!=er?tu(t=er.toString()):isNaN(n)||""===t||(n>ei?tu(t=ei.toString()):!isNaN(n)&&n<er&&tu(t=er.toString()))),B&&(tj(!1),eR?""===e.target.value&&tu(z):(""===e.target.value&&B&&tu(z),e.target.value===D&&tu(""),B&&/^[^0-9]/.test(e.target.value)&&tu(z)))}if("string"==typeof tc&&tc?.trim()&&ec){let e=tc.split(",").map(e=>e?.trim()).filter(e=>e?.length>0);tH(t=>[...t,...e]),tu("")}E&&E(e);let t=e?.target?.value||tc,{isValid:n,errorMessage:r}=nf(t),i=m&&!t,s=n&&!i;if(ex?.length){let t=nx(e?.target?.value||tc);tN?.isEdit&&tu(t)}return tp(s),to(r||(i?w||"This field is required.":"")),"function"==typeof eu&&eu(s,s?"":r||(i?w||"This field is required.":"")),s},nm=e=>{Q&&Q(e)},nw=e=>{if("number"===Y){let t=/^[0-9.]$/.test(e.key),n=e.ctrlKey||e.metaKey;if(!t&&!["Backspace","Delete","Tab","Escape","Enter","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.ke
1y)&&!n)return void e.preventDefault()}ee&&ee(e)},nC=e=>{if("number"===Y){let t=e.clipboardData.getData("text");if(!/^[0-9.]*$/.test(t))return void e.preventDefault()}et&&et(e)},nb=e=>{es&&es(e)},nj=e=>{tH(t=>{let n=t.filter((t,n)=>n!==e);return M&&M({target:{value:n.join(", ")}}),n})};(0,i.useImperativeHandle)(ts,()=>({validate:()=>(()=>{tO(!1),(0,o._A)(H&&!tL,tP);let{isValid:e,errorMessage:t}=nf(tc),n=!tc&&m,r=e&&!n,i=t||(n?w||"This field is required.":"");return to(i),tp(r),"function"==typeof eu&&eu(r,r?"":i),{[k]:tc,IsValidate:r,Required:n,errorMessage:i,id:k,checkcontrol:"InputControl"}})()}));let n$=e=>{t2(!0),tC(!0),B&&(eR?tb||tj(!0):(/^[0-9]/.test(tc)||tu(""),tj(!tb))),U&&U(e),!tc&&tq.length>0&&ec&&(tu(tq.join(", ")),tH([]))};(0,i.useEffect)(()=>{let e=()=>tF(window.innerWidth<=767);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let nS=(0,i.useRef)(null),nN=(0,i.useRef)(null),[ny,nI]=(0,i.useState)(0),[nM,nE]=(0,i.useState)(0),[nk,nT]=(0,i.useState)(!1),[nL,nO]=(0,i.useState)(!1);(0,i.useEffect)(()=>{ng()},[nc,tc,tN?.label,tN?.value,tN?.isEdit,ny,nM]),(0,i.useEffect)(()=>{if(!nc)return;let e=()=>{ng()};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[nc]),(0,i.useEffect)(()=>{let e=()=>{let e=nS.current,t=nN.current;nT(!!e),nO(!!t),nI(e?.offsetWidth||0),nE(t?.offsetWidth||0)};e();let t=setTimeout(e,0),n=new ResizeObserver(e);return nS.current&&n.observe(nS.current),nN.current&&n.observe(nN.current),()=>{clearTimeout(t),n.disconnect()}},[F,_]);let nA=!!ez,nR=!!(th?.position==="suffix"&&!h&&!J),nP=!!(n&&tc.length>0),nV=!!(nR||nP||J&&"none"!==J),nB=!!("CustomMsgSuffix"===J&&_||"hrs"===J||"fileExtension"===J),nD=!!(nA||nB),nz=nM||(nV?"fileExtension"===J?44:28:0),nF=34*!!nA,n_=nL?`inputPaddingRight-${nM+13}`:"",nW=!!(nA?`inputPaddingRight-${nz+nF+13}`:n_),nq=nA?nz+nF+13:nM+13,nH=e9&&""!==e9.InputDescription?e9:ns,nU=()=>{let e=tJ.current;e&&tX(e.scrollWidth>=e.clientWidth)};(0,i.useEffect)(()=>{let e=e=>{let t=tP.current,n=e.target;t&&!t.contains(n)&&document.activeElement===t&&t.blur()};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e)}},[tP,ep]),(0,i.useEffect)(()=>{nU()},[tq]),(0,i.useEffect)(()=>{let e=new ResizeObserver(nU);return tJ.current&&e.observe(tJ.current),()=>e.disconnect()},[]),(0,i.useEffect)(()=>{let e=(eg||"").toLowerCase().split("+").map(e=>e.trim()),t=t=>{!eg||(!e.includes("ctrl")||t.ctrlKey)&&(!e.includes("alt")||t.altKey)&&(!e.includes("shift")||t.shiftKey)&&(!(e.includes("meta")||e.includes("cmd"))||t.metaKey)&&!["ctrl","alt","shift","meta","cmd"].includes(t.key.toLowerCase())&&e.includes(t.key.toLowerCase())&&(t.preventDefault(),tP.current?.focus())};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[eg]);let nK=(e=>{let[t,n]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(ex?.length&&"div"!==eS&&""!==eS){let t=e.current;if(!t)return;let r=new IntersectionObserver(([e])=>{n(e.isIntersecting)},{threshold:.5});return r.observe(t),()=>r.disconnect()}},[e]),t})(tP),nZ=()=>{tP.current&&t0({width:tP.current.getBoundingClientRect().width})};return(0,i.useEffect)(()=>{if(ex&&t$&&ex?.length&&"div"!==eS&&""!==eS){nZ();let e=()=>nZ();return window.addEventListener("scroll",e,!0),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e,!0),window.removeEventListener("resize",e)}}},[t$]),(0,i.useEffect)(()=>{let e=e=>{let t=tP.current,n=tI.current,r=e.target,i=t3.current,s=t4.current;t&&n&&!t.contains(r)&&!n.contains(r)&&tS(!1),i&&t1&&t&&!t.contains(r)&&!i.contains(r)&&t2(!1),s&&tw&&t&&!t.contains(r)&&!s.contains(r)&&tC(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[t1]),(0,r.jsx)(r.Fragment,{children:eh?(0,r.jsx)(p,{OnChange:M,OnBlur:E,PrefixIcon:F,Max:ei,Min:er,Required:m,SetValue:A,InputDisable:I}):(0,r.jsxs)("div",{className:`vg-input-control-group ${"Small"===ey?"vg-input-control-small":""} ${tg?"vg-blur-background":""}${!td?"isvalidate":""} ${np?"vg-input-native-pro":""} ${e7?"vg-input-native-pro-always":""} ${tt?"vg-input-truncate-on-overflow":""} ${tn?"vg-input-value-truncated-title":""} 2 ${""!==tr||""!==ti?"vg-controlwidth-textbox":""}`,style:{"--control-left-width":tr||void 0,"--control-right-width":ti||void 0},children:[(0,r.jsxs)("div",{className:"vg-segment-label",children:[e?.length>0&&(0,r.jsxs)("label",{className:"vg-input-label",children:[e,R&&m?(0,r.jsx)("span",{className:"required-input-mark",children:"*"}):"",tv&&(0,r.jsx)("span",{className:"vg-add-required-svg",children:(0,r.jsx)(l.default,{TooltipText:eL?.FailedContactText||"",BeakPoint:"Down",BeakPosition:"Auto",Duration:0,ShowHover:!0,OnTooltipClose:()=>{},TooltipRender:"portal",FullWidth:!0,Html:!0,MaxWidth:eL?.TooltipMaxWidth,Children:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"var(--text_alert_default)",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M15.3242 12.0918C15.793 12.9121 15.207 13.9375 14.2402 13.9375H1.73047C0.763672 13.9375 0.177734 12.9121 0.646484 12.0918L6.91602 1.42773C7.38477 0.607422 8.58594 0.607422 9.08398 1.42773L15.3242 12.0918ZM7.29688 4.79688V8.54688C7.29688 8.95703 7.64844 9.25 8 9.25C8.38086 9.25 8.70312 8.95703 8.70312 8.54688V4.79688C8.70312 4.41602 8.38086 4.09375 8 4.09375C7.58984 4.09375 7.29688 4.41602 7.29688 4.79688ZM8 12.0625C8.49805 12.0625 8.9082 11.6523 8.9082 11.1543C8.9082 10.6562 8.49805 10.2461 8 10.2461C7.47266 10.2461 7.0625 10.6562 7.0625 11.1543C7.0625 11.6523 7.47266 12.0625 8 12.0625Z"})})})})})]}),j&&""!==j&&(0,r.jsx)("span",{className:"vg-lbl-infochip",children:(0,r.jsx)(l.default,{BeakPoint:"Up",BeakPosition:X,ScreenTitleForMobile:ea,Children:(0,r.jsx)("div",{className:"vg-tooltiptext",children:(0,r.jsx)(a.default,{name:"info_circle"})}),TextAlign:"center",TooltipText:j,TooltipRender:"portal",Html:!0})})]}),(0,r.jsxs)("div",{className:`vg-input-container ${eI?"vg-input-control-border-radius-large":""} ${eM?"vg-input-control-gradient-border":""} ${eE?"vg-input-control-default-height":""} ${ek?"vg-input-control-border-none":""} ${ed?"vg-input-mobile":""} ${x?"vg-url-section":""}
2 ${"SearchInputControl"===h?"search-input-prefix-space":""} ${h&&"none"!==h&&!("CustomMsgPrefix"===h&&!F)?"vg-icon-prefix-space":""} ${"CustomMsgPrefix"===h&&F&&!np?"vg-has-prefix":""} ${nD?"vg-has-suffix":""} ${eT?" vg-icon-dark":""}`,"data-index":0,style:(()=>{if(!tz||"none"===J)return{};let e=nN.current,t=(e?.offsetWidth||0)+4,n=I&&""!==_&&A;return np&&n?{paddingRight:`${t+10}px`}:np?{paddingRight:`${t}px`}:{}})(),children:[x&&(0,r.jsx)("span",{className:"vg-input-url-prefix",children:x}),"$"===h&&(0,r.jsx)("span",{className:"vg-input-control-prefix",ref:nS,children:"$"}),"CustomMsgPrefix"===h&&(0,r.jsx)("span",{className:"vg-input-control-prefix",ref:nS,children:F}),"isIconBody"===h&&"isIconBody"!=J&&(0,r.jsx)("span",{className:"vg-input-control-prefix",ref:nS,children:q}),"hrs"===J&&(0,r.jsx)("span",{className:"vg-input-control-postfix",ref:nN,children:"hrs"}),"CustomMsgSuffix"===J&&(0,r.jsx)("span",{className:"vg-input-control-postfix",ref:nN,children:ex?.length?!ex?.some(e=>e.value===tc)&&_:_}),"fileExtension"===J&&(0,r.jsx)("span",{className:"vg-input-control-postfix vg-file-extension-suffix",ref:nN,onClick:e=>{e.stopPropagation(),K&&K(e)},children:W||".jpeg"}),"isIconBody"===J&&"isIconBody"!=h&&(0,r.jsx)("span",{className:"vg-input-control-postfix",ref:nN,children:q}),"SearchInputControl"===h&&(0,r.jsx)("span",{className:"vg-input-control-prefix vg-search-input-control",ref:nS,children:(0,r.jsx)(a.default,{name:"search"})}),["visa","mastercard","discover","americanexpress"].includes(h)&&(0,r.jsx)("span",{className:`vg-input-control-prefix vg-search-input-control vg-prefix-card ${h}`,ref:nS}),th?.position==="prefix"&&!h&&(0,r.jsx)("span",{className:"vg-input-control-prefix",ref:nS,children:th?.label}),h&&"none"!==h&&"gap"!==h&&"SearchInputControl"!==h&&"$"!==h&&"ClearSearch"!==h&&"CustomMsgPrefix"!==h&&"CustomMsgSuffix"!==h&&"isIconBody"!==h&&"visa"!==h&&"mastercard"!==h&&"discover"!==h&&"americanexpress"!==h&&th?.position!=="prefix"&&"isIconBody"!=J&&(0,r.jsx)("span",{className:"vg-input-control-prefix vg-icon-input-control vg-input-login-icon",ref:nS,children:(0,r.jsx)(a.default,{name:"email"===h?"email":"lock"})}),h&&"gap"===h&&(0,r.jsx)("span",{className:"vg-input-control-prefix vg-icon-input-control",ref:nS,children:(0,r.jsx)("span",{className:"vg-input-gap-resIsymbol",children:"G"})}),"ClearSearch"===J&&tA&&""!==tc&&(0,r.jsx)("span",{className:"vg-input-control-postfix vg-search-input-control ClearSearchInputControl",onClick:e=>{K&&(tu(""),tR(!1),K(e))},children:(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M0 8.00098C0 3.59473 3.5625 0.000976562 8 0.000976562C12.4062 0.000976562 16 3.59473 16 8.00098C16 12.4385 12.4062 16.001 8 16.001C3.5625 16.001 0 12.4385 0 8.00098ZM5.46875 6.53223L6.9375 8.00098L5.46875 9.46973C5.15625 9.78223 5.15625 10.251 5.46875 10.5322C5.75 10.8447 6.21875 10.8447 6.5 10.5322L7.96875 9.06348L9.46875 10.5322C9.75 10.8447 10.2188 10.8447 10.5 10.5322C10.8125 10.251 10.8125 9.78223 10.5 9.46973L9.03125 8.00098L10.5 6.53223C10.8125 6.25098 10.8125 5.78223 10.5 5.46973C10.2188 5.18848 9.75 5.18848 9.46875 5.46973L7.96875 6.96973L6.5 5.46973C6.21875 5.18848 5.75 5.18848 5.46875 5.46973C5.15625 5.78223 5.15625 6.25098 5.46875 6.53223Z"})})}),"copy"===J&&(0,r.jsx)("span",{className:"vg-input-control-postfix vg-search-input-control vg-input-suffix",onClick:e=>{K&&K({target:{value:tc}})},children:(0,r.jsx)("svg",{fill:"var(--text_blue_default)",width:"800px",height:"800px",viewBox:"-32 0 512 512",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"})})}
2),"pencil"===J&&(0,r.jsx)("span",{className:"vg-input-control-postfix vg-search-input-control vg-input-suffix pencil-icon-suffix",onClick:e=>{K&&K({target:{value:tc}})},children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"var(--text_opacity_white)",children:(0,r.jsx)("path",{d:"M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z"})})}),"AiStar"===J&&(0,r.jsx)("span",{className:"vg-input-control-postfix vg-search-input-control vg-input-suffix vg-input-suffix-ai-star",onClick:e=>{K&&K({target:{value:tc}})},children:(0,r.jsxs)("svg",{width:"23",height:"24",viewBox:"0 0 23 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{width:"23",height:"24",rx:"11.5",fill:"url(#paint0_linear_5051_15553)"}),(0,r.jsx)("path",{d:"M4.74838 12.8643C4.74838 6.47421 12.2313 3.81125 16.5072 8.06918C21.3187 12.8604 16.5072 19.2536 11.6968 19.2536",stroke:"white",strokeWidth:"2.18182",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M7.94858 11.9312C8.30215 11.9312 8.69157 13.6035 9.55221 14.4608C10.4128 15.3181 11.9407 15.5714 11.9409 16.0581C11.9411 16.5449 10.3454 17.2683 9.55221 18.1879C8.75902 19.1076 8.30215 20.4995 7.94858 20.4995C7.59501 20.4995 7.13848 19.1076 6.34529 18.1879C5.5521 17.2683 3.94892 16.4131 4.00162 16.0581C4.05432 15.7032 5.48472 15.3181 6.34529 14.4608C7.20586 13.6035 7.59501 11.9312 7.94858 11.9312Z",fill:"white"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_5051_15553",x1:"9.81193",y1:"0.857143",x2:"22.1862",y2:"11.1383",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#415CF6"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#9F0CD4"})]})})]})}),th?.position==="suffix"&&!h&&!J&&(0,r.jsx)("span",{className:"vg-input-control-postfix vg-search-input-control vg-input-suffix ClearSearchInputControl",onClick:e=>{K&&K({target:{value:tc}})},children:th?.label}),eg&&!tL&&(0,r.jsx)("div",{className:"vg-window-icon",children:eg.split("+").map(e=>e.trim()).map((e,t)=>(0,r.jsx)("span",{children:["cmd","meta"].includes(e.toLowerCase())?"â":e},t))}),n&&tc.length>0&&(0,r.jsx)("span",{className:"vg-input-control-postfix vg-input-password-toggle",onClick:()=>{tD(!tB)},children:tB?(0,r.jsx)("svg",{width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:(0,r.jsx)("path",{d:"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"})}):(0,r.jsx)("svg",{width:"16",height:"16",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,r.jsx)("path",{d:"M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z"})})}),nA&&(0,r.jsx)("div",{className:"vg-input-ai-button-slot",style:{right:`${nV?nz+10:8}px`},children:(0,r.jsx)(f.default,{ButtonVariant:"AiWithIcon",ButtononClick:e=>(e=>{if("function"==typeof e5&&!1===e5(!0,e)){"function"==typeof e?.preventDefault&&e.preventDefault();return}if((!tc||0===tc.trim().length)&&!e4){ni(w||"In this instance, we need more details before Vera can generate text for you."),t9(!1);return}if(e8){ni(""),t9(!0),eD?.(e);return}ni(w||"In this instance, we need more details before Vera can generate text for you.")})(e),ButtononHover:()=>{},EditorHover:nt,children:"Button"})}),ec&&tq.length>0&&(0,r.jsx)("div",{className:"vg-input-words-wrapper",ref:tJ,children:tQ?(0,r.jsx)("div",{className:"vg-input-words-container",children:(0,r.jsxs)(u.RC,{spaceBetween:5,slidesPerView:"auto",direction:"horizontal",className:"vg-input-swiper",modules:[d.A],navigation:{enabled:tQ,prevEl:".swiper-button-prev",nextEl:".swiper-button-next",disabledClass:"disabled_swiper_button"},children:[tq.map((e,t)=>(0,r.jsx)(u.qr,{className:"vg-input-word-slide",children:(0,r.jsxs)("span",{className:"vg-input-word",children:[e,(0,r.jsx)("button",{type:"button",className:"vg-input-word-remove",onClick:()=>nj(t),children:(0,r.jsx)(a.default,{name:"cross"})})]})},t)),(0,r.jsx)("div",{className:"swiper-button-prev custom-nav-button",children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",width:16,children:(0,r.jsx)("path",{d:"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"})})}),(0,r.jsx)("div",{className:"swiper-button-next custom-nav-button",children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",width:16,children:(0,r.jsx)("path",{d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})})})]},tq.length)}):(0,r.jsx)("div",{className:"vg-input-words-static",children:tq.map((e,t)=>(0,r.jsxs)("span",{className:"vg-input-word",children:[e,(0,r.jsx)("button",{type:"button",className:"vg-input-word-remove",onClick:()=>nj(t),children:(0,r.jsx)(a.default,{name:"cross"})})]},t))})}),(ta=ex?.length?nc?(0,r.jsx)("textarea",{style:{backgroundColor:e$,...nk?{"--vg-input-padding-left":`${ny+13}px`}:{},...nW?{"--vg-input-padding-right":`${nq}px`}:{}},id:k,tabIndex:eC,placeholder:ec&&tq.length>0?"":t,value:tN?.isEdit!==!0&&tN?.value?tN?.label:tc,readOnly:!0,className:`vg-input-control 3 ${"Left"===eN?"text-left":""} 4 ${"Center"===eN?"text-center":""} 5 ${"Right"===eN?"text-right":""} 6 ${!(H&&tc)&&(tl||w&&!td&&!tL||!td&&!tL)||t8?"vg-input-control-error":""} 7 ${"CustomMsgPrefix"===h&&F||"$"===h||"SearchInputControl"
7===h||"gap"===h||"password"===h||"email"===h||"visa"===h||"mastercard"===h||"discover"===h||"americanexpress"===h||h&&"none"!==h&&!J?q?"vg-svg-icon vg-input-control-prefix-left-padding":"vg-input-control-prefix-left-padding":""} 8 ${"CustomMsgSuffix"===J&&_||"hrs"===J||"ClearSearch"===J||"fileExtension"===J||"AiStar"===J?"vg-input-control-suffix-right-padding":" "} 9 ${"blue"===y?"vg-input-control-focus":"green"===y?"vg-input-control-green":""} 10 ${x?"vg-input-control-url":""} 11 ${I?"vg-input-control-disabled cursor-not-allowed":""} 12 ${tv?"vg-failed-contact":""} 13 ${nk?"vg-input-padding-left-set":""} 14 ${nW?"vg-input-padding-right-set":""} 15 ${nc?"vg-input-control-autogrow-disabled":""} 16 `,ref:tV,disabled:I,name:V,autoFocus:!1,autoComplete:nu,onMouseEnter:()=>nn(!0),onMouseLeave:()=>nn(!1),rows:1,"aria-autocomplete":"none",autoCorrect:"off",spellCheck:!1}):(0,r.jsx)("input",{style:{backgroundColor:e$,...nk?{"--vg-input-padding-left":`${ny+13}px`}:{},...nW?{"--vg-input-padding-right":`${nq}px`}:{}},id:k,tabIndex:eC,type:tM?Y:"text",placeholder:ec&&tq.length>0?"":t,value:tN?.isEdit!==!0&&tN?.value?tN?.label:tc,readOnly:!tM,className:`vg-input-control 17 ${"Left"===eN?"text-left":""} 18 ${"Center"===eN?"text-center":""} 19 ${"Right"===eN?"text-right":""} 20 ${!(H&&tc)&&(tl||w&&!td&&!tL||!td&&!tL)||t8?"vg-input-control-error":""} 21 ${"CustomMsgPrefix"===h&&F||"$"===h||"SearchInputControl"===h||"gap"===h||"password"===h||"email"===h||"visa"===h||"mastercard"===h||"discover"===h||"americanexpress"===h||h&&"none"!==h&&!J?q?"vg-svg-icon vg-input-control-prefix-left-padding":"vg-input-control-prefix-left-padding":""} 22 ${"CustomMsgSuffix"===J&&_||"hrs"===J||"ClearSearch"===J||"fileExtension"===J||"AiStar"===J?"vg-input-control-suffix-right-padding":" "} 23 ${"blue"===y?"vg-input-control-focus":"green"===y?"vg-input-control-green":""} 24 ${x?"vg-input-control-url":""} 25 ${I?"vg-input-control-disabled cursor-not-allowed":""} 26 ${tv?"vg-failed-contact":""} 27 ${nk?"vg-input-padding-left-set":""} 28 ${nW?"vg-input-padding-right-set":""} 29 `,onClick:()=>tS(!t$),ref:ep||tP,disabled:I,onChange:e=>{nv(e)},onBlur:nh,name:V,onFocus:n$,autoFocus:H,autoComplete:nu,onKeyUp:nm,onKeyDown:e=>{nw(e)},step:"any",onPaste:nC,pattern:nd?void 0:$,inputMode:en,min:er,max:ei,onInput:nb,onMouseEnter:()=>nn(!0),onMouseLeave:()=>nn(!1),"aria-autocomplete":"none",autoCorrect:"off",spellCheck:!1}):nc?(0,r.jsx)("textarea",{style:{backgroundColor:e$,...nk?{"--vg-input-padding-left":`${ny+13}px`}:{},...nW?{"--vg-input-padding-right":`${nq}px`}:{}},id:k,tabIndex:eC,placeholder:ec&&tq.length>0?"":t,value:te?void 0:tc,className:`vg-input-control 30 ${"Left"===eN?"text-left":""} 31 ${"Center"===eN?"text-center":""} 32 ${"Right"===eN?"text-right":""} 33 ${tl||w&&!td&&!tL||!td&&!tL||t8?"vg-input-control-error":""} 34 ${"CustomMsgPrefix"===h&&F||"$"===h||"SearchInputControl"===h||"gap"===h||"password"===h||"email"===h||"visa"===h||"mastercard"===h||"discover"===h||"americanexpress"===h||th?.position==="prefix"||h&&"none"!==h&&!J?q?"vg-svg-icon vg-input-control-prefix-left-padding":"vg-input-control-prefix-left-padding":""} 35 ${"CustomMsgSuffix"===J&&_||"hrs"===J||"ClearSearch"===J||"fileExtension"===J||"AiStar"===J?"vg-input-control-suffix-right-padding":" "} 36 ${"blue"===y?"vg-input-control-focus":"green"===y?"vg-input-control-green":""} 37 ${x?"vg-input-control-url":""} 38 ${I?`vg-input-control-disabled ${"copy"!==J&&"cursor-not-allowed"}`:""} 39 ${tv?"vg-failed-contact":""} 40 ${nk?"vg-input-padding-left-set":""} 41 ${nW?"vg-input-padding-right-set":""} 42 ${nc?"vg-input-control-autogrow-disabled":""} 43 `,maxLength:v,name:V,ref:tV,disabled:I,autoFocus:!1,autoComplete:nu,onMouseEnter:()=>nn(!0),onMouseLeave:()=>nn(!1),rows:1,"aria-autocomplete":"none",autoCorrect:"off",spellCheck:!1}):(0,r.jsx)("input",{style:{backgroundColor:e$,...nk?{"--vg-input-padding-left":`${ny+13}px`}:{},...nW?{"--vg-input-padding-right":`${nq}px`}:{}},id:k,tabIndex:eC,type:n?tB?"text":"password":Y,placeholder:ec&&tq.length>0?"":t,value:te?void 0:tc,className:`vg-input-control 44 ${"Left"===eN?"text-left":""} 45 ${"Center"===eN?"text-center":""} 46 ${"Right"===eN?"text-right":""} 47 ${tl||w&&!td&&!tL||!td&&!tL||t8?"vg-input-control-error":""} 48 ${"CustomMsgPrefix"===h&&F||"$"===h||"SearchInputControl"
48===h||"gap"===h||"password"===h||"email"===h||"visa"===h||"mastercard"===h||"discover"===h||"americanexpress"===h||th?.position==="prefix"||h&&"none"!==h&&!J?q?"vg-svg-icon vg-input-control-prefix-left-padding":"vg-input-control-prefix-left-padding":""} 49 ${"CustomMsgSuffix"===J&&_||"hrs"===J||"ClearSearch"===J||"fileExtension"===J||"AiStar"===J?"vg-input-control-suffix-right-padding":" "} 50 ${"blue"===y?"vg-input-control-focus":"green"===y?"vg-input-control-green":""} 51 ${x?"vg-input-control-url":""} 52 ${I?`vg-input-control-disabled ${"copy"!==J&&"cursor-not-allowed"}`:""} 53 ${tv?"vg-failed-contact":""} 54 ${nk?"vg-input-padding-left-set":""} 55 ${nW?"vg-input-padding-right-set":""} 56 `,maxLength:v,onChange:e=>{nv(e)},onBlur:nh,name:V,onFocus:n$,autoFocus:H,autoComplete:nu,onKeyUp:nm,ref:ep||tP,disabled:I,onKeyDown:e=>{nw(e)},step:"any",onPaste:nC,pattern:nd?void 0:$,inputMode:en,min:er,max:ei,onInput:nb,onMouseEnter:()=>nn(!0),onMouseLeave:()=>nn(!1),"aria-autocomplete":"none",autoCorrect:"off",spellCheck:!1}),""!==eb?(0,r.jsx)("div",{className:"vg-input-tooltip-text ",children:(0,r.jsx)(l.default,{BeakPoint:"Up",BeakPosition:X,Children:(0,r.jsx)("div",{id:"notblockeventdiv",children:ta}),Duration:0,OnTooltipClose:()=>{},ScreenTitleForMobile:"",ShowHover:!0,TextAlign:"center",FullWidth:!0,TooltipText:eb,TooltipRender:"portal"})}):ta),ej?.length&&tw?(0,r.jsx)("div",{ref:t4,className:"input-toggle-list",children:(0,r.jsx)("div",{className:"input-toggle",children:ej.map((e,t)=>(0,r.jsx)("span",{className:`toggle-btn ${th.value===e.value?"active":""}`,onClick:()=>{let n;tm(n={...e,selected:!0,position:0===t?"prefix":"suffix"}),K&&K({target:{value:n}})},children:e.label}))})}):null]}),(!td&&!tL&&!tc||t8)&&!tL&&t_&&(0,r.jsx)("span",{className:"vg-input-control-error-msg",children:w||"required"}),tl&&t_&&!td&&""!==tc&&null!=tc&&(w||S||n||eV&&eV.length>0)&&(0,r.jsx)("span",{className:"vg-input-control-error-msg",children:tl}),C&&(0,r.jsx)("div",{className:"vg-input-text",children:C}),t6&&t7&&(0,r.jsx)(t7,{ApiRequestParams:e2,ApiUrl:e1,AiPopupSetValue:nH,InitialPayloadMessage:e4?e9?.InputDescription??A??"":tc??"",setSubmit:no,isSubmit:nl,AiControlId:e_,CloseBackTitle:"From Control",Footer:2,Name:"",NativeAction:13,OnChangeRange:(e,t)=>eJ?.(e,t),OnChangeTone:(e,t)=>eQ?.(e,t),OnClickClose:e=>{t9(!1),eK?.(e)},OnClickCancle:e=>{t9(!1),eU?.(e)},OnPopupStateChange:eZ,OnClickNext:(e,t)=>eX?.(e,t),OnClickPrevious:(e,t)=>eY?.(e,t),OnClickRegenerate:(e,t)=>{e0?.(e,t)},OnClickUseThisText:(e,t)=>{let n,r,i,s,a,l,o;return r=(n=(t?.InputDescription??"").toString()).replace(/\r?\n|\r/g," "),i=t?.Tone??eH?.[0]?.value??"professional",s="number"==typeof t?.Range?t.Range:50,a=t?.rangeLabel||(s>=45&&s<=55?"similar":s<45?"shorter":"longer"),l=r.replace(/<[^>]*>/g,"").trim(),o={...t,InputDescription:r,Tone:i,Range:s,rangeLabel:a,plain:l,html:n,source:"VgInput"},void(t9(!1),ni(""),tu(r),tR(""!==r),t5(!1),tx(!1),to(""),tp(!0),eu?.(!0,""),M&&M({target:{value:r,id:k,name:V}}),eG?.(e,o),tP.current?.focus())},ToolbarRawData:eF,TimerCount:0,CharacterCountEnable:eW,MaximumLength:eq,ToneMetadata:eH,VagaroToolkit:1,ExternalPayload:e3,IsOldAIAPICall:e6}),x&&(0,r.jsxs)("span",{className:"vg-input-url-preview",children:["none"!=O?O:"",x,tc.toLowerCase()]}),N?.length&&tg&&(0,r.jsx)(s.default,{Duration:T[0]?.Duration,NotificationTitle:T[0]?.NotificationTitle,types:T[0].types,UsePortal:!0}),B&&tb&&(0,r.jsx)("div",{onPointerDown:e=>{e.preventDefault(),tT(!0),tu(z),tj(!tb),K&&K(e),E&&E({target:{value:z}}),G&&G(e)},children:(0,r.jsx)("span",{className:`downtooltip ${"Small"===ey?"small":""}`,children:(0,r.jsx)("span",{children:D})})}),ex?.length&&t$?(0,r.jsx)(r.Fragment,{children:"div"===eS||""===eS?(0,r.jsx)("div",{children:(0,r.jsx)("span",{ref:tI,className:`downtooltip vg-dropdown-input ${"Small"===ey?"small":""}`,children:ex?.map((e,t)=>(0,r.jsx)("span",{onClick:()=>{let t=e.isEdit,n=t?"0.00":e.value;ty(e),tE(t),tu(n),tS(!1),tO(!0),setTimeout(()=>{t&&tP.current?.focus()},0),M&&M({target:{value:t?"0.00":e.value}})},className:"vg-dropdown-input-option",children:e.label},e.value))})}):(0,r.jsx)(c.A,{inputRef:tP,wrapperElement:"div",wrapperElementId:"wrapperOptionID",children:(0,r.jsx)("div",{ref:tI,className:`downtooltip vg-dropdown-input ${"Small"===ey?"small":""}`,style:{zIndex:99,width:tY.width,...!nK&&{visibility:"hidden"}},children:ex?.map((e,t)=>(0,r.jsx)("span",{onClick:()=>{let t=e.isEdit,n=t?"0.00":e.value;ty(e),tE(t),tu(n),tS(!1),tO(!0),setTimeout(()=>{t&&tP.current?.focus()},0),M&&M({target:{value:t?"0.00":e.value}})},className:"vg-dropdown-input-option",children:e.label},e.value))})})}):null,em&&t1&&(0,r.jsxs)("span",{ref:t3,className:"vg-input-arrow-btn",onClick:()=>void(t2(!1),ew?.(k,tc)),children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"
56currentColor",className:"vg-input-arrow-up",children:(0,r.jsx)("path",{d:"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"})}),(0,r.jsx)("span",{children:"Copy"}),(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",className:"vg-input-arrow-down",children:(0,r.jsx)("path",{d:"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"})})]}),nr&&(0,r.jsx)("div",{className:"info-ai-text",children:nr})]})})})}}]);
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.