PageSourceSearch

https://www.tapbit.com/_next_app/price/0.1.227/_next/static/chunks/1073-687c1fef60e7db4d.js

js tapbit.com collected 2026-10-03 21:38:59 UTC 38,596 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="92cd3af0-6623-4e8f-b814-b67dff7b78fd",e._sentryDebugIdIdentifier="sentry-dbid-92cd3af0-6623-4e8f-b814-b67dff7b78fd")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1073],{18983:(e,t,l)=>{l.d(t,{b:()=>s});var n=l(79237),r=l(38113),a=l(65375);let s=r.forwardRef((e,t)=>(0,n.jsx)(a.B,{ref:t,viewBox:"0 0 1024 1024",...e,children:(0,n.jsx)("path",{d:"M197.290667 283.392L104.362667 190.464 156.16 138.752l722.432 722.389333-51.754667 51.754667-119.381333-118.954667-17.109333-17.109333c-55.04 21.973333-115.328 34.218667-178.474667 34.218667-203.733333 0-377.728-126.72-448.213333-305.578667A480.938667 480.938667 0 0 1 216.021333 302.08l-18.773333-18.773333z m518.272 222.037333a203.818667 203.818667 0 0 0-203.733334-203.733333c-26.453333 0-51.328 5.290667-74.581333 14.677333L349.269333 228.352a474.496 474.496 0 0 1 162.133334-28.501333c203.733333 0 377.728 126.72 448.213333 305.578666a481.450667 481.450667 0 0 1-139.733333 193.536l-118.997334-118.954666c9.386667-23.253333 14.677333-48.085333 14.677334-74.581334z m-385.877334-89.6a201.941333 201.941333 0 0 0-21.589333 89.6 203.818667 203.818667 0 0 0 203.733333 203.733334c32.213333 0 62.336-8.106667 89.642667-21.589334l-63.146667-63.146666c-8.533333 2.048-17.493333 3.242667-26.453333 3.242666a122.069333 122.069333 0 0 1-122.282667-122.197333c0-8.96 1.237333-17.92 3.285334-26.496l-63.146667-63.146667z m304 96.554667l-128.341333-128.341333 6.912-0.426667a122.069333 122.069333 0 0 1 122.24 122.282667l-0.853333 6.485333z"})}));s.displayName="EyeOff1Icon"},31073:(e,t,l)=>{l.r(t),l.d(t,{Select:()=>K,SelectContent:()=>et,SelectGroup:()=>G,SelectItem:()=>X,SelectLabel:()=>el,SelectMobile:()=>Q,SelectSeparator:()=>en,SelectTrigger:()=>$,SelectValue:()=>Z,resolveSelectItemIconSizeClass:()=>w,resolveSelectMobileItemIndicatorSizeClass:()=>N,resolveSelectMobileSearchInputSize:()=>y});var n=l(79237),r=l(90477),a=l(29799),s=l(4487),i=l(38113),o=l(91405),d=l(47776),u=l(71591),c=l(55872),p=l(87042),m=l(53678),x=l(44031),f=l(29521),h=l(62243),v=l(51924),b=l(84980),g=l(82586);function w(e){return"l"===e||"xl"===e?"size-6":"size-5"}function y(e,t,l){return l||t||("l"===e||"xl"===e?"l":"m")}function N(e){return null!=e?e:"size-6"}let j={s:{height:"h-9",padding:"py-s2",text:"text-b14",radius:"rounded-r2",iconSize:"size-6"},m:{height:"h-10",padding:"py-2.5",text:"text-b14",radius:"rounded-r2",iconSize:"size-6"},l:{height:"h-12",padding:"py-s3",text:"text-b16",radius:"rounded-r3",iconSize:"size-6"},xl:{height:"h-14",padding:"py-s4",text:"text-b16",radius:"rounded-r3",iconSize:"size-6"}},C=e=>i.isValidElement(e),S=a.l9.displayName||"SelectTrigger",z=a.UC.displayName||"SelectContent",E=a.q7.displayName||"SelectItem",k=a.YJ.displayName||"SelectGroup",I=a.JU.displayName||"SelectLabel",R=a.wv.displayName||"SelectSeparator",M=a.WT.displayName||"SelectValue",T=e=>{var t,l;return C(e)&&((null==(t=e.type)?void 0:t.displayName)||(null==(l=e.type)?void 0:l.name))||""},L=e=>"string"==typeof e||"number"==typeof e?String(e):Array.isArray(e)?e.map(L).join(""):C(e)?L(e.props.children):"",Q=e=>{var t;let{children:l,value:s,defaultValue:o,onValueChange:d,onSelectionMeta:u,open:m,onOpenChange:w,disabled:Q,searchPlaceholder:A,mobileHeaderVisible:F=!0,mobileSearchVisible:V=!0,locale:B,itemSize:D="m",searchInputSize:H,listHeight:O,listMaxHeight:P,drawerContentClassName:_,contentHeader:W,searchClassName:q,searchInputWrapperClassName:U,itemClassName:J,itemTextClassName:Y,itemTextContentClassName:K,itemSubTextClassName:G,...Z}=e,[$,X]=i.useState(o),[ee,et]=i.useState(!1),[el,en]=i.useState(""),[er,ea]=i.useState(null),[es,ei]=i.useState(!1),[eo,ed]=i.useState(0),[eu,ec]=i.useState(null),ep=i.useRef(null),em=i.useRef(null),ex=i.useRef(null),ef=i.useRef(0),eh=i.useRef(null),ev=i.useRef([]),eb=i.useRef(null),eg=void 0!==s,ew=void 0!==m,ey=eg?s:$,eN=ew?m:ee,ej=eo>0,eC=i.useCallback(()=>{null!==eh.current&&(window.cancelAnimationFrame(eh.current),eh.current=null),ev.current.forEach(e
1=>{window.clearTimeout(e)}),ev.current=[],eb.current&&(eb.current(),eb.current=null)},[]),eS=i.useCallback(()=>{window.scrollTo({top:ef.current,behavior:"auto"})},[]),ez=i.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];eC();let t=()=>{eS(),eh.current=window.requestAnimationFrame(()=>{eS(),eh.current=null}),[120,260,420].forEach(e=>{let t=window.setTimeout(()=>{eS(),ev.current=ev.current.filter(e=>e!==t)},e);ev.current.push(t)})};if(!e||!window.visualViewport)return void t();let l=window.visualViewport,n=!1,r=()=>{l.removeEventListener("resize",a),l.removeEventListener("scroll",a),eb.current===r&&(eb.current=null)},a=()=>{4>=Math.abs(window.innerHeight-l.height-l.offsetTop)&&!n&&(n=!0,r(),t())};eb.current=r,l.addEventListener("resize",a),l.addEventListener("scroll",a),a();let s=window.setTimeout(()=>{n||(n=!0,r(),t())},520);ev.current.push(s)},[eC,eS]),eE=i.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e||es||ej;if(e&&"undefined"!=typeof document){let e=document.activeElement;e instanceof HTMLElement&&(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e.isContentEditable)&&e.blur()}ei(!1),ed(0),ec(null),ez(t)},[ej,es,ez]),ek=i.useCallback(e=>{eg||X(e),null==d||d(e)},[eg,d]),eI=i.useCallback(e=>{Q||(e||eE(!0),ew||et(e),null==w||w(e))},[Q,ew,w,eE]),{trigger:eR,content:eM,rest:eT}=i.useMemo(()=>(e=>{let t=null,l=null,n=[];return i.Children.forEach(e,e=>{if(!C(e))return void n.push(e);let r=T(e);if(r===S){t=e;return}if(r===z){l=e;return}n.push(e)}),{trigger:t,content:l,rest:n}})(l),[l]),eL=(0,f.Km)(B),eQ=eM?eM.props:void 0,eA=null!=(t=null!=A?A:null==eQ?void 0:eQ.searchPlaceholder)?t:eL.common.search,eF=i.useMemo(()=>null==eQ?void 0:eQ.children,[null==eQ?void 0:eQ.children]),eV=i.useMemo(()=>(e=>{let t=[],l=e=>{i.Children.forEach(e,e=>{var n,r,a;if(!C(e))return;let s=T(e);if(s===E){let l=L(e.props.children),n=e.props.subText,s=L(n),i=null!=(r=e.props.displayText)?r:l,o=[i,s].filter(Boolean).join(" ");t.push({type:"item",value:String(null!=(a=e.props.value)?a:""),disabled:!!e.props.disabled,content:e.props.children,text:o,displayText:i||o,icon:e.props.icon,iconSizeClass:e.props.iconSizeClass,subText:n,rightSlot:e.props.rightSlot,hasCustomContent:C(e.props.children)});return}return s===I?void t.push({type:"label",content:e.props.children,text:L(e.props.children)}):s===R?void t.push({type:"separator"}):s===k?void l(e.props.children):void((null==(n=e.props)?void 0:n.children)&&l(e.props.children))})};return l(e),t})(eF),[eF]),eB=(e=>{let t;if(!e)return;let l=e.props.children;return i.Children.forEach(l,e=>{C(e)&&T(e)===M&&(t=e.props.placeholder)}),t})(eR)||eL.common.select,eD=void 0!==ey&&""!==ey,eH=i.useMemo(()=>eV.find(e=>"item"===e.type&&e.value===String(ey)),[ey,eV]),eO=i.useMemo(()=>(null==eH?void 0:eH.type)==="item"?eH.displayText||eH.text:eD?String(ey):"",[ey,eD,eH]),eP=i.useMemo(()=>((e,t,l)=>{if(!e||!l||!t)return e;let n=e=>{if(!C(e))return e;let l=T(e),r=e.props;return l===M&&null==r.children?i.cloneElement(e,r,t):(null==r?void 0:r.children)?i.cloneElement(e,r,i.Children.map(r.children,e=>n(e))):e};return n(e)})(eR,eO,eD),[eD,eO,eR]),e_=i.useMemo(()=>{let e=el.trim().toLowerCase();return e?eV.map(t=>{if("item"===t.type){let l=t.text.toLowerCase().includes(e);return{...t,hidden:!l,disabled:t.disabled||!l}}return{...t,hidden:!0}}):eV},[eV,el]),eW=j[D],eq=null!=H?H:y(D,null==eQ?void 0:eQ.searchInputSize,null==eQ?void 0:eQ.mobileSearchInputSize),eU=ej?null:er,eJ=i.useMemo(()=>void 0!==O?{height:O,maxHeight:O}:null!==eU?{height:eU,maxHeight:eU}:void 0!==P?{maxHeight:P}:void 0,[eU,O,P]),eY=i.useMemo(()=>(0,r.Q)("min-h-0",void 0!==O||null!==eU?"flex-none":"flex-1"),[eU,O]);i.useEffect(()=>{eN&&(ef.current=window.scrollY)},[eN]),i.useEffect(()=>{!eN&&el&&en("")},[eN,el]),i.useEffect(()=>{eN||null===er||ea(null)},[eN,er]),i.useEffect(()=>{if(!eN){ex.current=null;return}if(ej)return;let e=window.requestAnimationFrame(()=>{var e,t;let l=null!=(t=null==(e=em.current)?void 0:e.getBoundingClientRect().height)?t:0;l>0&&(ex.current=l)});return()=>window.cancelAnimationFrame(e)},[eN,ej]),i.useEffect(()=>{if(!eN||void 0!==O||el.trim()||ej)return;let e=window.requestAnimationFrame(()=>{var e,t;let l=null!=(t=null==(e=ep.current)?void 0:e.getBoundingClientRect().height)?t:0;l<=0||ea(e=>e===l?e:l)});return()=>window.cancelAnimationFrame(e)},[eN,ej,O,el,eV.length]),i.useEffect(()=>{ej&&null!==er&&ea(null)},[ej,er]),i.useEffect(()=>{!eN&&es&&ei(!1)},[eN,es]),i.useEffect(()=>()=>{eC()},[eC]),i.useEffect(()=>{if(!eN){ed(0),ec(null);return}
1if(!window.visualViewport)return;let e=window.visualViewport,t=()=>{if(!es){ed(0),ec(null);return}let t=Math.max(0,window.innerHeight-e.height-e.offsetTop),l=t>60;ed(l?t:0),ec(l?e.height:null)};return t(),e.addEventListener("resize",t),e.addEventListener("scroll",t),()=>{e.removeEventListener("resize",t),e.removeEventListener("scroll",t)}},[eN,es]);let eK=i.useMemo(()=>{if(eo<=0)return;let e=eu?Math.max(240,eu-16):null,t=ex.current,l=t&&e?Math.min(t,e):e;return{bottom:"".concat(eo,"px"),maxHeight:l?"".concat(l,"px"):void 0}},[eo,eu]),eG=i.useCallback(e=>{e||ez(!0)},[ez]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.bL,{value:ey,open:eN,onOpenChange:eI,disabled:Q,...Z,children:[eP,eT]}),(0,n.jsx)(b.DrawerRoot,{open:eN,onOpenChange:eI,modal:!0,disablePreventScroll:!0,repositionInputs:!1,onAnimationEnd:eG,children:(0,n.jsx)(b.DrawerContent,{ref:em,overlayClassName:"z-1000",className:(0,r.Q)("pt-s3 z-1001 max-h-[670px] overflow-hidden",_),style:eK,children:(0,n.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[F?(0,n.jsxs)("div",{className:"gap-s2 px-s4 flex h-10 items-center",children:[(0,n.jsx)(h._s.Title,{className:"text-t16 text-t1 flex-1",children:eB}),(0,n.jsx)(b.DrawerClose,{className:"text-t3 hover:text-t2 flex h-5 w-5 cursor-pointer items-center justify-center transition-colors","aria-label":"Close",children:(0,n.jsx)(v.U,{className:"size-5"})})]}):(0,n.jsx)(h._s.Title,{className:"sr-only",children:eB}),V?(0,n.jsx)("div",{className:(0,r.Q)("px-s4 py-s2",q),children:(0,n.jsx)(x.Input,{size:eq,value:el,onChange:e=>en(e.target.value),onFocus:()=>{var e,t;let l=null!=(t=null==(e=em.current)?void 0:e.getBoundingClientRect().height)?t:0;l>0&&(ex.current=l),ei(!0)},onBlur:()=>eE(),placeholder:eA,leftSlot:(0,n.jsx)(p.W,{className:"text-t4 size-4"}),wrapperClassName:(0,r.Q)("rounded-r3 bg-bg2 border-transparent !px-s3",U)})}):null,(0,n.jsx)(g.ScrollArea,{ref:ep,className:eY,style:eJ,viewportClassName:"pb-[calc(env(safe-area-inset-bottom)+8px)]",showScrollBar:!0,children:(0,n.jsxs)("div",{className:"flex flex-col gap-0",children:[W,e_.map((e,t)=>{let l=!!e.hidden;if("separator"===e.type)return(0,n.jsx)("div",{hidden:l,className:(0,r.Q)("bg-l1 mx-s2 my-1 h-px",l&&"hidden")},"separator-".concat(t));if("label"===e.type)return(0,n.jsx)("div",{hidden:l,className:(0,r.Q)("px-s2",l&&"hidden"),children:(0,n.jsx)("div",{className:"rounded-r2 px-s1 pt-[10px] pb-[4px]",children:(0,n.jsx)("div",{className:"text-cm12 text-t3",children:e.content})})},"label-".concat(t));let a=String(ey)===e.value,s=!!e.icon||!!e.subText,i=e.disabled||l,o=s?"":i?"text-t5":a?"text-p1-dark":"text-t1";return(0,n.jsx)("button",{type:"button",className:(0,r.Q)("px-s2 w-full py-0 text-left",i&&"cursor-not-allowed",l&&"hidden"),"aria-selected":a,disabled:i,onClick:()=>!i&&(e=>{null==u||u({value:e,searchActive:!!el.trim()}),ek(e),eI(!1)})(e.value),children:(0,n.jsxs)("div",{className:(0,r.Q)("gap-s2 px-s2 flex h-14 items-center justify-between",eW.padding,eW.radius,!i&&"hover:bg-bg2",o,J),children:[(0,n.jsxs)("span",{className:"gap-s2 flex w-0 min-w-0 flex-1 items-center",children:[e.icon?(0,n.jsx)("span",{className:(0,r.Q)("flex items-center justify-center [&_img]:size-full [&_svg]:size-full",eW.iconSize,i?"text-t5":"text-t1"),children:e.icon}):null,s?(0,n.jsxs)("span",{className:(0,r.Q)(eW.text,"gap-s1 flex min-w-0 flex-1 items-center",Y),children:[(0,n.jsx)("span",{className:(0,r.Q)("truncate",i?"text-t5":"text-t1",K),children:e.content}),e.subText?(0,n.jsx)("span",{className:(0,r.Q)(eW.text,"shrink-0",i?"text-t5":"text-t4",G),children:e.subText}):null]}):(0,n.jsx)("span",{className:(0,r.Q)(eW.text,"w-0 min-w-0 flex-1",e.hasCustomContent?"block":"truncate"),children:e.content})]}),e.rightSlot?(0,n.jsxs)("span",{className:"ml-s2 gap-s2 flex shrink-0 items-center",children:[e.rightSlot,a&&(0,n.jsx)(c.S,{className:(0,r.Q)("text-p1-dark shrink-0",N(e.iconSizeClass))})]}):a&&(0,n.jsx)(c.S,{className:(0,r.Q)("text-p1-dark shrink-0",N(e.iconSizeClass))})]})},"item-".concat(e.value,"-").concat(t))})]})})]})})})]})};Q.displayName="SelectMobile";let A=(0,s.F)(["flex","w-full","items-center","justify-between","border","text-t1","transition-all","focus:border-p1","focus:outline-none","focus:ring-1","focus:ring-p1/15","data-[state=open]:border-p1","data-[state=open]:ring-1","data-[state=open]:ring-p1/15","disabled:cursor-not-allowed","disabled:text-t5","data-[placeholder]:text-t3","cursor-pointer"],{variants:{variant:{line:"border-l1 bg-bg3",fill:"border-transparent bg-bg2"},size:{s:"h-8 px-s3 py-1.5 text-b14 rounded-r2",m:"h-10 px-s3 py-2.5 text-b14 rounded-r2",l:"h-11 px-s3 py-[11px] text-b16 rounded-r3"}},compoundVariants:[{variant:"fill",size:"l",className:"h-12 px-s4 py-[13px]"}],defaultVariants:{variant:"line",size:"m"}}),F=(0,s.F)(["text-t1","relative","flex","w-full","min-w-0","cursor-pointer","items-center","justify-between","gap-2","outline-none","select-none","hover:bg-bg2","focus:bg-bg2","data-[disabled]:text-t5","data-[disabled]:pointer-events-none","data-[state=checked]:text-p1-dark"],{variants:{size:{s:"h-9 px-s2 py-s2 text-b14 rounded-r2",m:"h-10 px-s2 py-2.5 text-b14 rounded-r2",l:"h-12 px-s2 py-s3 text-b16 rounded-r3",xl:"h-14 px-s2 py-s4 text-b16 rounded-r3"}},defaultVariants:{size:"m"}}
1),V=(0,i.createContext)({clearable:!1,currentValue:"",disabled:!1,onClearValue:()=>{},size:"m",itemSize:"m",locale:void 0,triggerElement:null,setTriggerElement:()=>{}}),B=a.q7.displayName||"SelectItem",D=a.YJ.displayName||"SelectGroup",H=a.JU.displayName||"SelectLabel",O=a.wv.displayName||"SelectSeparator",P="max(200px, var(--radix-select-trigger-width))",_={s:36,m:40,l:48,xl:56},W=e=>(0,i.isValidElement)(e),q=e=>{var t,l;return W(e)&&((null==(t=e.type)?void 0:t.displayName)||(null==(l=e.type)?void 0:l.name))||""},U=e=>"string"==typeof e||"number"==typeof e?String(e):Array.isArray(e)?e.map(U).join(""):W(e)?U(e.props.children):"",J=e=>e.trim().toLowerCase(),Y=e=>{let t=!1;return i.Children.toArray(e).some(e=>{var l;return!!W(e)&&(q(e)===B?(t=!0,!0):null!=(l=e.props)&&!!l.children&&(t=Y(e.props.children)))}),t},K=e=>{var t;let{size:l="m",itemSize:r,responsive:s=!0,children:d,listHeight:u,listMaxHeight:c,searchPlaceholder:p,mobileHeaderVisible:m=!0,mobileSearchVisible:x=!0,clearable:f=!1,defaultValue:h,disabled:v=!1,onClear:b,onValueChange:g,onMobileSelectionMeta:w,mobileDrawerContentClassName:y,mobileContentHeader:N,mobileSearchClassName:j,mobileSearchInputWrapperClassName:C,mobileItemClassName:S,mobileItemTextClassName:z,mobileItemTextContentClassName:E,mobileItemSubTextClassName:k,locale:I,value:R,...M}=e,T=(0,o.no)(),[L,A]=(0,i.useState)(!1),F=void 0!==R,[B,D]=(0,i.useState)(null!=h?h:""),[H,O]=(0,i.useState)(null),P=null!=r?r:l,_=null!=(t=F?R:B)?t:"";(0,i.useEffect)(()=>{A(!0)},[]);let W=(0,i.useCallback)(e=>{F||D(e),null==g||g(e)},[F,g]),q=(0,i.useCallback)(()=>{v||""===_||(W(""),null==b||b())},[_,v,W,b]),U=s&&T&&L?(0,n.jsx)(Q,{itemSize:P,listHeight:u,listMaxHeight:c,searchPlaceholder:p,mobileHeaderVisible:m,mobileSearchVisible:x,locale:I,drawerContentClassName:y,contentHeader:N,searchClassName:j,searchInputWrapperClassName:C,itemClassName:S,itemTextClassName:z,itemTextContentClassName:E,itemSubTextClassName:k,disabled:v,value:_,onValueChange:W,onSelectionMeta:w,...M,children:d}):(0,n.jsx)(a.bL,{disabled:v,value:_,onValueChange:W,...M,children:d});return(0,n.jsx)(V.Provider,{value:{clearable:f,currentValue:_,disabled:v,itemSize:P,locale:I,onClearValue:q,size:l,triggerElement:H,setTriggerElement:O},children:U})};K.displayName=a.bL.displayName;let G=(0,i.forwardRef)((e,t)=>{let{className:l,...r}=e;return(0,n.jsx)(a.YJ,{ref:t,className:l,...r})});G.displayName=a.YJ.displayName;let Z=(0,i.forwardRef)((e,t)=>{let{className:l,...s}=e;return(0,n.jsx)(a.WT,{ref:t,className:(0,r.Q)("truncate",l),...s})});Z.displayName=a.WT.displayName;let $=(0,i.forwardRef)((e,t)=>{let{className:l,children:s,showArrow:o=!0,size:c,variant:p,...m}=e,{clearable:x,currentValue:f,disabled:h,onClearValue:v,setTriggerElement:b,size:g}=(0,i.useContext)(V),w=null!=c?c:g,y=null!=p?p:"line",N=x&&""!==f&&!h,j=(0,i.useCallback)(e=>{b(e),"function"==typeof t?t(e):t&&(t.current=e)},[t,b]),C=(0,i.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),v()},[v]);return(0,n.jsxs)(a.l9,{ref:j,className:(0,r.Q)(A({size:w,variant:y}),"group",l),...m,children:[s,o?(0,n.jsxs)("span",{className:"ml-s2 relative flex size-5 shrink-0 items-center justify-center",children:[(0,n.jsx)(a.In,{asChild:!0,children:(0,n.jsx)(d.C,{className:(0,r.Q)("text-t3 size-3 shrink-0 transition-all group-data-[state=open]:rotate-180","fill"===y&&"l"===w&&"size-4",N&&"group-hover:scale-90 group-hover:opacity-0")})}),N?(0,n.jsx)("span",{role:"button","aria-label":"Clear selection",tabIndex:-1,className:"text-t3 hover:text-t1 pointer-events-none absolute inset-0 inline-flex items-center justify-center opacity-0 transition-all group-hover:pointer-events-auto group-hover:opacity-100",onPointerDown:C,children:(0,n.jsx)(u.v,{className:"size-5"})}):null]}):N?(0,n.jsx)("span",{role:"button","aria-label":"Clear selection",tabIndex:-1,className:"text-t3 hover:text-t1 ml-s2 inline-flex size-5 shrink-0 items-center justify-center transition-colors",onPointerDown:C,children:(0,n.jsx)(u.v,{className:"size-5"})}):null]})});$.displayName=a.l9.displayName;let X=(0,i.forwardRef)((e,t)=>{var l;let{className:s,children:o,icon:d,iconSizeClass:u,subText:p,rightSlot:m,displayText:x,size:f,...h}=e,{itemSize:v}=(0,i.useContext)(V),b=null!=f?f:v,g=!!d||!!p,y=null!=(l=h.textValue)?l:x,N=w(b),j=!!h.disabled;return(0,n.jsxs)(a.q7,{ref:t,className:(0,r.Q)(F({size:b}),s),textValue:y,...h,children:[(0,n.jsx)(a.p4,{className:"flex min-w-0 flex-1",children:g?(0,n.jsxs)("span",{className:"gap-s2 flex w-full min-w-0 flex-1 items-center",children:[d?(0,n.jsx)("span",{className:(0,r.Q)("flex items-center justify-center [&_img]:size-full [&_svg]:size-full",N,j?"text-t5":"text-t1"),children:d}):null,(0,n.jsxs)("span",{className:"gap-s1 flex min-w-0 flex-1 items-center",children:[(0,n.jsx)("span",{className:"truncate",children:o}),p?(0,n.jsx)("span",{className:(0,r.Q)("shrink-0",j?"text-t5":"text-t4"),children:p}):null]})]}):o}),m?(0,n.jsxs)("span",{className:"gap-s2 flex shrink-0 items-center",children:[m,(0,n.jsx)(a.VF,{children:(0,n.jsx)(c.S,{className:"text-p1-dark size-4"})})]}):(0,n.jsx)(a.VF,{children:(0,n.jsx)(c.S,{className:"text-p1-dark size-4"})})]})});X.displayName=a.q7.displayName;let ee=e=>{var t,l;e.stopPropagation(),null==(l=e.nativeEvent)||null==(t=l.stopImmediatePropagation)||t.call(l)},et=(0,i.forwardRef)((e,t)=>{let{className:l,children:s,position:o="popper",searchable:d,searchPlaceholder:u,searchInputSize:c,mobileSearchInputSize:h,searchValue:v,onSearchValueChange:b,searchMatcher:g,noResultsMessage:w,locale:y,contentHeight:N,contentMaxHeight:j,viewportClassName:C,onCloseAutoFocus:S,style:z,...E}=e,{itemSize:k,locale:I,triggerElement:R}=(0,i.useContext)(V),M=(0,f.Km)(null!=y?y:I),T=null!=u?u:M.common.search,L=null!=w?w:M.common.noRecords,[Q,A]=(0,i.useState)(""),F=void 0!==v?v:Q,K=J(F),G=(0,i.useMemo)(()=>Y(s),[s]),Z=(0,i.useRef)(null),$=(0,i.useMemo)(()=>((e,t)=>{let l=32,n=e=>
1{i.Children.toArray(e).forEach(e=>{var r;if(!W(e))return;let a=q(e);if(a===B){l+=_[t];return}if(a===H){l+=30;return}if(a===O){l+=9;return}(null==(r=e.props)?void 0:r.children)&&n(e.props.children)})};return n(e),l})(s,k),[s,k]),X=!0===d||void 0===d&&$>500,et=(0,i.useMemo)(()=>{let e=null==R?void 0:R.closest('[role="dialog"]');return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement?e:void 0},[R]),el=(0,i.useCallback)(()=>{let e=Z.current;if(!e)return;e.focus({preventScroll:!0});let t=e.value.length;e.setSelectionRange(t,t)},[]),en=(0,i.useCallback)(()=>{let e=0,t=0;return e=window.requestAnimationFrame(()=>{el(),t=window.requestAnimationFrame(()=>{el()})}),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(t)}},[el]);(0,i.useEffect)(()=>{if(X)return en()},[X,en,R]),(0,i.useEffect)(()=>{if(X)return en()},[X,F,en]);let{nodes:er,hasItems:ea}=(0,i.useMemo)(()=>X&&K?((e,t,l)=>{let n=J(t);if(!n)return{nodes:e,hasItems:!0};let a=e=>{let s=[],o=!1;return i.Children.toArray(e).forEach(e=>{var d,u;if(!W(e))return;let c=q(e);if(c===B){let a=(e=>!!e&&(l?l(t,e):J(e).includes(n)))((e=>{var t;let{children:l,textValue:n,displayText:r,subText:a}=e.props;return[null!=(t=null!=n?n:r)?t:U(l),U(a)].filter(Boolean).join(" ")})(e));a&&(o=!0);let d=e.props,u={...d,hidden:!a||void 0,disabled:d.disabled||!a,className:(0,r.Q)(d.className,a?void 0:"hidden")};s.push((0,i.cloneElement)(e,u));return}if(c===D){let t=a(null==(u=e.props)?void 0:u.children);t.hasItems&&(o=!0);let l=(0,i.cloneElement)(e,e.props,t.nodes);s.push(((e,t)=>{if(!t)return e;let l=e.props;return(0,i.cloneElement)(e,{...l,hidden:!0,className:(0,r.Q)(null==l?void 0:l.className,"hidden")})})(l,!t.hasItems));return}if(c!==H&&c!==O&&(null==(d=e.props)?void 0:d.children)){let t=a(e.props.children);t.hasItems&&(o=!0),t.nodes.length>0&&s.push((0,i.cloneElement)(e,e.props,t.nodes))}}),{nodes:(e=>{let t=e=>W(e)&&q(e)===O,l=[];
1for(let n of e){if(t(n)){if(0===l.length||t(l[l.length-1]))continue;l.push(n);continue}l.push(n)}for(;l.length>0&&t(l[l.length-1]);)l.pop();return l})(s),hasItems:o}};return a(e)})(s,F,g):{nodes:s,hasItems:G},[s,G,X,K,F,g]),es=X&&K&&!ea,ei=(0,i.useMemo)(()=>{let e={...z},t=e.minWidth;return(e.minWidth=void 0===t?P:"max(".concat("number"==typeof t?"".concat(t,"px"):t,", ").concat(P,")"),void 0!==N)?(e.height=N,e.maxHeight=N):void 0!==j&&(e.maxHeight=j),e},[N,j,z]);return(0,n.jsx)(a.ZL,{container:et,children:(0,n.jsxs)(a.UC,{ref:t,className:(0,r.Q)("rounded-r3 py-s2 border-l1 bg-m3 text-t1 shadow-2 relative z-350 w-[var(--radix-select-trigger-width)] min-w-[200px] overflow-hidden border","flex max-h-[500px] flex-col","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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","popper"===o&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",l),position:o,style:ei,onCloseAutoFocus:e=>{X&&void 0===v&&A(""),null==S||S(e)},...E,children:[X&&(0,n.jsx)("div",{className:"px-s3 py-s1",children:(0,n.jsx)(x.Input,{ref:Z,size:null!=c?c:"s",value:F,onChange:e=>(e=>{void 0===v&&A(e),null==b||b(e)})(e.target.value),placeholder:T,leftSlot:(0,n.jsx)(p.W,{"data-slot":"select-search-icon",className:"text-t4 size-4"}),wrapperClassName:"rounded-r2 bg-bg2 border-transparent",onKeyDown:ee,onKeyUp:ee})}),(0,n.jsxs)(a.LM,{className:(0,r.Q)("px-s2 min-h-0 overflow-y-auto","popper"===o&&"w-full",C),children:[er,(!G||es)&&(0,n.jsx)(m.R9,{className:"py-s4 mx-auto",description:L})]})]})})});et.displayName=a.UC.displayName;let el=(0,i.forwardRef)((e,t)=>{let{className:l,...s}=e;return(0,n.jsx)(a.JU,{ref:t,className:(0,r.Q)("text-cm12 text-t3 px-s1 py-1.5",l),...s})});el.displayName=a.JU.displayName;let en=(0,i.forwardRef)((e,t)=>{let{className:l,...s}=e;return(0,n.jsx)(a.wv,{ref:t,className:(0,r.Q)("bg-l1 -mx-1 my-1 h-px",l),...s})});en.displayName=a.wv.displayName},33162:(e,t,l)=>{l.d(t,{c:()=>s});var n=l(79237),r=l(38113),a=l(65375);let s=r.forwardRef((e,t)=>(0,n.jsx)(a.B,{ref:t,viewBox:"0 0 1024 1024",...e,children:(0,n.jsx)("path",{d:"M512 207.061333c-100.394667 0-191.232 28.16-272.512 84.821334C158.165333 348.586667 99.754667 421.845333 64 512c35.541333 90.197333 93.952 163.712 175.488 220.117333 81.28 56.618667 172.117333 84.864 272.512 84.864 100.394667 0 191.232-28.245333 272.512-84.906666 81.322667-56.618667 139.733333-129.92 175.488-220.074667-35.541333-90.197333-93.952-163.712-175.488-220.117333C703.232 235.264 612.394667 207.018667 512 207.018667z m0 508.842667c-36.864 0-70.826667-9.088-101.973333-27.562667a209.493333 209.493333 0 0 1-74.368-74.368A196.266667 196.266667 0 0 1 308.053333 512a196.266667 196.266667 0 0 1 27.562667-101.973333A209.493333 209.493333 0 0 1 410.026667 335.701333 196.181333 196.181333 0 0 1 512 308.053333c36.864 0 70.826667 9.088 101.973333 27.562667a209.493333 209.493333 0 0 1 74.368 74.410667c18.432 31.061333 27.562667 65.066667 27.562667 101.930666a196.266667 196.266667 0 0 1-27.562667 101.973334 209.365333 209.365333 0 0 1-74.368 74.368 196.266667 196.266667 0 0 1-101.973333 27.562666z m0-325.845333c-34.218667 0-63.317333 11.776-86.613333 35.328-23.552 23.552-35.328 52.394667-35.328 86.613333 0 34.218667 11.776 63.317333 35.328 86.613333 23.552 23.552 52.394667 35.328 86.613333 35.328 34.218667 0 63.317333-11.776 86.613333-35.328 23.552-23.552 35.328-52.394667 35.328-86.613333 0-34.218667-11.776-63.317333-35.328-86.613333-23.296-23.552-52.394667-35.328-86.613333-35.328z"})}));s.displayName="Eye1Icon"},44031:(e,t,l)=>{l.r(t),l.d(t,{Input:()=>v,OTPInput:()=>w,PasswordInput:()=>g,TextArea:()=>b});var n=l(79237),r=l(90477),a=l(4487),s=l(38113),i=l(71591),o=l(65375);let d=s.forwardRef((e,t)=>(0,n.jsx)(o.B,{ref:t,viewBox:"0 0 1024 1024",...e,children:(0,n.jsx)("path",{d:"M829.013333 516.096a51.2 51.2 0 1 1 72.362667 72.405333l-301.653333 301.738667a51.242667 51.242667 0 0 1-72.448-72.448l301.696-301.653333z m-63.402666-358.997333a51.2 51.2 0 0 1 72.405333 72.405333l-597.333333 597.333333a51.2 51.2 0 0 1-72.405334-72.405333l597.333334-597.333333z"})}));d.displayName="TextAreaIcon";var u=l(33162),c=l(18983);let p=(0,a.F)(["w-0","flex-1","border-0","bg-transparent","outline-none","text-t1","placeholder:text-t3","transition-all","duration-200","disabled:cursor-not-allowed","disabled:text-t5","disabled:placeholder:text-t5"],{variants:{variant:{default:[],filled:[]},size:{l:["text-bm16","placeholder:text-bm16"],m:["text-bm14","placeholder:text-bm14"],s:["text-bm14","placeholder:text-bm14"]}},defaultVariants:{variant:"default",size:"l"}}),m=(0,a.F)(["relative","flex","items-center","w-full","rounded-r2","transition-all","duration-200"],{variants:{variant:{default:["bg-bg2","border","border-transparent"],focused:["bg-bg3","border","border-p1"]},size:{l:["h-12","px-s4"],m:["h-10","px-s4"],s:["h-9","px-s3"]}},defaultVariants:{variant:"default",size:"l"}}),x=(0,a.F)(["block","mb-2","text-t1"],{variants:{size:{l:"text-bm14",m:"text-bm14",s:"text-bm14"}},defaultVariants:{size:"l"}}),f=(0,a.F)(["relative","flex","w-full","rounded-r3","transition-all","duration-200"],{variants:{variant:{default:["bg-bg2","border","border-transparent"],focused:["bg-bg3","border","border-p1"]},size:{m:["min-h-[150px]","p-s4","text-bm14"]}},defaultVariants:{variant:"default",size:"m"}}),h=e=>{let{placeholder:t,className:l,disabled:a,value:i,hasValue:o,isFocused:d,inputRef:u,leftInset:c=0,rightInset:p=0,onFocus:m,onBlur:x,onChange:f,onCompositionStart:h,onCompositionEnd:v,readOnly:b,...g}=e,w=s.useRef(null),y=s.useCallback(e=>{w.current=e,"function"==typeof u?u(e):u&&(u.current=e)},[u]),N=d||o,j=s.useMemo(()=>({marginLeft:c>0?"".concat(c,"px"):void 0,marginRight:p>0?"".concat(p,"px"):void 0}),[c,p]);return(0,n.jsx)("div",{className:"relative min-w-0 flex-1 cursor-text","data-motion-state":N?"raised":"idle",onMouseDown:e=>{var t;a||b||e.target!==w.current&&(e.preventDefault(),null==(t=w.current)||t.focu
1s())},children:(0,n.jsxs)("div",{className:"relative h-full min-w-0",style:j,children:[(0,n.jsx)("input",{ref:y,disabled:a,value:i,readOnly:b,placeholder:" ",className:(0,r.Q)("peer h-full w-full border-0 bg-transparent px-0 pt-[16px] pb-[2px] outline-none","text-bm14 text-t1 placeholder:text-transparent","disabled:text-t5 disabled:cursor-not-allowed",l),onFocus:m,onBlur:x,onChange:f,onCompositionStart:h,onCompositionEnd:v,...g}),t?(0,n.jsx)("label",{"aria-hidden":"true",className:(0,r.Q)("text-bm14 pointer-events-none absolute top-1/2 right-0 left-0 origin-left truncate leading-[20px] will-change-transform rtl:origin-right","font-normal transition-all duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",N?"text-t1 -translate-y-[18px] scale-[0.785714]":"text-t4 -translate-y-1/2 scale-100"),children:t}):null]})})},v=s.forwardRef((e,t)=>{let{className:l,variant:a="borderless",size:o="l",label:d,labelClassName:u,error:c,leftSlot:f,rightSlot:v,clearable:b,onClear:g,wrapperClassName:w,enablePlaceholderMotion:y=!1,placeholder:N,disabled:j,value:C,type:S="text",onChange:z,defaultValue:E,onFocus:k,onBlur:I,onCompositionStart:R,onCompositionEnd:M,...T}=e,[L,Q]=s.useState(!1),[A,F]=s.useState(!1),V=void 0!==C,[B,D]=s.useState(V?null!=C?C:"":null!=E?E:""),H=s.useRef(null),O=s.useRef(null),P=s.useRef(null),[_,W]=s.useState(0),[q,U]=s.useState(0),J=s.useCallback(e=>{H.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]);s.useEffect(()=>{!A&&V&&D(null!=C?C:"")},[V,C,A]);let Y=V?A?B:null!=C?C:"":B,K=""!==Y,G="outlined"===a,Z=y&&"hidden"!==S;s.useLayoutEffect(()=>{if(!Z){W(0),U(0);return}let e=O.current,t=P.current,l=()=>{var l,n;let r=null!=(l=null==e?void 0:e.offsetWidth)?l:0,a=null!=(n=null==t?void 0:t.offsetWidth)?n:0;W(r>0?r:0),U(a>0?a:0)};if(l(),"undefined"==typeof ResizeObserver)return;let n=new ResizeObserver(l);return e&&n.observe(e),t&&n.observe(t),()=>{n.disconnect()}},[Z,f,v,b,K,j,T.readOnly]);let $=e=>{let t=!!e.nativeEvent.isComposing;(!V||A||t)&&D(e.target.value),null==z||z(e)},X=()=>{if(j||T.readOnly)return;V||D("");let e=H.current;if(e){var t;let l=null==(t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))?void 0:t.set;null==l||l.call(e,"");let n=new Event("input",{bubbles:!0});e.dispatchEvent(n)}null==g||g()};return(0,n.jsxs)("div",{className:"w-full",children:[d&&(0,n.jsx)("label",{className:(0,r.Q)(x({size:o}),u),children:d}),(0,n.jsxs)("div",{className:(0,r.Q)(m({variant:L?"focused":"default",size:o}),!Z&&"l"===o&&"!rounded-r3",Z&&"!rounded-r2 px-s2 py-s1 h-[44px] items-stretch",G&&"bg-transparent",G&&!L&&"border-l1",j&&"bg-bg07 border-l1 cursor-not-allowed",w),children:[Z?(0,n.jsx)(h,{...T,inputRef:J,type:S,disabled:j,readOnly:T.readOnly,value:Y,hasValue:K,isFocused:L,placeholder:N,className:l,leftInset:_,rightInset:q,onFocus:e=>{Q(!0),null==k||k(e)},onBlur:e=>{Q(!1),null==I||I(e)},onChange:$,onCompositionStart:e=>{F(!0),D(e.currentTarget.value),null==R||R(e)},onCompositionEnd:e=>{F(!1),D(e.currentTarget.value),null==M||M(e)}}):(0,n.jsxs)(n.Fragment,{children:[f&&(0,n.jsx)("div",{className:"mr-2 flex items-center rtl:mr-0 rtl:ml-2",children:f}),(0,n.jsx)("input",{ref:J,type:S,disabled:j,value:Y,placeholder:N,className:(0,r.Q)(p({size:o}),l),onFocus:e=>{Q(!0),null==k||k(e)},onBlur:e=>{Q(!1),null==I||I(e)},onChange:$,onCompositionStart:e=>{F(!0),D(e.currentTarget.value),null==R||R(e)},onCompositionEnd:e=>{F(!1),D(e.currentTarget.value),null==M||M(e)},...T})]}),Z&&f&&(0,n.jsx)("div",{ref:O,className:"left-s2 absolute top-1/2 z-[1] flex -translate-y-1/2 items-center",children:f}),Z?(v||b&&K&&!j&&!T.readOnly)&&(0,n.jsxs)("div",{ref:P,className:"right-s2 absolute top-1/2 z-[1] flex -translate-y-1/2 items-center gap-1",children:[b&&K&&!j&&!T.readOnly&&(0,n.jsx)("button",{type:"button",onClick:X,className:"text-t3 hover:text-t1 cursor-pointer leading-0 transition-colors","aria-label":"Clear input",children:(0,n.jsx)(i.v,{className:"h-5 w-5 cursor-pointer"})}),v&&(0,n.jsx)("div",{className:"flex items-center",children:v})]}):(0,n.jsxs)(n.Fragment,{children:[b&&K&&!j&&!T.readOnly&&(0,n.jsx)("button",{type:"button",onClick:X,className:"text-t3 hover:text-t1 ml-2 cursor-pointer leading-0 transition-colors rtl:mr-2 rtl:ml-0","aria-label":"Clear input",children:(0,n.jsx)(i.v,{className:"h-5 w-5 cursor-pointer"})}),v&&(0,n.jsx)("div",{className:"ml-2 flex items-center rtl:mr-2 rtl:ml-0",children:v})]})]}),c&&(0,n.jsx)("p",{className:"text-b14 mt-1 text-red-500",children:c})]})});v.displayName="Input";let b=s.forwardRef((e,t)=>
1{let{className:l,variant:a="borderless",label:i,error:o,wrapperClassName:u,showCount:c,maxLength:p,showResizeIndicator:m=!0,size:h="m",value:v,defaultValue:b,onChange:g,onFocus:w,onBlur:y,disabled:N,...j}=e,[C,S]=s.useState(!1),z=void 0!==v,[E,k]=s.useState(z?null!=v?v:"":null!=b?b:""),I=s.useRef(null),R=s.useCallback(e=>{I.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t]);s.useEffect(()=>{z&&k(null!=v?v:"")},[z,v]);let M=z?null!=v?v:"":E,T=M.length,L=null!=c?c:void 0!==p;return(0,n.jsxs)("div",{className:"w-full",children:[i&&(0,n.jsx)("label",{className:x({size:"s"}),children:i}),(0,n.jsxs)("div",{className:(0,r.Q)(f({variant:C?"focused":"default",size:h}),"outlined"===a&&"bg-transparent","outlined"===a&&!C&&"border-l1","gap-s1 flex-col items-start justify-center",N&&"bg-bg07 border-l1 cursor-not-allowed",u),children:[(0,n.jsx)("textarea",{ref:R,value:M,disabled:N,maxLength:p,className:(0,r.Q)("text-t1 placeholder:text-t3 w-full flex-1 resize-none border-0 bg-transparent outline-none","disabled:text-t5 disabled:placeholder:text-t5","text-b14 placeholder:text-b14",N&&"cursor-not-allowed",l),onFocus:e=>{S(!0),null==w||w(e)},onBlur:e=>{S(!1),null==y||y(e)},onChange:e=>{z||k(e.target.value),null==g||g(e)},...j}),L&&(0,n.jsxs)("div",{className:"text-c11 gap-s0 flex w-full items-center justify-end text-right",children:[(0,n.jsx)("span",{className:(0,r.Q)("pointer-events-none select-none",0===T?"text-t4":"text-t1"),children:T}),void 0!==p&&(0,n.jsxs)("span",{className:"text-t4 pointer-events-none select-none",children:["/",p]})]}),m&&(0,n.jsx)("button",{type:"button","aria-label":"Resize textarea",className:"text-t4 right-s1 bottom-s1 absolute inline-flex size-3 cursor-ns-resize items-center justify-center p-0",onPointerDown:e=>{if(!m||N||j.readOnly)return;let t=I.current;if(!t)return;e.preventDefault();let l=e.clientY,n=t.getBoundingClientRect().height,r=Number.parseFloat(window.getComputedStyle(t).minHeight)||0;t.style.height="".concat(n,"px");let a=e=>{let a=Math.max(r,n+(e.clientY-l));t.style.height="".concat(a,"px")},s=()=>{window.removeEventListener("pointermove",a),window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",s)};window.addEventListener("pointermove",a),window.addEventListener("pointerup",s),window.addEventListener("pointercancel",s)},children:(0,n.jsx)(d,{className:"size-3"})})]}),o&&(0,n.jsx)("p",{className:"text-b14 mt-1 text-red-500",children:o})]})});b.displayName="TextArea";let g=s.forwardRef((e,t)=>{let[l,r]=s.useState(!1);return(0,n.jsx)(v,{...e,ref:t,type:l?"text":"password",rightSlot:(0,n.jsx)("button",{type:"button",onClick:()=>r(!l),className:"text-t3 hover:text-t1 cursor-pointer leading-0 transition-colors","aria-label":l?"Hide password":"Show password",children:l?(0,n.jsx)(u.c,{className:"h-5 w-5"}):(0,n.jsx)(c.b,{className:"h-5 w-5"})})})});g.displayName="PasswordInput";let w=s.forwardRef((e,t)=>{let{length:l=6,onChange:a,value:i="",disabled:o,className:d}=e,u=s.useRef([]),[c,p]=s.useState(i.split("").concat(Array(l).fill("")).slice(0,l)),[m,x]=s.useState(-1);s.useEffect(()=>{p(i.split("").concat(Array(l).fill("")).slice(0,l))},[i,l]);let f=e=>{var t;e.preventDefault();let n=e.clipboardData.getData("text/plain").slice(0,l),r=n.split("").concat(Array(l).fill("")).slice(0,l);p(r),null==a||a(r.join(""));let s=Math.min(n.length,l-1);null==(t=u.current[s])||t.focus()};return(0,n.jsx)("div",{ref:t,className:(0,r.Q)("gap-s2 flex",d),children:Array.from({length:l}).map((e,t)=>{c[t];let s=m===t;return(0,n.jsx)("div",{className:(0,r.Q)("rounded-r2 flex h-11 w-11 items-center justify-center border transition-all md:h-15 md:w-15","bg-bg2 border-l1",s&&"bg-bg3 border-p1",o&&"cursor-not-allowed opacity-30"),children:(0,n.jsx)("input",{ref:e=>{u.current[t]=e},type:"text",inputMode:"numeric",maxLength:1,value:c[t]||"",onChange:e=>((e,t)=>{if(t&&!/^\d$/.test(t))return;let n=[...c];if(n[e]=t,p(n),null==a||a(n.join("")),t&&e<l-1){var r;null==(r=u.current[e+1])||r.focus()}})(t,e.target.value),onKeyDown:e=>((e,t)=>{if("Backspace"===t.key&&!c[e]&&e>0){var l;null==(l=u.current[e-1])||l.focus()}})(t,e),onFocus:()=>x(t),onBlur:()=>x(-1),onPaste:f,disabled:o,className:"text-tm24 text-t1 h-full w-full border-0 bg-transparent text-center font-semibold outline-none"})},t)})})});w.displayName="OTPInput"},71591:(e,t,l)=>{l.d(t,{v:()=>s});var n=l(79237),r=l(38113),a=l(65375);let s=r.forwardRef((e,t)=>
1(0,n.jsx)(a.B,{ref:t,viewBox:"0 0 1024 1024",...e,children:(0,n.jsx)("path",{d:"M85.333333 512c0 235.648 191.018667 426.666667 426.666667 426.666667s426.666667-191.018667 426.666667-426.666667S747.648 85.333333 512 85.333333 85.333333 276.352 85.333333 512z m549.76-183.253333a42.538667 42.538667 0 0 1 60.16 60.16l-111.786666 111.786666a16 16 0 0 0 0 22.613334l111.786666 111.786666a42.538667 42.538667 0 1 1-60.16 60.16l-111.786666-111.786666a16 16 0 0 0-22.613334 0l-111.786666 111.786666a42.538667 42.538667 0 1 1-60.16-60.16l111.786666-111.786666a16 16 0 0 0 0-22.613334l-111.786666-111.786666a42.538667 42.538667 0 0 1 60.16-60.16l111.786666 111.786666a16 16 0 0 0 22.613334 0l111.786666-111.786666z"})}));s.displayName="ClearIcon"},87042:(e,t,l)=>{l.d(t,{W:()=>s});var n=l(79237),r=l(38113),a=l(65375);let s=r.forwardRef((e,t)=>(0,n.jsx)(a.B,{ref:t,viewBox:"0 0 1024 1024",...e,children:(0,n.jsx)("path",{d:"M810.666667 499.2a311.466667 311.466667 0 1 0-311.466667 311.466667c83.626667 0 159.530667-33.066667 215.466667-86.698667a51.370667 51.370667 0 0 1 9.258666-9.216A310.314667 310.314667 0 0 0 810.666667 499.2z m102.4 0a411.946667 411.946667 0 0 1-87.296 254.122667l98.730666 98.773333a51.2 51.2 0 0 1-72.405333 72.405333l-98.773333-98.730666A411.946667 411.946667 0 0 1 499.2 913.066667c-228.565333 0-413.866667-185.301333-413.866667-413.866667C85.333333 270.634667 270.634667 85.333333 499.2 85.333333c228.565333 0 413.866667 185.301333 413.866667 413.866667z"})}));s.displayName="SearchIcon"}}]);

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.