1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1655],{61655:function(e,t,n){n.r(t),n.d(t,{ModalContext:function(){return d},useModalTools:function(){return x}});var s=n(64254),o=n.n(s),i=n(38323),a=n(67294),l=n(73935),c=n(85893),r=[".modal.jsx-1570852776{z-index:1000;position:fixed;top:0;bottom:0;left:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-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;text-align:start;}",".modal.jsx-1570852776 .mask-content.jsx-1570852776{position:absolute;top:0;bottom:0;left:0;width:100vw;height:100dvh;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;-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;}",".modal.jsx-1570852776 .mask.jsx-1570852776{position:absolute;top:0;left:0;width:100vw;height:100dvh;background-color:rgba(0,0,0,0.55);-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out;opacity:0;}",".modal.jsx-1570852776 .content.jsx-1570852776{width:100%;-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;opacity:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-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;}",".modal.default.jsx-1570852776 .content.jsx-1570852776{-webkit-transform:scale(0.5);-ms-transform:scale(0.5);transform:scale(0.5);}",".modal.bottom.jsx-1570852776 .mask-content.jsx-1570852776{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;}",".modal.bottom.jsx-1570852776 .content.jsx-1570852776{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);}",".modal.visible.jsx-1570852776 .mask.jsx-1570852776{opacity:1;}",".modal.visible.default.jsx-1570852776 .content.jsx-1570852776{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:1;}",".modal.visible.bottom.jsx-1570852776 .content.jsx-1570852776{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);}"];r.__hash="1570852776";var d=a.createContext({onClose:function(){}}),x=function(){return a.useContext(d)};t.default=function(e){var t=e.visible,n=void 0===t||t,s=e.children,x=e.onClose,m=e.type,f=e.zIndex,u=(0,a.useState)(!1),b=u[0],y=u[1];(0,a.useEffect)(function(){return function(){var e=document.querySelector("body");e&&(e.style.overflow="",e.style.touchAction="")}},[]),(0,a.useEffect)(function(){setTimeout(function(){y(n)},n?10:400)},[n]),(0,a.useEffect)(function(){var e=document.body;return b?(e.style.overflow="hidden",e.style.touchAction="none"):(e.style.overflow="",e.style.touchAction=""),function(){e.style.overflow="",e.style.touchAction=""}},[b]);var k=(0,a.useMemo)(function(){if(void 0===f)return{};var e={styles:(0,c.jsx)(o(),{id:"1462833524",dynamic:[f],children:[".modal-zindex.__jsx-style-dynamic-selector{z-index:".concat(f,";}")]}),className:o().dynamic([["1462833524",[f]]])},t=e.className;return{styles:e.styles,zIndexClassName:(0,i.Wy)("modal-zindex",t)}},[f]),j=k.zIndexClassName,h=k.styles;return(0,l.createPortal)((0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"jsx-".concat(r.__hash)+" "+((0,i.Wy)("modal",void 0===m?"default":m,(!0==n?b:n)&&"visible",j)||""),children:(!0==n?n:b)&&(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)("div",{className:"jsx-".concat(r.__hash)+" mask-content",children:[(0,c.jsx)("div",{onClick:x,className:"jsx-".concat(r.__hash)+" mask"}),(0,c.jsx)(d.Provider,{value:{onClose:x},children:(0,c.jsx)("div",{className:"jsx-".concat(r.__hash)+" content",children:s})})]})})}),h,(0,c.jsx)(o(),{id:r.__hash,children:r})]}),document.body)}}}]);
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.