(this["webpackJsonp@jbrowse/web"]=this["webpackJsonp@jbrowse/web"]||[]).push([[37],{2275:function(e,n,a){"use strict";a.r(n),a.d(n,"default",(function(){return b}));var t=a(86),r=a(83),i=a.n(r),l=a(1),s=a.n(l),c=a(2208),o=a(51),u=a(2240),m=a(2244),d=a(2245),p=a(2243),f=a(2231),h=a(425),g=a.n(h),v=Object(o.a)((function(e){return{main:{textAlign:"center",margin:e.spacing(2),padding:e.spacing(2),borderWidth:2,borderRadius:2},buttons:{margin:e.spacing(2),color:e.palette.text.primary}}}));function b(e){var n=e.onConfirm,a=e.onCancel,r=e.reason,l=v();return s.a.createElement(u.a,{open:!0,maxWidth:"xl","data-testid":"session-warning-modal",className:l.main},s.a.createElement(p.a,null,"Warning"),s.a.createElement(f.a,null),s.a.createElement("div",null,s.a.createElement(g.a,{fontSize:"large"}),s.a.createElement(m.a,null,s.a.createElement(d.a,null,"This link contains a session that has the following unknown plugins:",s.a.createElement("ul",null,r.map((function(e){return s.a.createElement("li",null,"URL: ",e.url)}))),"Please ensure you trust the source of this session.")),s.a.createElement("div",{className:l.buttons},s.a.createElement(c.a,{color:"primary",variant:"contained",style:{marginRight:5},onClick:Object(t.a)(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n();case 1:case"end":return e.stop()}}),e)})))},"Yes, I trust it"),s.a.createElement(c.a,{variant:"contained",onClick:function(){a()}},"Cancel"))))}},425:function(e,n,a){"use strict";var t=a(93),r=a(97);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(a(1)),l=(0,t(a(98)).default)(i.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");n.default=l}}]);
//# sourceMappingURL=37.fbfe79f3.chunk.js.map