1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="995f4d42-8c84-5126-a89c-f2da91164a60")}catch(e){}}(); 3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="2467c089-519a-479c-89c6-4ca0166dac1f",e._sentryDebugIdIdentifier="sentry-dbid-2467c089-519a-479c-89c6-4ca0166dac1f")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6040],{56040:function(e,r,a){a.d(r,{XZ:function(){return d},oF:function(){return x},Lt:function(){return p},gb:function(){return u.g},Y8:function(){return b},rs:function(){return m},nv:function(){return f}});var t=a(48170),l=a(47029),n=a(57596),s=a(21581);function d(e){let{id:r,checkboxSize:a,registeredField:d,customOnChange:o,children:i,disabled:c=!1,isSelectedAll:u=!1,checked:x,className:h}=e,p=null==d?void 0:d.onChange;return(0,t.jsxs)("label",{htmlFor:r,className:(0,s.cn)("flex w-fit grow items-center gap-2",{"cursor-pointer":!c,"cursor-default":c,"p-px":"large"===a},h),"data-sentry-component":"Checkbox","data-sentry-source-file":"checkbox.tsx",children:[(0,t.jsxs)("div",{className:(0,s.cn)("relative flex items-center justify-center p-px",{"h-5.5 w-5.5 min-w-[22px]":"large"===a,"h-5 w-5 min-w-[20px]":"large"!==a}),children:[(0,t.jsx)("input",{...void 0!==x?{checked:x}:{},type:"checkbox",id:r,className:(0,s.cn)("peer/checkbox h-full w-full cursor-pointer appearance-none rounded-md border-text-mediumGray outline-none transition-all checked:border-primary-main enabled:hover:border-text-darkGray enabled:checked:hover:border-primary-shade-400 disabled:cursor-default disabled:border-text-lightGray disabled:checked:border-primary-shade-200 peer-checked/checkbox:hidden",{"!border-primary-main hover:!border-primary-shade-400 disabled:!border-primary-shade-800":u,"border-2":"large"===a,border:"large"!==a}),...d,onChange:e=>{p&&p(e),o&&o(e)},disabled:c}),!u&&(0,t.jsx)(n.CD,{className:(0,s.cn)("absolute hidden text-primary-main transition-all hover:text-primary-shade-400 peer-checked/checkbox:flex peer-disabled/checkbox:text-primary-shade-200",{"h-6 w-6":"large"===a,"h-5 w-5":"large"!==a})}),u&&(0,t.jsx)(l.UrD,{className:(0,s.cn)("absolute text-primary-main transition-all peer-hover/checkbox:text-primary-shade-400 peer-disabled/checkbox:text-primary-shade-800",{"h-4 w-4":"large"===a,"h-3 w-3":"large"!==a})})]}),"string"==typeof i?(0,t.jsx)("span",{className:"text-body-14 text-text-black lg:text-body-16",children:i}):i]})}var o=a(46559),i=a(51227),c=a(89686),u=a(59352);function x(e){let{defaultState:r,items:a,title:l,onChange:d,disabled:x=!1,isLoading:h=!1,placeholder:p="Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯",optionListPosition:b,size:m="large",inlineMessage:g,spaceBottomStyle:f,className:y,blurInputAfterSelect:w}=e,v=(0,o.useRef)(null),[k,j]=(0,o.useState)(r||null),[N,C]=(0,o.useState)(""),G=h&&!x;(0,o.useEffect)(()=>{j(r||null)},[r]);let I=""===N?a:a.filter(e=>e.label.toLowerCase().includes(N.toLowerCase())),D=x?"text-text-lightGray":"text-text-black";return(0,t.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-1 text-body-14 lg:text-body-16",y),"data-sentry-component":"ComboboxDropdown","data-sentry-source-file":"combobox-dropdown.tsx",children:[l&&(0,t.jsx)("span",{children:l}),G&&(0,t.jsx)("div",{className:"h-[42px] w-full animate-pulse rounded bg-gray-200"}),!G&&(0,t.jsx)(i.hQ,{immediate:!0,as:"div",value:k,onChange:e=>{var r;!x&&(w&&(null===(r=v.current)||void 0===r||r.blur()),j(e),d&&d(null!=e?e:void 0))},disabled:x,onClose:()=>C(""),children:e=>{let{open:r}=e;return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("div",{className:(0,s.cn)("flex w-full items-center justify-between gap-2 rounded border px-2 outline-none","large"===m?"py-[9px]":"py-[7px]",(null==g?void 0:g.type)==="error"?"border-alert-error-dark focus-within:border-alert-error-dark":r?"border-border-pink":"border-border-gray-medium",{"bg-surface-solid-50":x,"bg-surface-solid-0 focus-within:border-border-pink":(null==g?void 0:g.type)!=="error"&&!x}),children:[(0,t.jsx)(i.gA,{className:(0,s.cn)("w-[inherit] outline-none",D),displayValue:e=>(null==e?void 0:e.label)||"",onChange:e=>C(e.target.value),placeholder:p,ref:v}),(0,t.jsx)(i.Q$,{children:(0,t.jsx)(n.P3,{className:(0,s.cn)("h-6 w-6 transform transition-all duration-200",D)})})]}),(0,t.jsx)(c.u,{as:"div",enter:"transition duration-100 ease-out",enterFrom:"transform scale-95 opacity-0",enterTo:"transform scale-100 opacity-100",leave:"transition duration-75 ease-out",leaveFrom:"transform scale-100 opacity-100",leaveTo:"transform scale-95 opacity-0",children:(0,t.jsx)("div",{className:(0,s.cn)("absolute z-20 mt-0 w-full rounded border border-border-pink bg-white py-0.5 pl-1 shadow-sm lg:py-1","up"===b?"bottom-[
3110%]":"top-[110%]"),children:I.length?(0,t.jsx)(i.L5,{className:(0,s.cn)("cursor-pointer list-none overflow-auto leading-9 focus:outline-none",I.length>=3&&"max-h-[130px]"),children:I.map(e=>(0,t.jsx)(i.O2,{value:e,as:"div",children:r=>{let{focus:a,selected:l}=r;return(0,t.jsx)("li",{className:(0,s.cn)(a&&"duration-400 bg-gray-100 transition-all ease-in-out"),children:(0,t.jsx)("span",{className:(0,s.cn)(l&&"font-medium","px-4 py-1 text-text-black"),children:e.label})})}},e.value))}):(0,t.jsx)("span",{className:"inline-block w-full px-4 py-1.5 text-body-14 text-text-black lg:py-2 lg:text-body-16",children:"Ù ÙØ±Ø¯Û ÛØ§Ùت ÙØ´Ø¯."})})})]})}}),(null==g?void 0:g.message)?(0,t.jsx)(u.g,{...g}):(0,t.jsx)("div",{className:(0,s.cn)("h-5 w-full",f)})]})}var h=a(70801);function p(e){let{defaultState:r,items:a,title:l,onChange:d,disabled:i=!1,isLoading:c=!1,placeholder:x="Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯",size:p="large",inlineMessage:b,spaceBottomStyle:m,className:g}=e,[f,y]=(0,o.useState)(r||null),w=c&&!i;return(0,o.useEffect)(()=>{y(r||null)},[r]),(0,t.jsxs)("div",{className:(0,s.cn)("flex flex-col gap-1","large"===p?"text-body-14 lg:text-body-16":"text-body-14",g),"data-sentry-component":"Dropdown","data-sentry-source-file":"dropdown.tsx",children:[l&&(0,t.jsx)("span",{children:l}),w&&(0,t.jsx)("div",{className:"h-[42px] w-full animate-pulse rounded bg-gray-200"}),!w&&(0,t.jsx)(h.Ri,{disabled:i,value:f,onChange:e=>{!i&&(y(e),d&&d(e))},children:e=>{let{open:r}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h.Y4,{className:(0,s.cn)("flex w-full items-center justify-between gap-2 rounded border px-2 outline-none","large"===p?"py-[9px]":"py-[7px]",(null==b?void 0:b.type)==="error"?"border-alert-error-dark focus-within:border-alert-error-dark":r?"border-border-pink":"border-border-gray-medium",{"bg-surface-solid-50":i,"bg-surface-solid-0 focus-within:border-border-pink":(null==b?void 0:b.type)!=="error"&&!i}),children:[(0,t.jsx)("span",{className:(0,s.cn)("block truncate","large"===p?"text-sm lg:text-base":"text-caption-12",i?"text-text-lightGray":(null==f?void 0:f.value)?"text-text-black":"text-text-mediumGray"),children:(null==f?void 0:f.label)||x}),(0,t.jsx)(n.P3,{className:(0,s.cn)("h-6 w-6 transform transition-all duration-200",i?"text-text-lightGray":"text-text-mediumGray")})]}),(0,t.jsx)(h.O_,{anchor:{gap:"4px"},transition:!0,className:(0,s.cn)("w-[var(--button-width)] cursor-pointer list-none overflow-auto rounded border border-border-pink bg-white py-0.5 pl-1 shadow-sm focus:outline-none","large"===p?"leading-9":"text-caption-12",a.length>=3&&"!max-h-[130px]"),children:a.map(e=>(0,t.jsx)(h.wt,{value:e,as:"div",children:r=>{let{focus:a,selected:l}=r;return(0,t.jsx)("li",{className:(0,s.cn)(a&&"duration-400 bg-gray-100 transition-all ease-in-out"),children:(0,t.jsx)("span",{className:(0,s.cn)("text-text-black",l&&"font-medium","large"===p?"px-4 py-1":"block p-2"),children:e.label})})}},e.value))})]})}}),(null==b?void 0:b.message)?(0,t.jsx)(u.g,{...b}):(0,t.jsx)("div",{className:(0,s.cn)("h-5 w-full",m)})]})}function b(e){let{children:r,name:a,defaultChecked:l,value:n,onClick:d,disabled:o,className:i,size:c,onChange:u}=e;return(0,t.jsxs)("label",{className:(0,s.cn)("flex w-fit gap-2",{"text-text-mediumGray":o},{"cursor-pointer":!o},i),onClick:()=>d&&d(n),"data-sentry-component":"Radio","data-sentry-source-file":"radio.tsx",children:[(0,t.jsxs)("div",{className:(0,s.cn)("relative flex shrink-0 items-center justify-center",{"h-6 w-6 p-px":"large"===c,"h-4.5 w-4.5":"large"!==c}),children:[(0,t.jsx)("input",{type:"radio",name:a,value:n,disabled:o,className:(0,s.cn)("peer z-10 h-full w-full appearance-none rounded-full border-2 border-text-mediumGray transition-all checked:border-primary-main enabled:cursor-pointer enabled:checked:!border-primary-main enabled:hover:border-text-darkGray disabled:border-text-lightGray disabled:checked:border-primary-shade-200 lg:enabled:checked:hover:!border-primary-shade-400"),defaultChecked:l,onChange:()=>u&&u()}),(0,t.jsx)("div",{className:(0,s.cn)("absolute hidden cursor-pointer rounded-full bg-primary-main transition-all peer-checked:flex peer-disabled:bg-primary-shade-200 lg:peer-enabled:peer-hover:peer-checked:bg-primary-shade-400",{"h-3.5 w-3.5":"large"===c,"h-2.5 w-2.5":"large"!==c})})]}),r]})}function m(e){let{children:r,name:a,customOnChange:l,className:d,size:o,disabled:i,isChecked:c}=e,u=e=>{l&&l(e)};return(0,t.jsxs)("label",{className:(0,s.cn)("relative flex w-fit cursor-pointer flex-row items-center justify-between gap-2",d),"data-sentry-component":"Switch","data-sentry-source-file":"switch.tsx",children:["string"==typeof r?(0,t.jsx)("span",{className:"text-body-14 text-text-black lg:text-body-16",children:r}):r,(0,t.jsxs)("div",{className:(0,s.cn)("relative box-content px-px",{"h-4 w-9.5":"large"===o,"h-3 w-7.5":"large"!==o}),children:[(0,t.jsx)("input",{type:"checkbox",onChange:e=>u(e.target.checked),name:a,className:"peer hidden",disabled:i,...void 0!==c?{checked:c}:{}}),(0,t.jsxs)("span",{className:(0,s.cn)("absolute -top-0.5 left-0 box-content flex items-center justify-center rounded-full bg-gray-100 text-gray-300 shadow-sm transition-all duration-500 ease-in-out peer-checked:text-primary-main peer-disabled:peer-checked:text-primary-shade-300","peer-disabled:text-gray-200 peer-checked:[&>.close]:hidden peer-checked:[&>.tick]:flex",{"h-5 w-5 peer-checked:left-5":"large"===o,"h-4 w-4 peer-checked:left-4":"large"!==o}),children:[(0,t.jsx)(n.CD,{className:"tick hidden h-4 w-4","data-sentry-element":"IconTick","data-sentry-source-file":"switch.tsx"}),(0,t.jsx)(n.bM,{className:(0,s.cn)("close",{"h-4 w-4":"large"===o,"h-3 w-3":"large"!==o}),"data-sentry-element":"IconClose","data-sentry-source-file":"switch.tsx"})]}),(0,t.jsx)("span",{className:"block h-full w-full overflow-hidden rounded-full bg-gray-300 transition-all duration-500 ease-in-out peer-checked:bg-primary-main peer-disabled:bg-gray-200 peer-disabled:peer-checked:bg-primary-shade-300"})]})]})}var g=a(94927);let f=e=>{let{title:r,tooltip:a,inputSize:n,direction:d="rtl",inlineMessage:o,rightIcon:i,leftIcon:c,secondLeftIcon:x,id:h,placeholder:p,disabled:b=!1,isTextArea:m=!1,registeredField:f,className:y,fillInlineMessageSpace:w=!1,onChange:v,autoComplete:k="off",value:j,onBlur:N,spaceBottomStyle:C,onKeyDown:G,defaultValue:I,required:D,tabIndex:F,autoFocus:_,type:E="text",inputMode:L,normalize:T,maxLength:U,isLoading:S,inputClassName:M}=e,R={...f,onChange:e=>{T&&(e.target.value=T(e.target.value)),null==f||f.onChange(e),null==v||v(e)}},V=void 0!==a;return(0,t.jsxs)("div",{className:(0,s.cn)("relative flex flex-col gap-1 text-body-14 lg:text-body-16",y),"data-sentry-component":"TextField","data-sentry-source-file":"text-field.tsx",children:[!!r&&(0,t.jsxs)("label",{htmlFor:h,className:V?"relative flex items-center gap-1":"",children:[r," ",V&&(0,t.jsx)(g.Z,{className:(0,s.cn)("h-fit w-full",a.className),position:"top",tooltipText:a.title,hasIcon:!0,children:(0,t.jsx)(l.Us8,{className:"h-5 w-5 text-alert-info-dark"})})]}),S?(0,t.jsx)("div",{className:"h-11 w-full animate-pulse rounded bg-gray-100"}):(0,t.jsxs)("div",{className:(0,s.cn)("flex items-center gap-2 [&>svg]:w-6 [&>svg]:shrink-0","rounded border",{"px-2 py-[9px]":"large"===n,"px-2 py-[7px]":"large"!==n,"border-border-gray-medium bg-surface-solid-50 text-text-mediumGray [&>svg]:text-text-lightGray":b,"border-border-gray-medium bg-surface-solid-0 focus-within:border-border-pink [&>svg]:text-text-darkGray":(null==o?void 0:o.message)&&(null==o?void 0:o.type)!=="error"&&!b,"border-alert-error-dark focus-within:border-alert-error-dark":(null==o?void 0:o.message)&&(null==o?void 0:o.type)==="error"},M),children:[i,m?(0,t.jsx)("textarea",{id:h,className:"disabled:placeholder-text-lighGray w-full overflow-hidden bg-transparent focus-within:outline-none enabled:placeholder-text-mediumGray disabled:bg-transparent",dir:d,placeholder:p,disabled:b,defaultValue:I,rows:3,required:D,tabIndex:F,autoFocus:_,...f}):(0,t.jsx)("input",{type:E,id:h,value:j,className:"disabled:placeholder-text-lighGray w-full overflow-hidden bg-transparent focus-within:outline-none enabled:placeholder-text-mediumGray disabled:bg-transparent",dir:d,placeholder:p,disabled:b,onBlur:N,onKeyDown:G,autoComplete:k,defaultValue:I,required:D,tabIndex:F,autoFocus:_,inputMode:L,maxLength:U,...R}),x,c]}),(null==o?void 0:o.message)?(0,t.jsx)(u.g,{...o}):!w&&(0,t.jsx)("div",{className:(0,s.cn)("h-5 w-full",C)})]})}},59352:function(e,r,a){a.d(r,{g:function(){return s}});var t=a(48170);a(46559);var l=a(21581),n=a(47029);let s=e=>{let{message:r,type:a,showIcon:s=!0,className:d=""}=e,o={guideline:(0,t.jsx)(n.Us8,{className:"h-4 w-4 shrink-0 text-alert-warning-dark"}),error:(0,t.jsx)(n.Us8,{className:"h-4 w-4 shrink-0 text-alert-error-dark"}),success:(0,t.jsx)(n.Us8,{className:"h-4 w-4 shrink-0 text-alert-success-dark"}),"success-tick":(0,t.jsx)(n.Ntl,{className:"h-4 w-4 shrink-0 text-alert-success-dark"}),counter:null};return(0,t.jsxs)("div",{className:(0,l.cn)("flex gap-1 [&>svg]:mt-0.5",d),"data-sentry-component":"InlineMessage","data-sentry-source-file":"inline-message.tsx",children:[s&&o[a],(0,t.jsx)("span",{className:(0,l.cn)("text-caption-12",{"text-alert-error-dark":"error"===a,"text-text-darkGray":"error"!==a,"mr-auto":"counter"===a}),children:r})]})}}}]); 4//# sourceMappingURL=6040-c3efd811427e7c98.js.map 5//# debugId=995f4d42-8c84-5126-a89c-f2da91164a60
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.