marten-application/build/static/js/main.c6fc18cb.js

2 lines
255 KiB
JavaScript
Raw Normal View History

2018-09-19 21:47:55 +00:00
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=56)}([function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){"use strict";e.exports=n(63)},function(e,t,n){e.exports=n(70)()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){function r(e,t){if(null==e)return{};var n,r,i=o(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var o=n(73);e.exports=r},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n},function(e,t,n){"use strict";function r(){return j||(j=(0,x.default)())}var o=n(43),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.sheetsManager=void 0;var a=i(n(3)),l=i(n(9)),u=i(n(10)),s=i(n(11)),c=i(n(12)),f=i(n(13)),d=i(n(4)),p=i(n(1)),h=i(n(2)),y=(i(n(5)),i(n(44))),v=(i(n(25)),i(n(130))),m=n(37),b=o(n(45)),g=i(n(36)),w=i(n(132)),x=i(n(27)),_=i(n(33)),k=i(n(35)),S=i(n(134)),T=i(n(135)),P=(0,m.create)((0,g.default)()),E=(0,k.default)(),O=-1e11,C=new Map;t.sheetsManager=C;var j,M={},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=t.withTheme,i=void 0!==o&&o,m=t.flip,g=void 0===m?null:m,x=t.name,k=(0,d.default)(t,["withTheme","flip","name"]),j=(0,S.default)(e),R=j.themingEnabled||i||"string"===typeof x;O+=1,j.options.index=O;var N=function(e){function t(e,n){var o;(0,l.default)(this,t),o=(0,s.default)(this,(0,c.default)(t).call(this,e,n)),o.disableStylesGeneration=!1,o.jss=null,o.sheetOptions=null,o.sheetsManager=C,o.stylesCreatorSaved=null,o.theme=null,o.unsubscribeId=null,o.state={},o.jss=n[b.jss]||P;var i=n.muiThemeProviderOptions;return i&&(i.sheetsManager&&(o.sheetsManager=i.sheetsManager),o.disableStylesGeneration=i.disableStylesGeneration),o.stylesCreatorSaved=j,o.sheetOptions=(0,a.default)({generateClassName:E},n[b.sheetOptions]),o.theme=R?_.default.initial(n)||r():M,o.attach(o.theme),o.cacheClasses={value:null,lastProp:null,lastJSS:{}},o}return(0,f.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){var e=this;R&&(this.unsubscribeId=_.default.subscribe(this.context,function(t){var n=e.theme;e.theme=t,e.attach(e.theme),e.setState({},function(){e.detach(n)})}))}},{key:"componentDidUpdate",value:function(){this.stylesCreatorSaved,0}},{key:"componentWillUnmount",value:function(){this.detach(this.theme),null!==this.unsubscribeId&&_.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"getClasses",value:function(){var e=!1;if(!this.disableStylesGeneration){var t=this.sheetsManager.get(this.stylesCreatorSaved),r=t.get(this.theme);r.sheet.classes!==this.cacheClasses.lastJSS&&(this.cacheClasses.lastJSS=r.sheet.classes,e=!0)}return this.props.classes!==this.cacheClasses.lastProp&&(this.cacheClasses.lastProp=this.props.classes,e=!0),e&&(this.cacheClasses.value=(0,w.default)({baseClasses:this.cacheClasses.lastJSS,newClasses:this.props.classes,Component:n,noBase:this.disableStylesGeneration})),this.cacheClasses.value}},{key:"attach",value:function(e){if(!this.disableStylesGeneration){var t=this.stylesCreatorSaved,n=this.sheetsManager.get(t);n||(n=new Map,this.sheetsManager.set(t,n));var r=n.get(e);if(r||(r={refs:0,sheet:null},n.set(e,r)),0===r.refs){var o=t.create(e,x),i=x,l=this.jss.create
//# sourceMappingURL=main.c6fc18cb.js.map