hackagent-webui 0.5.26.dev65__py3-none-any.whl → 0.6.0.dev67__py3-none-any.whl

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.
Files changed (78) hide show
  1. hackagent_webui/__init__.py +1 -1
  2. hackagent_webui/static/404.html +13 -1
  3. hackagent_webui/static/VERSION +1 -1
  4. hackagent_webui/static/_next/static/LQR5ZJKBJglYlSbR2x_0w/_buildManifest.js +1 -0
  5. hackagent_webui/static/_next/static/chunks/103-7d6c873540c82114.js +1 -0
  6. hackagent_webui/static/_next/static/chunks/160-21f7abf9e76923d9.js +1 -0
  7. hackagent_webui/static/_next/static/chunks/187-849543277a4f9394.js +1 -0
  8. hackagent_webui/static/_next/static/chunks/272-3caece2aead52578.js +1 -0
  9. hackagent_webui/static/_next/static/chunks/389-5c1851e19b276a7a.js +1 -0
  10. hackagent_webui/static/_next/static/chunks/520-47765c33e252fada.js +1 -0
  11. hackagent_webui/static/_next/static/chunks/{352-9d98107ec1d2a19b.js → 604-42876ab36dfd0b3b.js} +2 -2
  12. hackagent_webui/static/_next/static/chunks/{634-67a19c764fc7a25a.js → 634-af3c4a776b062843.js} +1 -1
  13. hackagent_webui/static/_next/static/chunks/688-74942a135eec7c34.js +1 -0
  14. hackagent_webui/static/_next/static/chunks/747-aa8aa91116de6e71.js +1 -0
  15. hackagent_webui/static/_next/static/chunks/749-aa275fbe25b32d24.js +1 -0
  16. hackagent_webui/static/_next/static/chunks/8-a96ecba12d5b2a4a.js +1 -0
  17. hackagent_webui/static/_next/static/chunks/877.05f7f1bfa707d114.js +1 -0
  18. hackagent_webui/static/_next/static/chunks/888-2e968371d359a872.js +1 -0
  19. hackagent_webui/static/_next/static/chunks/970-bc5945a148c7d8b8.js +1 -0
  20. hackagent_webui/static/_next/static/chunks/app/_not-found/page-5e0f704047919d17.js +1 -0
  21. hackagent_webui/static/_next/static/chunks/app/agents/page-3c5aa0f73ce025a1.js +1 -0
  22. hackagent_webui/static/_next/static/chunks/app/api-keys/page-5e0f704047919d17.js +1 -0
  23. hackagent_webui/static/_next/static/chunks/app/attacks/page-374744a9cfcae586.js +1 -0
  24. hackagent_webui/static/_next/static/chunks/app/credentials/page-e8ee2f975dfadf78.js +1 -0
  25. hackagent_webui/static/_next/static/chunks/app/layout-2d3da5de7ab446be.js +1 -0
  26. hackagent_webui/static/_next/static/chunks/app/page-40fdbb3c458241bf.js +1 -0
  27. hackagent_webui/static/_next/static/chunks/app/profile/page-e346d35f93464904.js +1 -0
  28. hackagent_webui/static/_next/static/chunks/app/secrets/page-5e0f704047919d17.js +1 -0
  29. hackagent_webui/static/_next/static/chunks/app/stats/page-608e2fa66387c864.js +1 -0
  30. hackagent_webui/static/_next/static/chunks/app/usage/page-05dc3bd9fe72c9d6.js +1 -0
  31. hackagent_webui/static/_next/static/chunks/{webpack-5f5c255a944acccf.js → webpack-a6495b10aecf8893.js} +1 -1
  32. hackagent_webui/static/_next/static/css/d4f67f6fdc8fb850.css +1 -0
  33. hackagent_webui/static/agents.html +13 -1
  34. hackagent_webui/static/agents.txt +23 -22
  35. hackagent_webui/static/api-keys.html +13 -1
  36. hackagent_webui/static/api-keys.txt +20 -22
  37. hackagent_webui/static/attacks.html +13 -1
  38. hackagent_webui/static/attacks.txt +23 -22
  39. hackagent_webui/static/campaign-export/styles.css +1 -1
  40. hackagent_webui/static/credentials.html +13 -0
  41. hackagent_webui/static/credentials.txt +24 -0
  42. hackagent_webui/static/index.html +13 -1
  43. hackagent_webui/static/index.txt +23 -22
  44. hackagent_webui/static/profile.html +13 -1
  45. hackagent_webui/static/profile.txt +23 -22
  46. hackagent_webui/static/secrets.html +13 -1
  47. hackagent_webui/static/secrets.txt +20 -22
  48. hackagent_webui/static/stats.html +13 -1
  49. hackagent_webui/static/stats.txt +23 -22
  50. hackagent_webui/static/usage.html +13 -0
  51. hackagent_webui/static/usage.txt +24 -0
  52. {hackagent_webui-0.5.26.dev65.dist-info → hackagent_webui-0.6.0.dev67.dist-info}/METADATA +1 -1
  53. hackagent_webui-0.6.0.dev67.dist-info/RECORD +83 -0
  54. hackagent_webui/static/_next/static/U7s5LqEUH8gEO4-nmwKZH/_buildManifest.js +0 -1
  55. hackagent_webui/static/_next/static/chunks/109-654aaa36bb44ad55.js +0 -1
  56. hackagent_webui/static/_next/static/chunks/133-3d48df8e6274f1e3.js +0 -1
  57. hackagent_webui/static/_next/static/chunks/168-a33d1f7eac818103.js +0 -1
  58. hackagent_webui/static/_next/static/chunks/210-86c6a66776f43b4f.js +0 -1
  59. hackagent_webui/static/_next/static/chunks/267-68673a68da8dc0ed.js +0 -1
  60. hackagent_webui/static/_next/static/chunks/574-0cc0eddd7440f9e6.js +0 -1
  61. hackagent_webui/static/_next/static/chunks/630-d567a2d5c62c90f0.js +0 -1
  62. hackagent_webui/static/_next/static/chunks/704-e457c79de3cc7514.js +0 -1
  63. hackagent_webui/static/_next/static/chunks/756-0acdfe10693b8afc.js +0 -1
  64. hackagent_webui/static/_next/static/chunks/877.8e1543796718ce2b.js +0 -1
  65. hackagent_webui/static/_next/static/chunks/918-f236042f5a6cc47e.js +0 -1
  66. hackagent_webui/static/_next/static/chunks/app/_not-found/page-72f9264520fc0b6a.js +0 -1
  67. hackagent_webui/static/_next/static/chunks/app/agents/page-2ede712c1f31dd76.js +0 -1
  68. hackagent_webui/static/_next/static/chunks/app/api-keys/page-1c219ac9dd1bcdd4.js +0 -1
  69. hackagent_webui/static/_next/static/chunks/app/attacks/page-247041304bc4853c.js +0 -1
  70. hackagent_webui/static/_next/static/chunks/app/layout-88b65f1463c58138.js +0 -1
  71. hackagent_webui/static/_next/static/chunks/app/page-67fe8c280f18e8a6.js +0 -1
  72. hackagent_webui/static/_next/static/chunks/app/profile/page-96240b9461a515e9.js +0 -1
  73. hackagent_webui/static/_next/static/chunks/app/secrets/page-62bf5dba3522de29.js +0 -1
  74. hackagent_webui/static/_next/static/chunks/app/stats/page-457e2fc0286253b9.js +0 -1
  75. hackagent_webui/static/_next/static/css/99e7387e28657839.css +0 -1
  76. hackagent_webui-0.5.26.dev65.dist-info/RECORD +0 -75
  77. /hackagent_webui/static/_next/static/{U7s5LqEUH8gEO4-nmwKZH → LQR5ZJKBJglYlSbR2x_0w}/_ssgManifest.js +0 -0
  78. {hackagent_webui-0.5.26.dev65.dist-info → hackagent_webui-0.6.0.dev67.dist-info}/WHEEL +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[634],{1088:(e,t,a)=>{a.d(t,{DV:()=>E,Fj:()=>w,HF:()=>g,Iu:()=>A,MM:()=>k,MR:()=>x,QO:()=>l,Wk:()=>p,ZR:()=>f,ZW:()=>S,aV:()=>u,gK:()=>m,ky:()=>C,qn:()=>function e(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],r=e=>a?"".concat(a,".").concat(e):String(e);if(Array.isArray(t))t.forEach((t,a)=>n.push(...e(t,r(a))));else if(h(t))for(let[a,s]of Object.entries(t))(function(e){let t=e.trim().toLowerCase();return!t.endsWith("_env")&&Z.test(t)})(a)&&("api_key"===a?null!=s&&null===o(s):"string"==typeof s?""!==s&&"[REDACTED]"!==s:"number"==typeof s)?n.push(r(a)):n.push(...e(s,r(a)));return n},r6:()=>d,rR:()=>o,s6:()=>_,uZ:()=>c});let n={name:"hackagent/attacker-v1",connection:{provider:"hackagent",type:"OPENAI"}},r={name:"hackagent/judge-v1",connection:{provider:"hackagent",type:"OPENAI"}},s=/^\$\{([A-Za-z_][A-Za-z0-9_]*)\}$/;function l(e){return"${"+e+"}"}function o(e){var t,a;return"string"!=typeof e?null:null!=(a=null==(t=s.exec(e))?void 0:t[1])?a:null}function i(e){return{name:e.name,connection:{...e.connection}}}let c=["majority","any","mean","max"],d="majority",u=7,f=0,g=10,m=3;function x(e){return"mean"===e||"max"===e}let p={name:"",description:"",agentId:"",goals:{kind:"inline",goals:[]},attacks:[],judges:{count:1},passthrough:{}},h=e=>"object"==typeof e&&null!==e&&!Array.isArray(e);function v(e,t){if(Object.is(e,t))return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,a)=>v(e,t[a]));if(h(e)&&h(t)){let a=Object.keys(e);return a.length===Object.keys(t).length&&a.every(a=>a in t&&v(e[a],t[a]))}return!1}function j(e,t){return Object.fromEntries(Object.entries(e).filter(e=>{let[a]=e;return!t.includes(a)}))}function b(e,t){return e.find(e=>e.attackType===t)}let y=(e,t)=>v(e,t);function k(e){return Object.fromEntries(e.fields.map(e=>[e.key,e.default]))}function w(e,t){let a=e.description.trim(),{count:s,aggregation:l,threshold:o,custom:c=[]}=e.judges;return function e(t,a){let n={...t};for(let[t,r]of Object.entries(a))n[t]=h(n[t])&&h(r)?e(n[t],r):r;return n}({version:1,campaign:{name:e.name.trim(),...a?{description:a}:{}},dataset:{source:function(e){switch(e.kind){case"preset":return{type:"preset",name:e.name};case"inline":return{type:"inline",goals:e.goals};case"custom":return e.source}}(e.goals)},attacks:e.attacks.map(e=>(function(e,t){var a;let r=b(t,e.attackType),s=new Map(null==r?void 0:r.fields.map(e=>[e.key,e.default])),l={};for(let[t,a]of Object.entries(e.parameters))void 0!==a&&(s.has(t)&&v(a,s.get(t))||function(e,t,a){let n=t.split("."),r=e;for(let e of n.slice(0,-1))h(r[e])||(r[e]={}),r=r[e];r[n[n.length-1]]=a}(l,t,a));let o={...Object.fromEntries((null!=(a=null==r?void 0:r.requiredRoles)?a:[]).map(e=>[e,i(n)])),...e.roles};return{name:e.attackType,...Object.keys(l).length?{parameters:l}:{},...Object.keys(o).length?{roles:o}:{}}})(e,t)),evaluation:{judges:[...Array.from({length:s},()=>i(r)),...c],...l?{aggregation:l}:{},...void 0!==o?{threshold:o}:{}}},e.passthrough)}let N=["version","campaign","dataset","attacks","evaluation"],O=["target","execution"];function A(e,t){var a;if(!h(e))return{...p,goals:{kind:"inline",goals:[]},judges:{count:1},passthrough:{}};let s=h(e.campaign)?e.campaign:{},l=h(e.dataset)?e.dataset:{},o=h(e.evaluation)?e.evaluation:{},i=Array.isArray(o.judges)?o.judges:[],d=i.filter(e=>!y(e,r)),u=i.length-d.length,f={count:0===i.length?1:u};c.includes(o.aggregation)&&(f.aggregation=o.aggregation),"number"==typeof o.threshold&&(f.threshold=o.threshold),d.length&&(f.custom=d);let g=j(e,[...N,...O]),m=j(s,["name","description"]);Object.keys(m).length&&(g.campaign=m);let x=j(l,["source"]);Object.keys(x).length&&(g.dataset=x);let v=j(o,["judges","aggregation","threshold"]);return Object.keys(v).length&&(g.evaluation=v),{name:"string"==typeof s.name?s.name:"",description:"string"==typeof s.description?s.description:"",agentId:"",goals:"preset"===(a=h(l.source)?l.source:{}).type&&"string"==typeof a.name&&2===Object.keys(a).length?{kind:"preset",name:a.name}:"inline"===a.type&&Array.isArray(a.goals)&&2===Object.keys(a).length?{kind:"inline",goals:a.goals.map(String)}:Object.keys(a).length?{kind:"custom",source:a}:{kind:"inline",goals:[]},attacks:Array.isArray(e.attacks)?e.attacks.map(e=>(function(e,t){var a;let r=h(e)?e:{},s="string"==typeof r.name?r.name:"",l=b(t,s),o=null!=(a=null==l?void 0:l.requiredRoles)?a:[],i=Object.fromEntries(Object.entries(h(r.roles)?r.roles:{}).filter(e=>{let[t,a]=e;return!(o.includes(t)&&y(a,n))}));return{attackType:s,parameters:function(e,t){var a;let n=null!=(a=null==t?void 0:t.fields)?a:[],r=new Set(n.map(e=>e.key)),s={};for(let t of n){let a=function(e,t){let a=e;for(let e of t.split(".")){if(!h(a))return;a=a[e]}return a}(e,t.key);s[t.key]=void 0===a?t.default:a}let l=(e,t)=>{for(let[a,o]of Object.entries(e)){let e=t?"".concat(t,".").concat(a):a;r.has(e)||(n.some(t=>t.key.startsWith("".concat(e,".")))&&h(o)?l(o,e):s[e]=o)}};return l(e,""),s}(h(r.parameters)?r.parameters:{},l),...Object.keys(i).length?{roles:i}:{}}})(e,t)):[],judges:f,passthrough:g}}function C(e){var t,a;return Object.keys(e.passthrough).length>0||"custom"===e.goals.kind||(null!=(a=null==(t=e.judges.custom)?void 0:t.length)?a:0)>0||e.attacks.some(e=>e.roles&&Object.keys(e.roles).length>0)}function E(e){return"inline"===e.kind?e.goals.length>0:"preset"!==e.kind||""!==e.name}function _(e){let t={campaign:{},dataset:{},attacks:{},attackCards:{},evaluation:{},other:{}};for(let[r,s]of Object.entries(e)){let[e,...l]=r.split("."),o=l.join(".");if("attacks"===e){let e=Number(l[0]);if(l.length&&Number.isInteger(e)){var a,n;(null!=(n=(a=t.attackCards)[e])?n:a[e]={})[l.slice(1).join(".")]=s}else t.attacks[o]=s}else"campaign"===e||"dataset"===e||"evaluation"===e?t[e][o]=s:t.other[r]=s}return t}let z=e=>Array.isArray(e)?e.map(String).join(" "):String(e);function S(e){let t={spec:{},fields:{}};if(!h(e))return t;for(let[a,n]of Object.entries(e))if("spec"===a)if(h(n))for(let[e,a]of Object.entries(n))t.spec[e]=z(a);else t.spec.spec=z(n);else t.fields[a]=z(n);return t}let Z=/(?:^|[^a-z])(?:[a-z]*key|token|secret|password|passwd|auth|authorization|cookie|credentials?|signature|session)(?:$|[^a-z])/},18332:(e,t,a)=>{a.d(t,{Fc:()=>o,TN:()=>c,XL:()=>i});var n=a(95155);a(12115);var r=a(83101),s=a(64269);let l=(0,r.F)("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:a,...r}=e;return(0,n.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,s.cn)(l({variant:a}),t),...r})}function i(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"alert-title",className:(0,s.cn)("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",t),...a})}function c(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"alert-description",className:(0,s.cn)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",t),...a})}},20243:(e,t,a)=>{a.d(t,{E:()=>s});var n=a(95155),r=a(64269);function s(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"skeleton",className:(0,r.cn)("bg-accent animate-pulse rounded-md",t),...a})}},22470:(e,t,a)=>{a.d(t,{M:()=>r});var n=a(95155);a(12115);let r=e=>{let{title:t,description:a,action:r,children:s,maxWidth:l="full",compact:o=!1}=e;return(0,n.jsxs)("div",{className:"w-full ".concat({full:"max-w-full","8xl":"max-w-[90rem]","7xl":"max-w-7xl","6xl":"max-w-6xl","5xl":"max-w-5xl","4xl":"max-w-4xl","3xl":"max-w-3xl","2xl":"max-w-2xl"}[l]||"max-w-full"," mx-auto ").concat(o?"py-3 space-y-3":"py-6 space-y-6"),children:[t&&(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start sm:justify-between gap-3 border-b ".concat(o?"px-4 pb-3":"px-6 pb-5"),children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:t}),a&&(0,n.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:a})]}),r&&(0,n.jsx)("div",{className:"flex-shrink-0 pt-0.5",children:r})]}),s]})}},25733:(e,t,a)=>{a.d(t,{i:()=>n});async function n(e){let t=[];for(let n=1;;n++){var a;let r=await e(n);if(t.push(...null!=(a=r.results)?a:[]),!r.next)return t}}},35835:(e,t,a)=>{a.d(t,{T:()=>s});var n=a(95155);a(12115);var r=a(98053);let s=e=>{let{open:t,onOpenChange:a,title:s,description:l,onConfirm:o,confirmText:i="Confirm",cancelText:c="Cancel",variant:d="default"}=e;return(0,n.jsx)(r.Lt,{open:t,onOpenChange:a,children:(0,n.jsxs)(r.EO,{children:[(0,n.jsxs)(r.wd,{children:[(0,n.jsx)(r.r7,{children:s}),(0,n.jsx)(r.$v,{children:l})]}),(0,n.jsxs)(r.ck,{children:[(0,n.jsx)(r.Zr,{children:c}),(0,n.jsx)(r.Rx,{onClick:()=>{o(),a(!1)},className:"destructive"===d?"bg-destructive text-destructive-foreground hover:bg-destructive/90":"",children:i})]})]})})}},51834:(e,t,a)=>{a.d(t,{Cf:()=>u,Es:()=>g,HM:()=>c,L3:()=>m,c7:()=>f,lG:()=>o,rr:()=>x});var n=a(95155);a(12115);var r=a(88292),s=a(65229),l=a(64269);function o(e){let{...t}=e;return(0,n.jsx)(r.bL,{"data-slot":"dialog",...t})}function i(e){let{...t}=e;return(0,n.jsx)(r.ZL,{"data-slot":"dialog-portal",...t})}function c(e){let{...t}=e;return(0,n.jsx)(r.bm,{"data-slot":"dialog-close",...t})}function d(e){let{className:t,...a}=e;return(0,n.jsx)(r.hJ,{"data-slot":"dialog-overlay",className:(0,l.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...a})}function u(e){let{className:t,children:a,...o}=e;return(0,n.jsxs)(i,{"data-slot":"dialog-portal",children:[(0,n.jsx)(d,{}),(0,n.jsxs)(r.UC,{"data-slot":"dialog-content",className:(0,l.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...o,children:[a,(0,n.jsxs)(r.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,n.jsx)(s.A,{}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function f(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"dialog-header",className:(0,l.cn)("flex flex-col gap-2 text-center sm:text-left",t),...a})}function g(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"dialog-footer",className:(0,l.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...a})}function m(e){let{className:t,...a}=e;return(0,n.jsx)(r.hE,{"data-slot":"dialog-title",className:(0,l.cn)("text-lg leading-none font-semibold",t),...a})}function x(e){let{className:t,...a}=e;return(0,n.jsx)(r.VY,{"data-slot":"dialog-description",className:(0,l.cn)("text-muted-foreground text-sm",t),...a})}},56419:(e,t,a)=>{a.d(t,{p:()=>r});var n=a(95155);a(12115);let r=e=>{let{icon:t,title:a,description:r,action:s}=e;return(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center text-center py-12 px-4",children:[(0,n.jsx)("div",{className:"rounded-full bg-muted p-3 mb-4",children:(0,n.jsx)(t,{className:"h-10 w-10 text-muted-foreground"})}),(0,n.jsx)("h3",{className:"text-lg font-semibold mb-2",children:a}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground max-w-sm mb-6",children:r}),s&&(0,n.jsx)("div",{children:s})]})}},65142:(e,t,a)=>{a.d(t,{p:()=>s});var n=a(95155);a(12115);var r=a(64269);function s(e){let{className:t,type:a,...s}=e;return(0,n.jsx)("input",{type:a,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),...s})}},74672:(e,t,a)=>{a.d(t,{q:()=>g});var n=a(95155),r=a(12115),s=a(38775),l=a(3998),o=a(51834),i=a(65142),c=a(76444),d=a(7831);let u=/^[A-Z][A-Z0-9_]{1,63}$/;async function f(e){if(e instanceof s.o3e){let t=null;try{t=await e.response.json()}catch(e){}if(t&&"object"==typeof t){let e=t;if("string"==typeof e.error)return e.error;if("string"==typeof e.detail)return e.detail;let a=Object.entries(e).map(e=>{let[t,a]=e;return"".concat(t,": ").concat(Array.isArray(a)?a.join(" "):String(a))});if(a.length)return a.join("; ")}return"Could not save the secret (HTTP ".concat(e.response.status,").")}return"Could not save the secret."}function g(e){let{open:t,onOpenChange:a,presetName:s,onSaved:g}=e,[m,x]=(0,r.useState)(null!=s?s:""),[p,h]=(0,r.useState)(""),[v,j]=(0,r.useState)(!1),[b,y]=(0,r.useState)(null);(0,r.useEffect)(()=>{h(""),y(null),t&&x(null!=s?s:"")},[t,s]);let k=u.test(m),w=k&&p.length>0&&!v,N=async()=>{if(w){j(!0),y(null);try{await d.Ft.secretCreate({secretWriteRequest:{name:m,value:p}}),h(""),g(m)}catch(e){y(await f(e))}finally{j(!1)}}};return(0,n.jsx)(o.lG,{open:t,onOpenChange:a,children:(0,n.jsxs)(o.Cf,{children:[(0,n.jsxs)(o.c7,{children:[(0,n.jsx)(o.L3,{children:"Add secret"}),(0,n.jsx)(o.rr,{children:"Stored encrypted for your organization. The value cannot be read back after saving."})]}),(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)(c.J,{htmlFor:"secret-name",children:"Name"}),(0,n.jsx)(i.p,{id:"secret-name",value:m,readOnly:!!s,onChange:e=>x(e.target.value),placeholder:"OPENAI_API_KEY",autoComplete:"off"}),m&&!k&&(0,n.jsx)("p",{className:"text-xs text-destructive",children:"Use capital letters, digits and underscores, starting with a letter (2 to 64 characters)."})]}),(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)(c.J,{htmlFor:"secret-value",children:"Value"}),(0,n.jsx)(i.p,{id:"secret-value",type:"password",value:p,onChange:e=>h(e.target.value),autoComplete:"off"})]}),b&&(0,n.jsx)("p",{role:"alert",className:"text-sm text-destructive",children:b})]}),(0,n.jsxs)(o.Es,{children:[(0,n.jsx)(l.$,{variant:"outline",onClick:()=>a(!1),children:"Cancel"}),(0,n.jsx)(l.$,{onClick:N,disabled:!w,children:v?"Saving…":"Save secret"})]})]})})}},76444:(e,t,a)=>{a.d(t,{J:()=>l});var n=a(95155);a(12115);var r=a(85408),s=a(64269);function l(e){let{className:t,...a}=e;return(0,n.jsx)(r.b,{"data-slot":"label",className:(0,s.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...a})}},87270:(e,t,a)=>{a.d(t,{A0:()=>l,BF:()=>o,Hj:()=>i,XI:()=>s,nA:()=>d,nd:()=>c,r6:()=>u});var n=a(95155);a(12115);var r=a(64269);function s(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,n.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",t),...a})})}function l(e){let{className:t,...a}=e;return(0,n.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",t),...a})}function o(e){let{className:t,...a}=e;return(0,n.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",t),...a})}function i(e){let{className:t,...a}=e;return(0,n.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",t),...a})}function c(e){let{className:t,...a}=e;return(0,n.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...a})}function d(e){let{className:t,...a}=e;return(0,n.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...a})}function u(e){let{className:t,...a}=e;return(0,n.jsx)("caption",{"data-slot":"table-caption",className:(0,r.cn)("text-muted-foreground mt-4 text-sm",t),...a})}},98053:(e,t,a)=>{a.d(t,{$v:()=>x,EO:()=>u,Lt:()=>o,Rx:()=>p,Zr:()=>h,ck:()=>g,r7:()=>m,tv:()=>i,wd:()=>f});var n=a(95155);a(12115);var r=a(35646),s=a(64269),l=a(3998);function o(e){let{...t}=e;return(0,n.jsx)(r.bL,{"data-slot":"alert-dialog",...t})}function i(e){let{...t}=e;return(0,n.jsx)(r.l9,{"data-slot":"alert-dialog-trigger",...t})}function c(e){let{...t}=e;return(0,n.jsx)(r.ZL,{"data-slot":"alert-dialog-portal",...t})}function d(e){let{className:t,...a}=e;return(0,n.jsx)(r.hJ,{"data-slot":"alert-dialog-overlay",className:(0,s.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...a})}function u(e){let{className:t,...a}=e;return(0,n.jsxs)(c,{children:[(0,n.jsx)(d,{}),(0,n.jsx)(r.UC,{"data-slot":"alert-dialog-content",className:(0,s.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...a})]})}function f(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,s.cn)("flex flex-col gap-2 text-center sm:text-left",t),...a})}function g(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,s.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...a})}function m(e){let{className:t,...a}=e;return(0,n.jsx)(r.hE,{"data-slot":"alert-dialog-title",className:(0,s.cn)("text-lg font-semibold",t),...a})}function x(e){let{className:t,...a}=e;return(0,n.jsx)(r.VY,{"data-slot":"alert-dialog-description",className:(0,s.cn)("text-muted-foreground text-sm",t),...a})}function p(e){let{className:t,...a}=e;return(0,n.jsx)(r.rc,{className:(0,s.cn)((0,l.r)(),t),...a})}function h(e){let{className:t,...a}=e;return(0,n.jsx)(r.ZD,{className:(0,s.cn)((0,l.r)({variant:"outline"}),t),...a})}}}]);
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[634],{1088:(e,t,a)=>{a.d(t,{DV:()=>E,Fj:()=>w,HF:()=>g,Iu:()=>A,MM:()=>k,MR:()=>x,QO:()=>l,Wk:()=>p,ZR:()=>f,ZW:()=>S,aV:()=>u,gK:()=>m,ky:()=>C,qn:()=>function e(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],r=e=>a?"".concat(a,".").concat(e):String(e);if(Array.isArray(t))t.forEach((t,a)=>n.push(...e(t,r(a))));else if(h(t))for(let[a,s]of Object.entries(t))(function(e){let t=e.trim().toLowerCase();return!t.endsWith("_env")&&Z.test(t)})(a)&&("api_key"===a?null!=s&&null===o(s):"string"==typeof s?""!==s&&"[REDACTED]"!==s:"number"==typeof s)?n.push(r(a)):n.push(...e(s,r(a)));return n},r6:()=>d,rR:()=>o,s6:()=>_,uZ:()=>c});let n={name:"hackagent/attacker-v1",connection:{provider:"hackagent",type:"OPENAI"}},r={name:"hackagent/judge-v1",connection:{provider:"hackagent",type:"OPENAI"}},s=/^\$\{([A-Za-z_][A-Za-z0-9_]*)\}$/;function l(e){return"${"+e+"}"}function o(e){var t,a;return"string"!=typeof e?null:null!=(a=null==(t=s.exec(e))?void 0:t[1])?a:null}function i(e){return{name:e.name,connection:{...e.connection}}}let c=["majority","any","mean","max"],d="majority",u=7,f=0,g=10,m=3;function x(e){return"mean"===e||"max"===e}let p={name:"",description:"",agentId:"",goals:{kind:"inline",goals:[]},attacks:[],judges:{count:1},passthrough:{}},h=e=>"object"==typeof e&&null!==e&&!Array.isArray(e);function v(e,t){if(Object.is(e,t))return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,a)=>v(e,t[a]));if(h(e)&&h(t)){let a=Object.keys(e);return a.length===Object.keys(t).length&&a.every(a=>a in t&&v(e[a],t[a]))}return!1}function j(e,t){return Object.fromEntries(Object.entries(e).filter(e=>{let[a]=e;return!t.includes(a)}))}function b(e,t){return e.find(e=>e.attackType===t)}let y=(e,t)=>v(e,t);function k(e){return Object.fromEntries(e.fields.map(e=>[e.key,e.default]))}function w(e,t){let a=e.description.trim(),{count:s,aggregation:l,threshold:o,custom:c=[]}=e.judges;return function e(t,a){let n={...t};for(let[t,r]of Object.entries(a))n[t]=h(n[t])&&h(r)?e(n[t],r):r;return n}({version:1,campaign:{name:e.name.trim(),...a?{description:a}:{}},dataset:{source:function(e){switch(e.kind){case"preset":return{type:"preset",name:e.name};case"inline":return{type:"inline",goals:e.goals};case"custom":return e.source}}(e.goals)},attacks:e.attacks.map(e=>(function(e,t){var a;let r=b(t,e.attackType),s=new Map(null==r?void 0:r.fields.map(e=>[e.key,e.default])),l={};for(let[t,a]of Object.entries(e.parameters))void 0!==a&&(s.has(t)&&v(a,s.get(t))||function(e,t,a){let n=t.split("."),r=e;for(let e of n.slice(0,-1))h(r[e])||(r[e]={}),r=r[e];r[n[n.length-1]]=a}(l,t,a));let o={...Object.fromEntries((null!=(a=null==r?void 0:r.requiredRoles)?a:[]).map(e=>[e,i(n)])),...e.roles};return{name:e.attackType,...Object.keys(l).length?{parameters:l}:{},...Object.keys(o).length?{roles:o}:{}}})(e,t)),evaluation:{judges:[...Array.from({length:s},()=>i(r)),...c],...l?{aggregation:l}:{},...void 0!==o?{threshold:o}:{}}},e.passthrough)}let N=["version","campaign","dataset","attacks","evaluation"],O=["target","execution"];function A(e,t){var a;if(!h(e))return{...p,goals:{kind:"inline",goals:[]},judges:{count:1},passthrough:{}};let s=h(e.campaign)?e.campaign:{},l=h(e.dataset)?e.dataset:{},o=h(e.evaluation)?e.evaluation:{},i=Array.isArray(o.judges)?o.judges:[],d=i.filter(e=>!y(e,r)),u=i.length-d.length,f={count:0===i.length?1:u};c.includes(o.aggregation)&&(f.aggregation=o.aggregation),"number"==typeof o.threshold&&(f.threshold=o.threshold),d.length&&(f.custom=d);let g=j(e,[...N,...O]),m=j(s,["name","description"]);Object.keys(m).length&&(g.campaign=m);let x=j(l,["source"]);Object.keys(x).length&&(g.dataset=x);let v=j(o,["judges","aggregation","threshold"]);return Object.keys(v).length&&(g.evaluation=v),{name:"string"==typeof s.name?s.name:"",description:"string"==typeof s.description?s.description:"",agentId:"",goals:"preset"===(a=h(l.source)?l.source:{}).type&&"string"==typeof a.name&&2===Object.keys(a).length?{kind:"preset",name:a.name}:"inline"===a.type&&Array.isArray(a.goals)&&2===Object.keys(a).length?{kind:"inline",goals:a.goals.map(String)}:Object.keys(a).length?{kind:"custom",source:a}:{kind:"inline",goals:[]},attacks:Array.isArray(e.attacks)?e.attacks.map(e=>(function(e,t){var a;let r=h(e)?e:{},s="string"==typeof r.name?r.name:"",l=b(t,s),o=null!=(a=null==l?void 0:l.requiredRoles)?a:[],i=Object.fromEntries(Object.entries(h(r.roles)?r.roles:{}).filter(e=>{let[t,a]=e;return!(o.includes(t)&&y(a,n))}));return{attackType:s,parameters:function(e,t){var a;let n=null!=(a=null==t?void 0:t.fields)?a:[],r=new Set(n.map(e=>e.key)),s={};for(let t of n){let a=function(e,t){let a=e;for(let e of t.split(".")){if(!h(a))return;a=a[e]}return a}(e,t.key);s[t.key]=void 0===a?t.default:a}let l=(e,t)=>{for(let[a,o]of Object.entries(e)){let e=t?"".concat(t,".").concat(a):a;r.has(e)||(n.some(t=>t.key.startsWith("".concat(e,".")))&&h(o)?l(o,e):s[e]=o)}};return l(e,""),s}(h(r.parameters)?r.parameters:{},l),...Object.keys(i).length?{roles:i}:{}}})(e,t)):[],judges:f,passthrough:g}}function C(e){var t,a;return Object.keys(e.passthrough).length>0||"custom"===e.goals.kind||(null!=(a=null==(t=e.judges.custom)?void 0:t.length)?a:0)>0||e.attacks.some(e=>e.roles&&Object.keys(e.roles).length>0)}function E(e){return"inline"===e.kind?e.goals.length>0:"preset"!==e.kind||""!==e.name}function _(e){let t={campaign:{},dataset:{},attacks:{},attackCards:{},evaluation:{},other:{}};for(let[r,s]of Object.entries(e)){let[e,...l]=r.split("."),o=l.join(".");if("attacks"===e){let e=Number(l[0]);if(l.length&&Number.isInteger(e)){var a,n;(null!=(n=(a=t.attackCards)[e])?n:a[e]={})[l.slice(1).join(".")]=s}else t.attacks[o]=s}else"campaign"===e||"dataset"===e||"evaluation"===e?t[e][o]=s:t.other[r]=s}return t}let z=e=>Array.isArray(e)?e.map(String).join(" "):String(e);function S(e){let t={spec:{},fields:{}};if(!h(e))return t;for(let[a,n]of Object.entries(e))if("spec"===a)if(h(n))for(let[e,a]of Object.entries(n))t.spec[e]=z(a);else t.spec.spec=z(n);else t.fields[a]=z(n);return t}let Z=/(?:^|[^a-z])(?:[a-z]*key|token|secret|password|passwd|auth|authorization|cookie|credentials?|signature|session)(?:$|[^a-z])/},18332:(e,t,a)=>{a.d(t,{Fc:()=>o,TN:()=>c,XL:()=>i});var n=a(95155);a(12115);var r=a(83101),s=a(64269);let l=(0,r.F)("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"}},defaultVariants:{variant:"default"}});function o(e){let{className:t,variant:a,...r}=e;return(0,n.jsx)("div",{"data-slot":"alert",role:"alert",className:(0,s.cn)(l({variant:a}),t),...r})}function i(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"alert-title",className:(0,s.cn)("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",t),...a})}function c(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"alert-description",className:(0,s.cn)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",t),...a})}},20243:(e,t,a)=>{a.d(t,{E:()=>s});var n=a(95155),r=a(64269);function s(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"skeleton",className:(0,r.cn)("bg-accent animate-pulse rounded-md",t),...a})}},22470:(e,t,a)=>{a.d(t,{M:()=>r});var n=a(95155);a(12115);let r=e=>{let{title:t,description:a,action:r,children:s,maxWidth:l="full",compact:o=!1}=e;return(0,n.jsxs)("div",{className:"w-full ".concat({full:"max-w-full","8xl":"max-w-[90rem]","7xl":"max-w-7xl","6xl":"max-w-6xl","5xl":"max-w-5xl","4xl":"max-w-4xl","3xl":"max-w-3xl","2xl":"max-w-2xl"}[l]||"max-w-full"," mx-auto ").concat(o?"py-3 space-y-3":"py-6 space-y-6"),children:[t&&(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start sm:justify-between gap-3 border-b ".concat(o?"px-4 pb-3":"px-6 pb-5"),children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:t}),a&&(0,n.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:a})]}),r&&(0,n.jsx)("div",{className:"flex-shrink-0 pt-0.5",children:r})]}),s]})}},25733:(e,t,a)=>{a.d(t,{i:()=>n});async function n(e){let t=[];for(let n=1;;n++){var a;let r=await e(n);if(t.push(...null!=(a=r.results)?a:[]),!r.next)return t}}},35835:(e,t,a)=>{a.d(t,{T:()=>s});var n=a(95155);a(12115);var r=a(98053);let s=e=>{let{open:t,onOpenChange:a,title:s,description:l,onConfirm:o,confirmText:i="Confirm",cancelText:c="Cancel",variant:d="default"}=e;return(0,n.jsx)(r.Lt,{open:t,onOpenChange:a,children:(0,n.jsxs)(r.EO,{children:[(0,n.jsxs)(r.wd,{children:[(0,n.jsx)(r.r7,{children:s}),(0,n.jsx)(r.$v,{children:l})]}),(0,n.jsxs)(r.ck,{children:[(0,n.jsx)(r.Zr,{children:c}),(0,n.jsx)(r.Rx,{onClick:()=>{o(),a(!1)},className:"destructive"===d?"bg-destructive text-destructive-foreground hover:bg-destructive/90":"",children:i})]})]})})}},51834:(e,t,a)=>{a.d(t,{Cf:()=>u,Es:()=>g,HM:()=>c,L3:()=>m,c7:()=>f,lG:()=>o,rr:()=>x});var n=a(95155);a(12115);var r=a(88292),s=a(65229),l=a(64269);function o(e){let{...t}=e;return(0,n.jsx)(r.bL,{"data-slot":"dialog",...t})}function i(e){let{...t}=e;return(0,n.jsx)(r.ZL,{"data-slot":"dialog-portal",...t})}function c(e){let{...t}=e;return(0,n.jsx)(r.bm,{"data-slot":"dialog-close",...t})}function d(e){let{className:t,...a}=e;return(0,n.jsx)(r.hJ,{"data-slot":"dialog-overlay",className:(0,l.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...a})}function u(e){let{className:t,children:a,...o}=e;return(0,n.jsxs)(i,{"data-slot":"dialog-portal",children:[(0,n.jsx)(d,{}),(0,n.jsxs)(r.UC,{"data-slot":"dialog-content",className:(0,l.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...o,children:[a,(0,n.jsxs)(r.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,n.jsx)(s.A,{}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function f(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"dialog-header",className:(0,l.cn)("flex flex-col gap-2 text-center sm:text-left",t),...a})}function g(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"dialog-footer",className:(0,l.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...a})}function m(e){let{className:t,...a}=e;return(0,n.jsx)(r.hE,{"data-slot":"dialog-title",className:(0,l.cn)("text-lg leading-none font-semibold",t),...a})}function x(e){let{className:t,...a}=e;return(0,n.jsx)(r.VY,{"data-slot":"dialog-description",className:(0,l.cn)("text-muted-foreground text-sm",t),...a})}},56419:(e,t,a)=>{a.d(t,{p:()=>r});var n=a(95155);a(12115);let r=e=>{let{icon:t,title:a,description:r,action:s}=e;return(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center text-center py-12 px-4",children:[(0,n.jsx)("div",{className:"rounded-full bg-muted p-3 mb-4",children:(0,n.jsx)(t,{className:"h-10 w-10 text-muted-foreground"})}),(0,n.jsx)("h3",{className:"text-lg font-semibold mb-2",children:a}),(0,n.jsx)("p",{className:"text-sm text-muted-foreground max-w-sm mb-6",children:r}),s&&(0,n.jsx)("div",{children:s})]})}},65142:(e,t,a)=>{a.d(t,{p:()=>s});var n=a(95155);a(12115);var r=a(64269);function s(e){let{className:t,type:a,...s}=e;return(0,n.jsx)("input",{type:a,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),...s})}},74672:(e,t,a)=>{a.d(t,{q:()=>g});var n=a(95155),r=a(12115),s=a(38775),l=a(3998),o=a(51834),i=a(65142),c=a(76444),d=a(7831);let u=/^[A-Z][A-Z0-9_]{1,63}$/;async function f(e){if(e instanceof s.o3e){let t=null;try{t=await e.response.json()}catch(e){}if(t&&"object"==typeof t){let e=t;if("string"==typeof e.error)return e.error;if("string"==typeof e.detail)return e.detail;let a=Object.entries(e).map(e=>{let[t,a]=e;return"".concat(t,": ").concat(Array.isArray(a)?a.join(" "):String(a))});if(a.length)return a.join("; ")}return"Could not save the secret (HTTP ".concat(e.response.status,").")}return"Could not save the secret."}function g(e){let{open:t,onOpenChange:a,presetName:s,onSaved:g}=e,[m,x]=(0,r.useState)(null!=s?s:""),[p,h]=(0,r.useState)(""),[v,j]=(0,r.useState)(!1),[b,y]=(0,r.useState)(null);(0,r.useEffect)(()=>{h(""),y(null),t&&x(null!=s?s:"")},[t,s]);let k=u.test(m),w=k&&p.length>0&&!v,N=async()=>{if(w){j(!0),y(null);try{await d.Ft.secretCreate({secretWriteRequest:{name:m,value:p}}),h(""),g(m)}catch(e){y(await f(e))}finally{j(!1)}}};return(0,n.jsx)(o.lG,{open:t,onOpenChange:a,children:(0,n.jsxs)(o.Cf,{children:[(0,n.jsxs)(o.c7,{children:[(0,n.jsx)(o.L3,{children:"Add secret"}),(0,n.jsx)(o.rr,{children:"Stored encrypted for your organization. The value cannot be read back after saving."})]}),(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)(c.J,{htmlFor:"secret-name",children:"Name"}),(0,n.jsx)(i.p,{id:"secret-name",value:m,readOnly:!!s,onChange:e=>x(e.target.value),placeholder:"OPENAI_API_KEY",autoComplete:"off"}),m&&!k&&(0,n.jsx)("p",{className:"text-xs text-destructive",children:"Use capital letters, digits and underscores, starting with a letter (2 to 64 characters)."})]}),(0,n.jsxs)("div",{className:"space-y-1",children:[(0,n.jsx)(c.J,{htmlFor:"secret-value",children:"Value"}),(0,n.jsx)(i.p,{id:"secret-value",type:"password",value:p,onChange:e=>h(e.target.value),autoComplete:"off"})]}),b&&(0,n.jsx)("p",{role:"alert",className:"text-sm text-destructive",children:b})]}),(0,n.jsxs)(o.Es,{children:[(0,n.jsx)(l.$,{variant:"outline",onClick:()=>a(!1),children:"Cancel"}),(0,n.jsx)(l.$,{onClick:N,disabled:!w,children:v?"Saving…":"Save secret"})]})]})})}},76444:(e,t,a)=>{a.d(t,{J:()=>l});var n=a(95155);a(12115);var r=a(85408),s=a(64269);function l(e){let{className:t,...a}=e;return(0,n.jsx)(r.b,{"data-slot":"label",className:(0,s.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...a})}},87270:(e,t,a)=>{a.d(t,{A0:()=>l,BF:()=>o,Hj:()=>i,XI:()=>s,nA:()=>d,nd:()=>c});var n=a(95155);a(12115);var r=a(64269);function s(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"table-container",className:"relative w-full overflow-x-auto",children:(0,n.jsx)("table",{"data-slot":"table",className:(0,r.cn)("w-full caption-bottom text-sm",t),...a})})}function l(e){let{className:t,...a}=e;return(0,n.jsx)("thead",{"data-slot":"table-header",className:(0,r.cn)("[&_tr]:border-b",t),...a})}function o(e){let{className:t,...a}=e;return(0,n.jsx)("tbody",{"data-slot":"table-body",className:(0,r.cn)("[&_tr:last-child]:border-0",t),...a})}function i(e){let{className:t,...a}=e;return(0,n.jsx)("tr",{"data-slot":"table-row",className:(0,r.cn)("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",t),...a})}function c(e){let{className:t,...a}=e;return(0,n.jsx)("th",{"data-slot":"table-head",className:(0,r.cn)("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...a})}function d(e){let{className:t,...a}=e;return(0,n.jsx)("td",{"data-slot":"table-cell",className:(0,r.cn)("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),...a})}},98053:(e,t,a)=>{a.d(t,{$v:()=>x,EO:()=>u,Lt:()=>o,Rx:()=>p,Zr:()=>h,ck:()=>g,r7:()=>m,tv:()=>i,wd:()=>f});var n=a(95155);a(12115);var r=a(35646),s=a(64269),l=a(3998);function o(e){let{...t}=e;return(0,n.jsx)(r.bL,{"data-slot":"alert-dialog",...t})}function i(e){let{...t}=e;return(0,n.jsx)(r.l9,{"data-slot":"alert-dialog-trigger",...t})}function c(e){let{...t}=e;return(0,n.jsx)(r.ZL,{"data-slot":"alert-dialog-portal",...t})}function d(e){let{className:t,...a}=e;return(0,n.jsx)(r.hJ,{"data-slot":"alert-dialog-overlay",className:(0,s.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...a})}function u(e){let{className:t,...a}=e;return(0,n.jsxs)(c,{children:[(0,n.jsx)(d,{}),(0,n.jsx)(r.UC,{"data-slot":"alert-dialog-content",className:(0,s.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...a})]})}function f(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"alert-dialog-header",className:(0,s.cn)("flex flex-col gap-2 text-center sm:text-left",t),...a})}function g(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"alert-dialog-footer",className:(0,s.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...a})}function m(e){let{className:t,...a}=e;return(0,n.jsx)(r.hE,{"data-slot":"alert-dialog-title",className:(0,s.cn)("text-lg font-semibold",t),...a})}function x(e){let{className:t,...a}=e;return(0,n.jsx)(r.VY,{"data-slot":"alert-dialog-description",className:(0,s.cn)("text-muted-foreground text-sm",t),...a})}function p(e){let{className:t,...a}=e;return(0,n.jsx)(r.rc,{className:(0,s.cn)((0,l.r)(),t),...a})}function h(e){let{className:t,...a}=e;return(0,n.jsx)(r.ZD,{className:(0,s.cn)((0,l.r)({variant:"outline"}),t),...a})}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[688],{1262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(12115),o=n.useLayoutEffect,i=n.useEffect;function s(e){let{headManager:t,reduceComponentsToState:r}=e;function s(){if(t&&t.mountedInstances){let o=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(o,e))}}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5313:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(40246);class o extends Error{}function i(e,t){let r;if("string"!=typeof e)throw new o("Invalid token specified: must be a string");t||(t={});let n=+(!0!==t.header),i=e.split(".")[n];if("string"!=typeof i)throw new o(`Invalid token specified: missing part #${n+1}`);try{r=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw Error("base64 string is not of the correct length")}try{var r;return r=t,decodeURIComponent(atob(r).replace(/(.)/g,(e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}catch(e){return atob(t)}}(i)}catch(e){throw new o(`Invalid token specified: invalid base64 for part #${n+1} (${e.message})`)}try{return JSON.parse(r)}catch(e){throw new o(`Invalid token specified: invalid json for part #${n+1} (${e.message})`)}}if(o.prototype.name="InvalidTokenError","undefined"==typeof Promise)throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");function s(e){if(!(this instanceof s))throw Error("The 'Keycloak' constructor must be invoked with 'new'.");for(var t,r,o=this,a=[],c={enable:!0,callbackList:[],interval:5},u=document.getElementsByTagName("script"),l=0;l<u.length;l++)(-1!==u[l].src.indexOf("keycloak.js")||-1!==u[l].src.indexOf("keycloak.min.js"))&&-1!==u[l].src.indexOf("version=")&&(o.iframeVersion=u[l].src.substring(u[l].src.indexOf("version=")+8).split("&")[0]);var d=!0,f=I(console.info),h=I(console.warn);function p(e,t){for(var r=function(e){var t=null,r=window.crypto||window.msCrypto;if(r&&r.getRandomValues&&window.Uint8Array)return t=new Uint8Array(e),r.getRandomValues(t),t;t=Array(e);for(var n=0;n<t.length;n++)t[n]=Math.floor(256*Math.random());return t}(e),n=Array(e),o=0;o<e;o++)n[o]=t.charCodeAt(r[o]%t.length);return String.fromCharCode.apply(null,n)}function m(){return void 0===o.authServerUrl?void 0:"/"==o.authServerUrl.charAt(o.authServerUrl.length-1)?o.authServerUrl+"realms/"+encodeURIComponent(o.realm):o.authServerUrl+"/realms/"+encodeURIComponent(o.realm)}function g(e,t){var r=e.code,n=e.error,i=e.prompt,s=new Date().getTime();if(e.kc_action_status&&o.onActionUpdate&&o.onActionUpdate(e.kc_action_status),n){if("none"!=i){var a={error:n,error_description:e.error_description};o.onAuthError&&o.onAuthError(a),t&&t.setError(a)}else t&&t.setSuccess();return}if("standard"!=o.flow&&(e.access_token||e.id_token)&&h(e.access_token,null,e.id_token,!0),"implicit"!=o.flow&&r){var c="code="+r+"&grant_type=authorization_code",u=o.endpoints.token(),l=new XMLHttpRequest;l.open("POST",u,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),c+="&client_id="+encodeURIComponent(o.clientId)+"&redirect_uri="+e.redirectUri,e.pkceCodeVerifier&&(c+="&code_verifier="+e.pkceCodeVerifier),l.withCredentials=!0,l.onreadystatechange=function(){if(4==l.readyState)if(200==l.status){var e=JSON.parse(l.responseText);h(e.access_token,e.refresh_token,e.id_token,"standard"===o.flow),S()}else o.onAuthError&&o.onAuthError(),t&&t.setError()},l.send(c)}function h(r,n,i,a){y(r,n,i,s=(s+new Date().getTime())/2),d&&o.idTokenParsed&&o.idTokenParsed.nonce!=e.storedNonce?(f("[KEYCLOAK] Invalid nonce, clearing token"),o.clearToken(),t&&t.setError()):a&&(o.onAuthSuccess&&o.onAuthSuccess(),t&&t.setSuccess())}}function v(e){return 0==e.status&&e.responseText&&e.responseURL.startsWith("file:")}function y(e,t,r,n){if(o.tokenTimeoutHandle&&(clearTimeout(o.tokenTimeoutHandle),o.tokenTimeoutHandle=null),t?(o.refreshToken=t,o.refreshTokenParsed=i(t)):(delete o.refreshToken,delete o.refreshTokenParsed),r?(o.idToken=r,o.idTokenParsed=i(r)):(delete o.idToken,delete o.idTokenParsed),e){if(o.token=e,o.tokenParsed=i(e),o.sessionId=o.tokenParsed.sid,o.authenticated=!0,o.subject=o.tokenParsed.sub,o.realmAccess=o.tokenParsed.realm_access,o.resourceAccess=o.tokenParsed.resource_access,n&&(o.timeSkew=Math.floor(n/1e3)-o.tokenParsed.iat),null!=o.timeSkew&&(f("[KEYCLOAK] Estimated time difference between browser and server is "+o.timeSkew+" seconds"),o.onTokenExpired)){var s=(o.tokenParsed.exp-new Date().getTime()/1e3+o.timeSkew)*1e3;f("[KEYCLOAK] Token expires in "+Math.round(s/1e3)+" s"),s<=0?o.onTokenExpired():o.tokenTimeoutHandle=setTimeout(o.onTokenExpired,s)}}else delete o.token,delete o.tokenParsed,delete o.subject,delete o.realmAccess,delete o.resourceAccess,o.authenticated=!1}function b(){var e="0123456789abcdef",t=p(36,e).split("");return t[14]="4",t[19]=e.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")}function w(e){var t=function(e){switch(o.flow){case"standard":t=["code","state","session_state","kc_action_status","iss"];break;case"implicit":t=["access_token","token_type","id_token","state","session_state","expires_in","kc_action_status","iss"];break;case"hybrid":t=["access_token","token_type","id_token","code","state","session_state","expires_in","kc_action_status","iss"]}t.push("error"),t.push("error_description"),t.push("error_uri");var t,r,n,i=e.indexOf("?"),s=e.indexOf("#");if("query"===o.responseMode&&-1!==i?(r=e.substring(0,i),""!==(n=k(e.substring(i+1,-1!==s?s:e.length),t)).paramsString&&(r+="?"+n.paramsString),-1!==s&&(r+=e.substring(s))):"fragment"===o.responseMode&&-1!==s&&(r=e.substring(0,s),""!==(n=k(e.substring(s+1),t)).paramsString&&(r+="#"+n.paramsString)),n&&n.oauthParams){if("standard"===o.flow||"hybrid"===o.flow){if((n.oauthParams.code||n.oauthParams.error)&&n.oauthParams.state)return n.oauthParams.newUrl=r,n.oauthParams}else if("implicit"===o.flow&&(n.oauthParams.access_token||n.oauthParams.error)&&n.oauthParams.state)return n.oauthParams.newUrl=r,n.oauthParams}}(e);if(t){var n=r.get(t.state);return n&&(t.valid=!0,t.redirectUri=n.redirectUri,t.storedNonce=n.nonce,t.prompt=n.prompt,t.pkceCodeVerifier=n.pkceCodeVerifier),t}}function k(e,t){for(var r=e.split("&"),n={paramsString:"",oauthParams:{}},o=0;o<r.length;o++){var i=r[o].indexOf("="),s=r[o].slice(0,i);-1!==t.indexOf(s)?n.oauthParams[s]=r[o].slice(i+1):(""!==n.paramsString&&(n.paramsString+="&"),n.paramsString+=r[o])}return n}function x(){var e={setSuccess:function(t){e.resolve(t)},setError:function(t){e.reject(t)}};return e.promise=new Promise(function(t,r){e.resolve=t,e.reject=r}),e}function _(){var e=x();if(!c.enable||c.iframe)return e.setSuccess(),e.promise;var t=document.createElement("iframe");c.iframe=t,t.onload=function(){var t=o.endpoints.authorize();"/"===t.charAt(0)?c.iframeOrigin=window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""):c.iframeOrigin=t.substring(0,t.indexOf("/",8)),e.setSuccess()};var r=o.endpoints.checkSessionIframe();return t.setAttribute("src",r),t.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),t.setAttribute("title","keycloak-session-iframe"),t.style.display="none",document.body.appendChild(t),window.addEventListener("message",function(e){if(e.origin===c.iframeOrigin&&c.iframe.contentWindow===e.source&&("unchanged"==e.data||"changed"==e.data||"error"==e.data)){"unchanged"!=e.data&&o.clearToken();for(var t=c.callbackList.splice(0,c.callbackList.length),r=t.length-1;r>=0;--r){var n=t[r];"error"==e.data?n.setError():n.setSuccess("unchanged"==e.data)}}},!1),e.promise}function S(){c.enable&&o.token&&setTimeout(function(){A().then(function(e){e&&S()})},1e3*c.interval)}function A(){var e=x();if(c.iframe&&c.iframeOrigin){var t=o.clientId+" "+(o.sessionId?o.sessionId:"");c.callbackList.push(e);var r=c.iframeOrigin;1==c.callbackList.length&&c.iframe.contentWindow.postMessage(t,r)}else e.setSuccess();return e.promise}function E(){var e,t,r,n=x();if(c.enable||o.silentCheckSsoRedirectUri){var i=document.createElement("iframe");i.setAttribute("src",o.endpoints.thirdPartyCookiesIframe()),i.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),i.setAttribute("title","keycloak-3p-check-iframe"),i.style.display="none",document.body.appendChild(i);var s=function(e){i.contentWindow===e.source&&("supported"===e.data||"unsupported"===e.data)&&("unsupported"===e.data&&(h("[KEYCLOAK] Your browser is blocking access to 3rd-party cookies, this means:\n\n - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication).\n - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).\n\nFor more information see: https://www.keycloak.org/docs/latest/securing_apps/#_modern_browsers"),c.enable=!1,o.silentCheckSsoFallback&&(o.silentCheckSsoRedirectUri=!1)),document.body.removeChild(i),window.removeEventListener("message",s),n.setSuccess())};window.addEventListener("message",s,!1)}else n.setSuccess();return e=n.promise,t=o.messageReceiveTimeout,r=null,Promise.race([e,new Promise(function(e,n){r=setTimeout(function(){n({error:"Timeout when waiting for 3rd party check iframe message."})},t)})]).finally(function(){clearTimeout(r)})}function C(e){if(!e||"default"==e)return{login:function(e){return window.location.assign(o.createLoginUrl(e)),x().promise},logout:async function(e){if("GET"===(e?.logoutMethod??o.logoutMethod))return void window.location.replace(o.createLogoutUrl(e));let r=o.createLogoutUrl(e),n=await fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({id_token_hint:o.idToken,client_id:o.clientId,post_logout_redirect_uri:t.redirectUri(e,!1)})});if(n.redirected){window.location.href=n.url;return}if(n.ok)return void window.location.reload();throw Error("Logout failed, request returned an error code.")},register:function(e){return window.location.assign(o.createRegisterUrl(e)),x().promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0!==e)window.location.href=e;else throw"Not supported by the OIDC server";return x().promise},redirectUri:function(e,t){return e&&e.redirectUri?e.redirectUri:o.redirectUri?o.redirectUri:location.href}};if("cordova"==e){c.enable=!1;var r=function(e,t,r){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(e,t,r):window.open(e,t,r)},n=function(e){var t=e&&e.cordovaOptions?Object.keys(e.cordovaOptions).reduce(function(t,r){return t[r]=e.cordovaOptions[r],t},{}):{};return t.location="no",e&&"none"==e.prompt&&(t.hidden="yes"),Object.keys(t).reduce(function(e,r){return e.push(r+"="+t[r]),e},[]).join(",")},i=function(){return o.redirectUri||"http://localhost"};return{login:function(e){var t=x(),s=n(e),a=r(o.createLoginUrl(e),"_blank",s),c=!1,u=!1,l=function(){u=!0,a.close()};return a.addEventListener("loadstart",function(e){0==e.url.indexOf(i())&&(g(w(e.url),t),l(),c=!0)}),a.addEventListener("loaderror",function(e){c||(0==e.url.indexOf(i())?(g(w(e.url),t),l(),c=!0):(t.setError(),l()))}),a.addEventListener("exit",function(e){u||t.setError({reason:"closed_by_user"})}),t.promise},logout:function(e){var t,n=x(),s=r(o.createLogoutUrl(e),"_blank","location=no,hidden=yes,clearcache=yes");return s.addEventListener("loadstart",function(e){0==e.url.indexOf(i())&&s.close()}),s.addEventListener("loaderror",function(e){0==e.url.indexOf(i())||(t=!0),s.close()}),s.addEventListener("exit",function(e){t?n.setError():(o.clearToken(),n.setSuccess())}),n.promise},register:function(e){var t=x(),s=r(o.createRegisterUrl(),"_blank",n(e));return s.addEventListener("loadstart",function(e){0==e.url.indexOf(i())&&(s.close(),g(w(e.url),t))}),t.promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0!==e){var t=r(e,"_blank","location=no");t.addEventListener("loadstart",function(e){0==e.url.indexOf(i())&&t.close()})}else throw"Not supported by the OIDC server"},redirectUri:function(e){return i()}}}if("cordova-native"==e)return c.enable=!1,{login:function(e){var t=x(),r=o.createLoginUrl(e);return universalLinks.subscribe("keycloak",function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),g(w(e.url),t)}),window.cordova.plugins.browsertab.openUrl(r),t.promise},logout:function(e){var t=x(),r=o.createLogoutUrl(e);return universalLinks.subscribe("keycloak",function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),o.clearToken(),t.setSuccess()}),window.cordova.plugins.browsertab.openUrl(r),t.promise},register:function(e){var t=x(),r=o.createRegisterUrl(e);return universalLinks.subscribe("keycloak",function(e){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),g(w(e.url),t)}),window.cordova.plugins.browsertab.openUrl(r),t.promise},accountManagement:function(){var e=o.createAccountUrl();if(void 0!==e)window.cordova.plugins.browsertab.openUrl(e);else throw"Not supported by the OIDC server"},redirectUri:function(e){return e&&e.redirectUri?e.redirectUri:o.redirectUri?o.redirectUri:"http://localhost"}};throw"invalid adapter type: "+e}o.init=function(n){if(o.didInitialize)throw Error("A 'Keycloak' instance can only be initialized once.");if(o.didInitialize=!0,o.authenticated=!1,r=function(){try{return new O}catch(e){}return new U}(),t=n&&["default","cordova","cordova-native"].indexOf(n.adapter)>-1?C(n.adapter):n&&"object"==typeof n.adapter?n.adapter:window.Cordova||window.cordova?C("cordova"):C(),n){if(void 0!==n.useNonce&&(d=n.useNonce),void 0!==n.checkLoginIframe&&(c.enable=n.checkLoginIframe),n.checkLoginIframeInterval&&(c.interval=n.checkLoginIframeInterval),"login-required"===n.onLoad&&(o.loginRequired=!0),n.responseMode)if("query"===n.responseMode||"fragment"===n.responseMode)o.responseMode=n.responseMode;else throw"Invalid value for responseMode";if(n.flow){switch(n.flow){case"standard":o.responseType="code";break;case"implicit":o.responseType="id_token token";break;case"hybrid":o.responseType="code id_token token";break;default:throw"Invalid value for flow"}o.flow=n.flow}if(null!=n.timeSkew&&(o.timeSkew=n.timeSkew),n.redirectUri&&(o.redirectUri=n.redirectUri),n.silentCheckSsoRedirectUri&&(o.silentCheckSsoRedirectUri=n.silentCheckSsoRedirectUri),"boolean"==typeof n.silentCheckSsoFallback?o.silentCheckSsoFallback=n.silentCheckSsoFallback:o.silentCheckSsoFallback=!0,void 0!==n.pkceMethod){if("S256"!==n.pkceMethod&&!1!==n.pkceMethod)throw TypeError(`Invalid value for pkceMethod', expected 'S256' or false but got ${n.pkceMethod}.`);o.pkceMethod=n.pkceMethod}else o.pkceMethod="S256";"boolean"==typeof n.enableLogging?o.enableLogging=n.enableLogging:o.enableLogging=!1,"POST"===n.logoutMethod?o.logoutMethod="POST":o.logoutMethod="GET","string"==typeof n.scope&&(o.scope=n.scope),"string"==typeof n.acrValues&&(o.acrValues=n.acrValues),"number"==typeof n.messageReceiveTimeout&&n.messageReceiveTimeout>0?o.messageReceiveTimeout=n.messageReceiveTimeout:o.messageReceiveTimeout=1e4}o.responseMode||(o.responseMode="fragment"),o.responseType||(o.responseType="code",o.flow="standard");var i=x(),s=x();s.promise.then(function(){o.onReady&&o.onReady(o.authenticated),i.setSuccess(o.authenticated)}).catch(function(e){i.setError(e)});var a=function(t){var r=x();function n(e){e?o.endpoints={authorize:function(){return e.authorization_endpoint},token:function(){return e.token_endpoint},logout:function(){if(!e.end_session_endpoint)throw"Not supported by the OIDC server";return e.end_session_endpoint},checkSessionIframe:function(){if(!e.check_session_iframe)throw"Not supported by the OIDC server";return e.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!e.userinfo_endpoint)throw"Not supported by the OIDC server";return e.userinfo_endpoint}}:o.endpoints={authorize:function(){return m()+"/protocol/openid-connect/auth"},token:function(){return m()+"/protocol/openid-connect/token"},logout:function(){return m()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){var e=m()+"/protocol/openid-connect/login-status-iframe.html";return o.iframeVersion&&(e=e+"?version="+o.iframeVersion),e},thirdPartyCookiesIframe:function(){var e=m()+"/protocol/openid-connect/3p-cookies/step1.html";return o.iframeVersion&&(e=e+"?version="+o.iframeVersion),e},register:function(){return m()+"/protocol/openid-connect/registrations"},userinfo:function(){return m()+"/protocol/openid-connect/userinfo"}}}if(e?"string"==typeof e&&(a=e):a="keycloak.json",a){var i=new XMLHttpRequest;i.open("GET",a,!0),i.setRequestHeader("Accept","application/json"),i.onreadystatechange=function(){if(4==i.readyState)if(200==i.status||v(i)){var e=JSON.parse(i.responseText);o.authServerUrl=e["auth-server-url"],o.realm=e.realm,o.clientId=e.resource,n(null),r.setSuccess()}else r.setError()},i.send()}else{if(!e.clientId)throw"clientId missing";o.clientId=e.clientId;var s=e.oidcProvider;if(s)if("string"==typeof s){var a,c="/"==s.charAt(s.length-1)?s+".well-known/openid-configuration":s+"/.well-known/openid-configuration",i=new XMLHttpRequest;i.open("GET",c,!0),i.setRequestHeader("Accept","application/json"),i.onreadystatechange=function(){4==i.readyState&&(200==i.status||v(i)?(n(JSON.parse(i.responseText)),r.setSuccess()):r.setError())},i.send()}else n(s),r.setSuccess();else{if(!e.url){for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++)if(u[l].src.match(/.*keycloak\.js/)){e.url=u[l].src.substr(0,u[l].src.indexOf("/js/keycloak.js"));break}}if(!e.realm)throw"realm missing";o.authServerUrl=e.url,o.realm=e.realm,n(null),r.setSuccess()}}return r.promise}();function u(){var e=function(e){e||(r.prompt="none"),n&&n.locale&&(r.locale=n.locale),o.login(r).then(function(){s.setSuccess()}).catch(function(e){s.setError(e)})},t=function(){var e=document.createElement("iframe"),t=o.createLoginUrl({prompt:"none",redirectUri:o.silentCheckSsoRedirectUri});e.setAttribute("src",t),e.setAttribute("sandbox","allow-storage-access-by-user-activation allow-scripts allow-same-origin"),e.setAttribute("title","keycloak-silent-check-sso"),e.style.display="none",document.body.appendChild(e);var r=function(t){t.origin===window.location.origin&&e.contentWindow===t.source&&(g(w(t.data),s),document.body.removeChild(e),window.removeEventListener("message",r))};window.addEventListener("message",r)},r={};switch(n.onLoad){case"check-sso":c.enable?_().then(function(){A().then(function(r){r?s.setSuccess():o.silentCheckSsoRedirectUri?t():e(!1)}).catch(function(e){s.setError(e)})}):o.silentCheckSsoRedirectUri?t():e(!1);break;case"login-required":e(!0);break;default:throw"Invalid value for onLoad"}}function l(){var e=w(window.location.href);if(e&&window.history.replaceState(window.history.state,null,e.newUrl),e&&e.valid)return _().then(function(){g(e,s)}).catch(function(e){s.setError(e)});n?n.token&&n.refreshToken?(y(n.token,n.refreshToken,n.idToken),c.enable?_().then(function(){A().then(function(e){e?(o.onAuthSuccess&&o.onAuthSuccess(),s.setSuccess(),S()):s.setSuccess()}).catch(function(e){s.setError(e)})}):o.updateToken(-1).then(function(){o.onAuthSuccess&&o.onAuthSuccess(),s.setSuccess()}).catch(function(e){o.onAuthError&&o.onAuthError(),n.onLoad?u():s.setError(e)})):n.onLoad?u():s.setSuccess():s.setSuccess()}return a.then(function(){var e,t;(e=x(),t=function(){("interactive"===document.readyState||"complete"===document.readyState)&&(document.removeEventListener("readystatechange",t),e.setSuccess())},document.addEventListener("readystatechange",t),t(),e.promise).then(E).then(l).catch(function(e){i.setError(e)})}),a.catch(function(e){i.setError(e)}),i.promise},o.login=function(e){return t.login(e)},o.createLoginUrl=function(e){var i,s=b(),a=b(),c=t.redirectUri(e),u={state:s,nonce:a,redirectUri:encodeURIComponent(c)};e&&e.prompt&&(u.prompt=e.prompt),i=e&&"register"==e.action?o.endpoints.register():o.endpoints.authorize();var l=e&&e.scope||o.scope;l?-1===l.indexOf("openid")&&(l="openid "+l):l="openid";var f=i+"?client_id="+encodeURIComponent(o.clientId)+"&redirect_uri="+encodeURIComponent(c)+"&state="+encodeURIComponent(s)+"&response_mode="+encodeURIComponent(o.responseMode)+"&response_type="+encodeURIComponent(o.responseType)+"&scope="+encodeURIComponent(l);if(d&&(f=f+"&nonce="+encodeURIComponent(a)),e&&e.prompt&&(f+="&prompt="+encodeURIComponent(e.prompt)),e&&e.maxAge&&(f+="&max_age="+encodeURIComponent(e.maxAge)),e&&e.loginHint&&(f+="&login_hint="+encodeURIComponent(e.loginHint)),e&&e.idpHint&&(f+="&kc_idp_hint="+encodeURIComponent(e.idpHint)),e&&e.action&&"register"!=e.action&&(f+="&kc_action="+encodeURIComponent(e.action)),e&&e.locale&&(f+="&ui_locales="+encodeURIComponent(e.locale)),e&&e.acr&&(f+="&claims="+encodeURIComponent(JSON.stringify({id_token:{acr:e.acr}}))),(e&&e.acrValues||o.acrValues)&&(f+="&acr_values="+encodeURIComponent(e.acrValues||o.acrValues)),o.pkceMethod){var h=p(96,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789");u.pkceCodeVerifier=h,f+="&code_challenge="+function(e,t){if("S256"!==e)throw TypeError(`Invalid value for 'pkceMethod', expected 'S256' but got '${e}'.`);return btoa(String.fromCodePoint(...new Uint8Array(n.arrayBuffer(t)))).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")}(o.pkceMethod,h)+"&code_challenge_method="+o.pkceMethod}return r.add(u),f},o.logout=function(e){return t.logout(e)},o.createLogoutUrl=function(e){if("POST"===(e?.logoutMethod??o.logoutMethod))return o.endpoints.logout();var r=o.endpoints.logout()+"?client_id="+encodeURIComponent(o.clientId)+"&post_logout_redirect_uri="+encodeURIComponent(t.redirectUri(e,!1));return o.idToken&&(r+="&id_token_hint="+encodeURIComponent(o.idToken)),r},o.register=function(e){return t.register(e)},o.createRegisterUrl=function(e){return e||(e={}),e.action="register",o.createLoginUrl(e)},o.createAccountUrl=function(e){var r=m(),n=void 0;return void 0!==r&&(n=r+"/account?referrer="+encodeURIComponent(o.clientId)+"&referrer_uri="+encodeURIComponent(t.redirectUri(e))),n},o.accountManagement=function(){return t.accountManagement()},o.hasRealmRole=function(e){var t=o.realmAccess;return!!t&&t.roles.indexOf(e)>=0},o.hasResourceRole=function(e,t){if(!o.resourceAccess)return!1;var r=o.resourceAccess[t||o.clientId];return!!r&&r.roles.indexOf(e)>=0},o.loadUserProfile=function(){var e=m()+"/account",t=new XMLHttpRequest;t.open("GET",e,!0),t.setRequestHeader("Accept","application/json"),t.setRequestHeader("Authorization","bearer "+o.token);var r=x();return t.onreadystatechange=function(){4==t.readyState&&(200==t.status?(o.profile=JSON.parse(t.responseText),r.setSuccess(o.profile)):r.setError())},t.send(),r.promise},o.loadUserInfo=function(){var e=o.endpoints.userinfo(),t=new XMLHttpRequest;t.open("GET",e,!0),t.setRequestHeader("Accept","application/json"),t.setRequestHeader("Authorization","bearer "+o.token);var r=x();return t.onreadystatechange=function(){4==t.readyState&&(200==t.status?(o.userInfo=JSON.parse(t.responseText),r.setSuccess(o.userInfo)):r.setError())},t.send(),r.promise},o.isTokenExpired=function(e){if(!o.tokenParsed||!o.refreshToken&&"implicit"!=o.flow)throw"Not authenticated";if(null==o.timeSkew)return f("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"),!0;var t=o.tokenParsed.exp-Math.ceil(new Date().getTime()/1e3)+o.timeSkew;if(e){if(isNaN(e))throw"Invalid minValidity";t-=e}return t<0},o.updateToken=function(e){var t=x();if(!o.refreshToken)return t.setError(),t.promise;e=e||5;var r=function(){var r=!1;if(-1==e?(r=!0,f("[KEYCLOAK] Refreshing token: forced refresh")):(!o.tokenParsed||o.isTokenExpired(e))&&(r=!0,f("[KEYCLOAK] Refreshing token: token expired")),r){var n="grant_type=refresh_token&refresh_token="+o.refreshToken,i=o.endpoints.token();if(a.push(t),1==a.length){var s=new XMLHttpRequest;s.open("POST",i,!0),s.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s.withCredentials=!0,n+="&client_id="+encodeURIComponent(o.clientId);var c=new Date().getTime();s.onreadystatechange=function(){if(4==s.readyState)if(200==s.status){f("[KEYCLOAK] Token refreshed"),c=(c+new Date().getTime())/2;var e=JSON.parse(s.responseText);y(e.access_token,e.refresh_token,e.id_token,c),o.onAuthRefreshSuccess&&o.onAuthRefreshSuccess();for(var t=a.pop();null!=t;t=a.pop())t.setSuccess(!0)}else{h("[KEYCLOAK] Failed to refresh token"),400==s.status&&o.clearToken(),o.onAuthRefreshError&&o.onAuthRefreshError();for(var t=a.pop();null!=t;t=a.pop())t.setError(!0)}},s.send(n)}}else t.setSuccess(!1)};return c.enable?A().then(function(){r()}).catch(function(e){t.setError(e)}):r(),t.promise},o.clearToken=function(){o.token&&(y(null,null,null),o.onAuthLogout&&o.onAuthLogout(),o.loginRequired&&o.login())};var O=function(){if(!(this instanceof O))return new O;function e(){for(var e=new Date().getTime(),t=0;t<localStorage.length;t++){var r=localStorage.key(t);if(r&&0==r.indexOf("kc-callback-")){var n=localStorage.getItem(r);if(n)try{var o=JSON.parse(n).expires;(!o||o<e)&&localStorage.removeItem(r)}catch(e){localStorage.removeItem(r)}}}}localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test"),this.get=function(t){if(t){var r="kc-callback-"+t,n=localStorage.getItem(r);return n&&(localStorage.removeItem(r),n=JSON.parse(n)),e(),n}},this.add=function(t){e();var r="kc-callback-"+t.state;t.expires=new Date().getTime()+36e5,localStorage.setItem(r,JSON.stringify(t))}},U=function(){if(!(this instanceof U))return new U;this.get=function(n){if(n){var o=t("kc-callback-"+n);if(r("kc-callback-"+n,"",e(-100)),o)return JSON.parse(o)}},this.add=function(t){r("kc-callback-"+t.state,JSON.stringify(t),e(60))},this.removeItem=function(t){r(t,"",e(-100))};var e=function(e){var t=new Date;return t.setTime(t.getTime()+60*e*1e3),t},t=function(e){for(var t=e+"=",r=document.cookie.split(";"),n=0;n<r.length;n++){for(var o=r[n];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""},r=function(e,t,r){var n=e+"="+t+"; expires="+r.toUTCString()+"; ";document.cookie=n}};function I(e){return function(){o.enableLogging&&e.apply(console,Array.prototype.slice.call(arguments))}}}},12108:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(71847).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},14105:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:o,blurDataURL:i,objectFit:s}=e,a=n?40*n:t,c=o?40*o:r,u=a&&c?"viewBox='0 0 "+a+" "+c+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},14806:(e,t,r)=>{"use strict";e.exports=r(30125)},15239:(e,t,r)=>{"use strict";r.d(t,{default:()=>o.a});var n=r(54652),o=r.n(n)},20821:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumResponseBody:5e7,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},26550:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(71847).A)("panel-left-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]])},30125:(e,t,r)=>{"use strict";var n=r(12115),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,s=n.useEffect,a=n.useLayoutEffect,c=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),o=n[0].inst,l=n[1];return a(function(){o.value=r,o.getSnapshot=t,u(o)&&l({inst:o})},[e,r,t]),s(function(){return u(o)&&l({inst:o}),e(function(){u(o)&&l({inst:o})})},[e]),c(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:l},33455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let n=r(30943)._(r(12115)),o=r(20821),i=n.default.createContext(o.imageConfigDefault)},35299:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(71847).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},40246:(e,t,r)=>{var n,o=r(95704);!function(){"use strict";var t="input is invalid type",i="object"==typeof window,s=i?window:{};s.JS_SHA256_NO_WINDOW&&(i=!1);var a=!i&&"object"==typeof self,c=!s.JS_SHA256_NO_NODE_JS&&"object"==typeof o&&o.versions&&o.versions.node&&"renderer"!=o.type;c?s=r.g:a&&(s=self);var u=!s.JS_SHA256_NO_COMMON_JS&&e.exports,l=r.amdO,d=!s.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,f="0123456789abcdef".split(""),h=[-0x80000000,8388608,32768,128],p=[24,16,8,0],m=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],g=["hex","array","digest","arrayBuffer"],v=[];(s.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),d&&(s.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var y=function(e,t){return function(r){return new _(t,!0).update(r)[e]()}},b=function(e){var t=y("hex",e);c&&(t=w(t,e)),t.create=function(){return new _(e)},t.update=function(e){return t.create().update(e)};for(var r=0;r<g.length;++r){var n=g[r];t[n]=y(n,e)}return t},w=function(e,n){var o,i=r(24394),a=r(91903).Buffer,c=n?"sha224":"sha256";return o=a.from&&!s.JS_SHA256_NO_BUFFER_FROM?a.from:function(e){return new a(e)},function(r){if("string"==typeof r)return i.createHash(c).update(r,"utf8").digest("hex");if(null==r)throw Error(t);return r.constructor===ArrayBuffer&&(r=new Uint8Array(r)),Array.isArray(r)||ArrayBuffer.isView(r)||r.constructor===a?i.createHash(c).update(o(r)).digest("hex"):e(r)}},k=function(e,t){return function(r,n){return new S(r,t,!0).update(n)[e]()}},x=function(e){var t=k("hex",e);t.create=function(t){return new S(t,e)},t.update=function(e,r){return t.create(e).update(r)};for(var r=0;r<g.length;++r){var n=g[r];t[n]=k(n,e)}return t};function _(e,t){t?(v[0]=v[16]=v[1]=v[2]=v[3]=v[4]=v[5]=v[6]=v[7]=v[8]=v[9]=v[10]=v[11]=v[12]=v[13]=v[14]=v[15]=0,this.blocks=v):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=0xc1059ed8,this.h1=0x367cd507,this.h2=0x3070dd17,this.h3=0xf70e5939,this.h4=0xffc00b31,this.h5=0x68581511,this.h6=0x64f98fa7,this.h7=0xbefa4fa4):(this.h0=0x6a09e667,this.h1=0xbb67ae85,this.h2=0x3c6ef372,this.h3=0xa54ff53a,this.h4=0x510e527f,this.h5=0x9b05688c,this.h6=0x1f83d9ab,this.h7=0x5be0cd19),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function S(e,r,n){var o,i=typeof e;if("string"===i){var s,a=[],c=e.length,u=0;for(o=0;o<c;++o)(s=e.charCodeAt(o))<128?a[u++]=s:(s<2048?a[u++]=192|s>>>6:(s<55296||s>=57344?a[u++]=224|s>>>12:(s=65536+((1023&s)<<10|1023&e.charCodeAt(++o)),a[u++]=240|s>>>18,a[u++]=128|s>>>12&63),a[u++]=128|s>>>6&63),a[u++]=128|63&s);e=a}else if("object"===i){if(null===e)throw Error(t);else if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!d||!ArrayBuffer.isView(e)))throw Error(t)}else throw Error(t);e.length>64&&(e=new _(r,!0).update(e).array());var l=[],f=[];for(o=0;o<64;++o){var h=e[o]||0;l[o]=92^h,f[o]=54^h}_.call(this,r,n),this.update(f),this.oKeyPad=l,this.inner=!0,this.sharedMemory=n}_.prototype.update=function(e){if(!this.finalized){var r,n=typeof e;if("string"!==n){if("object"===n){if(null===e)throw Error(t);else if(d&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!d||!ArrayBuffer.isView(e)))throw Error(t)}else throw Error(t);r=!0}for(var o,i,s=0,a=e.length,c=this.blocks;s<a;){if(this.hashed&&(this.hashed=!1,c[0]=this.block,this.block=c[16]=c[1]=c[2]=c[3]=c[4]=c[5]=c[6]=c[7]=c[8]=c[9]=c[10]=c[11]=c[12]=c[13]=c[14]=c[15]=0),r)for(i=this.start;s<a&&i<64;++s)c[i>>>2]|=e[s]<<p[3&i++];else for(i=this.start;s<a&&i<64;++s)(o=e.charCodeAt(s))<128?c[i>>>2]|=o<<p[3&i++]:(o<2048?c[i>>>2]|=(192|o>>>6)<<p[3&i++]:(o<55296||o>=57344?c[i>>>2]|=(224|o>>>12)<<p[3&i++]:(o=65536+((1023&o)<<10|1023&e.charCodeAt(++s)),c[i>>>2]|=(240|o>>>18)<<p[3&i++],c[i>>>2]|=(128|o>>>12&63)<<p[3&i++]),c[i>>>2]|=(128|o>>>6&63)<<p[3&i++]),c[i>>>2]|=(128|63&o)<<p[3&i++]);this.lastByteIndex=i,this.bytes+=i-this.start,i>=64?(this.block=c[16],this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>0xffffffff&&(this.hBytes+=this.bytes/0x100000000|0,this.bytes=this.bytes%0x100000000),this}},_.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>>2]|=h[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},_.prototype.hash=function(){var e,t,r,n,o,i,s,a,c,u,l=this.h0,d=this.h1,f=this.h2,h=this.h3,p=this.h4,g=this.h5,v=this.h6,y=this.h7,b=this.blocks;for(e=16;e<64;++e)t=((o=b[e-15])>>>7|o<<25)^(o>>>18|o<<14)^o>>>3,r=((o=b[e-2])>>>17|o<<15)^(o>>>19|o<<13)^o>>>10,b[e]=b[e-16]+t+b[e-7]+r|0;for(e=0,u=d&f;e<64;e+=4)this.first?(this.is224?(s=300032,y=(o=b[0]-0x543c9a5b)-0x8f1a6c7|0,h=o+0x170e9b5|0):(s=0x2a01a605,y=(o=b[0]-0xc881298)-0x5ab00ac6|0,h=o+0x8909ae5|0),this.first=!1):(t=(l>>>2|l<<30)^(l>>>13|l<<19)^(l>>>22|l<<10),r=(p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7),n=(s=l&d)^l&f^u,o=y+r+(p&g^~p&v)+m[e]+b[e],i=t+n,y=h+o|0,h=o+i|0),t=(h>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10),r=(y>>>6|y<<26)^(y>>>11|y<<21)^(y>>>25|y<<7),n=(a=h&l)^h&d^s,o=v+r+(y&p^~y&g)+m[e+1]+b[e+1],i=t+n,v=f+o|0,t=((f=o+i|0)>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10),r=(v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7),n=(c=f&h)^f&l^a,o=g+r+(v&y^~v&p)+m[e+2]+b[e+2],i=t+n,g=d+o|0,t=((d=o+i|0)>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),r=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7),n=(u=d&f)^d&h^c,o=p+r+(g&v^~g&y)+m[e+3]+b[e+3],i=t+n,p=l+o|0,l=o+i|0,this.chromeBugWorkAround=!0;this.h0=this.h0+l|0,this.h1=this.h1+d|0,this.h2=this.h2+f|0,this.h3=this.h3+h|0,this.h4=this.h4+p|0,this.h5=this.h5+g|0,this.h6=this.h6+v|0,this.h7=this.h7+y|0},_.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,o=this.h4,i=this.h5,s=this.h6,a=this.h7,c=f[e>>>28&15]+f[e>>>24&15]+f[e>>>20&15]+f[e>>>16&15]+f[e>>>12&15]+f[e>>>8&15]+f[e>>>4&15]+f[15&e]+f[t>>>28&15]+f[t>>>24&15]+f[t>>>20&15]+f[t>>>16&15]+f[t>>>12&15]+f[t>>>8&15]+f[t>>>4&15]+f[15&t]+f[r>>>28&15]+f[r>>>24&15]+f[r>>>20&15]+f[r>>>16&15]+f[r>>>12&15]+f[r>>>8&15]+f[r>>>4&15]+f[15&r]+f[n>>>28&15]+f[n>>>24&15]+f[n>>>20&15]+f[n>>>16&15]+f[n>>>12&15]+f[n>>>8&15]+f[n>>>4&15]+f[15&n]+f[o>>>28&15]+f[o>>>24&15]+f[o>>>20&15]+f[o>>>16&15]+f[o>>>12&15]+f[o>>>8&15]+f[o>>>4&15]+f[15&o]+f[i>>>28&15]+f[i>>>24&15]+f[i>>>20&15]+f[i>>>16&15]+f[i>>>12&15]+f[i>>>8&15]+f[i>>>4&15]+f[15&i]+f[s>>>28&15]+f[s>>>24&15]+f[s>>>20&15]+f[s>>>16&15]+f[s>>>12&15]+f[s>>>8&15]+f[s>>>4&15]+f[15&s];return this.is224||(c+=f[a>>>28&15]+f[a>>>24&15]+f[a>>>20&15]+f[a>>>16&15]+f[a>>>12&15]+f[a>>>8&15]+f[a>>>4&15]+f[15&a]),c},_.prototype.toString=_.prototype.hex,_.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,o=this.h4,i=this.h5,s=this.h6,a=this.h7,c=[e>>>24&255,e>>>16&255,e>>>8&255,255&e,t>>>24&255,t>>>16&255,t>>>8&255,255&t,r>>>24&255,r>>>16&255,r>>>8&255,255&r,n>>>24&255,n>>>16&255,n>>>8&255,255&n,o>>>24&255,o>>>16&255,o>>>8&255,255&o,i>>>24&255,i>>>16&255,i>>>8&255,255&i,s>>>24&255,s>>>16&255,s>>>8&255,255&s];return this.is224||c.push(a>>>24&255,a>>>16&255,a>>>8&255,255&a),c},_.prototype.array=_.prototype.digest,_.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},S.prototype=new _,S.prototype.finalize=function(){if(_.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();_.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),_.prototype.finalize.call(this)}};var A=b();A.sha256=A,A.sha224=b(!0),A.sha256.hmac=x(),A.sha224.hmac=x(!0),u?e.exports=A:(s.sha256=A.sha256,s.sha224=A.sha224,l&&(void 0===(n=(function(){return A}).call(A,r,A,e))||(e.exports=n)))}()},46591:(e,t,r)=>{"use strict";r.d(t,{H4:()=>S,_V:()=>_,bL:()=>x});var n=r(12115),o=r(3468),i=r(70222),s=r(4129),a=r(88142),c=r(14806);function u(){return()=>{}}var l=r(95155),d="Avatar",[f,h]=(0,o.A)(d),[p,m]=f(d),g=n.forwardRef((e,t)=>{let{__scopeAvatar:r,...o}=e,[i,s]=n.useState("idle");return(0,l.jsx)(p,{scope:r,imageLoadingStatus:i,onImageLoadingStatusChange:s,children:(0,l.jsx)(a.sG.span,{...o,ref:t})})});g.displayName=d;var v="AvatarImage",y=n.forwardRef((e,t)=>{let{__scopeAvatar:r,src:o,onLoadingStatusChange:d=()=>{},...f}=e,h=m(v,r),p=function(e,t){let{referrerPolicy:r,crossOrigin:o}=t,i=(0,c.useSyncExternalStore)(u,()=>!0,()=>!1),a=n.useRef(null),l=i?(a.current||(a.current=new window.Image),a.current):null,[d,f]=n.useState(()=>k(l,e));return(0,s.N)(()=>{f(k(l,e))},[l,e]),(0,s.N)(()=>{let e=e=>()=>{f(e)};if(!l)return;let t=e("loaded"),n=e("error");return l.addEventListener("load",t),l.addEventListener("error",n),r&&(l.referrerPolicy=r),"string"==typeof o&&(l.crossOrigin=o),()=>{l.removeEventListener("load",t),l.removeEventListener("error",n)}},[l,o,r]),d}(o,f),g=(0,i.c)(e=>{d(e),h.onImageLoadingStatusChange(e)});return(0,s.N)(()=>{"idle"!==p&&g(p)},[p,g]),"loaded"===p?(0,l.jsx)(a.sG.img,{...f,ref:t,src:o}):null});y.displayName=v;var b="AvatarFallback",w=n.forwardRef((e,t)=>{let{__scopeAvatar:r,delayMs:o,...i}=e,s=m(b,r),[c,u]=n.useState(void 0===o);return n.useEffect(()=>{if(void 0!==o){let e=window.setTimeout(()=>u(!0),o);return()=>window.clearTimeout(e)}},[o]),c&&"loaded"!==s.imageLoadingStatus?(0,l.jsx)(a.sG.span,{...i,ref:t}):null});function k(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}w.displayName=b;var x=g,_=y,S=w},47937:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(71847).A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},54652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return c},getImageProps:function(){return a}});let n=r(30943),o=r(75040),i=r(81356),s=n._(r(71124));function a(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=i.Image},55867:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(71847).A)("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]])},60861:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},61911:(e,t,r)=>{"use strict";function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{_:()=>n})},65993:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(71847).A)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},66218:(e,t,r)=>{"use strict";r.d(t,{jH:()=>i});var n=r(12115);r(95155);var o=n.createContext(void 0);function i(e){let t=n.useContext(o);return e||t||"ltr"}},69023:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(61911);function o(e,t,r){var o=(0,n._)(e,t,"set");if(o.set)o.set.call(e,r);else{if(!o.writable)throw TypeError("attempted to set read only private field");o.value=r}return r}},71124:(e,t)=>{"use strict";function r(e){var t;let{config:r,src:n,width:o,quality:i}=e,s=i||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+o+"&q="+s+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},74841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return d}});let n=r(30943),o=r(88604),i=r(95155),s=o._(r(12115)),a=n._(r(1262)),c=r(90737),u=r(82073),l=r(60861);function d(e){void 0===e&&(e=!1);let t=[(0,i.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,i.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(94781);let h=["name","httpEquiv","charSet","itemProp"];function p(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(d(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let i=!0,s=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){s=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?i=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?i=!1:t.add(o.type);break;case"meta":for(let e=0,t=h.length;e<t;e++){let t=h[e];if(o.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?i=!1:r.add(t);else{let e=o.props[t],r=n[t]||new Set;("name"!==t||!s)&&r.has(e)?i=!1:(r.add(e),n[t]=r)}}}return i}}()).reverse().map((e,t)=>{let r=e.key||t;return s.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,r=(0,s.useContext)(c.AmpStateContext),n=(0,s.useContext)(u.HeadManagerContext);return(0,i.jsx)(a.default,{reduceComponentsToState:p,headManager:n,inAmpMode:(0,l.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return c}}),r(94781);let n=r(14105),o=r(20821),i=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function c(e,t){var r,c;let u,l,d,{src:f,sizes:h,unoptimized:p=!1,priority:m=!1,loading:g,className:v,quality:y,width:b,height:w,fill:k=!1,style:x,overrideSrc:_,onLoad:S,onLoadingComplete:A,placeholder:E="empty",blurDataURL:C,fetchPriority:O,decoding:U="async",layout:I,objectFit:R,objectPosition:T,lazyBoundary:M,lazyRoot:P,...j}=e,{imgConf:L,showAltText:z,blurComplete:N,defaultLoader:D}=t,H=L||o.imageConfigDefault;if("allSizes"in H)u=H;else{let e=[...H.deviceSizes,...H.imageSizes].sort((e,t)=>e-t),t=H.deviceSizes.sort((e,t)=>e-t),n=null==(r=H.qualities)?void 0:r.sort((e,t)=>e-t);u={...H,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===D)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let V=j.loader||D;delete j.loader,delete j.srcSet;let B="__next_img_default"in V;if(B){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=V;V=t=>{let{config:r,...n}=t;return e(n)}}if(I){"fill"===I&&(k=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[I];e&&(x={...x,...e});let t={responsive:"100vw",fill:"100vw"}[I];t&&!h&&(h=t)}let q="",F=a(b),J=a(w),K=!1;if((c=f)&&"object"==typeof c&&(s(c)||void 0!==c.src)){let e=s(f)?f.default:f;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(l=e.blurWidth,d=e.blurHeight,C=C||e.blurDataURL,q=e.src,K=/\.avif(?:\?|$)/i.test(q),!k)if(F||J){if(F&&!J){let t=F/e.width;J=Math.round(e.height*t)}else if(!F&&J){let t=J/e.height;F=Math.round(e.width*t)}}else F=e.width,J=e.height}K&&"blur"===E&&!C&&(E="empty");let G=!m&&("lazy"===g||void 0===g);(!(f="string"==typeof f?f:q)||f.startsWith("data:")||f.startsWith("blob:"))&&(p=!0,G=!1),u.unoptimized&&(p=!0),B&&!u.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(p=!0);let W=a(y),Y=Object.assign(k?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:R,objectPosition:T}:{},z?{}:{color:"transparent"},x),X=N||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:F,heightInt:J,blurWidth:l,blurHeight:d,blurDataURL:C||"",objectFit:Y.objectFit})+'")':'url("'+E+'")',$=i.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,Q=X?{backgroundSize:$,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:X}:{},Z=function(e){let{config:t,src:r,unoptimized:n,width:o,quality:i,sizes:s,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:c,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:o}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}(t,o,s),l=c.length-1;return{sizes:s||"w"!==u?s:"100vw",srcSet:c.map((e,n)=>a({config:t,src:r,quality:i,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:a({config:t,src:r,quality:i,width:c[l]})}}({config:u,src:f,unoptimized:p,width:F,quality:W,sizes:h,loader:V});return{props:{...j,loading:G?"lazy":g,fetchPriority:O,width:F,height:J,decoding:U,className:v,style:{...Y,...Q},sizes:Z.sizes,srcSet:Z.srcSet,src:_||Z.src},meta:{unoptimized:p,priority:m,placeholder:E,fill:k}}}},77625:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(71847).A)("chart-no-axes-combined",[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]])},77931:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(71847).A)("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]])},79862:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(30943)._(r(12115)).default.createContext(null)},80534:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(71847).A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},81356:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let n=r(30943),o=r(88604),i=r(95155),s=o._(r(12115)),a=n._(r(47650)),c=n._(r(74841)),u=r(75040),l=r(20821),d=r(33455);r(94781);let f=r(79862),h=n._(r(71124)),p=r(83011),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,r,n,o,i,s){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function v(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,s.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:o,height:a,width:c,decoding:u,className:l,style:d,fetchPriority:f,placeholder:h,loading:m,unoptimized:y,fill:b,onLoadRef:w,onLoadingCompleteRef:k,setBlurComplete:x,setShowAltText:_,sizesInput:S,onLoad:A,onError:E,...C}=e,O=(0,s.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&g(e,h,w,k,x,y,S))},[r,h,w,k,x,E,y,S]),U=(0,p.useMergedRef)(t,O);return(0,i.jsx)("img",{...C,...v(f),loading:m,width:c,height:a,decoding:u,"data-nimg":b?"fill":"1",className:l,style:d,sizes:o,srcSet:n,src:r,ref:U,onLoad:e=>{g(e.currentTarget,h,w,k,x,y,S)},onError:e=>{_(!0),"empty"!==h&&x(!0),E&&E(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...v(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,i.jsx)(c.default,{children:(0,i.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let w=(0,s.forwardRef)((e,t)=>{let r=(0,s.useContext)(f.RouterContext),n=(0,s.useContext)(d.ImageConfigContext),o=(0,s.useMemo)(()=>{var e;let t=m||n||l.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),o=t.deviceSizes.sort((e,t)=>e-t),i=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:o,qualities:i}},[n]),{onLoad:a,onLoadingComplete:c}=e,p=(0,s.useRef)(a);(0,s.useEffect)(()=>{p.current=a},[a]);let g=(0,s.useRef)(c);(0,s.useEffect)(()=>{g.current=c},[c]);let[v,w]=(0,s.useState)(!1),[k,x]=(0,s.useState)(!1),{props:_,meta:S}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:o,blurComplete:v,showAltText:k});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(y,{..._,unoptimized:S.unoptimized,placeholder:S.placeholder,fill:S.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:x,sizesInput:e.sizes,ref:t}),S.priority?(0,i.jsx)(b,{isAppRouter:!r,imgAttributes:_}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84926:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(71847).A)("log-out",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]])},90737:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(30943)._(r(12115)).default.createContext({})},97239:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(61911);function o(e,t){var r=(0,n._)(e,t,"get");return r.get?r.get.call(e):r.value}},97999:(e,t,r)=>{"use strict";function n(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}r.d(t,{_:()=>n})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[747],{5917:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(71847).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},16485:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(71847).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},18514:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(71847).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},26341:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(71847).A)("cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]])},35646:(e,r,t)=>{t.d(r,{UC:()=>_,VY:()=>L,ZD:()=>P,ZL:()=>S,bL:()=>O,hE:()=>I,hJ:()=>V,l9:()=>q,rc:()=>z});var l=t(12115),a=t(3468),n=t(94446),i=t(88292),o=t(92556),c=t(32467),d=t(95155),s="AlertDialog",[u,p]=(0,a.A)(s,[i.Hs]),y=(0,i.Hs)(),f=e=>{let{__scopeAlertDialog:r,...t}=e,l=y(r);return(0,d.jsx)(i.bL,{...l,...t,modal:!0})};f.displayName=s;var h=l.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...l}=e,a=y(t);return(0,d.jsx)(i.l9,{...a,...l,ref:r})});h.displayName="AlertDialogTrigger";var m=e=>{let{__scopeAlertDialog:r,...t}=e,l=y(r);return(0,d.jsx)(i.ZL,{...l,...t})};m.displayName="AlertDialogPortal";var v=l.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...l}=e,a=y(t);return(0,d.jsx)(i.hJ,{...a,...l,ref:r})});v.displayName="AlertDialogOverlay";var x="AlertDialogContent",[g,k]=u(x),A=(0,c.Dc)("AlertDialogContent"),w=l.forwardRef((e,r)=>{let{__scopeAlertDialog:t,children:a,...c}=e,s=y(t),u=l.useRef(null),p=(0,n.s)(r,u),f=l.useRef(null);return(0,d.jsx)(i.G$,{contentName:x,titleName:b,docsSlug:"alert-dialog",children:(0,d.jsx)(g,{scope:t,cancelRef:f,children:(0,d.jsxs)(i.UC,{role:"alertdialog",...s,...c,ref:p,onOpenAutoFocus:(0,o.m)(c.onOpenAutoFocus,e=>{var r;e.preventDefault(),null==(r=f.current)||r.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,d.jsx)(A,{children:a}),(0,d.jsx)(E,{contentRef:u})]})})})});w.displayName=x;var b="AlertDialogTitle",j=l.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...l}=e,a=y(t);return(0,d.jsx)(i.hE,{...a,...l,ref:r})});j.displayName=b;var D="AlertDialogDescription",N=l.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...l}=e,a=y(t);return(0,d.jsx)(i.VY,{...a,...l,ref:r})});N.displayName=D;var C=l.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...l}=e,a=y(t);return(0,d.jsx)(i.bm,{...a,...l,ref:r})});C.displayName="AlertDialogAction";var R="AlertDialogCancel",M=l.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...l}=e,{cancelRef:a}=k(R,t),o=y(t),c=(0,n.s)(r,a);return(0,d.jsx)(i.bm,{...o,...l,ref:c})});M.displayName=R;var E=e=>{let{contentRef:r}=e,t="`".concat(x,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(x,"` by passing a `").concat(D,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(x,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return l.useEffect(()=>{var e;document.getElementById(null==(e=r.current)?void 0:e.getAttribute("aria-describedby"))||console.warn(t)},[t,r]),null},O=f,q=h,S=m,V=v,_=w,z=C,P=M,I=j,L=N},39926:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(71847).A)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]])},50803:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(71847).A)("terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]])},57268:(e,r,t)=>{t.d(r,{b:()=>d});var l=t(12115),a=t(88142),n=t(95155),i="horizontal",o=["horizontal","vertical"],c=l.forwardRef((e,r)=>{var t;let{decorative:l,orientation:c=i,...d}=e,s=(t=c,o.includes(t))?c:i;return(0,n.jsx)(a.sG.div,{"data-orientation":s,...l?{role:"none"}:{"aria-orientation":"vertical"===s?s:void 0,role:"separator"},...d,ref:r})});c.displayName="Separator";var d=c},61362:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(71847).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},71360:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(71847).A)("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},79451:(e,r,t)=>{t.d(r,{A:()=>l});let l=(0,t(71847).A)("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]])},88142:(e,r,t)=>{t.d(r,{sG:()=>d,hO:()=>s});var l=t(12115),a=t(47650),n=t(94446),i=t(95155),o=Symbol("radix.slottable");function c(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let t=function(e){let r=function(e){let r=l.forwardRef((e,r)=>{let{children:t,...a}=e;if(l.isValidElement(t)){var i;let e,o,c=(i=t,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),d=function(e,r){let t={...r};for(let l in r){let a=e[l],n=r[l];/^on[A-Z]/.test(l)?a&&n?t[l]=(...e)=>{n(...e),a(...e)}:a&&(t[l]=a):"style"===l?t[l]={...a,...n}:"className"===l&&(t[l]=[a,n].filter(Boolean).join(" "))}return{...e,...t}}(a,t.props);return t.type!==l.Fragment&&(d.ref=r?(0,n.t)(r,c):c),l.cloneElement(t,d)}return l.Children.count(t)>1?l.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}(e),t=l.forwardRef((e,t)=>{let{children:a,...n}=e,o=l.Children.toArray(a),d=o.find(c);if(d){let e=d.props.children,a=o.map(r=>r!==d?r:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,i.jsx)(r,{...n,ref:t,children:l.isValidElement(e)?l.cloneElement(e,void 0,a):null})}return(0,i.jsx)(r,{...n,ref:t,children:a})});return t.displayName=`${e}.Slot`,t}(`Primitive.${r}`),a=l.forwardRef((e,l)=>{let{asChild:a,...n}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(a?t:r,{...n,ref:l})});return a.displayName=`Primitive.${r}`,{...e,[r]:a}},{});function s(e,r){e&&a.flushSync(()=>e.dispatchEvent(r))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[749],{1473:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]])},1524:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("trending-up",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},6132:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},6926:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("gavel",[["path",{d:"m14.5 12.5-8 8a2.119 2.119 0 1 1-3-3l8-8",key:"15492f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m9 7 8 8",key:"5jnvq1"}],["path",{d:"m21 11-8-8",key:"z4y7zo"}]])},8803:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]])},9602:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]])},10383:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])},18085:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},20448:(e,t,r)=>{r.d(t,{UC:()=>ey,Y9:()=>ep,q7:()=>ef,bL:()=>eu,l9:()=>eh});var n,l=r(12115),a=r(3468),i=r(97239),o=r(97999),d=r(69023),c=r(94446),s=r(95155);function u(e){let t=function(e){let t=l.forwardRef((e,t)=>{var r,n,a;let i,o,{children:d,...s}=e,u=l.isValidElement(d)?(o=(i=null==(n=Object.getOwnPropertyDescriptor((r=d).props,"ref"))?void 0:n.get)&&"isReactWarning"in i&&i.isReactWarning)?r.ref:(o=(i=null==(a=Object.getOwnPropertyDescriptor(r,"ref"))?void 0:a.get)&&"isReactWarning"in i&&i.isReactWarning)?r.props.ref:r.props.ref||r.ref:void 0,f=(0,c.s)(u,t);if(l.isValidElement(d)){let e=function(e,t){let r={...t};for(let n in t){let l=e[n],a=t[n];/^on[A-Z]/.test(n)?l&&a?r[n]=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=a(...t);return l(...t),n}:l&&(r[n]=l):"style"===n?r[n]={...l,...a}:"className"===n&&(r[n]=[l,a].filter(Boolean).join(" "))}return{...e,...r}}(s,d.props);return d.type!==l.Fragment&&(e.ref=f),l.cloneElement(d,e)}return l.Children.count(d)>1?l.Children.only(null):null});return t.displayName="".concat(e,".SlotClone"),t}(e),r=l.forwardRef((e,r)=>{let{children:n,...a}=e,i=l.Children.toArray(n),o=i.find(p);if(o){let e=o.props.children,n=i.map(t=>t!==o?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,s.jsx)(t,{...a,ref:r,children:l.isValidElement(e)?l.cloneElement(e,void 0,n):null})}return(0,s.jsx)(t,{...a,ref:r,children:n})});return r.displayName="".concat(e,".Slot"),r}var f=Symbol("radix.slottable");function p(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}var h=new WeakMap;function y(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=m(t),l=n>=0?n:r+n;return l<0||l>=r?-1:l}(e,t);return -1===r?void 0:e[r]}function m(e){return e!=e||0===e?0:Math.trunc(e)}n=new WeakMap,class e extends Map{set(e,t){return h.get(this)&&(this.has(e)?(0,i._)(this,n)[(0,i._)(this,n).indexOf(e)]=e:(0,i._)(this,n).push(e)),super.set(e,t),this}insert(e,t,r){let l,a=this.has(t),o=(0,i._)(this,n).length,d=m(e),c=d>=0?d:o+d,s=c<0||c>=o?-1:c;if(s===this.size||a&&s===this.size-1||-1===s)return this.set(t,r),this;let u=this.size+ +!a;d<0&&c++;let f=[...(0,i._)(this,n)],p=!1;for(let e=c;e<u;e++)if(c===e){let n=f[e];f[e]===t&&(n=f[e+1]),a&&this.delete(t),l=this.get(n),this.set(t,r)}else{p||f[e-1]!==t||(p=!0);let r=f[p?e:e-1],n=l;l=this.get(r),this.delete(r),this.set(r,n)}return this}with(t,r,n){let l=new e(this);return l.insert(t,r,n),l}before(e){let t=(0,i._)(this,n).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let l=(0,i._)(this,n).indexOf(e);return -1===l?this:this.insert(l,t,r)}after(e){let t=(0,i._)(this,n).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let l=(0,i._)(this,n).indexOf(e);return -1===l?this:this.insert(l+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return(0,d._)(this,n,[]),super.clear()}delete(e){let t=super.delete(e);return t&&(0,i._)(this,n).splice((0,i._)(this,n).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=y((0,i._)(this,n),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=y((0,i._)(this,n),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return(0,i._)(this,n).indexOf(e)}keyAt(e){return y((0,i._)(this,n),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],l=0;for(let e of this)Reflect.apply(t,r,[e,l,this])&&n.push(e),l++;return new e(n)}map(t,r){let n=[],l=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,l,this])]),l++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,l]=t,a=0,i=null!=l?l:this.at(0);for(let e of this)i=0===a&&1===t.length?e:Reflect.apply(n,this,[i,e,a,this]),a++;return i}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,l]=t,a=null!=l?l:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);a=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[a,r,e,this])}return a}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let l=[...this.entries()];return l.splice(...r),new e(l)}slice(t,r){let n=new e,l=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(l=r-1);for(let e=t;e<=l;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}constructor(e){super(e),(0,o._)(this,n,{writable:!0,value:void 0}),(0,d._)(this,n,[...super.keys()]),h.set(this,!0)}};var v=r(92556),k=r(23558);r(47650);var g=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=u(`Primitive.${t}`),n=l.forwardRef((e,n)=>{let{asChild:l,...a}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(l?r:t,{...a,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),A=r(4129),x=r(76842),b=r(68946),w="Collapsible",[M,R]=(0,a.A)(w),[C,E]=M(w),j=l.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:n,defaultOpen:a,disabled:i,onOpenChange:o,...d}=e,[c,u]=(0,k.i)({prop:n,defaultProp:null!=a&&a,onChange:o,caller:w});return(0,s.jsx)(C,{scope:r,disabled:i,contentId:(0,b.B)(),open:c,onOpenToggle:l.useCallback(()=>u(e=>!e),[u]),children:(0,s.jsx)(g.div,{"data-state":_(c),"data-disabled":i?"":void 0,...d,ref:t})})});j.displayName=w;var N="CollapsibleTrigger",I=l.forwardRef((e,t)=>{let{__scopeCollapsible:r,...n}=e,l=E(N,r);return(0,s.jsx)(g.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":_(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...n,ref:t,onClick:(0,v.m)(e.onClick,l.onOpenToggle)})});I.displayName=N;var S="CollapsibleContent",z=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,l=E(S,e.__scopeCollapsible);return(0,s.jsx)(x.C,{present:r||l.open,children:e=>{let{present:r}=e;return(0,s.jsx)(O,{...n,ref:t,present:r})}})});z.displayName=S;var O=l.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:n,children:a,...i}=e,o=E(S,r),[d,u]=l.useState(n),f=l.useRef(null),p=(0,c.s)(t,f),h=l.useRef(0),y=h.current,m=l.useRef(0),v=m.current,k=o.open||d,x=l.useRef(k),b=l.useRef(void 0);return l.useEffect(()=>{let e=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,A.N)(()=>{let e=f.current;if(e){b.current=b.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();h.current=t.height,m.current=t.width,x.current||(e.style.transitionDuration=b.current.transitionDuration,e.style.animationName=b.current.animationName),u(n)}},[o.open,n]),(0,s.jsx)(g.div,{"data-state":_(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!k,...i,ref:p,style:{"--radix-collapsible-content-height":y?"".concat(y,"px"):void 0,"--radix-collapsible-content-width":v?"".concat(v,"px"):void 0,...e.style},children:k&&a})});function _(e){return e?"open":"closed"}var D=r(66218),q="Accordion",P=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[V,T,L]=function(e){let t=e+"CollectionProvider",[r,n]=(0,a.A)(t),[i,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,n=l.useRef(null),a=l.useRef(new Map).current;return(0,s.jsx)(i,{scope:t,itemMap:a,collectionRef:n,children:r})};d.displayName=t;let f=e+"CollectionSlot",p=u(f),h=l.forwardRef((e,t)=>{let{scope:r,children:n}=e,l=o(f,r),a=(0,c.s)(t,l.collectionRef);return(0,s.jsx)(p,{ref:a,children:n})});h.displayName=f;let y=e+"CollectionItemSlot",m="data-radix-collection-item",v=u(y),k=l.forwardRef((e,t)=>{let{scope:r,children:n,...a}=e,i=l.useRef(null),d=(0,c.s)(t,i),u=o(y,r);return l.useEffect(()=>(u.itemMap.set(i,{ref:i,...a}),()=>void u.itemMap.delete(i))),(0,s.jsx)(v,{...{[m]:""},ref:d,children:n})});return k.displayName=y,[{Provider:d,Slot:h,ItemSlot:k},function(t){let r=o(e+"CollectionConsumer",t);return l.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(q),[F,B]=(0,a.A)(q,[L,R]),H=R(),U=l.forwardRef((e,t)=>{let{type:r,...n}=e;return(0,s.jsx)(V.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,s.jsx)(J,{...n,ref:t}):(0,s.jsx)($,{...n,ref:t})})});U.displayName=q;var[K,W]=F(q),[G,Z]=F(q,{collapsible:!1}),$=l.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:a=()=>{},collapsible:i=!1,...o}=e,[d,c]=(0,k.i)({prop:r,defaultProp:null!=n?n:"",onChange:a,caller:q});return(0,s.jsx)(K,{scope:e.__scopeAccordion,value:l.useMemo(()=>d?[d]:[],[d]),onItemOpen:c,onItemClose:l.useCallback(()=>i&&c(""),[i,c]),children:(0,s.jsx)(G,{scope:e.__scopeAccordion,collapsible:i,children:(0,s.jsx)(X,{...o,ref:t})})})}),J=l.forwardRef((e,t)=>{let{value:r,defaultValue:n,onValueChange:a=()=>{},...i}=e,[o,d]=(0,k.i)({prop:r,defaultProp:null!=n?n:[],onChange:a,caller:q}),c=l.useCallback(e=>d(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[d]),u=l.useCallback(e=>d(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[d]);return(0,s.jsx)(K,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:u,children:(0,s.jsx)(G,{scope:e.__scopeAccordion,collapsible:!0,children:(0,s.jsx)(X,{...i,ref:t})})})}),[Y,Q]=F(q),X=l.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:n,dir:a,orientation:i="vertical",...o}=e,d=l.useRef(null),u=(0,c.s)(d,t),f=T(r),p="ltr"===(0,D.jH)(a),h=(0,v.m)(e.onKeyDown,e=>{var t;if(!P.includes(e.key))return;let r=e.target,n=f().filter(e=>{var t;return!(null==(t=e.ref.current)?void 0:t.disabled)}),l=n.findIndex(e=>e.ref.current===r),a=n.length;if(-1===l)return;e.preventDefault();let o=l,d=a-1,c=()=>{(o=l+1)>d&&(o=0)},s=()=>{(o=l-1)<0&&(o=d)};switch(e.key){case"Home":o=0;break;case"End":o=d;break;case"ArrowRight":"horizontal"===i&&(p?c():s());break;case"ArrowDown":"vertical"===i&&c();break;case"ArrowLeft":"horizontal"===i&&(p?s():c());break;case"ArrowUp":"vertical"===i&&s()}null==(t=n[o%a].ref.current)||t.focus()});return(0,s.jsx)(Y,{scope:r,disabled:n,direction:a,orientation:i,children:(0,s.jsx)(V.Slot,{scope:r,children:(0,s.jsx)(g.div,{...o,"data-orientation":i,ref:u,onKeyDown:n?void 0:h})})})}),ee="AccordionItem",[et,er]=F(ee),en=l.forwardRef((e,t)=>{let{__scopeAccordion:r,value:n,...l}=e,a=Q(ee,r),i=W(ee,r),o=H(r),d=(0,b.B)(),c=n&&i.value.includes(n)||!1,u=a.disabled||e.disabled;return(0,s.jsx)(et,{scope:r,open:c,disabled:u,triggerId:d,children:(0,s.jsx)(j,{"data-orientation":a.orientation,"data-state":es(c),...o,...l,ref:t,disabled:u,open:c,onOpenChange:e=>{e?i.onItemOpen(n):i.onItemClose(n)}})})});en.displayName=ee;var el="AccordionHeader",ea=l.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,l=Q(q,r),a=er(el,r);return(0,s.jsx)(g.h3,{"data-orientation":l.orientation,"data-state":es(a.open),"data-disabled":a.disabled?"":void 0,...n,ref:t})});ea.displayName=el;var ei="AccordionTrigger",eo=l.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,l=Q(q,r),a=er(ei,r),i=Z(ei,r),o=H(r);return(0,s.jsx)(V.ItemSlot,{scope:r,children:(0,s.jsx)(I,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":l.orientation,id:a.triggerId,...o,...n,ref:t})})});eo.displayName=ei;var ed="AccordionContent",ec=l.forwardRef((e,t)=>{let{__scopeAccordion:r,...n}=e,l=Q(q,r),a=er(ed,r),i=H(r);return(0,s.jsx)(z,{role:"region","aria-labelledby":a.triggerId,"data-orientation":l.orientation,...i,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function es(e){return e?"open":"closed"}ec.displayName=ed;var eu=U,ef=en,ep=ea,eh=eo,ey=ec},20562:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},20639:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]])},26983:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},30814:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]])},32320:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]])},32893:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("thermometer",[["path",{d:"M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0Z",key:"17jzev"}]])},35202:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("file-json",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]])},35626:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},37107:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]])},37586:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("message-square",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},37772:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},38392:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]])},39068:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},39324:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]])},39332:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]])},40887:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("laptop",[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]])},41808:(e,t,r)=>{r.d(t,{uB:()=>z});var n=/[\\\/_+.#"@\[\(\{&]/,l=/[\\\/_+.#"@\[\(\{&]/g,a=/[\s-]/,i=/[\s-]/g;function o(e){return e.toLowerCase().replace(i," ")}var d=r(88292),c=r(12115),s=r(88142),u=r(68946),f=r(94446),p='[cmdk-group=""]',h='[cmdk-group-items=""]',y='[cmdk-item=""]',m="".concat(y,':not([aria-disabled="true"])'),v="cmdk-item-select",k="data-value",g=(e,t,r)=>(function(e,t,r){return function e(t,r,o,d,c,s,u){if(s===r.length)return c===t.length?1:.99;var f=`${c},${s}`;if(void 0!==u[f])return u[f];for(var p,h,y,m,v=d.charAt(s),k=o.indexOf(v,c),g=0;k>=0;)(p=e(t,r,o,d,k+1,s+1,u))>g&&(k===c?p*=1:n.test(t.charAt(k-1))?(p*=.8,(y=t.slice(c,k-1).match(l))&&c>0&&(p*=Math.pow(.999,y.length))):a.test(t.charAt(k-1))?(p*=.9,(m=t.slice(c,k-1).match(i))&&c>0&&(p*=Math.pow(.999,m.length))):(p*=.17,c>0&&(p*=Math.pow(.999,k-c))),t.charAt(k)!==r.charAt(s)&&(p*=.9999)),(p<.1&&o.charAt(k-1)===d.charAt(s+1)||d.charAt(s+1)===d.charAt(s)&&o.charAt(k-1)!==d.charAt(s))&&.1*(h=e(t,r,o,d,k+1,s+2,u))>p&&(p=.1*h),p>g&&(g=p),k=o.indexOf(v,k+1);return u[f]=g,g}(e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,t,o(e),o(t),0,0,{})})(e,t,r),A=c.createContext(void 0),x=()=>c.useContext(A),b=c.createContext(void 0),w=()=>c.useContext(b),M=c.createContext(void 0),R=c.forwardRef((e,t)=>{let r=D(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),n=D(()=>new Set),l=D(()=>new Map),a=D(()=>new Map),i=D(()=>new Set),o=O(e),{label:d,children:f,value:x,onValueChange:w,filter:M,shouldFilter:R,loop:C,disablePointerSelection:E=!1,vimBindings:j=!0,...N}=e,I=(0,u.B)(),S=(0,u.B)(),z=(0,u.B)(),q=c.useRef(null),P=V();_(()=>{if(void 0!==x){let e=x.trim();r.current.value=e,F.emit()}},[x]),_(()=>{P(6,G)},[]);let F=c.useMemo(()=>({subscribe:e=>(i.current.add(e),()=>i.current.delete(e)),snapshot:()=>r.current,setState:(e,t,n)=>{var l,a,i,d;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)W(),U(),P(1,K);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(z);e?e.focus():null==(l=document.getElementById(I))||l.focus()}if(P(7,()=>{var e;r.current.selectedItemId=null==(e=Z())?void 0:e.id,F.emit()}),n||P(5,G),(null==(a=o.current)?void 0:a.value)!==void 0){null==(d=(i=o.current).onValueChange)||d.call(i,null!=t?t:"");return}}F.emit()}},emit:()=>{i.current.forEach(e=>e())}}),[]),B=c.useMemo(()=>({value:(e,t,n)=>{var l;t!==(null==(l=a.current.get(e))?void 0:l.value)&&(a.current.set(e,{value:t,keywords:n}),r.current.filtered.items.set(e,H(t,n)),P(2,()=>{U(),F.emit()}))},item:(e,t)=>(n.current.add(e),t&&(l.current.has(t)?l.current.get(t).add(e):l.current.set(t,new Set([e]))),P(3,()=>{W(),U(),r.current.value||K(),F.emit()}),()=>{a.current.delete(e),n.current.delete(e),r.current.filtered.items.delete(e);let t=Z();P(4,()=>{W(),(null==t?void 0:t.getAttribute("id"))===e&&K(),F.emit()})}),group:e=>(l.current.has(e)||l.current.set(e,new Set),()=>{a.current.delete(e),l.current.delete(e)}),filter:()=>o.current.shouldFilter,label:d||e["aria-label"],getDisablePointerSelection:()=>o.current.disablePointerSelection,listId:I,inputId:z,labelId:S,listInnerRef:q}),[]);function H(e,t){var n,l;let a=null!=(l=null==(n=o.current)?void 0:n.filter)?l:g;return e?a(e,r.current.search,t):0}function U(){if(!r.current.search||!1===o.current.shouldFilter)return;let e=r.current.filtered.items,t=[];r.current.filtered.groups.forEach(r=>{let n=l.current.get(r),a=0;n.forEach(t=>{a=Math.max(e.get(t),a)}),t.push([r,a])});let n=q.current;$().sort((t,r)=>{var n,l;let a=t.getAttribute("id"),i=r.getAttribute("id");return(null!=(n=e.get(i))?n:0)-(null!=(l=e.get(a))?l:0)}).forEach(e=>{let t=e.closest(h);t?t.appendChild(e.parentElement===t?e:e.closest("".concat(h," > *"))):n.appendChild(e.parentElement===n?e:e.closest("".concat(h," > *")))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=q.current)?void 0:t.querySelector("".concat(p,"[").concat(k,'="').concat(encodeURIComponent(e[0]),'"]'));null==r||r.parentElement.appendChild(r)})}function K(){let e=$().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(k);F.setState("value",t||void 0)}function W(){var e,t,i,d;if(!r.current.search||!1===o.current.shouldFilter){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let c=0;for(let l of n.current){let n=H(null!=(t=null==(e=a.current.get(l))?void 0:e.value)?t:"",null!=(d=null==(i=a.current.get(l))?void 0:i.keywords)?d:[]);r.current.filtered.items.set(l,n),n>0&&c++}for(let[e,t]of l.current)for(let n of t)if(r.current.filtered.items.get(n)>0){r.current.filtered.groups.add(e);break}r.current.filtered.count=c}function G(){var e,t,r;let n=Z();n&&((null==(e=n.parentElement)?void 0:e.firstChild)===n&&(null==(r=null==(t=n.closest(p))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),n.scrollIntoView({block:"nearest"}))}function Z(){var e;return null==(e=q.current)?void 0:e.querySelector("".concat(y,'[aria-selected="true"]'))}function $(){var e;return Array.from((null==(e=q.current)?void 0:e.querySelectorAll(m))||[])}function J(e){let t=$()[e];t&&F.setState("value",t.getAttribute(k))}function Y(e){var t;let r=Z(),n=$(),l=n.findIndex(e=>e===r),a=n[l+e];null!=(t=o.current)&&t.loop&&(a=l+e<0?n[n.length-1]:l+e===n.length?n[0]:n[l+e]),a&&F.setState("value",a.getAttribute(k))}function Q(e){let t=Z(),r=null==t?void 0:t.closest(p),n;for(;r&&!n;)n=null==(r=e>0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,p):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,p))?void 0:r.querySelector(m);n?F.setState("value",n.getAttribute(k)):Y(e)}let X=()=>J($().length-1),ee=e=>{e.preventDefault(),e.metaKey?X():e.altKey?Q(1):Y(1)},et=e=>{e.preventDefault(),e.metaKey?J(0):e.altKey?Q(-1):Y(-1)};return c.createElement(s.sG.div,{ref:t,tabIndex:-1,...N,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=N.onKeyDown)||t.call(N,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":j&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":j&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),J(0);break;case"End":e.preventDefault(),X();break;case"Enter":{e.preventDefault();let t=Z();if(t){let e=new Event(v);t.dispatchEvent(e)}}}}},c.createElement("label",{"cmdk-label":"",htmlFor:B.inputId,id:B.labelId,style:L},d),T(e,e=>c.createElement(b.Provider,{value:F},c.createElement(A.Provider,{value:B},e))))}),C=c.forwardRef((e,t)=>{var r,n;let l=(0,u.B)(),a=c.useRef(null),i=c.useContext(M),o=x(),d=O(e),p=null!=(n=null==(r=d.current)?void 0:r.forceMount)?n:null==i?void 0:i.forceMount;_(()=>{if(!p)return o.item(l,null==i?void 0:i.id)},[p]);let h=P(l,a,[e.value,e.children,a],e.keywords),y=w(),m=q(e=>e.value&&e.value===h.current),k=q(e=>!!p||!1===o.filter()||!e.search||e.filtered.items.get(l)>0);function g(){var e,t;A(),null==(t=(e=d.current).onSelect)||t.call(e,h.current)}function A(){y.setState("value",h.current,!0)}if(c.useEffect(()=>{let t=a.current;if(!(!t||e.disabled))return t.addEventListener(v,g),()=>t.removeEventListener(v,g)},[k,e.onSelect,e.disabled]),!k)return null;let{disabled:b,value:R,onSelect:C,forceMount:E,keywords:j,...N}=e;return c.createElement(s.sG.div,{ref:(0,f.t)(a,t),...N,id:l,"cmdk-item":"",role:"option","aria-disabled":!!b,"aria-selected":!!m,"data-disabled":!!b,"data-selected":!!m,onPointerMove:b||o.getDisablePointerSelection()?void 0:A,onClick:b?void 0:g},e.children)}),E=c.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:l,...a}=e,i=(0,u.B)(),o=c.useRef(null),d=c.useRef(null),p=(0,u.B)(),h=x(),y=q(e=>!!l||!1===h.filter()||!e.search||e.filtered.groups.has(i));_(()=>h.group(i),[]),P(i,o,[e.value,e.heading,d]);let m=c.useMemo(()=>({id:i,forceMount:l}),[l]);return c.createElement(s.sG.div,{ref:(0,f.t)(o,t),...a,"cmdk-group":"",role:"presentation",hidden:!y||void 0},r&&c.createElement("div",{ref:d,"cmdk-group-heading":"","aria-hidden":!0,id:p},r),T(e,e=>c.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?p:void 0},c.createElement(M.Provider,{value:m},e))))}),j=c.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,l=c.useRef(null),a=q(e=>!e.search);return r||a?c.createElement(s.sG.div,{ref:(0,f.t)(l,t),...n,"cmdk-separator":"",role:"separator"}):null}),N=c.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,l=null!=e.value,a=w(),i=q(e=>e.search),o=q(e=>e.selectedItemId),d=x();return c.useEffect(()=>{null!=e.value&&a.setState("search",e.value)},[e.value]),c.createElement(s.sG.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":d.listId,"aria-labelledby":d.labelId,"aria-activedescendant":o,id:d.inputId,type:"text",value:l?e.value:i,onChange:e=>{l||a.setState("search",e.target.value),null==r||r(e.target.value)}})}),I=c.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...l}=e,a=c.useRef(null),i=c.useRef(null),o=q(e=>e.selectedItemId),d=x();return c.useEffect(()=>{if(i.current&&a.current){let e=i.current,t=a.current,r,n=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return n.observe(e),()=>{cancelAnimationFrame(r),n.unobserve(e)}}},[]),c.createElement(s.sG.div,{ref:(0,f.t)(a,t),...l,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":o,"aria-label":n,id:d.listId},T(e,e=>c.createElement("div",{ref:(0,f.t)(i,d.listInnerRef),"cmdk-list-sizer":""},e)))}),S=c.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:l,contentClassName:a,container:i,...o}=e;return c.createElement(d.bL,{open:r,onOpenChange:n},c.createElement(d.ZL,{container:i},c.createElement(d.hJ,{"cmdk-overlay":"",className:l}),c.createElement(d.UC,{"aria-label":e.label,"cmdk-dialog":"",className:a},c.createElement(R,{ref:t,...o}))))}),z=Object.assign(R,{List:I,Item:C,Input:N,Group:E,Separator:j,Dialog:S,Empty:c.forwardRef((e,t)=>q(e=>0===e.filtered.count)?c.createElement(s.sG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:c.forwardRef((e,t)=>{let{progress:r,children:n,label:l="Loading...",...a}=e;return c.createElement(s.sG.div,{ref:t,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":l},T(e,e=>c.createElement("div",{"aria-hidden":!0},e)))})});function O(e){let t=c.useRef(e);return _(()=>{t.current=e}),t}var _="undefined"==typeof window?c.useEffect:c.useLayoutEffect;function D(e){let t=c.useRef();return void 0===t.current&&(t.current=e()),t}function q(e){let t=w(),r=()=>e(t.snapshot());return c.useSyncExternalStore(t.subscribe,r,r)}function P(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],l=c.useRef(),a=x();return _(()=>{var i;let o=(()=>{var e;for(let t of r){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():l.current}})(),d=n.map(e=>e.trim());a.value(e,o,d),null==(i=t.current)||i.setAttribute(k,o),l.current=o}),l}var V=()=>{let[e,t]=c.useState(),r=D(()=>new Map);return _(()=>{r.current.forEach(e=>e()),r.current=new Map},[e]),(e,n)=>{r.current.set(e,n),t({})}};function T(e,t){let r,{asChild:n,children:l}=e;return n&&c.isValidElement(l)?c.cloneElement("function"==typeof(r=l.type)?r(l.props):"render"in r?r.render(l.props):l,{ref:l.ref},t(l.props.children)):t(l)}var L={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},46046:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},49578:(e,t,r)=>{r.d(t,{Ke:()=>w,R6:()=>x,bL:()=>C});var n=r(12115);"undefined"!=typeof window&&window.document&&window.document.createElement;var l=r(3468),a=r(23558),i=r(4129),o=r(94446);r(47650);var d=r(32467),c=r(95155),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,d.TL)(`Primitive.${t}`),l=n.forwardRef((e,n)=>{let{asChild:l,...a}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,c.jsx)(l?r:t,{...a,ref:n})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),u=e=>{let{present:t,children:r}=e,l=function(e){var t,r;let[l,a]=n.useState(),o=n.useRef(null),d=n.useRef(e),c=n.useRef("none"),[s,u]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=f(o.current);c.current="mounted"===s?e:"none"},[s]),(0,i.N)(()=>{let t=o.current,r=d.current;if(r!==e){let n=c.current,l=f(t);e?u("MOUNT"):"none"===l||(null==t?void 0:t.display)==="none"?u("UNMOUNT"):r&&n!==l?u("ANIMATION_OUT"):u("UNMOUNT"),d.current=e}},[e,u]),(0,i.N)(()=>{if(l){var e;let t,r=null!=(e=l.ownerDocument.defaultView)?e:window,n=e=>{let n=f(o.current).includes(CSS.escape(e.animationName));if(e.target===l&&n&&(u("ANIMATION_END"),!d.current)){let e=l.style.animationFillMode;l.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===l.style.animationFillMode&&(l.style.animationFillMode=e)})}},a=e=>{e.target===l&&(c.current=f(o.current))};return l.addEventListener("animationstart",a),l.addEventListener("animationcancel",n),l.addEventListener("animationend",n),()=>{r.clearTimeout(t),l.removeEventListener("animationstart",a),l.removeEventListener("animationcancel",n),l.removeEventListener("animationend",n)}}u("ANIMATION_END")},[l,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:n.useCallback(e=>{o.current=e?getComputedStyle(e):null,a(e)},[])}}(t),a="function"==typeof r?r({present:l.isPresent}):n.Children.only(r),d=(0,o.s)(l.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,l=n&&"isReactWarning"in n&&n.isReactWarning;return l?e.ref:(l=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(a));return"function"==typeof r||l.isPresent?n.cloneElement(a,{ref:d}):null};function f(e){return(null==e?void 0:e.animationName)||"none"}u.displayName="Presence";var p=r(68946),h="Collapsible",[y,m]=(0,l.A)(h),[v,k]=y(h),g=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,open:l,defaultOpen:i,disabled:o,onOpenChange:d,...u}=e,[f,y]=(0,a.i)({prop:l,defaultProp:null!=i&&i,onChange:d,caller:h});return(0,c.jsx)(v,{scope:r,disabled:o,contentId:(0,p.B)(),open:f,onOpenToggle:n.useCallback(()=>y(e=>!e),[y]),children:(0,c.jsx)(s.div,{"data-state":R(f),"data-disabled":o?"":void 0,...u,ref:t})})});g.displayName=h;var A="CollapsibleTrigger",x=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,...n}=e,l=k(A,r);return(0,c.jsx)(s.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":R(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...n,ref:t,onClick:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}(e.onClick,l.onOpenToggle)})});x.displayName=A;var b="CollapsibleContent",w=n.forwardRef((e,t)=>{let{forceMount:r,...n}=e,l=k(b,e.__scopeCollapsible);return(0,c.jsx)(u,{present:r||l.open,children:e=>{let{present:r}=e;return(0,c.jsx)(M,{...n,ref:t,present:r})}})});w.displayName=b;var M=n.forwardRef((e,t)=>{let{__scopeCollapsible:r,present:l,children:a,...d}=e,u=k(b,r),[f,p]=n.useState(l),h=n.useRef(null),y=(0,o.s)(t,h),m=n.useRef(0),v=m.current,g=n.useRef(0),A=g.current,x=u.open||f,w=n.useRef(x),M=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>w.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,i.N)(()=>{let e=h.current;if(e){M.current=M.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();m.current=t.height,g.current=t.width,w.current||(e.style.transitionDuration=M.current.transitionDuration,e.style.animationName=M.current.animationName),p(l)}},[u.open,l]),(0,c.jsx)(s.div,{"data-state":R(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!x,...d,ref:y,style:{"--radix-collapsible-content-height":v?"".concat(v,"px"):void 0,"--radix-collapsible-content-width":A?"".concat(A,"px"):void 0,...e.style},children:x&&a})});function R(e){return e?"open":"closed"}var C=g},53842:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]])},56154:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},66630:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("sliders-horizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]])},76907:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},77801:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("shield-alert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]])},79397:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},85710:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},86651:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},93779:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]])},95707:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]])},99708:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8],{6191:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},18514:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},24033:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},35299:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},35646:(e,t,n)=>{n.d(t,{UC:()=>S,VY:()=>V,ZD:()=>L,ZL:()=>I,bL:()=>E,hE:()=>U,hJ:()=>P,l9:()=>T,rc:()=>_});var r=n(12115),a=n(3468),i=n(94446),l=n(88292),o=n(92556),d=n(32467),s=n(95155),u="AlertDialog",[c,p]=(0,a.A)(u,[l.Hs]),f=(0,l.Hs)(),m=e=>{let{__scopeAlertDialog:t,...n}=e,r=f(t);return(0,s.jsx)(l.bL,{...r,...n,modal:!0})};m.displayName=u;var y=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,a=f(n);return(0,s.jsx)(l.l9,{...a,...r,ref:t})});y.displayName="AlertDialogTrigger";var v=e=>{let{__scopeAlertDialog:t,...n}=e,r=f(t);return(0,s.jsx)(l.ZL,{...r,...n})};v.displayName="AlertDialogPortal";var h=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,a=f(n);return(0,s.jsx)(l.hJ,{...a,...r,ref:t})});h.displayName="AlertDialogOverlay";var g="AlertDialogContent",[w,N]=c(g),b=(0,d.Dc)("AlertDialogContent"),x=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,children:a,...d}=e,u=f(n),c=r.useRef(null),p=(0,i.s)(t,c),m=r.useRef(null);return(0,s.jsx)(l.G$,{contentName:g,titleName:A,docsSlug:"alert-dialog",children:(0,s.jsx)(w,{scope:n,cancelRef:m,children:(0,s.jsxs)(l.UC,{role:"alertdialog",...u,...d,ref:p,onOpenAutoFocus:(0,o.m)(d.onOpenAutoFocus,e=>{var t;e.preventDefault(),null==(t=m.current)||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,s.jsx)(b,{children:a}),(0,s.jsx)(C,{contentRef:c})]})})})});x.displayName=g;var A="AlertDialogTitle",R=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,a=f(n);return(0,s.jsx)(l.hE,{...a,...r,ref:t})});R.displayName=A;var k="AlertDialogDescription",D=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,a=f(n);return(0,s.jsx)(l.VY,{...a,...r,ref:t})});D.displayName=k;var M=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,a=f(n);return(0,s.jsx)(l.bm,{...a,...r,ref:t})});M.displayName="AlertDialogAction";var j="AlertDialogCancel",O=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,{cancelRef:a}=N(j,n),o=f(n),d=(0,i.s)(t,a);return(0,s.jsx)(l.bm,{...o,...r,ref:d})});O.displayName=j;var C=e=>{let{contentRef:t}=e,n="`".concat(g,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(g,"` by passing a `").concat(k,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(g,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return r.useEffect(()=>{var e;document.getElementById(null==(e=t.current)?void 0:e.getAttribute("aria-describedby"))||console.warn(n)},[n,t]),null},E=m,T=y,I=v,P=h,S=x,_=M,L=O,U=R,V=D},46826:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("circle-plus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},49578:(e,t,n)=>{n.d(t,{Ke:()=>A,R6:()=>b,bL:()=>D});var r=n(12115);"undefined"!=typeof window&&window.document&&window.document.createElement;var a=n(3468),i=n(23558),l=n(4129),o=n(94446);n(47650);var d=n(32467),s=n(95155),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,d.TL)(`Primitive.${t}`),a=r.forwardRef((e,r)=>{let{asChild:a,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(a?n:t,{...i,ref:r})});return a.displayName=`Primitive.${t}`,{...e,[t]:a}},{}),c=e=>{let{present:t,children:n}=e,a=function(e){var t,n;let[a,i]=r.useState(),o=r.useRef(null),d=r.useRef(e),s=r.useRef("none"),[u,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=p(o.current);s.current="mounted"===u?e:"none"},[u]),(0,l.N)(()=>{let t=o.current,n=d.current;if(n!==e){let r=s.current,a=p(t);e?c("MOUNT"):"none"===a||(null==t?void 0:t.display)==="none"?c("UNMOUNT"):n&&r!==a?c("ANIMATION_OUT"):c("UNMOUNT"),d.current=e}},[e,c]),(0,l.N)(()=>{if(a){var e;let t,n=null!=(e=a.ownerDocument.defaultView)?e:window,r=e=>{let r=p(o.current).includes(CSS.escape(e.animationName));if(e.target===a&&r&&(c("ANIMATION_END"),!d.current)){let e=a.style.animationFillMode;a.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=e)})}},i=e=>{e.target===a&&(s.current=p(o.current))};return a.addEventListener("animationstart",i),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{n.clearTimeout(t),a.removeEventListener("animationstart",i),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}c("ANIMATION_END")},[a,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{o.current=e?getComputedStyle(e):null,i(e)},[])}}(t),i="function"==typeof n?n({present:a.isPresent}):r.Children.only(n),d=(0,o.s)(a.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,a=r&&"isReactWarning"in r&&r.isReactWarning;return a?e.ref:(a=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(i));return"function"==typeof n||a.isPresent?r.cloneElement(i,{ref:d}):null};function p(e){return(null==e?void 0:e.animationName)||"none"}c.displayName="Presence";var f=n(68946),m="Collapsible",[y,v]=(0,a.A)(m),[h,g]=y(m),w=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,open:a,defaultOpen:l,disabled:o,onOpenChange:d,...c}=e,[p,y]=(0,i.i)({prop:a,defaultProp:null!=l&&l,onChange:d,caller:m});return(0,s.jsx)(h,{scope:n,disabled:o,contentId:(0,f.B)(),open:p,onOpenToggle:r.useCallback(()=>y(e=>!e),[y]),children:(0,s.jsx)(u.div,{"data-state":k(p),"data-disabled":o?"":void 0,...c,ref:t})})});w.displayName=m;var N="CollapsibleTrigger",b=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,a=g(N,n);return(0,s.jsx)(u.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":k(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...r,ref:t,onClick:function(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}(e.onClick,a.onOpenToggle)})});b.displayName=N;var x="CollapsibleContent",A=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,a=g(x,e.__scopeCollapsible);return(0,s.jsx)(c,{present:n||a.open,children:e=>{let{present:n}=e;return(0,s.jsx)(R,{...r,ref:t,present:n})}})});A.displayName=x;var R=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:a,children:i,...d}=e,c=g(x,n),[p,f]=r.useState(a),m=r.useRef(null),y=(0,o.s)(t,m),v=r.useRef(0),h=v.current,w=r.useRef(0),N=w.current,b=c.open||p,A=r.useRef(b),R=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.N)(()=>{let e=m.current;if(e){R.current=R.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,w.current=t.width,A.current||(e.style.transitionDuration=R.current.transitionDuration,e.style.animationName=R.current.animationName),f(a)}},[c.open,a]),(0,s.jsx)(u.div,{"data-state":k(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!b,...d,ref:y,style:{"--radix-collapsible-content-height":h?"".concat(h,"px"):void 0,"--radix-collapsible-content-width":N?"".concat(N,"px"):void 0,...e.style},children:b&&i})});function k(e){return e?"open":"closed"}var D=w},50803:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]])},71360:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},78192:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},85408:(e,t,n)=>{n.d(t,{b:()=>u});var r=n(12115);n(47650);var a=n(94446),i=n(95155),l=Symbol("radix.slottable");function o(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=function(e){let t=function(e){let t=r.forwardRef((e,t)=>{var n,i,l;let o,d,{children:s,...u}=e,c=r.isValidElement(s)?(d=(o=null==(i=Object.getOwnPropertyDescriptor((n=s).props,"ref"))?void 0:i.get)&&"isReactWarning"in o&&o.isReactWarning)?n.ref:(d=(o=null==(l=Object.getOwnPropertyDescriptor(n,"ref"))?void 0:l.get)&&"isReactWarning"in o&&o.isReactWarning)?n.props.ref:n.props.ref||n.ref:void 0,p=(0,a.s)(c,t);if(r.isValidElement(s)){let e=function(e,t){let n={...t};for(let r in t){let a=e[r],i=t[r];/^on[A-Z]/.test(r)?a&&i?n[r]=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=i(...t);return a(...t),r}:a&&(n[r]=a):"style"===r?n[r]={...a,...i}:"className"===r&&(n[r]=[a,i].filter(Boolean).join(" "))}return{...e,...n}}(u,s.props);return s.type!==r.Fragment&&(e.ref=p),r.cloneElement(s,e)}return r.Children.count(s)>1?r.Children.only(null):null});return t.displayName="".concat(e,".SlotClone"),t}(e),n=r.forwardRef((e,n)=>{let{children:a,...l}=e,d=r.Children.toArray(a),s=d.find(o);if(s){let e=s.props.children,a=d.map(t=>t!==s?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,a):null})}return(0,i.jsx)(t,{...l,ref:n,children:a})});return n.displayName="".concat(e,".Slot"),n}(`Primitive.${t}`),l=r.forwardRef((e,r)=>{let{asChild:a,...l}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(a?n:t,{...l,ref:r})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),s=r.forwardRef((e,t)=>(0,i.jsx)(d.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null==(n=e.onMouseDown)||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));s.displayName="Label";var u=s}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[877],{12877:(e,t,a)=>{a.d(t,{createCampaignExports:()=>u,downloadCampaignExport:()=>m});var r=a(95155);a(12115);var n=a(45687),s=a(68600);function i(e){let t=e.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase();return!t.endsWith("_env")&&/(?:^|[^a-z])(?:[a-z]*key|token|secret|password|passwd|auth|authorization|cookie|credentials?|signature|session)(?:$|[^a-z])/.test(t)}function c(e){if(Array.isArray(e))return e.map(c);if(e&&"object"==typeof e)return o(e);if("string"!=typeof e||!/^[a-z][a-z\d+.-]*:\/\//i.test(e))return e;if(!URL.canParse(e))return"[INVALID URL OMITTED]";let t=new URL(e);if((t.username||t.password)&&(t.username="[REDACTED]",t.password=""),Array.from(t.searchParams.keys()).forEach(e=>{i(e)&&t.searchParams.set(e,"[REDACTED]")}),t.hash.includes("=")){let e=new URLSearchParams(t.hash.slice(1)),a=Array.from(e.keys()).filter(i);a.length&&(a.forEach(t=>e.set(t,"[REDACTED]")),t.hash=e.toString())}return t.toString()}function o(e){return Object.fromEntries(Object.entries(e).map(e=>{let[t,a]=e;return[t,i(t)?"[REDACTED]":c(a)]}))}var l=a(73474);async function d(e,t){var a;let r=await fetch(e,{signal:t});if(!r.ok)throw Error("Could not load the offline export runtime (HTTP ".concat(r.status,"). Rebuild the dashboard and retry."));let n=null!=(a=r.headers.get("content-type"))?a:"";if(e.endsWith(".js")?!/javascript/.test(n):!/text\/css/.test(n))throw Error("The dashboard is missing its offline export assets. Rebuild the dashboard and retry.");return r.text()}async function u(e,t){if(!e.length)throw Error("Select at least one campaign to export.");let[a,i]=await Promise.all([d("/campaign-export/runtime.js",t),d("/campaign-export/styles.css",t)]),u=[],m=new Date().toISOString();for(let d of Array.from(new Set(e))){let e="".concat(s.dI,"/").concat(encodeURIComponent(d)),p=await (0,s.Ld)("".concat(e,"/report"),t);if(!["COMPLETED","FAILED","CANCELLED"].includes(p.status))throw Error('"'.concat(p.name,'" is still active. Export it after the execution finishes.'));if(p.id!==d||null!==p.scope_run_id)throw Error("The export requires an unfiltered full-campaign snapshot.");let[g,h]=await Promise.all([(0,s.Ld)("".concat(e,"/costs"),t),(0,s.Ld)("".concat(e,"/matrix"),t)]),f=(0,s.UK)(h);if(!function(e,t,a,r){let n=r.length===e.recorded_goals&&new Set(r.map(e=>e.index)).size===e.recorded_goals&&r.filter(e=>"jailbroken"===e.verdict).length===e.jailbroken,s=a.runs.every(t=>{var a;let r=e.runs.find(e=>e.id===t.run_id);return(null==r||null==(a=r.outcomes)?void 0:a.recorded_goals)===t.goals&&r.outcomes.attempts===t.attempts});return t.id===e.id&&t.revision===e.revision&&n&&s}(p,await (0,s.Ld)("".concat(e,"/summary"),t),g,f))throw Error('"'.concat(p.name,'" changed while exporting. Refresh and retry.'));if(t.aborted)throw new DOMException("Export cancelled.","AbortError");u.push(function(e,t,a,s,i){var d;let u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:document.documentElement.classList.contains("dark"),m=JSON.stringify({campaign:{...{id:e.id,name:e.name,campaign:e.campaign,agent:e.agent,target:String(c(e.target)),status:e.status,executor:e.executor,created_at:e.created_at,updated_at:e.updated_at,finished_at:e.finished_at,attack_runs:e.attack_runs,recorded_goals:e.recorded_goals,jailbroken:e.jailbroken,mitigated:e.mitigated,unresolved:e.unresolved,attempts:e.attempts,revision:e.revision},configuration:o(e.configuration),notes:null,audit:e.audit?{samples:e.audit.samples,contextual_samples:e.audit.contextual_samples,passed:e.audit.passed,judges:e.audit.judges.map(e=>({judge:e.judge,passed:e.passed,metrics:{samples:e.metrics.samples,precision:e.metrics.precision,recall:e.metrics.recall,accuracy:e.metrics.accuracy,f1:e.metrics.f1,abstentions:e.metrics.abstentions,tp:e.metrics.tp,fp:e.metrics.fp,tn:e.metrics.tn,fn:e.metrics.fn,specificity:e.metrics.specificity,balanced_accuracy:e.metrics.balanced_accuracy,youdens_j:e.metrics.youdens_j},robustness:e.robustness?{any_wrapper_flip_rate:e.robustness.any_wrapper_flip_rate,max_flip_rate:e.robustness.max_flip_rate,wrappers:e.robustness.wrappers.map(e=>({wrapper:e.wrapper,flip_rate:e.flip_rate,flips:e.flips,true_positive_evasions:e.true_positive_evasions,true_positive_evasion_rate:e.true_positive_evasion_rate,detected_to_missed:e.detected_to_missed,missed_to_detected:e.missed_to_detected,accuracy:e.accuracy,accuracy_delta:e.accuracy_delta}))}:null}))}:null,runs:e.runs.map(e=>{var t,a;return{id:e.id,attack_id:e.attack_id,technique:e.technique,family:e.family,status:e.status,notes:null,created_at:e.created_at,attack_configuration:e.attack_configuration?{parameters:o(null!=(t=e.attack_configuration.parameters)?t:{}),roles:o(null!=(a=e.attack_configuration.roles)?a:{})}:null,outcomes:e.outcomes?{recorded_goals:e.outcomes.recorded_goals,jailbroken:e.outcomes.jailbroken,mitigated:e.outcomes.mitigated,unresolved:e.outcomes.unresolved,attempts:e.outcomes.attempts}:null}}),technique_outcomes:e.technique_outcomes,category_outcomes:e.category_outcomes,attack_category_outcomes:e.attack_category_outcomes,scope_run_id:null,previous:null},costs:t,exportedAt:s,goals:a.map(e=>{var t;return{index:e.index,goal:e.goal,category:e.category,subcategory:e.subcategory,verdict:e.verdict,run_ids:e.run_ids,attack_outcomes:null==(t=e.attack_outcomes)?void 0:t.map(e=>({run_id:e.run_id,verdict:e.verdict,attempts:e.attempts}))}})}).replace(/</g,"\\u003c").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029"),p=u?"dark":"light",g=null!=(d=l.zG.find(e=>e.id===document.documentElement.dataset.theme&&e.mode===p))?d:(0,l.eW)("system",p),h=(0,n.qV)((0,r.jsxs)("html",{lang:"en",className:u?"dark":void 0,"data-theme":g.id,children:[(0,r.jsxs)("head",{children:[(0,r.jsx)("meta",{charSet:"utf-8"}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,r.jsx)("meta",{httpEquiv:"Content-Security-Policy",content:"default-src 'none'; script-src 'unsafe-inline'; style-src 'unsafe-inline'; img-src data:; base-uri 'none'; form-action 'none'"}),(0,r.jsx)("title",{children:"".concat(e.name," / HackAgent campaign snapshot")}),(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:i.css.replace(/<\/style/gi,"<\\/style")}})]}),(0,r.jsxs)("body",{className:"campaign-snapshot",children:[(0,r.jsx)("div",{id:"campaign-root",children:(0,r.jsx)("p",{className:"p-6",children:"Opening interactive campaign snapshot..."})}),(0,r.jsx)("noscript",{children:"JavaScript must be enabled to view this offline campaign snapshot."}),(0,r.jsx)("script",{id:"campaign-data",type:"application/json",dangerouslySetInnerHTML:{__html:m}}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:i.runtime.replace(/<\/script/gi,"<\\/script")}})]})]}));return{filename:"".concat(e.name.replace(/[^a-zA-Z0-9_-]+/g,"-").replace(/^-|-$/g,"").slice(0,80)||"campaign","-").concat(e.id.replace(/[^a-zA-Z0-9_-]/g,""),".html"),html:"<!DOCTYPE html>\n".concat(h)}}(p,g,f,m,{runtime:a,css:i}))}return u}function m(e){let t=URL.createObjectURL(new Blob([e.html],{type:"text/html;charset=utf-8"})),a=document.createElement("a");a.href=t,a.download=e.filename,document.body.append(a);try{a.click()}finally{a.remove(),setTimeout(()=>URL.revokeObjectURL(t),1e3)}}},45687:(e,t,a)=>{var r,n;r=a(54592),n=a(49506),r.version,r.renderToString,t.qV=r.renderToStaticMarkup,n.renderToReadableStream,n.resume&&n.resume},73474:(e,t,a)=>{a.d(t,{Bc:()=>n,NQ:()=>c,zG:()=>r,wN:()=>i,AZ:()=>p,V$:()=>u,eW:()=>l,of:()=>m,_9:()=>d,f_:()=>o});let r=[{id:"classic-light",label:"Classic Light",mode:"light",description:"Soft neutral grays and a quiet, minimal feel."},{id:"slate-light",label:"Slate Light",mode:"light",description:"Cool slate surfaces with crisp white cards."},{id:"classic-dark",label:"Classic Dark",mode:"dark",description:"The original charcoal and neutral gray palette."},{id:"slate-dark",label:"Slate Dark",mode:"dark",description:"The current deep blue and slate palette."}],n={light:"slate-light",dark:"slate-dark"},s={light:"slate-light",dark:"slate-dark"},i="hackagent-theme",c="(prefers-color-scheme: dark)";function o(e){var t,a;return"light"===e||"dark"===e?s[e]:null!=(a=null==(t=r.find(t=>t.id===e))?void 0:t.id)?a:"system"}function l(e,t){let a="system"===e?n[t]:e;return r.find(e=>e.id===a)}function d(){return window.matchMedia(c).matches?"dark":"light"}function u(){try{return o(localStorage.getItem(i))}catch(e){return"system"}}function m(e){try{localStorage.setItem(i,e)}catch(e){}}function p(e){let t=document.documentElement;t.dataset.theme=e.id,t.classList.toggle("dark","dark"===e.mode),t.style.colorScheme=e.mode}let g=Object.fromEntries(r.map(e=>[e.id,e.mode]));"(() => {\n const modes = ".concat(JSON.stringify(g),";\n const defaults = ").concat(JSON.stringify(n),";\n const legacy = ").concat(JSON.stringify(s),";\n let preference;\n try { preference = localStorage.getItem('").concat(i,"'); } catch {}\n if (preference === 'light' || preference === 'dark') preference = legacy[preference];\n const system = window.matchMedia('").concat(c,"').matches ? 'dark' : 'light';\n const id = Object.prototype.hasOwnProperty.call(modes, preference) ? preference : defaults[system];\n document.documentElement.dataset.theme = id;\n document.documentElement.classList.toggle('dark', modes[id] === 'dark');\n document.documentElement.style.colorScheme = modes[id];\n})();")}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{19408:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("building-2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},20508:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},23327:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},45927:(e,t,r)=>{r.d(t,{bL:()=>eu,zi:()=>ec});var n=r(12115),o=r.t(n,2),i=Object.defineProperty,l=(e,t)=>i(e,"name",{value:t,configurable:!0}),a=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function u(e,t,{checkForDefaultPrevented:r=!0}={}){return l(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function c(e){if(!a)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function s(e){return"IFRAME"===e.tagName}l(u,"composeEventHandlers"),l(function(e){if(!a)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),l(c,"getOwnerDocument"),l(function e(t,r=!1){let{activeElement:n}=c(t);if(!n?.nodeName)return null;if(s(n)&&n.contentDocument)return e(n.contentDocument.body,r);if(r){let e=n.getAttribute("aria-activedescendant");if(e){let t=c(n).getElementById(e);if(t)return t}}return n},"getActiveElement"),l(s,"isFrame");var f=Object.defineProperty,d=(e,t)=>f(e,"name",{value:t,configurable:!0});function p(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function m(...e){return t=>{let r=!1,n=e.map(e=>{let n=p(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():p(e[t],null)}}}}function h(...e){return n.useCallback(m(...e),e)}d(p,"setRef"),d(m,"composeRefs"),d(h,"useComposedRefs");var y=r(95155),b=Object.defineProperty,v=(e,t)=>b(e,"name",{value:t,configurable:!0});function g(e,t=[]){let r=[];function o(t,o){let i=n.createContext(o);i.displayName=t+"Context";let l=r.length;r=[...r,o];let a=v(t=>{let{scope:r,children:o,...a}=t,u=r?.[e]?.[l]||i,c=n.useMemo(()=>a,Object.values(a));return(0,y.jsx)(u.Provider,{value:c,children:o})},"Provider");function u(r,a,c={}){let{optional:s=!1}=c,f=a?.[e]?.[l]||i,d=n.useContext(f);if(d)return d;if(void 0!==o)return o;if(!s)throw Error(`\`${r}\` must be used within \`${t}\``)}return a.displayName=t+"Provider",v(u,"useContext"),[a,u]}v(o,"createContext");let i=v(()=>{let t=r.map(e=>n.createContext(e));return v(function(r){let o=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])},"useScope")},"createScope");return i.scopeName=e,[o,w(i,...t)]}function w(...e){let t=e[0];if(1===e.length)return t;let r=v(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return v(function(e){let o=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}v(function(e,t){let r=n.createContext(t);r.displayName=e+"Context";let o=v(e=>{let{children:t,...o}=e,i=n.useMemo(()=>o,Object.values(o));return(0,y.jsx)(r.Provider,{value:i,children:t})},"Provider");function i(o,l={}){let{optional:a=!1}=l,u=n.useContext(r);if(u)return u;if(void 0!==t)return t;if(!a)throw Error(`\`${o}\` must be used within \`${e}\``)}return o.displayName=e+"Provider",v(i,"useContext"),[o,i]},"createContext"),v(g,"createContextScope"),v(w,"composeContextScopes");var S=globalThis?.document?n.useLayoutEffect:()=>{},E=Object.defineProperty,x=o[" useEffectEvent ".trim().toString()],C=o[" useInsertionEffect ".trim().toString()];function j(e){if("function"==typeof x)return x(e);let t=n.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof C?C(()=>{t.current=e}):S(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}E(j,"name",{value:"useEffectEvent",configurable:!0});var R=Object.defineProperty,k=(e,t)=>R(e,"name",{value:t,configurable:!0}),P=o[" useInsertionEffect ".trim().toString()]||S;function _({prop:e,defaultProp:t,onChange:r=k(()=>{},"onChange"),caller:o}){let[i,l,a]=O({defaultProp:t,onChange:r}),u=void 0!==e,c=u?e:i;return[c,n.useCallback(t=>{if(u){let r=A(t)?t(e):t;r!==e&&a.current?.(r)}else l(t)},[u,e,l,a])]}function O({defaultProp:e,onChange:t}){let[r,o]=n.useState(e),i=n.useRef(r),l=n.useRef(t);return P(()=>{l.current=t},[t]),n.useEffect(()=>{i.current!==r&&(l.current?.(r),i.current=r)},[r,i]),[r,o,l]}function A(e){return"function"==typeof e}k(_,"useControllableState"),k(O,"useUncontrolledState"),k(A,"isFunction");var N=Symbol("RADIX:SYNC_STATE");function M(e){let[t,r]=n.useState(void 0);return S(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=0,n=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;let o=n[0];window.cancelAnimationFrame(t),t=window.requestAnimationFrame(()=>{let t,n;if("borderBoxSize"in o){let e=o.borderBoxSize,r=Array.isArray(e)?e[0]:e;t=r.inlineSize,n=r.blockSize}else t=e.offsetWidth,n=e.offsetHeight;r({width:t,height:n})})});return n.observe(e,{box:"border-box"}),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}r(void 0)},[e]),t}k(function(e,t,r,o){let{prop:i,defaultProp:l,onChange:a,caller:u}=t,c=void 0!==i,s=j(a),f=[{...r,state:l}];o&&f.push(o);let[d,p]=n.useReducer((t,r)=>{if(r.type===N)return{...t,state:r.state};let n=e(t,r);return c&&!Object.is(n.state,t.state)&&s(n.state),n},...f),m=d.state,h=n.useRef(m);n.useEffect(()=>{h.current!==m&&(h.current=m,c||s(m))},[m,h,c]);let y=n.useMemo(()=>void 0!==i?{...d,state:i}:d,[d,i]);return n.useEffect(()=>{c&&!Object.is(i,d.state)&&p({type:N,state:i})},[i,d.state,c]),[y,p]},"useControllableStateReducer"),(0,Object.defineProperty)(M,"name",{value:"useSize",configurable:!0});var D=r(47650),$=Object.defineProperty,I=(e,t)=>$(e,"name",{value:t,configurable:!0});function z(e){let t=n.forwardRef((t,r)=>{let{children:o,...i}=t,l=null,a=!1,u=[];o=U(o),n.Children.forEach(o,e=>{if(T(e)){a=!0;let t="child"in e.props?e.props.child:e.props.children;for(;H(t)&&"function"==typeof G;)t=G(t._payload);l=V(e,t),u.push(l?.props?.children)}else u.push(e)}),l?l=n.cloneElement(l,void 0,u):!a&&1===n.Children.count(o)&&n.isValidElement(o)&&(l=o);let c=l?L(l):void 0,s=h(r,c);if(!l){if(o||0===o)throw Error(a?Y(e):X(e));return o}let f=W(i,l.props??{});return l.type!==n.Fragment&&(f.ref=r?s:c),n.cloneElement(l,f)});return t.displayName=`${e}.Slot`,t}I(z,"createSlot");var F=Symbol.for("radix.slottable");I(function(e){let t=I(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=F,t},"createSlottable");var V=I((e,t)=>"child"in e.props?n.isValidElement(t)?n.cloneElement(t,void 0,e.props.children(t.props.children)):null:n.isValidElement(t)?t:null,"getSlottableElementFromSlottable");function W(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n?r[n]=[o,i].filter(Boolean).join(" "):"aria-describedby"===n&&(r[n]=Z(i,o))}return{...e,...r}}function L(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function T(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===F}I(W,"mergeProps"),I(L,"getElementRef"),I(T,"isSlottable");var B=Symbol.for("react.lazy");function H(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===B&&"_payload"in e&&q(e._payload)}function q(e){return"object"==typeof e&&null!==e&&"then"in e}function U(e){let t=e;for(;H(t)&&"function"==typeof G;)t=G(t._payload);return t}function Z(...e){let t=new Set;for(let r of e)if("string"==typeof r)for(let e of String(r).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(" "):void 0}I(H,"isLazyComponent"),I(q,"isPromiseLike"),I(U,"useUnwrappedLazy"),I(Z,"concatAriaDescribedby");var X=I(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),Y=I(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),G=o[" use ".trim().toString()],J=Object.defineProperty,K=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=z("Primitive.".concat(t)),o=n.forwardRef((e,n)=>{let{asChild:o,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,y.jsx)(o?r:t,{...i,ref:n})});return o.displayName="Primitive.".concat(t),{...e,[t]:o}},{});J(function(e,t){e&&D.flushSync(()=>e.dispatchEvent(t))},"name",{value:"dispatchDiscreteCustomEvent",configurable:!0});var Q=Object.defineProperty,ee=(e,t)=>Q(e,"name",{value:t,configurable:!0}),et="Switch",[er,en]=g(et),[eo,ei]=er(et);function el(e){let{__scopeSwitch:t,checked:r,children:o,defaultChecked:i,disabled:l,form:a,name:u,onCheckedChange:c,required:s,value:f="on",internal_do_not_use_render:d}=e,[p,m]=_({prop:r,defaultProp:null!=i&&i,onChange:c,caller:et}),[h,b]=n.useState(null),[v,g]=n.useState(null),[w,S]=n.useState(null),E=!h||!!a||!!h.closest("form"),x={checked:p,setChecked:m,disabled:l,control:h,setControl:b,name:u,form:a,value:f,userClick:w,onUserClick:S,required:s,defaultChecked:i,isFormControl:E,bubbleInput:v,setBubbleInput:g};return(0,y.jsx)(eo,{scope:t,...x,children:ef(d)?d(x):o})}ee(el,"SwitchProvider");var ea=n.forwardRef(ee(function(e,t){let{__scopeSwitch:r,onClick:o,...i}=e,{control:l,form:a,value:c,disabled:s,checked:f,required:d,setControl:p,setChecked:m,onUserClick:b,isFormControl:v,bubbleInput:g}=ei("SwitchTrigger",r),w=h(t,p),S=n.useRef(f);return n.useEffect(()=>{let e=a?null==l?void 0:l.ownerDocument.getElementById(a):null==l?void 0:l.form;if(e instanceof HTMLFormElement){let t=ee(()=>m(S.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[l,a,m]),(0,y.jsx)(K.button,{type:"button",role:"switch","aria-checked":f,"aria-required":d,"data-state":ed(f),"data-disabled":s?"":void 0,disabled:s,value:c,...i,ref:w,onClick:u(o,e=>{let t=e.isPropagationStopped();b({requestedChecked:!f,hasConsumerStoppedPropagation:t}),m(e=>!e),g&&v&&!t&&e.stopPropagation()})})},"SwitchTrigger")),eu=n.forwardRef(ee(function(e,t){let{__scopeSwitch:r,name:n,checked:o,defaultChecked:i,required:l,disabled:a,value:u,onCheckedChange:c,form:s,...f}=e;return(0,y.jsx)(el,{__scopeSwitch:r,checked:o,defaultChecked:i,disabled:a,required:l,onCheckedChange:c,name:n,form:s,value:u,internal_do_not_use_render:e=>{let{isFormControl:n}=e;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(ea,{...f,ref:t,__scopeSwitch:r}),n&&(0,y.jsx)(es,{__scopeSwitch:r})]})}})},"Switch")),ec=n.forwardRef(ee(function(e,t){let{__scopeSwitch:r,...n}=e,o=ei("SwitchThumb",r);return(0,y.jsx)(K.span,{"data-state":ed(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})},"SwitchThumb")),es=n.forwardRef(ee(function(e,t){let{__scopeSwitch:r,onClick:o,...i}=e,{control:l,userClick:a,checked:c,defaultChecked:s,required:f,disabled:d,name:p,value:m,form:b,bubbleInput:v,setBubbleInput:g}=ei("SwitchBubbleInput",r),w=h(t,g),S=M(l),E=n.useRef(!1),x=n.useRef(c),C=n.useRef(a),j=n.useRef(null);n.useEffect(()=>{if(!v)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(!e)return;let t=x.current!==c;x.current=c;let r=null!==a&&a!==C.current;if(C.current=a,r)j.current=t?null:a,t&&e.call(v,c),v.dispatchEvent(new Event("click",{bubbles:!a.hasConsumerStoppedPropagation}));else if(t){let t=j.current;j.current=null;let r=(null==t?void 0:t.requestedChecked)===c;E.current=!0,e.call(v,c),v.dispatchEvent(new Event("click",{bubbles:!(r&&t.hasConsumerStoppedPropagation)})),E.current=!1}},[v,c,a]);let R=n.useRef(c);return(0,y.jsx)(K.input,{type:"checkbox","aria-hidden":!0,defaultChecked:null!=s?s:R.current,required:f,disabled:d,name:p,value:m,form:b,...i,tabIndex:-1,ref:w,onClick:u(o,e=>{E.current&&e.stopPropagation()}),style:{...i.style,...S,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function ef(e){return"function"==typeof e}function ed(e){return e?"checked":"unchecked"}ee(ef,"isFunction"),ee(ed,"getState")},85408:(e,t,r)=>{r.d(t,{b:()=>s});var n=r(12115);r(47650);var o=r(94446),i=r(95155),l=Symbol("radix.slottable");function a(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}var u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=function(e){let t=function(e){let t=n.forwardRef((e,t)=>{var r,i,l;let a,u,{children:c,...s}=e,f=n.isValidElement(c)?(u=(a=null==(i=Object.getOwnPropertyDescriptor((r=c).props,"ref"))?void 0:i.get)&&"isReactWarning"in a&&a.isReactWarning)?r.ref:(u=(a=null==(l=Object.getOwnPropertyDescriptor(r,"ref"))?void 0:l.get)&&"isReactWarning"in a&&a.isReactWarning)?r.props.ref:r.props.ref||r.ref:void 0,d=(0,o.s)(f,t);if(n.isValidElement(c)){let e=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=i(...t);return o(...t),n}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(s,c.props);return c.type!==n.Fragment&&(e.ref=d),n.cloneElement(c,e)}return n.Children.count(c)>1?n.Children.only(null):null});return t.displayName="".concat(e,".SlotClone"),t}(e),r=n.forwardRef((e,r)=>{let{children:o,...l}=e,u=n.Children.toArray(o),c=u.find(a);if(c){let e=c.props.children,o=u.map(t=>t!==c?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...l,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,o):null})}return(0,i.jsx)(t,{...l,ref:r,children:o})});return r.displayName="".concat(e,".Slot"),r}(`Primitive.${t}`),l=n.forwardRef((e,n)=>{let{asChild:o,...l}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(o?r:t,{...l,ref:n})});return l.displayName=`Primitive.${t}`,{...e,[t]:l}},{}),c=n.forwardRef((e,t)=>(0,i.jsx)(u.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null==(r=e.onMouseDown)||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));c.displayName="Label";var s=c}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[970],{3468:(e,t,r)=>{r.d(t,{A:()=>l,q:()=>i});var n=r(12115),a=r(95155);function i(e,t){let r=n.createContext(t),i=e=>{let{children:t,...i}=e,l=n.useMemo(()=>i,Object.values(i));return(0,a.jsx)(r.Provider,{value:l,children:t})};return i.displayName=e+"Provider",[i,function(a){let i=n.useContext(r);if(i)return i;if(void 0!==t)return t;throw Error(`\`${a}\` must be used within \`${e}\``)}]}function l(e,t=[]){let r=[],i=()=>{let t=r.map(e=>n.createContext(e));return function(r){let a=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:a}}),[r,a])}};return i.scopeName=e,[function(t,i){let l=n.createContext(i),o=r.length;r=[...r,i];let u=t=>{let{scope:r,children:i,...u}=t,c=r?.[e]?.[o]||l,s=n.useMemo(()=>u,Object.values(u));return(0,a.jsx)(c.Provider,{value:s,children:i})};return u.displayName=t+"Provider",[u,function(r,a){let u=a?.[e]?.[o]||l,c=n.useContext(u);if(c)return c;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let a=r.reduce((t,{useScope:r,scopeName:n})=>{let a=r(e)[`__scope${n}`];return{...t,...a}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return r.scopeName=t.scopeName,r}(i,...t)]}},4035:(e,t,r)=>{r.d(t,{Fq:()=>ew,L_:()=>eE});var n=r(12115),a=r(54241),i=r.n(a),l=r(2821),o=r(76069),u=r(90135),c=r(8291),s=r(51023),d=r(64054),p=r(90167),f=r(72259),y=r(13802),m=r(15195),v=r(50642),g=e=>e.graphicalItems.polarItems,b=(0,o.Mz)([f.N,y.E],d.eo),h=(0,o.Mz)([g,d.DP,b],d.ec),O=(0,o.Mz)([h],d.rj),E=(0,o.Mz)([O,u.z3],d.Nk),A=(0,o.Mz)([E,d.DP,h],d.fb);(0,o.Mz)([E,d.DP,h],(e,t,r)=>r.length>0?e.flatMap(e=>r.flatMap(r=>{var n;return{value:(0,s.kr)(e,null!=(n=t.dataKey)?n:r.dataKey),errorDomain:[]}})).filter(Boolean):(null==t?void 0:t.dataKey)!=null?e.map(e=>({value:(0,s.kr)(e,t.dataKey),errorDomain:[]})):e.map(e=>({value:e,errorDomain:[]})));var k=()=>void 0,P=(0,o.Mz)([E,d.DP,h,d.CH,f.N,u.G7],d.EZ),x=(0,o.Mz)([d.DP,d.AV,d.Lu,k,P,k,p.fz,f.N],d.wL),w=(0,o.Mz)([d.DP,p.fz,E,A,m.eC,f.N,x],d.tP),M=(0,o.Mz)([w,d.tm,d.xM],d.xp),j=(0,o.Mz)([d.DP,w,M,f.N],d.g1);function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach(function(t){var n,a,i;n=e,a=t,i=r[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}(0,o.Mz)([d.xM,j],v.l);var R=(0,o.Mz)([g,(e,t)=>t],(e,t)=>e.filter(e=>"pie"===e.type).find(e=>e.id===t)),I=[],D=(e,t,r)=>(null==r?void 0:r.length)===0?I:r,T=(0,o.Mz)([u.z3,R,D],(e,t,r)=>{var n,{chartData:a}=e;if(null!=t&&((n=(null==t?void 0:t.data)!=null&&t.data.length>0?t.data:a)&&n.length||null==r||(n=r.map(e=>S(S({},t.presentationProps),e.props))),null!=n))return n}),z=(0,o.Mz)([T,R,D],(e,t,r)=>{if(null!=e&&null!=t)return e.map((e,n)=>{var a,i,l=(0,s.kr)(e,t.nameKey,t.name);return i=null!=r&&null!=(a=r[n])&&null!=(a=a.props)&&a.fill?r[n].props.fill:"object"==typeof e&&null!=e&&"fill"in e?e.fill:t.fill,{value:(0,s.uM)(l,t.dataKey),color:i,payload:e,type:t.legendType}})}),C=(0,o.Mz)([T,R,D,c.HZ],(e,t,r,n)=>{if(null!=t&&null!=e)return eE({offset:n,pieSettings:t,displayedData:e,cells:r})}),L=r(81024),K=r(87095),_=r(7050),W=r(39346),U=r(69386),F=r(70543),G=r(34010),$=r(49580),V=r(84072),q=r(53002),B=r(92056),Z=r(87176),H=r(72481),Y=r(68997),X=r(34264),J=r(94913),Q=r(85224),ee=r(48971),et=r(3838),er=r(4264),en=r(12520),ea=r(14724),ei=r(37808),el=r(30732),eo=r(48446),eu=["key"],ec=["onMouseEnter","onClick","onMouseLeave"],es=["id"],ed=["id"];function ep(){return(ep=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function ef(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function ey(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function em(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ey(Object(r),!0).forEach(function(t){var n,a,i;n=e,a=t,i=r[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ey(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ev(e){var t=(0,n.useMemo)(()=>(0,F.aS)(e.children,U.f),[e.children]),r=(0,L.G)(r=>z(r,e.id,t));return null==r?null:n.createElement(Y._,{legendPayload:r})}var eg=n.memo(e=>{var{dataKey:t,nameKey:r,sectors:a,stroke:i,strokeWidth:l,fill:o,name:u,hide:c,tooltipType:d,id:p,activeShape:f}=e,y=function(e){if(null!=e&&"boolean"!=typeof e&&"function"!=typeof e){if(n.isValidElement(e)){var t,r=null==(t=e.props)?void 0:t.fill;return"string"==typeof r?r:void 0}var{fill:a}=e;return"string"==typeof a?a:void 0}}(f),m={dataDefinedOnItem:a.map(e=>{var t=e.tooltipPayload;return null==y||null==t?t:t.map(e=>em(em({},e),{},{color:y,fill:y}))}),getPosition:e=>{var t;return null==(t=a[Number(e)])?void 0:t.tooltipPosition},settings:{stroke:i,strokeWidth:l,fill:o,dataKey:t,nameKey:r,name:(0,s.uM)(u,t),hide:c,type:d,color:o,unit:"",graphicalItemId:p}};return n.createElement(Z.r,{tooltipEntrySettings:m})});function eb(e){var{sectors:t,props:r,showLabels:a}=e,{label:i,labelLine:o,dataKey:u}=r;if(!a||!i||!t)return null;var c=(0,er.uZ)(r),d=(0,er.ic)(i),p=(0,er.ic)(o),f="object"==typeof i&&"offsetRadius"in i&&"number"==typeof i.offsetRadius&&i.offsetRadius||20,y=t.map((e,t)=>{var r,a,y=(e.startAngle+e.endAngle)/2,m=(0,G.IZ)(e.cx,e.cy,e.outerRadius+f,y),v=em(em(em(em({},c),e),{},{stroke:"none"},d),{},{index:t,textAnchor:(r=m.x)>(a=e.cx)?"start":r<a?"end":"middle"},m),g=em(em(em(em({},c),e),{},{fill:"none",stroke:e.fill},p),{},{index:t,points:[(0,G.IZ)(e.cx,e.cy,e.outerRadius,y),m],key:"line"});return n.createElement(ei.g,{zIndex:el.I.label,key:"label-".concat(e.startAngle,"-").concat(e.endAngle,"-").concat(e.midAngle,"-").concat(t)},n.createElement(K.W,null,o&&((e,t)=>{if(n.isValidElement(e))return n.cloneElement(e,t);if("function"==typeof e)return e(t);var r=(0,l.$)("recharts-pie-label-line","boolean"!=typeof e?e.className:""),{key:a}=t,i=ef(t,eu);return n.createElement(_.Ip,ep({},i,{type:"linear",className:r}))})(o,g),((e,t,r)=>{if(n.isValidElement(e))return n.cloneElement(e,t);var a=r;if("function"==typeof e&&(a=e(t),n.isValidElement(a)))return a;var i=(0,l.$)("recharts-pie-label-text",(0,eo.I)(e));return n.createElement(W.EY,ep({},t,{alignmentBaseline:"middle",className:i}),a)})(i,v,(0,s.kr)(e,u))))});return n.createElement(K.W,{className:"recharts-pie-labels"},y)}function eh(e){var{sectors:t,props:r,showLabels:a}=e,{label:i}=r;return"object"==typeof i&&null!=i&&"position"in i?n.createElement(ea.qY,{label:i}):n.createElement(eb,{sectors:t,props:r,showLabels:a})}function eO(e){var{sectors:t,activeShape:r,inactiveShape:a,allOtherPieProps:i,shape:l,id:o}=e,u=(0,L.G)(H.A2),c=(0,L.G)(H.Xb),s=(0,L.G)(H.fx),{onMouseEnter:d,onClick:p,onMouseLeave:f}=i,y=ef(i,ec),m=(0,B.Cj)(d,i.dataKey,o),v=(0,B.Pg)(f),g=(0,B.Ub)(p,i.dataKey,o);return null==t||0===t.length?null:n.createElement(n.Fragment,null,t.map((e,d)=>{if((null==e?void 0:e.startAngle)===0&&(null==e?void 0:e.endAngle)===0&&1!==t.length)return null;var p=null==s||s===o,f=String(d)===u&&(null==c||i.dataKey===c)&&p,b=r&&f?r:u?a:null,h=em(em({},e),{},{stroke:e.stroke,tabIndex:-1,[X.F0]:d,[X.yU]:o});return n.createElement(K.W,ep({key:"sector-".concat(null==e?void 0:e.startAngle,"-").concat(null==e?void 0:e.endAngle,"-").concat(e.midAngle,"-").concat(d),tabIndex:-1,className:"recharts-pie-sector"},(0,V.XC)(y,e,d),{onMouseEnter:m(e,d),onMouseLeave:v(e,d),onClick:g(e,d)}),n.createElement(q.y,ep({option:null!=l?l:b,index:d,shapeType:"sector",isActive:f},h)))}))}function eE(e){var t,r,n,{pieSettings:a,displayedData:i,cells:l,offset:o}=e,{cornerRadius:u,startAngle:c,endAngle:d,dataKey:p,nameKey:f,tooltipType:y}=a,m=Math.abs(a.minAngle),v=(0,$.sA)(d-c)*Math.min(Math.abs(d-c),360),g=Math.abs(v),b=i.length<=1?0:null!=(t=a.paddingAngle)?t:0,h=i.filter(e=>0!==(0,s.kr)(e,p,0)).length,O=i.reduce((e,t)=>{var r=(0,s.kr)(t,p,0);return e+((0,$.Et)(r)?r:0)},0),E=m>0&&O>0&&i.some(e=>{var t=(0,s.kr)(e,p,0),r=((0,$.Et)(t)?t:0)/O;return 0!==t&&r*g<m})?m:0,A=g-h*E-(g>=360?h:h-1)*b;return O>0&&(r=i.map((e,t)=>{var r,i=(0,s.kr)(e,p,0),d=(0,s.kr)(e,f,t),m=((e,t,r)=>{let n,a,i;var{top:l,left:o,width:u,height:c}=t,s=(0,G.lY)(u,c),d=o+(0,$.F4)(e.cx,u,u/2),p=l+(0,$.F4)(e.cy,c,c/2),f=(0,$.F4)(e.innerRadius,s,0);return{cx:d,cy:p,innerRadius:f,outerRadius:(n=r,a=e.outerRadius,i=s,"function"==typeof a?(0,$.F4)(a(n),i,.8*i):(0,$.F4)(a,i,.8*i)),maxRadius:e.maxRadius||Math.sqrt(u*u+c*c)/2}})(a,o,e),g=((0,$.Et)(i)?i:0)/O,h=em(em({},e),l&&l[t]&&l[t].props),k=null!=h&&"fill"in h&&"string"==typeof h.fill?h.fill:a.fill,P=(r=t?n.endAngle+(0,$.sA)(v)*b*(0!==i):c)+(0,$.sA)(v)*((0!==i?E:0)+g*A),x=(r+P)/2,w=(m.innerRadius+m.outerRadius)/2,M=[{name:d,value:i,payload:h,dataKey:p,type:y,color:k,fill:k,graphicalItemId:a.id}],j=(0,G.IZ)(m.cx,m.cy,w,x);return n=em(em(em(em({},a.presentationProps),{},{percent:g,cornerRadius:"string"==typeof u?parseFloat(u):u,name:d,tooltipPayload:M,midAngle:x,middleRadius:w,tooltipPosition:j},h),m),{},{value:i,dataKey:p,startAngle:r,endAngle:P,payload:h,paddingAngle:0!==i?(0,$.sA)(v)*b:0})})),r}function eA(e){var{showLabels:t,sectors:r,children:a}=e,i=(0,n.useMemo)(()=>t&&r?r.map(e=>({value:e.value,payload:e.payload,clockWise:!1,parentViewBox:void 0,viewBox:{cx:e.cx,cy:e.cy,innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle,clockWise:!1},fill:e.fill})):[],[r,t]);return n.createElement(ea.dL,{value:t?i:void 0},a)}function ek(e){var{props:t,previousSectorsRef:r,id:a}=e,{sectors:l,isAnimationActive:o,animationBegin:u,animationDuration:c,animationEasing:s,activeShape:d,inactiveShape:p,onAnimationStart:f,onAnimationEnd:y}=t,m=(0,J.n)(t,"recharts-pie-"),v=r.current,[g,b]=(0,n.useState)(!1),h=(0,n.useCallback)(()=>{"function"==typeof y&&y(),b(!1)},[y]),O=(0,n.useCallback)(()=>{"function"==typeof f&&f(),b(!0)},[f]);return n.createElement(eA,{showLabels:!g,sectors:l},n.createElement(en.J,{animationId:m,begin:u,duration:c,isActive:o,easing:s,onAnimationStart:O,onAnimationEnd:h,key:m},e=>{var o,u=[],c=l&&l[0],s=null!=(o=null==c?void 0:c.startAngle)?o:0;return null==l||l.forEach((t,r)=>{var n=v&&v[r],a=r>0?i()(t,"paddingAngle",0):0;if(n){var l=(0,$.GW)(n.endAngle-n.startAngle,t.endAngle-t.startAngle,e),o=em(em({},t),{},{startAngle:s+a,endAngle:s+l+a});u.push(o),s=o.endAngle}else{var{endAngle:c,startAngle:d}=t,p=(0,$.GW)(0,c-d,e),f=em(em({},t),{},{startAngle:s+a,endAngle:s+p+a});u.push(f),s=f.endAngle}}),r.current=u,n.createElement(K.W,null,n.createElement(eO,{sectors:u,activeShape:d,inactiveShape:p,allOtherPieProps:t,shape:t.shape,id:a}))}),n.createElement(eh,{showLabels:!g,sectors:l,props:t}),t.children)}var eP={animationBegin:400,animationDuration:1500,animationEasing:"ease",cx:"50%",cy:"50%",dataKey:"value",endAngle:360,fill:"#808080",hide:!1,innerRadius:0,isAnimationActive:"auto",label:!1,labelLine:!0,legendType:"rect",minAngle:0,nameKey:"name",outerRadius:"80%",paddingAngle:0,rootTabIndex:0,startAngle:0,stroke:"#fff",zIndex:el.I.area};function ex(e){var{id:t}=e,r=ef(e,es),{hide:a,className:i,rootTabIndex:o}=e,u=(0,n.useMemo)(()=>(0,F.aS)(e.children,U.f),[e.children]),c=(0,L.G)(e=>C(e,t,u)),s=(0,n.useRef)(null),d=(0,l.$)("recharts-pie",i);return a||null==c?(s.current=null,n.createElement(K.W,{tabIndex:o,className:d})):n.createElement(ei.g,{zIndex:e.zIndex},n.createElement(eg,{dataKey:e.dataKey,nameKey:e.nameKey,sectors:c,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,id:t,activeShape:e.activeShape}),n.createElement(K.W,{tabIndex:o,className:d},n.createElement(ek,{props:em(em({},r),{},{sectors:c}),previousSectorsRef:s,id:t})))}var ew=function(e){var t=(0,Q.e)(e,eP),{id:r}=t,a=ef(t,ed),i=(0,er.uZ)(a);return n.createElement(ee.x,{id:r,type:"pie"},e=>n.createElement(n.Fragment,null,n.createElement(et.v,{type:"pie",id:e,data:a.data,dataKey:a.dataKey,hide:a.hide,angleAxisId:0,radiusAxisId:0,name:a.name,nameKey:a.nameKey,tooltipType:a.tooltipType,legendType:a.legendType,fill:a.fill,cx:a.cx,cy:a.cy,startAngle:a.startAngle,endAngle:a.endAngle,paddingAngle:a.paddingAngle,minAngle:a.minAngle,innerRadius:a.innerRadius,outerRadius:a.outerRadius,cornerRadius:a.cornerRadius,presentationProps:i,maxRadius:t.maxRadius}),n.createElement(ev,ep({},a,{id:e})),n.createElement(ex,ep({},a,{id:e}))))};ew.displayName="Pie"},4129:(e,t,r)=>{r.d(t,{N:()=>a});var n=r(12115),a=globalThis?.document?n.useLayoutEffect:()=>{}},12723:(e,t,r)=>{r.d(t,{r:()=>x});var n=r(12115),a=r(33308),i=r(36813),l=r(74797),o=r(38881),u=r(84020),c=r(5883),s=r(81024),d=r(19052);function p(e){var t=(0,s.j)();return(0,n.useEffect)(()=>{t((0,d.U)(e))},[t,e]),null}var f=r(55572),y=r(85224),m=r(8421),v=["layout"];function g(){return(g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var h=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){var n,a,i;n=e,a=t,i=r[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({accessibilityLayer:!0,stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index",layout:"radial",responsive:!1,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"},m.zp),O=(0,n.forwardRef)(function(e,t){var r,a=(0,y.e)(e.categoricalChartProps,h),{layout:s}=a,d=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(a,v),{chartName:m,defaultTooltipEventType:b,validateTooltipEventTypes:O,tooltipPayloadSearcher:E}=e;return n.createElement(i.J,{preloadedState:{options:{chartName:m,defaultTooltipEventType:b,validateTooltipEventTypes:O,tooltipPayloadSearcher:E,eventEmitter:void 0}},reduxStoreName:null!=(r=a.id)?r:m},n.createElement(l.TK,{chartData:a.data}),n.createElement(o.s,{layout:s,margin:a.margin}),n.createElement(c.M,{throttleDelay:a.throttleDelay,throttledEvents:a.throttledEvents}),n.createElement(u.p,{baseValue:void 0,accessibilityLayer:a.accessibilityLayer,barCategoryGap:a.barCategoryGap,maxBarSize:a.maxBarSize,stackOffset:a.stackOffset,barGap:a.barGap,barSize:a.barSize,syncId:a.syncId,syncMethod:a.syncMethod,className:a.className,reverseStackOrder:a.reverseStackOrder}),n.createElement(p,{cx:a.cx,cy:a.cy,startAngle:a.startAngle,endAngle:a.endAngle,innerRadius:a.innerRadius,outerRadius:a.outerRadius}),n.createElement(f.L,g({},d,{ref:t})))});function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach(function(t){var n,a,i;n=e,a=t,i=r[t],(a=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(a))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var k=["item"],P=A(A({},h),{},{layout:"centric",startAngle:0,endAngle:360}),x=(0,n.forwardRef)((e,t)=>{var r=(0,y.e)(e,P);return n.createElement(O,{chartName:"PieChart",defaultTooltipEventType:"item",validateTooltipEventTypes:k,tooltipPayloadSearcher:a.uN,categoricalChartProps:r,ref:t})})},23558:(e,t,r)=>{r.d(t,{i:()=>o});var n,a=r(12115),i=r(4129),l=(n||(n=r.t(a,2)))[" useInsertionEffect ".trim().toString()]||i.N;function o({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[i,o,u]=function({defaultProp:e,onChange:t}){let[r,n]=a.useState(e),i=a.useRef(r),o=a.useRef(t);return l(()=>{o.current=t},[t]),a.useEffect(()=>{i.current!==r&&(o.current?.(r),i.current=r)},[r,i]),[r,n,o]}({defaultProp:t,onChange:r}),c=void 0!==e,s=c?e:i;{let t=a.useRef(void 0!==e);a.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,n])}return[s,a.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else o(t)},[c,e,o,u])]}Symbol("RADIX:SYNC_STATE")},28150:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]])},34212:(e,t,r)=>{r.d(t,{q:()=>n});function n(e,[t,r]){return Math.min(r,Math.max(t,e))}},35795:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("lock-open",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]])},37397:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("swords",[["polyline",{points:"14.5 17.5 3 6 3 3 6 3 17.5 14.5",key:"1hfsw2"}],["line",{x1:"13",x2:"19",y1:"19",y2:"13",key:"1vrmhu"}],["line",{x1:"16",x2:"20",y1:"16",y2:"20",key:"1bron3"}],["line",{x1:"19",x2:"21",y1:"21",y2:"19",key:"13pww6"}],["polyline",{points:"14.5 6.5 18 3 21 3 21 6 17.5 9.5",key:"hbey2j"}],["line",{x1:"5",x2:"9",y1:"14",y2:"18",key:"1hf58s"}],["line",{x1:"7",x2:"4",y1:"17",y2:"20",key:"pidxm4"}],["line",{x1:"3",x2:"5",y1:"19",y2:"21",key:"1pehsh"}]])},46826:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("circle-plus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},52056:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},59584:(e,t,r)=>{r.d(t,{U:()=>i});var n=r(12115),a=r(70222);function i(e,t=globalThis?.document){let r=(0,a.c)(e);n.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}},68946:(e,t,r)=>{r.d(t,{B:()=>u});var n,a=r(12115),i=r(4129),l=(n||(n=r.t(a,2)))[" useId ".trim().toString()]||(()=>void 0),o=0;function u(e){let[t,r]=a.useState(l());return(0,i.N)(()=>{e||r(e=>e??String(o++))},[e]),e||(t?`radix-${t}`:"")}},70222:(e,t,r)=>{r.d(t,{c:()=>a});var n=r(12115);function a(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},76842:(e,t,r)=>{r.d(t,{C:()=>l});var n=r(12115),a=r(94446),i=r(4129),l=e=>{let{present:t,children:r}=e,l=function(e){var t,r;let[a,l]=n.useState(),u=n.useRef(null),c=n.useRef(e),s=n.useRef("none"),[d,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>{let n=r[e][t];return null!=n?n:e},t));return n.useEffect(()=>{let e=o(u.current);s.current="mounted"===d?e:"none"},[d]),(0,i.N)(()=>{let t=u.current,r=c.current;if(r!==e){let n=s.current,a=o(t);e?p("MOUNT"):"none"===a||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):r&&n!==a?p("ANIMATION_OUT"):p("UNMOUNT"),c.current=e}},[e,p]),(0,i.N)(()=>{if(a){var e;let t,r=null!=(e=a.ownerDocument.defaultView)?e:window,n=e=>{let n=o(u.current).includes(e.animationName);if(e.target===a&&n&&(p("ANIMATION_END"),!c.current)){let e=a.style.animationFillMode;a.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=e)})}},i=e=>{e.target===a&&(s.current=o(u.current))};return a.addEventListener("animationstart",i),a.addEventListener("animationcancel",n),a.addEventListener("animationend",n),()=>{r.clearTimeout(t),a.removeEventListener("animationstart",i),a.removeEventListener("animationcancel",n),a.removeEventListener("animationend",n)}}p("ANIMATION_END")},[a,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{u.current=e?getComputedStyle(e):null,l(e)},[])}}(t),u="function"==typeof r?r({present:l.isPresent}):n.Children.only(r),c=(0,a.s)(l.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,a=n&&"isReactWarning"in n&&n.isReactWarning;return a?e.ref:(a=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof r||l.isPresent?n.cloneElement(u,{ref:c}):null};function o(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},78192:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},80534:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},87066:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]])},92556:(e,t,r)=>{r.d(t,{m:()=>n});function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[404,492,840],{84441:()=>{}},_=>{_.O(0,[441,493,358],()=>_(_.s=84441)),_N_E=_.O()}]);