1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81472],{18680:(e,i,o)=>{o.d(i,{n:()=>r});var t=o(49687);o(7620);var n=o(15601);let r=({modalRoot:e,containerSx:i,...o})=>(0,n.Y)(t.Modal,{...o,portalRoot:e,containerSx:[[{alignItems:"center"},e?e=>({position:"absolute",insetInlineEnd:0,bottom:0,backgroundColor:"inherit",backdropFilter:`blur(${e.sizes.$2})`,display:"flex",justifyContent:"center",minHeight:"100%",height:"100%",width:"100%",borderRadius:e.radii.$lg}):{}],i]})},98793:(e,i,o)=>{o.r(i),o.d(i,{RevokeAPIKeyConfirmationModal:()=>h});var t=o(95859),n=o(12786),r=o(42164),a=o(44807),l=o(10839),s=o(2820),d=o(8209),p=o(51099),m=o(18680),c=o(87877),u=o(15601);let h=({isOpen:e,onOpen:i,onClose:o,apiKeyID:h,apiKeyName:k,onRevokeSuccess:v,modalRoot:f})=>{let y=(0,c.ho)(),{t:b}=(0,n._)(),C=(0,r.tJ)("apiKeyRevokeConfirmation","",{type:"text",label:(0,t.G)("apiKeys.revokeConfirmation.inputLabel"),placeholder:(0,t.G)("apiKeys.revokeConfirmation.confirmationText"),isRequired:!0}),$=C.value===(b((0,t.G)("apiKeys.revokeConfirmation.confirmationText"))||"Revoke"),R=()=>{o(),C.setValue("")},K=async e=>{e.preventDefault(),h&&$&&(await y.apiKeys.revoke({apiKeyID:h}),v?.(),R())};return e?(0,u.Y)(m.n,{handleOpen:i,handleClose:R,canCloseModal:!1,modalRoot:f,children:(0,u.Y)(l.Z.Root,{role:"alertdialog",elementDescriptor:a.$.apiKeysRevokeModal,children:(0,u.Y)(l.Z.Content,{sx:e=>({textAlign:"start",padding:`${e.sizes.$4} ${e.sizes.$5} ${e.sizes.$4} ${e.sizes.$6}`}),children:(0,u.Y)(p.M,{headerTitle:(0,t.G)("apiKeys.revokeConfirmation.formTitle",{apiKeyName:k}),headerSubtitle:(0,t.G)("apiKeys.revokeConfirmation.formHint"),children:(0,u.FD)(s.l.Root,{onSubmit:K,children:[(0,u.Y)(s.l.ControlRow,{elementId:C.id,elementDescriptor:a.$.apiKeysRevokeModalInput,children:(0,u.Y)(s.l.PlainInput,{...C.props})}),(0,u.Y)(d.G,{submitLabel:(0,t.G)("apiKeys.revokeConfirmation.formButtonPrimary__revoke"),colorScheme:"danger",isDisabled:!$,onReset:R,elementDescriptor:a.$.apiKeysRevokeModalSubmitButton})]})})})})}):null}}}]);
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.