1import{At as g,F as b,G as y,H as l,I as n,L as r,N as i,P as o,Qt as v,U as _,Z as h,at as s,k as c,lt as u,st as x,tn as d}from"./chunk.djapp.tiptap.xj6sITgg.js";import{t as w}from"./chunk._plugin-vue_export-helper.Cw6dy1KU.js";import{n as k,t as S}from"./chunk.usePerformanceStats.7EuLs3uC.js";import{t as I}from"./chunk.LoadingSpinner.BCOD2_q-.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:"3.35.0"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4e615cb3-4e98-4fc9-8e12-c083e92a9fdc",e._sentryDebugIdIdentifier="sentry-dbid-4e615cb3-4e98-4fc9-8e12-c083e92a9fdc")}catch{}})();var j=y({components:{ArrowUpIcon:k,LoadingSpinner:I},inheritAttrs:!1,props:{jobMeta:{default:()=>null,type:[Object,null]}},setup(e){const t=g(e,"jobMeta");return{loading:i(()=>t.value===null),stats:i(()=>S(t.value))}}}),T={key:1,class:"pb-4 text-base text-center text-gray-400 mt-14"},L={key:2,class:"grid grid-cols-1 overflow-hidden divide-y divide-gray-200 rounded-lg"},A={class:"text-base font-normal text-gray-900"},D={class:"flex items-baseline justify-between mt-1 md:block lg:flex"},E={class:"flex items-baseline text-2xl font-semibold text-dc-gold-600"},M={key:0,class:"ml-2 text-sm font-medium text-gray-500"},N={class:"sr-only"};function C(e,t,p,J,P,$){const f=u("LoadingSpinner"),m=u("ArrowUpIcon");return s(),r("div",h({class:"w-full bg-white border border-gray-200 min-h-xs sm:rounded-md"},e.$attrs),[t[1]||(t[1]=o("h3",{class:"mx-4 mt-4 text-lg font-medium leading-6 text-gray-900"}," Job Performance ",-1)),!e.jobMeta&&e.loading?(s(),r(c,{key:0},[t[0]||(t[0]=o("p",{class:"pb-4 text-base text-center mt-14"}," Calculating job performance ⦠",-1)),_(f,{class:"w-6 h-6 mx-auto"})],64)):n("",!0),!e.jobMeta&&!e.loading?(s(),r("p",T," Job didn't received enough traffic to show stats. ")):n("",!0),e.jobMeta?(s(),r("div",L,[(s(!0),r(c,null,x(e.stats,a=>(s(),r("div",{key:a.name,class:"p-4"},[o("div",A,d(a.name),1),o("div",D,[o("div",E,[l(d(a.stat)+" ",1),a.previousStat?(s(),r("span",M," +"+d(a.previousStat)+" in the last 24h",1)):n("",!0)]),a.changeType==="increase"?(s(),r("div",{key:0,class:v([a.changeType==="increase"?"bg-dc-mint-100 text-dc-mint-800":"bg-dc-orange-100 text-dc-orange-800","inline-flex items-baseline px-2.5 py-0.5 rounded-full text-sm font-medium md:mt-2 lg:mt-0"])}
1,[a.changeType==="increase"?(s(),b(m,{key:0,class:"self-center flex-shrink-0 w-5 h-5 -ml-1 text-dc-mint-500 mr-0.5","aria-hidden":"true"})):n("",!0),o("span",N,d(a.changeType==="increase"?"Increased":"Decreased")+" by ",1),l(" "+d(a.change),1)],2)):n("",!0)])]))),128))])):n("",!0)],16)}var F=w(j,[["render",C]]);export{F as default}; 2 3//# sourceMappingURL=chunk.JobPerformanceScore.BiPCvUxj.js.map
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.