PageSourceSearch

https://sync.so/_next/static/immutable/chunks/2eqktbqlesr74.js

js sync.so collected 2026-09-25 14:11:55 UTC 76,817 bytes, 13 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="277195b1-3ebf-f579-fe20-5854db061c8e")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,678954,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.AlertAction=void 0;let n=e.r(898074),s=e.r(199598),o=({className:e,ref:t,...r})=>(0,n.jsx)("div",{ref:t,"data-slot":"alert-action",className:(0,s.cn)("[&[data-slot=alert-action]]:pl-0",e),...r});r.AlertAction=o,o.displayName="AlertAction"},782989,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.AlertClose=void 0;let n=e.r(898074),s=e.r(783042),o=e.r(199598),i=({className:e,ref:t,...r})=>(0,n.jsx)(s.FloatingCloseButton,{ref:t,"data-slot":"alert-close",className:(0,o.cn)("[&[data-slot=alert-close]]:pl-0",e),...r});r.AlertClose=i,i.displayName="AlertClose"},547302,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.AlertDescription=void 0;let n=e.r(898074),s=e.r(199598),o=({className:e,ref:t,...r})=>(0,n.jsx)("div",{ref:t,"data-slot":"alert-description",className:(0,s.cn)("font-medium text-muted-foreground",e),...r});r.AlertDescription=o,o.displayName="AlertDescription"},773183,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.AlertTitle=void 0;let n=e.r(898074),s=e.r(199598),o=({className:e,ref:t,...r})=>(0,n.jsx)("div",{ref:t,"data-slot":"alert-title",className:(0,s.cn)("text-sm leading-4 font-medium",e),...r});r.AlertTitle=o,o.displayName="AlertTitle"},311374,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.alertVariants=void 0,r.alertVariants=(0,e.r(183451).cva)("relative w-full rounded-md border shadow-lg has-[[data-slot=alert-action]]:grid has-[[data-slot=alert-action]]:grid-cols-[minmax(0,1fr)_auto] has-[[data-slot=alert-action]]:gap-x-4 [&>[data-slot=alert-action]]:col-start-2 [&>[data-slot=alert-action]]:row-span-2 [&>[data-slot=alert-action]]:row-start-1 [&>[data-slot=alert-action]]:self-center [&>svg]:absolute",{variants:{variant:{default:"border-border bg-panel text-foreground [&>svg]:text-secondary-foreground",destructive:"border-destructive bg-destructive/15 text-foreground [&>svg]:text-destructive",success:"border-success bg-success/15 text-foreground [&>svg]:text-success",warning:"border-primary bg-primary-subtle/15 text-foreground [&>svg]:text-primary",promo:"border-alternative bg-alternative/15 text-foreground [&>svg]:text-foreground","promo-subtle":"border-primary/30 bg-card text-foreground [&>svg]:text-primary"},size:{md:"p-6 [&_[data-slot=alert-description]]:text-sm [&_[data-slot=alert-description]]:leading-4 [&_[data-slot=alert-title]~[data-slot=alert-description]]:pt-2 [&>svg]:top-[calc(50%-0.75rem)] [&>svg]:left-6 [&>svg:not([class*='size-'])]:size-6 [&>svg~*]:pl-10",sm:"p-4 [&_[data-slot=alert-description]]:text-xs [&_[data-slot=alert-title]~[data-slot=alert-description]]:pt-1 [&>svg]:top-[calc(50%-0.625rem)] [&>svg]:left-4 [&>svg:not([class*='size-'])]:size-5 [&>svg~*]:pl-9",xs:"w-fit p-3 [&_[data-slot=alert-description]]:text-xs [&_[data-slot=alert-title]~[data-slot=alert-description]]:pt-1 [&>svg]:top-[calc(50%-0.5rem)] [&>svg]:left-3 [&>
2svg:not([class*='size-'])]:size-4 [&>svg~*]:pl-7"}},defaultVariants:{variant:"default",size:"md"}})},410297,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.AlertTitle=r.AlertDescription=r.AlertClose=r.AlertAction=r.Alert=void 0;let n=e.r(898074),s=e.r(678954);Object.defineProperty(r,"AlertAction",{enumerable:!0,get:function(){return s.AlertAction}});let o=e.r(782989);Object.defineProperty(r,"AlertClose",{enumerable:!0,get:function(){return o.AlertClose}});let i=e.r(547302);Object.defineProperty(r,"AlertDescription",{enumerable:!0,get:function(){return i.AlertDescription}});let l=e.r(773183);Object.defineProperty(r,"AlertTitle",{enumerable:!0,get:function(){return l.AlertTitle}});let d=e.r(311374),c=e.r(199598),u=({className:e,variant:t,size:r,ref:a,...s})=>(0,n.jsx)("div",{ref:a,role:"alert","data-slot":"alert",className:(0,c.cn)((0,d.alertVariants)({variant:t,size:r}),e),...s});r.Alert=u,u.displayName="Alert"},271820,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.cardDescriptionVariants=r.cardTitleVariants=r.cardVariants=void 0;let n=e.r(183451);r.cardVariants=(0,n.cva)("flex flex-col overflow-hidden border bg-card text-card-foreground",{variants:{variant:{default:"rounded-lg shadow-xs",flat:"rounded-md shadow-none",panel:"rounded-md bg-panel shadow-lg"},tone:{default:"",background:"bg-background"}
2,selected:{true:"border-foreground/50",false:""},padding:{none:"",xs:"p-2",sm:"p-4",md:"p-6"}},defaultVariants:{variant:"default",tone:"default",padding:"none"}}),r.cardTitleVariants=(0,n.cva)("text-2xl tracking-tight",{variants:{variant:{default:"leading-none font-semibold",stat:"leading-8 font-medium"}},defaultVariants:{variant:"default"}}),r.cardDescriptionVariants=(0,n.cva)("text-muted-foreground",{variants:{variant:{default:"text-sm",stat:"text-xs leading-4 font-medium"}},defaultVariants:{variant:"default"}})},102429,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.CardTitle=r.CardHeader=r.CardFooter=r.CardDescription=r.CardContent=r.Card=void 0;let n=e.r(898074),s=e.r(271820),o=e.r(199598),i=({className:e,variant:t,tone:r,padding:a,selected:i,ref:l,...d})=>(0,n.jsx)("div",{ref:l,className:(0,o.cn)((0,s.cardVariants)({variant:t,tone:r,padding:a,selected:i}),e),...d});r.Card=i,i.displayName="Card";let l=({className:e,ref:t,...r})=>(0,n.jsx)("div",{ref:t,className:(0,o.cn)("flex flex-col space-y-3 p-6",e),...r});r.CardHeader=l,l.displayName="CardHeader";let d=({className:e,variant:t,ref:r,...a})=>(0,n.jsx)("div",{ref:r,className:(0,o.cn)((0,s.cardTitleVariants)({variant:t}),e),...a});r.CardTitle=d,d.displayName="CardTitle";let c=({className:e,variant:t,ref:r,...a})=>(0,n.jsx)("div",{ref:r,className:(0,o.cn)((0,s.cardDescriptionVariants)({variant:t}),e),...a});r.CardDescription=c,c.displayName="CardDescription";let u=({className:e,ref:t,...r})=>(0,n.jsx)("div",{ref:t,className:(0,o.cn)("p-6 pt-0",e),...r});r.CardContent=u,u.displayName="CardContent";let p=({className:e,ref:t,...r})=>(0,n.jsx)("div",{ref:t,className:(0,o.cn)("flex items-center p-6 pt-0",e),...r});r.CardFooter=p,p.displayName="CardFooter"},958240,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.CrownTooltip=void 0;let n=e.r(898074),s=e.r(527570),o=e.r(890497),i=e.r(286562);r.CrownTooltip=({title:e,children:t})=>{let[r,a]=(0,o.useState)(!1);return(0,n.jsxs)(i.Tooltip,{open:r,onOpenChange:a,children:[(0,n.jsx)(i.TooltipTrigger,{type:"button",onClick:()=>a(!r),"aria-label":e,children:(0,n.jsx)(s.CrownIcon,{className:"size-4 text-primary"})}),(0,n.jsxs)(i.TooltipContent,{className:"max-w-xs",children:[(0,n.jsx)("p",{className:"mb-2 font-medium",children:e}),(0,n.jsx)("p",{className:"text-muted-foreground",children:t})]})]})}},520696,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.ClearPlaygroundButton=void 0;let n=e.r(898074),s=e.r(527570),o=e.r(547079),i=e.r(286562),l=e.r(199598);r.ClearPlaygroundButton=({onClear:e,disabled:t,isGenerating:r,variant:a="icon",className:d})=>{let c=t||r,u=t=>{t?.preventDefault(),e()};return"button"===a?(0,n.jsx)(o.Button,{onClick:u,disabled:c,size:"sm",className:d,children:"New Generation"}):(0,n.jsxs)(i.Tooltip,{children:[(0,n.jsx)(i.TooltipTrigger,{asChild:!0,children:(0,n.jsx)(o.Button,{onClick:u,className:(0,l.cn)("z-30",d),variant:"ghost",disabled:c,icon:(0,n.jsx)(s.EraserIcon,{className:"size-4"}),size:"icon-sm","aria-label":"Clear the playground"})}),(0,n.jsx)(i.TooltipContent,{children:c?"Cannot clear while generating":"Clear the playground"})]})}},705437,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}
2Object.defineProperty(r,"__esModule",{value:!0}),r.LoadingMouth=function({lottieComponent:e,lottieRef:t,animationData:r}){return(0,n.jsx)("div",{className:"size-24",children:(0,n.jsx)(e,{lottieRef:t,animationData:r,loop:!0,autoplay:!0})})};let n=e.r(898074)},344438,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.INITIAL_NEW_VERSION_TOAST_STATE=void 0,r.getNextNewVersionToastState=function(e,t,r){var a;if(!r)return{state:e,shouldNotify:!1};if(!t||t===r)return{state:{...e,candidateVersion:null,consecutiveDetections:0},shouldNotify:!1};let n=e.candidateVersion===t?e.consecutiveDetections+1:1;return{state:{...e,candidateVersion:t,consecutiveDetections:n},shouldNotify:n>=2&&(a=e.dismissedVersions,!a.includes(t))}},r.markNewVersionToastDismissed=function(e,t){var r;return t?{...e,dismissedVersions:(r=e.dismissedVersions,r.includes(t)?r:[...r,t])}:e},r.INITIAL_NEW_VERSION_TOAST_STATE={candidateVersion:null,consecutiveDetections:0,dismissedVersions:[]}},216562,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.NewVersionToast=function({currentVersion:e,versionUrl:t,position:r,toasterId:a,pollIntervalMs:s=6e4,notify:i,onDismiss:c,onReload:m,onShown:y}){let x=(0,o.useRef)(l.INITIAL_NEW_VERSION_TOAST_STATE),f=(0,o.useRef)(new Set),g=(0,o.useRef)({notify:i,onDismiss:c,onReload:m,onShown:y,position:r,toasterId:a});return(0,o.useLayoutEffect)(()=>{g.current={notify:i,onDismiss:c,onReload:m,onShown:y,position:r,toasterId:a}},[i,c,m,y,r,a]),(0,o.useEffect)(()=>{if(!e)return;let r=!1,a=!1,o=async()=>{if(a)return;a=!0;let s=await u(t);if(a=!1,r)return;let o=(0,l.getNextNewVersionToastState)(x.current,s,e);if(x.current=o.state,!o.shouldNotify||!s)return;let i={currentVersion:e,latestVersion:s};f.current.has(s)||(f.current.add(s),g.current.onShown?.(i)),(g.current.notify??(0,d.getToastInstance)())("New version available",{id:"new-version-available",duration:1/0,dismissible:!0,position:g.current.position,toasterId:g.current.toasterId,description:"Reload to use the latest version.",action:(0,n.jsx)(p,{onReload:()=>{g.current.onReload?.(i)}}),onDismiss:()=>{x.current=(0,l.markNewVersionToastDismissed)(x.current,s),g.current.onDismiss?.(i)}})},i=()=>{document.hidden||o()},c=()=>{o()};o();let m=window.setInterval(()=>{document.hidden||o()},s);return document.addEventListener("visibilitychange",i),window.addEventListener("focus",c),()=>{r=!0,window.clearInterval(m),document.removeEventListener("visibilitychange",i),window.removeEventListener("focus",c)}},[e,s,t]),null};let n=e.r(898074),s=e.r(527570),o=e.r(890497),i=e.r(547079),l=e.r(344438),d=e.r(535477),c=e.r(199598);async function u(e){let t,r;try{t=await fetch(e,{cache:"no-store"})}catch{return}if(t.ok){try{r=await t.json()}catch{return}var a=r;if("object"!=typeof a||null===a||!("version"in a))return;let e=a.version;return"string"==typeof e||null===e?e:void 0}}function p({onReload:e}){let[t,r]=(0,o.useState)(!1);return(0,n.jsx)(i.Button,{type:"button",size:"sm",disabled:t,leftIcon:(0,n.jsx)(s.RefreshCwIcon,{className:(0,c.cn)("size-3.5",t&&"animate-spin"),strokeWidth:1.75}),onClick:()=>{r(!0),e(),window.setTimeout(()=>window.location.reload(),0)},children:t?"reloading":"reload"})}},141639,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.ShellBannerStyle=function({bannerType:e}){let t=e?s[e]:0;return(0,n.jsx)("style",{children:null!==e?`
3        :root {
4          --banner-height: ${t}px;
5        }
6        @media (min-width: 640px) {
7          :root {
8            --banner-height: 28px;
9          }
10        }
11      `:":root { --banner-height: 0px; }"})};let n=e.r(898074),s={"payment-failure":48,"free-generations":64,announcement:64}},506778,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}
11Object.defineProperty(r,"__esModule",{value:!0}),r.HoverContentHelp=void 0;let n=e.r(898074),s=e.r(683978);r.HoverContentHelp=({title:e,param:t,description:r})=>(0,n.jsxs)("div",{className:"space-y-1.5",children:[(0,n.jsxs)("div",{className:"flex items-center justify-start gap-2",children:[(0,n.jsx)(s.P,{className:"leading-none font-semibold",children:e}),t?(0,n.jsx)(s.Muted,{className:"font-mono text-xs",children:t}):null]}),(0,n.jsx)(s.Muted,{className:"text-sm leading-5",children:r})]})},229229,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.InfoButton=function({title:e,param:t,description:r,beta:a=!1}){return(0,n.jsxs)(l.HoverCard,{children:[(0,n.jsx)(l.HoverCardTrigger,{asChild:!0,children:(0,n.jsxs)("div",{className:(0,d.cn)("flex items-center gap-2",{"w-full":!!a}),children:[(0,n.jsx)(s.CircleHelpIcon,{className:"size-4 cursor-help text-muted-foreground"}),a?(0,n.jsx)(o.Badge,{variant:"outline",children:"beta"}):null]})}),(0,n.jsx)(l.HoverCardContent,{side:"top",align:"end",className:"w-80 whitespace-normal",children:(0,n.jsx)(i.HoverContentHelp,{title:e,param:t,description:r})})]})};let n=e.r(898074),s=e.r(527570),o=e.r(510739),i=e.r(506778),l=e.r(963623),d=e.r(199598)},464115,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.TTSAudioTagTooltip=r.TTS_INPUT_PLACEHOLDER=void 0;let n=e.r(898074),s=e.r(527570),o=e.r(369636);r.TTS_INPUT_PLACEHOLDER="enter text to speech here and choose the voice. audio tags, like [happy] are supported.",r.TTSAudioTagTooltip=({className:e,onLearnMoreClick:t,learnMoreUrl:r="https://elevenlabs.io/docs/overview/capabilities/text-to-speech/best-practices#prompting-eleven-v3-alpha"})=>(0,n.jsx)(o.InfoTooltip,{triggerClassName:e,contentClassName:"max-w-sm",side:"top",children:(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("p",{className:"font-medium",children:"Audio Tags"}),(0,n.jsx)("p",{className:"text-sm",children:"Add audio tags in square brackets to control emotion and delivery. Using at least one tag enables ElevenLabs v3 for more expressive speech."}),(0,n.jsxs)("div",{className:"flex flex-col gap-1 text-sm",children:[(0,n.jsx)("p",{className:"font-medium",children:"Examples:"}),(0,n.jsxs)("ul",{className:"list-inside list-disc space-y-0.5 text-muted-foreground",children:[(0,n.jsxs)("li",{children:[(0,n.jsx)("code",{className:"text-xs",children:"[whispers]"})," - Voice related"]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("code",{className:"text-xs",children:"[laughs harder]"})," - Voice related (multi-word)"]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("code",{className:"text-xs",children:"[applause]"})," - Sound effects"]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("code",{className:"text-xs",children:"[strong French accent]"})," - Unique and special"]})]})]}),(0,n.jsxs)("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:t,className:"mt-1 flex items-center gap-1.5 self-end text-xs text-primary hover:underline",children:["ElevenLabs audio tags guide",(0,n.jsx)(s.ExternalLinkIcon,{className:"size-3"})]})]})})},1485,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.TTSAudioTagTooltip=r.TTS_INPUT_PLACEHOLDER=r.InfoButton=r.HoverContentHelp=r.ShellBannerStyle=r.OrgDropdownSkeleton=r.markNewVersionToastDismissed=r.INITIAL_NEW_VERSION_TOAST_STATE=r.getNextNewVersionToastState=r.NewVersionToast=r.LoadingMouth=r.ClearPlaygroundButton=void 0;var n=e.r(520696);Object.defineProperty(r,"ClearPlaygroundButton",{enumerable:!0,get:function(){return n.ClearPlaygroundButton}});var s=e.r(705437);Object.defineProperty(r,"LoadingMouth",{enumerable:!0,get:function(){return s.LoadingMouth}});var o=e.r(216562);Object.defineProperty(r,"NewVersionToast",{enumerable:!0,get:function(){return o.NewVersionToast}});var i=e.r(344438);Object.defineProperty(r,"getNextNewVersionToastState",{enumerable:!0,get:function(){return i.getNextNewVersionToastState}}),Object.defineProperty(r,"INITIAL_NEW_VERSION_TOAST_STATE",{enumerable:!0,get:function(){return i.INITIAL_NEW_VERSION_TOAST_STATE}}),Object.defineProperty(r,"markNewVersionToastDismissed",{enumerable:!0,get:function(){return i.markNewVersionToastDismissed}});var l=e.r(785371);Object.defineProperty(r,"OrgDropdownSkeleton",{enumerable:!0,get:function(){return l.OrgDropdownSkeleton}});var d=e.r(141639);Object.defineProperty(r,"ShellBannerStyle",{enumerable:!0,get:function(){return d.ShellBannerStyle}});var c=e.r(506778);Object.defineProperty(r,"HoverContentHelp",{enumerable:!0,get:function(){return c.HoverContentHelp}});var u=e.r(229229);Object.defineProperty(r,"InfoButton",{enumerable:!0,get:function(){return u.InfoButton}});var p=e.r(464115);Object.defineProperty(r,"TTS_INPUT_PLACEHOLDER",{enumerable:!0,get:function(){return p.TTS_INPUT_PLACEHOLDER}}),Object.defineProperty(r,"TTSAudioTagTooltip",{enumerable:!0,get:function(){return p.TTSAudioTagTooltip}})},16746,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}
11Object.defineProperty(r,"__esModule",{value:!0}),r.FeedbackTagChip=function({label:e,selected:t,onToggle:r,density:a="comfortable",disabled:i,ref:l}){return(0,n.jsxs)(o.Button,{ref:l,type:"button",size:"compact"===a?"xs":"sm",variant:t?"secondary":"outline","aria-pressed":t,disabled:i,onClick:r,children:[e,t?(0,n.jsx)(s.XIcon,{className:"size-3"}):null]})};let n=e.r(898074),s=e.r(527570),o=e.r(547079)},943236,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.FeedbackTagRail=function({id:e,headline:t,tags:r,selectedTagIds:a,text:u,isTextVisible:p,density:m="comfortable",onToggleTag:y,onTextChange:x,onTextCommit:f,onEscape:g,onDone:h,canFinish:v,className:M}){let j=(0,o.useRef)(null),b="compact"===m,_=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{_.current||(_.current=!0,p||j.current?.focus())},[p]),(0,n.jsx)(s.motion.fieldset,{id:e,"aria-label":t,onKeyDown:function(e){"Escape"===e.key&&(e.stopPropagation(),g())},initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.15,ease:"easeOut"},className:(0,d.cn)("-mx-1 min-w-0 overflow-hidden border-0 px-1",M),children:(0,n.jsxs)("div",{className:(0,d.cn)("flex flex-col pb-1",b?"gap-1.5 pt-2":"gap-2 pt-3"),children:[(0,n.jsx)("p",{className:(0,d.cn)("font-medium text-muted-foreground",b?"text-xs":"text-sm"),children:t}),(0,n.jsx)("div",{className:"flex flex-wrap gap-1.5",children:r.map((e,t)=>(0,n.jsx)(c.FeedbackTagChip,{ref:0===t?j:void 0,label:e.label,density:m,selected:a.has(e.id),onToggle:()=>y(e.id)},e.id))}),p?(0,n.jsx)(l.Textarea,{autoFocus:!0,rows:b?2:3,"aria-label":t,placeholder:"Tell us more (optional)",value:u,maxLength:4e3,onChange:e=>x(e.target.value),onBlur:f,onKeyDown:e=>{(e.metaKey||e.ctrlKey)&&"Enter"===e.key&&(e.preventDefault(),f(),e.currentTarget.blur())},className:(0,d.cn)("resize-none",b&&"min-h-0")}):null,(0,n.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[v?null:(0,n.jsx)("span",{className:(0,d.cn)("text-muted-foreground",b?"text-xs":"text-sm"),children:"Pick a reason to finish"}),(0,n.jsx)(i.Button,{type:"button",variant:"secondary",size:b?"xs":"sm",disabled:!v,onClick:h,children:"Done"})]})]})})};let n=e.r(898074),s=e.r(344131),o=e.r(890497),i=e.r(547079),l=e.r(645972),d=e.r(199598),c=e.r(16746)},731479,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.GenerationFeedbackControl=function({tone:e="ghost",density:t="comfortable",railPlacement:r="inline",labels:a=y,className:o,controlRef:l,...c}){let x=(0,m.useGenerationFeedbackController)(c),f=(0,i.useId)(),v=(0,i.useRef)(null),M=(0,i.useRef)(null);if(x.isHidden)return null;let{phase:j,polarity:b,selectedTagIds:_,text:w,isTextVisible:N}=x,k="expanded"===j,T="upvote"===b?a.positive:a.negative;function C(e){x.closeRail(e),v.current?.focus()}let O=b?(0,n.jsx)(p.FeedbackTagRail,{id:f,headline:T,tags:x.visibleTags,selectedTagIds:_,text:w,isTextVisible:N,density:t,onToggleTag:x.toggleTag,onTextChange:x.setText,onTextCommit:x.commitText,onEscape:"popover"===r?()=>{}:()=>C("escape"),onDone:()=>C("done"),canFinish:x.canFinish,className:"wrap"===r?"basis-full":void 0}):null;return(0,n.jsxs)(d.Popover,{open:"popover"===r&&k&&null!==b,onOpenChange:e=>{e||C("outside")},children:[(0,n.jsxs)("div",{className:(0,u.cn)("wrap"===r?"contents":"flex flex-col","overlay"===e&&"rounded-lg bg-card/95 px-3 py-2 backdrop-blur-sm",o),children:[(0,n.jsx)(g,{controller:x,tone:e,density:t,railPlacement:r,prompt:a.prompt,controlRef:l,activeThumbRef:v,thumbGroupRef:M,railId:f}),"popover"!==r?(0,n.jsx)(s.AnimatePresence,{initial:!1,children:k?O:null}):null,(0,n.jsx)(h,{controller:x})]}),"popover"===r?(0,n.jsx)(d.PopoverContent,{onEscapeKeyDown:e=>{e.preventDefault(),C("escape")},align:"end",className:"w-80",onOpenAutoFocus:e=>{e.preventDefault()},onCloseAutoFocus:e=>{e.preventDefault()},onInteractOutside:e=>{M.current?.contains(e.target)&&e.preventDefault()},children:O}):null]})};let n=e.r(898074),s=e.r(344131),o=e.r(527570),i=e.r(890497),l=e.r(547079),d=e.r(17861),c=e.r(286562),u=e.r(199598),p=e.r(943236),m=e.r(530961),y={positive:"What worked?",negative:"What went wrong?",prompt:"How's the result?"};function x({polarity:e,controller:t,tone:r,activeThumbRef:a,railId:s}){var i;let d=t.polarity===e,c="upvote"===e?o.ThumbsUp:o.ThumbsDown;return(0,n.jsx)(l.Button,{"data-feedback-vote":"",ref:d?a:void 0,variant:(i=null!==t.polarity)&&!d?"ghost":i&&d?"upvote"===e?"approve":"reject":"ghost"===r?"ghost":"upvote"===e?"approve":"reject",size:"icon-sm","aria-pressed":d,"aria-expanded":d?"expanded"===t.phase:void 0,"aria-controls":d&&"expanded"===t.phase?s:void 0,"aria-label":"upvote"===e?"rate result positively":"report a problem with this result",onClick:()=>t.vote(e),children:(0,n.jsx)(c,{className:"size-4"})})}function f({controller:e,density:t}){if("resolved"!==e.phase||0===e.tagCount)return null;let r=e.visibleTags.filter(t=>e.selectedTagIds.has(t.id)).map(e=>e.label);return(0,n.jsxs)(c.Tooltip,{children:[(0,n.jsx)(c.TooltipTrigger,{asChild:!0,children:(0,n.jsx)("span",{className:(0,u.cn)("ml-1 cursor-default text-muted-foreground tabular-nums","compact"===t?"text-xs":"text-sm"),children:e.tagCount})}),(0,n.jsx)(c.TooltipContent,{children:(0,n.jsx)("ul",{className:"list-inside list-disc text-xs",children:r.map(e=>(0,n.jsx)("li",{children:e},e))})})]})}
11function g({controller:e,tone:t,density:r,railPlacement:a,prompt:s,controlRef:o,activeThumbRef:i,thumbGroupRef:c,railId:p}){let m="idle"===e.phase?s:null;return(0,n.jsxs)("div",{ref:o,className:(0,u.cn)("flex items-center","tinted"===t?"gap-4":"gap-2","wrap"===a&&"ml-auto"),children:[e.error?(0,n.jsxs)("div",{"aria-live":"assertive",className:"flex items-center gap-2 text-xs text-destructive",children:[(0,n.jsx)("span",{children:"Couldn't save that"}),(0,n.jsx)(l.Button,{variant:"ghost",size:"xs",onClick:e.retry,children:"Retry"})]}):null,m?(0,n.jsx)("span",{className:(0,u.cn)("font-medium text-muted-foreground","compact"===r?"text-xs":"text-sm"),children:m}):null,(0,n.jsx)(d.PopoverAnchor,{asChild:!0,children:(0,n.jsxs)("div",{ref:c,className:(0,u.cn)("flex items-center","tinted"===t?"gap-2":"gap-0.5"),children:[(0,n.jsx)(x,{polarity:"upvote",controller:e,tone:t,activeThumbRef:i,railId:p}),(0,n.jsx)(x,{polarity:"downvote",controller:e,tone:t,activeThumbRef:i,railId:p}),(0,n.jsx)(f,{controller:e,density:r})]})})]})}function h({controller:e}){let t="";return e.error||e.isSaving||"idle"===e.phase||(t=e.tagCount>0?`Feedback saved, ${e.tagCount} ${1===e.tagCount?"reason":"reasons"} selected`:"Feedback saved"),(0,n.jsx)("span",{"aria-live":"polite",className:"sr-only",children:t})}},530961,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.useGenerationFeedbackController=function({existing:e,isLoading:t,tags:r,onSubmit:a,onEvent:i,writeDelays:l}){let d={...s,...l}
11,[c,u]=(0,n.useState)(null),[p,m]=(0,n.useState)(!1),[y,x]=(0,n.useState)(null),[f,g]=(0,n.useState)(!1),h=(0,n.useRef)(null),v=(0,n.useRef)(null),M=(0,n.useRef)(!1),j=(0,n.useRef)(null),b=(0,n.useRef)(void 0),_=(0,n.useRef)(0),w=(0,n.useRef)(null),N=(0,n.useRef)("");function k(e){i?.({...e,attemptId:N.current})}let T=(0,n.useRef)(!1),C=(0,n.useRef)(()=>{}),O=c??(e?o(e):null);function P(){void 0===b.current&&(b.current=e??null)}let E=O?p?"expanded":"resolved":"idle",S=O?.feedbackType??null,A=new Set(O?.tags),I=O?.textFeedback??"",B=S?r.filter(e=>e.polarity===S||"both"===e.polarity):[],D=B.find(e=>e.revealsText&&A.has(e.id)),R=void 0!==D||I.length>0,z=(O?.tags.length??0)>0&&(void 0===D||I.trim().length>0);function $(t){if(null!==h.current&&(clearTimeout(h.current),h.current=null),v.current=null,M.current){j.current=t;return}!function t(r){let{draft:n,reason:s}=r,l=r.editSeq,d=b.current??e??null,c={attemptId:r.attemptId,reason:s,isTextPending:"text_pending"===s&&(n.textFeedback??null)!==(d?.textFeedback??null)};c.isTextPending?T.current=!0:"text"===s&&(T.current=!1),M.current=!0,g(!0),Promise.resolve(a(n,c)).then(e=>{b.current=e?{...e,tags:e.tags??n.tags}:n,w.current=null,x(null)}).catch(()=>{_.current===l&&(w.current=r,u(d?o(d):null),x("write_failed"),i?.({type:"write_failed",reason:s,attemptId:r.attemptId}))}).finally(()=>{M.current=!1;let e=j.current;(j.current=null,e)?t(e):g(null!==h.current)})}(t)}function K(e){return"text_pending"===e.reason?{...e,reason:"text"}:e}function U(e,t,r){null!==h.current&&clearTimeout(h.current);let a={draft:e,editSeq:_.current,reason:t,attemptId:N.current};if(r<=0){h.current=null,$(a);return}v.current=a,g(!0),h.current=setTimeout(()=>{h.current=null;let e=v.current;e&&$(e)},r)}function V(){let e=v.current;if(e)return $(K(e)),!0;let t=j.current;return t?.reason==="text_pending"?(j.current=K(t),!0):!!T.current&&!!O&&($({draft:O,editSeq:_.current,reason:"text",attemptId:N.current}),!0)}function F(){V()}function L(e="resolved"){S&&(N.current=crypto.randomUUID(),m(!0),k({type:"rail_opened",polarity:S,trigger:e}))}function H(e="standing_vote"){F(),m(!1),S&&k({type:"rail_closed",reason:e,polarity:S,tagCount:O?.tags.length??0,tags:O?.tags??[]})}return C.current=F,(0,n.useEffect)(()=>()=>C.current(),[]),{phase:E,isHidden:void 0===e&&t&&null===c,polarity:S,selectedTagIds:A,visibleTags:B,tagCount:O?.tags.length??0,text:I,isTextVisible:R,canFinish:z,isSaving:f,error:y,vote:function(e){if(O&&O.feedbackType===e)return void(p?H():L("resolved"));_.current+=1,P();let t=null!==O,r={feedbackType:e,tags:[],textFeedback:null};u(r),m(!0),x(null),N.current=crypto.randomUUID(),k({type:"vote_committed",polarity:e,isChange:t}
11),k({type:"rail_opened",polarity:e,trigger:"vote"}),U(r,"vote",d.vote)},toggleTag:function(e){if(!O||!S)return;_.current+=1,P();let t=!A.has(e),a=t?[...O.tags,e]:O.tags.filter(t=>t!==e),n=r.find(t=>t.id===e),s=!t&&n?.revealsText?null:O.textFeedback,o={...O,tags:a,textFeedback:s};u(o),U(o,"tag",d.tag),k({type:"tag_toggled",tagId:e,selected:t,polarity:S,tagCount:a.length})},setText:function(e){if(!O)return;_.current+=1,P();let t={...O,textFeedback:e.length>0?e:null};u(t),U(t,"text_pending",d.text)},commitText:function(){if(!S)return;let e=O?.textFeedback?.length??0;V()&&k({type:"text_committed",length:e,polarity:S})},openRail:L,closeRail:H,retry:function(){let e=w.current?.draft??O;e&&(_.current+=1,x(null),u(e),p||(N.current=crypto.randomUUID(),k({type:"rail_opened",polarity:e.feedbackType,trigger:"retry"})),m(!0),$({draft:e,editSeq:_.current,reason:"retry",attemptId:N.current}))},flush:F}};let n=e.r(890497),s={vote:0,tag:500,text:800};function o(e){return{feedbackType:e.feedbackType,tags:[...e.tags??[]],textFeedback:e.textFeedback??null}}},669119,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.ModelDropdownTrigger=function(e){return(0,n.jsx)(c,{...function({disabled:e,selectedModel:t,isOpen:r,shouldShowDot:a,onClick:n,onTriggerClick:s,hideSettingsButton:o=!1,mode:i="lite"}){return{disabled:e,selectedModel:t,state:{isOpen:r,shouldShowDot:a},actions:{onClick:n,onTriggerClick:s},settings:{hideSettingsButton:o},mode:i}}(e)})};let n=e.r(898074),s=e.r(527570),o=e.r(547079),i=e.r(345199),l=e.r(697356),d=e.r(683978);function c({disabled:e,selectedModel:t,state:r,actions:a,settings:u,mode:p}){let{isOpen:m,shouldShowDot:y}=r,{onClick:x,onTriggerClick:f}=a,{hideSettingsButton:g}=u,h=y&&!m,v=(0,l.getModelDisplayName)(t)??"Loading...",M="pro"===p;return x?(0,n.jsx)(o.Button,{variant:M?"ghost":"secondary",disabled:e,className:M?"relative h-full w-full md:w-auto":"relative w-full md:w-auto",onClick:()=>{f?.(),x()},"data-testid":"model-selector-trigger",children:(0,n.jsxs)("span",{className:"flex w-full items-center justify-center gap-2",children:[(0,n.jsx)("span",{className:M?"":"max-w-[120px] truncate md:max-w-none",children:v}),h?(0,n.jsx)("span",{className:"absolute -top-1 -right-1 size-2 rounded-full bg-primary"}):null]})}):g?(0,n.jsx)(i.DropdownMenuTrigger,{asChild:!0,children:(0,n.jsx)(o.Button,{variant:M?"ghost":"secondary",disabled:e,className:M?"relative h-full w-full md:w-auto":"relative w-full md:w-auto",onClick:f,"data-testid":"model-selector-trigger",children:(0,n.jsxs)("span",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:M?"":"max-w-[90px] truncate md:max-w-none",children:v}),m?(0,n.jsx)(s.ChevronUpIcon,{className:"size-4"}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.ChevronDownIcon,{className:"size-4"}),h?(0,n.jsx)("span",{className:"absolute -top-1 -right-1 size-2 rounded-full bg-primary"}):null]})]})})}):(0,n.jsxs)("div",{className:"flex items-center gap-4",children:[(0,n.jsx)(d.Muted,{className:"hidden md:block",children:(0,n.jsx)(d.Small,{children:"model"})}),(0,n.jsx)(i.DropdownMenuTrigger,{asChild:!0,children:(0,n.jsxs)(o.Button,{variant:"secondary",disabled:e,className:"relative w-full md:w-auto",onClick:f,"data-testid":"model-selector-trigger",children:[v,m?(0,n.jsx)(s.ChevronUpIcon,{className:"size-4"}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.ChevronDownIcon,{className:"size-4"}),h?(0,n.jsx)("span",{className:"absolute -top-1 -right-1 size-2 rounded-full bg-primary"}):null]})]})})]})}},17690,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.ModelListContent=function({hideTitle:e=!1,isMobile:t=!1,onContentClick:r,loading:a,error:i,onRetry:c,selectedModelId:y,onModelChange:x,visibleModels:f,flagshipModels:g}){let[h,v]=(0,o.useState)(!1),M=f.filter(e=>g.includes(e.name)),j=f.filter(e=>!g.includes(e.name)),b=j.some(e=>e.id===y),_=j.map(e=>(0,n.jsx)(m,{model:e,isSelected:e.id===y,onSelect:()=>x(e.id)},e.id));return(0,n.jsxs)("div",{role:"presentation",onClick:r,children:[!e&&(0,n.jsx)(d.DropdownMenuLabel,{className:"font-normal",children:(0,n.jsx)(p.Muted,{children:(0,n.jsx)(p.Tiny,{children:"Choose Model"})})}),a?(0,n.jsxs)("div",{className:"flex flex-col gap-3 px-1",children:[(0,n.jsx)(u.Skeleton,{className:"h-12 w-full"}),(0,n.jsx)(u.Skeleton,{className:"h-12 w-full"})]}):i?(0,n.jsxs)("div",{className:"flex flex-col items-center gap-3 px-4 py-6",children:[(0,n.jsx)(p.Muted,{className:"text-center text-sm",children:"Failed to load models. Please try again."}),(0,n.jsx)(l.Button,{variant:"outline",size:"sm",onClick:()=>{c()},children:"Retry"})]}):(0,n.jsxs)("div",{className:"px-1",children:[M.map(e=>(0,n.jsx)(m,{model:e,isSelected:e.id===y,onSelect:()=>x(e.id)},e.id)),j.length>0&&(0,n.jsxs)(n.Fragment,{children:[t?(0,n.jsx)("div",{className:"my-2 border-t border-border"}):(0,n.jsx)(d.DropdownMenuSeparator,{}),t?h||b?_:(0,n.jsxs)("button",{type:"button",className:"flex w-full cursor-pointer items-center justify-between rounded-md px-2 py-2 transition-colors hover:bg-accent",onClick:()=>v(!0),"data-testid":"more-models-button",children:[(0,n.jsx)(p.Small,{className:"font-medium",children:"More models"}),(0,n.jsx)(s.ChevronRightIcon,{className:"size-4 text-muted-foreground"})]}):(0,n.jsxs)(d.DropdownMenuSub,{open:!!b||void 0,children:[(0,n.jsx)(d.DropdownMenuSubTrigger,{className:"w-full py-2",children:(0,n.jsx)(p.Small,{className:"font-medium",children:"More models"})}),(0,n.jsx)(d.DropdownMenuPortal,{children:(0,n.jsx)(d.DropdownMenuSubContent,{className:"w-72 border-border px-1 py-1",children:_})})]})]})]})]})};let n=e.r(898074),s=e.r(527570),o=e.r(890497),i=e.r(510739),l=e.r(547079),d=e.r(345199),c=e.r(766434),u=e.r(794020),p=e.r(683978);function m({model:e,isSelected:t,onSelect:r}){return(0,n.jsxs)("button",{type:"button",className:"flex w-full cursor-pointer items-start gap-2 rounded-md px-2 py-2 text-left transition-colors hover:bg-accent hover:text-accent-foreground",onClick:r,"data-testid":`model-option-${e.name}`,children:[(0,n.jsxs)("div",{className:"min-w-0 flex-1 space-y-0.5",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(p.Title,{className:"text-sm",children:e.name}),e.name===c.KnownModels.SYNC_3&&(0,n.jsx)(i.Badge,{variant:"outlinePrimary",children:"new"})]}),(0,n.jsx)(p.Muted,{className:"text-sm",children:e.description})]}),t?(0,n.jsx)(s.CheckIcon,{className:"mt-1 size-4 shrink-0 text-primary"}):null]})}},844925,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}
11Object.defineProperty(r,"__esModule",{value:!0}),r.getModelPreferences=function(e){return e?o[e]??s:s},r.getVisibleModelSettings=i,r.hasVisibleModelSettings=function(e,t){return Object.values(i(e,t)).some(Boolean)},r.isReactModel=function(e){return e?.startsWith("react-")??!1};let n=e.r(766434),s={modelMode:!1,syncMode:!1,temperature:!1,activeSpeaker:!0,occlusion:!0,reasoning:!1},o={[n.KnownModels.REACT_1]:{modelMode:!0,syncMode:!1,temperature:!0,activeSpeaker:!1,occlusion:!1,reasoning:!1},[n.KnownModels.LIPSYNC_2_PRO]:{modelMode:!1,syncMode:!1,temperature:!0,activeSpeaker:!0,occlusion:!0,reasoning:!0},[n.KnownModels.LIPSYNC_2]:{modelMode:!1,syncMode:!1,temperature:!0,activeSpeaker:!0,occlusion:!0,reasoning:"gated"},[n.KnownModels.LIPSYNC_2_MINI]:{modelMode:!1,syncMode:!1,temperature:!0,activeSpeaker:!0,occlusion:!0,reasoning:!1},[n.KnownModels.LIPSYNC_1_9_0_BETA]:{modelMode:!1,syncMode:!1,temperature:!1,activeSpeaker:!0,occlusion:!0,reasoning:"gated"},[n.KnownModels.SYNC_3]:{modelMode:!1,syncMode:!1,temperature:!1,activeSpeaker:!0,occlusion:!1,reasoning:!1},[n.KnownModels.STUDIO_1]:{modelMode:!1,syncMode:!1,temperature:!1,activeSpeaker:!0,occlusion:!1,reasoning:!1},[n.KnownModels.MIMIC_1]:{modelMode:!1,syncMode:!1,temperature:!1,activeSpeaker:!1,occlusion:!1,reasoning:!1}};function i(e,{hasImageInput:t=!1}={}){return{modelMode:!0===e.modelMode,syncMode:!0===e.syncMode,temperature:!0===e.temperature,activeSpeaker:!0===e.activeSpeaker&&!t,occlusion:!0===e.occlusion,reasoning:!0===e.reasoning||"gated"===e.reasoning}}},463510,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.ReactModeSelectorRive=function({selectedMode:e,onModeSelect:t,disabled:r=!1,config:a,className:o,innerClassName:i="h-[410px] md:h-[340px] bg-panel"}){return r?(0,n.jsx)("div",{className:"h-[240px] w-full overflow-hidden rounded-lg border bg-muted"}):(0,n.jsx)(s.RiveSelector,{config:a,selectedValue:e,onValueChange:t,className:o,innerClassName:i})};let n=e.r(898074),s=e.r(688116)},634932,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.SettingsButton=function({asChild:e=!1,mode:t,disabled:r}){let a="pro"===t,l="Model settings",d=(0,n.jsx)(o.Button,{variant:a?"ghost":"secondary",size:"default-icon-md",className:a?"h-full":void 0,disabled:r,"data-testid":"settings-trigger","aria-label":l,title:l,children:(0,n.jsx)(s.SettingsIcon,{className:a?"size-4":"size-5"})});return e?(0,n.jsx)(i.DropdownMenuTrigger,{asChild:!0,children:d}):d};let n=e.r(898074),s=e.r(527570),o=e.r(547079),i=e.r(345199)},970521,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.NOOP_ONBOARDING_SCENE_HANDLE=void 0,r.NOOP_ONBOARDING_SCENE_HANDLE=Object.freeze({setStep(){},setOtpFilled(){},setOtpResult(){},setUseCasePick(){},setTeamTier(){},setReferralSource(){},kick(){}})},458487,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.OnboardingSceneProvider=function({children:e,handle:t}){let[r]=(0,s.useState)(c);return(0,s.useEffect)(()=>{if(t)return r.attach(t)},[r,t]),(0,n.jsx)(i.Provider,{value:r,children:e})},r.useOnboardingScene=function(){return(0,s.use)(i)?.handle??o.NOOP_ONBOARDING_SCENE_HANDLE},r.useOnboardingSceneAvailable=function(){let e=(0,s.use)(i);
11return(0,s.useSyncExternalStore)(e?.subscribe??l,e?.isAttached??d,d)},r.useOnboardingSceneAttachment=function(){return(0,s.use)(i)?.attach??null};let n=e.r(898074),s=e.r(890497),o=e.r(970521),i=(0,s.createContext)(null),l=()=>()=>{},d=()=>!1;function c(){let e,t,r,a,n,s=null,o=new Map,i=new Set,l=()=>{for(let e of i)e()};return{handle:{setStep(t){e=t,s?.setStep(t)},setOtpFilled(e){t=e,s?.setOtpFilled(e)},setOtpResult(e){r=e,s?.setOtpResult(e)},setUseCasePick(e,t){o.set(e,t),s?.setUseCasePick(e,t)},setTeamTier(e){a=e,s?.setTeamTier(e)},setReferralSource(e){n=e,s?.setReferralSource(e)},kick(){s?.kick()}},attach(i){let d=null!==s;for(let[a,n]of(s=i,d||l(),void 0!==e&&i.setStep(e),void 0!==r&&i.setOtpResult(r),void 0!==t&&i.setOtpFilled(t),o))i.setUseCasePick(a,n);return void 0!==a&&i.setTeamTier(a),void 0!==n&&i.setReferralSource(n),()=>{s===i&&(s=null,l())}},isAttached:()=>null!==s,subscribe:e=>(i.add(e),()=>i.delete(e))}}},440384,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.ONBOARDING_SCENE_REDUCED_MOTION_QUERY=r.ONBOARDING_SCENE_DESKTOP_QUERY=void 0,r.shouldHoldOtpSuccessSceneTransition=function(){return window.matchMedia(r.ONBOARDING_SCENE_DESKTOP_QUERY).matches&&!window.matchMedia(r.ONBOARDING_SCENE_REDUCED_MOTION_QUERY).matches},r.ONBOARDING_SCENE_DESKTOP_QUERY="(min-width: 1024px)",r.ONBOARDING_SCENE_REDUCED_MOTION_QUERY="(prefers-reduced-motion: reduce)"},323301,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.SyncModeAnimation=function({mode:e,isAudioShorter:t}){return t?(0,n.jsx)(y,{mode:e},e):(0,n.jsx)(m,{mode:e},e)};let n=e.r(898074);function s({cx:e,cy:t}){return(0,n.jsx)("polygon",{points:`${e-4},${t-10} ${e-4},${t+10} ${e+8},${t}`,fill:"none",stroke:"rgba(255,255,255,0.45)",strokeWidth:"1.2",strokeLinejoin:"round"})}let o=[{id:"a",h:3},{id:"b",h:7},{id:"c",h:5},{id:"d",h:9},{id:"e",h:4},{id:"f",h:8},{id:"g",h:3}];function i({cx:e,cy:t}){let r=e-(4*o.length-2.5)/2;return(0,n.jsx)("g",{children:o.map(({id:e,h:a},s)=>(0,n.jsxs)("rect",{x:r+4*s,y:t-a/2,width:1.5,height:a,rx:"0.5",fill:"rgba(255,255,255,0.4)",children:[(0,n.jsx)("animate",{attributeName:"height",values:`${a};${.5*a};${a}`,dur:`${.8+.12*s}s`,repeatCount:"indefinite"}),(0,n.jsx)("animate",{attributeName:"y",values:`${t-a/2};${t-.5*a/2};${t-a/2}`,dur:`${.8+.12*s}s`,repeatCount:"indefinite"})]},e))})}function l({x:e,y1:t,y2:r,visible:a}){return(0,n.jsxs)("g",{className:`transition-opacity duration-500 ${a?"opacity-100":"opacity-0"}`,children:[(0,n.jsx)("line",{x1:e,y1:t,x2:e,y2:r,stroke:"rgba(255,255,255,0.5)",strokeWidth:"0.8"}),(0,n.jsx)("polygon",{points:`${e-3.5},${t} ${e+3.5},${t} ${e},${t+5}`,fill:"rgba(255,255,255,0.5)"})]})}function d({cx:e,cy:t}){return(0,n.jsxs)("g",{transform:`translate(${e-7}, ${t-7})`,children:[(0,n.jsx)("circle",{cx:"3",cy:"3",r:"2.5",fill:"none",stroke:"rgba(255,255,255,0.5)",strokeWidth:"0.8"}),(0,n.jsx)("circle",{cx:"3",cy:"11",r:"2.5",fill:"none",stroke:"rgba(255,255,255,0.5)",strokeWidth:"0.8"}),(0,n.jsx)("line",{x1:"5",y1:"4",x2:"12",y2:"10",stroke:"rgba(255,255,255,0.5)",strokeWidth:"0.8"}),(0,n.jsx)("line",{x1:"5",y1:"10",x2:"12",y2:"4",stroke:"rgba(255,255,255,0.5)",strokeWidth:"0.8"})]})}function c({cx:e,cy:t}){return(0,n.jsxs)("g",{transform:`translate(${e}, ${t})`,children:[(0,n.jsx)("path",{d:"M-7,0 Q-4,-5 0,-2 Q4,-5 7,0",fill:"none",stroke:"rgba(255,255,255,0.5)",strokeWidth:"0.8"}),(0,n.jsx)("path",{d:"M-7,0 Q0,5 7,0",fill:"none",stroke:"rgba(255,255,255,0.5)",strokeWidth:"0.8"})]})}function u({label:e,y:t,xValues:r,opacityValues:a,keyTimes:s,keySplines:o,opacityKeyTimes:i=s,opacityKeySplines:l=o,dur:d="5s"}){let c=Number(r.split(";")[0]??0);return(0,n.jsxs)("text",{x:c,y:t,textAnchor:"end",fill:"rgba(255,255,255,0.55)",fontSize:"9",fontWeight:"600",fontFamily:"system-ui, sans-serif",letterSpacing:"1",opacity:a.startsWith("0")?"0":void 0,children:[(0,n.jsx)("animate",{attributeName:"opacity",values:a,dur:d,calcMode:"spline",keyTimes:i,keySplines:l,repeatCount:"indef
11inite"}),(0,n.jsx)("animate",{attributeName:"x",values:r,dur:d,calcMode:"spline",keyTimes:s,keySplines:o,repeatCount:"indefinite"}),e]})}function p({x:e,y:t,width:r,height:a,rx:s,iconY:o,dur:i}){return(0,n.jsxs)("g",{children:[(0,n.jsx)("animate",{attributeName:"opacity",values:"1;1;0;0;1",dur:i,keyTimes:"0;0.25;0.4;0.92;1",calcMode:"spline",keySplines:"0 0 1 1;0.4 0 0.6 1;0 0 1 1;0.8 0 1 1",repeatCount:"indefinite"}),(0,n.jsx)("rect",{x:e,y:t,width:r,height:a,rx:s,fill:"rgba(255,255,255,0.1)"}),(0,n.jsx)(d,{cx:e+r/2,cy:o})]},"cut-off-scissors")}function m({mode:e}){let t,r,a,o,{isRemap:d,isCutOff:c,isBounce:y,isLoop:x,isPulsing:f,remapW:g,cutOffW:h,mismatchW:v,remapShift:M,cutShift:j,vidW:b}=(t="remap"===e,r="cut_off"===e,a="bounce"===e,{isRemap:t,isCutOff:r,isBounce:a,isLoop:o="loop"===e,isPulsing:t||r||a||o,remapW:169,cutOffW:221,mismatchW:169,remapShift:45.5,cutShift:19.5,vidW:t||a||o?169:r?221:260}),_=!!d,w=!!c,N=!!y,k=!!x,T=20+b/2,C="0;0.5;0.8;0.92;1",O="0 0 1 1;0.25 0.1 0.25 1;0 0 1 1;0.8 0 1 1",P="0;0.35;0.5;0.8;1",E="0 0 1 1;0.25 0.1 0.25 1;0.25 0.1 0.25 1;0 0 1 1";return(0,n.jsx)("div",{className:"relative w-full overflow-hidden rounded-lg bg-black",children:(0,n.jsx)("div",{style:{aspectRatio:"2 / 1"},children:(0,n.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 300 150",className:"size-full",preserveAspectRatio:"xMidYMid meet",children:[(0,n.jsxs)("rect",{x:20,y:25,width:b,height:78,rx:8,fill:"none",stroke:"rgba(255,255,255,0.25)",strokeWidth:"1",className:f?"":"transition-all duration-500",children:[_&&(0,n.jsx)("animate",{attributeName:"width",values:`${g};${g};260;260;${g};${g}`,dur:"5s",calcMode:"spline",keyTimes:"0;0.15;0.5;0.7;0.85;1",keySplines:"0 0 1 1;0.4 0 0.6 1;0 0 1 1;0.4 0 0.6 1;0 0 1 1",repeatCount:"indefinite"}),w&&(0,n.jsx)("animate",{attributeName:"width",values:`${h};${h};260;260;${h}`,dur:"4s",calcMode:"spline",keyTimes:C,keySplines:O,repeatCount:"indefinite"}),N&&(0,n.jsx)("animate",{attributeName:"width",values:`${v};${v};260;260;${v}`,dur:"6s",calcMode:"linear",keyTimes:"0;0.13;0.2;0.82;1",repeatCount:"indefinite"}),k&&(0,n.jsx)("animate",{attributeName:"width",values:`${v};${v};260;260;${v}`,dur:"5s",calcMode:"linear",keyTimes:"0;0.26;0.4;0.84;1",repeatCount:"indefinite"})]}),_?(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:`0 0;0 0;${M} 0;${M} 0;0 0;0 0`,dur:"5s",calcMode:"spline",keyTimes:"0;0.15;0.5;0.7;0.85;1",keySplines:"0 0 1 1;0.4 0 0.6 1;0 0 1 1;0.4 0 0.6 1;0 0 1 1",repeatCount:"indefinite"}),(0,n.jsx)(s,{cx:T,cy:64})]},"remap"):w?(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:`0 0;0 0;${j} 0;${j} 0;0 0`,dur:"4s",calcMode:"spline",keyTimes:C,keySplines:O,repeatCount:"indefinite"}),(0,n.jsx)(s,{cx:T,cy:64})]},"cut_off"):N?(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:`0 0;0 0;${M} 0;${M} 0;0 0`,dur:"6s",calcMode:"linear",keyTimes:"0;0.13;0.2;0.82;1",repeatCount:"indefinite"}),(0,n.jsx)(s,{cx:T,cy:64})]},"bounce"):k?(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:`0 0;0 0;${M} 0;${M} 0;0 0`,dur:"5s",calcMode:"linear",keyTimes:"0;0.26;0.4;0.84;1",repeatCount:"indefinite"}),(0,n.jsx)(s,{cx:T,cy:64})]},"loop"):(0,n.jsx)(s,{cx:T,cy:64}),N&&(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:"0 0;260 0;0 0;260 0;0 0;0 0",dur:"6s",keyTimes:"0;0.2;0.4;0.6;0.8;1",calcMode:"linear",repeatCount:"indefinite"}),(0,n.jsx)(l,{x:20,y1:25,y2:103,visible:!0})]},"bounce-vid-divider"),k&&(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:"0 0;260 0;0 0;260 0;0 0;0 0",dur:"5s",keyTimes:"0;0.4;0.42;0.82;0.84;1",calcMode:"linear",repeatCount:"indefinite"}),(0,n.jsx)(l,{x:20,y1:25,y2:103,visible:!0})]},"loop-divider"),w&&(0,n.jsx)(p,{x:20+h,y:110,width:260-h,height:22,rx:8,iconY:121,dur:"4s"}),_&&(0,n.jsx)(u,{label:"SLOW",y:39,xValues:`${20+g-6};${20+g-6};274;274;${20+g-6};${20+g-6}`,opacityValues:"0;0;1;1;0;0",keyTimes:"0;0.15;0.5;0.7;0.85;1",keySplines:"0 0 1 1;0.4 0 0.6 1;0 0 1 1;0.4 0 0.6 1;0 0 1 1"}),(0,n.jsx)("rect",{x:20,y:110,width:260,height:22,rx:8,fill:"none",stroke:"rgba(255,255,255,0.25)",strokeWidth:"1",className:w?"":"transition-all duration-500",children:w&&(0,n.jsx)("animate",{attributeName:"width",values:`260;260;${h};260;260`,dur:"4s",calcMode:"spline",keyTimes:P,keySplines:E,repeatCount:"indef
11inite"})}),w?(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:`0 0;0 0;${-j} 0;0 0;0 0`,dur:"4s",calcMode:"spline",keyTimes:P,keySplines:E,repeatCount:"indefinite"}),(0,n.jsx)(i,{cx:150,cy:121})]},"cutoff-waveform"):(0,n.jsx)(i,{cx:150,cy:121})]})})})}function y({mode:e}){let t="cut_off"===e,r="silence"===e,a="remap"===e,o=t?221:a?182:r?221:260,d=20+o/2,m="0;0.35;0.5;0.8;1",x="0 0 1 1;0.25 0.1 0.25 1;0.25 0.1 0.25 1;0 0 1 1",f="0;0.5;0.8;0.92;1",g="0 0 1 1;0.25 0.1 0.25 1;0 0 1 1;0.8 0 1 1";return(0,n.jsx)("div",{className:"relative w-full overflow-hidden rounded-lg bg-black",children:(0,n.jsx)("div",{style:{aspectRatio:"2 / 1"},children:(0,n.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 300 150",className:"size-full",preserveAspectRatio:"xMidYMid meet",children:[(0,n.jsxs)("rect",{x:20,y:25,height:78,rx:8,fill:"none",stroke:"rgba(255,255,255,0.25)",strokeWidth:"1",className:t||a?"":"transition-all duration-500",width:260,children:[t&&(0,n.jsx)("animate",{attributeName:"width",values:"260;260;221;260;260",dur:"4s",calcMode:"spline",keyTimes:m,keySplines:x,repeatCount:"indefinite"}),a&&(0,n.jsx)("animate",{attributeName:"width",values:"260;260;182;182;260;260",dur:"5s",calcMode:"spline",keyTimes:"0;0.2;0.4;0.6;0.85;1",keySplines:"0 0 1 1;0.4 0 0.6 1;0 0 1 1;0.4 0 0.6 1;0 0 1 1",repeatCount:"indefinite"})]}),t?(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:`0 0;0 0;${-19.5} 0;0 0;0 0`,dur:"4s",calcMode:"spline",keyTimes:m,keySplines:x,repeatCount:"indefinite"}),(0,n.jsx)(s,{cx:150,cy:64})]},"cut_off"):a?(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:`0 0;0 0;${-39} 0;${-39} 0;0 0;0 0`,dur:"5s",calcMode:"spline",keyTimes:"0;0.2;0.4;0.6;0.85;1",keySplines:"0 0 1 1;0.4 0 0.6 1;0 0 1 1;0.4 0 0.6 1;0 0 1 1",repeatCount:"indefinite"}),(0,n.jsx)(s,{cx:150,cy:64})]},"remap"):(0,n.jsx)(s,{cx:150,cy:64}),t&&(0,n.jsx)(p,{x:241,y:25,width:39,height:78,rx:8,iconY:64,dur:"4s"}),r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:"0 0;260 0;260 0;0 0",dur:"3.4s",keyTimes:"0;0.65;0.9;1",calcMode:"linear",repeatCount:"indefinite"}),(0,n.jsx)(l,{x:20,y1:25,y2:103,visible:!0})]},"silence-divider"),(0,n.jsxs)("g",{opacity:"0",children:[(0,n.jsx)("animate",{attributeName:"opacity",values:"0;0;1;1;0",dur:"3.4s",keyTimes:"0;0.53;0.57;0.9;1",calcMode:"linear",repeatCount:"indefinite"}),(0,n.jsx)("rect",{x:241,y:25,width:39,height:78,rx:8,fill:"rgba(255,255,255,0.1)"}),(0,n.jsx)(c,{cx:260.5,cy:64})]},"silence-lips")]}),a&&(0,n.jsx)(u,{label:"FAST",y:39,xValues:`274;274;${196};${196};274;274`,opacityValues:"1;1;0;0;0;1;1",keyTimes:"0;0.2;0.4;0.6;0.85;1",keySplines:"0 0 1 1;0.4 0 0.6 1;0 0 1 1;0.4 0 0.6 1;0 0 1 1",opacityKeyTimes:"0;0.18;0.35;0.6;0.85;0.86;1",opacityKeySplines:"0 0 1 1;0.4 0 0.6 1;0 0 1 1;0 0 1 1;0.8 0 1 1;0 0 1 1"}),(0,n.jsxs)("rect",{x:20,y:110,height:22,rx:8,fill:"none",stroke:"rgba(255,255,255,0.25)",strokeWidth:"1",className:t||a?"":"transition-all duration-500",width:o,children:[t&&(0,n.jsx)("animate",{attributeName:"width",values:"221;221;260;260;221",dur:"4s",calcMode:"spline",keyTimes:f,keySplines:g,repeatCount:"indefinite"}),a&&(0,n.jsx)("animate",{attributeName:"width",values:"182;182;182;182;260;182",dur:"5s",calcMode:"spline",keyTimes:"0;0.2;0.4;0.6;0.85;1",keySplines:"0 0 1 1;0 0 1 1;0 0 1 1;0.4 0 0.6 1;0.8 0 1 1",repeatCount:"indefinite"})]}),t?(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:"0 0;0 0;19.5 0;19.5 0;0 0",dur:"4s",calcMode:"spline",keyTimes:f,keySplines:g,repeatCount:"indefinite"}),(0,n.jsx)(i,{cx:130.5,cy:121})]},"cutoff-waveform"):a?(0,n.jsxs)("g",{children:[(0,n.jsx)("animateTransform",{attributeName:"transform",type:"translate",values:"0 0;0 0;0 0;0 0;39 0;0 0",dur:"5s",calcMode:"spline",keyTimes:"0;0.2;0.4;0.6;0.85;1",keySplines:"0 0 1 1;0 0 1 1;0 0 1 1;0.4 0 0.6 1;
110.8 0 1 1",repeatCount:"indefinite"}),(0,n.jsx)(i,{cx:d,cy:121})]},"remap-waveform"):(0,n.jsx)(i,{cx:d,cy:121})]})})})}},350702,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.SyncModeSelector=function({isAudioShorter:e,selectedSyncMode:t,onSyncModeChange:r}){let a=e?d:l,s=a.find(e=>e.id===t)??a[0];return(0,n.jsxs)("div",{className:"flex flex-col gap-3 px-4 py-3",children:[(0,n.jsx)(o.SyncModeAnimation,{mode:t,isAudioShorter:e}),(0,n.jsx)("p",{className:"min-h-[2lh] text-sm text-muted-foreground",children:s.description}),(0,n.jsx)("div",{className:"grid grid-cols-2 gap-2",children:a.map(e=>(0,n.jsxs)("button",{type:"button",onClick:()=>r(e.id),className:(0,i.cn)("flex items-center gap-2 rounded-md border px-3 py-2.5 text-left transition-colors",t===e.id?"border-primary bg-primary/10 text-foreground":"border-border bg-card hover:bg-accent hover:text-accent-foreground"),children:[(0,n.jsx)("span",{className:(0,i.cn)(t===e.id?"text-primary":"text-muted-foreground"),children:e.icon}),(0,n.jsx)("span",{className:"text-sm",children:e.label})]},e.id))})]})};let n=e.r(898074),s=e.r(527570),o=e.r(323301),i=e.r(199598),l=[{id:"cut_off",icon:(0,n.jsx)(s.ScissorsIcon,{className:"size-4"}),label:"cut off",description:"trims audio to match the video length."},{id:"bounce",icon:(0,n.jsx)(s.MoveHorizontalIcon,{className:"size-4"}),label:"bounce",description:"video plays forward, then in reverse, repeating until the audio ends."},{id:"loop",icon:(0,n.jsx)(s.InfinityIcon,{className:"size-4"}),label:"loop",description:"video restarts and loops to match the audio length."},{id:"remap",icon:(0,n.jsx)(s.TimerResetIcon,{className:"size-4"}),label:"remap",description:"video is slowed down to match the audio length."}],d=[{id:"cut_off",icon:(0,n.jsx)(s.ScissorsIcon,{className:"size-4"}),label:"cut off",description:"trims video to match the audio length."},{id:"silence",icon:(0,n.jsx)(s.VolumeXIcon,{className:"size-4"}),label:"silence",description:"after audio ends, the remaining video has closed lips with no audio."},{id:"remap",icon:(0,n.jsx)(s.TimerResetIcon,{className:"size-4"}),label:"remap",description:"video is sped up to match the audio length."}]},442136,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.UploadHeaderBase=function({isUploading:e,uploadCount:t,collapsed:r,onToggleCollapse:a,onDismiss:l,onHeaderClick:d}){let c=e?`uploading ${t} ${((e,t,r=`${t}s`)=>1===e?t:r)(t,"item")}`:"uploads",u=(0,i.cn)("flex h-10 items-center justify-between bg-panel px-4",d&&"cursor-pointer"),p=(0,n.jsxs)(n.Fragment,{children:[e?(0,n.jsx)(s.Loader2,{className:"size-4 animate-spin text-foreground/80"}):null,(0,n.jsx)("div",{className:"text-base font-medium",children:c})]});return(0,n.jsxs)("div",{className:u,children:[d?(0,n.jsx)("button",{type:"button",className:"flex min-w-0 flex-1 items-center gap-2 text-left",onClick:d,children:p}):(0,n.jsx)("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:p}),(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[t>0&&(0,n.jsx)(o.Button,{variant:"ghost",size:"icon-xs","aria-label":r?"Expand":"Collapse",icon:r?(0,n.jsx)(s.ChevronUp,{className:"size-4"}):(0,n.jsx)(s.ChevronDown,{className:"size-4"}),onClick:e=>{e.stopPropagation(),a()}}),(0,n.jsx)(o.Button,{variant:"ghost",size:"icon-xs","aria-label":"Dismiss",icon:(0,n.jsx)(s.X,{className:"size-4"}),onClick:e=>{e.stopPropagation(),l()}})]})]})};let n=e.r(898074),s=e.r(527570),o=e.r(547079),i=e.r(199598)},157559,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}
11Object.defineProperty(r,"__esModule",{value:!0}),r.UploadItemContentBase=function({fileName:e,progress:t,statusIcon:r,actionIcon:a,statusText:i,showProgress:l=!1,showPercentage:d=!1,actionButtons:c}){return(0,n.jsx)("div",{className:"px-4 py-3",children:(0,n.jsxs)("div",{className:"flex max-w-full min-w-0 items-start gap-4",children:[(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-2",children:[(0,n.jsxs)("div",{className:"flex min-w-0 items-center justify-between gap-2",children:[(0,n.jsxs)("div",{className:"flex w-0 min-w-0 flex-1 items-center gap-2",children:[r,(0,n.jsx)("div",{className:"min-w-0 truncate text-xs font-medium",title:e,children:e})]}),d&&void 0!==t&&(0,n.jsxs)("div",{className:"shrink-0 text-xs tabular-nums",children:[t,"%"]})]}),l&&void 0!==t&&(0,n.jsx)(s.Progress,{value:t,className:"h-1"}),i?(0,n.jsx)("div",{className:"h-3 text-3xs text-muted-foreground",children:i}):(0,n.jsx)("div",{className:"h-3"})]}),(0,n.jsxs)("div",{className:(0,o.cn)("shrink-0",a&&"flex items-center gap-2"),children:[a,c]})]})})};let n=e.r(898074),s=e.r(386639),o=e.r(199598)},93046,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.UploadItemBase=function({upload:e,onPause:t,onResume:r,onDismiss:a,onCancel:i,onOpenAssets:l,hasFileInMemory:c,fileInputsRef:p,onResumeError:m}){var y;let[x,f]=(0,o.useState)(!1),g=Math.max(0,Math.min(100,Math.round(e.progress))),h=e.eta&&(y=e.eta)&&Number.isFinite(y)?y<60?"less than 1 min left":`${function(e){if(e>=3600){let t=Math.floor(e/3600),r=Math.floor(e%3600/60);return 0===r?`${t} hour${1!==t?"s":""}`:`${t}:${r.toString().padStart(2,"0")} hours`}let t=Math.floor(e/60);return`${t} minute${1!==t?"s":""}`}(y)} left`:"",v="paused"===e.status,M="failed"===e.status,j="cancelled"===e.status,b=()=>M?"failed":v?"paused":j?"cancelled":"",_=(0,n.jsx)(u,{upload:e,pct:g,cancelDialogOpen:x,setCancelDialogOpen:f,onPause:t,onResume:r,onCancel:i,onDismiss:a,onOpenAssets:l,hasFileInMemory:c,fileInputsRef:p,onResumeError:m});if(100===g&&"completed"===e.status)return(0,n.jsx)(d.UploadItemContentBase,{fileName:e.originalFileName??e.fileName,progress:g,statusIcon:(0,n.jsx)(s.Check,{className:"size-4 shrink-0 text-success"}),showProgress:!0,showPercentage:!0,actionButtons:_});if(j||M)return(0,n.jsx)(d.UploadItemContentBase,{fileName:e.originalFileName??e.fileName,actionIcon:(0,n.jsx)(s.AlertTriangle,{className:"size-4 shrink-0 text-destructive"}),actionButtons:_});let w=`${h}${b()?` ${b()}`:""}`.trim();return(0,n.jsx)(d.UploadItemContentBase,{fileName:e.originalFileName??e.fileName,progress:g,showProgress:!0,showPercentage:!0,statusText:w||void 0,actionButtons:_})};let n=e.r(898074),s=e.r(527570),o=e.r(890497),i=e.r(761896),l=e.r(547079),d=e.r(157559);function c({children:e,description:t,open:r,setOpen:a,onConfirm:s}){return(0,n.jsxs)(i.AlertDialog,{open:r,onOpenChange:a,children:[(0,n.jsx)(i.AlertDialogTrigger,{asChild:!0,children:e}),(0,n.jsxs)(i.AlertDialogContent,{className:"w-full max-w-md",children:[(0,n.jsxs)(i.AlertDialogHeader,{children:[(0,n.jsx)(i.AlertDialogTitle,{children:"Are you sure?"}),(0,n.jsx)(i.AlertDialogDescription,{children:(0,n.jsx)("span",{className:"max-w-full wrap-anywhere",children:t})})]}),(0,n.jsxs)(i.AlertDialogFooter,{children:[(0,n.jsx)(i.AlertDialogCancel,{onClick:e=>{e.stopPropagation(),a(!1)},children:"Close"}),(0,n.jsx)(l.Button,{onClick:e=>{e.stopPropagation(),s(),a(!1)},children:"Yes"})]})]})]})}function u({upload:e,pct:t,cancelDialogOpen:r,setCancelDialogOpen:a,onPause:o,onResume:i,onCancel:d,onDismiss:p,onOpenAssets:m,hasFileInMemory:y,fileInputsRef:x,onResumeError:f}){let g="paused"===e.status,h="failed"===e.status,v="cancelled"===e.status;return 100===t&&"completed"===e.status?(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(l.Button,{variant:"ghost",size:"icon-xs","aria-label":"Clear",icon:(0,n.jsx)(s.X,{className:"size-4 text-foreground"}),onClick:()=>p(e.id)}),(0,n.jsx)(l.Button,{variant:"ghost",size:"icon-xs","aria-label":"Open Assets",icon:(0,n.jsx)(s.FolderIcon,{className:"size-4 text-foreground"}),onClick:m})]}):v||h?(0,n.jsx)(l.Button,{variant:"ghost",size:"icon-xs","aria-label":"Clear",icon:(0,n.jsx)(s.X,{className:"size-4 text-foreground"}),onClick:()=>p(e.id)}):"active"===e.status?(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[e.isResumable?(0,n.jsx)(l.Button,{variant:"ghost",size:"icon-xs",onClick:()=>o(e.id),"aria-label":"Pause",icon:(0,n.jsx)(s.Pause,{className:"size-4 text-foreground"})}):null,(0,n.jsx)(c,{description:"Your file upload is still in progress. If you cancel now, the upload will stop and your file won't be saved.",open:r,setOpen:a,onConfirm:()=>d(e.id),children:(0,n.jsx)(l.Button,{variant:"ghost",size:"icon-xs","aria-label":"Cancel",icon:(0,n.jsx)(s.X,{className:"size-4 text-foreground"})})})]}):g?(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[y(e.id)?(0,n.jsx)(l.Button,{variant:"ghost",size:"icon-xs",onClick:()=>
11i(e.id).catch(e=>{f(e)}),"aria-label":"Resume",icon:(0,n.jsx)(s.Play,{className:"size-4 text-foreground"})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("input",{ref:t=>{x.current[e.id]=t},type:"file","aria-label":`Resume upload for ${e.fileName}`,className:"hidden",onChange:t=>{let r=t.target.files?.[0];r&&(i(e.id,r).catch(e=>{f(e)}),t.currentTarget.value="")}}),(0,n.jsx)(l.Button,{variant:"ghost",size:"icon-xs",onClick:()=>x.current[e.id]?.click(),"aria-label":"Resume",icon:(0,n.jsx)(s.Play,{className:"size-4 text-foreground"})})]}),(0,n.jsx)(c,{description:"Your file upload is paused. If you cancel now, the upload will stop and your file won't be saved.",open:r,setOpen:a,onConfirm:()=>d(e.id),children:(0,n.jsx)(l.Button,{variant:"ghost",size:"icon-xs","aria-label":"Cancel",icon:(0,n.jsx)(s.X,{className:"size-4 text-foreground"})})})]}):null}},699773,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.UploadsListBase=function({uploads:e,onPause:t,onResume:r,onCancel:a,onDismiss:o,onOpenAssets:i,hasFileInMemory:l,fileInputsRef:d,onResumeError:c,contentRef:u}){return(0,n.jsx)("div",{ref:u,className:"py-2",children:e.map(e=>(0,n.jsx)(s.UploadItemBase,{upload:e,onPause:t,onResume:r,onCancel:a,onDismiss:o,onOpenAssets:i,hasFileInMemory:l,fileInputsRef:d,onResumeError:c}
11,e.id))})};let n=e.r(898074),s=e.r(93046)},183573,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.UploadsWidgetBase=function({uploads:e,collapsed:t,dismissed:r,setUploadsDismissed:a,onToggleCollapse:c,onPause:u,onResume:p,onCancel:m,onDismissUpload:y,onOpenAssets:x,hasFileInMemory:f,onResumeError:g,contentHeight:h,contentRef:v,fileInputsRef:M}){let j=e.filter(e=>"active"===e.status).length,b=!r&&e.length>0;return(0,n.jsx)(s.AnimatePresence,{initial:!1,children:b?(0,n.jsxs)(s.motion.div,{initial:{y:100,opacity:0},animate:{y:0,opacity:1},exit:{y:100,opacity:0},transition:{duration:.2,ease:[.4,0,.2,1]},className:(0,d.cn)("pointer-events-auto relative z-floating flex w-full flex-col-reverse overflow-hidden rounded-xl border bg-panel text-panel-foreground shadow-lg sm:w-[384px] sm:flex-col"),id:"uploads-widget",children:[(0,n.jsx)(o.UploadHeaderBase,{isUploading:j>0,uploadCount:j,collapsed:t,onToggleCollapse:c,onDismiss:()=>a(!0),onHeaderClick:e.length>0?c:void 0}),(0,n.jsx)(s.AnimatePresence,{initial:!1,children:!t&&e.length>0&&(0,n.jsx)(s.motion.div,{initial:{height:0,opacity:0},animate:{height:h,opacity:1},exit:{height:0,opacity:0},transition:{duration:.2,ease:[.4,0,.2,1]},className:(0,d.cn)("overflow-hidden border-b sm:border-t sm:border-b-0"),children:(0,n.jsx)(l.ScrollArea,{className:"h-full",children:(0,n.jsx)(i.UploadsListBase,{uploads:e,onPause:u,onResume:p,onCancel:m,onDismiss:y,onOpenAssets:x,hasFileInMemory:f,fileInputsRef:M,onResumeError:g,contentRef:v})})})})]},"uploads-widget"):null})};let n=e.r(898074),s=e.r(344131),o=e.r(442136),i=e.r(699773),l=e.r(343726),d=e.r(199598)},925108,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.UploadsWidgetBase=r.UploadsListBase=r.UploadItemContentBase=r.UploadItemBase=r.UploadHeaderBase=void 0;var n=e.r(442136);Object.defineProperty(r,"UploadHeaderBase",{enumerable:!0,get:function(){return n.UploadHeaderBase}});var s=e.r(93046);Object.defineProperty(r,"UploadItemBase",{enumerable:!0,get:function(){return s.UploadItemBase}});var o=e.r(157559);Object.defineProperty(r,"UploadItemContentBase",{enumerable:!0,get:function(){return o.UploadItemContentBase}});var i=e.r(699773);Object.defineProperty(r,"UploadsListBase",{enumerable:!0,get:function(){return i.UploadsListBase}});var l=e.r(183573);Object.defineProperty(r,"UploadsWidgetBase",{enumerable:!0,get:function(){return l.UploadsWidgetBase}})},697356,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.showModel=function(e,t){let{isLipsync2MiniEnabled:r=!1,isSync3Enabled:a=!1}=t;return!e.deprecatedAt&&(e.name!==s.KnownModels.LIPSYNC_2_MINI||!!r)&&(e.name!==s.KnownModels.SYNC_3||!!a)},r.getModelDisplayName=function(e,t){return e?(0,n.isReactModel)(e.name)&&t?`${e.name} (${t})`:e.name:null};let n=e.r(844925),s=e.r(766434)},963623,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.HoverCardTrigger=r.HoverCardContent=r.HoverCard=void 0;let n=e.r(898074),s=e.r(815376),o=e.r(199598);r.HoverCard=s.HoverCard.Root,r.HoverCardTrigger=s.HoverCard.Trigger;let i=({className:e,align:t="center",sideOffset:r=4,ref:a,...i})=>(0,n.jsx)(s.HoverCard.Content,{ref:a,align:t,sideOffset:r,className:(0,o.cn)("z-floating w-64 roun
11ded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden 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 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",e),...i});r.HoverCardContent=i,i.displayName=s.HoverCard.Content.displayName},298342,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.Kbd=function({className:e,...t}){return(0,n.jsx)("kbd",{"data-slot":"kbd",className:(0,s.cn)("pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none","[&_svg:not([class*='size-'])]:size-3","[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10",e),...t})},r.KbdGroup=function({className:e,...t}){return(0,n.jsx)("kbd",{"data-slot":"kbd-group",className:(0,s.cn)("inline-flex items-center gap-1",e),...t})};let n=e.r(898074),s=e.r(199598)},899637,(e,t,r)=>{"use strict";try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}Object.defineProperty(r,"__esModule",{value:!0}),r.notificationToastOptions=r.NOTIFICATION_TOAST_DURATION_MS=r.toasterConfig=r.toastIcons=void 0;let n=e.r(527570),s=e.r(890497),o=e.r(199598);function i(e,{className:t,strokeWidth:r=1.5}={}){return(0,s.createElement)(e,{className:(0,o.cn)("size-4",t),strokeWidth:r,"aria-hidden":!0})}r.toastIcons={success:i(n.CircleCheck,{className:"text-success"}),info:i(n.Info,{className:"text-muted-foreground"}),warning:i(n.TriangleAlert,{className:"text-primary"}),alert:i(n.OctagonAlert,{className:"text-destructive"}),upgrade:i(n.CircleFadingArrowUp,{className:"text-primary"})},r.toasterConfig={theme:"dark",style:{"--width":"388px"},className:"toaster group z-toast! font-sans!",icons:{success:r.toastIcons.success,info:r.toastIcons.info,warning:r.toastIcons.warning,error:r.toastIcons.alert,close:i(n.X,{className:"size-3.5",strokeWidth:1.7142857142857142})},toastOptions:{closeButton:!0,classNames:{toast:"group toast data-[styled=true]:group-[.toaster]:bg-panel! data-[styled=true]:group-[.toaster]:text-foreground! data-[styled=true]:group-[.toaster]:border-border! data-[styled=true]:group-[.toaster]:shadow-lg data-[styled=true]:group-[.toaster]:rounded-md data-[styled=true]:gap-2! data-[styled=true]:p-6! mt-10",title:"group-[.toast]:text-foreground/90 group-data-[type=error]:text-foreground! text-sm font-medium leading-4",description:"group-[.toast]:text-muted-foreground group-data-[type=error]:text-destructive-foreground/90! text-sm font-medium leading-4",content:"flex-1! gap-2!",icon:"self-start! m-0!",actionButton:"bg-background! text-secondary-foreground! border! border-border! ml-2! rounded-md! px-3! h-8! text-sm! font-medium! hover:bg-background/80!",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",closeButton:"group-[.toast]:bg-transparent! group-[.toast]:border-none! group-[.toast]:outline-hidden! group-[.toast]:text-foreground! absolute! top-[2px]! right-[2px]! left-auto! size-6! rounded-md! transform-none!",error:"group-[.toaster]:border-destructive!"}},position:"top-right"},r.NOTIFICATION_TOAST_DURATION_MS=15e3,r.notificationToastOptions={duration:r.NOTIFICATION_TOAST_DURATION_MS,classNames:{toast:"min-w-[380px]!",title:"text-base! font-semibold! leading-tight!",actionButton:"h-9! px-4! text-sm!"}}},645972,(e,t,r)=>{"use strict";try{var a,n=window;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:sync-app":!0})}catch(e){}var s=e.e&&e.e.__createBinding||(Object.create?function(e,t,r,a){void 0===a&&(a=r);var n=Object.getOwnPropertyDescriptor(t,r);
11(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,n)}:function(e,t,r,a){void 0===a&&(a=r),e[a]=t[r]}),o=e.e&&e.e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e.e&&e.e.__importStar||(a=function(e){return(a=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=a(e),n=0;n<r.length;n++)"default"!==r[n]&&s(t,e,r[n]);return o(t,e),t});Object.defineProperty(r,"__esModule",{value:!0}),r.Textarea=void 0;let l=e.r(898074),d=i(e.r(890497)),c=e.r(86342),u=e.r(199598),p=({className:e,destructive:t,label:r,id:a,ref:n,...s})=>{let o=d.useId(),i=a??o,p=(0,l.jsx)("textarea",{id:i,"aria-invalid":t||void 0,className:(0,u.cn)("flex min-h-[80px] w-full rounded-md border border-border bg-input px-3.5 py-3 font-medium text-foreground shadow-xs placeholder:text-muted-foreground focus-visible:border-primary/30 focus-visible:shadow-none focus-visible:ring-2 focus-visible:ring-ring/30 focus-visible:outline-hidden disabled:cursor-not-allowed disabled:bg-secondary disabled:text-muted-foreground",t&&"border-destructive/30","text-base md:text-sm",e),ref:n,...s});return null==r?p:(0,l.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,l.jsx)(c.Label,{htmlFor:i,children:r}),p]})};r.Textarea=p,p.displayName="Textarea"}]);
12
13//# debugId=277195b1-3ebf-f579-fe20-5854db061c8e

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.