astroport/doc/Turning the database inside.../app-35559e9d3c228dc23edc.js

1 line
279 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{"+ZDr":function(e,t,r){"use strict";r("pIFo");var n=r("TqRt");t.__esModule=!0,t.withPrefix=h,t.withAssetPrefix=function(e){return[""].concat([e.replace(/^\//,"")]).join("/")},t.navigateTo=t.replace=t.push=t.navigate=t.default=void 0;var o=n(r("8OQS")),a=n(r("pVnL")),s=n(r("PJYZ")),i=n(r("VbXa")),u=n(r("lSNA")),c=n(r("17x9")),l=n(r("q1tI")),f=r("YwZP"),d=r("cu4x");function h(e){return function(e){return e.replace(/\/+/g,"/")}(["",e].join("/"))}t.parsePath=d.parsePath;var m={activeClassName:c.default.string,activeStyle:c.default.object,partiallyActive:c.default.bool},p=function(e){function t(t){var r;r=e.call(this,t)||this,(0,u.default)((0,s.default)(r),"defaultGetProps",(function(e){var t=e.isPartiallyCurrent,n=e.isCurrent;return(r.props.partiallyActive?t:n)?{className:[r.props.className,r.props.activeClassName].filter(Boolean).join(" "),style:(0,a.default)({},r.props.style,{},r.props.activeStyle)}:null}));var n=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(n=!0),r.state={IOSupported:n},r.handleRef=r.handleRef.bind((0,s.default)(r)),r}(0,i.default)(t,e);var r=t.prototype;return r.componentDidUpdate=function(e,t){this.props.to===e.to||this.state.IOSupported||___loader.enqueue((0,d.parsePath)(this.props.to).pathname)},r.componentDidMount=function(){this.state.IOSupported||___loader.enqueue((0,d.parsePath)(this.props.to).pathname)},r.componentWillUnmount=function(){if(this.io){var e=this.io,t=e.instance,r=e.el;t.unobserve(r),t.disconnect()}},r.handleRef=function(e){var t,r,n,o=this;this.props.innerRef&&this.props.innerRef.hasOwnProperty("current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=(t=e,r=function(){___loader.enqueue((0,d.parsePath)(o.props.to).pathname)},(n=new window.IntersectionObserver((function(e){e.forEach((function(e){t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(n.unobserve(t),n.disconnect(),r())}))}))).observe(t),{instance:n,el:t}))},r.render=function(){var e=this,t=this.props,r=t.to,n=t.getProps,s=void 0===n?this.defaultGetProps:n,i=t.onClick,u=t.onMouseEnter,c=(t.activeClassName,t.activeStyle,t.innerRef,t.partiallyActive,t.state),m=t.replace,p=(0,o.default)(t,["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace"]);var g=h(r);return l.default.createElement(f.Link,(0,a.default)({to:g,state:c,getProps:s,innerRef:this.handleRef,onMouseEnter:function(e){u&&u(e),___loader.hovering((0,d.parsePath)(r).pathname)},onClick:function(t){return i&&i(t),0!==t.button||e.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||(t.preventDefault(),w(r,{state:c,replace:m})),!0}},p))},t}(l.default.Component);p.propTypes=(0,a.default)({},m,{onClick:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.default.object});var g=function(e,t,r){return console.warn('The "'+e+'" method is now deprecated and will be removed in Gatsby v'+r+'. Please use "'+t+'" instead.')},P=l.default.forwardRef((function(e,t){return l.default.createElement(p,(0,a.default)({innerRef:t},e))}));t.default=P;var w=function(e,t){window.___navigate(h(e),t)};t.navigate=w;var b=function(e){g("push","navigate",3),window.___push(h(e))};t.push=b;t.replace=function(e){g("replace","navigate",3),window.___replace(h(e))};t.navigateTo=function(e){return g("navigateTo","navigate",3),b(e)}},"+i7v":function(e,t,r){"use strict";var n=r("TqRt");t.__esModule=!0,t.default=function(e,t){var r=(0,o.default)(e);if(void 0===t)return r?"pageXOffset"in r?r.pageXOffset:r.document.documentElement.scrollLeft:e.scrollLeft;r?r.scrollTo(t,"pageYOffset"in r?r.pageYOffset:r.document.documentElement.scrollTop):e.scrollLeft=t};var o=n(r("8Y+z"));e.exports=t.default},"+lvF":function(e,t,r){e.exports=r("VTer")("native-function-to-string",Function.toString)},"+rLv":function(e,t,r){var n=r("dyZX").document;e.exports=n&&n.documentElement},"/6Hr":function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){r