pleroma/priv/static/packs/common.js

2 lines
1.1 MiB
JavaScript
Raw Normal View History

2020-01-22 10:00:23 -05:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],Array(44).concat([function(e,t,a){"use strict";e.exports=function(){}},,,,,,function(e,t){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch(e){"object"==typeof window&&(a=window)}e.exports=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i])}return e},r=c(a(5)),n=c(a(433)),o=c(a(3)),s=c(a(434)),u=c(a(436)),l=c(a(447));function c(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(a,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,a,i));return r.handleHidden=function(){var e;(r.setState({exited:!0}),r.props.onExited)&&(e=r.props).onExited.apply(e,arguments)},r.state={exited:!a.show},r.onHiddenListener=r.handleHidden.bind(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillReceiveProps=function(e){e.show?this.setState({exited:!1}):e.transition||this.setState({exited:!0})},t.prototype.render=function(){var e=this.props,t=e.container,a=e.containerPadding,i=e.target,r=e.placement,n=e.shouldUpdatePosition,c=e.rootClose,f=e.children,g=e.transition,_=function(e,t){var a={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(a[i]=e[i]);return a}(e,["container","containerPadding","target","placement","shouldUpdatePosition","rootClose","children","transition"]);if(!(_.show||g&&!this.state.exited))return null;var d=f;if(d=o.default.createElement(u.default,{container:t,containerPadding:a,target:i,placement:r,shouldUpdatePosition:n},d),g){var h=_.onExit,m=_.onExiting,p=_.onEnter,F=_.onEntering,b=_.onEntered;d=o.default.createElement(g,{in:_.show,appear:!0,onExit:h,onExiting:m,onExited:this.onHiddenListener,onEnter:p,onEntering:F,onEntered:b},d)}return c&&(d=o.default.createElement(l.default,{onRootClose:_.onHide},d)),o.default.createElement(s.default,{container:t},d)},t}(o.default.Component);f.propTypes=i({},s.default.propTypes,u.default.propTypes,{show:r.default.bool,rootClose:r.default.bool,onHide:function(e){var t=r.default.func;e.rootClose&&(t=t.isRequired);for(var a=arguments.length,i=Array(a>1?a-1:0),n=1;n<a;n++)i[n-1]=arguments[n];return t.apply(void 0,[e].concat(i))},transition:n.default,onEnter:r.default.func,onEntering:r.default.func,onEntered:r.default.func,onExit:r.default.func,onExiting:r.default.func,onExited:r.default.func}),t.default=f,e.exports=t.default},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";a.d(t,"c",function(){return i}),a.d(t,"d",function(){return r}),a.d(t,"f",function(){return n}),a.d(t,"h",function(){return o}),a.d(t,"a",function(){return s}),a.d(t,"g",function(){return u}),a.d(t,"b",function(){return l}),a.d(t,"e",function(){return c});var i="/settings",r="/user-settings",n="/auth/sign_out",o="/terms",s=function(e){return"/pleroma/admin/#/users/"+e+"/"},u=function(e,t){return"/pleroma/admin/#/users/"+e+"/"},l=void 0,c=void 0},,,,,,,,,,function(e,t,a){"use strict";t.__esModule=!0,t.default=function(e){return(0,r.default)(i.default.findDOMNode(e))};var i=n(a(39)),r=n(a(263));function n(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object
//# sourceMappingURL=common.js.map