1/*! For license information please see 4634.71a3f7078eb4b39a807d.js.LICENSE.txt */ 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"a4c5a329452e2ef2018129eb90c4af3a739f0374"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0f0097cb-d72b-48e0-86ad-37aceedf3f1d",e._sentryDebugIdIdentifier="sentry-dbid-0f0097cb-d72b-48e0-86ad-37aceedf3f1d")}catch(e){}}(),(self.webpackChunkmb_retina=self.webpackChunkmb_retina||[]).push([[4634],{94634(e,t,n){n.d(t,{ProtectionMode:()=>x});var r=n(36782),o=n(49785),i=n(14476),a=n(70893),c=n(58583),l=n(1643),u=n(59313),s=n(11230),f=n(7696),d=n(91244),b=n(63194),p=n(97425),y=n(79175),v=n(15740),h=n(8534),m=n(66169),g=n(36782);function w(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var l=r&&r.prototype instanceof c?r:c,u=Object.create(l.prototype);return E(u,"_invoke",function(n,r,o){var i,c,l,u=0,s=o||[],f=!1,d={p:0,n:0,v:e,a:b,f:b.bind(e,4),d:function(t,n){return i=t,c=0,l=e,d.n=n,a}};function b(n,r){for(c=n,l=r,t=0;!f&&u&&!o&&t<s.length;t++){var o,i=s[t],b=d.p,p=i[2];n>3?(o=p===r)&&(l=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=b&&((o=n<2&&b<i[1])?(c=0,d.v=r,d.n=i[1]):b<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,d.n=p,c=0))}if(o||n>1)return a;throw f=!0,r}return function(o,s,p){if(u>1)throw TypeError("Generator is already running");for(f&&1===s&&b(s,p),c=s,l=p;(t=c<2?e:l)||!f;){i||(c?c<3?(c>1&&(d.n=-1),b(c,l)):d.n=l:d.v=l);try{if(u=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(f=d.n<0)?l:n.call(r,d))!==a)break}catch(t){i=e,c=1,l=t}finally{u=1}}return{value:t,done:f}}}(n,o,i),!0),u}var a={};function c(){}function l(){}function u(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(E(t={},r,function(){return this}),t),f=u.prototype=c.prototype=Object.create(s);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,E(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return l.prototype=u,E(f,"constructor",u),E(u,"constructor",l),l.displayName="GeneratorFunction",E(u,o,"GeneratorFunction"),E(f),E(f,o,"Generator"),E(f,r,function(){return this}),E(f,"toString",function(){return"[object Generator]"}),(w=function(){return{w:i,m:d}})()}function E(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}E=function(e,t,n,r){function i(t,n){E(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},E(e,t,n,r)}function _(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}var k=i.z.object({silentMode:i.z.boolean()});function x(){var e=(0,h.E$)(),t=e.showError,n=e.showNotification,i=(0,f.d4)(d.dG),E=(0,f.d4)(b.l4).find(function(e){return e.products.includes(l.E6.EmailSecurity)}),x=!(null==E||!E.isValid)&&E.status!==c.KR.Expired&&(0,u.SM)(E.expiration),O=(0,s.OR)({enabled:!1}),S=O.data,T=O.isLoading,j=!(null==S||!S.silent_mode),P=(0,s.CP)().mutateAsync,D=(0,p.Jg)({message:"Detected threats will still be flagged and logged on Incidents Log, but no action will be taken on emails in user's inboxes. Use this mode for visibility and testing without impacting user mail flow.",textForConfirm:"Enable",textForDeny:"Cancel",title:"Enable Silent Mode",width:700}),M=(0,o.mN)({defaultValues:{silentMode:j},resolver:(0,a.u)(k)}),F=M.control,G=M.setValue;function I(e){return C.apply(this,arguments)}function C(){var e;return e=w().m(function e(r){var o;return w().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!i){e.n=1;break}return e.a(2);case 1:if(e.p=1,o=!r){e.n=3;break}return e.n=2,D();case 2:o=e.v;case 3:if(o){e.n=4;break}return e.a(2);case 4:return e.n=5,P({settings:[{name:"silentMode",state:r?"enable":"disable"}]});case 5:n({title:"Silent mode has been successfully ".concat(r?"enabled":"disabled",".")}),e.n=7;break;case 6:e.p=6,e.v,t("Failed to ".concat(r?"enable":"disable"," silent mode"));case 7:return e.a(2)}},e,null,[[1,6]])}),C=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){_(i,r,o,a,c,"next",e)}function c(e){_(i,r,o,a,c,"throw",e)}a(void 0)})},C.apply(this,arguments)}return(0,r.useEffect)(function(){G("silentMode",j,{shouldDirty:!1})},[j,G]),T?g.createElement(m.a,{centered:!0}):g.createElement("div",{className:"w-100 h-100 d-flex flex-column gap-4 pt-2"},g.createElement(o.xI,{control:F,name:"silentMode",render:function(e){var t=e.field;return g.createElement(g.Fragment,null,g.createElement(v.u,{isDisabled:i||x,isTrial:x,onChange:I,value:t.value}),t.value&&g.createElement(y.P,{isTrial:x}))}}))}}}]); 3//# sourceMappingURL=4634.71a3f7078eb4b39a807d.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.