1import{s as g,a as y,h as _,d as f,c as w,i as b,b as S,e as p}from"../chunks/scheduler.D4nf-N1k.js";import{S as T,i as k,c as E,a as I,m as M,t as R,b as v,d as D}from"../chunks/index.D_vFwDxO.js";import{p as F}from"../chunks/stores.B6LtHfJ-.js";import{E as N}from"../chunks/ErrorState.BT6fINoV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"1019e586779467e3f309bec8dff3a6f7d15c1a4b"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="10c58acf-6dde-414b-921f-18f5bd8e6257",e._sentryDebugIdIdentifier="sentry-dbid-10c58acf-6dde-414b-921f-18f5bd8e6257")})()}catch{}function C(e){let o;return{c(){o=p()},l(s){o=p()},m(s,n){b(s,o,n)},p(s,n){},d(s){s&&f(o)}}}function H(e){let o,s,n,r;return document.title=o=` 2 `+(e[1]?"Tasks Not Found · TranslateMom":"Studio Error · TranslateMom")+` 3 `,n=new N({props:{status:e[2],label:e[7],title:e[6],description:e[5],detail:e[4],currentPath:e[8].url.pathname,primaryHref:"/app",primaryLabel:"Back to Studio",secondaryHref:"/",secondaryLabel:"Visit Home",showSecondary:!0,suggestions:e[3],$$slots:{details:[C]},$$scope:{ctx:e}}}),{c(){s=y(),E(n.$$.fragment)},l(t){_("svelte-15skec8",document.head).forEach(f),s=w(t),I(n.$$.fragment,t)},m(t,a){b(t,s,a),M(n,t,a),r=!0},p(t,[a]){(!r||a&2)&&o!==(o=` 4 `+(t[1]?"Tasks Not Found · TranslateMom":"Studio Error · TranslateMom")+` 5 `)&&(document.title=o);const i={};a&4&&(i.status=t[2]),a&128&&(i.label=t[7]),a&64&&(i.title=t[6]),a&32&&(i.description=t[5]),a&16&&(i.detail=t[4]),a&256&&(i.currentPath=t[8].url.pathname),a&8&&(i.suggestions=t[3]),a&1025&&(i.$$scope={dirty:a,ctx:t}),n.$set(i)},i(t){r||(R(n.$$.fragment,t),r=!0)},o(t){v(n.$$.fragment,t),r=!1},d(t){t&&f(s),D(n,t)}}}const L="We couldn't load that task view. It may have been removed or you no longer have access.",A="Something went wrong while loading your tasks. Try again shortly.";function P(e,o,s){let n,r,t,a,i,c,m,h;S(e,F,u=>s(8,h=u));let{error:d}=o,{status:l}=o;return e.$$set=u=>{"error"in u&&s(0,d=u.error),"status"in u&&s(9,l=u.status)},e.$$.update=()=>{e.$$.dirty&513&&s(2,n=l??(d==null?void 0:d.status)??404),e.$$.dirty&4&&s(1,r=n===404),e.$$.dirty&2&&s(7,t=r?"Tasks not available":"Studio error"),e.$$.dirty&2&&s(6,a=r?"TranslateMom couldn't find those tasks":"TranslateMom ran into an issue"),e.$$.dirty&2&&s(5,i=r?L:A),e.$$.dirty&1&&s(4,c=d!=null&&d.message&&!/not found/i.test(d.message)?d.message:void 0),e.$$.dirty&2&&s(3,m=r?["Refresh the Studio to reload your projects.","Return to the main dashboard and select another task.","Ask a teammate to re-share the task if it was archived."]:["Refresh the page or restart the Studio session.","Return to the dashboard while we restore this view.","If the issue persists, contact us from the Studio's help bubble."])},[d,r,n,m,c,i,a,t,h,l]}class W extends T{constructor(o){super(),k(this,o,P,H,g,{error:0,status:9})}}export{W as component};
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.