;!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]="19e1568c-4a8c-22ed-2830-875bcee90c00")}catch(e){}}(); (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,161712,e=>{"use strict";var t=e.i(733783),r=e.i(908464);function n(e){let n,l,i,o,a,s,c=(0,r.c)(11);c[0]!==e?({size:l,...n}=e,c[0]=e,c[1]=n,c[2]=l):(n=c[1],l=c[2]);let d=void 0===l?32:l;return c[3]!==n.title?(i=null!=n.title&&(0,t.jsx)("title",{children:n.title}),c[3]=n.title,c[4]=i):i=c[4],c[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("path",{d:"M16.008 10.689a6.875 6.875 0 0 1 3.44 11.587l-2.828 2.828a6.875 6.875 0 0 1-9.722-9.723l2.431-2.432a8.296 8.296 0 0 0-.11 2.584l-1.084 1.085a5.125 5.125 0 0 0 7.248 7.248l2.828-2.828a5.125 5.125 0 0 0-3.763-8.746c.096-.124.2-.244.315-.358l1.245-1.245z",fill:"currentColor"}),a=(0,t.jsx)("path",{d:"M15.383 6.896a6.875 6.875 0 0 1 9.723 9.722l-2.435 2.435a8.295 8.295 0 0 0 .11-2.584l1.087-1.088a5.126 5.126 0 0 0-7.248-7.248l-2.828 2.829a5.124 5.124 0 0 0 3.76 8.745c-.096.124-.2.245-.315.359l-1.245 1.245a6.875 6.875 0 0 1-3.438-11.587l2.829-2.828z",fill:"currentColor"}),c[5]=o,c[6]=a):(o=c[5],a=c[6]),c[7]!==n||c[8]!==d||c[9]!==i?(s=(0,t.jsxs)("svg",{viewBox:"0 0 32 32",fill:"none",width:d,height:d,...n,children:[i,o,a]}),c[7]=n,c[8]=d,c[9]=i,c[10]=s):s=c[10],s}n._isSVG=!0,e.s(["default",0,n])},758837,e=>{"use strict";var t=e.i(733783),r=e.i(908464);function n(e){let n,l,i,o,a,s=(0,r.c)(10);s[0]!==e?({size:l,...n}=e,s[0]=e,s[1]=n,s[2]=l):(n=s[1],l=s[2]);let c=void 0===l?32:l;return s[3]!==n.title?(i=null!=n.title&&(0,t.jsx)("title",{children:n.title}),s[3]=n.title,s[4]=i):i=s[4],s[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.692 4.965c.331-.091.768-.179 1.202-.031.551.187.985.62 1.172 1.172.148.434.06.87-.031 1.202-.097.351-.262.789-.452 1.296L20.34 25.25c-.228.61-.42 1.123-.6 1.5-.162.34-.41.79-.858 1.024a1.875 1.875 0 0 1-1.544.087l-.21-.095-.158-.1c-.346-.25-.55-.633-.688-.933-.176-.379-.362-.894-.585-1.506l-1.754-4.824c-.297-.818-.399-1.075-.544-1.282a2.126 2.126 0 0 0-.521-.521c-.208-.145-.465-.247-1.283-.544l-4.823-1.754c-.612-.223-1.127-.409-1.507-.585-.342-.16-.793-.401-1.032-.847a1.876 1.876 0 0 1-.103-1.544l.094-.21c.235-.448.684-.695 1.025-.857.377-.18.89-.372 1.5-.6l16.647-6.243c.507-.19.945-.355 1.296-.452zM15.26 17.961c-.105.109-.212.217-.318.325.245.405.413.88.646 1.52l1.753 4.823c.235.645.391 1.074.528 1.368.06.129.103.2.127.236a.119.119 0 0 0 .034 0c.024-.035.069-.106.13-.235.14-.293.301-.72.542-1.362l6.21-16.563-9.652 9.888zm-7.896-4.663c-.642.24-1.07.402-1.362.542-.13.061-.201.105-.237.129a.12.12 0 0 0 0 .034c.036.023.108.068.238.128.294.137.723.293 1.368.527l4.823 1.754c.638.232 1.114.4 1.518.645l.327-.318c3.295-3.216 6.589-6.434 9.883-9.651l-16.558 6.21z",fill:"currentColor"}),s[5]=o):o=s[5],s[6]!==n||s[7]!==c||s[8]!==i?(a=(0,t.jsxs)("svg",{viewBox:"0 0 32 32",fill:"none",width:c,height:c,...n,children:[i,o]}),s[6]=n,s[7]=c,s[8]=i,s[9]=a):a=s[9],a}n._isSVG=!0,e.s(["default",0,n])},672595,e=>{"use strict";var t=e.i(733783),r=e.i(908464);function n(e){let n,l,i,o,a,s=(0,r.c)(10);s[0]!==e?({size:l,...n}=e,s[0]=e,s[1]=n,s[2]=l):(n=s[1],l=s[2]);let c=void 0===l?32:l;return s[3]!==n.title?(i=null!=n.title&&(0,t.jsx)("title",{children:n.title}),s[3]=n.title,s[4]=i):i=s[4],s[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("path",{d:"M26.125 15.5c0-4.331-4.36-8.125-10.125-8.125-5.764 0-10.125 3.794-10.125 8.125 0 1.338.407 2.607 1.138 3.734.012.02.021.04.032.059a5.37 5.37 0 0 1 .494 4.738c.993-.338 1.799-.807 2.451-1.37l.103-.077a.875.875 0 0 1 .84-.055c1.486.694 3.215 1.096 5.067 1.096 5.764 0 10.125-3.794 10.125-8.125zm1.75 0c0 5.61-5.489 9.875-11.875 9.875-1.903 0-3.704-.375-5.304-1.04-1.28.964-2.905 1.616-4.91 1.89a.875.875 0 0 1-.734-1.489 3.61 3.61 0 0 0 1.072-2.572c0-.728-.214-1.408-.58-1.974-.008-.012-.014-.027-.022-.04-.884-1.377-1.397-2.96-1.397-4.65 0-5.61 5.489-9.875 11.875-9.875S27.875 9.89 27.875 15.5z",fill:"currentColor"}),s[5]=o):o=s[5],s[6]!==n||s[7]!==c||s[8]!==i?(a=(0,t.jsxs)("svg",{viewBox:"0 0 32 32",fill:"none",width:c,height:c,...n,children:[i,o]}),s[6]=n,s[7]=c,s[8]=i,s[9]=a):a=s[9],a}n._isSVG=!0,e.s(["default",0,n])},945347,e=>{"use strict";var t=e.i(733783),r=e.i(908464);function n(e){let n,l,i,o,a,s=(0,r.c)(10);s[0]!==e?({size:l,...n}=e,s[0]=e,s[1]=n,s[2]=l):(n=s[1],l=s[2]);let c=void 0===l?32:l;return s[3]!==n.title?(i=null!=n.title&&(0,t.jsx)("title",{children:n.title}),s[3]=n.title,s[4]=i):i=s[4],s[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("path",{d:"M21 6.125c3.481 0 6.375 2.89 6.375 6.354 0 5.056-4.1 9.863-9.406 13.334a3.595 3.595 0 0 1-3.936 0c-5.307-3.47-9.408-8.278-9.408-13.334 0-3.464 2.894-6.354 6.375-6.354 1.628 0 3.233.623 4.47 1.86l.53.53.53-.53A6.288 6.288 0 0 1 21 6.125z",fill:"currentColor"}),s[5]=o):o=s[5],s[6]!==n||s[7]!==c||s[8]!==i?(a=(0,t.jsxs)("svg",{viewBox:"0 0 32 32",fill:"none",width:c,height:c,...n,children:[i,o]}),s[6]=n,s[7]=c,s[8]=i,s[9]=a):a=s[9],a}n._isSVG=!0,e.s(["default",0,n])},434703,347144,145074,e=>{"use strict";var t,r=e.i(733783),n=e.i(908464),l=e.i(472361),i=e.i(943473),o=e.i(833946),a=e.i(559451),s=e.i(443644),c=e.i(718801),d=e.i(713792),u=e.i(708085),f=e.i(421482),C=e.i(788115),h="HoverCard",[p,m]=(0,o.createContextScope)(h,[c.createPopperScope]),v=(0,c.createPopperScope)(),[x,g]=p(h),_=e=>{let{__scopeHoverCard:t,children:n,open:i,defaultOpen:o,onOpenChange:s,openDelay:d=700,closeDelay:u=300}=e,f=v(t),C=l.useRef(0),p=l.useRef(0),m=l.useRef(!1),g=l.useRef(!1),[_,w]=(0,a.useControllableState)({prop:i,defaultProp:o??!1,onChange:s,caller:h}),b=l.useCallback(()=>{clearTimeout(p.current),C.current=window.setTimeout(()=>w(!0),d)},[d,w]),S=l.useCallback(()=>{clearTimeout(C.current),m.current||g.current||(p.current=window.setTimeout(()=>w(!1),u))},[u,w]),H=l.useCallback(()=>w(!1),[w]);return l.useEffect(()=>()=>{clearTimeout(C.current),clearTimeout(p.current)},[]),(0,r.jsx)(x,{scope:t,open:_,onOpenChange:w,onOpen:b,onClose:S,onDismiss:H,hasSelectionRef:m,isPointerDownOnContentRef:g,children:(0,r.jsx)(c.Root,{...f,children:n})})};_.displayName=h;var w="HoverCardTrigger",b=l.forwardRef((e,t)=>{let{__scopeHoverCard:n,...l}=e,o=g(w,n),a=v(n);return(0,r.jsx)(c.Anchor,{asChild:!0,...a,children:(0,r.jsx)(f.Primitive.a,{"data-state":o.open?"open":"closed",...l,ref:t,onPointerEnter:(0,i.composeEventHandlers)(e.onPointerEnter,T(o.onOpen)),onPointerLeave:(0,i.composeEventHandlers)(e.onPointerLeave,T(o.onClose)),onFocus:(0,i.composeEventHandlers)(e.onFocus,o.onOpen),onBlur:(0,i.composeEventHandlers)(e.onBlur,o.onClose),onTouchStart:(0,i.composeEventHandlers)(e.onTouchStart,e=>e.preventDefault())})})});b.displayName=w;var S="HoverCardPortal",[H,y]=p(S,{forceMount:void 0}),j=e=>{let{__scopeHoverCard:t,forceMount:n,children:l,container:i}=e,o=g(S,t);return(0,r.jsx)(H,{scope:t,forceMount:n,children:(0,r.jsx)(u.Presence,{present:n||o.open,children:(0,r.jsx)(d.Portal,{asChild:!0,container:i,children:l})})})};j.displayName=S;var V="HoverCardContent",R=l.forwardRef((e,t)=>{let n=y(V,e.__scopeHoverCard),{forceMount:l=n.forceMount,...o}=e,a=g(V,e.__scopeHoverCard);return(0,r.jsx)(u.Presence,{present:l||a.open,children:(0,r.jsx)(M,{"data-state":a.open?"open":"closed",...o,onPointerEnter:(0,i.composeEventHandlers)(e.onPointerEnter,T(a.onOpen)),onPointerLeave:(0,i.composeEventHandlers)(e.onPointerLeave,T(a.onClose)),ref:t})})});R.displayName=V;var M=l.forwardRef((e,n)=>{let{__scopeHoverCard:o,onEscapeKeyDown:a,onPointerDownOutside:d,onFocusOutside:u,onInteractOutside:f,...h}=e,p=g(V,o),m=v(o),x=l.useRef(null),_=(0,s.useComposedRefs)(n,x),[w,b]=l.useState(!1);return l.useEffect(()=>{if(w){let e=document.body;return t=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=t,e.style.webkitUserSelect=t}}},[w]),l.useEffect(()=>{if(x.current){let e=()=>{b(!1),p.isPointerDownOnContentRef.current=!1,setTimeout(()=>{document.getSelection()?.toString()!==""&&(p.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),p.hasSelectionRef.current=!1,p.isPointerDownOnContentRef.current=!1}}},[p.isPointerDownOnContentRef,p.hasSelectionRef]),l.useEffect(()=>{x.current&&(function(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;r.nextNode();)t.push(r.currentNode);return t})(x.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,r.jsx)(C.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:d,onFocusOutside:(0,i.composeEventHandlers)(u,e=>{e.preventDefault()}),onDismiss:p.onDismiss,children:(0,r.jsx)(c.Content,{...m,...h,onPointerDown:(0,i.composeEventHandlers)(h.onPointerDown,e=>{e.currentTarget.contains(e.target)&&b(!0),p.hasSelectionRef.current=!1,p.isPointerDownOnContentRef.current=!0}),ref:_,style:{...h.style,userSelect:w?"text":void 0,WebkitUserSelect:w?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})});function T(e){return t=>"touch"===t.pointerType?void 0:e()}l.forwardRef((e,t)=>{let{__scopeHoverCard:n,...l}=e,i=v(n);return(0,r.jsx)(c.Arrow,{...i,...l,ref:t})}).displayName="HoverCardArrow",e.s(["Content",0,R,"Portal",0,j,"Root",0,_,"Trigger",0,b],347144);var k=e.i(899272);function P(e){let t,l,i=(0,n.c)(4);return i[0]!==e?({...t}=e,i[0]=e,i[1]=t):t=i[1],i[2]!==t?(l=(0,r.jsx)(_,{"data-slot":"hover-card",...t}),i[2]=t,i[3]=l):l=i[3],l}function E(e){let t,l,i=(0,n.c)(4);return i[0]!==e?({...t}=e,i[0]=e,i[1]=t):t=i[1],i[2]!==t?(l=(0,r.jsx)(b,{"data-slot":"hover-card-trigger",...t}),i[2]=t,i[3]=l):l=i[3],l}function L(e){let t,l,i,o,a,s,c=(0,n.c)(12);c[0]!==e?({className:t,align:i,sideOffset:o,...l}=e,c[0]=e,c[1]=t,c[2]=l,c[3]=i,c[4]=o):(t=c[1],l=c[2],i=c[3],o=c[4]);let d=void 0===i?"center":i,u=void 0===o?4:o;return c[5]!==t?(a=(0,k.cn)("bg-fill-blur-thick shadow-blur-elevation-03 rounded-22 z-52 w-96 p-4 backdrop-blur-[18px] outline-none","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2","data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2","data-[side=top]:slide-in-from-bottom-2",t),c[5]=t,c[6]=a):a=c[6],c[7]!==d||c[8]!==l||c[9]!==u||c[10]!==a?(s=(0,r.jsx)(j,{children:(0,r.jsx)(R,{"data-slot":"hover-card-content",align:d,sideOffset:u,className:a,...l})}),c[7]=d,c[8]=l,c[9]=u,c[10]=a,c[11]=s):s=c[11],s}e.s(["HoverCard",0,P,"HoverCardContent",0,L,"HoverCardTrigger",0,E],145074);var z=e.i(41610),A=e.i(81926);e.s(["ResponsiveHoverCard",0,function(e){let t,i,o,a,s,c,d,u,f=(0,n.c)(24);f[0]!==e?({children:t,isMobile:i,sheetTitle:c,hideSheetTitle:d,open:a,onOpenChange:o,...s}=e,f[0]=e,f[1]=t,f[2]=i,f[3]=o,f[4]=a,f[5]=s,f[6]=c,f[7]=d):(t=f[1],i=f[2],o=f[3],a=f[4],s=f[5],c=f[6],d=f[7]);let C=void 0!==d&&d,h=(0,A.useMediaQuery)("(max-width: 767px)");if(i??h){let e,n;if(f[8]!==t||f[9]!==C||f[10]!==c){let n;f[12]!==C||f[13]!==c?(n=e=>{if(l.isValidElement(e)){if(e.type===E)return(0,r.jsx)(z.SheetTrigger,{asChild:!0,children:e.props.children});if(e.type===L){let t=e.props;return(0,r.jsxs)(z.SheetContent,{side:"bottom",className:"max-h-[80vh] overflow-y-auto",showCloseButton:!1,children:[c&&(0,r.jsx)(z.SheetHeader,{className:C?"sr-only":void 0,children:(0,r.jsx)(z.SheetTitle,{children:c})}),(0,r.jsx)("div",{className:(0,k.cn)("pb-8",t.className),children:t.children})]})}}return e},f[12]=C,f[13]=c,f[14]=n):n=f[14],e=l.Children.map(t,n),f[8]=t,f[9]=C,f[10]=c,f[11]=e}else e=f[11];return f[15]!==o||f[16]!==a||f[17]!==e?(n=(0,r.jsx)(z.Sheet,{open:a,onOpenChange:o,children:e}),f[15]=o,f[16]=a,f[17]=e,f[18]=n):n=f[18],n}return f[19]!==t||f[20]!==o||f[21]!==a||f[22]!==s?(u=(0,r.jsx)(P,{open:a,onOpenChange:o,...s,children:t}),f[19]=t,f[20]=o,f[21]=a,f[22]=s,f[23]=u):u=f[23],u}],434703)},507281,e=>{"use strict";function t(e){return null!=e&&Date.now(){e.q("/_next/static/media/google-slides_40.1zkf6qd9j8ll5.png")},908498,e=>{e.q("/_next/static/media/google-slides_40-1.5x.0aahc-0kxyz5h.png")},190765,e=>{e.q("/_next/static/media/google-slides_40-2x.02u5hyay4aezr.png")},211961,e=>{"use strict";function t(e){if(!e)return null;try{let t=new URL(e).pathname.split("/").pop();return null!=t&&t.length>0?t:null}catch{return null}}let r=/\.([a-z0-9]{2,5})$/i;e.s(["extensionFromFilename",0,function(e){if(null==e)return null;let t=e.split(/[/\\]/).pop()??"",r=t.lastIndexOf(".");return r<=0||r===t.length-1?null:t.slice(r+1).toLowerCase()},"extractFilenameFromUrl",0,t,"toFilenameBasename",0,function(e){if(null==e)return e??null;let t=e.split(/[/\\]/).pop();return null!=t&&t.length>0?t:e},"withExtensionFromUrl",0,function(e,n){let l=t(n)?.match(r)?.[1]?.toLowerCase();return l?r.test(e)?e.replace(r,`.${l}`):`${e}.${l}`:e}])},231128,e=>{"use strict";var t=e.i(733783),r=e.i(908464);function n(e){let n,l,i,o,a,s,c=(0,r.c)(11);c[0]!==e?({size:l,...n}=e,c[0]=e,c[1]=n,c[2]=l):(n=c[1],l=c[2]);let d=void 0===l?32:l;return c[3]!==n.title?(i=null!=n.title&&(0,t.jsx)("title",{children:n.title}),c[3]=n.title,c[4]=i):i=c[4],c[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("path",{d:"M6.125 14.8c0-.825 0-1.497.044-2.041.045-.554.141-1.053.378-1.518A3.879 3.879 0 0 1 8.24 9.547c.465-.237.964-.333 1.518-.378.544-.044 1.216-.044 2.04-.044h.33v1.75h-.33c-.854 0-1.442 0-1.899.038-.445.037-.688.103-.865.193-.4.204-.725.53-.929.93-.09.176-.156.418-.193.864-.037.457-.038 1.045-.038 1.9v5.9c0 .855 0 1.443.038 1.9.037.445.103.688.193.865.204.4.53.725.93.929.176.09.419.157.864.193.457.037 1.045.038 1.9.038h8.4c.855 0 1.443 0 1.9-.038.445-.037.688-.103.865-.193.4-.204.725-.53.929-.93.09-.176.157-.418.193-.864.037-.457.038-1.045.038-1.9v-5.9c0-.855 0-1.443-.038-1.9-.037-.446-.103-.688-.193-.865a2.126 2.126 0 0 0-.93-.929c-.176-.09-.418-.156-.864-.193-.457-.037-1.045-.038-1.9-.038h-.33v-1.75h.33c.826 0 1.497 0 2.041.044.554.045 1.053.141 1.518.378a3.88 3.88 0 0 1 1.694 1.694c.237.465.333.964.378 1.518.044.544.044 1.216.044 2.04V20.7c0 .826 0 1.497-.044 2.041-.045.554-.141 1.053-.378 1.518a3.879 3.879 0 0 1-1.694 1.694c-.465.237-.964.333-1.518.378-.544.044-1.215.044-2.04.044H11.8c-.825 0-1.497 0-2.041-.044-.554-.045-1.053-.141-1.518-.378a3.879 3.879 0 0 1-1.694-1.694c-.237-.465-.333-.964-.378-1.518-.044-.544-.044-1.215-.044-2.04V14.8z",fill:"currentColor"}),a=(0,t.jsx)("path",{d:"M11.12 15.006a.89.89 0 0 1 .262-.625.89.89 0 0 1 .625-.262.83.83 0 0 1 .612.263l.386.414c.698.747 1.407 1.483 2.12 2.216V4a.875.875 0 0 1 1.75 0v13.006a151.522 151.522 0 0 0 2.507-2.625.83.83 0 0 1 .612-.262.89.89 0 0 1 .625.263.89.89 0 0 1 .262.625.83.83 0 0 1-.263.612l-.414.386a153.944 153.944 0 0 0-3.663 3.54.759.759 0 0 1-1.09 0 153.955 153.955 0 0 0-4.07-3.927.83.83 0 0 1-.262-.612z",fill:"currentColor"}),c[5]=o,c[6]=a):(o=c[5],a=c[6]),c[7]!==n||c[8]!==d||c[9]!==i?(s=(0,t.jsxs)("svg",{viewBox:"0 0 32 32",fill:"none",width:d,height:d,...n,children:[i,o,a]}),c[7]=n,c[8]=d,c[9]=i,c[10]=s):s=c[10],s}n._isSVG=!0,e.s(["default",0,n])},22423,e=>{"use strict";var t=e.i(733783),r=e.i(908464);e.s(["FileTypeIconImg",0,function(e){let n,l,i,o,a,s,c=(0,r.c)(12);c[0]!==e?({src:l,srcSet:i,size:o,alt:a,...n}=e,c[0]=e,c[1]=n,c[2]=l,c[3]=i,c[4]=o,c[5]=a):(n=c[1],l=c[2],i=c[3],o=c[4],a=c[5]);let d=void 0===o?40:o,u=void 0===a?"":a;return c[6]!==u||c[7]!==n||c[8]!==d||c[9]!==l||c[10]!==i?(s=(0,t.jsx)("img",{src:l,srcSet:i,width:d,height:d,alt:u,...n}),c[6]=u,c[7]=n,c[8]=d,c[9]=l,c[10]=i,c[11]=s):s=c[11],s}])},310112,e=>{"use strict";var t=e.i(908464),r=e.i(267989),n=e.i(740406),l=e.i(211961),i=e.i(770427);function o(e){let t=new URLSearchParams({artifact_uuid:e.artifactUuid,asset_id:e.artifactAssetId});return e.filename&&t.set("filename",e.filename),null!=e.version&&t.set(n.ARTIFACT_VERSION_QUERY_PARAM,String(e.version)),`/api/artifacts/download?${t.toString()}`}async function a({artifactAssetId:e,artifactUuid:t,fileUrl:r,purpose:n},l){let i=c({artifactAssetId:e,artifactUuid:t,fileUrl:r,purpose:n}),o=await fetch(i,{cache:"edit"===n?"no-store":"default",signal:l});if(!o.ok)throw Error("Failed to load HTML preview source");return o.text()}async function s(e,t){let r=c({...e,purpose:"edit"}),n=await fetch(r,{cache:"no-store",signal:t});if(!n.ok)throw Error("Failed to load artifact edit source");if((n.headers.get("Content-Type")??"").includes("application/json")){let e=await n.json();if(!("object"!=typeof e||null==e||Array.isArray(e))&&("docx"===e.type||"xlsx"===e.type)&&"string"==typeof e.text&&"string"==typeof e.contentBase64)return e;throw Error("Invalid artifact edit source payload")}return{type:"text",text:await n.text()}}function c({artifactAssetId:e,artifactUuid:t,fileUrl:r,purpose:n}){if(t&&e){var l;let r;return r=new URLSearchParams({artifact_uuid:(l={artifactAssetId:e,artifactUuid:t,purpose:n}).artifactUuid,asset_id:l.artifactAssetId}),"edit"===l.purpose&&r.set("purpose","edit"),`/api/artifacts/preview-source?${r.toString()}`}let o=null!=r?(0,i.extractIframableArtifactUrl)(r):null;if(null==o)throw Error("HTML preview source unavailable");return`/api/url-source?${new URLSearchParams({fileUrl:o})}`}e.s(["buildArtifactDownloadRoute",0,o,"extractSourceExtension",0,function(e){if(!e)return;let t=e;try{t=new URL(e,"http://placeholder").pathname}catch{}return(0,l.extensionFromFilename)(t)??void 0},"fetchArtifactEditSource",0,s,"fetchHtmlPreviewSource",0,a,"pinDownloadOptionsToVersion",0,function(e,t){let{artifactAssetId:r,artifactUuid:n,version:l}=t;return e.filter(e=>"download"===e.kind).map(e=>({...e,href:o({artifactAssetId:r,artifactUuid:n,filename:e.filename,version:l})}))},"resolveDownloadOptions",0,function(e,t,r){let{artifactAssetId:n,artifactUuid:l,sanitizedTitle:i,sourceExtension:a,fallbackExtension:s}=t;return e.map(e=>{let t="pdf"===e.type?"pdf":"pptx"===e.type?"pptx":a??s??e.name,c=i?`${i}.${t}`:void 0;return"pdf"===e.type?{kind:"pdf",name:e.name,label:r[e.name],filename:c}:"pptx"===e.type?{kind:"pptx",name:e.name,label:r[e.name],filename:c}:"google_slides"===e.type?{kind:"google_slides",name:e.name,label:r[e.name]}:{kind:"download",name:e.name,label:r[e.name],href:o({artifactAssetId:n,artifactUuid:l,filename:c}),filename:c}})},"triggerDownload",0,function(e,t,r){let n=document.createElement("a");n.href=e,t&&(n.download=t),r?.newTab&&(n.target="_blank",n.rel="noopener"),document.body.appendChild(n),n.click(),document.body.removeChild(n)},"useDownloadOptionLabels",0,function(){let e,n,l,i,o,a,s,c,d,u,f=(0,t.c)(10);f[0]===Symbol.for("react.memo_cache_sentinel")?(e=r.fbs._("HTML",null,{hk:"2Ibnhl"}),f[0]=e):e=f[0];let C=e;f[1]===Symbol.for("react.memo_cache_sentinel")?(n=r.fbs._("Markdown",null,{hk:"2fIuZE"}),f[1]=n):n=f[1];let h=n;f[2]===Symbol.for("react.memo_cache_sentinel")?(l=r.fbs._("PDF",null,{hk:"34FHQh"}),f[2]=l):l=f[2];let p=l;f[3]===Symbol.for("react.memo_cache_sentinel")?(i=r.fbs._("PowerPoint",null,{hk:"434qg8"}),f[3]=i):i=f[3];let m=i;f[4]===Symbol.for("react.memo_cache_sentinel")?(o=r.fbs._("Document",null,{hk:"2GlFT5"}),f[4]=o):o=f[4];let v=o;f[5]===Symbol.for("react.memo_cache_sentinel")?(a=r.fbs._("Spreadsheet",null,{hk:"2TiU3W"}),f[5]=a):a=f[5];let x=a;f[6]===Symbol.for("react.memo_cache_sentinel")?(s=r.fbs._("Google Slides",null,{hk:"2locdX"}),f[6]=s):s=f[6];let g=s;f[7]===Symbol.for("react.memo_cache_sentinel")?(c=r.fbs._("Audio",null,{hk:"HfK3i"}),f[7]=c):c=f[7];let _=c;f[8]===Symbol.for("react.memo_cache_sentinel")?(d=r.fbs._("SVG",null,{hk:"1HTf0t"}),f[8]=d):d=f[8];let w=d;return f[9]===Symbol.for("react.memo_cache_sentinel")?(u={html:C,markdown:h,pdf:p,pptx:m,document:v,spreadsheet:x,google_slides:g,audio:_,svg:w},f[9]=u):u=f[9],u}])},771975,e=>{"use strict";var t=e.i(733783),r=e.i(908464),n=e.i(267989),l=e.i(648570);e.s(["ArtifactExportToast",0,function(e){let i,o,a,s,c,d=(0,r.c)(9),{label:u,onCancel:f}=e;return d[0]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(l.Spinner,{size:16}),d[0]=i):i=d[0],d[1]!==u?(o=(0,t.jsx)("span",{className:"flex-1",children:u}),d[1]=u,d[2]=o):o=d[2],d[3]===Symbol.for("react.memo_cache_sentinel")?(a=n.fbs._("Cancel",null,{hk:"2RSzzu"}),d[3]=a):a=d[3],d[4]!==f?(s=(0,t.jsx)("button",{type:"button",onClick:f,className:"bg-fill-tertiary text-text-primary text-subheadline-medium pointer-events-auto rounded-full px-3 py-1.5 whitespace-nowrap",children:a}),d[4]=f,d[5]=s):s=d[5],d[6]!==o||d[7]!==s?(c=(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[i,o,s]}),d[6]=o,d[7]=s,d[8]=c):c=d[8],c}])},814669,e=>{"use strict";var t=e.i(733783),r=e.i(908464);function n(e){let n,l,i,o,a,s=(0,r.c)(10);return s[0]!==e.title?(n=null!=e.title&&(0,t.jsx)("title",{children:e.title}),s[0]=e.title,s[1]=n):n=s[1],s[2]!==e.children?(l=null!=e.children&&(0,t.jsx)("defs",{children:e.children}),s[2]=e.children,s[3]=l):l=s[3],s[4]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("path",{d:"M12.034 2.057a.992.992 0 0 0-.935-1.055 1.008 1.008 0 0 0-1.065.937l-.148 2.257a.992.992 0 0 0 .935 1.055 1.008 1.008 0 0 0 1.065-.937l.148-2.257zM6.506 4.159a1.008 1.008 0 0 0-1.38.33.992.992 0 0 0 .324 1.372l1.947 1.19c.47.288 1.088.14 1.38-.33a.992.992 0 0 0-.324-1.372l-1.947-1.19zM13.809 12.754a3.073 3.073 0 0 0 4.346 0l1.931-1.897c1.216-1.187 1.216-2.99 0-4.178a3.073 3.073 0 0 0-4.347 0c-.634.619-1.3 1.207-1.948 1.81a1 1 0 0 1-1.361-1.466L14.35 5.24a5.073 5.073 0 0 1 7.132.01c2.02 1.971 2.02 5.066.002 7.038l-1.932 1.897a5.073 5.073 0 0 1-7.141 0 1 1 0 1 1 1.397-1.43z"}),o=(0,t.jsx)("path",{d:"M10.19 11.068a3.073 3.073 0 0 0-4.347 0l-1.93 1.896c-1.217 1.188-1.217 2.99 0 4.179 1.244 1.215 3.12 1.138 4.365-.018l1.93-1.792a1 1 0 1 1 1.36 1.466l-1.92 1.784a5.073 5.073 0 0 1-7.133-.01c-2.02-1.971-2.02-5.066-.001-7.039l1.931-1.897a5.073 5.073 0 0 1 7.142 0 1 1 0 0 1-1.397 1.431zM12.748 22.997a.992.992 0 0 1-.934-1.055l.147-2.257c.037-.55.513-.97 1.066-.937.552.032.97.505.934 1.055l-.148 2.257c-.036.55-.513.97-1.065.937zM18.722 19.51c-.292.47-.91.618-1.38.33l-1.947-1.19a.992.992 0 0 1-.324-1.372c.292-.47.91-.618 1.38-.33l1.947 1.19c.47.287.615.902.324 1.372z"}),s[4]=i,s[5]=o):(i=s[4],o=s[5]),s[6]!==e||s[7]!==n||s[8]!==l?(a=(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"currentColor",width:"1em",height:"1em",...e,children:[n,l,i,o]}),s[6]=e,s[7]=n,s[8]=l,s[9]=a):a=s[9],a}n._isSVG=!0,e.s(["default",0,n])},337517,e=>{"use strict";var t=e.i(733783),r=e.i(908464);function n(e){let n,l,i,o,a,s=(0,r.c)(10);s[0]!==e?({size:l,...n}=e,s[0]=e,s[1]=n,s[2]=l):(n=s[1],l=s[2]);let c=void 0===l?32:l;return s[3]!==n.title?(i=null!=n.title&&(0,t.jsx)("title",{children:n.title}),s[3]=n.title,s[4]=i):i=s[4],s[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("g",{children:(0,t.jsx)("path",{d:"M16 4.5C16.5523 4.5 17 4.94772 17 5.5V6.5H27C27.5523 6.5 28 6.94772 28 7.5C28 8.05228 27.5523 8.5 27 8.5H26V19.5H27C27.5523 19.5 28 19.9477 28 20.5C28 21.0523 27.5523 21.5 27 21.5H17V25H20C20.5523 25 21 25.4477 21 26C21 26.5523 20.5523 27 20 27H12C11.4477 27 11 26.5523 11 26C11 25.4477 11.4477 25 12 25H15V21.5H5C4.44772 21.5 4 21.0523 4 20.5C4 19.9477 4.44772 19.5 5 19.5H6V8.5H5C4.44772 8.5 4 8.05228 4 7.5C4 6.94772 4.44772 6.5 5 6.5H15V5.5C15 4.94772 15.4477 4.5 16 4.5ZM8 19.5H24V8.5H8V19.5Z",fill:"currentColor"})}),s[5]=o):o=s[5],s[6]!==n||s[7]!==c||s[8]!==i?(a=(0,t.jsxs)("svg",{viewBox:"0 0 32 32",fill:"none",width:c,height:c,...n,children:[i,o]}),s[6]=n,s[7]=c,s[8]=i,s[9]=a):a=s[9],a}n._isSVG=!0,e.s(["default",0,n])},60602,e=>{"use strict";var t=e.i(337517),r=e.i(733783),n=e.i(908464);function l(e){let t,l,i,o,a,s,c=(0,n.c)(11);return c[0]!==e.title?(t=null!=e.title&&(0,r.jsx)("title",{children:e.title}),c[0]=e.title,c[1]=t):t=c[1],c[2]!==e.children?(l=null!=e.children&&(0,r.jsx)("defs",{children:e.children}),c[2]=e.children,c[3]=l):l=c[3],c[4]===Symbol.for("react.memo_cache_sentinel")?(i=(0,r.jsx)("path",{d:"M10.2949 12.3896H9.78418C9.54986 12.3896 9.37533 12.4605 9.26172 12.6025C9.14817 12.741 9.0918 12.9547 9.0918 13.2422V14.4238C9.0918 14.6794 9.06 14.898 8.99609 15.0791C8.93577 15.2565 8.83794 15.3984 8.70312 15.5049C8.57176 15.6078 8.40087 15.6787 8.19141 15.7178V15.7822C8.50383 15.839 8.73103 15.9722 8.87305 16.1816C9.01859 16.3911 9.0918 16.6892 9.0918 17.0762V18.2578C9.0918 18.5451 9.14832 18.7603 9.26172 18.9023C9.37533 19.0408 9.54986 19.1104 9.78418 19.1104H10.2949V20.25H9.6084C8.95171 20.25 8.45811 20.0886 8.12793 19.7656C7.79775 19.4461 7.63281 18.9662 7.63281 18.3271V17.1133C7.63281 16.8115 7.57916 16.6038 7.47266 16.4902C7.36618 16.3767 7.17644 16.3204 6.90332 16.3203H6.4668V15.1807H6.90332C7.17645 15.1806 7.36619 15.1233 7.47266 15.0098C7.57916 14.8926 7.63281 14.6849 7.63281 14.3867V13.1729C7.63281 12.5338 7.79775 12.0539 8.12793 11.7344C8.45811 11.4114 8.95172 11.25 9.6084 11.25H10.2949V12.3896Z"}),o=(0,r.jsx)("path",{d:"M14.3926 11.25C15.0493 11.25 15.5429 11.4114 15.873 11.7344C16.2032 12.0539 16.3682 12.5338 16.3682 13.1729V14.3867C16.3682 14.6849 16.4218 14.8926 16.5283 15.0098C16.6348 15.1233 16.8245 15.1806 17.0977 15.1807H17.5293V16.3203H17.0977C16.8245 16.3204 16.6348 16.3767 16.5283 16.4902C16.4218 16.6038 16.3682 16.8115 16.3682 17.1133V18.3271C16.3682 18.9662 16.2032 19.4461 15.873 19.7656C15.5429 20.0886 15.0493 20.25 14.3926 20.25H13.7061V19.1104H14.2168C14.4511 19.1104 14.6233 19.0408 14.7334 18.9023C14.8469 18.7603 14.9043 18.5453 14.9043 18.2578V17.0762C14.9043 16.817 14.9361 16.5984 15 16.4209C15.0639 16.2435 15.163 16.1016 15.2979 15.9951C15.4328 15.8886 15.6037 15.8177 15.8096 15.7822V15.7178C15.4971 15.661 15.2676 15.5278 15.1221 15.3184C14.9766 15.1089 14.9043 14.8107 14.9043 14.4238V13.2422C14.9043 12.9546 14.847 12.741 14.7334 12.6025C14.6233 12.4606 14.4511 12.3896 14.2168 12.3896H13.7061V11.25H14.3926Z"}),a=(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0605 0.12793C11.9068 0.136791 12.5246 0.172451 13.1201 0.31543C13.8212 0.483811 14.4916 0.761006 15.1064 1.1377C15.8208 1.57544 16.4224 2.1851 17.4307 3.19336L18.8066 4.56934C19.8149 5.57759 20.4246 6.17922 20.8623 6.89355C21.239 7.50838 21.5162 8.17878 21.6846 8.87988C21.8275 9.4752 21.8622 10.0927 21.8711 10.9385C21.8715 10.959 21.875 10.9794 21.875 11V16.5996C21.875 17.7053 21.8755 18.5879 21.8174 19.2988C21.7585 20.0197 21.6349 20.6413 21.3438 21.2129C20.8764 22.1302 20.1302 22.8764 19.2129 23.3438C18.6413 23.6349 18.0197 23.7585 17.2988 23.8174C16.5879 23.8755 15.7053 23.875 14.5996 23.875H9.40039C8.29472 23.875 7.41208 23.8755 6.70117 23.8174C5.98034 23.7585 5.35866 23.6349 4.78711 23.3438C3.86982 22.8764 3.12363 22.1302 2.65625 21.2129C2.3651 20.6413 2.24154 20.0197 2.18262 19.2988C2.12454 18.5879 2.125 17.7053 2.125 16.5996V7.40039C2.125 6.29473 2.12453 5.41207 2.18262 4.70117C2.24154 3.98035 2.3651 3.35866 2.65625 2.78711C3.12363 1.86982 3.86982 1.12363 4.78711 0.65625C5.35866 0.365098 5.98034 0.241538 6.70117 0.182617C7.41208 0.124534 8.29472 0.125 9.40039 0.125H11C11.0202 0.125 11.0404 0.127513 11.0605 0.12793ZM9.40039 1.875C8.26585 1.875 7.46686 1.87585 6.84375 1.92676C6.23105 1.97684 5.86492 2.07119 5.58105 2.21582C4.99326 2.51539 4.51539 2.99326 4.21582 3.58105C4.07119 3.86492 3.97684 4.23105 3.92676 4.84375C3.87585 5.46686 3.875 6.26585 3.875 7.40039V16.5996C3.875 17.7341 3.87585 18.5331 3.92676 19.1562C3.97684 19.7689 4.07119 20.1351 4.21582 20.4189C4.51539 21.0067 4.99326 21.4846 5.58105 21.7842C5.86492 21.9288 6.23105 22.0232 6.84375 22.0732C7.46686 22.1242 8.26585 22.125 9.40039 22.125H14.5996C15.7342 22.125 16.5331 22.1242 17.1562 22.0732C17.769 22.0232 18.1351 21.9288 18.4189 21.7842C19.0067 21.4846 19.4846 21.0067 19.7842 20.4189C19.9288 20.1351 20.0232 19.7689 20.0732 19.1562C20.1242 18.5331 20.125 17.7341 20.125 16.5996V11.9766C20.125 11.5463 20.123 11.1889 20.1191 10.8848C20.0614 10.3176 19.5824 9.875 19 9.875H16C13.8599 9.875 12.125 8.1401 12.125 6V3C12.125 2.41392 11.6768 1.9326 11.1045 1.87988C10.8027 1.8762 10.4487 1.875 10.0234 1.875H9.40039ZM13.8164 2.4209C13.8547 2.60797 13.875 2.80162 13.875 3V6C13.875 7.1736 14.8264 8.125 16 8.125H19C19.198 8.125 19.3914 8.1445 19.5781 8.18262C19.514 8.05499 19.4449 7.9297 19.3701 7.80762C19.0658 7.31096 18.6365 6.87379 17.5693 5.80664L16.1934 4.43066C15.1262 3.36351 14.689 2.93424 14.1924 2.62988C14.0699 2.55485 13.9444 2.48522 13.8164 2.4209Z"}),c[4]=i,c[5]=o,c[6]=a):(i=c[4],o=c[5],a=c[6]),c[7]!==e||c[8]!==t||c[9]!==l?(s=(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"currentColor",width:"1em",height:"1em",...e,children:[t,l,i,o,a]}),c[7]=e,c[8]=t,c[9]=l,c[10]=s):s=c[10],s}function i(e){let t,l,i,o,a,s,c,d=(0,n.c)(12);return d[0]!==e.title?(t=null!=e.title&&(0,r.jsx)("title",{children:e.title}),d[0]=e.title,d[1]=t):t=d[1],d[2]!==e.children?(l=null!=e.children&&(0,r.jsx)("defs",{children:e.children}),d[2]=e.children,d[3]=l):l=d[3],d[4]===Symbol.for("react.memo_cache_sentinel")?(i=(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0605 0.12793C11.9068 0.136791 12.5246 0.172455 13.1201 0.31543C13.8212 0.483808 14.4916 0.761022 15.1064 1.1377C15.8208 1.57543 16.4225 2.18515 17.4307 3.19336L18.8066 4.56934C19.8148 5.57753 20.4246 6.17926 20.8623 6.89355C21.239 7.50833 21.5162 8.17884 21.6846 8.87988C21.8275 9.47515 21.8622 10.0928 21.8711 10.9385C21.8715 10.9589 21.875 10.9795 21.875 11V16.5996C21.875 17.7052 21.8755 18.588 21.8174 19.2988C21.7585 20.0196 21.6349 20.6414 21.3438 21.2129C20.8764 22.1301 20.1301 22.8764 19.2129 23.3438C18.6414 23.6349 18.0196 23.7585 17.2988 23.8174C16.5879 23.8755 15.7053 23.875 14.5996 23.875H9.40039C8.29473 23.875 7.41207 23.8755 6.70117 23.8174C5.98037 23.7585 5.35864 23.6349 4.78711 23.3438C3.86987 22.8764 3.12363 22.1301 2.65625 21.2129C2.4639 20.8353 2.34528 20.4355 2.26953 20H4.05957C4.1033 20.1627 4.15444 20.2985 4.21582 20.4189C4.51538 21.0067 4.99331 21.4846 5.58105 21.7842C5.86491 21.9288 6.23109 22.0232 6.84375 22.0732C7.46686 22.1242 8.26585 22.125 9.40039 22.125H14.5996C15.7341 22.125 16.5331 22.1242 17.1562 22.0732C17.7689 22.0232 18.1351 21.9288 18.4189 21.7842C19.0067 21.4846 19.4846 21.0067 19.7842 20.4189C19.9288 20.1351 20.0232 19.7688 20.0732 19.1562C20.1241 18.5332 20.125 17.734 20.125 16.5996V11.9766C20.125 11.5463 20.123 11.1889 20.1191 10.8848C20.0614 10.3176 19.5824 9.875 19 9.875H16C13.8599 9.875 12.1251 8.14005 12.125 6V3C12.125 2.41396 11.6768 1.9326 11.1045 1.87988C10.8027 1.8762 10.4487 1.875 10.0234 1.875H9.40039C8.26585 1.875 7.46686 1.87585 6.84375 1.92676C6.23108 1.97684 5.86491 2.0712 5.58105 2.21582C4.99331 2.51538 4.51538 2.99331 4.21582 3.58105C4.07122 3.86489 3.97684 4.23117 3.92676 4.84375C3.87586 5.46683 3.875 6.26597 3.875 7.40039V10H2.125V7.40039C2.125 6.29483 2.12455 5.41204 2.18262 4.70117C2.24154 3.98042 2.36514 3.35861 2.65625 2.78711C3.12363 1.86987 3.86987 1.12362 4.78711 0.65625C5.35865 0.365111 5.98036 0.241537 6.70117 0.182617C7.41207 0.124535 8.29473 0.125 9.40039 0.125H11C11.0202 0.125 11.0404 0.127513 11.0605 0.12793ZM13.8164 2.4209C13.8547 2.60793 13.875 2.80166 13.875 3V6C13.8751 7.17355 14.8264 8.125 16 8.125H19C19.198 8.125 19.3914 8.14451 19.5781 8.18262C19.514 8.05504 19.4449 7.92965 19.3701 7.80762C19.0658 7.311 18.6364 6.87371 17.5693 5.80664L16.1934 4.43066C15.1263 3.36358 14.689 2.93423 14.1924 2.62988C14.0699 2.55486 13.9444 2.48521 13.8164 2.4209Z"}),o=(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.49316 12C4.97428 12 5.38261 12.0809 5.7168 12.2422C6.05361 12.4006 6.30969 12.6343 6.48535 12.9424C6.66096 13.2477 6.74901 13.6209 6.74902 14.0615C6.74896 14.7182 6.55288 15.2249 6.16113 15.582C5.76933 15.9393 5.21339 16.1182 4.49316 16.1182H3.24512V17.5498C3.2451 17.8258 3.02108 18.0496 2.74512 18.0498H2.5C2.22387 18.0498 2.00001 17.8259 2 17.5498V12.5C2 12.2239 2.22386 12 2.5 12H4.49316ZM3.24512 15.0723H4.35547C4.72964 15.0722 5.00903 14.9891 5.19336 14.8223C5.38056 14.6552 5.47455 14.4013 5.47461 14.0615C5.4746 13.7187 5.38061 13.463 5.19336 13.2959C5.00903 13.129 4.72961 13.0459 4.35547 13.0459H3.24512V15.0723Z"}),a=(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0596 12C10.6989 12 11.2491 12.1295 11.71 12.3887C12.1738 12.648 12.5296 13.0058 12.7773 13.4609C13.025 13.9161 13.1494 14.4378 13.1494 15.0254C13.1494 15.6099 13.025 16.1299 12.7773 16.585C12.5296 17.04 12.1737 17.399 11.71 17.6611C11.2491 17.9203 10.6989 18.0498 10.0596 18.0498H8.26465C7.98869 18.0496 7.76466 17.8258 7.76465 17.5498V12.5C7.76465 12.224 7.98869 12.0002 8.26465 12H10.0596ZM9.01758 16.9873H10.0547C10.4321 16.9873 10.7555 16.9064 11.0234 16.7451C11.2941 16.5809 11.5015 16.3514 11.6455 16.0576C11.7923 15.7639 11.8652 15.4198 11.8652 15.0254C11.8652 14.628 11.7923 14.2831 11.6455 13.9922C11.5015 13.6986 11.294 13.4708 11.0234 13.3096C10.7555 13.1454 10.4321 13.0625 10.0547 13.0625H9.01758V16.9873Z"}),s=(0,r.jsx)("path",{d:"M17.9424 12C18.2185 12.0001 18.4424 12.2239 18.4424 12.5V12.5459C18.4423 12.822 18.2185 13.0458 17.9424 13.0459H15.5V14.666H17.3936C17.6696 14.666 17.8934 14.89 17.8936 15.166V15.2119C17.8936 15.4881 17.6697 15.7119 17.3936 15.7119H15.5V17.5498C15.5 17.8259 15.2761 18.0498 15 18.0498H14.7549C14.4789 18.0496 14.2549 17.8258 14.2549 17.5498V12.5C14.2549 12.224 14.4789 12.0002 14.7549 12H17.9424Z"}),d[4]=i,d[5]=o,d[6]=a,d[7]=s):(i=d[4],o=d[5],a=d[6],s=d[7]),d[8]!==e||d[9]!==t||d[10]!==l?(c=(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"currentColor",width:"1em",height:"1em",...e,children:[t,l,i,o,a,s]}),d[8]=e,d[9]=t,d[10]=l,d[11]=c):c=d[11],c}l._isSVG=!0,i._isSVG=!0;let o={markdown:l,pdf:i,pptx:t.default,google_slides:t.default};e.s(["DOWNLOAD_OPTION_ICONS",0,o],60602)},271487,e=>{"use strict";var t=e.i(733783),r=e.i(908464),n=e.i(267989);e.i(315433);var l=e.i(516266),i=e.i(771975),o=e.i(310112);let a=(0,e.i(840387).createClientLogger)("useArtifactExport");function s(e,t){if(!t)return e;let r=e.includes("?")?"&":"?";return`${e}${r}filename=${encodeURIComponent(t)}`}function c(e){let c,d=(0,r.c)(2);return d[0]!==e?(c=async r=>{let c="pdf"===e?{toastLabel:n.fbs._("Generating PDF…",null,{hk:"8vbUf"}),errorMessage:n.fbs._("Couldn't generate PDF. Try again.",null,{hk:"28c1cV"})}:{toastLabel:n.fbs._("Generating PowerPoint…",null,{hk:"1lFNhC"}),errorMessage:n.fbs._("Couldn't export slides to PowerPoint. Try again.",null,{hk:"25jZTe"})};try{let t,n=await fetch((t=new URLSearchParams({artifact_uuid:r.artifactUuid,asset_id:r.artifactAssetId}),`/api/artifacts/${e}/status?${t.toString()}`));if(n.ok){let e=await n.json();if("ready"===e.status){let{download_url:t}=e;if(t)return void(0,o.triggerDownload)(s(t,r.filename),r.filename)}}else if(401===n.status)return void l.toast.error(c.errorMessage)}catch(e){}let d=new AbortController,u=!1,f=l.toast.custom(e=>(0,t.jsx)(i.ArtifactExportToast,{label:c.toastLabel,onCancel:()=>{u=!0,d.abort(),l.toast.dismiss(e)}}),{duration:1/0});try{let t=await fetch(`/api/artifacts/${e}/generate`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({artifact_uuid:r.artifactUuid,asset_id:r.artifactAssetId,filename:r.filename}),signal:d.signal});if(!t.ok){l.toast.dismiss(f),l.toast.error(c.errorMessage),a.error({status:t.status,format:e},"generate returned non-OK");return}let n=await t.json();l.toast.dismiss(f),(0,o.triggerDownload)(s(n.download_url,r.filename),r.filename)}catch(t){if(u)return;l.toast.dismiss(f),l.toast.error(c.errorMessage),a.error({error:t,format:e},"generate fetch failed")}},d[0]=e,d[1]=c):c=d[1],c}e.s(["useDownloadOptionHandler",0,function(e){let t,n=(0,r.c)(5),{artifactAssetId:l,artifactUuid:i}=e,a=c("pdf"),s=c("pptx");return n[0]!==l||n[1]!==i||n[2]!==a||n[3]!==s?(t=e=>{"pdf"===e.kind?a({artifactAssetId:l,artifactUuid:i,filename:e.filename}):"pptx"===e.kind?s({artifactAssetId:l,artifactUuid:i,filename:e.filename}):"google_slides"!==e.kind&&(0,o.triggerDownload)(e.href,e.filename)},n[0]=l,n[1]=i,n[2]=a,n[3]=s,n[4]=t):t=n[4],t}])},429266,e=>{"use strict";var t=e.i(733783),r=e.i(908464),n=e.i(267989),l=e.i(814669),i=e.i(148061);e.s(["DeleteLinkMenuItem",0,function(e){let o,a,s=(0,r.c)(4),{onSelect:c,disabled:d}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(o=n.fbs._("Delete link",null,{hk:"1jT9Nd"}),s[0]=o):o=s[0],s[1]!==d||s[2]!==c?(a=(0,t.jsx)(i.DropdownMenuItem,{label:o,leadingIcon:l.default,variant:"destructive",disabled:d,onSelect:c}),s[1]=d,s[2]=c,s[3]=a):a=s[3],a}])}]); //# debugId=19e1568c-4a8c-22ed-2830-875bcee90c00