PageSourceSearch

https://cuebicai.com/_next/static/chunks/6857.094980344474fde2.js

js cuebicai.com collected 2026-10-04 13:37:02 UTC 6,049 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="aabafc5a-6743-4f09-9f0a-295fc1aef662",e._sentryDebugIdIdentifier="sentry-dbid-aabafc5a-6743-4f09-9f0a-295fc1aef662")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6857],{3998:(e,a,t)=>{t.d(a,{$:()=>l});var n=t(95155),s=t(12115),o=t(32467),r=t(83101),i=t(64269);let d=(0,r.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-7 rounded-md px-1.5",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=s.forwardRef((e,a)=>{let{className:t,variant:s,size:r,asChild:l=!1,...c}=e,m=l?o.DX:"button";return(0,n.jsx)(m,{className:(0,i.cn)(d({variant:s,size:r,className:t})),ref:a,...c})});l.displayName="Button"},51834:(e,a,t)=>{t.d(a,{Cf:()=>m,L3:()=>u,c7:()=>f,lG:()=>d,rr:()=>g});var n=t(95155),s=t(12115),o=t(76297),r=t(65229),i=t(64269);let d=o.bL;o.l9;let l=o.ZL;o.bm;let c=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,n.jsx)(o.hJ,{ref:a,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...s})});c.displayName=o.hJ.displayName;let m=s.forwardRef((e,a)=>{let{className:t,children:s,hideCloseButton:d=!1,...m}=e;return(0,n.jsxs)(l,{children:[(0,n.jsx)(c,{}),(0,n.jsxs)(o.UC,{ref:a,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid max-sm:w-[95%] max-2xl:max-w-sm w-full max-w-md translate-x-[-50%] translate-y-[-50%] gap-4 max-lg:gap-2.5 max-md:gap-1.5 border bg-background p-6 max-lg:p-4 max-md:p-2 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-lg",t),...m,children:[s,(0,n.jsxs)(o.bm,{className:(0,i.cn)("absolute right-4 top-4 roun
1ded-full opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring focus:ring-ring focus:ring-offset disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",d&&"hidden"),children:[(0,n.jsx)(r.A,{className:"h-4 w-4  text-d2 bg-p5/65 rounded-full"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=o.UC.displayName;let f=e=>{let{className:a,...t}=e;return(0,n.jsx)("div",{className:(0,i.cn)("flex flex-col gap-2  max-lg:gap-0.5 ",a),...t})};f.displayName="DialogHeader";let u=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,n.jsx)(o.hE,{ref:a,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",t),...s})});u.displayName=o.hE.displayName;let g=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,n.jsx)(o.VY,{ref:a,className:(0,i.cn)("text-sm text-muted-foreground",t),...s})});g.displayName=o.VY.displayName},56857:(e,a,t)=>{t.r(a),t.d(a,{RemoveCustomDomainDialog:()=>g,default:()=>p});var n=t(95155),s=t(51834),o=t(12115),r=t(43281),i=t(15792),d=t(22544),l=t(33602),c=t(3998),m=t(76445),f=t(37106);let u=(0,l.u)(i.gR);function g(e){let{open:a,onOpenChange:t,data:i,isRemoveConfirm:l}=e,g=(0,d.mN)({resolver:u,mode:"onChange"}),{title:p,description:b}=(0,o.useMemo)(()=>({title:"Remove Custom Domain",description:'Removing the custom domain "'.concat(i.instance_custom_domain,'" from the "').concat(i.instance_name,'" instance will immediately detach it from this instance. \nThe instance will fall back to the default system domain. \nAny DNS records pointing to "').concat(i.instance_custom_domain,'" will stop working until reconfigured. \nThis action is safe but may cause temporary downtime if the domain is currently in active use.')}),[]),x=(0,o.useCallback)(e=>{"REMOVE"===e.removeConfirm&&(l(!0),t(!1))},[l,t]);return(0,n.jsx)(s.lG,{open:a,onOpenChange:t,modal:!0,children:(0,n.jsxs)(s.Cf,{hideCloseButton:!0,className:"bg-d2 border border-s3/70",onInteractOutside:e=>e.preventDefault(),children:[(0,n.jsxs)(s.c7,{children:[(0,n.jsx)(s.L3,{children:(0,n.jsx)("span",{className:"p1-extra-small text-p5 font-semibold",children:p})}),(0,n.jsx)(s.rr,{className:"sr-only",children:b}),(0,n.jsx)(m.A,{message:b,variant:"error"})]}),(0,n.jsx)("div",{className:"flex flex-col gap-3 max-lg:gap-2.5 max-md:gap-1.5",children:(0,n.jsx)(r.l
1V,{...g,children:(0,n.jsxs)("form",{onSubmit:g.handleSubmit(x),className:"flex flex-col gap-10 max-2xl:gap-8 max-lg:gap-6",children:[(0,n.jsx)(f.A,{control:g.control,name:"removeConfirm",label:'Type in "REMOVE" to confirm',placeholder:"REMOVE"}),(0,n.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,n.jsx)(c.$,{className:"btn hover:bg-s2 hover:border-p6 border-2 border-s3/50 bg-s2 transition-all duration-300",size:"sm",type:"button",onClick:()=>t(!1),children:"Cancel"}),(0,n.jsx)(c.$,{className:"btn bg-red-600/85 hover:bg-red-600 transition-all duration-300",size:"sm",type:"submit",children:"Remove Domain"})]})]})})})]})})}let p=g}}]);

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.