1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[709],{jt6m:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return D}});var a=n("UZBw"),o=n.n(a),i=n("mMyr"),l=n("RBxb"),r=n("eT/o"),s=n("8QBI"),c=n("YgNj"),m=n("zAkZ"),u=n("qo9F"),d=n.n(u);const b=20,p=1e3;class f extends i.Component{constructor(...e){super(...e),(0,m.Z)(this,"delayTimer",void 0),(0,m.Z)(this,"handleMouseleave",e=>{e.clientY>b||(this.delayTimer=setTimeout(this.props.onTrigger,p))}),(0,m.Z)(this,"handleMouseenter",()=>{this.resetDelayTimer()}),(0,m.Z)(this,"resetDelayTimer",()=>{this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)})}componentDidMount(){const e=document.documentElement;e.addEventListener("mouseleave",this.handleMouseleave,!1),e.addEventListener("mouseenter",this.handleMouseenter,!1)}componentWillUnmount(){this.resetDelayTimer();const e=document.documentElement;e.removeEventListener("mouseleave",this.handleMouseleave,!1),e.removeEventListener("mouseenter",this.handleMouseenter,!1)}render(){return null}}(0,m.Z)(f,"propTypes",{onTrigger:d().func.isRequired});var _=n("X+Ff");var g=i.memo(function({afterCalculatedWaitTime:e,afterLoadedWaitTime:t,children:n,contentWidth:a,localStorageExpirationTime:o,localStorageKey:m,onHide:u,onOpen:d}){const[b,p]=(0,i.useState)(!1),[g,x]=(0,i.useState)(!1),[h,y]=(0,i.useState)(!1),[T,E]=(0,i.useState)(!1),[v,k]=(0,i.useState)(!1),M=(0,i.useRef)(),C=(0,i.useRef)(),w=(0,i.useRef)(),O=(0,i.useCallback)(({action:e})=>{E(t=>!!t||(0,c.Z)(e)),C.current&&C.current(),y(!1),k(!1)},[]),j=()=>{null!=M.current&&(clearTimeout(M.current),M.current=void 0)},N=()=>{C.current&&C.current.cancel()},Z=(0,i.useCallback)(()=>{u&&u()},[u]),S=(0,i.useCallback)(()=>{k(!0)},[]);return(0,i.useEffect)(()=>{s.Ry(m,o)||p(!0)},[o,m]),(0,i.useEffect)(()=>(N(),C.current=(0,l.debounce)(()=>{y(!0)},e),N),[e]),(0,i.useEffect)(()=>(M.current=setTimeout(()=>{x(!0)},t),j),[t]),(0,i.useEffect)(()=>{b&&g&&T&&(h||v)&&(()=>{var e;d&&d(),p(!1),j(),N(),s.lH(m),null===(e=w.current)||void 0===e||e.open()})()}),i.createElement(i.Fragment,null,i.createElement(_.Z,{contentWidth:a||900,onHide:Z,ref:w},n),i.createElement(f,{onTrigger:S}),i.createElement(r.Z,{includeInitial:!1,onAction:O}))}),x=n("2iv2"),h=n("WTPy"),y=n("5056"),T=n("LAdK"),E=n("SBf8"),v=n("iElv"),k=n("/XOV");function M({themeName:e}){return i.createElement(i.Fragment,null,i.createElement("div",{style:{backgroundImage:(0,v.Z)(e)},className:"jsx-4044777288 polygons"}),i.createElement("div",{className:"jsx-4044777288 triangle-container"},i.createElement(k.Z,null)),i.createElement(x.default,{id:"4044777288"},[".polygons.jsx-4044777288{position:absolute;top:0;left:0;z-index:-1;width:20%;height:100%;background-position:top center;background-size:cover;background-blend-mode:color-burn;border-top-left-radius:4px;border-bottom-left-radius:4px;}",".triangle-container.jsx-4044777288{position:absolute;top:0;right:80%;z-index:-1;width:5%;height:100%;}"]))}const C="https://www.youtube.com/watch?v=nCcE9k7qpB0",w="images/omnitube-thumbnail.png",O="Have aliens found you? || How to find planets in the universe",j={subtitle:"Find out by watching our video on exoplanets",title:"Have aliens found you?"};function N({onClose:e}){const{themeName:t,theme:n}=(0,E.Fg)();(0,i.useEffect)(()=>{(0,y.V0)("Show omniTube popup")},[]);return i.createElement(T.Z,null,i.createElement("div",{className:x.default.dynamic([["2270358976",[n.baseColor]]])+" OmniTubeModal"},i.createElement("div",{className:x.default.dynamic([["2270358976",[n.baseColor]]])+" OmniTubeModal__container"},i.createElement("div",{className:x.default.dynamic([["2270358976",[n.baseColor]]])+" OmniTubeModal__textContent"},i.createElement("h1",{className:x.default.dynamic([["2270358976",[n.baseColor]]])+" OmniTubeModal__heading"},j.title),i.createElement("p",{className:x.default.dynamic([["2270358976",[n.baseColor]]])+" OmniTubeModal__paragraph"},j.subtitle)),i.createElement("a",{href:C,onClick:()=>{(0,y.V0)("Click omniTube link"),e()},rel:"noopener",target:"_blank",className:x.default.dynamic([["2270358976",[n.baseColor]]])},i.createElement("img",{alt:O,src:(0,h.Z)(w),className:x.default.dynamic([["2270358976",[n.baseColor]]])+" OmniTubeModal__image"}))),i.createElement("button",{onClick:e,className:x.default.dynamic([["2270358976",[n.baseColor]]])+" OmniTubeModal__button--close"},"Ã"),i.createElement("img",{alt:"omni calculator logo",src:(0,h.Z)("images/omni-white.svg"),className:x.default.dynamic([["2270358976",[n.baseColor]]])+" OmniTubeModal__logo"}),i.createElement(M,{themeName:t})),i.createElement(x.default,{id:"2270358976",dynamic:[n.baseColor]},[".OmniTubeModalBase.__jsx-style-dynamic-selector{position:relative;padding:30px 0 15px;text-align:center;border-radius:4px;}",".OmniTubeModal__container.__jsx-style-dynamic-selector{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;
1-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-left:20%;}",".OmniTubeModal__heading.OmniTubeModal__heading.__jsx-style-dynamic-selector{margin:0;font-size:32px;}",".OmniTubeModal__paragraph.__jsx-style-dynamic-selector{padding:0;margin:0 0 0.5rem 0;font-size:16px;}",".OmniTubeModal__button--ok.OmniTubeModal__button--ok.__jsx-style-dynamic-selector{padding:10px;margin-top:10px;color:white;-webkit-text-decoration:none;text-decoration:none;background-color:".concat(n.baseColor,";border-radius:5px;box-shadow:6px 8px 42px 1px rgba(0,0,0,0.15);-webkit-transition:-webkit-transform 0.15s;-webkit-transition:transform 0.15s;transition:transform 0.15s;}"),".OmniTubeModal__button--ok.__jsx-style-dynamic-selector:hover{opacity:0.999;-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05);}",".OmniTubeModal__button--close.__jsx-style-dynamic-selector{position:absolute;top:4px;right:16px;}",".OmniTubeModal__logo.__jsx-style-dynamic-selector{position:absolute;top:9px;left:11px;width:55px;}",".OmniTubeModal__textContent.__jsx-style-dynamic-selector{padding:0 24px 0 12px;}"]))}const Z=6048e5,S="omniTubeModal:".concat(o()(C)),L=1e4;function D(){const[e,t]=(0,i.useState)(!0),n=()=>{t(!1)};return e?i.createElement(g,{afterCalculatedWaitTime:L,afterLoadedWaitTime:L,contentWidth:600,localStorageExpirationTime:Z,localStorageKey:S,onHide:n},i.createElement(N,{onClose:n})):null}}}]); 2//# sourceMappingURL=OmniTubeModal.6687b4af7107504cbe43.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.