"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[8969],{98969:function(n,i,r){r.r(i),r.d(i,{default:function(){return u}});r(96902);var e=r(46186),t=r(52809),s=r(92735),a=r(99688),o=r(44536),l=r(6102),c=r(29938);function u(n){var i=n.onConfirm,r=n.onCancel,u=n.reason;return(0,c.jsxs)(e.Dialog,{open:!0,maxWidth:"xl","data-testid":"session-warning-modal",title:"Warning","aria-labelledby":"alert-dialog-title",children:[(0,c.jsxs)(t.Z,{children:[(0,c.jsx)(l.Z,{fontSize:"large"}),(0,c.jsxs)(s.Z,{children:["This link contains a cross origin config that has the following unknown plugins:",(0,c.jsx)("ul",{children:u.map((function(n){return(0,c.jsxs)("li",{children:["URL: ",n.url]},JSON.stringify(n))}))}),"Please ensure you trust the source of this link."]})]}),(0,c.jsxs)(a.Z,{children:[(0,c.jsx)(o.Z,{color:"primary",variant:"contained",onClick:function(){return i()},children:"Yes, I trust it"}),(0,c.jsx)(o.Z,{color:"secondary",variant:"contained",onClick:function(){return r()},children:"Cancel"})]})]})}},6102:function(n,i,r){var e=r(71600);i.Z=void 0;var t=e(r(7152)),s=r(29938),a=(0,t.default)((0,s.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");i.Z=a}}]);
//# sourceMappingURL=8969.475b3cf4.chunk.js.map