1/*! licenses: /vendor.LICENSE.txt */ 2import{j as s,d as o,B as c}from"./echoes-qrJd0a4U.js";import{r as l}from"./vendor-6DxLhnrV.js";import{w as m,j as p,l as u,m as d,g,H as w,e as k,T as x,n as f}from"./startReactApp-CQcauHYg.js";import{a8 as e,ba as h,aA as _,g as j}from"./main-CbQlDdW6.js";import"./datefns-BO8xBBw8.js";import"./lodash-CbJiKz-E.js";import"./highlightjs-DooahNbT.js";function y(i){const{currentUser:a,router:t}=i,n=u(a,d.Admin);if(l.useEffect(()=>{n||t.replace("/")},[n,t]),!n)return null;const r=async()=>{try{await h({key:_.PluginRiskConsent,value:f.Accepted}),window.location.href=`${j()}/`}catch{}};return s.jsxs(g,{className:"sw-h-screen sw-pt-[10vh]","data-component":"plugin-risk-consent",children:[s.jsx(w,{defer:!1,title:e("plugin_risk_consent.page")}),s.jsxs(k,{className:"sw-typo-lg sw-min-w-[500px] sw-mx-auto sw-w-[40%] sw-text-center","data-testid":"plugin-risk-consent-page",children:[s.jsx(x,{className:"sw-mb-4",children:e("plugin_risk_consent.title")}),s.jsx("p",{className:"sw-mb-4",children:e("plugin_risk_consent.description")}),s.jsx("p",{className:"sw-mb-6",children:e("plugin_risk_consent.description2")}),s.jsx(o,{className:"sw-my-4",onClick:r,variety:c.Primary,children:e("plugin_risk_consent.action")})]})]})}const E=m(p(y));export{y as PluginRiskConsent,E as default}; 3//# sourceMappingURL=PluginRiskConsent-CGtDtHgP.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.