promptfoo 0.80.3 → 0.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +1 -1
- package/dist/src/commands/cache.d.ts.map +1 -1
- package/dist/src/commands/cache.js +26 -2
- package/dist/src/commands/cache.js.map +1 -1
- package/dist/src/commands/eval.d.ts.map +1 -1
- package/dist/src/commands/eval.js +2 -4
- package/dist/src/commands/eval.js.map +1 -1
- package/dist/src/commands/generate/redteam.d.ts.map +1 -1
- package/dist/src/commands/generate/redteam.js +0 -2
- package/dist/src/commands/generate/redteam.js.map +1 -1
- package/dist/src/commands/redteam.d.ts +2 -1
- package/dist/src/commands/redteam.d.ts.map +1 -1
- package/dist/src/commands/redteam.js +60 -9
- package/dist/src/commands/redteam.js.map +1 -1
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +16 -4
- package/dist/src/config.js.map +1 -1
- package/dist/src/database/tables.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/main.d.ts.map +1 -1
- package/dist/src/main.js +2 -1
- package/dist/src/main.js.map +1 -1
- package/dist/src/onboarding.d.ts.map +1 -1
- package/dist/src/onboarding.js +19 -0
- package/dist/src/onboarding.js.map +1 -1
- package/dist/src/providers/ai21.d.ts +39 -0
- package/dist/src/providers/ai21.d.ts.map +1 -0
- package/dist/src/providers/ai21.js +145 -0
- package/dist/src/providers/ai21.js.map +1 -0
- package/dist/src/providers/anthropic.d.ts +1 -0
- package/dist/src/providers/anthropic.d.ts.map +1 -1
- package/dist/src/providers/anthropic.js +3 -1
- package/dist/src/providers/anthropic.js.map +1 -1
- package/dist/src/providers/scriptCompletion.js +2 -2
- package/dist/src/providers/scriptCompletion.js.map +1 -1
- package/dist/src/providers.d.ts.map +1 -1
- package/dist/src/providers.js +5 -0
- package/dist/src/providers.js.map +1 -1
- package/dist/src/redteam/plugins/bfla.d.ts.map +1 -1
- package/dist/src/redteam/plugins/bfla.js +3 -4
- package/dist/src/redteam/plugins/bfla.js.map +1 -1
- package/dist/src/telemetry.d.ts +3 -2
- package/dist/src/telemetry.d.ts.map +1 -1
- package/dist/src/telemetry.js +4 -0
- package/dist/src/telemetry.js.map +1 -1
- package/dist/src/types/index.d.ts +12 -12
- package/dist/src/types/index.js +1 -1
- package/dist/src/types/index.js.map +1 -1
- package/dist/src/types/providers.d.ts +2 -0
- package/dist/src/types/providers.d.ts.map +1 -1
- package/dist/src/types/providers.js.map +1 -1
- package/dist/src/web/nextui/404/index.html +1 -1
- package/dist/src/web/nextui/404.html +1 -1
- package/dist/src/web/nextui/_next/static/chunks/178-fbe9007ed9d0d1f2.js +54 -0
- package/dist/src/web/nextui/_next/static/chunks/app/{layout-2e2c3acd3eb844ec.js → layout-389d33c82e892815.js} +1 -1
- package/dist/src/web/nextui/_next/static/chunks/app/report/page-6915154f000de6f3.js +1 -0
- package/dist/src/web/nextui/_next/static/chunks/{webpack-22e0e23bc00c2c23.js → webpack-2bde9ee952171572.js} +1 -1
- package/dist/src/web/nextui/_next/static/css/ed73533d059fd179.css +1 -0
- package/dist/src/web/nextui/auth/login/index.html +1 -1
- package/dist/src/web/nextui/auth/login/index.txt +4 -4
- package/dist/src/web/nextui/auth/signup/index.html +1 -1
- package/dist/src/web/nextui/auth/signup/index.txt +4 -4
- package/dist/src/web/nextui/datasets/index.html +1 -1
- package/dist/src/web/nextui/datasets/index.txt +4 -4
- package/dist/src/web/nextui/eval/index.html +1 -1
- package/dist/src/web/nextui/eval/index.txt +5 -5
- package/dist/src/web/nextui/index.html +1 -1
- package/dist/src/web/nextui/index.txt +4 -4
- package/dist/src/web/nextui/progress/index.html +1 -1
- package/dist/src/web/nextui/progress/index.txt +4 -4
- package/dist/src/web/nextui/prompts/index.html +1 -1
- package/dist/src/web/nextui/prompts/index.txt +4 -4
- package/dist/src/web/nextui/report/index.html +1 -1
- package/dist/src/web/nextui/report/index.txt +7 -7
- package/dist/src/web/nextui/setup/index.html +1 -1
- package/dist/src/web/nextui/setup/index.txt +5 -5
- package/dist/test/commands/generate/redteam.test.js +0 -29
- package/dist/test/commands/generate/redteam.test.js.map +1 -1
- package/dist/test/config.test.js +96 -0
- package/dist/test/config.test.js.map +1 -1
- package/dist/test/providers.anthropic.test.js +2 -2
- package/dist/test/providers.anthropic.test.js.map +1 -1
- package/dist/test/providers.scriptCompletion.test.js +113 -0
- package/dist/test/providers.scriptCompletion.test.js.map +1 -1
- package/package.json +1 -1
- package/dist/src/web/nextui/_next/static/chunks/577-d04b6ac55136510a.js +0 -1
- package/dist/src/web/nextui/_next/static/chunks/app/report/page-804c81b4b408e927.js +0 -1
- package/dist/src/web/nextui/_next/static/css/32384cb640d2265e.css +0 -1
- /package/dist/src/web/nextui/_next/static/{Hfl51Uf4v_sDVja58NEDI → -GVTgHf1ZK9GxOyhXqerX}/_buildManifest.js +0 -0
- /package/dist/src/web/nextui/_next/static/{Hfl51Uf4v_sDVja58NEDI → -GVTgHf1ZK9GxOyhXqerX}/_ssgManifest.js +0 -0
- /package/dist/src/web/nextui/_next/static/chunks/{258-4cedd08c1664b5de.js → 258-b24b1292c6e41f6d.js} +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[178],{73113:function(e,t,r){r.d(t,{HT:function(){return Y},iZ:function(){return X}});var n={},a=Uint8Array,i=Uint16Array,o=Uint32Array,s=new a([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),l=new a([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),u=new a([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(e,t){for(var r=new i(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];for(var a=new o(r[30]),n=1;n<30;++n)for(var s=r[n];s<r[n+1];++s)a[s]=s-r[n]<<5|n;return[r,a]},d=c(s,2),f=d[0],p=d[1];f[28]=258,p[258]=28;for(var h=c(l,0),m=h[0],v=h[1],g=new i(32768),x=0;x<32768;++x){var b=(43690&x)>>>1|(21845&x)<<1;b=(61680&(b=(52428&b)>>>2|(13107&b)<<2))>>>4|(3855&b)<<4,g[x]=((65280&b)>>>8|(255&b)<<8)>>>1}for(var y=function(e,t,r){for(var n,a=e.length,o=0,s=new i(t);o<a;++o)++s[e[o]-1];var l=new i(t);for(o=0;o<t;++o)l[o]=l[o-1]+s[o-1]<<1;if(r){n=new i(1<<t);var u=15-t;for(o=0;o<a;++o)if(e[o])for(var c=o<<4|e[o],d=t-e[o],f=l[e[o]-1]++<<d,p=f|(1<<d)-1;f<=p;++f)n[g[f]>>>u]=c}else for(o=0,n=new i(a);o<a;++o)n[o]=g[l[e[o]-1]++]>>>15-e[o];return n},Z=new a(288),x=0;x<144;++x)Z[x]=8;for(var x=144;x<256;++x)Z[x]=9;for(var x=256;x<280;++x)Z[x]=7;for(var x=280;x<288;++x)Z[x]=8;for(var w=new a(32),x=0;x<32;++x)w[x]=5;var $=y(Z,9,0),M=y(Z,9,1),C=y(w,5,0),P=y(w,5,1),R=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},k=function(e,t,r){var n=t/8>>0;return(e[n]|e[n+1]<<8)>>>(7&t)&r},S=function(e,t){var r=t/8>>0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>>(7&t)},A=function(e){return(e/8>>0)+(7&e&&1)},I=function(e,t,r){(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length);var n=new(e instanceof i?i:e instanceof o?o:a)(r-t);return n.set(e.subarray(t,r)),n},j=function(e,t,r){var n=e.length,i=!t||r,o=!r||r.i;r||(r={}),t||(t=new a(3*n));var c=function(e){var r=t.length;if(e>r){var n=new a(Math.max(2*r,e));n.set(t),t=n}},d=r.f||0,p=r.p||0,h=r.b||0,v=r.l,g=r.d,x=r.m,b=r.n,Z=8*n;do{if(!v){r.f=d=k(e,p,1);var w=k(e,p+1,3);if(p+=3,w){if(1==w)v=M,g=P,x=9,b=5;else if(2==w){var $=k(e,p,31)+257,C=k(e,p+10,15)+4,j=$+k(e,p+5,31)+1;p+=14;for(var L=new a(j),_=new a(19),B=0;B<C;++B)_[u[B]]=k(e,p+3*B,7);p+=3*C;var N=R(_),T=(1<<N)-1;if(!o&&p+j*(N+7)>Z)break;for(var E=y(_,N,1),B=0;B<j;){var z=E[k(e,p,T)];p+=15&z;var O=z>>>4;if(O<16)L[B++]=O;else{var G=0,D=0;for(16==O?(D=3+k(e,p,3),p+=2,G=L[B-1]):17==O?(D=3+k(e,p,7),p+=3):18==O&&(D=11+k(e,p,127),p+=7);D--;)L[B++]=G}}var W=L.subarray(0,$),F=L.subarray($);x=R(W),b=R(F),v=y(W,x,1),g=y(F,b,1)}else throw"invalid block type"}else{var O=A(p)+4,q=e[O-4]|e[O-3]<<8,V=O+q;if(V>n){if(o)throw"unexpected EOF";break}i&&c(h+q),t.set(e.subarray(O,V),h),r.b=h+=q,r.p=p=8*V;continue}if(p>Z)throw"unexpected EOF"}i&&c(h+131072);for(var H=(1<<x)-1,X=(1<<b)-1,Y=x+b+18;o||p+Y<Z;){var G=v[S(e,p)&H],U=G>>>4;if((p+=15&G)>Z)throw"unexpected EOF";if(!G)throw"invalid length/literal";if(U<256)t[h++]=U;else if(256==U){v=null;break}else{var K=U-254;if(U>264){var B=U-257,Q=s[B];K=k(e,p,(1<<Q)-1)+f[B],p+=Q}var J=g[S(e,p)&X],ee=J>>>4;if(!J)throw"invalid distance";p+=15&J;var F=m[ee];if(ee>3){var Q=l[ee];F+=S(e,p)&(1<<Q)-1,p+=Q}if(p>Z)throw"unexpected EOF";i&&c(h+131072);for(var et=h+K;h<et;h+=4)t[h]=t[h-F],t[h+1]=t[h+1-F],t[h+2]=t[h+2-F],t[h+3]=t[h+3-F];h=et}}r.l=v,r.p=p,r.b=h,v&&(d=1,r.m=x,r.d=g,r.n=b)}while(!d);return h==t.length?t:I(t,0,h)},L=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8},_=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},B=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var o=r.length,s=r.slice();if(!o)return[new a(0),0];if(1==o){var l=new a(r[0].s+1);return l[r[0].s]=1,[l,1]}r.sort(function(e,t){return e.f-t.f}),r.push({s:-1,f:25001});var u=r[0],c=r[1],d=0,f=1,p=2;for(r[0]={s:-1,f:u.f+c.f,l:u,r:c};f!=o-1;)u=r[r[d].f<r[p].f?d++:p++],c=r[d!=f&&r[d].f<r[p].f?d++:p++],r[f++]={s:-1,f:u.f+c.f,l:u,r:c};for(var h=s[0].s,n=1;n<o;++n)s[n].s>h&&(h=s[n].s);var m=new i(h+1),v=N(r[f-1],m,0);if(v>t){var n=0,g=0,x=v-t,b=1<<x;for(s.sort(function(e,t){return m[t.s]-m[e.s]||e.f-t.f});n<o;++n){var y=s[n].s;if(m[y]>t)g+=b-(1<<v-m[y]),m[y]=t;else break}for(g>>>=x;g>0;){var Z=s[n].s;m[Z]<t?g-=1<<t-m[Z]++-1:++n}for(;n>=0&&g;--n){var w=s[n].s;m[w]==t&&(--m[w],++g)}v=t}return[new a(m),v]},N=function(e,t,r){return -1==e.s?Math.max(N(e.l,t,r+1),N(e.r,t,r+1)):t[e.s]=r},T=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new i(++t),n=0,a=e[0],o=1,s=function(e){r[n++]=e},l=1;l<=t;++l)if(e[l]==a&&l!=t)++o;else{if(!a&&o>2){for(;o>138;o-=138)s(32754);o>2&&(s(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(s(a),--o;o>6;o-=6)s(8304);o>2&&(s(o-3<<5|8208),o=0)}for(;o--;)s(a);o=1,a=e[l]}return[r.subarray(0,n),t]},E=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},z=function(e,t,r){var n=r.length,a=A(t+2);e[a]=255&n,e[a+1]=n>>>8,e[a+2]=255^e[a],e[a+3]=255^e[a+1];for(var i=0;i<n;++i)e[a+i+4]=r[i];return(a+4+n)*8},O=function(e,t,r,n,a,o,c,d,f,p,h){L(t,h++,r),++a[256];for(var m,v,g,x,b=B(a,15),M=b[0],P=b[1],R=B(o,15),k=R[0],S=R[1],A=T(M),I=A[0],j=A[1],N=T(k),O=N[0],G=N[1],D=new i(19),W=0;W<I.length;++W)D[31&I[W]]++;for(var W=0;W<O.length;++W)D[31&O[W]]++;for(var F=B(D,7),q=F[0],V=F[1],H=19;H>4&&!q[u[H-1]];--H);var X=p+5<<3,Y=E(a,Z)+E(o,w)+c,U=E(a,M)+E(o,k)+c+14+3*H+E(D,q)+(2*D[16]+3*D[17]+7*D[18]);if(X<=Y&&X<=U)return z(t,h,e.subarray(f,f+p));if(L(t,h,1+(U<Y)),h+=2,U<Y){m=y(M,P,0),v=M,g=y(k,S,0),x=k;var K=y(q,V,0);L(t,h,j-257),L(t,h+5,G-1),L(t,h+10,H-4),h+=14;for(var W=0;W<H;++W)L(t,h+3*W,q[u[W]]);h+=3*H;for(var Q=[I,O],J=0;J<2;++J)for(var ee=Q[J],W=0;W<ee.length;++W){var et=31&ee[W];L(t,h,K[et]),h+=q[et],et>15&&(L(t,h,ee[W]>>>5&127),h+=ee[W]>>>12)}}else m=$,v=Z,g=C,x=w;for(var W=0;W<d;++W)if(n[W]>255){var et=n[W]>>>18&31;_(t,h,m[et+257]),h+=v[et+257],et>7&&(L(t,h,n[W]>>>23&31),h+=s[et]);var er=31&n[W];_(t,h,g[er]),h+=x[er],er>3&&(_(t,h,n[W]>>>5&8191),h+=l[er])}else _(t,h,m[n[W]]),h+=v[n[W]];return _(t,h,m[256]),h+v[256]},G=new o([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),D=new a(0),W=function(e,t,r,n,u,c){var d=e.length,f=new a(n+d+5*(1+Math.floor(d/7e3))+u),h=f.subarray(n,f.length-u),m=0;if(!t||d<8)for(var g=0;g<=d;g+=65535){var x=g+65535;x<d?m=z(h,m,e.subarray(g,x)):(h[g]=c,m=z(h,m,e.subarray(g,d)))}else{for(var b=G[t-1],y=b>>>13,Z=8191&b,w=(1<<r)-1,$=new i(32768),M=new i(w+1),C=Math.ceil(r/3),P=2*C,R=function(t){return(e[t]^e[t+1]<<C^e[t+2]<<P)&w},k=new o(25e3),S=new i(288),j=new i(32),L=0,_=0,g=0,B=0,N=0,T=0;g<d;++g){var E=R(g),W=32767&g,F=M[E];if($[W]=F,M[E]=W,N<=g){var q=d-g;if((L>7e3||B>24576)&&q>423){m=O(e,h,0,k,S,j,_,B,T,g-T,m),B=L=_=0,T=g;for(var V=0;V<286;++V)S[V]=0;for(var V=0;V<30;++V)j[V]=0}var H=2,X=0,Y=Z,U=W-F&32767;if(q>2&&E==R(g-U))for(var K=Math.min(y,q)-1,Q=Math.min(32767,g),J=Math.min(258,q);U<=Q&&--Y&&W!=F;){if(e[g+H]==e[g+H-U]){for(var ee=0;ee<J&&e[g+ee]==e[g+ee-U];++ee);if(ee>H){if(H=ee,X=U,ee>K)break;for(var et=Math.min(U,ee-2),er=0,V=0;V<et;++V){var en=g-U+V+32768&32767,ea=$[en],ei=en-ea+32768&32767;ei>er&&(er=ei,F=en)}}}F=$[W=F],U+=W-F+32768&32767}if(X){k[B++]=268435456|p[H]<<18|v[X];var eo=31&p[H],es=31&v[X];_+=s[eo]+l[es],++S[257+eo],++j[es],N=g+H,++L}else k[B++]=e[g],++S[e[g]]}}m=O(e,h,c,k,S,j,_,B,T,g-T,m),c||(m=z(h,m,D))}return I(f,0,n+A(m)+u)},F=function(){var e=1,t=0;return{p:function(r){for(var n=e,a=t,i=r.length,o=0;o!=i;){for(var s=Math.min(o+5552,i);o<s;++o)n+=r[o],a+=n;n%=65521,a%=65521}e=n,t=a},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+((255&e)<<23)*2}}},q=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},V=function(e,t){var r=t.level,n=0==r?0:r<6?1:9==r?3:2;e[0]=120,e[1]=n<<6|(n?32-2*n:1)},H=function(e){if((15&e[0])!=8||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"};function X(e,t){void 0===t&&(t={});var r,n,a,i,o,s=F();s.p(e);var l=(a=2,i=4,W(r=e,null==(n=t).level?6:n.level,null==n.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(r.length)))):12+n.mem,2,4,true));return V(l,t),q(l,l.length-4,s.d()),l}function Y(e,t){return j((H(e),e.subarray(2,-4)),t)}},70740:function(e,t,r){var n=r(71851);t.Z=void 0;var a=n(r(80984)),i=r(24004);t.Z=(0,a.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}),"Cancel")},14565:function(e,t,r){var n=r(71851);t.Z=void 0;var a=n(r(80984)),i=r(24004);t.Z=(0,a.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},15133:function(e,t,r){r.d(t,{Z:function(){return b}});var n=r(79042),a=r(94312),i=r(14978),o=r(53468),s=r(95600),l=r(35843),u=r(19996),c=r(29872),d=r(26520),f=r(25702);function p(e){return(0,f.ZP)("MuiCard",e)}(0,d.Z)("MuiCard",["root"]);var h=r(24004);let m=["className","raised"],v=e=>{let{classes:t}=e;return(0,s.Z)({root:["root"]},p,t)},g=(0,l.ZP)(c.Z,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),x=i.forwardRef(function(e,t){let r=(0,u.i)({props:e,name:"MuiCard"}),{className:i,raised:s=!1}=r,l=(0,a.Z)(r,m),c=(0,n.Z)({},r,{raised:s}),d=v(c);return(0,h.jsx)(g,(0,n.Z)({className:(0,o.Z)(d.root,i),elevation:s?8:void 0,ref:t,ownerState:c},l))});var b=x},88469:function(e,t,r){r.d(t,{Z:function(){return x}});var n=r(79042),a=r(94312),i=r(14978),o=r(53468),s=r(95600),l=r(35843),u=r(19996),c=r(26520),d=r(25702);function f(e){return(0,d.ZP)("MuiCardContent",e)}(0,c.Z)("MuiCardContent",["root"]);var p=r(24004);let h=["className","component"],m=e=>{let{classes:t}=e;return(0,s.Z)({root:["root"]},f,t)},v=(0,l.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),g=i.forwardRef(function(e,t){let r=(0,u.i)({props:e,name:"MuiCardContent"}),{className:i,component:s="div"}=r,l=(0,a.Z)(r,h),c=(0,n.Z)({},r,{component:s}),d=m(c);return(0,p.jsx)(v,(0,n.Z)({as:s,className:(0,o.Z)(d.root,i),ownerState:c,ref:t},l))});var x=g},88938:function(e,t,r){r.d(t,{Z:function(){return $}});var n=r(94312),a=r(79042),i=r(14978),o=r(53468),s=r(25702),l=r(95600),u=r(61380),c=r(48153),d=r(72303),f=r(68062),p=r(24004);let h=["className","component","disableGutters","fixed","maxWidth","classes"],m=(0,f.Z)(),v=(0,d.Z)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,u.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),g=e=>(0,c.Z)({props:e,name:"MuiContainer",defaultTheme:m}),x=(e,t)=>{let{classes:r,fixed:n,disableGutters:a,maxWidth:i}=e,o={root:["root",i&&`maxWidth${(0,u.Z)(String(i))}`,n&&"fixed",a&&"disableGutters"]};return(0,l.Z)(o,e=>(0,s.ZP)(t,e),r)};var b=r(28702),y=r(35843),Z=r(19996);let w=function(e={}){let{createStyledComponent:t=v,useThemeProps:r=g,componentName:s="MuiContainer"}=e,l=t(({theme:e,ownerState:t})=>(0,a.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,r)=>{let n=e.breakpoints.values[r];return 0!==n&&(t[e.breakpoints.up(r)]={maxWidth:`${n}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>(0,a.Z)({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}})),u=i.forwardRef(function(e,t){let i=r(e),{className:u,component:c="div",disableGutters:d=!1,fixed:f=!1,maxWidth:m="lg"}=i,v=(0,n.Z)(i,h),g=(0,a.Z)({},i,{component:c,disableGutters:d,fixed:f,maxWidth:m}),b=x(g,s);return(0,p.jsx)(l,(0,a.Z)({as:c,ownerState:g,className:(0,o.Z)(b.root,u),ref:t},v))});return u}({createStyledComponent:(0,y.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,b.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,Z.i)({props:e,name:"MuiContainer"})});var $=w},64111:function(e,t,r){r.d(t,{ZP:function(){return T}});var n=r(94312),a=r(79042),i=r(14978),o=r(53468),s=r(95600),l=r(19086),u=r(49658),c=r(34600),d=r(80494),f=r(37663),p=r(41101),h=r(4439),m=r(26649),v=r(24004);let g=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function x(e,t,r){let n="function"==typeof r?r():r,a=function(e,t,r){let n;let a=t.getBoundingClientRect(),i=r&&r.getBoundingClientRect(),o=(0,m.Z)(t);if(t.fakeTransform)n=t.fakeTransform;else{let e=o.getComputedStyle(t);n=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(n&&"none"!==n&&"string"==typeof n){let e=n.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?i?`translateX(${i.right+s-a.left}px)`:`translateX(${o.innerWidth+s-a.left}px)`:"right"===e?i?`translateX(-${a.right-i.left-s}px)`:`translateX(-${a.left+a.width-s}px)`:"up"===e?i?`translateY(${i.bottom+l-a.top}px)`:`translateY(${o.innerHeight+l-a.top}px)`:i?`translateY(-${a.top-i.top+a.height-l}px)`:`translateY(-${a.top+a.height-l}px)`}(e,t,n);a&&(t.style.webkitTransform=a,t.style.transform=a)}let b=i.forwardRef(function(e,t){let r=(0,p.Z)(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:l,appear:u=!0,children:b,container:y,direction:Z="down",easing:w=o,in:$,onEnter:M,onEntered:C,onEntering:P,onExit:R,onExited:k,onExiting:S,style:A,timeout:I=s,TransitionComponent:j=c.ZP}=e,L=(0,n.Z)(e,g),_=i.useRef(null),B=(0,f.Z)(b.ref,_,t),N=e=>t=>{e&&(void 0===t?e(_.current):e(_.current,t))},T=N((e,t)=>{x(Z,e,y),(0,h.n)(e),M&&M(e,t)}),E=N((e,t)=>{let n=(0,h.C)({timeout:I,style:A,easing:w},{mode:"enter"});e.style.webkitTransition=r.transitions.create("-webkit-transform",(0,a.Z)({},n)),e.style.transition=r.transitions.create("transform",(0,a.Z)({},n)),e.style.webkitTransform="none",e.style.transform="none",P&&P(e,t)}),z=N(C),O=N(S),G=N(e=>{let t=(0,h.C)({timeout:I,style:A,easing:w},{mode:"exit"});e.style.webkitTransition=r.transitions.create("-webkit-transform",t),e.style.transition=r.transitions.create("transform",t),x(Z,e,y),R&&R(e)}),D=N(e=>{e.style.webkitTransition="",e.style.transition="",k&&k(e)}),W=i.useCallback(()=>{_.current&&x(Z,_.current,y)},[Z,y]);return i.useEffect(()=>{if($||"down"===Z||"right"===Z)return;let e=(0,d.Z)(()=>{_.current&&x(Z,_.current,y)}),t=(0,m.Z)(_.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[Z,$,y]),i.useEffect(()=>{$||W()},[$,W]),(0,v.jsx)(j,(0,a.Z)({nodeRef:_,onEnter:T,onEntered:z,onEntering:E,onExit:G,onExited:D,onExiting:O,addEndListener:e=>{l&&l(_.current,e)},appear:u,in:$,timeout:I},L,{children:(e,t)=>i.cloneElement(b,(0,a.Z)({ref:B,style:(0,a.Z)({visibility:"exited"!==e||$?void 0:"hidden"},A,b.props.style)},t))}))});var y=r(29872),Z=r(28702),w=r(19996),$=r(35843),M=r(22630),C=r(26520),P=r(25702);function R(e){return(0,P.ZP)("MuiDrawer",e)}(0,C.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);let k=["BackdropProps"],S=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],A=(e,t)=>{let{ownerState:r}=e;return[t.root,("permanent"===r.variant||"persistent"===r.variant)&&t.docked,t.modal]},I=e=>{let{classes:t,anchor:r,variant:n}=e,a={root:["root"],docked:[("permanent"===n||"persistent"===n)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,Z.Z)(r)}`,"temporary"!==n&&`paperAnchorDocked${(0,Z.Z)(r)}`]};return(0,s.Z)(a,R,t)},j=(0,$.ZP)(u.Z,{name:"MuiDrawer",slot:"Root",overridesResolver:A})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),L=(0,$.ZP)("div",{shouldForwardProp:M.Z,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:A})({flex:"0 0 auto"}),_=(0,$.ZP)(y.Z,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.paper,t[`paperAnchor${(0,Z.Z)(r.anchor)}`],"temporary"!==r.variant&&t[`paperAnchorDocked${(0,Z.Z)(r.anchor)}`]]}})(({theme:e,ownerState:t})=>(0,a.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===t.anchor&&{left:0},"top"===t.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===t.anchor&&{right:0},"bottom"===t.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===t.anchor&&"temporary"!==t.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===t.anchor&&"temporary"!==t.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===t.anchor&&"temporary"!==t.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===t.anchor&&"temporary"!==t.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),B={left:"right",right:"left",top:"down",bottom:"up"},N=i.forwardRef(function(e,t){let r=(0,w.i)({props:e,name:"MuiDrawer"}),s=(0,p.Z)(),u=(0,l.V)(),c={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:d="left",BackdropProps:f,children:h,className:m,elevation:g=16,hideBackdrop:x=!1,ModalProps:{BackdropProps:y}={},onClose:Z,open:$=!1,PaperProps:M={},SlideProps:C,TransitionComponent:P=b,transitionDuration:R=c,variant:A="temporary"}=r,N=(0,n.Z)(r.ModalProps,k),T=(0,n.Z)(r,S),E=i.useRef(!1);i.useEffect(()=>{E.current=!0},[]);let z=function({direction:e},t){return"rtl"===e&&-1!==["left","right"].indexOf(t)?B[t]:t}({direction:u?"rtl":"ltr"},d),O=(0,a.Z)({},r,{anchor:d,elevation:g,open:$,variant:A},T),G=I(O),D=(0,v.jsx)(_,(0,a.Z)({elevation:"temporary"===A?g:0,square:!0},M,{className:(0,o.Z)(G.paper,M.className),ownerState:O,children:h}));if("permanent"===A)return(0,v.jsx)(L,(0,a.Z)({className:(0,o.Z)(G.root,G.docked,m),ownerState:O,ref:t},T,{children:D}));let W=(0,v.jsx)(P,(0,a.Z)({in:$,direction:B[z],timeout:R,appear:E.current},C,{children:D}));return"persistent"===A?(0,v.jsx)(L,(0,a.Z)({className:(0,o.Z)(G.root,G.docked,m),ownerState:O,ref:t},T,{children:W})):(0,v.jsx)(j,(0,a.Z)({BackdropProps:(0,a.Z)({},f,y,{transitionDuration:R}),className:(0,o.Z)(G.root,G.modal,m),open:$,ownerState:O,onClose:Z,hideBackdrop:x,ref:t},T,N,{children:W}))});var T=N},28874:function(e,t,r){r.d(t,{ZP:function(){return P}});var n=r(94312),a=r(79042),i=r(14978),o=r(53468),s=r(65425),l=r(43381),u=r(95600),c=r(35843),d=r(19996),f=r(41101);let p=i.createContext();var h=r(26520),m=r(25702);function v(e){return(0,m.ZP)("MuiGrid",e)}let g=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],x=(0,h.Z)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...g.map(e=>`grid-xs-${e}`),...g.map(e=>`grid-sm-${e}`),...g.map(e=>`grid-md-${e}`),...g.map(e=>`grid-lg-${e}`),...g.map(e=>`grid-xl-${e}`)]);var b=r(24004);let y=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Z(e){let t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function w({breakpoints:e,values:t}){let r="";Object.keys(t).forEach(e=>{""===r&&0!==t[e]&&(r=e)});let n=Object.keys(e).sort((t,r)=>e[t]-e[r]);return n.slice(0,n.indexOf(r))}let $=(0,c.ZP)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{container:n,direction:a,item:i,spacing:o,wrap:s,zeroMinWidth:l,breakpoints:u}=r,c=[];n&&(c=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];let n=[];return t.forEach(t=>{let a=e[t];Number(a)>0&&n.push(r[`spacing-${t}-${String(a)}`])}),n}(o,u,t));let d=[];return u.forEach(e=>{let n=r[e];n&&d.push(t[`grid-${e}-${String(n)}`])}),[t.root,n&&t.container,i&&t.item,l&&t.zeroMinWidth,...c,"row"!==a&&t[`direction-xs-${String(a)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})(({ownerState:e})=>(0,a.Z)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap}),function({theme:e,ownerState:t}){let r=(0,s.P$)({values:t.direction,breakpoints:e.breakpoints.values});return(0,s.k9)({theme:e},r,e=>{let t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${x.item}`]={maxWidth:"none"}),t})},function({theme:e,ownerState:t}){let{container:r,rowSpacing:n}=t,a={};if(r&&0!==n){let t;let r=(0,s.P$)({values:n,breakpoints:e.breakpoints.values});"object"==typeof r&&(t=w({breakpoints:e.breakpoints.values,values:r})),a=(0,s.k9)({theme:e},r,(r,n)=>{var a;let i=e.spacing(r);return"0px"!==i?{marginTop:`-${Z(i)}`,[`& > .${x.item}`]:{paddingTop:Z(i)}}:null!=(a=t)&&a.includes(n)?{}:{marginTop:0,[`& > .${x.item}`]:{paddingTop:0}}})}return a},function({theme:e,ownerState:t}){let{container:r,columnSpacing:n}=t,a={};if(r&&0!==n){let t;let r=(0,s.P$)({values:n,breakpoints:e.breakpoints.values});"object"==typeof r&&(t=w({breakpoints:e.breakpoints.values,values:r})),a=(0,s.k9)({theme:e},r,(r,n)=>{var a;let i=e.spacing(r);return"0px"!==i?{width:`calc(100% + ${Z(i)})`,marginLeft:`-${Z(i)}`,[`& > .${x.item}`]:{paddingLeft:Z(i)}}:null!=(a=t)&&a.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${x.item}`]:{paddingLeft:0}}})}return a},function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce((n,i)=>{let o={};if(t[i]&&(r=t[i]),!r)return n;if(!0===r)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{let l=(0,s.P$)({values:t.columns,breakpoints:e.breakpoints.values}),u="object"==typeof l?l[i]:l;if(null==u)return n;let c=`${Math.round(r/u*1e8)/1e6}%`,d={};if(t.container&&t.item&&0!==t.columnSpacing){let r=e.spacing(t.columnSpacing);if("0px"!==r){let e=`calc(${c} + ${Z(r)})`;d={flexBasis:e,maxWidth:e}}}o=(0,a.Z)({flexBasis:c,flexGrow:0,maxWidth:c},d)}return 0===e.breakpoints.values[i]?Object.assign(n,o):n[e.breakpoints.up(i)]=o,n},{})}),M=e=>{let{classes:t,container:r,direction:n,item:a,spacing:i,wrap:o,zeroMinWidth:s,breakpoints:l}=e,c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];let r=[];return t.forEach(t=>{let n=e[t];if(Number(n)>0){let e=`spacing-${t}-${String(n)}`;r.push(e)}}),r}(i,l));let d=[];l.forEach(t=>{let r=e[t];r&&d.push(`grid-${t}-${String(r)}`)});let f={root:["root",r&&"container",a&&"item",s&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==o&&`wrap-xs-${String(o)}`,...d]};return(0,u.Z)(f,v,t)},C=i.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiGrid"}),{breakpoints:s}=(0,f.Z)(),u=(0,l.Z)(r),{className:c,columns:h,columnSpacing:m,component:v="div",container:g=!1,direction:x="row",item:Z=!1,rowSpacing:w,spacing:C=0,wrap:P="wrap",zeroMinWidth:R=!1}=u,k=(0,n.Z)(u,y),S=w||C,A=m||C,I=i.useContext(p),j=g?h||12:I,L={},_=(0,a.Z)({},k);s.keys.forEach(e=>{null!=k[e]&&(L[e]=k[e],delete _[e])});let B=(0,a.Z)({},u,{columns:j,container:g,direction:x,item:Z,rowSpacing:S,columnSpacing:A,wrap:P,zeroMinWidth:R,spacing:C},L,{breakpoints:s.keys}),N=M(B);return(0,b.jsx)(p.Provider,{value:j,children:(0,b.jsx)($,(0,a.Z)({ownerState:B,className:(0,o.Z)(N.root,c),as:v,ref:t},_))})});var P=C},54755:function(e,t,r){var n=r(94312),a=r(79042),i=r(14978),o=r(53468),s=r(95600),l=r(10088),u=r(24871),c=r(19086),d=r(28702),f=r(35843),p=r(19996),h=r(12120),m=r(24004);let v=["className","color","value","valueBuffer","variant"],g=e=>e,x,b,y,Z,w,$,M=(0,l.F4)(x||(x=g`
|
|
2
|
+
0% {
|
|
3
|
+
left: -35%;
|
|
4
|
+
right: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
60% {
|
|
8
|
+
left: 100%;
|
|
9
|
+
right: -90%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
100% {
|
|
13
|
+
left: 100%;
|
|
14
|
+
right: -90%;
|
|
15
|
+
}
|
|
16
|
+
`)),C=(0,l.F4)(b||(b=g`
|
|
17
|
+
0% {
|
|
18
|
+
left: -200%;
|
|
19
|
+
right: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
60% {
|
|
23
|
+
left: 107%;
|
|
24
|
+
right: -8%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
100% {
|
|
28
|
+
left: 107%;
|
|
29
|
+
right: -8%;
|
|
30
|
+
}
|
|
31
|
+
`)),P=(0,l.F4)(y||(y=g`
|
|
32
|
+
0% {
|
|
33
|
+
opacity: 1;
|
|
34
|
+
background-position: 0 -23px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
60% {
|
|
38
|
+
opacity: 0;
|
|
39
|
+
background-position: 0 -23px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
100% {
|
|
43
|
+
opacity: 1;
|
|
44
|
+
background-position: -200px -23px;
|
|
45
|
+
}
|
|
46
|
+
`)),R=e=>{let{classes:t,variant:r,color:n}=e,a={root:["root",`color${(0,d.Z)(n)}`,r],dashed:["dashed",`dashedColor${(0,d.Z)(n)}`],bar1:["bar",`barColor${(0,d.Z)(n)}`,("indeterminate"===r||"query"===r)&&"bar1Indeterminate","determinate"===r&&"bar1Determinate","buffer"===r&&"bar1Buffer"],bar2:["bar","buffer"!==r&&`barColor${(0,d.Z)(n)}`,"buffer"===r&&`color${(0,d.Z)(n)}`,("indeterminate"===r||"query"===r)&&"bar2Indeterminate","buffer"===r&&"bar2Buffer"]};return(0,s.Z)(a,h.E,t)},k=(e,t)=>"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,u.$n)(e.palette[t].main,.62):(0,u._j)(e.palette[t].main,.5),S=(0,f.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`color${(0,d.Z)(r.color)}`],t[r.variant]]}})(({ownerState:e,theme:t})=>(0,a.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:k(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"})),A=(0,f.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.dashed,t[`dashedColor${(0,d.Z)(r.color)}`]]}})(({ownerState:e,theme:t})=>{let r=k(t,e.color);return(0,a.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,l.iv)(Z||(Z=g`
|
|
47
|
+
animation: ${0} 3s infinite linear;
|
|
48
|
+
`),P)),I=(0,f.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.bar,t[`barColor${(0,d.Z)(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar1Indeterminate,"determinate"===r.variant&&t.bar1Determinate,"buffer"===r.variant&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>(0,a.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.iv)(w||(w=g`
|
|
49
|
+
width: auto;
|
|
50
|
+
animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
51
|
+
`),M)),j=(0,f.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.bar,t[`barColor${(0,d.Z)(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar2Indeterminate,"buffer"===r.variant&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>(0,a.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:k(t,e.color),transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.iv)($||($=g`
|
|
52
|
+
width: auto;
|
|
53
|
+
animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
54
|
+
`),C)),L=i.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiLinearProgress"}),{className:i,color:s="primary",value:l,valueBuffer:u,variant:d="indeterminate"}=r,f=(0,n.Z)(r,v),h=(0,a.Z)({},r,{color:s,variant:d}),g=R(h),x=(0,c.V)(),b={},y={bar1:{},bar2:{}};if(("determinate"===d||"buffer"===d)&&void 0!==l){b["aria-valuenow"]=Math.round(l),b["aria-valuemin"]=0,b["aria-valuemax"]=100;let e=l-100;x&&(e=-e),y.bar1.transform=`translateX(${e}%)`}if("buffer"===d&&void 0!==u){let e=(u||0)-100;x&&(e=-e),y.bar2.transform=`translateX(${e}%)`}return(0,m.jsxs)(S,(0,a.Z)({className:(0,o.Z)(g.root,i),ownerState:h,role:"progressbar"},b,{ref:t},f,{children:["buffer"===d?(0,m.jsx)(A,{className:g.dashed,ownerState:h}):null,(0,m.jsx)(I,{className:g.bar1,ownerState:h,style:y.bar1}),"determinate"===d?null:(0,m.jsx)(j,{className:g.bar2,ownerState:h,style:y.bar2})]}))});t.Z=L},12120:function(e,t,r){r.d(t,{E:function(){return i}});var n=r(26520),a=r(25702);function i(e){return(0,a.ZP)("MuiLinearProgress",e)}let o=(0,n.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);t.Z=o},80356:function(e,t,r){r.d(t,{ZP:function(){return _}});var n=r(94312),a=r(79042),i=r(14978),o=r(53468),s=r(95600),l=r(24871),u=r(48348),c=r(35843),d=r(19996),f=r(84008),p=r(12246),h=r(88519),m=r(37663),v=r(77820),g=r(26520),x=r(25702);function b(e){return(0,x.ZP)("MuiListItem",e)}let y=(0,g.Z)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),Z=(0,g.Z)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function w(e){return(0,x.ZP)("MuiListItemSecondaryAction",e)}(0,g.Z)("MuiListItemSecondaryAction",["root","disableGutters"]);var $=r(24004);let M=["className"],C=e=>{let{disableGutters:t,classes:r}=e;return(0,s.Z)({root:["root",t&&"disableGutters"]},w,r)},P=(0,c.ZP)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})(({ownerState:e})=>(0,a.Z)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),R=i.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiListItemSecondaryAction"}),{className:s}=r,l=(0,n.Z)(r,M),u=i.useContext(v.Z),c=(0,a.Z)({},r,{disableGutters:u.disableGutters}),f=C(c);return(0,$.jsx)(P,(0,a.Z)({className:(0,o.Z)(f.root,s),ownerState:c,ref:t},l))});R.muiName="ListItemSecondaryAction";let k=["className"],S=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],A=e=>{let{alignItems:t,button:r,classes:n,dense:a,disabled:i,disableGutters:o,disablePadding:l,divider:u,hasSecondaryAction:c,selected:d}=e;return(0,s.Z)({root:["root",a&&"dense",!o&&"gutters",!l&&"padding",u&&"divider",i&&"disabled",r&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",d&&"selected"],container:["container"]},b,n)},I=(0,c.ZP)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.dense&&t.dense,"flex-start"===r.alignItems&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]}})(({theme:e,ownerState:t})=>(0,a.Z)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,a.Z)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Z.root}`]:{paddingRight:48}},{[`&.${y.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${y.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${y.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${y.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${y.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),j=(0,c.ZP)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),L=i.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiListItem"}),{alignItems:s="center",autoFocus:l=!1,button:c=!1,children:g,className:x,component:b,components:Z={},componentsProps:w={},ContainerComponent:M="li",ContainerProps:{className:C}={},dense:P=!1,disabled:L=!1,disableGutters:_=!1,disablePadding:B=!1,divider:N=!1,focusVisibleClassName:T,secondaryAction:E,selected:z=!1,slotProps:O={},slots:G={}}=r,D=(0,n.Z)(r.ContainerProps,k),W=(0,n.Z)(r,S),F=i.useContext(v.Z),q=i.useMemo(()=>({dense:P||F.dense||!1,alignItems:s,disableGutters:_}),[s,F.dense,P,_]),V=i.useRef(null);(0,h.Z)(()=>{l&&V.current&&V.current.focus()},[l]);let H=i.Children.toArray(g),X=H.length&&(0,p.Z)(H[H.length-1],["ListItemSecondaryAction"]),Y=(0,a.Z)({},r,{alignItems:s,autoFocus:l,button:c,dense:q.dense,disabled:L,disableGutters:_,disablePadding:B,divider:N,hasSecondaryAction:X,selected:z}),U=A(Y),K=(0,m.Z)(V,t),Q=G.root||Z.Root||I,J=O.root||w.root||{},ee=(0,a.Z)({className:(0,o.Z)(U.root,J.className,x),disabled:L},W),et=b||"li";return(c&&(ee.component=b||"div",ee.focusVisibleClassName=(0,o.Z)(y.focusVisible,T),et=f.Z),X)?(et=ee.component||b?et:"div","li"===M&&("li"===et?et="div":"li"===ee.component&&(ee.component="div")),(0,$.jsx)(v.Z.Provider,{value:q,children:(0,$.jsxs)(j,(0,a.Z)({as:M,className:(0,o.Z)(U.container,C),ref:K,ownerState:Y},D,{children:[(0,$.jsx)(Q,(0,a.Z)({},J,!(0,u.Z)(Q)&&{as:et,ownerState:(0,a.Z)({},Y,J.ownerState)},ee,{children:H})),H.pop()]}))})):(0,$.jsx)(v.Z.Provider,{value:q,children:(0,$.jsxs)(Q,(0,a.Z)({},J,{as:et,ref:K},!(0,u.Z)(Q)&&{ownerState:(0,a.Z)({},Y,J.ownerState)},ee,{children:[H,E&&(0,$.jsx)(R,{children:E})]}))})});var _=L},15646:function(e,t,r){r.d(t,{Z:function(){return X}});var n,a=r(94312),i=r(79042),o=r(14978),s=r(53468),l=r(95600),u=r(48348),c=r(35843),d=r(19996),f=r(9627),p=r(74309),h=r(10654),m=r(30666),v=r(26520),g=r(25702);function x(e){return(0,g.ZP)("MuiToolbar",e)}(0,v.Z)("MuiToolbar",["root","gutters","regular","dense"]);var b=r(24004);let y=["className","component","disableGutters","variant"],Z=e=>{let{classes:t,disableGutters:r,variant:n}=e;return(0,l.Z)({root:["root",!r&&"gutters",n]},x,t)},w=(0,c.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})(({theme:e,ownerState:t})=>(0,i.Z)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48}),({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar),$=o.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiToolbar"}),{className:n,component:o="div",disableGutters:l=!1,variant:u="regular"}=r,c=(0,a.Z)(r,y),f=(0,i.Z)({},r,{component:o,disableGutters:l,variant:u}),p=Z(f);return(0,b.jsx)(w,(0,i.Z)({as:o,className:(0,s.Z)(p.root,n),ref:t,ownerState:f},c))});var M=r(19086),C=r(59782),P=(0,C.Z)((0,b.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),R=(0,C.Z)((0,b.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),k=r(52653),S=r(21022),A=r(88960);let I=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],j=o.forwardRef(function(e,t){var r,n,o,s,l,u,c,d;let{backIconButtonProps:f,count:p,disabled:h=!1,getItemAriaLabel:m,nextIconButtonProps:v,onPageChange:g,page:x,rowsPerPage:y,showFirstButton:Z,showLastButton:w,slots:$={},slotProps:C={}}=e,j=(0,a.Z)(e,I),L=(0,M.V)(),_=null!=(r=$.firstButton)?r:k.Z,B=null!=(n=$.lastButton)?n:k.Z,N=null!=(o=$.nextButton)?o:k.Z,T=null!=(s=$.previousButton)?s:k.Z,E=null!=(l=$.firstButtonIcon)?l:A.Z,z=null!=(u=$.lastButtonIcon)?u:S.Z,O=null!=(c=$.nextButtonIcon)?c:R,G=null!=(d=$.previousButtonIcon)?d:P,D=L?B:_,W=L?N:T,F=L?T:N,q=L?_:B,V=L?C.lastButton:C.firstButton,H=L?C.nextButton:C.previousButton,X=L?C.previousButton:C.nextButton,Y=L?C.firstButton:C.lastButton;return(0,b.jsxs)("div",(0,i.Z)({ref:t},j,{children:[Z&&(0,b.jsx)(D,(0,i.Z)({onClick:e=>{g(e,0)},disabled:h||0===x,"aria-label":m("first",x),title:m("first",x)},V,{children:L?(0,b.jsx)(z,(0,i.Z)({},C.lastButtonIcon)):(0,b.jsx)(E,(0,i.Z)({},C.firstButtonIcon))})),(0,b.jsx)(W,(0,i.Z)({onClick:e=>{g(e,x-1)},disabled:h||0===x,color:"inherit","aria-label":m("previous",x),title:m("previous",x)},null!=H?H:f,{children:L?(0,b.jsx)(O,(0,i.Z)({},C.nextButtonIcon)):(0,b.jsx)(G,(0,i.Z)({},C.previousButtonIcon))})),(0,b.jsx)(F,(0,i.Z)({onClick:e=>{g(e,x+1)},disabled:h||-1!==p&&x>=Math.ceil(p/y)-1,color:"inherit","aria-label":m("next",x),title:m("next",x)},null!=X?X:v,{children:L?(0,b.jsx)(G,(0,i.Z)({},C.previousButtonIcon)):(0,b.jsx)(O,(0,i.Z)({},C.nextButtonIcon))})),w&&(0,b.jsx)(q,(0,i.Z)({onClick:e=>{g(e,Math.max(0,Math.ceil(p/y)-1))},disabled:h||x>=Math.ceil(p/y)-1,"aria-label":m("last",x),title:m("last",x)},Y,{children:L?(0,b.jsx)(E,(0,i.Z)({},C.firstButtonIcon)):(0,b.jsx)(z,(0,i.Z)({},C.lastButtonIcon))}))]}))});var L=r(62916);function _(e){return(0,g.ZP)("MuiTablePagination",e)}let B=(0,v.Z)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),N=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],T=(0,c.ZP)(m.Z,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),E=(0,c.ZP)($,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>(0,i.Z)({[`& .${B.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${B.actions}`]:{flexShrink:0,marginLeft:20}})),z=(0,c.ZP)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),O=(0,c.ZP)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>(0,i.Z)({},e.typography.body2,{flexShrink:0})),G=(0,c.ZP)(h.Z,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>(0,i.Z)({[`& .${B.selectIcon}`]:t.selectIcon,[`& .${B.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${B.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),D=(0,c.ZP)(p.Z,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),W=(0,c.ZP)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>(0,i.Z)({},e.typography.body2,{flexShrink:0}));function F({from:e,to:t,count:r}){return`${e}–${t} of ${-1!==r?r:`more than ${t}`}`}function q(e){return`Go to ${e} page`}let V=e=>{let{classes:t}=e;return(0,l.Z)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},_,t)},H=o.forwardRef(function(e,t){var r;let l;let c=(0,d.i)({props:e,name:"MuiTablePagination"}),{ActionsComponent:p=j,backIconButtonProps:h,className:v,colSpan:g,component:x=m.Z,count:y,disabled:Z=!1,getItemAriaLabel:w=q,labelDisplayedRows:$=F,labelRowsPerPage:M="Rows per page:",nextIconButtonProps:C,onPageChange:P,onRowsPerPageChange:R,page:k,rowsPerPage:S,rowsPerPageOptions:A=[10,25,50,100],SelectProps:I={},showFirstButton:_=!1,showLastButton:B=!1,slotProps:H={},slots:X={}}=c,Y=(0,a.Z)(c,N),U=V(c),K=null!=(r=null==H?void 0:H.select)?r:I,Q=K.native?"option":D;(x===m.Z||"td"===x)&&(l=g||1e3);let J=(0,L.Z)(K.id),ee=(0,L.Z)(K.labelId);return(0,b.jsx)(T,(0,i.Z)({colSpan:l,ref:t,as:x,ownerState:c,className:(0,s.Z)(U.root,v)},Y,{children:(0,b.jsxs)(E,{className:U.toolbar,children:[(0,b.jsx)(z,{className:U.spacer}),A.length>1&&(0,b.jsx)(O,{className:U.selectLabel,id:ee,children:M}),A.length>1&&(0,b.jsx)(G,(0,i.Z)({variant:"standard"},!K.variant&&{input:n||(n=(0,b.jsx)(f.ZP,{}))},{value:S,onChange:R,id:J,labelId:ee},K,{classes:(0,i.Z)({},K.classes,{root:(0,s.Z)(U.input,U.selectRoot,(K.classes||{}).root),select:(0,s.Z)(U.select,(K.classes||{}).select),icon:(0,s.Z)(U.selectIcon,(K.classes||{}).icon)}),disabled:Z,children:A.map(e=>(0,o.createElement)(Q,(0,i.Z)({},!(0,u.Z)(Q)&&{ownerState:c},{className:U.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e))})),(0,b.jsx)(W,{className:U.displayedRows,children:$({from:0===y?0:k*S+1,to:-1===y?(k+1)*S:-1===S?y:Math.min(y,(k+1)*S),count:-1===y?-1:y,page:k})}),(0,b.jsx)(p,{className:U.actions,backIconButtonProps:h,count:y,nextIconButtonProps:C,onPageChange:P,page:k,rowsPerPage:S,showFirstButton:_,showLastButton:B,slotProps:H.actions,slots:X.actions,getItemAriaLabel:w,disabled:Z})]})}))});var X=H},95781:function(e,t,r){r.d(t,{Z:function(){return M}});var n=r(94312),a=r(79042),i=r(95600),o=r(53468),s=r(14978),l=r(84008),u=r(59782),c=r(24004),d=(0,u.Z)((0,c.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward"),f=r(35843),p=r(19996),h=r(28702),m=r(26520),v=r(25702);function g(e){return(0,v.ZP)("MuiTableSortLabel",e)}let x=(0,m.Z)("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]),b=["active","children","className","direction","hideSortIcon","IconComponent"],y=e=>{let{classes:t,direction:r,active:n}=e,a={root:["root",n&&"active"],icon:["icon",`iconDirection${(0,h.Z)(r)}`]};return(0,i.Z)(a,g,t)},Z=(0,f.ZP)(l.Z,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.active&&t.active]}})(({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${x.icon}`]:{opacity:.5}},[`&.${x.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${x.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}})),w=(0,f.ZP)("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,t[`iconDirection${(0,h.Z)(r.direction)}`]]}})(({theme:e,ownerState:t})=>(0,a.Z)({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},"desc"===t.direction&&{transform:"rotate(0deg)"},"asc"===t.direction&&{transform:"rotate(180deg)"})),$=s.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiTableSortLabel"}),{active:i=!1,children:s,className:l,direction:u="asc",hideSortIcon:f=!1,IconComponent:h=d}=r,m=(0,n.Z)(r,b),v=(0,a.Z)({},r,{active:i,direction:u,hideSortIcon:f,IconComponent:h}),g=y(v);return(0,c.jsxs)(Z,(0,a.Z)({className:(0,o.Z)(g.root,l),component:"span",disableRipple:!0,ownerState:v,ref:t},m,{children:[s,f&&!i?null:(0,c.jsx)(w,{as:h,className:(0,o.Z)(g.icon),ownerState:v})]}))});var M=$},88960:function(e,t,r){r(14978);var n=r(59782),a=r(24004);t.Z=(0,n.Z)((0,a.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},21022:function(e,t,r){r(14978);var n=r(59782),a=r(24004);t.Z=(0,n.Z)((0,a.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},72303:function(e,t,r){r.d(t,{Z:function(){return x}});var n=r(79042),a=r(94312),i=r(70574),o=r(70237),s=r(68062),l=r(87947);let u=["ownerState"],c=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let p=(0,s.Z)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function m({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function v(e,t){let{ownerState:r}=t,i=(0,a.Z)(t,u),o="function"==typeof e?e((0,n.Z)({ownerState:r},i)):e;if(Array.isArray(o))return o.flatMap(e=>v(e,(0,n.Z)({ownerState:r},i)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,a.Z)(o,c),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,n.Z)({ownerState:r},i,r)):Object.keys(e.props).forEach(n=>{(null==r?void 0:r[n])!==e.props[n]&&i[n]!==e.props[n]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,n.Z)({ownerState:r},i,r)):e.style))}),s}return o}let g=function(e={}){let{themeId:t,defaultTheme:r=p,rootShouldForwardProp:s=f,slotShouldForwardProp:u=f}=e,c=e=>(0,l.Z)((0,n.Z)({},e,{theme:m((0,n.Z)({},e,{defaultTheme:r,themeId:t}))}));return c.__mui_systemSx=!0,(e,l={})=>{var p;let g;(0,i.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:x,slot:b,skipVariantsResolver:y,skipSx:Z,overridesResolver:w=(p=h(b))?(e,t)=>t[p]:null}=l,$=(0,a.Z)(l,d),M=void 0!==y?y:b&&"Root"!==b&&"root"!==b||!1,C=Z||!1,P=f;"Root"===b||"root"===b?P=s:b?P=u:"string"==typeof e&&e.charCodeAt(0)>96&&(P=void 0);let R=(0,i.default)(e,(0,n.Z)({shouldForwardProp:P,label:g},$)),k=e=>"function"==typeof e&&e.__emotion_real!==e||(0,o.P)(e)?a=>v(e,(0,n.Z)({},a,{theme:m({theme:a.theme,defaultTheme:r,themeId:t})})):e,S=(a,...i)=>{let o=k(a),s=i?i.map(k):[];x&&w&&s.push(e=>{let a=m((0,n.Z)({},e,{defaultTheme:r,themeId:t}));if(!a.components||!a.components[x]||!a.components[x].styleOverrides)return null;let i=a.components[x].styleOverrides,o={};return Object.entries(i).forEach(([t,r])=>{o[t]=v(r,(0,n.Z)({},e,{theme:a}))}),w(e,o)}),x&&!M&&s.push(e=>{var a;let i=m((0,n.Z)({},e,{defaultTheme:r,themeId:t})),o=null==i||null==(a=i.components)||null==(a=a[x])?void 0:a.variants;return v({variants:o},(0,n.Z)({},e,{theme:i}))}),C||s.push(c);let l=s.length-i.length;if(Array.isArray(a)&&l>0){let e=Array(l).fill("");(o=[...a,...e]).raw=[...a.raw,...e]}let u=R(o,...s);return e.muiName&&(u.muiName=e.muiName),u};return R.withConfig&&(S.withConfig=R.withConfig),S}}();var x=g},51529:function(e,t,r){r.d(t,{Z:function(){return a}});var n=r(73938);function a(e){let{theme:t,name:r,props:a}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,a):a}},48153:function(e,t,r){r.d(t,{Z:function(){return i}});var n=r(51529),a=r(95270);function i({props:e,name:t,defaultTheme:r,themeId:i}){let o=(0,a.Z)(r);i&&(o=o[i]||o);let s=(0,n.Z)({theme:o,name:t,props:e});return s}},48670:function(e,t,r){r.d(t,{a:function(){return eS}});var n=r(79042),a=r(94312),i=r(14978),o=r(95600),s=r(95137),l=r(35843),u=r(1091),c=r(88221);let d=(e,t)=>{let r=i.useRef(null),n=i.useRef(!1),[a,o]=i.useState(0),[s,l]=i.useState(0),d=i.useCallback(()=>{let e=r?.current;if(!e)return;let t=(0,c.Z)(e),n=t.getComputedStyle(e),a=Math.floor(parseFloat(n.height))||0,i=Math.floor(parseFloat(n.width))||0;o(i),l(a)},[]);return i.useEffect(()=>{n.current=!0},[]),(0,u.Z)(()=>{let n;if(void 0!==e&&void 0!==t)return()=>{};d();let a=r.current;if("undefined"==typeof ResizeObserver)return()=>{};let i=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{d()})});return a&&i.observe(a),()=>{n&&window.cancelAnimationFrame(n),a&&i.unobserve(a)}},[d,t,e]),[r,e??a,t??s]};var f=r(24004);let p=i.createContext({item:null,axis:{x:null,y:null},useVoronoiInteraction:!1,dispatch:()=>null}),h=i.createContext({isInitialized:!1,data:{xAxis:{},yAxis:{},xAxisIds:[],yAxisIds:[]}}),m=()=>{let{data:e}=i.useContext(h);return e};var v=r(33449);let g={top:50,bottom:50,left:50,right:50};var x=(e,t,r)=>{let a=(0,n.Z)({},g,r),o=i.useMemo(()=>({left:a.left,top:a.top,right:a.right,bottom:a.bottom,width:Math.max(0,e-a.left-a.right),height:Math.max(0,t-a.top-a.bottom)}),[e,t,a.top,a.bottom,a.left,a.right]);return o};let b=i.createContext({top:0,left:0,bottom:0,right:0,height:300,width:400,chartId:""}),y=i.createContext({isInitialized:!1,data:{current:null}});function Z(e){let{width:t,height:r,margin:a,svgRef:o,children:s}=e,l=x(t,r,a),u=(0,v.Z)(),c=i.useMemo(()=>(0,n.Z)({chartId:u??""},l),[u,l]),d=i.useMemo(()=>({isInitialized:!0,data:o}),[o]);return(0,f.jsx)(y.Provider,{value:d,children:(0,f.jsx)(b.Provider,{value:c,children:s})})}function w(){let{left:e,top:t,width:r,height:n,bottom:a,right:o}=i.useContext(b);return i.useMemo(()=>({left:e,top:t,width:r,height:n,bottom:a,right:o}),[n,e,t,r,a,o])}function $(e){return e instanceof Date?e.getTime():e}let M=e=>{let t=function(){let{isInitialized:e,data:t}=i.useContext(y);if(!e)throw Error("MUI X: Could not find the svg ref context.\nIt looks like you rendered your component outside of a ChartsContainer parent component.");return t}(),{left:r,top:n,width:a,height:o}=w(),{xAxis:s,yAxis:l,xAxisIds:u,yAxisIds:c}=m(),{dispatch:d}=i.useContext(p),f=u[0],h=c[0],v=i.useRef({x:-1,y:-1});i.useEffect(()=>{let i=t.current;if(null===i||e)return()=>{};function u(e,t){let{scale:r,data:n,reverse:a}=e;if(!(void 0!==r.bandwidth)){let e=r.invert(t);if(void 0===n)return{value:e};let a=$(e),i=n?.findIndex((t,r)=>{let i=$(t);return!!(i>a&&(0===r||Math.abs(a-i)<=Math.abs(a-$(n[r-1])))||i<=a&&(r===n.length-1||Math.abs($(e)-i)<Math.abs($(e)-$(n[r+1]))))});return{value:void 0!==i&&i>=0?n[i]:e,index:i}}let i=0===r.bandwidth()?Math.floor((t-Math.min(...r.range())+r.step()/2)/r.step()):Math.floor((t-Math.min(...r.range()))/r.step());if(i<0||i>=n.length)return null;if(a){let e=n.length-1-i;return{index:e,value:n[e]}}return{index:i,value:n[i]}}let c=()=>{v.current={x:-1,y:-1},d({type:"exitChart"})},p=e=>{let t="targetTouches"in e?e.targetTouches[0]:e,c=function(e,t){let r=e.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,r.matrixTransform(e.getScreenCTM().inverse())}(i,t);v.current={x:c.x,y:c.y};let p=c.x<r||c.x>r+a,m=c.y<n||c.y>n+o;if(p||m){d({type:"exitChart"});return}let g=u(s[f],c.x),x=u(l[h],c.y);d({type:"updateAxis",data:{x:g,y:x}})},m=e=>{let t=e.currentTarget;t&&t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId)};return i.addEventListener("pointerdown",m),i.addEventListener("pointermove",p),i.addEventListener("pointerout",c),i.addEventListener("pointercancel",c),i.addEventListener("pointerleave",c),()=>{i.removeEventListener("pointerdown",m),i.removeEventListener("pointermove",p),i.removeEventListener("pointerout",c),i.removeEventListener("pointercancel",c),i.removeEventListener("pointerleave",c)}},[t,d,r,a,n,o,h,l,f,s,e])},C=["children","width","height","viewBox","disableAxisListener","className","title","desc"],P=(0,l.ZP)("svg",{name:"MuiChartsSurface",slot:"Root"})(()=>({touchAction:"none"})),R=i.forwardRef(function(e,t){let{children:r,width:i,height:o,viewBox:s,disableAxisListener:l=!1,title:u,desc:c}=e,d=(0,a.Z)(e,C),p=(0,n.Z)({width:i,height:o,x:0,y:0},s);return M(l),(0,f.jsxs)(P,(0,n.Z)({width:i,height:o,viewBox:`${p.x} ${p.y} ${p.width} ${p.height}`,ref:t},d,{children:[(0,f.jsx)("title",{children:u}),(0,f.jsx)("desc",{children:c}),r]}))});function k(e,t){if("number"==typeof e)return e;if("100%"===e)return t;if(e.endsWith("%")){let r=Number.parseFloat(e.slice(0,e.length-1));if(!Number.isNaN(r))return r*t/100}if(e.endsWith("px")){let t=Number.parseFloat(e.slice(0,e.length-2));if(!Number.isNaN(t))return t}throw Error(`MUI-Charts: Received an unknown value "${e}". It should be a number, or a string with a percentage value.`)}function S(e){let t=Math.PI*e/180;return[Math.sin(t),-Math.cos(t)]}let A=i.createContext({value:null,valueMin:0,valueMax:0,startAngle:0,endAngle:0,innerRadius:0,outerRadius:0,cornerRadius:0,cx:0,cy:0,maxRadius:0,valueAngle:null});function I(e){let{value:t=null,valueMin:r=0,valueMax:n=100,startAngle:a=0,endAngle:o=360,outerRadius:s,innerRadius:l,cornerRadius:u,cx:c,cy:d,children:p}=e,{left:h,top:m,width:v,height:g}=w(),x=function(e,t){let r=[[0,0],S(e),S(t)],n=Math.min(e,t),a=Math.max(e,t),i=90*Math.floor(n/90);for(let e=1;e<=4;e+=1){let t=i+90*e;t<a&&r.push(S(t))}let o=Math.min(...r.map(([e])=>e)),s=Math.max(...r.map(([e])=>e)),l=Math.min(...r.map(([,e])=>e)),u=Math.max(...r.map(([,e])=>e));return{cx:-o/(s-o),cy:-l/(u-l),minX:o,maxX:s,minY:l,maxY:u}}(a,o),b=c?k(c,v):x.cx*v,y=d?k(d,g):x.cy*g,Z=h+b,$=m+y,M=function(e,t,r,n,{minX:a,maxX:i,minY:o,maxY:s}){return Math.min(...[{ratio:Math.abs(a),space:e},{ratio:Math.abs(i),space:r-e},{ratio:Math.abs(o),space:t},{ratio:Math.abs(s),space:n-t}].map(({ratio:e,space:t})=>e<1e-5?1/0:t/e))}(b,y,v,g,x);if(void 0===c){let e=M*(x.maxX-x.minX);Z=h+(v-e)/2+x.cx*e}if(void 0===d){let e=M*(x.maxY-x.minY);$=m+(g-e)/2+x.cy*e}let C=k(s??M,M),P=k(l??"80%",M),R=k(u??0,C-P),I=i.useMemo(()=>{let e=Math.PI*a/180,i=Math.PI*o/180;return{value:t,valueMin:r,valueMax:n,startAngle:e,endAngle:i,outerRadius:C,innerRadius:P,cornerRadius:R,cx:Z,cy:$,maxRadius:M,valueAngle:null===t?null:e+(i-e)*(t-r)/(n-r)}},[t,r,n,a,o,C,P,R,Z,$,M]);return(0,f.jsx)(A.Provider,{value:I,children:p})}function j(){return i.useContext(A)}let L=["width","height","margin","title","desc","value","valueMin","valueMax","startAngle","endAngle","outerRadius","innerRadius","cornerRadius","cx","cy","children"],_=(0,l.ZP)("div",{name:"MuiGauge",slot:"Container"})(({ownerState:e,theme:t})=>({width:e.width??"100%",height:e.height??"100%",display:"flex",position:"relative",flexGrow:1,flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden","&>svg":{width:"100%",height:"100%"},"& text":{fill:(t.vars||t).palette.text.primary}})),B=i.forwardRef(function(e,t){let{width:r,height:o,margin:l,title:u,desc:c,value:p,valueMin:h=0,valueMax:m=100,startAngle:v,endAngle:g,outerRadius:x,innerRadius:b,cornerRadius:y,cx:w,cy:$,children:M}=e,C=(0,a.Z)(e,L),[P,k,S]=d(r,o),A=i.useRef(null),j=(0,s.Z)(t,A);return(0,f.jsx)(_,(0,n.Z)({ref:P,ownerState:{width:r,height:o},role:"meter","aria-valuenow":null===p?void 0:p,"aria-valuemin":h,"aria-valuemax":m},C,{children:k&&S?(0,f.jsx)(Z,{width:k,height:S,margin:(0,n.Z)({left:10,right:10,top:10,bottom:10},l),svgRef:A,children:(0,f.jsx)(I,{value:p,valueMin:h,valueMax:m,startAngle:v,endAngle:g,outerRadius:x,innerRadius:b,cornerRadius:y,cx:w,cy:$,children:(0,f.jsx)(R,{width:k,height:S,ref:j,title:u,desc:c,disableAxisListener:!0,"aria-hidden":"true",children:M})})}):null}))});function N(e){return function(){return e}}let T=Math.abs,E=Math.atan2,z=Math.cos,O=Math.max,G=Math.min,D=Math.sin,W=Math.sqrt,F=Math.PI,q=F/2,V=2*F;function H(e){return e>=1?q:e<=-1?-q:Math.asin(e)}let X=Math.PI,Y=2*X,U=Y-1e-6;function K(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}class Q{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?K:function(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return K;let r=10**t;return function(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=Math.round(arguments[t]*r)/r+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,r,n){this._append`Q${+e},${+t},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(e,t,r,n,a,i){this._append`C${+e},${+t},${+r},${+n},${this._x1=+a},${this._y1=+i}`}arcTo(e,t,r,n,a){if(e=+e,t=+t,r=+r,n=+n,(a=+a)<0)throw Error(`negative radius: ${a}`);let i=this._x1,o=this._y1,s=r-e,l=n-t,u=i-e,c=o-t,d=u*u+c*c;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>1e-6){if(Math.abs(c*s-l*u)>1e-6&&a){let f=r-i,p=n-o,h=s*s+l*l,m=Math.sqrt(h),v=Math.sqrt(d),g=a*Math.tan((X-Math.acos((h+d-(f*f+p*p))/(2*m*v)))/2),x=g/v,b=g/m;Math.abs(x-1)>1e-6&&this._append`L${e+x*u},${t+x*c}`,this._append`A${a},${a},0,0,${+(c*f>u*p)},${this._x1=e+b*s},${this._y1=t+b*l}`}else this._append`L${this._x1=e},${this._y1=t}`}}arc(e,t,r,n,a,i){if(e=+e,t=+t,i=!!i,(r=+r)<0)throw Error(`negative radius: ${r}`);let o=r*Math.cos(n),s=r*Math.sin(n),l=e+o,u=t+s,c=1^i,d=i?n-a:a-n;null===this._x1?this._append`M${l},${u}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-u)>1e-6)&&this._append`L${l},${u}`,r&&(d<0&&(d=d%Y+Y),d>U?this._append`A${r},${r},0,1,${c},${e-o},${t-s}A${r},${r},0,1,${c},${this._x1=l},${this._y1=u}`:d>1e-6&&this._append`A${r},${r},0,${+(d>=X)},${c},${this._x1=e+r*Math.cos(a)},${this._y1=t+r*Math.sin(a)}`)}rect(e,t,r,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function J(e){return e.innerRadius}function ee(e){return e.outerRadius}function et(e){return e.startAngle}function er(e){return e.endAngle}function en(e){return e&&e.padAngle}function ea(e,t,r,n,a,i,o){var s=e-r,l=t-n,u=(o?i:-i)/W(s*s+l*l),c=u*l,d=-u*s,f=e+c,p=t+d,h=r+c,m=n+d,v=(f+h)/2,g=(p+m)/2,x=h-f,b=m-p,y=x*x+b*b,Z=a-i,w=f*m-h*p,$=(b<0?-1:1)*W(O(0,Z*Z*y-w*w)),M=(w*b-x*$)/y,C=(-w*x-b*$)/y,P=(w*b+x*$)/y,R=(-w*x+b*$)/y,k=M-v,S=C-g,A=P-v,I=R-g;return k*k+S*S>A*A+I*I&&(M=P,C=R),{cx:M,cy:C,x01:-c,y01:-d,x11:M*(a/Z-1),y11:C*(a/Z-1)}}function ei(){let e;var t=J,r=ee,n=N(0),a=null,i=et,o=er,s=en,l=null,u=(e=3,c.digits=function(t){if(!arguments.length)return e;if(null==t)e=null;else{let r=Math.floor(t);if(!(r>=0))throw RangeError(`invalid digits: ${t}`);e=r}return c},()=>new Q(e));function c(){var e,c,d=+t.apply(this,arguments),f=+r.apply(this,arguments),p=i.apply(this,arguments)-q,h=o.apply(this,arguments)-q,m=T(h-p),v=h>p;if(l||(l=e=u()),f<d&&(c=f,f=d,d=c),f>1e-12){if(m>V-1e-12)l.moveTo(f*z(p),f*D(p)),l.arc(0,0,f,p,h,!v),d>1e-12&&(l.moveTo(d*z(h),d*D(h)),l.arc(0,0,d,h,p,v));else{var g,x,b=p,y=h,Z=p,w=h,$=m,M=m,C=s.apply(this,arguments)/2,P=C>1e-12&&(a?+a.apply(this,arguments):W(d*d+f*f)),R=G(T(f-d)/2,+n.apply(this,arguments)),k=R,S=R;if(P>1e-12){var A=H(P/d*D(C)),I=H(P/f*D(C));($-=2*A)>1e-12?(A*=v?1:-1,Z+=A,w-=A):($=0,Z=w=(p+h)/2),(M-=2*I)>1e-12?(I*=v?1:-1,b+=I,y-=I):(M=0,b=y=(p+h)/2)}var j=f*z(b),L=f*D(b),_=d*z(w),B=d*D(w);if(R>1e-12){var N,O=f*z(y),X=f*D(y),Y=d*z(Z),U=d*D(Z);if(m<F){if(N=function(e,t,r,n,a,i,o,s){var l=r-e,u=n-t,c=o-a,d=s-i,f=d*l-c*u;if(!(f*f<1e-12))return f=(c*(t-i)-d*(e-a))/f,[e+f*l,t+f*u]}(j,L,Y,U,O,X,_,B)){var K,Q=j-N[0],J=L-N[1],ee=O-N[0],et=X-N[1],er=1/D(((K=(Q*ee+J*et)/(W(Q*Q+J*J)*W(ee*ee+et*et)))>1?0:K<-1?F:Math.acos(K))/2),en=W(N[0]*N[0]+N[1]*N[1]);k=G(R,(d-en)/(er-1)),S=G(R,(f-en)/(er+1))}else k=S=0}}M>1e-12?S>1e-12?(g=ea(Y,U,j,L,f,S,v),x=ea(O,X,_,B,f,S,v),l.moveTo(g.cx+g.x01,g.cy+g.y01),S<R?l.arc(g.cx,g.cy,S,E(g.y01,g.x01),E(x.y01,x.x01),!v):(l.arc(g.cx,g.cy,S,E(g.y01,g.x01),E(g.y11,g.x11),!v),l.arc(0,0,f,E(g.cy+g.y11,g.cx+g.x11),E(x.cy+x.y11,x.cx+x.x11),!v),l.arc(x.cx,x.cy,S,E(x.y11,x.x11),E(x.y01,x.x01),!v))):(l.moveTo(j,L),l.arc(0,0,f,b,y,!v)):l.moveTo(j,L),d>1e-12&&$>1e-12?k>1e-12?(g=ea(_,B,O,X,d,-k,v),x=ea(j,L,Y,U,d,-k,v),l.lineTo(g.cx+g.x01,g.cy+g.y01),k<R?l.arc(g.cx,g.cy,k,E(g.y01,g.x01),E(x.y01,x.x01),!v):(l.arc(g.cx,g.cy,k,E(g.y01,g.x01),E(g.y11,g.x11),!v),l.arc(0,0,d,E(g.cy+g.y11,g.cx+g.x11),E(x.cy+x.y11,x.cx+x.x11),v),l.arc(x.cx,x.cy,k,E(x.y11,x.x11),E(x.y01,x.x01),!v))):l.arc(0,0,d,w,Z,v):l.lineTo(_,B)}}else l.moveTo(0,0);if(l.closePath(),e)return l=null,e+""||null}return c.centroid=function(){var e=(+t.apply(this,arguments)+ +r.apply(this,arguments))/2,n=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-F/2;return[z(n)*e,D(n)*e]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:N(+e),c):t},c.outerRadius=function(e){return arguments.length?(r="function"==typeof e?e:N(+e),c):r},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:N(+e),c):n},c.padRadius=function(e){return arguments.length?(a=null==e?null:"function"==typeof e?e:N(+e),c):a},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:N(+e),c):i},c.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:N(+e),c):o},c.padAngle=function(e){return arguments.length?(s="function"==typeof e?e:N(+e),c):s},c.context=function(e){return arguments.length?(l=null==e?null:e,c):l},c}Q.prototype;let eo=(0,l.ZP)("path",{name:"MuiGauge",slot:"ReferenceArc",overridesResolver:(e,t)=>t.referenceArc})(({theme:e})=>({fill:(e.vars||e).palette.primary.main}));function es(e){let{value:t,valueMin:r,valueMax:a,startAngle:i,endAngle:o,outerRadius:s,innerRadius:l,cornerRadius:u,cx:c,cy:d}=j();if(null===t)return null;let p=i+(t-r)/(a-r)*(o-i);return(0,f.jsx)(eo,(0,n.Z)({transform:`translate(${c}, ${d})`,d:ei().cornerRadius(u)({startAngle:i,endAngle:p,innerRadius:l,outerRadius:s})},e))}let el=(0,l.ZP)("path",{name:"MuiGauge",slot:"ReferenceArc",overridesResolver:(e,t)=>t.referenceArc})(({theme:e})=>({fill:(e.vars||e).palette.divider}));function eu(e){let{startAngle:t,endAngle:r,outerRadius:a,innerRadius:i,cornerRadius:o,cx:s,cy:l}=j();return(0,f.jsx)(el,(0,n.Z)({transform:`translate(${s}, ${l})`,d:ei().cornerRadius(o)({startAngle:t,endAngle:r,innerRadius:i,outerRadius:a})},e))}var ec=r(26520),ed=r(25702);function ef(e){return(0,ed.ZP)("MuiGauge",e)}(0,ec.Z)("MuiGauge",["root","valueArc","referenceArc","valueText"]);let ep={widthCache:{},cacheCount:0},eh={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},em=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],ev="mui_measurement_span";function eg(e,t){return em.indexOf(e)>=0&&t===+t?`${t}px`:t}function ex(e){let t=e.split(""),r=t.reduce((e,t)=>t===t.toUpperCase()?[...e,"-",t.toLowerCase()]:[...e,t],[]);return r.join("")}let eb=e=>Object.keys(e).sort().reduce((t,r)=>`${t}${ex(r)}:${eg(r,e[r])};`,""),ey=(e,t={})=>{if(null==e||"undefined"==typeof window)return{width:0,height:0};let r=`${e}`,a=eb(t),i=`${r}-${a}`;if(ep.widthCache[i])return ep.widthCache[i];try{let e=document.getElementById(ev);null===e&&((e=document.createElement("span")).setAttribute("id",ev),e.setAttribute("aria-hidden","true"),document.body.appendChild(e));let a=(0,n.Z)({},eh,t);Object.keys(a).map(t=>(e.style[ex(t)]=eg(t,a[t]),t)),e.textContent=r;let o=e.getBoundingClientRect(),s={width:o.width,height:o.height};return ep.widthCache[i]=s,ep.cacheCount+1>2e3?(ep.cacheCount=0,ep.widthCache={}):ep.cacheCount+=1,s}catch(e){return{width:0,height:0}}},eZ=["x","y","style","text","ownerState"],ew=["angle","textAnchor","dominantBaseline"];function e$(e){let t;let{x:r,y:o,style:s,text:l}=e,u=(0,a.Z)(e,eZ),c=s??{},{angle:d,textAnchor:p,dominantBaseline:h}=c,m=(0,a.Z)(c,ew),v=i.useMemo(()=>(function({style:e,needsComputation:t,text:r}){return r.split("\n").map(r=>(0,n.Z)({text:r},t?ey(r,e):{width:0,height:0}))})({style:m,needsComputation:l.includes("\n"),text:l}),[m,l]);switch(h){case"hanging":t=0;break;case"central":t=-((v.length-1)/2*v[0].height);break;default:t=-((v.length-1)*v[0].height)}let g=[];return d&&g.push(`rotate(${d}, ${r}, ${o})`),(0,f.jsx)("text",(0,n.Z)({},u,{transform:g.length>0?g.join(" "):void 0,x:r,y:o,textAnchor:p,dominantBaseline:h,style:m,children:v.map((e,n)=>(0,f.jsx)("tspan",{x:r,dy:`${0===n?t:v[0].height}px`,dominantBaseline:h,children:e.text},n))}))}let eM=["text","className"];function eC({value:e}){return null===e?null:e.toLocaleString()}function eP(e){let{text:t=eC,className:r}=e,i=(0,a.Z)(e,eM),{value:o,valueMin:s,valueMax:l,cx:u,cy:c}=j(),d="function"==typeof t?t({value:o,valueMin:s,valueMax:l}):t;return null===d?null:(0,f.jsx)("g",{className:r,children:(0,f.jsx)(e$,(0,n.Z)({x:u,y:c,text:d,style:{textAnchor:"middle",dominantBaseline:"central"}},i))})}let eR=["text","children","classes"],ek=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"],valueArc:["valueArc"],referenceArc:["referenceArc"],valueText:["valueText"]},ef,t)};function eS(e){let{text:t,children:r}=e,i=(0,a.Z)(e,eR),o=ek(e);return(0,f.jsxs)(B,(0,n.Z)({},i,{className:o.root,children:[(0,f.jsx)(eu,{className:o.referenceArc}),(0,f.jsx)(es,{className:o.valueArc}),(0,f.jsx)(eP,{className:o.valueText,text:t}),r]}))}},8430:function(e,t,r){r.d(t,{Z:function(){return n}});function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{84173:function(e,t,r){Promise.resolve().then(r.bind(r,5071)),Promise.resolve().then(r.t.bind(r,5100,23)),Promise.resolve().then(r.t.bind(r,65246,23))},5071:function(e,t,r){"use strict";r.r(t),r.d(t,{PageShell:function(){return J}});var o=r(24004),n=r(14978),s=r(52428),i=r(14819),l=r(52653),a=r(13457),c=r(38640),u=r.n(c),d=r(28891),h=r(39864),f=r(47028);function p(e){let{darkMode:t,onToggleDarkMode:r}=e;return(0,o.jsx)("div",{className:"dark-mode-toggle",onClick:r,children:t?(0,o.jsx)(h.Z,{}):(0,o.jsx)(f.Z,{})})}r(32854);var x=r(58715),m=r(61443),g=r(14089),j=r(68452),b=r(91018),v=r(89394),k=r(91797),C=r(43226),Z=r(25210),S=r(26337),E=r(42834),O=r(49050);let _=[{icon:(0,o.jsx)(b.Z,{fontSize:"small"}),text:"Documentation",href:"https://www.promptfoo.dev/docs/intro"},{icon:(0,o.jsx)(j.Z,{fontSize:"small"}),text:"GitHub Repository",href:"https://github.com/promptfoo/promptfoo"},{icon:(0,o.jsx)(x.Z,{fontSize:"small"}),text:"File an Issue",href:"https://github.com/promptfoo/promptfoo/issues"},{icon:(0,o.jsx)(g.Z,{fontSize:"small"}),text:"Join Our Discord Community",href:"https://discord.gg/gHPS9jjfbs"},{icon:(0,o.jsx)(m.Z,{fontSize:"small"}),text:"Book a Meeting",href:"https://cal.com/team/promptfoo/intro"}];function P(e){let{open:t,onClose:r}=e;return(0,o.jsxs)(v.Z,{open:t,onClose:r,maxWidth:"xs",fullWidth:!0,"aria-labelledby":"about-promptfoo-dialog-title",children:[(0,o.jsx)(k.Z,{id:"about-promptfoo-dialog-title",children:(0,o.jsxs)(a.Z,{children:[(0,o.jsx)(C.Z,{variant:"h6",children:"About Promptfoo"}),(0,o.jsx)(Z.Z,{href:"https://github.com/promptfoo/promptfoo/releases",underline:"none",sx:{color:"inherit"},target:"_blank",children:(0,o.jsxs)(C.Z,{variant:"subtitle2",children:["Version ","0.
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{84173:function(e,t,r){Promise.resolve().then(r.bind(r,5071)),Promise.resolve().then(r.t.bind(r,5100,23)),Promise.resolve().then(r.t.bind(r,65246,23))},5071:function(e,t,r){"use strict";r.r(t),r.d(t,{PageShell:function(){return J}});var o=r(24004),n=r(14978),s=r(52428),i=r(14819),l=r(52653),a=r(13457),c=r(38640),u=r.n(c),d=r(28891),h=r(39864),f=r(47028);function p(e){let{darkMode:t,onToggleDarkMode:r}=e;return(0,o.jsx)("div",{className:"dark-mode-toggle",onClick:r,children:t?(0,o.jsx)(h.Z,{}):(0,o.jsx)(f.Z,{})})}r(32854);var x=r(58715),m=r(61443),g=r(14089),j=r(68452),b=r(91018),v=r(89394),k=r(91797),C=r(43226),Z=r(25210),S=r(26337),E=r(42834),O=r(49050);let _=[{icon:(0,o.jsx)(b.Z,{fontSize:"small"}),text:"Documentation",href:"https://www.promptfoo.dev/docs/intro"},{icon:(0,o.jsx)(j.Z,{fontSize:"small"}),text:"GitHub Repository",href:"https://github.com/promptfoo/promptfoo"},{icon:(0,o.jsx)(x.Z,{fontSize:"small"}),text:"File an Issue",href:"https://github.com/promptfoo/promptfoo/issues"},{icon:(0,o.jsx)(g.Z,{fontSize:"small"}),text:"Join Our Discord Community",href:"https://discord.gg/gHPS9jjfbs"},{icon:(0,o.jsx)(m.Z,{fontSize:"small"}),text:"Book a Meeting",href:"https://cal.com/team/promptfoo/intro"}];function P(e){let{open:t,onClose:r}=e;return(0,o.jsxs)(v.Z,{open:t,onClose:r,maxWidth:"xs",fullWidth:!0,"aria-labelledby":"about-promptfoo-dialog-title",children:[(0,o.jsx)(k.Z,{id:"about-promptfoo-dialog-title",children:(0,o.jsxs)(a.Z,{children:[(0,o.jsx)(C.Z,{variant:"h6",children:"About Promptfoo"}),(0,o.jsx)(Z.Z,{href:"https://github.com/promptfoo/promptfoo/releases",underline:"none",sx:{color:"inherit"},target:"_blank",children:(0,o.jsxs)(C.Z,{variant:"subtitle2",children:["Version ","0.81.0"]})})]})}),(0,o.jsxs)(S.Z,{children:[(0,o.jsx)(C.Z,{variant:"body2",gutterBottom:!0,children:"Promptfoo is a MIT licensed open-source tool for evaluating LLMs. We make it easy to track the performance of your models and prompts over time with automated support for dataset generation and grading."}),(0,o.jsx)(a.Z,{spacing:2,mt:2,children:_.map((e,t)=>(0,o.jsxs)(a.Z,{direction:"row",spacing:1,alignItems:"center",sx:{flexWrap:"wrap","& .MuiSvgIcon-root":{color:"text.primary"}},children:[e.icon,(0,o.jsx)(Z.Z,{underline:"none",target:"_blank",href:e.href,sx:{color:"inherit"},children:(0,o.jsx)(C.Z,{variant:"body2",children:e.text})})]},t))})]}),(0,o.jsx)(E.Z,{children:(0,o.jsx)(O.Z,{onClick:r,children:"Close"})})]})}var y=r(1445),F=r(3283),N=r(33932),M=r(74309);function w(){let{user:e,logout:t}=(0,y.aC)(),[r,s]=n.useState(null),i=()=>{s(null)},a=async()=>{null==t||t(),i()};return e?(0,o.jsxs)("div",{children:[(0,o.jsx)(l.Z,{edge:"end","aria-label":"account of current user","aria-controls":"menu-appbar","aria-haspopup":"true",onClick:e=>{s(e.currentTarget)},color:"inherit",children:(0,o.jsx)(F.Z,{sx:{width:"1em",height:"1em",bgcolor:"#1976d2"}})}),(0,o.jsxs)(N.Z,{id:"menu-appbar",anchorEl:r,anchorOrigin:{vertical:"top",horizontal:"right"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:!!r,onClose:i,children:[(0,o.jsxs)(M.Z,{disabled:!0,children:["Logged in as ",e.email]}),(0,o.jsx)(M.Z,{onClick:a,children:"Logout"})]})]}):(0,o.jsx)(u(),{href:"/auth/signup/",children:(0,o.jsx)(l.Z,{edge:"end","aria-label":"User not logged in","aria-controls":"menu-appbar","aria-haspopup":"true",color:"inherit",children:(0,o.jsx)(F.Z,{sx:{width:"1em",height:"1em"}})})})}var I=r(79245),T=r(47051),R=r.n(T);function A(){return(0,o.jsx)(u(),{href:"https://promptfoo.dev",passHref:!0,children:(0,o.jsxs)(I.Z,{className:"logo",component:"a",children:[(0,o.jsx)(R(),{width:25,height:25,src:"/logo-panda.svg",alt:"Promptfoo logo"})," ",(0,o.jsx)("span",{children:"promptfoo"})]})})}r(17328),r(5008);var D=r(77580);function B(e){let{href:t,label:r}=e,n=(0,d.usePathname)()||"";return(0,o.jsx)(u(),{href:t,className:n.startsWith(t)?"active":"",children:r})}function L(e){let{darkMode:t,onToggleDarkMode:r}=e,[c,u]=(0,n.useState)(!1),d=()=>u(e=>!e),h=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(A,{}),!D.env.NEXT_PUBLIC_NO_BROWSING&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(B,{href:"/setup",label:"New Eval"}),(0,o.jsx)(B,{href:"/eval",label:"Evals"}),(0,o.jsx)(B,{href:"/prompts",label:"Prompts"}),(0,o.jsx)(B,{href:"/datasets",label:"Datasets"}),(0,o.jsx)(B,{href:"/progress",label:"Progress"})]}),(0,o.jsxs)("div",{className:"right-aligned",children:[s.Ox?(0,o.jsx)(w,{}):null,(0,o.jsx)(l.Z,{onClick:d,sx:{color:"#f0f0f0"},children:(0,o.jsx)(i.Z,{})}),(0,o.jsx)(p,{darkMode:t,onToggleDarkMode:r})]})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(P,{open:c,onClose:d}),(0,o.jsx)(a.Z,{direction:"row",spacing:2,className:"nav",children:h})]})}var W=r(30606),U=r(33948),z=r(42714);r(70894);let H=e=>(0,W.Z)({typography:{fontFamily:"inherit"},palette:{mode:e?"dark":"light",background:{default:"#ffffff"}},components:{MuiCard:{styleOverrides:{root:{backgroundColor:e?"#121212":"#fff",boxShadow:e?"none":"0 2px 3px rgba(0, 0, 0, 0.1)",borderRadius:"12px"}}},MuiTableContainer:{styleOverrides:{root:{backgroundColor:e?"#121212":"#fff",boxShadow:e?"none":"0 2px 3px rgba(0, 0, 0, 0.1)",borderRadius:"12px"}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:e?"#1E1E1E":"#F5F5F5"}}},MuiTableCell:{styleOverrides:{head:{backgroundColor:"inherit",color:e?"#FFFFFF":"#000000",fontWeight:"bold"},stickyHeader:{backgroundColor:e?"#1E1E1E":"#F5F5F5"}}},MuiInputBase:{styleOverrides:{root:{backgroundColor:e?"#333":"#fff"}}}}}),G=H(!1),V=H(!0);function X(e){let{children:t}=e;return(0,o.jsx)("div",{children:t})}function J(e){let{children:t}=e,r=(0,z.Z)("(prefers-color-scheme: dark)"),[s,i]=(0,n.useState)(null);(0,n.useEffect)(()=>{let e=localStorage.getItem("darkMode");i(null===e?r:"true"===e)},[r]);let l=(0,n.useCallback)(()=>{i(e=>{let t=!e;return localStorage.setItem("darkMode",String(t)),t})},[]);return((0,n.useEffect)(()=>{null!==s&&(s?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.removeAttribute("data-theme"))},[s]),null===s)?null:(0,o.jsx)(U.Z,{theme:s?V:G,children:(0,o.jsx)(y.Ho,{children:(0,o.jsxs)(X,{children:[(0,o.jsx)(L,{darkMode:s,onToggleDarkMode:l}),(0,o.jsx)("div",{children:t})]})})})}},52428:function(e,t,r){"use strict";r.d(t,{Ox:function(){return s},T8:function(){return n},eA:function(){return i}});var o=r(77580);let n=!o.env.NEXT_PUBLIC_PROMPTFOO_BUILD_STANDALONE_SERVER,s=!!o.env.NEXT_PUBLIC_PROMPTFOO_USE_SUPABASE,i=""},1445:function(e,t,r){"use strict";r.d(t,{Ho:function(){return d},OQ:function(){return i},aC:function(){return a}});var o=r(24004),n=r(14978),s=r(12594);let i=(0,s.createClientComponentClient)(),l=(0,n.createContext)({}),a=()=>(0,n.useContext)(l),c=(e,t)=>i.auth.signInWithPassword({email:e,password:t}),u=()=>i.auth.signOut(),d=e=>{let{children:t}=e,[r,s]=(0,n.useState)(null),[a,d]=(0,n.useState)(!1),h=(0,n.useCallback)(async()=>{let{data:e}=await i.auth.refreshSession();e&&s(e.user)},[]);return(0,n.useEffect)(()=>{h();let{data:e}=i.auth.onAuthStateChange(async(e,t)=>{"PASSWORD_RECOVERY"==e?d(!1):"SIGNED_IN"===e&&t?(s(t.user),d(!0)):"SIGNED_OUT"===e&&(d(!1),s(null))});return()=>{e.subscription.unsubscribe()}},[h]),(0,o.jsx)(l.Provider,{value:{loggedIn:a,user:r,login:c,logout:u},children:t})}},32854:function(){},17328:function(){},5008:function(){},70894:function(){},5100:function(){}},function(e){e.O(0,[148,640,193,65,132,415,470,730,744],function(){return e(e.s=84173)}),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[420],{58004:function(e,t,i){Promise.resolve().then(i.bind(i,24406))},49532:function(e,t,i){"use strict";let a,r;async function s(){if(a||(r||(r=fetch("/api/config").then(e=>e.json()).then(e=>a=e.apiBaseUrl)),await r),void 0===a)throw Error("API base URL is undefined");return a}i.d(t,{b:function(){return s}})},24406:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return ev}});var a,r,s=i(24004),n=i(14978),l=i(49532),o=i(79245),c=i(15133),d=i(47827),u=i(88938),m=i(35266),h=i(80356),p=i(38212),g=i(49658),f=i(13457),v=i(43226),x=i(88469);let y={"Security Risk":["bola","bfla","debug-access","hijacking","pii","prompt-extraction","rbac","shell-injection","sql-injection","ssrf"],"Legal Risk":["contracts","harmful:child-exploitation","harmful:copyright-violations","harmful:cybercrime","harmful:hate","harmful:illegal-activities","harmful:illegal-drugs","harmful:intellectual-property","harmful:privacy","harmful:self-harm","harmful:sex-crime","harmful:sexual-content","harmful:specialized-advice","harmful:violent-crime"],"Brand Risk":["policy","competitors","excessive-agency","hallucination","harmful:graphic-content","harmful:harassment-bullying","harmful:indiscriminate-weapons","harmful:insults","harmful:misinformation-disinformation","harmful:non-violent-crime","harmful:profanity","harmful:radicalization","harmful:unsafe-practices","imitation","overreliance","politics"]},j={"Brand Risk":"Risks that can affect the brand reputation and trustworthiness.","Legal Risk":"Risks that can lead to legal consequences or violations.","Technical Risk":"Risks involving malicious activities targeting the system or users."};(a=r||(r={})).Critical="Critical",a.High="High",a.Medium="Medium",a.Low="Low";let b={"debug-access":r.High,"excessive-agency":r.Medium,"harmful:child-exploitation":r.Critical,"harmful:copyright-violations":r.Low,"harmful:cybercrime":r.Low,"harmful:graphic-content":r.Medium,"harmful:harassment-bullying":r.Low,"harmful:hate":r.Critical,"harmful:illegal-activities":r.Medium,"harmful:illegal-drugs":r.Medium,"harmful:indiscriminate-weapons":r.Medium,"harmful:insults":r.Low,"harmful:intellectual-property":r.Medium,"harmful:misinformation-disinformation":r.Medium,"harmful:non-violent-crime":r.Medium,"harmful:privacy":r.High,"harmful:profanity":r.Low,"harmful:radicalization":r.Low,"harmful:self-harm":r.Critical,"harmful:sex-crime":r.High,"harmful:sexual-content":r.Medium,"harmful:specialized-advice":r.Medium,"harmful:unsafe-practices":r.Low,"harmful:violent-crime":r.High,"prompt-injection":r.Medium,"shell-injection":r.High,"sql-injection":r.High,competitors:r.Low,contracts:r.Medium,hallucination:r.Medium,hijacking:r.High,imitation:r.Low,jailbreak:r.Medium,overreliance:r.Low,pii:r.High,politics:r.Low,rbac:r.High,policy:r.High,bola:r.High,bfla:r.High,ssrf:r.High},Z=Object.entries(y).reduce((e,t)=>{let[i,a]=t;return a.forEach(t=>{e[t]=i}),e},{});Object.keys(Z);let w={bola:"BOLAEnforcement",bfla:"BFLAEnforcement",ssrf:"SSRFEnforcement","debug-access":"DebugAccess","excessive-agency":"ExcessiveAgency","harmful:child-exploitation":"Child Exploitation","harmful:cybercrime":"Cybercrime & Unauthorized Intrusion - Hacking and Malware","harmful:graphic-content":"Graphic & age-restricted content","harmful:harassment-bullying":"Harassment & Bullying","harmful:hate":"Hate","harmful:illegal-activities":"Illegal Activities - Fraud & scams","harmful:illegal-drugs":"Illegal Drugs","harmful:indiscriminate-weapons":"Indiscriminate Weapons","harmful:insults":"Insults and personal attacks","harmful:intellectual-property":"Intellectual Property violation","harmful:misinformation-disinformation":"Misinformation & Disinformation - Harmful lies and propaganda","harmful:non-violent-crime":"Non-Violent Crimes","harmful:privacy":"Privacy violations","harmful:profanity":"Requests containing profanity","harmful:radicalization":"Radicalization","harmful:self-harm":"Self-Harm","harmful:sex-crime":"Sex Crimes","harmful:sexual-content":"Sexual Content","harmful:specialized-advice":"Specialized Advice - Financial","harmful:unsafe-practices":"Promotion of unsafe practices","harmful:violent-crime":"Violent Crimes","harmful:chemical-biological-weapons":"Chemical & Biological Weapons","harmful:copyright-violations":"Copyright Violations - Copyrighted text","prompt-injection":"Harmful/Injection","shell-injection":"ShellInjection","sql-injection":"SqlInjection",competitors:"CompetitorEndorsement",contracts:"ContractualCommitment",hallucination:"Hallucination",hijacking:"Hijacking",imitation:"Imitation",jailbreak:"Harmful/Iterative",overreliance:"Overreliance",pii:"PIILeak",politics:"PoliticalStatement",rbac:"RbacEnforcement",policy:"PolicyViolation"},k=Object.entries(w).reduce((e,t)=>{let[i,a]=t;return e[a]=i,e},{}),C={bola:"Unauthorized Data Access",bfla:"Privilege Escalation",ssrf:"Malicious Resource Fetching","excessive-agency":"Excessive Agency","prompt-injection":"Prompt Injection",competitors:"Competitor Endorsements",contracts:"Unsupervised Contracts",jailbreak:"Single-shot optimization","jailbreak:tree":"Tree-based optimization",pii:"PII Leaks",politics:"Political Opinions","shell-injection":"Shell Injection","sql-injection":"SQL Injection",rbac:"RBAC Enforcement","debug-access":"Debug Access","harmful:specialized-advice":"Specialized Advice","harmful:illegal-activities":"Illegal Activities","harmful:cybercrime":"Cybercrime","harmful:copyright-violations":"Copyright Violations","harmful:misinformation-disinformation":"Misinformation & disinformation",policy:"Custom Policy",basic:"Basic",crescendo:"Multi-turn"},R={default:"Includes common plugins",basic:"Raw attacks without any special attack strategies",multilingual:"Translates the input into low-resource languages",bola:"Broken Object Level Authorization (BOLA) tests",bfla:"Broken Function Level Authorization (BFLA) tests",ssrf:"Server-Side Request Forgery (SSRF) tests","debug-access":"Attempts to access or use debugging commands","excessive-agency":"Model taking excessive initiative or misunderstanding its capabilities","harmful:chemical-biological-weapons":"Content related to chemical or biological weapons","harmful:child-exploitation":"Content exploiting or harming children","harmful:copyright-violations":"Content violating copyright laws","harmful:cybercrime":"Content related to cybercriminal activities","harmful:graphic-content":"Displaying graphic or violent content","harmful:harassment-bullying":"Content that harasses or bullies individuals","harmful:hate":"Content that promotes hate or discrimination","harmful:illegal-activities":"Content promoting illegal activities","harmful:illegal-drugs":"Content related to illegal drug use or trade","harmful:indiscriminate-weapons":"Content related to weapons without context","harmful:insults":"Content that insults or demeans individuals","harmful:intellectual-property":"Content violating intellectual property rights","harmful:misinformation-disinformation":"Spreading false or misleading information","harmful:non-violent-crime":"Content related to non-violent criminal activities","harmful:privacy":"Content violating privacy rights","harmful:profanity":"Content containing profane or inappropriate language","harmful:radicalization":"Content that promotes radical or extremist views","harmful:self-harm":"Content that encourages self-harm or suicide","harmful:sex-crime":"Content related to sexual crimes","harmful:sexual-content":"Explicit or inappropriate sexual content","harmful:specialized-advice":"Providing advice in specialized fields without expertise","harmful:unsafe-practices":"Content promoting unsafe or harmful practices","harmful:violent-crime":"Content related to violent criminal activities","jailbreak:tree":"Tree-based jailbreak search","pii:api-db":"PII exposed through API or database","pii:direct":"Direct exposure of PII","pii:session":"PII exposed in session data","pii:social":"PII exposed through social engineering","prompt-injection":"Malicious inputs designed to manipulate the model's behavior","shell-injection":"Attempts to execute shell commands through the model","sql-injection":"Attempts to perform SQL injection attacks to manipulate database queries",base64:"Attempts to obfuscate malicious content using Base64 encoding",competitors:"Competitor mentions and endorsements",contracts:"Enters business or legal commitments without supervision",hallucination:"Model generating false or misleading information",harmful:"All harmful categories",hijacking:"Unauthorized or off-topic resource use",imitation:"Imitates people, brands, or organizations",jailbreak:"Attempts to bypass security measures through iterative prompt refinement",leetspeak:"Attempts to obfuscate malicious content using leetspeak",overreliance:"Model susceptible to relying on an incorrect user assumption or input",pii:"All PII categories",policy:"Violates a custom configured policy",politics:"Makes political statements",rbac:"Tests whether the model properly implements Role-Based Access Control (RBAC)",rot13:"Attempts to obfuscate malicious content using ROT13 encoding",crescendo:"Conversational attack strategy","prompt-extraction":"Attempts to get the model to reveal its system prompt"};i(4309);var P=e=>{let{categoryStats:t}=e,i=[r.Critical,r.High,r.Medium,r.Low],a=i.reduce((e,i)=>(e[i]=Object.keys(t).reduce((e,t)=>b[t]===i?e+1:e,0),e),{});return(0,s.jsx)(f.Z,{spacing:2,direction:{xs:"column",sm:"row"},children:i.map(e=>(0,s.jsx)(o.Z,{flex:1,children:(0,s.jsx)(c.Z,{className:"severity-card card-".concat(e.toLowerCase()),children:(0,s.jsxs)(x.Z,{onClick:()=>window.location.hash="#table",children:[(0,s.jsx)(v.Z,{variant:"h6",gutterBottom:!0,children:e}),(0,s.jsx)(v.Z,{variant:"h4",color:"text.primary",children:a[e]}),(0,s.jsx)(v.Z,{variant:"body2",color:"text.secondary",children:"issues"})]})})},e))})},A=i(52481),N=i(52653),I=i(78276),S=i(35193),F=i.n(S),L=i(21629),M=e=>{let{evalDescription:t}=e,i=async()=>{let e=document.documentElement,i=await F()(e,{height:Math.max(e.scrollHeight,e.offsetHeight),windowHeight:document.documentElement.scrollHeight}),a=i.toDataURL("image/png"),r=new L.ZP("p","pt",[i.width,i.height]);r.addImage(a,"PNG",0,0,i.width,i.height);let s=t?"report_".concat(t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,""),".pdf"):"report.pdf";r.save(s)};return(0,s.jsx)(I.Z,{title:"Download report as PDF",placement:"top",children:(0,s.jsx)(N.Z,{onClick:i,sx:{mt:"4px"},"aria-label":"download report",children:(0,s.jsx)(A.Z,{})})})},H=i(93295),z=i(49050),B=i(89394),E=i(42834),D=i(26337),O=i(91797),T=i(4451),W=i(37204),U=i(94660),V=i(74810);let q={getItem:async e=>await (0,W.U2)(e)||null,setItem:async(e,t)=>{await (0,W.t8)(e,t)},removeItem:async e=>{await (0,W.IV)(e)}},_=(0,U.Ue)()((0,V.tJ)(e=>({showPercentagesOnRiskCards:!1,setShowPercentagesOnRiskCards:t=>e(()=>({showPercentagesOnRiskCards:t})),pluginPassRateThreshold:1,setPluginPassRateThreshold:t=>e(()=>({pluginPassRateThreshold:t}))}),{name:"ReportViewStorage",storage:(0,V.FL)(()=>q)}));var J=()=>{let{showPercentagesOnRiskCards:e,setShowPercentagesOnRiskCards:t,pluginPassRateThreshold:i,setPluginPassRateThreshold:a}=_(),[r,l]=n.useState(!1),o=()=>{l(!1)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I.Z,{title:"Report Settings",placement:"top",children:(0,s.jsx)(N.Z,{onClick:()=>{l(!0)},"aria-label":"settings",children:(0,s.jsx)(H.Z,{})})}),(0,s.jsxs)(B.Z,{open:r,onClose:o,fullWidth:!0,maxWidth:"sm",children:[(0,s.jsx)(O.Z,{children:"Report Settings"}),(0,s.jsxs)(D.Z,{children:[(0,s.jsx)(v.Z,{component:"div",sx:{padding:"16px 0"},children:(0,s.jsxs)("label",{style:{display:"flex",alignItems:"center",cursor:"pointer"},children:[(0,s.jsx)("input",{type:"checkbox",checked:e,onChange:e=>t(e.target.checked),style:{marginRight:"10px"}}),"Show percentages on risk cards"]})}),(0,s.jsxs)(v.Z,{component:"div",sx:{padding:"16px 0"},children:[(0,s.jsxs)("label",{children:["Plugin Pass Rate Threshold: ",(100*i).toFixed(0),"%"]}),(0,s.jsx)(v.Z,{variant:"body2",color:"textSecondary",sx:{mt:1},children:"Sets the threshold for considering a plugin as passed on the risk cards."}),(0,s.jsx)(T.ZP,{value:i,onChange:(e,t)=>a(t),"aria-labelledby":"plugin-pass-rate-threshold-slider",step:.05,marks:!0,min:0,max:1,valueLabelDisplay:"auto",valueLabelFormat:e=>"".concat((100*e).toFixed(0),"%")})]})]}),(0,s.jsx)(E.Z,{children:(0,s.jsx)(z.Z,{onClick:o,variant:"contained",color:"primary",children:"Close"})})]})]})},G=i(70740),K=i(14565),Q=i(28874),Y=i(48670),$=i(64111);i(11674);var X=e=>{let{open:t,onClose:i,category:a,failures:r,evalId:n,numPassed:l,numFailed:c}=e,d=w[a];if(!d)return console.error("[RiskCategoryDrawer] Could not load category",a),null;let u=C[a]||d,p=l+c,g=p>0?Math.round(l/p*100):0;return 0===p?(0,s.jsx)($.ZP,{anchor:"right",open:t,onClose:i,children:(0,s.jsxs)(o.Z,{sx:{width:500,p:2},className:"risk-category-drawer",children:[(0,s.jsx)(v.Z,{variant:"h6",gutterBottom:!0,children:u}),(0,s.jsx)(v.Z,{variant:"body1",sx:{mt:2,textAlign:"center"},children:"No tests have been run for this category."})]})}):(0,s.jsx)($.ZP,{anchor:"right",open:t,onClose:i,children:(0,s.jsxs)(o.Z,{sx:{width:500,p:2},className:"risk-category-drawer",children:[(0,s.jsx)(v.Z,{variant:"h6",gutterBottom:!0,children:u}),(0,s.jsxs)(o.Z,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2},children:[(0,s.jsxs)(o.Z,{sx:{textAlign:"center",flex:1},children:[(0,s.jsx)(v.Z,{variant:"h4",color:"primary",children:l.toString()}),(0,s.jsx)(v.Z,{variant:"body2",children:"Passed"})]}),(0,s.jsxs)(o.Z,{sx:{textAlign:"center",flex:1},children:[(0,s.jsx)(v.Z,{variant:"h4",children:p.toString()}),(0,s.jsx)(v.Z,{variant:"body2",children:"Total"})]}),(0,s.jsxs)(o.Z,{sx:{textAlign:"center",flex:1},children:[(0,s.jsx)(v.Z,{variant:"h4",color:g>=70?"success.main":"error.main",children:"".concat(g,"%")}),(0,s.jsx)(v.Z,{variant:"body2",children:"Pass Rate"})]})]}),(0,s.jsx)(z.Z,{variant:"contained",color:"inherit",fullWidth:!0,onClick:e=>{let t="/eval/?evalId=".concat(n,"&search=").concat(encodeURIComponent("(var=".concat(d,"|metric=").concat(d,")")));e.ctrlKey||e.metaKey?window.open(t,"_blank"):window.location.href=t},children:"View All Logs"}),r.length>0?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v.Z,{variant:"h6",className:"failed-tests-header",children:"Failed Tests"}),(0,s.jsx)(m.Z,{children:r.slice(0,5).map((e,t)=>(0,s.jsx)(h.ZP,{className:"failure-item",children:(0,s.jsxs)(o.Z,{children:[(0,s.jsx)(v.Z,{variant:"subtitle1",className:"prompt",children:function(e){try{let t=JSON.parse(e);if(Array.isArray(t)){let e=t[t.length-1];if(e.content)return e.content||"-"}}catch(e){}return e}(e.prompt)}),(0,s.jsx)(v.Z,{variant:"body2",className:"output",children:function(e){if("string"==typeof e)return e;if(Array.isArray(e)){let t=e.filter(e=>"function"===e.type);if(t.length>0)return t.map(e=>{var t,i;return"".concat(null===(t=e.function)||void 0===t?void 0:t.name,": (").concat(null===(i=e.function)||void 0===i?void 0:i.arguments,")")}).join("\n")}return JSON.stringify(e)}(e.output)})]})},t))})]}):(0,s.jsx)(o.Z,{sx:{mt:2,textAlign:"center"},children:(0,s.jsx)(v.Z,{variant:"body1",children:"All tests passed successfully"})})]})})};i(46553);var ee=e=>{var t,i;let{title:a,subtitle:r,progressValue:l,numTestsPassed:d,numTestsFailed:u,testTypes:g,evalId:f,failuresByPlugin:y}=e,{showPercentagesOnRiskCards:j,pluginPassRateThreshold:b}=_(),[Z,k]=n.useState(!1),[P,A]=n.useState(""),N=g.filter(e=>e.numPassed+e.numFailed>0);return 0===N.length?null:(0,s.jsx)(c.Z,{children:(0,s.jsxs)(x.Z,{className:"risk-card-container",children:[(0,s.jsxs)(Q.ZP,{container:!0,spacing:3,children:[(0,s.jsxs)(Q.ZP,{item:!0,xs:12,md:6,style:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center"},children:[(0,s.jsx)(v.Z,{variant:"h5",className:"risk-card-title",children:a}),(0,s.jsx)(v.Z,{variant:"subtitle1",color:"textSecondary",mb:2,children:r}),(0,s.jsx)(o.Z,{sx:{position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",width:100,height:100},children:(0,s.jsx)(Y.a,{value:l,max:100,thickness:10,arc:{startAngle:-90,endAngle:90,color:"primary.main"},text:Number.isNaN(l)?"-":"".concat(Math.round(l),"%"),sx:{width:"100%",height:"100%"}})}),(0,s.jsxs)(v.Z,{variant:"h6",className:"risk-card-issues",children:[u," failed probes"]}),(0,s.jsxs)(v.Z,{variant:"subtitle1",color:"textSecondary",className:"risk-card-tests-passed",children:[d,"/",d+u," passed"]})]}),(0,s.jsx)(Q.ZP,{item:!0,xs:6,md:4,children:(0,s.jsx)(m.Z,{dense:!0,children:N.map((e,t)=>{let i=e.numPassed/(e.numPassed+e.numFailed);return(0,s.jsx)(I.Z,{title:R[e.name],placement:"left",arrow:!0,children:(0,s.jsxs)(h.ZP,{className:"risk-card-list-item",onClick:()=>{A(e.name),k(!0)},style:{cursor:"pointer"},children:[(0,s.jsx)(p.Z,{primary:C[e.name]||w[e.name],primaryTypographyProps:{variant:"body2"}}),j?(0,s.jsx)(v.Z,{variant:"body2",className:"risk-card-percentage ".concat(i>=.8?"risk-card-percentage-high":i>=.5?"risk-card-percentage-medium":"risk-card-percentage-low"),children:"".concat(Math.round(100*i),"%")}):i>=b?(0,s.jsx)(K.Z,{className:"risk-card-icon-passed"}):(0,s.jsx)(G.Z,{className:"risk-card-icon-failed"})]})},t)})})})]}),P&&(0,s.jsx)(X,{open:Z,onClose:()=>k(!1),category:P,failures:y[P]||[],evalId:f,numPassed:(null===(t=g.find(e=>e.name===P))||void 0===t?void 0:t.numPassed)||0,numFailed:(null===(i=g.find(e=>e.name===P))||void 0===i?void 0:i.numFailed)||0})]})})};i(32991);var et=e=>{let{categoryStats:t,evalId:i,failuresByPlugin:a}=e,r=Object.keys(y).map(e=>({name:e,passed:y[e].every(e=>{var i,a;return(null===(i=t[e])||void 0===i?void 0:i.pass)===(null===(a=t[e])||void 0===a?void 0:a.total)})}));return(0,s.jsx)(f.Z,{spacing:4,children:r.map((e,r)=>{let n=e.name,l=y[n],o=l.reduce((e,i)=>{var a;return e+((null===(a=t[i])||void 0===a?void 0:a.pass)||0)},0),c=l.reduce((e,i)=>{var a;return e+((null===(a=t[i])||void 0===a?void 0:a.total)||0)},0);return(0,s.jsx)(ee,{title:e.name,subtitle:j[n],progressValue:o/c*100,numTestsPassed:o,numTestsFailed:c-o,testTypes:l.map(e=>{var i,a,r,s,n;return{name:e,categoryPassed:(null===(i=t[e])||void 0===i?void 0:i.pass)===(null===(a=t[e])||void 0===a?void 0:a.total),numPassed:(null===(r=t[e])||void 0===r?void 0:r.pass)||0,numFailed:((null===(s=t[e])||void 0===s?void 0:s.total)||0)-((null===(n=t[e])||void 0===n?void 0:n.pass)||0)}}),evalId:i,failuresByPlugin:a},r)})})},ei=i(54755),ea=i(12120),er=i(35843);i(44097);let es=(0,er.ZP)(ei.Z)(e=>{let{theme:t}=e;return{height:8,borderRadius:8,["&.".concat(ea.Z.colorPrimary)]:{backgroundColor:"light"===t.palette.mode?"#e0e0e0":"#424242"},["& .".concat(ea.Z.bar)]:{borderRadius:8,backgroundColor:"light"===t.palette.mode?"#ff1744":"#ff8a80"}}});var en=e=>{let{strategyStats:t}=e,i=Object.entries(t).sort((e,t)=>(t[1].total-t[1].pass)/t[1].total-(e[1].total-e[1].pass)/e[1].total);return(0,s.jsx)(c.Z,{className:"strategy-stats-card",children:(0,s.jsxs)(x.Z,{className:"strategy-stats-content",children:[(0,s.jsx)(v.Z,{variant:"h5",mb:2,children:"Attack success rates"}),(0,s.jsx)(o.Z,{className:"strategy-grid",children:i.map(e=>{let[t,{pass:i,total:a}]=e,r=(a-i)/a*100;return(0,s.jsxs)(o.Z,{className:"strategy-item",children:[(0,s.jsx)(v.Z,{variant:"body1",className:"strategy-name",children:C[t]||t}),(0,s.jsx)(v.Z,{variant:"body2",color:"text.secondary",className:"strategy-description",children:R[t]||""}),(0,s.jsxs)(o.Z,{display:"flex",alignItems:"center",className:"progress-container",children:[(0,s.jsx)(o.Z,{width:"100%",mr:1,children:(0,s.jsx)(es,{variant:"determinate",value:r})}),(0,s.jsx)(o.Z,{minWidth:45,className:"fail-rate",children:(0,s.jsxs)(v.Z,{variant:"body2",color:"text.secondary",children:[r.toFixed(1),"%"]})})]}),(0,s.jsxs)(v.Z,{variant:"caption",color:"text.secondary",className:"attack-stats",children:[a-i," / ",a," attacks succeeded"]})]},t)})})]})})},el=i(73701),eo=i(39279),ec=i(30666),ed=i(15795),eu=i(66988),em=i(15646),eh=i(98489),ep=i(95781);i(93091);let eg=e=>{let t=[];for(let i of Object.values(y))for(let a of i)t.push({pluginName:a,type:w[a]||a,description:R[a]||"",passRate:e[a]?(e[a].pass/e[a].total*100).toFixed(1)+"%":"N/A",passRateWithFilter:e[a]?(e[a].passWithFilter/e[a].total*100).toFixed(1)+"%":"N/A",severity:b[a]||"Unknown"});return t.sort((e,t)=>"N/A"===e.passRate?1:"N/A"===t.passRate?-1:Number.parseFloat(e.passRate)-Number.parseFloat(t.passRate))};var ef=e=>{let{evalId:t,categoryStats:i}=e,a=eg(i).filter(e=>"N/A"!==e.passRate),[r,l]=n.useState(0),[c,d]=n.useState(10),[u,m]=n.useState("asc"),[h,p]=n.useState("default"),g=e=>{let t=h===e&&"asc"===u;m(t?"desc":"asc"),p(e)};return(0,s.jsxs)(o.Z,{children:[(0,s.jsx)(v.Z,{variant:"h5",gutterBottom:!0,id:"table",children:"Vulnerabilities and Mitigations"}),(0,s.jsxs)(ed.Z,{children:[(0,s.jsxs)(el.Z,{children:[(0,s.jsx)(eu.Z,{children:(0,s.jsxs)(eh.Z,{children:[(0,s.jsx)(ec.Z,{children:"Type"}),(0,s.jsx)(ec.Z,{children:"Description"}),(0,s.jsx)(ec.Z,{children:(0,s.jsx)(ep.Z,{active:"passRate"===h,direction:"passRate"===h?u:"asc",onClick:()=>g("passRate"),children:"Pass rate"})}),(0,s.jsx)(ec.Z,{children:(0,s.jsx)(ep.Z,{active:"severity"===h,direction:"severity"===h?u:"asc",onClick:()=>g("severity"),children:"Severity"})}),(0,s.jsx)(ec.Z,{style:{minWidth:"275px"},children:"Actions"})]})}),(0,s.jsx)(eo.Z,{children:a.sort((e,t)=>{if("passRate"===h)return"N/A"===e.passRate?1:"N/A"===t.passRate?-1:"asc"===u?Number.parseFloat(e.passRate)-Number.parseFloat(t.passRate):Number.parseFloat(t.passRate)-Number.parseFloat(e.passRate);if("severity"===h){if("N/A"===e.passRate)return 1;if("N/A"===t.passRate)return -1;let i={Critical:4,High:3,Medium:2,Low:1};return"asc"===u?i[e.severity]-i[t.severity]:i[t.severity]-i[e.severity]}{let i={Critical:4,High:3,Medium:2,Low:1};return e.severity===t.severity?Number.parseFloat(e.passRate)-Number.parseFloat(t.passRate):i[t.severity]-i[e.severity]}}).slice(r*c,r*c+c).map((e,t)=>{let i="";if("N/A"!==e.passRate){let t=Number.parseFloat(e.passRate);i=t>=75?"pass-high":t>=50?"pass-medium":"pass-low"}return(0,s.jsxs)(eh.Z,{children:[(0,s.jsx)(ec.Z,{children:(0,s.jsx)("span",{style:{fontWeight:500},children:C[e.pluginName]||e.type})}),(0,s.jsx)(ec.Z,{children:e.description}),(0,s.jsxs)(ec.Z,{className:i,children:[(0,s.jsx)("strong",{children:e.passRate}),e.passRateWithFilter===e.passRate?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("br",{}),"(",e.passRateWithFilter," with mitigation)"]})]}),(0,s.jsx)(ec.Z,{className:"vuln-".concat(e.severity.toLowerCase()),children:e.severity}),(0,s.jsxs)(ec.Z,{style:{minWidth:270},children:[(0,s.jsx)(z.Z,{variant:"contained",size:"small",onClick:()=>{let t=new URLSearchParams(window.location.search),i=t.get("evalId");window.location.href="/eval/?evalId=".concat(i,"&search=").concat(encodeURIComponent("(var=".concat(e.type,"|metric=").concat(e.type,")")))},children:"View logs"}),(0,s.jsx)(I.Z,{title:"Temporarily disabled while in beta, click to contact us to enable",children:(0,s.jsx)(z.Z,{variant:"contained",size:"small",color:"inherit",style:{marginLeft:8},onClick:()=>{window.location.href="mailto:inquiries@promptfoo.dev?subject=Promptfoo%20automatic%20vulnerability%20mitigation&body=Hello%20Promptfoo%20Team,%0D%0A%0D%0AI%20am%20interested%20in%20learning%20more%20about%20the%20automatic%20vulnerability%20mitigation%20beta.%20Please%20provide%20me%20with%20more%20details.%0D%0A%0D%0A"},children:"Apply mitigation"})})]})]},t)})})]}),a.length>c&&(0,s.jsx)(em.Z,{rowsPerPageOptions:[10,25,50],component:"div",count:a.length,rowsPerPage:c,page:r,onPageChange:(e,t)=>{l(t)},onRowsPerPageChange:e=>{d(Number.parseInt(e.target.value,10)),l(0)}})]})]})};i(67667);var ev=()=>{let[e,t]=n.useState(null),[i,a]=n.useState(null),[r,x]=n.useState(0),[y,j]=n.useState(!1),b=n.useMemo(()=>{let e={};return null==i||i.results.results.forEach(t=>{var i,a,r;let s=k[t.vars.harmCategory]||k[Object.keys(t.namedScores)[0]];if(!s){console.warn("Could not get failures for plugin ".concat(s));return}!s||(null===(i=t.gradingResult)||void 0===i?void 0:i.pass)||(e[s]||(e[s]=[]),e[s].push({prompt:(null===(a=t.vars.query)||void 0===a?void 0:a.toString())||t.prompt.raw,output:null===(r=t.response)||void 0===r?void 0:r.output}))}),e},[i]);if(n.useEffect(()=>{let e=async e=>{let t=await fetch("".concat(await (0,l.b)(),"/api/results/").concat(e),{cache:"no-store"}),i=await t.json();a(i.data)},i=new URLSearchParams(window.location.search);if(!i)return;let r=i.get("evalId");r&&(t(r),e(r))},[]),n.useEffect(()=>{document.title="Report: ".concat((null==i?void 0:i.config.description)||e||"Red Team"," | promptfoo")},[i,e]),!i||!e)return(0,s.jsx)(o.Z,{sx:{width:"100%",textAlign:"center"},children:"Loading..."});let Z=i.results.table.head.prompts,w=Z[r],C=i.results.table.body,R=i.results.results.reduce((e,t)=>{var i,a,r,s,n,l,o,c;let d=t.vars.harmCategory,u=(null===(a=t.gradingResult)||void 0===a?void 0:null===(i=a.componentResults)||void 0===i?void 0:i.map(e=>{var t;return null===(t=e.assertion)||void 0===t?void 0:t.metric}))||[],m=[d,...u].filter(e=>e);for(let i of m){if("string"!=typeof i)continue;let a=k[i.split("/")[0]];if(!a){console.log("Unknown harm category:",i);break}let d=null===(s=t.gradingResult)||void 0===s?void 0:null===(r=s.componentResults)||void 0===r?void 0:r.some(e=>{var t;let i=(null===(t=e.assertion)||void 0===t?void 0:t.type)==="moderation",a=e.pass;return i&&a}),u=null===(l=t.gradingResult)||void 0===l?void 0:null===(n=l.componentResults)||void 0===n?void 0:n.some(e=>{var t,i;let a=(null===(t=e.assertion)||void 0===t?void 0:t.type)==="llm-rubric"||(null===(i=e.assertion)||void 0===i?void 0:i.type.startsWith("promptfoo:redteam")),r=e.pass;return a&&r}),m=null===(c=t.gradingResult)||void 0===c?void 0:null===(o=c.componentResults)||void 0===o?void 0:o.some(e=>{var t;let i=(null===(t=e.assertion)||void 0===t?void 0:t.type)==="human",a=e.pass;return i&&a});e[a]=e[a]||{pass:0,total:0,passWithFilter:0},e[a].total++,u||m?(e[a].pass++,e[a].passWithFilter++):!d&&e[a].passWithFilter++}return e},{}),A=i.results.results.reduce((e,t)=>{var i,a,r,s;let n=(null===(a=t.gradingResult)||void 0===a?void 0:null===(i=a.componentResults)||void 0===i?void 0:i.map(e=>{var t;return null===(t=e.assertion)||void 0===t?void 0:t.metric}))||[];for(let i of n){if("string"!=typeof i)continue;let a=function(e){let t=e.split("/")[1];if(t){if("Iterative"===t)return"jailbreak";if("IterativeTree"===t)return"jailbreak:tree";if("Crescendo"===t)return"crescendo";if("Injection"===t)return"prompt-injection"}return null}(i);a||(a="basic"),e[a]||(e[a]={pass:0,total:0}),e[a].total++;let n=null===(s=t.gradingResult)||void 0===s?void 0:null===(r=s.componentResults)||void 0===r?void 0:r.some(e=>{var t;return(null===(t=e.assertion)||void 0===t?void 0:t.metric)===i&&e.pass});n&&e[a].pass++}return e},{}),N=()=>{Z.length>1&&j(!0)},I=e=>{x(e),j(!1)};return(0,s.jsxs)(u.Z,{children:[(0,s.jsxs)(f.Z,{spacing:4,pb:8,pt:2,children:[(0,s.jsxs)(c.Z,{className:"report-header",sx:{position:"relative"},children:[(0,s.jsxs)(o.Z,{sx:{position:"absolute",top:8,right:8,display:"flex"},children:[(0,s.jsx)(M,{evalDescription:i.config.description||e}),(0,s.jsx)(J,{})]}),(0,s.jsxs)(v.Z,{variant:"h4",children:[(0,s.jsx)("strong",{children:"LLM Risk Assessment"}),i.config.description&&": ".concat(i.config.description)]}),(0,s.jsx)(v.Z,{variant:"subtitle1",mb:2,children:new Date(i.createdAt).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}),(0,s.jsxs)(o.Z,{className:"report-details",children:[(0,s.jsx)(d.Z,{size:"small",label:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{children:"Model:"})," ",w.provider]}),onClick:N,style:{cursor:Z.length>1?"pointer":"default"}}),(0,s.jsx)(d.Z,{size:"small",label:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{children:"Dataset:"})," ",C.length," probes"]})}),(0,s.jsx)(d.Z,{size:"small",label:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("strong",{children:"Prompt:"}),' "',w.raw.length>40?"".concat(w.raw.substring(0,40),"..."):w.raw,'"']}),onClick:N,style:{cursor:Z.length>1?"pointer":"default"}})]})]}),(0,s.jsx)(P,{categoryStats:R}),(0,s.jsx)(en,{strategyStats:A}),(0,s.jsx)(et,{categoryStats:R,evalId:e,failuresByPlugin:b}),(0,s.jsx)(ef,{evalId:e,categoryStats:R})]}),(0,s.jsx)(g.Z,{open:y,onClose:()=>j(!1),"aria-labelledby":"prompt-modal-title",sx:{"& .MuiModal-root":{display:"flex",alignItems:"center",justifyContent:"center"},"& .MuiBox-root":{width:"80%",maxWidth:800,maxHeight:"90vh",overflowY:"auto"}},children:(0,s.jsxs)(o.Z,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:400,bgcolor:"background.paper",boxShadow:24,p:4},children:[(0,s.jsx)(v.Z,{id:"prompt-modal-title",variant:"h6",component:"h2",gutterBottom:!0,children:"View results for..."}),(0,s.jsx)(m.Z,{children:Z.map((e,t)=>(0,s.jsx)(h.ZP,{button:!0,onClick:()=>I(t),selected:t===r,children:(0,s.jsx)(p.Z,{primary:"".concat(e.provider),secondary:e.raw.length>100?"".concat(e.raw.substring(0,100),"..."):e.raw})},t))})]})})]})}},4309:function(){},67667:function(){},46553:function(){},32991:function(){},11674:function(){},44097:function(){},93091:function(){}},function(e){e.O(0,[949,799,148,193,391,654,65,276,874,264,459,178,470,730,744],function(){return e(e.s=58004)}),_N_E=e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){"use strict";var e,t,n,r,o,u,i,c,a,f={},d={};function l(e){var t=d[e];if(void 0!==t)return t.exports;var n=d[e]={exports:{}},r=!0;try{f[e].call(n.exports,n,n.exports,l),r=!1}finally{r&&delete d[e]}return n.exports}l.m=f,e=[],l.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u<e.length;u++){for(var n=e[u][0],r=e[u][1],o=e[u][2],c=!0,a=0;a<n.length;a++)i>=o&&Object.keys(l.O).every(function(e){return l.O[e](n[a])})?n.splice(a--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var f=r();void 0!==f&&(t=f)}}return t},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(e,r){if(1&r&&(e=this(e)),8&r||"object"==typeof e&&e&&(4&r&&e.__esModule||16&r&&"function"==typeof e.then))return e;var o=Object.create(null);l.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var i=2&r&&e;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(function(t){u[t]=function(){return e[t]}});return u.default=function(){return e},l.d(o,u),o},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce(function(t,n){return l.f[n](e,t),t},[]))},l.u=function(e){return 631===e?"static/chunks/631-d005608c3710a99c.js":"static/chunks/"+(17===e?"fd57813c":e)+"."+({15:"306496fdcef5f880",17:"8f0e3582250c76c5",407:"42b5daf65ab5dde9",840:"58dde6630f088da4",887:"028187fb318c3e59"})[e]+".js"},l.miniCssF=function(e){return"static/css/"+({11:"87b5e6e04efd27e5",185:"de0307797e31a3e6",413:"edcd6f0b6c902fde",420:"
|
|
1
|
+
!function(){"use strict";var e,t,n,r,o,u,i,c,a,f={},d={};function l(e){var t=d[e];if(void 0!==t)return t.exports;var n=d[e]={exports:{}},r=!0;try{f[e].call(n.exports,n,n.exports,l),r=!1}finally{r&&delete d[e]}return n.exports}l.m=f,e=[],l.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u<e.length;u++){for(var n=e[u][0],r=e[u][1],o=e[u][2],c=!0,a=0;a<n.length;a++)i>=o&&Object.keys(l.O).every(function(e){return l.O[e](n[a])})?n.splice(a--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var f=r();void 0!==f&&(t=f)}}return t},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(e,r){if(1&r&&(e=this(e)),8&r||"object"==typeof e&&e&&(4&r&&e.__esModule||16&r&&"function"==typeof e.then))return e;var o=Object.create(null);l.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var i=2&r&&e;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(function(t){u[t]=function(){return e[t]}});return u.default=function(){return e},l.d(o,u),o},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce(function(t,n){return l.f[n](e,t),t},[]))},l.u=function(e){return 631===e?"static/chunks/631-d005608c3710a99c.js":"static/chunks/"+(17===e?"fd57813c":e)+"."+({15:"306496fdcef5f880",17:"8f0e3582250c76c5",407:"42b5daf65ab5dde9",840:"58dde6630f088da4",887:"028187fb318c3e59"})[e]+".js"},l.miniCssF=function(e){return"static/css/"+({11:"87b5e6e04efd27e5",185:"de0307797e31a3e6",413:"edcd6f0b6c902fde",420:"ed73533d059fd179",421:"eb523daddb89dfc1",466:"48d388184a2f4ce3",931:"8119d8bd13a8adab"})[e]+".css"},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="_N_E:",l.l=function(e,t,n,u){if(r[e]){r[e].push(t);return}if(void 0!==n)for(var i,c,a=document.getElementsByTagName("script"),f=0;f<a.length;f++){var d=a[f];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==o+n){i=d;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",o+n),i.src=l.tu(e)),r[e]=[t];var s=function(t,n){i.onerror=i.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(n)}),t)return t(n)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=s.bind(null,i.onerror),i.onload=s.bind(null,i.onload),c&&document.head.appendChild(i)},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.tt=function(){return void 0===u&&(u={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(u=trustedTypes.createPolicy("nextjs#bundler",u))),u},l.tu=function(e){return l.tt().createScriptURL(e)},l.p="/_next/",i={272:0},l.f.j=function(e,t){var n=l.o(i,e)?i[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if(272!=e){var r=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=r);var o=l.p+l.u(e),u=Error();l.l(o,function(t){if(l.o(i,e)&&(0!==(n=i[e])&&(i[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,n[1](u)}},"chunk-"+e,e)}else i[e]=0}},l.O.j=function(e){return 0===i[e]},c=function(e,t){var n,r,o=t[0],u=t[1],c=t[2],a=0;if(o.some(function(e){return 0!==i[e]})){for(n in u)l.o(u,n)&&(l.m[n]=u[n]);if(c)var f=c(l)}for(e&&e(t);a<o.length;a++)r=o[a],l.o(i,r)&&i[r]&&i[r][0](),i[r]=0;return l.O(f)},(a=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(c.bind(null,0)),a.push=c.bind(null,a.push.bind(a))}();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.severity-card{transition:transform .3s ease-in-out,box-shadow .3s ease-in-out}.severity-card:hover{transform:translateY(-5px);box-shadow:0 8px 16px rgba(0,0,0,.1)}[data-theme=dark] .severity-card:hover{box-shadow:none}.card-critical{border-left:5px solid #ff1744}.card-high{border-left:5px solid #ff9100}.card-medium{border-left:5px solid #ffc400}.card-low{border-left:5px solid #00e676}.risk-category-drawer .MuiListItem-root.failure-item{border:1px solid #e0e0e0;border-radius:8px;margin-bottom:16px;padding:16px;transition:all .3s ease;box-shadow:0 2px 4px rgba(0,0,0,.05)}.risk-category-drawer .MuiListItem-root.failure-item:hover{border-color:#bdbdbd;box-shadow:0 4px 8px rgba(0,0,0,.1)}.risk-category-drawer .prompt{font-weight:500;margin-bottom:8px}.risk-category-drawer .output{color:#555;white-space:pre-wrap;word-break:break-word;max-height:100px;overflow-y:auto;background-color:#f5f5f5;padding:8px;border-radius:4px}.risk-category-drawer .failed-tests-header{margin-top:8px;margin-bottom:8px;font-weight:500;border-top:2px solid #e0e0e0;padding-top:1.5rem}.risk-card-container{padding-top:3rem;padding-bottom:3rem}.risk-card-title{font-weight:700}.risk-card-progress{margin-bottom:1rem}.risk-card-issues{color:red}.risk-card-list-item{padding:0;transition:background-color .3s,box-shadow .3s}.risk-card-list-item:hover{background-color:#f0f8ff;box-shadow:0 0 0 1px #add8e6;border-radius:4px}[data-theme=dark] .risk-card-list-item:hover{background-color:#2a2a2a;box-shadow:0 0 0 1px #555;border-radius:4px}.risk-card-icon-passed{color:green;font-size:16px}.risk-card-icon-failed{color:red;font-size:16px}.risk-card-icon-no-tests{color:#888;font-size:16px}.risk-card-percentage{margin-left:8px;font-weight:700}.risk-card-percentage-high{color:#4caf50}.risk-card-percentage-medium{color:#ff9800}.risk-card-percentage-low{color:#f44336}[data-theme=dark] .risk-card-percentage-high{color:#81c784}[data-theme=dark] .risk-card-percentage-medium{color:#ffb74d}[data-theme=dark] .risk-card-percentage-low{color:#e57373}.strategy-stats-card{border-radius:.75rem}div.strategy-stats-content{padding:2rem}.strategy-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:1.5rem;gap:1.5rem}.strategy-item{border:1px solid #eee;border-radius:.5rem;padding:1rem;height:100%}[data-theme=dark] .strategy-item{border:1px solid #424242}.strategy-name{font-weight:500;margin-bottom:.25rem}.strategy-description{margin-bottom:.75rem}.progress-container{margin-bottom:.5rem}.attack-stats,.fail-rate{text-align:right}.attack-stats{display:block}.pass-high{color:green!important}.pass-medium{color:#cb8503!important}.pass-low,.vuln-critical{color:red!important}.vuln-critical{font-weight:700!important}.vuln-high{color:red!important}.vuln-medium{color:#cb8503!important}.vuln-low{color:green!important}.report-header{padding:24px;border-radius:12px;box-shadow:0 4px 6px rgba(0,0,0,.1)}[data-theme=dark] .report-header{box-shadow:none}.report-details{display:flex;flex-wrap:wrap;gap:12px}.report-details .MuiChip-root{font-size:.875rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><link rel="preload" as="font" href="/_next/static/media/a34f9d1faa5f3315-s.p.woff2" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/de0307797e31a3e6.css" data-precedence="next"/><link rel="preload" href="/_next/static/chunks/webpack-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><link rel="preload" as="font" href="/_next/static/media/a34f9d1faa5f3315-s.p.woff2" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/de0307797e31a3e6.css" data-precedence="next"/><link rel="preload" href="/_next/static/chunks/webpack-2bde9ee952171572.js" as="script"/><link rel="preload" href="/_next/static/chunks/b6261da7-e9d81a4364ddd0c0.js" as="script"/><link rel="preload" href="/_next/static/chunks/730-3eb7255cd813a727.js" as="script"/><link rel="preload" href="/_next/static/chunks/main-app-cf76b7c55faa5c9b.js" as="script"/><title>promptfoo</title><meta name="description" content="LLM testing and evaluation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta property="og:image" content="https://www.promptfoo.dev/img/thumbnail.png"/><meta name="twitter:card" content="summary"/><meta name="twitter:image" content="https://www.promptfoo.dev/img/thumbnail.png"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script></head><body class="__className_85e967"><script src="/_next/static/chunks/webpack-2bde9ee952171572.js" async=""></script><script src="/_next/static/chunks/b6261da7-e9d81a4364ddd0c0.js" async=""></script><script src="/_next/static/chunks/730-3eb7255cd813a727.js" async=""></script><script src="/_next/static/chunks/main-app-cf76b7c55faa5c9b.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/a34f9d1faa5f3315-s.p.woff2\",{\"as\":\"font\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/de0307797e31a3e6.css\",{\"as\":\"style\"}]\n0:\"$L3\"\n"])</script><script>self.__next_f.push([1,"4:I{\"id\":83507,\"chunks\":[\"272:static/chunks/webpack-2bde9ee952171572.js\",\"470:static/chunks/b6261da7-e9d81a4364ddd0c0.js\",\"730:static/chunks/730-3eb7255cd813a727.js\"],\"name\":\"default\",\"async\":false}\n6:I{\"id\":6020,\"chunks\":[\"272:static/chunks/webpack-2bde9ee952171572.js\",\"470:static/chunks/b6261da7-e9d81a4364ddd0c0.js\",\"730:static/chunks/730-3eb7255cd813a727.js\"],\"name\":\"\",\"async\":false}\n7:I{\"id\":5071,\"chunks\":[\"148:static/chunks/148-f6a1a312ab2d360a.js\",\"640:static/chunks/640-0f757e2fe135173d.js\",\"193:stati"])</script><script>self.__next_f.push([1,"c/chunks/193-fbb29b23a7b3df82.js\",\"65:static/chunks/65-d3958feb29430005.js\",\"132:static/chunks/132-d6bea93785831786.js\",\"415:static/chunks/415-f4cc6df99e1d251e.js\",\"185:static/chunks/app/layout-389d33c82e892815.js\"],\"name\":\"PageShell\",\"async\":false}\n8:I{\"id\":27883,\"chunks\":[\"272:static/chunks/webpack-2bde9ee952171572.js\",\"470:static/chunks/b6261da7-e9d81a4364ddd0c0.js\",\"730:static/chunks/730-3eb7255cd813a727.js\"],\"name\":\"default\",\"async\":false}\n9:I{\"id\":46785,\"chunks\":[\"272:static/chunks/webpack-2bde9ee9521"])</script><script>self.__next_f.push([1,"71572.js\",\"470:static/chunks/b6261da7-e9d81a4364ddd0c0.js\",\"730:static/chunks/730-3eb7255cd813a727.js\"],\"name\":\"default\",\"async\":false}\nb:I{\"id\":92030,\"chunks\":[\"148:static/chunks/148-f6a1a312ab2d360a.js\",\"640:static/chunks/640-0f757e2fe135173d.js\",\"193:static/chunks/193-fbb29b23a7b3df82.js\",\"654:static/chunks/654-7ef84f69b226e6ab.js\",\"975:static/chunks/975-db84f98b8dd028ab.js\",\"132:static/chunks/132-d6bea93785831786.js\",\"716:static/chunks/app/auth/login/page-252a14bf379f74d0.js\"],\"name\":\"\",\"async\":false}\n"])</script><script>self.__next_f.push([1,"3:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/de0307797e31a3e6.css\",\"precedence\":\"next\"}]],[\"$\",\"$L4\",null,{\"buildId\":\"-GVTgHf1ZK9GxOyhXqerX\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/auth/login/\",\"initialTree\":[\"\",{\"children\":[\"auth\",{\"children\":[\"login\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialHead\":\"$L5\",\"globalErrorComponent\":\"$6\",\"children\":[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_85e967\",\"children\":[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"hasLoading\":false,\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":\"$undefined\",\"childProp\":{\"current\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"auth\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"hasLoading\":false,\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"childProp\":{\"current\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"auth\",\"children\",\"login\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"hasLoading\":false,\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"childProp\":{\"current\":[\"$La\",[\"$\",\"$Lb\",null,{}],null],\"segment\":\"__PAGE__\"},\"styles\":[]}],\"segment\":\"login\"},\"styles\":[]}],\"segment\":\"auth\"},\"styles\":[]}]}]}]}],null]}]]\n"])</script><script>self.__next_f.push([1,"5:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"1\",{\"children\":\"promptfoo\"}],[\"$\",\"meta\",\"2\",{\"name\":\"description\",\"content\":\"LLM testing and evaluation\"}],[\"$\",\"meta\",\"3\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:image\",\"content\":\"https://www.promptfoo.dev/img/thumbnail.png\"}],[\"$\",\"meta\",\"5\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"6\",{\"name\":\"twitter:image\",\"content\":\"https://www.promptfoo.dev/img/thumbnail.png\"}],[\"$\",\"meta\",\"7\",{\"name\":\"next-size-adjust\"}]]\n"])</script><script>self.__next_f.push([1,"a:null\n"])</script></body></html>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2",{"as":"font","type":"font/woff2"}]
|
|
2
2
|
2:HL["/_next/static/css/de0307797e31a3e6.css",{"as":"style"}]
|
|
3
|
-
0:["
|
|
4
|
-
5:I{"id":5071,"chunks":["148:static/chunks/148-f6a1a312ab2d360a.js","640:static/chunks/640-0f757e2fe135173d.js","193:static/chunks/193-fbb29b23a7b3df82.js","65:static/chunks/65-d3958feb29430005.js","132:static/chunks/132-d6bea93785831786.js","415:static/chunks/415-f4cc6df99e1d251e.js","185:static/chunks/app/layout-
|
|
5
|
-
6:I{"id":27883,"chunks":["272:static/chunks/webpack-
|
|
6
|
-
7:I{"id":46785,"chunks":["272:static/chunks/webpack-
|
|
3
|
+
0:["-GVTgHf1ZK9GxOyhXqerX",[[["",{"children":["auth",{"children":["login",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/de0307797e31a3e6.css","precedence":"next"}]],"$L4"]]]]
|
|
4
|
+
5:I{"id":5071,"chunks":["148:static/chunks/148-f6a1a312ab2d360a.js","640:static/chunks/640-0f757e2fe135173d.js","193:static/chunks/193-fbb29b23a7b3df82.js","65:static/chunks/65-d3958feb29430005.js","132:static/chunks/132-d6bea93785831786.js","415:static/chunks/415-f4cc6df99e1d251e.js","185:static/chunks/app/layout-389d33c82e892815.js"],"name":"PageShell","async":false}
|
|
5
|
+
6:I{"id":27883,"chunks":["272:static/chunks/webpack-2bde9ee952171572.js","470:static/chunks/b6261da7-e9d81a4364ddd0c0.js","730:static/chunks/730-3eb7255cd813a727.js"],"name":"default","async":false}
|
|
6
|
+
7:I{"id":46785,"chunks":["272:static/chunks/webpack-2bde9ee952171572.js","470:static/chunks/b6261da7-e9d81a4364ddd0c0.js","730:static/chunks/730-3eb7255cd813a727.js"],"name":"default","async":false}
|
|
7
7
|
9:I{"id":92030,"chunks":["148:static/chunks/148-f6a1a312ab2d360a.js","640:static/chunks/640-0f757e2fe135173d.js","193:static/chunks/193-fbb29b23a7b3df82.js","654:static/chunks/654-7ef84f69b226e6ab.js","975:static/chunks/975-db84f98b8dd028ab.js","132:static/chunks/132-d6bea93785831786.js","716:static/chunks/app/auth/login/page-252a14bf379f74d0.js"],"name":"","async":false}
|
|
8
8
|
3:[null,["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_85e967","children":["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L7",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":"$undefined","childProp":{"current":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L7",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children","login","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L7",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L8",["$","$L9",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"login"},"styles":[]}],"segment":"auth"},"styles":[]}]}]}]}],null]
|
|
9
9
|
4:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"promptfoo"}],["$","meta","2",{"name":"description","content":"LLM testing and evaluation"}],["$","meta","3",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","4",{"property":"og:image","content":"https://www.promptfoo.dev/img/thumbnail.png"}],["$","meta","5",{"name":"twitter:card","content":"summary"}],["$","meta","6",{"name":"twitter:image","content":"https://www.promptfoo.dev/img/thumbnail.png"}],["$","meta","7",{"name":"next-size-adjust"}]]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><link rel="preload" as="font" href="/_next/static/media/a34f9d1faa5f3315-s.p.woff2" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/de0307797e31a3e6.css" data-precedence="next"/><link rel="preload" href="/_next/static/chunks/webpack-
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><link rel="preload" as="font" href="/_next/static/media/a34f9d1faa5f3315-s.p.woff2" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/de0307797e31a3e6.css" data-precedence="next"/><link rel="preload" href="/_next/static/chunks/webpack-2bde9ee952171572.js" as="script"/><link rel="preload" href="/_next/static/chunks/b6261da7-e9d81a4364ddd0c0.js" as="script"/><link rel="preload" href="/_next/static/chunks/730-3eb7255cd813a727.js" as="script"/><link rel="preload" href="/_next/static/chunks/main-app-cf76b7c55faa5c9b.js" as="script"/><title>promptfoo</title><meta name="description" content="LLM testing and evaluation"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta property="og:image" content="https://www.promptfoo.dev/img/thumbnail.png"/><meta name="twitter:card" content="summary"/><meta name="twitter:image" content="https://www.promptfoo.dev/img/thumbnail.png"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script></head><body class="__className_85e967"><script src="/_next/static/chunks/webpack-2bde9ee952171572.js" async=""></script><script src="/_next/static/chunks/b6261da7-e9d81a4364ddd0c0.js" async=""></script><script src="/_next/static/chunks/730-3eb7255cd813a727.js" async=""></script><script src="/_next/static/chunks/main-app-cf76b7c55faa5c9b.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/a34f9d1faa5f3315-s.p.woff2\",{\"as\":\"font\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/de0307797e31a3e6.css\",{\"as\":\"style\"}]\n0:\"$L3\"\n"])</script><script>self.__next_f.push([1,"4:I{\"id\":83507,\"chunks\":[\"272:static/chunks/webpack-2bde9ee952171572.js\",\"470:static/chunks/b6261da7-e9d81a4364ddd0c0.js\",\"730:static/chunks/730-3eb7255cd813a727.js\"],\"name\":\"default\",\"async\":false}\n6:I{\"id\":6020,\"chunks\":[\"272:static/chunks/webpack-2bde9ee952171572.js\",\"470:static/chunks/b6261da7-e9d81a4364ddd0c0.js\",\"730:static/chunks/730-3eb7255cd813a727.js\"],\"name\":\"\",\"async\":false}\n7:I{\"id\":5071,\"chunks\":[\"148:static/chunks/148-f6a1a312ab2d360a.js\",\"640:static/chunks/640-0f757e2fe135173d.js\",\"193:stati"])</script><script>self.__next_f.push([1,"c/chunks/193-fbb29b23a7b3df82.js\",\"65:static/chunks/65-d3958feb29430005.js\",\"132:static/chunks/132-d6bea93785831786.js\",\"415:static/chunks/415-f4cc6df99e1d251e.js\",\"185:static/chunks/app/layout-389d33c82e892815.js\"],\"name\":\"PageShell\",\"async\":false}\n8:I{\"id\":27883,\"chunks\":[\"272:static/chunks/webpack-2bde9ee952171572.js\",\"470:static/chunks/b6261da7-e9d81a4364ddd0c0.js\",\"730:static/chunks/730-3eb7255cd813a727.js\"],\"name\":\"default\",\"async\":false}\n9:I{\"id\":46785,\"chunks\":[\"272:static/chunks/webpack-2bde9ee9521"])</script><script>self.__next_f.push([1,"71572.js\",\"470:static/chunks/b6261da7-e9d81a4364ddd0c0.js\",\"730:static/chunks/730-3eb7255cd813a727.js\"],\"name\":\"default\",\"async\":false}\nb:I{\"id\":78567,\"chunks\":[\"148:static/chunks/148-f6a1a312ab2d360a.js\",\"640:static/chunks/640-0f757e2fe135173d.js\",\"193:static/chunks/193-fbb29b23a7b3df82.js\",\"654:static/chunks/654-7ef84f69b226e6ab.js\",\"975:static/chunks/975-db84f98b8dd028ab.js\",\"132:static/chunks/132-d6bea93785831786.js\",\"271:static/chunks/app/auth/signup/page-f98e3b4d3b58f5f5.js\"],\"name\":\"\",\"async\":false}\n"])</script><script>self.__next_f.push([1,"3:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/de0307797e31a3e6.css\",\"precedence\":\"next\"}]],[\"$\",\"$L4\",null,{\"buildId\":\"-GVTgHf1ZK9GxOyhXqerX\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/auth/signup/\",\"initialTree\":[\"\",{\"children\":[\"auth\",{\"children\":[\"signup\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialHead\":\"$L5\",\"globalErrorComponent\":\"$6\",\"children\":[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_85e967\",\"children\":[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"hasLoading\":false,\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":\"$undefined\",\"childProp\":{\"current\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"auth\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"hasLoading\":false,\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"childProp\":{\"current\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"auth\",\"children\",\"signup\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"hasLoading\":false,\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"childProp\":{\"current\":[\"$La\",[\"$\",\"$Lb\",null,{}],null],\"segment\":\"__PAGE__\"},\"styles\":[]}],\"segment\":\"signup\"},\"styles\":[]}],\"segment\":\"auth\"},\"styles\":[]}]}]}]}],null]}]]\n"])</script><script>self.__next_f.push([1,"5:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"1\",{\"children\":\"promptfoo\"}],[\"$\",\"meta\",\"2\",{\"name\":\"description\",\"content\":\"LLM testing and evaluation\"}],[\"$\",\"meta\",\"3\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"4\",{\"property\":\"og:image\",\"content\":\"https://www.promptfoo.dev/img/thumbnail.png\"}],[\"$\",\"meta\",\"5\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"6\",{\"name\":\"twitter:image\",\"content\":\"https://www.promptfoo.dev/img/thumbnail.png\"}],[\"$\",\"meta\",\"7\",{\"name\":\"next-size-adjust\"}]]\n"])</script><script>self.__next_f.push([1,"a:null\n"])</script></body></html>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
1:HL["/_next/static/media/a34f9d1faa5f3315-s.p.woff2",{"as":"font","type":"font/woff2"}]
|
|
2
2
|
2:HL["/_next/static/css/de0307797e31a3e6.css",{"as":"style"}]
|
|
3
|
-
0:["
|
|
4
|
-
5:I{"id":5071,"chunks":["148:static/chunks/148-f6a1a312ab2d360a.js","640:static/chunks/640-0f757e2fe135173d.js","193:static/chunks/193-fbb29b23a7b3df82.js","65:static/chunks/65-d3958feb29430005.js","132:static/chunks/132-d6bea93785831786.js","415:static/chunks/415-f4cc6df99e1d251e.js","185:static/chunks/app/layout-
|
|
5
|
-
6:I{"id":27883,"chunks":["272:static/chunks/webpack-
|
|
6
|
-
7:I{"id":46785,"chunks":["272:static/chunks/webpack-
|
|
3
|
+
0:["-GVTgHf1ZK9GxOyhXqerX",[[["",{"children":["auth",{"children":["signup",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L3",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/de0307797e31a3e6.css","precedence":"next"}]],"$L4"]]]]
|
|
4
|
+
5:I{"id":5071,"chunks":["148:static/chunks/148-f6a1a312ab2d360a.js","640:static/chunks/640-0f757e2fe135173d.js","193:static/chunks/193-fbb29b23a7b3df82.js","65:static/chunks/65-d3958feb29430005.js","132:static/chunks/132-d6bea93785831786.js","415:static/chunks/415-f4cc6df99e1d251e.js","185:static/chunks/app/layout-389d33c82e892815.js"],"name":"PageShell","async":false}
|
|
5
|
+
6:I{"id":27883,"chunks":["272:static/chunks/webpack-2bde9ee952171572.js","470:static/chunks/b6261da7-e9d81a4364ddd0c0.js","730:static/chunks/730-3eb7255cd813a727.js"],"name":"default","async":false}
|
|
6
|
+
7:I{"id":46785,"chunks":["272:static/chunks/webpack-2bde9ee952171572.js","470:static/chunks/b6261da7-e9d81a4364ddd0c0.js","730:static/chunks/730-3eb7255cd813a727.js"],"name":"default","async":false}
|
|
7
7
|
9:I{"id":78567,"chunks":["148:static/chunks/148-f6a1a312ab2d360a.js","640:static/chunks/640-0f757e2fe135173d.js","193:static/chunks/193-fbb29b23a7b3df82.js","654:static/chunks/654-7ef84f69b226e6ab.js","975:static/chunks/975-db84f98b8dd028ab.js","132:static/chunks/132-d6bea93785831786.js","271:static/chunks/app/auth/signup/page-f98e3b4d3b58f5f5.js"],"name":"","async":false}
|
|
8
8
|
3:[null,["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_85e967","children":["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L7",null,{}],"templateStyles":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":"$undefined","childProp":{"current":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L7",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L6",null,{"parallelRouterKey":"children","segmentPath":["children","auth","children","signup","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L7",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$L8",["$","$L9",null,{}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"signup"},"styles":[]}],"segment":"auth"},"styles":[]}]}]}]}],null]
|
|
9
9
|
4:[["$","meta","0",{"charSet":"utf-8"}],["$","title","1",{"children":"promptfoo"}],["$","meta","2",{"name":"description","content":"LLM testing and evaluation"}],["$","meta","3",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","4",{"property":"og:image","content":"https://www.promptfoo.dev/img/thumbnail.png"}],["$","meta","5",{"name":"twitter:card","content":"summary"}],["$","meta","6",{"name":"twitter:image","content":"https://www.promptfoo.dev/img/thumbnail.png"}],["$","meta","7",{"name":"next-size-adjust"}]]
|