1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5783],{3461:(e,t,r)=>{r.d(t,{S:()=>o});var n=r(95155),l=r(38162);r(12115);var i=r(64690),a=r(3749);let o=e=>{let{className:t,ref:r,...o}=e;return(0,n.jsx)(l.bL,{ref:r,className:(0,i.cn)("peer border-primary ring-offset-background focus-visible:ring-ring data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground h-4 w-4 shrink-0 rounded-sm border focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",t),...o,children:(0,n.jsx)(l.C1,{className:(0,i.cn)("flex h-full w-full items-center justify-center text-current"),children:(0,n.jsx)(a.A,{className:"h-4 w-4"})})})}},6699:(e,t,r)=>{r.d(t,{FV:()=>v,Gv:()=>c,OK:()=>p,PQ:()=>o,TP:()=>d,Tv:()=>s,nZ:()=>f,q4:()=>u});var n=r(43619),l=r(36077),i=r(16090),a=r(33525);let o=e=>e.single_api_tenant_configuration,s=(e,t)=>{var r;return(0,a.Pm)(e)&&!!t&&(null==(r=o(e))?void 0:r.apiId)===t},c=e=>e.billingConsoleBillingInformation,d=e=>e.billingConsoleSubscriptionsAndUsage,u=(e,t)=>e.billingConsoleTransactions&&"Team"!==t,p=(e,t)=>e.billingConsolePayouts&&t.feat_transactions_payout,f=e=>(e=>{var t;return(0,a.Pm)(e)&&!!(null==(t=o(e))?void 0:t.apiId)})(e),v=()=>{let{configs:e,isLoading:t}=(0,i.A)(),{activeCtx:r}=(0,l.j)(),a=(0,n.I)();return[!(!e.feat_billing||(null==r?void 0:r.type)!=="Team"&&!a),t]}},10082:(e,t,r)=>{r.d(t,{Tl:()=>i,__:()=>s,de:()=>a,kQ:()=>c,t2:()=>o});var n=r(46671),l=r.n(n);let i=(e,t)=>{let r=new Set(e.map(e=>e.id)),n=l()(t).filter(e=>{var t;return!r.has(null!=(t=e.group)?t:"")}).orderBy(["index","asc"]).value();return{groupedEndpoints:l()(e).orderBy(["index","asc"]).map(e=>{let r=l()(t).compact().filter(t=>t.group===e.id).orderBy(["index","asc"]).value();return l().isEmpty(r)?null:{group:e,groupEndpoints:r}}).compact().value(),noGroupEndpoints:n}},a={POST:"text-green-500",GET:"text-blue-500",PUT:"text-yellow-500",DELETE:"text-red-500",PATCH:"text-purple-500"},o="No endpoints found",s="No endpoints found for your search. Consider trying a different keyword or exploring our categories for related information.",c="flex w-full flex-col items-center justify-center text-center"},13145:(e,t,r)=>{r.d(t,{RecaptchaProvider:()=>a});var n=r(95155),l=r(80475),i=r(16090);let a=e=>{let{children:t}=e,{configs:r}=(0,i.A)();return(0,n.jsx)(l.A,{reCaptchaKey:r.RECAPTCHA_V3_SITE_KEY,useRecaptchaNet:!0,children:t})}},17600:(e,t,r)=>{r.d(t,{Label:()=>s});var n=r(95155),l=r(10489),i=r(83101);r(12115);var a=r(64690);let o=(0,i.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),s=e=>{let{className:t,ref:r,...i}=e;return(0,n.jsx)(l.b,{ref:r,className:(0,a.cn)(o(),t),...i})}},18759:(e,t,r)=>{r.d(t,{X:()=>n.A});var n=r(6239)},31095:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(95155),l=r(64893),i=r(64690);let a=e=>{var t,r;let{thumbnail:a,className:o,entityName:s=""}=e;return(0,n.jsxs)(l.eu,{className:(0,i.cn)("border-input h-8 w-8 cursor-default items-center border shadow dark:border-slate-500",o),children:[(0,n.jsx)(l.BK,{className:"h-full w-full",src:a,alt:"".concat(s||"Entity"," thumbnail")}),(0,n.jsx)(l.q5,{className:"bg-background text-primary hover:no-underline!",children:null==(r=null!=s?s:"")||null==(t=r[0])?void 0:t.toUpperCase()})]})}},34524:(e,t,r)=>{r.d(t,{p:()=>i});var n=r(95155);r(12115);var l=r(64690);let i=e=>{let{className:t,type:r,ref:i,...a}=e;return(0,n.jsx)("input",{type:r,className:(0,l.cn)("focus-visible:none border-input bg-background ring-offset-background placeholder:text-muted-foreground flex h-10 w-full rounded-md border px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",t),ref:i,...a})}},34732:(e,t,r)=>{r.d(t,{RL:()=>a,_j:()=>i,kW:()=>l});var n=r(54301);let l=(0,n.NW)("string"),i=(0,n.NW)("string.numeric.parse"),a=(0,n.NW)("string.json.parse").pipe((0,n.NW)("boolean"))},37783:(e,t,r)=>{r.d(t,{Af:()=>i,pg:()=>a,sH:()=>o});var n=r(95155),l=r(64690);let i=e=>{let{className:t,children:r}=e;return(0,n.jsx)("aside",{className:(0,l.cn)("border-menu-separator bg-menu
1-background flex w-72 shrink-0 flex-col overflow-y-auto border-r text-xs leading-none font-normal dark:border-zinc-700",t),children:r})},a=e=>{let{className:t,children:r}=e;return(0,n.jsx)("nav",{className:(0,l.cn)("mx-4 mt-6 flex flex-1 flex-col gap-0.5 text-gray-900 dark:text-white",t),children:r})},o=e=>{let{label:t,children:r}=e;return(0,n.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,n.jsx)("div",{className:"inline-flex h-9 py-2",children:(0,n.jsx)("div",{className:"inline-flex h-4 px-[5px]",children:(0,n.jsx)("div",{className:"text-menu-primary font-bold",children:t})})}),(0,n.jsx)("div",{className:"flex flex-col gap-0.5 pl-[5px]",children:r})]})}},41741:(e,t,r)=>{r.d(t,{yX:()=>o,DA:()=>u,Sf:()=>a,wt:()=>d,yF:()=>c});var n=r(9330),l=r(46671);let i=/hsl\(\s*(\d+)\s* \s*(\d+(?:\.\d+)?%)\s* \s*(\d+(?:\.\d+)?%)\)/g;function a(e){if(!e.match(i))return null;let t=i.exec(e).slice(1),r=Number(t[0]),l=Number(t[1].slice(0,-1)),a=Number(t[2].slice(0,-1));return"#".concat(n.hsl.hex([r,l,a]))}function o(e){e=e.replace(/#/g,"");let t=n.hex.hsl(e);return{h:t[0],s:t[1],l:t[2]}}let s=e=>{let t=Object.keys(e).reduce((t,r)=>t={...t,...e[r]},{});return Object.keys(t).reduce((e,r)=>e+="".concat(r,": ").concat(t[r].value,";\n"),"")},c=e=>":root {\n ".concat(s(e.light),"\n }\n \n .dark {\n ").concat(s(e.dark),"\n }"),d=(e,t,r)=>r?JSON.parse(r):(0,l.merge)({},t,e),u=(e,t)=>{let r={};return(0,l.forEach)(e,(e,n)=>{let i=(0,l.pickBy)(e,e=>e.title.toLowerCase().includes(t.toLowerCase()));(0,l.isEmpty)(i)||(r[n]=i)}),r}},43074:(e,t,r)=>{r.d(t,{BA:()=>l,br:()=>i,hM:()=>a});var n=r(94821);let l=e=>{if(!e)return n.S.INITIAL;let t=[];return(e.forEach(e=>{var r;null==e||null==(r=e.products)||r.forEach(e=>{var r;null==e||null==(r=e.capabilities)||r.forEach(e=>{(null==e?void 0:e.status)&&t.push(e.status)})})}),t.length>0&&t.every(e=>e===n.S.DEACTIVATED))?n.S.DEACTIVATED:t.length>0&&t.every(e=>e===n.S.REJECTED)?n.S.REJECTED:t.some(e=>e===n.S.ACTIVE||e===n.S.APPROVED)?n.S.ACTIVE:n.S.PENDING},i=e=>{let t=e.reduce((e,t)=>{var r,n,l,i;let a=t.statusCounter;return a?{approved:e.approved+(null!=(r=a.approved)?r:0),rejected:e.rejected+(null!=(n=a.rejected)?n:0),pending:e.pending+(null!=(l=a.pending)?l:0),deactivated:e.deactivated+(null!=(i=a.deactivated)?i:0)}:e},{approved:0,rejected:0,pending:0,deactivated:0}),r=t.approved+t.rejected+t.pending+t.deactivated;return 0===r?n.S.PENDING:t.deactivated===r?n.S.DEACTIVATED:t.rejected===r?n.S.REJECTED:t.approved>0?n.S.ACTIVE:n.S.PENDING},a=(e,t,r)=>{t||e(l(r))}},43619:(e,t,r)=>{r.d(t,{I:()=>i});var n=r(36077),l=r(52422);let i=()=>{var e;let{activeCtx:t}=(0,n.j)();return(null==t?void 0:t.type)==="User"?(0,l.GP)(t.entityId):null==t||null==(e=t.organization)?void 0:e.isOrganizationAdmin}},51034:(e,t,r)=>{r.d(t,{d:()=>a});var n=r(95155),l=r(27599);r(12115);var i=r(64690);let a=e=>{let{rootClassName:t,thumbClassName:r,ref:a,...o}=e;return(0,n.jsx)(l.bL,{className:(0,i.cn)("peer bg-toggle-background focus-visible:ring-ring focus-visible:ring-offset-background inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",o.checked?"dark:bg-green-800":"",t),...o,ref:a,children:(0,n.jsx)(l.zi,{className:(0,i.cn)("bg-toggle-thumb pointer-events-none block h-5 w-5 rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0",r)})})}},57086:(e,t,r)=>{r.d(t,{T:()=>i});var n=r(95155);r(12115);var l=r(64690);let i=e=>{let{className:t,ref:r,...i}=e;return(0,n.jsx)("textarea",{className:(0,l.cn)("border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex min-h-[80px] w-full rounded-md border px-3 py-2 text-sm focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...i})}},57823:(e,t,r)=>{r.d(t,{e:()=>c});var n=r(95155),l=r(10378),i=r(16090),a=r(20063),o=r(62670),s=r(27084);let c=e=>{let{icon:t,label:r}=e,{activeUser:c,configs:d}=(0,i.A)(),u=(0,a.useRouter)(),p=(0,s.c)(d,"/hub");return(0,n.jsx)(n.Fragment,{children:c?(0,n.jsx)(o.O,{...e}):(0,n.jsxs)("div",{className:"inline-flex h-9 items-center justify-between rounded py-2",children:[(0,n.jsxs)("div",{className:"inline-flex h-4 items-center justify-start gap-1.5 px-[5px] text-gray-900 opacity-30 dark:text-gray-200",children:[t&&(0,n.jsx)("div",{className:"inline-flex h-4 w-4 items-center justify-center",children:t}),(0,n.jsx)("div",{children:r})]}),(0,n.jsx)(l.$,{variant:"default",className:"h-6 text-xs",onClick:()=>u.push(p),children:"Sign Up"})]})})}},58553:(e,t,r)=>{r.d(t,{w:()=>a});
1var n=r(95155),l=r(57268);r(12115);var i=r(64690);let a=e=>{let{className:t,orientation:r="horizontal",decorative:a=!0,ref:o,...s}=e;return(0,n.jsx)(l.b,{ref:o,decorative:a,orientation:r,className:(0,i.cn)("bg-border shrink-0","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",t),...s})}},62670:(e,t,r)=>{r.d(t,{I:()=>d,O:()=>c});var n=r(95155),l=r(89333),i=r(64690),a=r(52619),o=r.n(a),s=r(20063);let c=e=>{let{icon:t,label:r,route:a,tooltipContent:c,className:d,isDisabled:u=!1,shouldOpenInNewTab:p=!1}=e,f=(0,s.usePathname)().includes(a),v=f?"bg-menu-chosen-background":"hover:bg-menu-hover-background";return u?(0,n.jsx)(l.Bc,{children:(0,n.jsxs)(l.m_,{children:[(0,n.jsx)(l.k$,{"aria-label":"Side menu item",className:"inline-flex h-9 cursor-not-allowed items-center rounded py-2 text-gray-400 transition-colors duration-300 hover:no-underline dark:text-gray-500 ".concat(v),children:(0,n.jsx)("div",{className:"inline-flex h-9 items-center rounded py-2 text-gray-400 dark:text-gray-500",children:(0,n.jsxs)("div",{className:"inline-flex h-4 items-center justify-start gap-1.5 px-[5px]",children:[t&&(0,n.jsx)("div",{className:"inline-flex h-4 w-4 items-center justify-center",children:t}),(0,n.jsx)("div",{children:r})]})})}),(0,n.jsx)(l.ZI,{children:(0,n.jsx)("div",{style:{maxWidth:"400px"},children:c})})]})}):(0,n.jsx)(o(),{href:a,target:p?"_blank":void 0,className:(0,i.cn)("inline-flex h-9 items-center rounded py-2 text-gray-900 transition-colors duration-300 hover:no-underline dark:text-white",v,f?"text-menu-chosen-text":"text-menu-primary hover:text-menu-hover-text",d),children:(0,n.jsxs)("div",{className:"inline-flex h-4 items-center justify-start gap-1.5 px-[5px]",children:[t&&(0,n.jsx)("div",{className:"inline-flex h-4 w-4 items-center justify-center",children:t}),(0,n.jsx)("div",{children:r})]})})},d=e=>{let{className:t}=e;return(0,n.jsx)("div",{className:(0,i.cn)("inline-flex h-5 items-center py-2",t),children:(0,n.jsx)("div",{className:"inline-flex grow border-b px-1.25"})})}},64069:(e,t,r)=>{r.d(t,{$:()=>c});var n=r(95155),l=r(89333),i=r(64690),a=r(44693),o=r(12115);let s=r(49811).CopyToClipboard,c=e=>{var t;let{text:r,className:c,children:d}=e,[u,p]=(0,o.useState)(!1),f=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>(u&&(f.current=setTimeout(()=>p(!1),1500)),()=>{f.current&&clearTimeout(f.current)}),[u]),(0,n.jsx)("div",{className:(0,i.cn)("flex gap-[20px] hover:cursor-pointer",c),children:(0,n.jsx)(l.Bc,{children:(0,n.jsxs)(l.m_,{open:u,children:[(0,n.jsx)(l.k$,{"aria-label":(null==r?void 0:r.length)?"Copy Text":"Copy Link",children:(0,n.jsx)(s,{text:null!=r?r:(0,a.S$)()?"":null==(t=window)?void 0:t.location.href,onCopy:()=>p(!0),children:d})}),(0,n.jsx)(l.ZI,{children:(null==r?void 0:r.length)?"Text Copied!":"Link Copied!"})]})})})}},64893:(e,t,r)=>{r.d(t,{BK:()=>s,eu:()=>o,q5:()=>c});var n=r(95155),l=r(7870);r(12115);var i=r(64690),a=r(97122);let o=e=>{let{className:t,ref:r,...a}=e;return(0,n.jsx)(l.bL,{ref:r,className:(0,i.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...a})};o.displayName=l.bL.displayName;let s=e=>{let{className:t,src:r,ref:o,...s}=e,c=(0,a.EV)(null!=r?r:"");return(0,n.jsx)(l._V,{ref:o,className:(0,i.cn)("aspect-square h-full w-full",t),src:c,...s})};s.displayName=l._V.displayName;let c=e=>{let{className:t,ref:r,...a}=e;return(0,n.jsx)(l.H4,{ref:r,className:(0,i.cn)("bg-muted flex h-full w-full items-center justify-center rounded-full",t),...a})};c.displayName=l.H4.displayName},85689:(e,t,r)=>{r.d(t,{A:()=>S});var n=r(95155),l=r(64690),i=r(7746),a=r(12115),o=r(45953),s=r(24514),c=r(3461);let d=e=>{let{innerProps:t,isDisabled:r,label:l,isSelected:i}=e;return r?null:(0,n.jsxs)("div",{...t,className:"rapid-select__option flex items-center px-2 py-0.5",children:[(0,n.jsx)(c.S,{className:"mr-2",name:l,checked:!!i&&"indeterminate"}),(0,n.jsx)("span",{className:"cursor-default truncate text-xs font-normal",children:l})]})};var u=r(46034),p=r(47650);let f=(0,a.createContext)(null),v=()=>{let e=(0,a.useContext)(f);if(!e)throw Error("Searchable Select components must be rendered inside their provider.");return e},m=(e,t)=>
1{"function"==typeof e?e(t):e&&(e.current=t)},h=e=>{let{children:t,listRef:r,searchPlaceholder:l}=e,[i,o]=(0,a.useState)(null),s=(0,a.useRef)(null),c=(0,a.useMemo)(()=>({inputHost:i,listRef:r,searchInputRef:s,searchPlaceholder:l,setInputHost:o}),[i,r,l]);return(0,n.jsx)(f.Provider,{value:c,children:t})},x=e=>{let{InputComponent:t,...r}=e,{inputHost:i,searchInputRef:o,searchPlaceholder:s}=v(),{getStyles:c}=r,d=(0,a.useCallback)((e,t)=>{let r=c(e,t);return"input"!==e?r:{...r,gridTemplateColumns:"minmax(0, 1fr) 0",margin:0,padding:0,width:"100%","&:after":{display:"none"}}},[c]),u=(0,a.useCallback)(e=>{o.current=e,m(r.innerRef,e)},[r.innerRef,o]);return((0,a.useLayoutEffect)(()=>{let e=o.current;if(e)try{e.focus({preventScroll:!0})}catch(t){e.focus()}},[i,o]),i)?(0,p.createPortal)((0,n.jsx)(t,{...r,className:(0,l.cn)(r.className,"m-0 w-full p-0"),inputClassName:(0,l.cn)(r.inputClassName,"placeholder:text-muted-foreground h-10 w-full bg-transparent py-3 text-sm outline-none"),getStyles:d,innerRef:u,isHidden:!1,placeholder:s,style:{...r.style,gridArea:"1 / 1",minWidth:0}}),i):(0,n.jsx)(t,{...r,innerRef:u,isHidden:!0})},g=e=>"string"==typeof e?e:"number"==typeof e?String(e):void 0,b=(e,t)=>"string"==typeof e||"number"==typeof e?e:e&&"object"==typeof e?e[t]:void 0,y=(e,t,r)=>{if(!t)return b(e,r);try{return t(e)}catch(t){return b(e,r)}},j=e=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").trim().toLocaleLowerCase(),w=(e,t,r)=>{let n=j(t);if(!n)return 0;let{additional:l,label:i,value:a}=((e,t)=>{var r;let n=g(y(e,t.getOptionLabel,"label")),l=g(y(e,t.getOptionValue,"value")),i=null==(r=t.getOptionSearchText)?void 0:r.call(t,e);return{additional:(Array.isArray(i)?i:null==i?[]:[i]).map(g).filter(e=>void 0!==e),label:n,value:l}})(e,r),o=i?j(i):void 0,s=[a,...l].filter(e=>void 0!==e).map(j);return(null==o?void 0:o.startsWith(n))?3:s.some(e=>e.startsWith(n))?2:(null==o?void 0:o.includes(n))||s.some(e=>e.includes(n))?1:-1},N=e=>"object"==typeof e&&null!==e&&Array.isArray(e.options),k=(e,t,r)=>{let n=e.map((e,n)=>({index:n,option:e,score:w(e,t,r)})).sort((e,t)=>t.score-e.score||e.index-t.index).map(e=>{let{option:t}=e;return t});return n.every((t,r)=>t===e[r])?e:n},C=()=>null,E=e=>(0,n.jsx)(o.c.Option,{...e,children:(0,n.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:[(0,n.jsx)("span",{className:"min-w-0 flex-1 truncate",children:e.children}),(0,n.jsx)(i.A,{"aria-hidden":"true",className:(0,l.cn)("ml-auto h-4 w-4 shrink-0",e.isSelected?"opacity-100":"opacity-0")})]})}),S=e=>{let{className:t,classNames:r,components:i,customComponents:c,defaultInputValue:p="",filterOption:f,getOptionLabel:g,getOptionSearchText:b,getOptionValue:y,hideMultiCheckbox:S,inputValue:A,isMulti:T,isSearchable:I=!0,menuIsOpen:P,menuShouldScrollIntoView:D,noOptionsMessage:O,onInputChange:L,options:R=[],ref:_,searchPlaceholder:M="Search...",style:V,...H}=e,[W,z]=(0,a.useState)(p),B=(0,a.useRef)(null),Y=void 0!==A,F=Y?A:W,G=(0,a.useMemo)(()=>({getOptionLabel:g,getOptionSearchText:b,getOptionValue:y}),[g,b,y]),U=(0,a.useMemo)(()=>(e,t)=>w(e.data,t,G)>=0,[G]),q=void 0===f?U:f,J=(0,a.useMemo)(()=>null===q?R:((e,t,r)=>{if(!j(t))return e;let n=!1,l=e.map(e=>{if(!N(e))return e;let l=k(e.options,t,r);return l===e.options?e:(n=!0,{...e,options:l})}),i=[],a=[];e.forEach((e,t)=>{N(e)||(i.push(t),a.push(e))});let o=k(a,t,r);return o!==a&&(n=!0,i.forEach((e,t)=>{l[e]=o[t]})),n?l:e})(R,F,G),[q,F,R,G]),K=(0,a.useCallback)((e,t)=>{let r=null==L?void 0:L(e,t),n="string"==typeof r?r:e;return Y||z(n),"input-change"===t.action&&B.current&&(B.current.scrollTop=0),r},[Y,L]),$=(0,a.useMemo)(()=>({ClearIndicator:C,Option:T&&!S?d:T?o.c.Option:E,...c}),[c,S,T]),X=null!=i?i:$,Z=(0,a.useMemo)(()=>{var e,t,r,i;return(e=>{let{Input:t,Menu:r,MenuList:i,NoOptionsMessage:o}=e;return{Input:e=>e.selectProps.menuIsOpen?(0,n.jsx)(x,{...e,InputComponent:t}):(0,n.jsx)(t,{...e}),Menu:e=>{let{searchInputRef:t,setInputHost:l}=v(),{onMouseDown:i,...a}=e.innerProps;return(0,n.jsxs)(r,{...e,innerProps:{...a,onMouseDown:e=>{if(e.target.closest("[data-select-search-input]"))return void e.stopPropagation();null==i||i(e)}},children:[(0,n.jsxs)("div",{className:"flex w-full items-center border-b px-3","data-select-search-row":!0,onMouseDown:e=>{var r;e.stopPropagation(),e.target.closest("input")||(e.preventDefault(),null==(r=t.current)||r.focus({preventScroll:!0}))},children:[(0,n.jsx)(u.A,{"aria-hidden":"true",className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,n.jsx)("div",{ref:l,className:"min-w-0 flex-1","data-select-search-input":!0})]}),e.children]})},MenuList:e=>{let{listRef:t}=v(),r=(0,a.useCallback)(r=>{t.current=r,m(e.innerRef,r)},[t,e.innerRef]);return(0,n.jsx)(i,{...e,innerRef:r})},NoOptionsMessage:e=>(0,n.jsx)(o,{...e,className:(0,l.cn)(e.className,"py-6 text-center text-sm")})}})({Input:null!=(e=X.Input)?e:o.c.Input,Menu:null!=(t=X.Menu)?t:o.c.Menu,MenuList:null!=(r=X.MenuList)?r:o.c.MenuList,NoOptionsMessage:null!=(i=X.NoOptionsMessage)?i:o.c.NoOptionsMessage})},[X]),Q=(0,a.useMemo)(()=>I?{...X,...Z}:X,[X,I,Z]),ee=(0,a.useMemo)(()=>null!=O?O:e=>{let{inputValue:t}=e;return t?"No results found.":"No options"},[O]),et=(0,n.jsx)(s.Ay,{className:(0,l.cn)("rapid-select-container",t),classNamePrefix:"rapid-select",styles:{container:e=>({...e,height:"34px",width:"100%",color:"hsl(var(--foreground))",background:"hsl(var(--popover))",fontSize:"0.875rem",lineHeight:"1.25rem",...null==V?void 0:V.container}),input:e=>({...e,color:"hsl(var(--secondary))",fontSize:"0.875rem",lineHeight:"1.25rem",...null==V?void 0:V.input}),singleValue:e=>({...e,color:"hsl(var(--secondary))",fontSize:"0.875rem",lineHeight:"1.25rem",...null==V?void 0:V.singleValue}),placeholder:e=>({...e,fontSize:"12px",color:"hsl(var(--secondary))",lineHeight:"1.25rem",...null==V?void 0:V.placeholder}),control:(e,t)=>({...e,flexWrap:"wrap",minHeight:"30px",height:"34px",cursor:"pointer",borderWidth:"1px",borderColor:"hsl(var(--border))",backgroundColor:"hsl(var(--popover))",...P?{borderWidth:"1px"}:{}
1,...t.isFocused?{boxShadow:"none",outline:"2px solid transparent",outlineOffset:"2px"}:{},"&.rapid-select__control--is-focused":{boxShadow:"none",outline:"2px solid transparent",outlineOffset:"2px"},"&.rapid-select__control--menu-is-open":{borderWidth:"1px"},...null==V?void 0:V.control}),valueContainer:(e,t)=>({...e,...null==V?void 0:V.valueContainer}),indicatorsContainer:(e,t)=>({...e,height:"34px",backgroundColor:"transparent",...null==V?void 0:V.indicatorsContainer}),indicatorSeparator:e=>({...e,backgroundColor:"hsl(var(--border))"}),menu:(e,t)=>({...e,borderWidth:"1px",backgroundColor:"hsl(var(--popover))",color:"hsl(var(--popover-foreground))",padding:0,width:"100%",maxWidth:"calc(100vw - 1.25rem)",boxShadow:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",...null==V?void 0:V.menu}),menuPortal:e=>({...e,...null==V?void 0:V.menuPortal}),menuList:e=>({...e,maxHeight:"200px",padding:"0.25rem","@media (min-width: 640px)":{maxHeight:"270px"},...null==V?void 0:V.menuList}),noOptionsMessage:e=>({...e,color:"hsl(var(--popover-foreground))",padding:"1.5rem 0.5rem",textAlign:"center",fontSize:"0.875rem",...null==V?void 0:V.noOptionsMessage}),option:e=>({...e,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",borderRadius:"0.125rem",backgroundColor:"hsl(var(--popover))",paddingTop:"0.375rem",paddingBottom:"0.375rem",fontSize:"0.875rem",lineHeight:"1.25rem",color:"hsl(var(--popover-foreground))",":hover":{backgroundColor:"hsl(var(--accent))",color:"hsl(var(--accent-foreground))"},":focus":{backgroundColor:"hsl(var(--accent))"},"&.rapid-select__option--is-focused":{backgroundColor:"hsl(var(--accent))"},...null==V?void 0:V.option}),dropdownIndicator:e=>({...e,opacity:"0.5","& > svg":{height:"1rem",width:"1rem"},...null==V?void 0:V.dropdownIndicator})},ref:_,classNames:r,components:Q,filterOption:q,getOptionLabel:g,getOptionValue:y,inputValue:F,isMulti:T,isSearchable:I,menuIsOpen:P,menuShouldScrollIntoView:null!=D?D:!I&&void 0,noOptionsMessage:ee,onInputChange:K,options:J,...H});return I?(0,n.jsx)(h,{listRef:B,searchPlaceholder:M,children:et}):et}},86202:(e,t,r)=>{r.d(t,{Xi:()=>u,av:()=>p,j7:()=>d,tU:()=>c});var n=r(95155),l=r(25667);r(12115);var i=r(64690),a=r(83101);let o=(0,a.F)("inline-flex h-9 items-center justify-center",{variants:{variant:{default:"rounded-lg bg-muted p-[2px] text-muted-foreground",links:"gap-3 text-muted-foreground"}},defaultVariants:{variant:"default"}}),s=(0,a.F)("inline-flex ring-offset-background items-center data-[state=active]:text-foreground hover:cursor-pointer justify-center whitespace-nowrap transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"rounded-md h-full px-3 py-1 text-sm font-medium data-[state=active]:bg-background data-[state=active]:shadow",links:"h-full px-2 py-2 text-xs font-normal text-gray-500 data-[state=active]:border-b-2 data-[state=active]:border-breadcrumb-selected-border"}},defaultVariants:{variant:"default"}}),c=l.bL,d=e=>{let{className:t,variant:r,ref:a,...s}=e;return(0,n.jsx)(l.B8,{ref:a,className:(0,i.cn)(o({variant:r,className:t})),...s})},u=e=>{let{className:t,variant:r,ref:a,...o}=e;return(0,n.jsx)(l.l9,{ref:a,className:(0,i.cn)(s({variant:r,className:t})),...o})},p=e=>{let{className:t,ref:r,...a}=e;return(0,n.jsx)(l.UC,{ref:r,className:(0,i.cn)("ring-offset-background focus-visible:ring-ring mt-2 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none",t),...a})}},88713:(e,t,r)=>{r.d(t,{Y:()=>c});var n=r(64690),l=r(16620),i=r(20063),a=r(12115),o=r(93324);let s=(e,t,r)=>{if(!e)return r;let n=t["~standard"].validate(e);if(n instanceof Promise)throw TypeError("Asynchronous schema validation is not supported");return n.issues?(o.v.error(n.issues.map(e=>e.message)),r):n.value},c=(e,t,r)=>{var o;let c=(0,n.r9)();(0,i.useSearchParams)();let d=null!=(o=new URLSearchParams(window.location.search).get(e))?o:void 0,u=(0,a.useRef)(null);(0,a.useMemo)(()=>{let e=s(d,t,r);(0,l.isEqual)(e,u.current)||(u.current=e)},[r,t,d]);let p=(0,a.useCallback)(n=>{let i=u.current,a="function"==typeof n?n(i):n;
1if(""===a&&(a=void 0),(0,l.isEqual)(a,i))return;let o=(0,l.isEqual)(a,r)?void 0:(e=>{if(void 0!==e)return null===e||e instanceof Object?JSON.stringify(e):e.toString()})(a),d=new URLSearchParams(window.location.search);void 0===o?d.delete(e):d.set(e,o),u.current=s(o,t,r);let p=d.toString();c("?".concat(p))},[r,e,t,c]);return[u.current,p]}},91896:(e,t,r)=>{r.d(t,{Ke:()=>a,Nt:()=>l,R6:()=>i});var n=r(57259);let l=n.bL,i=n.R6,a=n.Ke},94821:(e,t,r)=>{r.d(t,{S:()=>i.S,L:()=>u});var n=r(95155);r(12115);var l=r(18759),i=r(98800),a=r(28793),o=r(90605),s=r(36834),c=r(88713),d=r(34732);let u=e=>{let t,{status:r,onCreateProfile:u,onActivateApplication:p}=e,[,f]=(0,c.Y)("applicationSetup",d.RL,!1),v=(t=()=>f(!0),{initial:{title:"Create an application profile to unlock live networks!",description:"In order to access live networks you need to register your application with network providers, create an application profile and register your application using the button below.",icon:null,buttonContent:(0,n.jsxs)("div",{onClick:t,className:"flex items-center",children:[(0,n.jsx)("p",{children:"Create application profile"}),(0,n.jsx)(a.A,{className:"ml-[2px] h-4 w-4"})]})},[i.S.PENDING]:{title:"Your application profile is pending network provider approval",description:"Your application profile has been sent to network providers for registry. Follow the progress on your application profile page, you can only make calls towards approved network providers.",icon:(0,n.jsx)(s.A,{fill:"#F7B737",className:"mr-2 h-6 w-6"}),buttonContent:""},[i.S.ACTIVE]:{title:"You are all set!",description:"Your application has now at least one approved network provider. API calls to unapproved network providers will fail. Check the status of approvals from your application profile.",icon:(0,n.jsx)(o.A,{fill:"#22C55E",className:"mr-2 h-6 w-6"}),buttonContent:""},[i.S.APPROVED]:{title:"You are all set!",description:"Your application has now at least one approved network provider. API calls to unapproved network providers will fail. Check the status of approvals from your application profile.",icon:(0,n.jsx)(o.A,{fill:"#22C55E",className:"mr-2 h-6 w-6"}),buttonContent:""},[i.S.DEACTIVATED]:{title:"Your application is deactivated",description:"Call towards live networks aren't available in a deactivated application.",icon:null,buttonContent:(0,n.jsx)("p",{children:"Activate application"})},[i.S.REJECTED]:{title:"Your application has been rejected",description:"Your application was rejected by network providers.",icon:null,buttonContent:""}}),m=null==v?void 0:v[null!=r?r:"initial"];if(!m)return null;let h=!!m.buttonContent;return(0,n.jsx)(l.X,{textClassName:"w-full",isMarkDownEnabled:!1,titleIcon:m.icon,titleClassName:"text-xl",buttonText:m.buttonContent,buttonLink:h?()=>{r===i.S.PENDING?null==u||u():r===i.S.DEACTIVATED&&(null==p||p())}:void 0,title:m.title,description:m.description})}},98553:(e,t,r)=>{r.d(t,{_:()=>a,a:()=>o});var n=r(95155),l=r(78295),i=r(64690);r(12115);let a=e=>{let{children:t,className:r}=e;return(0,n.jsx)("div",{className:(0,i.cn)("bg-background/70 absolute inset-0 z-10 flex flex-col items-center justify-center",r),children:t})},o=e=>{let{children:t,loading:r,loadingMsg:o,className:s}=e;return(0,n.jsxs)("div",{"data-state":r?"loading":"static",className:(0,i.cn)("relative data-[state=loading]:pointer-events-none data-[state=loading]:select-none",s),children:[r&&(0,n.jsx)(a,{children:(0,n.jsx)(l.a,{className:"h-8 w-8 opacity-70",children:o})}),t]})}},98800:(e,t,r)=>{r.d(t,{S:()=>n});var n=function(e){return e.PENDING="pending",e.APPROVED="approved",e.ENABLED="enable",e.REJECTED="rejected",e.ACTIVE="active",e.DEACTIVATED="deactivated",e.INITIAL="initial",e}({})}}]);
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.