1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[13777],{21535:(e,t,a)=>{a.d(t,{Qg:()=>i,bL:()=>d});var l=a(81626),s=a(55039),r=a(56658),i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),n=l.forwardRef((e,t)=>(0,r.jsx)(s.sG.span,{...e,ref:t,style:{...i,...e.style}}));n.displayName="VisuallyHidden";var d=n},54479:(e,t,a)=>{a.r(t),a.d(t,{default:()=>n});var l=a(56658),s=a(70789),r=a(58055);let i=[{text:"Salary",value:"salary"},{text:"Pension",value:"pension"},{text:"Allowance",value:"allowance"},{text:"Commission",value:"commission"},{text:"Donation",value:"donation"},{text:"Other Business",value:"other"}].sort((e,t)=>{let a=e.text.localeCompare(t.text,void 0,{sensitivity:"base"});return 0!==a?a:e.value.localeCompare(t.value,void 0,{sensitivity:"base"})});function n(){let e=(0,s.xW)(),t="ownerInformation.sourceOfFunds",a=e.getFieldState(t,e.formState).error;return(0,l.jsx)(s.xI,{name:t,control:e.control,render:e=>{let{field:t}=e;return(0,l.jsx)(r.Select,{id:"personal-source",placeholder:"Select",value:t.value,onValueChange:t.onChange,invalid:!!a,className:"w-full",children:i.map(e=>(0,l.jsx)(r.Select.Option,{value:e.value,children:e.text},e.value))})}})}},58055:(e,t,a)=>{a.r(t),a.d(t,{Select:()=>m});var l=a(56658),s=a(81626),r=a(56917),i=a(39871),n=a(23083);let d=s.createContext("md");function o(e){return(0,l.jsx)(r.bL,{"data-slot":"select",...e})}function c(e){return(0,l.jsx)(r.WT,{"data-slot":"select-value",...e})}function x(e){let{className:t,size:a="md",children:s,...d}=e,o=r.l9,c=r.In;return(0,l.jsxs)(o,{"data-slot":"select-trigger","data-size":a,className:(0,n.cn)("flex h-[44px] w-fit cursor-pointer items-center justify-between gap-2 rounded-md border border-neutral-200 bg-white p-4 text-body-2 whitespace-nowrap outline-none","hover:border-neutral-400 focus-visible:shadow-[0px_0px_0px_2px_theme(colors.white),0px_0px_0px_4px_theme(colors.emerald-a50)] disabled:cursor-not-allowed disabled:border-neutral-a75 disabled:text-neutral-a200 aria-invalid:border-red-700 aria-invalid:bg-red-a50 aria-invalid:focus-visible:shadow-[0px_0px_0px_2px_theme(colors.white),0px_0px_0px_4px_theme(colors.red-a50)] aria-invalid:disabled:text-black disabled:data-[placeholder]:text-neutral-a100 disabled:[&_svg]:text-neutral-a100 aria-invalid:disabled:[&_svg]:text-neutral-a100","data-[placeholder]:text-neutral-300 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 data-[state=open]:border-green-600 data-[state=open]:aria-invalid:bg-white","[&_svg]:pointer-events-none [&_svg]:size-5 [&_svg]:shrink-0 [&_svg]:text-neutral-600","data-[size=sm]:h-[38px] data-[size=sm]:text-body-3","data-[size=lg]:h-[56px] data-[size=lg]:p-5 data-[size=lg]:text-body-1 data-[size=lg]:[&_svg]:size-[20px]",t),...d,children:[s,(0,l.jsx)(c,{asChild:!0,children:(0,l.jsx)(i.RiArrowDropDownLine,{})})]})}function p(e){let{children:t,position:a="popper",...s}=e,i=r.UC,d=r.LM;return(0,l.jsx)(r.ZL,{children:(0,l.jsxs)(i,{"data-slot":"select-content",className:(0,n.cn)("relative z-70 max-h-(--radix-select-content-available-height) w-full min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg border border-neutral-200 bg-popover text-neutral-700 shadow-[0_2px_4px_-1px_rgba(0,0,0,0.06),_0px_4px_6px_-1px_rgba(0,0,0,0.1)]","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95","popper"===a&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1"),position:a,...s,children:[(0,l.jsx)(u,{}),(0,l.jsx)(d,{className:(0,n.cn)("p-2","popper"===a&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:t}),(0,l.jsx)(h,{})]})})}function u(e){let{className:t,...a}=e,s=r.PP;return(0,l.jsx)(s,{"data-slot":"select-scroll-up-button",className:(0,n.cn)("flex cursor-default items-center justify-center py-[6px]",t),...a,children:(0,l.jsx)(i.RiArrowUpSLine,{className:"h-4 w-4"})})}function h(e){let{className:t,...a}=e,s=r.wn;return(0,l.jsx)(s,{"data-slot":"select-scroll-down-button",className:(0,n.cn)("flex cursor-default items-center justify-center py-[6px]",t),...a,children:(0,l.jsx)(i.RiArrowDownSLine,{className:"h-4 w-4"})})}function m(e){let{children:t,className:a,defaultValue:s,disabled:r,id:i,invalid:u,name:h,onValueChange:m,placeholder:v,required:f,size:b="md",value:g}=e;return(0,l.jsx)("div",{className:(0,n.cn)("relative",a),children:(0,l.jsx)(d,{value:b,children:(0,l.jsxs)(o,{defaultValue:s,disabled:r,name:h,onValueChange:m,required:f,value:g,children:[(0,l.jsx)(x,{"aria-invalid":u,className:a,id:i,size:b,children:(0,l.jsx)(c,{placeholder:v})}),(0,l.jsx)(p,{children:t})]})})})}m.Option=function(e){let{className:t,children:a,disabled:o,value:c}=e,x=s.useContext(d),p=r.q7;return(0,l.jsxs)(p,{"data-slot":"select-item","data-size":x,className:(0,n.cn)("relative grid w-full cursor-pointer grid-cols-[20px_1fr] items-center gap-2 rounded-xs px-3 py-2 text-body-2 outline-hidden select-none focus:bg-emerald-100 focus:text-black","data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 data-[state=checked]:text-emerald-700","[&_svg]:pointer-events-none [&_svg]:size-[20px] [&_svg]:shrink-0 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2","data-[size=lg]:text-body-1",t),disabled:o,value:c,children:[(0,l.jsx)("span",{className:"flex items-center justify-center",children:(0,l.jsx)(r.VF,{children:(0,l.jsx)(i.RiCheckFill,{className:"opacity-50"})})}),(0,l.jsx)(r.p4,{children:a})]})}}}]); 2//# sourceMappingURL=13777.0238cf9f49d39b89.js.map
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.