2021-05-11 01:58:23 +02:00
|
|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{103:function(e,t,n){"use strict";var r=n(0),a=n(51);var o=n(7),c=n(45),i=n(32),l=n(54),u=n(98),s=n(29),d=n(116);n(144);t.a=e=>{const{title:t,className:n,isOpen:f,header:m,hasCloseButton:h,noBackdrop:b,children:p,onClose:v,onCloseAnimationEnd:g,onEnter:E}=e,{shouldRender:j,transitionClassNames:O}=Object(i.a)(f,g),y=Object(r.q)(null);Object(r.n)(()=>f?Object(a.a)({onEsc:v,onEnter:E}):void 0,[f,v,E]),Object(r.n)(()=>f&&y.current?function(e){function t(t){if("Tab"!==t.key)return;t.preventDefault(),t.stopPropagation();const n=Array.from(e.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'));if(!n.length)return;const r=n.findIndex(e=>e.isSameNode(document.activeElement));let a=0;r>=0&&(a=t.shiftKey?r>0?r-1:n.length-1:r<n.length-1?r+1:0),n[a].focus()}return document.addEventListener("keydown",t,!1),()=>{document.removeEventListener("keydown",t,!1)}}(y.current):void 0,[f]),Object(l.a)(([e])=>(document.body.classList.toggle("has-open-dialog",f),(f||!f&&void 0!==e)&&Object(c.b)(200),()=>{document.body.classList.remove("has-open-dialog")}),[f]);const w=Object(u.a)();if(!j)return;const k=Object(o.a)("Modal",n,O,b&&"transparent-backdrop");return r.a.createElement(d.a,null,r.a.createElement("div",{ref:y,className:k,tabIndex:-1,role:"dialog"},r.a.createElement("div",{className:"modal-container"},r.a.createElement("div",{className:"modal-backdrop",onClick:v}),r.a.createElement("div",{className:"modal-dialog"},m||(t?r.a.createElement("div",{className:"modal-header"},h&&r.a.createElement(s.a,{round:!0,color:"translucent",size:"smaller",ariaLabel:w("Close"),onClick:v},r.a.createElement("i",{className:"icon-close"})),r.a.createElement("div",{className:"modal-title"},t)):void 0),r.a.createElement("div",{className:"modal-content custom-scroll"},p)))))}},107:function(e,t,n){"use strict";var r=n(40);t.a=(e,t)=>{const n=Object(r.a)(t);n&&!t.some((e,t)=>e!==n[t])||e(n||[])}},110:function(e,t,n){"use strict";var r=n(0),a=n(8),o=n(9),c=n(7),i=n(45),l=n(125);let u,s;async function d(){return u||(u=n.e(7).then(n.bind(null,183)),s=(await u).default),u}setTimeout(d,5e3);t.a=Object(r.h)(({className:e,id:t,animationData:n,play:u,playSegment:f,speed:m,noLoop:h,size:b,quality:p,isLowPriority:v,onLoad:g})=>{const[E,j]=Object(r.r)(),O=Object(r.q)(null),y=Object(r.q)(!1),w=Object(r.q)(!1),k=Object(r.q)();k.current=u;const N=Object(r.q)();N.current=f,Object(r.n)(()=>{if(E||!n)return;const e=()=>{if(!O.current)return;const e=new s(t,O.current,n,{noLoop:h,size:b,quality:p,isLowPriority:v},g);m&&e.setSpeed(m),j(e)};s?e():d().then(()=>{Object(o.b)(()=>{O.current&&e()})})},[E,n,t,v,h,g,p,b,m]),Object(r.n)(()=>()=>{E&&E.destroy()},[E]);const C=Object(r.m)((e=!1)=>{E&&(k.current||N.current)&&(N.current?E.playSegment(N.current):e?E.goToAndPlay(0):E.play())},[E]),L=Object(r.m)(()=>{E&&E.pause()},[E]),A=Object(r.m)(()=>{w.current=!0,E&&(y.current||(y.current=E.isPlaying()),L())},[E,L]),M=Object(r.m)(()=>{y.current&&C(),y.current=!1,w.current=!1},[C]),P=Object(r.m)(()=>{Object(o.b)(M)},[M]);Object(r.n)(()=>{E&&(u||f?w.current?y.current=!0:C(h):w.current?y.current=!1:L())},[E,u,f,h,C,L]),Object(i.a)(A,M),Object(l.a)(A,P);const T=Object(c.a)("AnimatedSticker",e,a.d&&u&&"is-playing"),S=b?`width: ${b}px; height: ${b}px;`:void 0;return r.a.createElement("div",{ref:O,className:T,style:S})})},116:function(e,t,n){"use strict";var r=n(0),a=n(61);t.a=({containerId:e,className:t,children:n})=>{const o=Object(r.q)(document.createElement("div"));return Object(r.o)(()=>{const n=document.querySelector(e||"#portals");if(!n)return;const r=o.current;return t&&r.classList.add(t),n.appendChild(r),()=>{a.a.render(void 0,r),n.removeChild(r)}},[t,e]),a.a.render(n,o.current)}},119:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(5),a=n(50);const o={MonkeyIdle:n.p+"TwoFactorSetupMonkeyIdle.dea4a492c144df84ddab778dc8a3f0cd.tgs",MonkeyTracking:n.p+"TwoFactorSetupMonkeyTracking.eb5a7a6f166fb7589c12e6248561fb58.tgs",MonkeyClose:n.p+"TwoFactorSetupMonkeyClose.604c4c833d322b7e6c3ea1
|