PageSourceSearch

https://morta.com/_next/static/chunks/app/error-6fc62267d143dc89.js?dpl=dpl_FQtVKAsMh5eJugzVWJytVdfuF26H

js morta.com collected 2026-10-06 00:30:35 UTC 17,524 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="064c157f-e2ef-4659-a418-bbd64aa67ce4",e._sentryDebugIdIdentifier="sentry-dbid-064c157f-e2ef-4659-a418-bbd64aa67ce4")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18039,20704,31050,41871,43410,59338,77554,77738,89203],{80912:(e,t,r)=>{"use strict";r.d(t,{BT:()=>i,Wu:()=>l,X9:()=>c,ZB:()=>o,Zp:()=>n,aR:()=>d,wL:()=>u});var a=r(339953);r(483989);var s=r(561054);function n(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card",className:(0,s.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-none",t),...r,"data-sentry-component":"Card","data-sentry-source-file":"card.tsx"})}function d(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card-header",className:(0,s.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-[data-slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...r,"data-sentry-component":"CardHeader","data-sentry-source-file":"card.tsx"})}function o(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card-title",className:(0,s.cn)("leading-none font-semibold",t),...r,"data-sentry-component":"CardTitle","data-sentry-source-file":"card.tsx"})}function i(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card-description",className:(0,s.cn)("text-muted-foreground text-sm",t),...r,"data-sentry-component":"CardDescription","data-sentry-source-file":"card.tsx"})}function c(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card-action",className:(0,s.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",t),...r,"data-sentry-component":"CardAction","data-sentry-source-file":"card.tsx"})}function l(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card-content",className:(0,s.cn)("px-6",t),...r,"data-sentry-component":"CardContent","data-sentry-source-file":"card.tsx"})}function u(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card-footer",className:(0,s.cn)("flex items-center px-6 [.border-t]:pt-6",t),...r,"data-sentry-component":"CardFooter","data-sentry-source-file":"card.tsx"})}},89203:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>s,default:()=>n});var a=r(766359);let s=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],n=(0,a.A)("Users",s)},117156:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var a=r(339953),s=r(423933),n=r(145445),d=r(13139),o=r(483989);function i(e){let{error:t}=e;(0,o.useEffect)(()=>{var e;d.Cp(t,{tags:{boundary:"app/error",digest:null!=(e=t.digest)?e:"missing"},extra:{pathname:window.location.pathname}})},[t]);let r=t.message||"",i="Something went wrong",c="An unexpected error occurred while loading this page. Please refresh and try again.",l="SYSTEM_ERROR",u=window.location.pathname.split("/").pop()||"",m=r.match(/project "(.*?)"/),f=m?m[1]:"Unknown Project";return r.includes("not a member of this specific project")?(0,a.jsx)("div",{className:"container mx-auto py-6",children:(0,a.jsx)(n.ProjectMembershipError,{projectName:f,projectId:u})}):(r.startsWith("Unauthorized:")?(i="Access denied",c=r.replace("Unauthorized: ",""),l="NO_ACCESS"):r.includes("Project not found")?(i="Project not found",c="The requested project does not exist or has been deleted.",l="NOT_FOUND"):(r.includes("Organisation")||r.includes("Organization"))&&(i="Organisation error",c=r,l="ORGANIZATION_NOT_FOUND"),(0,a.jsx)("div",{className:"container mx-auto py-6","data-sentry-component":"HomepageError","data-sentry-source-file":"error.tsx",children:(0,a.jsx)(s.q,{title:i,description:c,errorCode:l,showBackButton:!0,backButtonText:"Back to homepage",backButtonHref:"/","data-sentry-element":"ErrorCardBase","data-sentry-source-file":"error.tsx"})}))}},145445:(e,t,r)=>{"use strict";r.d(t,{ProjectMembershipError:()=>l});var a=r(339953),s=r(947386),n=r(80912),d=r(89203),o=r(320704),i=r(812366),c=r.n(i);function l(e){let{projectName:t,projectId:r,backHref:i="/dashboard/projects"}=e;return(0,a.jsx)("div",{className:"flex items-center justify-center min-h-[60vh]","data-sentry-component":"ProjectMembershipError","data-sentry-source-file":"project-membership-error.tsx",children:(0,a.jsxs)(n.Zp,{className:"w-full max-w-lg shadow-lg border-primary/20","data-sentry-element":"Card","data-sentry-source-file":"project-membership-error.tsx",children:[(0,a.jsxs)(n.aR,{className:"pb-2","data-sentry-element":"CardHeader","data-sentry-source-file":"project-membership-error.tsx",children:[(0,a.jsx)("div",{className:"flex justify-center mb-4",children:(0,a.jsx)("div",{className:"bg-primary/10 p-4 rounded-full",children:(0,a.jsx)(d.default,{className:"h-6 w-6 text-primary","data-sentry-element":"Users","data-sentry-source-file":"project-membership-error.tsx"})})}),(0,a.jsx)(n.ZB,{className:"text-xl text-center","data-sentry-element":"CardTitle","data-sentry-source-file":"project-membership-error.tsx",children:"Project Membership Required"}),(0,a.jsx)(n.BT,{className:"text-center pt-2 text-base","data-sentry-element":"CardDescription","data-sentry-source-file":"project-membership-error.tsx",children:"You need to be added to this project to access it"})]}),(0,a.jsxs)(n.Wu,{className:"space-y-4 px-6","data-sentry-element":"CardContent","data-sentry-source-file":"project-membership-error.tsx",children:[(0,a.jsxs)("div",{className:"bg-muted p-4 rounded-lg",children:[(0,a.jsx)("h3",{className:"font-medium text-center mb-1",children:"Project Details"}),(0,a.jsxs)("p",{className:"text-center text-sm",children:[(0,a.jsx)("span",{className:"font-semibold",children:t}),(0,a.jsxs)("span",{className:"block text-xs text-muted-foreground mt-1",children:["ID: ",r]})]})]}),(0,a.jsx)("div",{className:"text-sm text-center text-muted-foreground",children:(0,a.jsx)("p",{children:"This project exists in your organization, but you need to be added as a member to access it. Contact a project administrator."})})]}),(0,a.jsx)(n.wL,{className:"flex flex-col sm:flex-row justify-center gap-3 pt-2 pb-6","data-sentry-element":"CardFooter","data-sentry-source-file":"project-membership-error.tsx",children:(0,a.jsx)(c(),{href:i,"data-sentry-element":"Link","data-sentry-source-file":"project-membership-error.tsx",children:(0,a.jsxs)(s.$,{variant:"outline",className:"w-full sm:w-auto gap-2","data-sentry-element":"Button","data-sentry-source-file":"project-membership-error.tsx",children:[(0,a.jsx)(o.default,{className:"h-4 w-4","data-sentry-element":"ArrowLeft","data-sentry-source-file":"project-membership-error.tsx"}),"Back to Projects"]})})})]})})}},177738:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>s,default:()=>n});var a=r(766359);let s=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],n=(0,a.A)("TriangleAlert",s)},210508:(e,t,r)=>{"use strict";r.d(t,{f:()=>a,z:()=>s});let a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()}},233130:(e,t,r)=>{Promise.resolve().then(r.bind(r,117156))},259338:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>s,default:()=>n});var a=r(766359);let s=[["path",{d:"M7 2h13a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-5",key:"bt2siv"}],["path",{d:"M10 10 2.5 2.5C2 2 2 2.5 2 5v3a2 2 0 0 0 2 2h6z",key:"1hjrv1"}],["path",{d:"M22 17v-1a2 2 0 0 0-2-2h-1",key:"1iynyr"}],["path",{d:"M4 14a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16.5l1-.5.5.5-8-8H4z",key:"161ggg"}],["path",{d:"M6 18h.01",key:"uhywen"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],n=(0,a.A)("ServerOff",s)},277554:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>s,default:()=>n});var a=r(766359);let s=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],n=(0,a.A)("Lock",s)},320704:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>s,default:()=>n});var a=r(766359);let s=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],n=(0,a.A)("ArrowLeft",s)},331050:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>s,default:()=>n});var a=r(766359);let s=[["path",{d:"M12 22v-9",key:"x3hkom"}],["path",{d:"M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z",key:"2ntwy6"}],["path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13",key:"1pmm1c"}],["path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z",key:"12ttoo"}]],n=(0,a.A)("PackageOpen",s)},423933:(e,t,r)=>{"use strict";r.d(t,{q:()=>h});var a=r(339953),s=r(947386),n=r(80912),d=r(177738),o=r(843410),i=r(277554),c=r(331050),l=r(441871),u=r(89203),m=r(259338),f=r(812366),p=r.n(f);function h(e){let{title:t,description:r,details:f,errorCode:h,showBackButton:x=!0,backButtonText:y,backButtonHref:v="/",action:b}=e;return(0,a.jsx)("div",{className:"flex items-center justify-center min-h-[60vh]","data-sentry-component":"ErrorCardBase","data-sentry-source-file":"error-card-base.t
1sx",children:(0,a.jsxs)(n.Zp,{className:"w-full max-w-lg shadow-lg border-destructive/20","data-sentry-element":"Card","data-sentry-source-file":"error-card-base.tsx",children:[(0,a.jsxs)(n.aR,{className:"pb-2","data-sentry-element":"CardHeader","data-sentry-source-file":"error-card-base.tsx",children:[(0,a.jsx)("div",{className:"flex justify-center mb-4",children:(0,a.jsx)("div",{className:"bg-destructive/10 p-4 rounded-full",children:function(e){if(!e)return(0,a.jsx)(d.default,{className:"h-6 w-6 text-destructive"});switch(e){case"NOT_FOUND":return(0,a.jsx)(o.default,{className:"h-6 w-6 text-destructive"});case"NO_ACCESS":case"UNAUTHORIZED":return(0,a.jsx)(i.default,{className:"h-6 w-6 text-destructive"});case"ORGANIZATION_NOT_FOUND":return(0,a.jsx)(c.default,{className:"h-6 w-6 text-destructive"});case"NOT_MEMBER":return(0,a.jsx)(l.default,{className:"h-6 w-6 text-destructive"});case"PROJECT_MEMBERSHIP_REQUIRED":return(0,a.jsx)(u.default,{className:"h-6 w-6 text-destructive"});case"SYSTEM_ERROR":return(0,a.jsx)(m.default,{className:"h-6 w-6 text-destructive"});default:return(0,a.jsx)(d.default,{className:"h-6 w-6 text-destructive"})}}(h)})}),(0,a.jsx)(n.ZB,{className:"text-xl text-center","data-sentry-element":"CardTitle","data-sentry-source-file":"error-card-base.t
1sx",children:t}),(0,a.jsx)(n.BT,{className:"text-center pt-2 text-base","data-sentry-element":"CardDescription","data-sentry-source-file":"error-card-base.tsx",children:r})]}),f&&(0,a.jsx)(n.Wu,{className:"text-center space-y-3",children:(0,a.jsx)("p",{className:"text-muted-foreground text-sm px-6",children:f})}),(x||b)&&(0,a.jsx)(n.wL,{className:"flex justify-center pt-2 pb-6",children:b||x&&(0,a.jsx)(p(),{href:v,children:(0,a.jsx)(s.$,{variant:"default",children:y})})})]})})}r(483989)},441871:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>s,default:()=>n});var a=r(766359);let s=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]],n=(0,a.A)("UserX",s)},467461:(e,t,r)=>{"use strict";r.d(t,{s:()=>d,t:()=>n});var a=r(483989);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let r=!1,a=e.map(e=>{let a=s(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():s(e[t],null)}}}}function d(...e){return a.useCallback(n(...e),e)}},621700:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(483989),s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},n=r(210508);let d=(0,a.forwardRef)((e,t)=>{let{color:r="currentColor",size:d=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:c="",children:l,iconNode:u,...m}=e;return(0,a.createElement)("svg",{ref:t,...s,width:d,height:d,stroke:r,strokeWidth:i?24*Number(o)/Number(d):o,className:(0,n.z)("lucide",c),...m},[...u.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(l)?l:[l]])})},715454:(e,t,r)=>{"use strict";r.d(t,{F:()=>d});var a=r(931708);let s=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=a.$,d=(e,t)=>r=>{var a;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:d,defaultVariants:o}=t,i=Object.keys(d).map(e=>{let t=null==r?void 0:r[e],a=null==o?void 0:o[e];if(null===t)return null;let n=s(t)||s(a);return d[e][n]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,a]=t;return void 0===a||(e[r]=a),e},{});return n(e,i,null==t||null==(a=t.compoundVariants)?void 0:a.reduce((e,t)=>{let{class:r,className:a,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...c}[t]):({...o,...c})[t]===r})?[...e,r,a]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},766359:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(483989),s=r(210508),n=r(621700);let d=(e,t)=>{let r=(0,a.forwardRef)((r,d)=>{let{className:o,...i}=r;return(0,a.createElement)(n.A,{ref:d,iconNode:t,className:(0,s.z)("lucide-".concat((0,s.f)(e)),o),...i})});return r.displayName="".concat(e),r}},843410:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__iconNode:()=>s,default:()=>n});var a=r(766359);let s=[["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]],n=(0,a.A)("FileQuestion",s)},883428:(e,t,r)=>{"use strict";r.d(t,{DX:()=>d,xV:()=>i});var a=r(483989),s=r(467461),n=r(339953),d=a.forwardRef((e,t)=>{let{children:r,...s}=e,d=a.Children.toArray(r),i=d.find(c);if(i){let e=i.props.children,r=d.map(t=>t!==i?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,n.jsx)(o,{...s,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,r):null})}return(0,n.jsx)(o,{...s,ref:t,children:r})});d.displayName="Slot";var o=a.forwardRef((e,t)=>{let{children:r,...n}=e;if(a.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r),d=function(e,t){let r={...t};for(let a in t){let s=e[a],n=t[a];/^on[A-Z]/.test(a)?s&&n?r[a]=(...e)=>{n(...e),s(...e)}:s&&(r[a]=s):"style"===a?r[a]={...s,...n}
1:"className"===a&&(r[a]=[s,n].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==a.Fragment&&(d.ref=t?(0,s.t)(t,e):e),a.cloneElement(r,d)}return a.Children.count(r)>1?a.Children.only(null):null});o.displayName="SlotClone";var i=({children:e})=>(0,n.jsx)(n.Fragment,{children:e});function c(e){return a.isValidElement(e)&&e.type===i}},947386:(e,t,r)=>{"use strict";r.d(t,{$:()=>i,r:()=>o});var a=r(339953),s=r(883428),n=r(715454);r(483989);var d=r(561054);let o=(0,n.F)("inline-flex items-center justify-center cursor-pointer gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",outline:"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline","error-outline":"text-red-700 border-red-700/10 bg-red-700/5 hover:bg-red-300 hover:text-red-800 border","success-outline":"text-green-700 border-green-700/10 bg-green-700/5 hover:bg-green-300 hover:text-green-800 border"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8"}},defaultVariants:{variant:"default",size:"default"}});function i(e){let{className:t,variant:r,size:n,asChild:i=!1,...c}=e,l=i?s.DX:"button";return(0,a.jsx)(l,{"data-slot":"button",className:(0,d.cn)(o({variant:r,size:n,className:t})),...c,"data-sentry-element":"Comp","data-sentry-component":"Button","data-sentry-source-file":"button.tsx"})}}},e=>{e.O(0,[83938,75531,52593,12366,61054,33704,84463,77358],()=>e(e.s=233130)),_N_E=e.O()}]);

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.