text: webpackJsonp([14],{"./app/components/View/index.js":function(e,t,o){"use strict";function n(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var a=o("./node_modules/styled-components/dist/styled-components.es.js"),r=o("./app/utils/mediaqueries.js"),i=o("./node_modules/material-ui/styles/muiThemeable.js"),s=o.n(i),l=n(["\n  background-color: ",";\n  padding: 4rem 1rem;\n  padding-left: ",";\n  padding-right: ",";\n  padding-top: ",";\n  padding-bottom: ",";\n  "," {\n    padding: 4rem 6rem;\n    padding-left: ",";\n    padding-right: ",";\n    padding-top: ",";\n    padding-bottom: ",";\n  }\n  \n"],["\n  background-color: ",";\n  padding: 4rem 1rem;\n  padding-left: ",";\n  padding-right: ",";\n  padding-top: ",";\n  padding-bottom: ",";\n  "," {\n    padding: 4rem 6rem;\n    padding-left: ",";\n    padding-right: ",";\n    padding-top: ",";\n    padding-bottom: ",";\n  }\n  \n"]),d=a.a.div(l,function(e){return e.muiTheme.palette.bodyColor},function(e){return e.left?"0.5rem":"0rem"},function(e){return e.right?"0.5rem":"0rem"},function(e){return e.top?e.top+"rem":"2rem"},function(e){return e.bottom?e.bottom+"rem":"2rem"},r.a.md,function(e){return e.left?"6rem":"0rem"},function(e){return e.right?"6rem":"0rem"},function(e){return e.top?e.top+"rem":"4rem"},function(e){return e.bottom?e.bottom+"rem":"4rem"});t.a=s()()(d)},"./app/containers/DevelopersView/index.js":function(e,t,o){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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}function r(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)}var i=o("./node_modules/react/react.js"),s=o.n(i);Object.defineProperty(t,"__esModule",{value:!0});var l=o("./app/components/View/index.js"),d=o("./node_modules/react-intl/lib/index.es.js"),u=o("./app/services/config.js"),p=o("./node_modules/material-ui/RaisedButton/index.js"),c=o.n(p),m=o("./node_modules/react-router/es/index.js"),f=o("./app/containers/DevelopersView/messages.js"),h=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,a){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var s in r)void 0===o[s]&&(o[s]=r[s]);else o||(o=r||{});if(1===i)o.children=a;else if(i>1){for(var l=Array(i),d=0;d<i;d++)l[d]=arguments[d+3];o.children=l}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),b=function(){function e(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),y={margin:12},g=h(m.d,{to:"/developers/api"},void 0,h(c.a,{label:"Test our API",primary:!0,style:y})),v=h("a",{href:"https://documenter.getpostman.com/view/563205/arasaac/7TFFuzj",target:"_blank"},void 0,h(c.a,{label:"Use POSTMAN",secondary:!0,style:y})),_=function(e){function t(){return n(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),b(t,[{key:"componentWillMount",value:function(){}},{key:"render",value:function(){var e=this.props.intl,t=u.g+"/by-nc-sa.svg";return h(l.a,{left:!0,right:!0},void 0,h("p",{},void 0,s.a.createElement(d.c,f.a.introApi)),h("h2",{},void 0,s.a.createElement(d.c,f.a.termsOfUse)),h("p",{},void 0,s.a.createElement(d.c,f.a.termsOfUseDesc)),h("a",{target:"_blank",href:"https://creativecommons.org/licenses/"},void 0,h("img",{src:t,alt:s.a.createElement(d.c,f.a.license),title:e.formatMessage(f.a.license)})),h("h2",{},void 0,s.a.createElement(d.c,f.a.howto)),h("p",{},void 0,s.a.createElement(d.c,f.a.howtoDesc)),h("h3",{},void 0,s.a.createElement(d.c,f.a.grantTypes)),h("p",{},void 0,s.a.createElement(d.c,f.a.grantTypesDesc)),g,v)}}]),t}(i.PureComponent);t.default=o.i(d.e)(_)},"./app/containers/DevelopersView/messages.js":function(e,t,o){"use strict";var n=o("./node_modules/react-intl/lib/index.es.js");t.a=o.i(n.d)({termsOfUse:{id:"app.containers.DevelopersView.termsOfUse",description:"Subtitle for API terms of use",defaultMessage:"Terms of use"},introApi:{id:"app.containers.DevelopersView.introApi",description:"Intro to API webview",defaultMessage:"Arasaac has an extensive API to serve our resources to third-party applications."},termsOfUseDesc:{id:"app.containers.DevelopersView.termsOfUseDesc",description:"Description for API terms of use",defaultMessage:"The ARASAAC API is only available for non-commercial applications. Make sure you meet our license terms."},license:{id:"app.containers.DevelopersView.license",description:"Description for API terms of use",defaultMessage:"Arasaac creative commons license CC BY-NC-SA"},howto:{id:"app.containers.DevelopersView.howto",description:"Subtitle for API usage",defaultMessage:"API usage"},howtoDesc:{id:"app.containers.DevelopersView.howtoDesc",description:"Desc for API usage",defaultMessage:"In order to use the Arasaac API you need access credentials. We use the Oauth2 authorization protocol that allows us that third-party applications can access both Arasaac and its users data."},grantTypes:{id:"app.containers.DevelopersView.grantTypes",description:"Title for grant types",defaultMessage:"Grant Types"},grantTypesDesc:{id:"app.containers.DevelopersView.grantTypesDesc",description:"Desc for grant types",defaultMessage:" Depending on the type of application and specific needs, an specific grant type or other must be implemented. Do not hesitate to contact us for more information."}})},"./node_modules/material-ui/RaisedButton/RaisedButton.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e,t,o){var n=t.muiTheme,a=n.baseTheme,r=n.button,i=n.raisedButton,s=n.borderRadius,l=e.disabled,d=e.disabledBackgroundColor,u=e.disabledLabelColor,p=e.fullWidth,c=e.icon,m=e.label,f=e.labelPosition,h=e.primary,b=e.secondary,y=e.style,g=h||b?.4:.08,v=i.color,_=i.textColor;l?(v=d||i.disabledColor,_=u||i.disabledTextColor):h?(v=i.primaryColor,_=i.primaryTextColor):b?(v=i.secondaryColor,_=i.secondaryTextColor):(e.backgroundColor&&(v=e.backgroundColor),e.labelColor&&(_=e.labelColor));var D=y&&y.height||r.height;return{root:{display:"inline-block",transition:C.default.easeOut(),minWidth:p?"100%":r.minWidth},button:{height:D,lineHeight:D+"px",width:"100%",padding:0,borderRadius:s,transition:C.default.easeOut(),backgroundColor:v,textAlign:"center"},label:{position:"relative",opacity:1,fontSize:i.fontSize,letterSpacing:0,textTransform:i.textTransform||r.textTransform||"uppercase",fontWeight:i.fontWeight,margin:0,userSelect:"none",paddingLeft:c&&"before"!==f?8:a.spacing.desktopGutterLess,paddingRight:c&&"before"===f?8:a.spacing.desktopGutterLess,color:_},icon:{verticalAlign:"middle",marginLeft:m&&"before"!==f?12:0,marginRight:m&&"before"===f?12:0},overlay:{height:D,borderRadius:s,backgroundColor:(o.keyboardFocused||o.hovered)&&!l&&(0,S.fade)(_,g),transition:C.default.easeOut(),top:0},ripple:{color:_,opacity:h||b?.16:.1}}}Object.defineProperty(t,"__esModule",{value:!0});var r=o("./node_modules/material-ui/node_modules/babel-runtime/helpers/extends.js"),i=n(r),s=o("./node_modules/material-ui/node_modules/babel-runtime/helpers/objectWithoutProperties.js"),l=n(s),d=o("./node_modules/material-ui/node_modules/babel-runtime/core-js/object/get-prototype-of.js"),u=n(d),p=o("./node_modules/material-ui/node_modules/babel-runtime/helpers/classCallCheck.js"),c=n(p),m=o("./node_modules/material-ui/node_modules/babel-runtime/helpers/createClass.js"),f=n(m),h=o("./node_modules/material-ui/node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),b=n(h),y=o("./node_modules/material-ui/node_modules/babel-runtime/helpers/inherits.js"),g=n(y),v=o("./node_modules/simple-assign/index.js"),_=n(v),D=o("./node_modules/react/react.js"),j=n(D),w=o("./node_modules/prop-types/index.js"),M=n(w),T=o("./node_modules/material-ui/styles/transitions.js"),C=n(T),S=o("./node_modules/material-ui/utils/colorManipulator.js"),k=o("./node_modules/material-ui/internal/EnhancedButton.js"),P=n(k),A=o("./node_modules/material-ui/Paper/index.js"),E=n(A),O=function(e){function t(){var e,o,n,a;(0,c.default)(this,t);for(var r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];return o=n=(0,b.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),n.state={hovered:!1,keyboardFocused:!1,touched:!1,initialZDepth:0,zDepth:0},n.handleMouseDown=function(e){0===e.button&&n.setState({zDepth:n.state.initialZDepth+1}),n.props.onMouseDown&&n.props.onMouseDown(e)},n.handleMouseUp=function(e){n.setState({zDepth:n.state.initialZDepth}),n.props.onMouseUp&&n.props.onMouseUp(e)},n.handleMouseLeave=function(e){n.state.keyboardFocused||n.setState({zDepth:n.state.initialZDepth,hovered:!1}),n.props.onMouseLeave&&n.props.onMouseLeave(e)},n.handleMouseEnter=function(e){n.state.keyboardFocused||n.state.touched||n.setState({hovered:!0}),n.props.onMouseEnter&&n.props.onMouseEnter(e)},n.handleTouchStart=function(e){n.setState({touched:!0,zDepth:n.state.initialZDepth+1}),n.props.onTouchStart&&n.props.onTouchStart(e)},n.handleTouchEnd=function(e){n.setState({touched:!0,zDepth:n.state.initialZDepth}),n.props.onTouchEnd&&n.props.onTouchEnd(e)},n.handleKeyboardFocus=function(e,t){var o=t&&!n.props.disabled?n.state.initialZDepth+1:n.state.initialZDepth;n.setState({zDepth:o,keyboardFocused:t})},a=o,(0,b.default)(n,a)}return(0,g.default)(t,e),(0,f.default)(t,[{key:"componentWillMount",value:function(){var e=this.props.disabled?0:1;this.setState({zDepth:e,initialZDepth:e})}},{key:"componentWillReceiveProps",value:function(e){var t=e.disabled?0:1,o={zDepth:t,initialZDepth:t};e.disabled&&(o.hovered=!1),this.setState(o)}},{key:"render",value:function(){var e=this.props,t=(e.backgroundColor,e.buttonStyle),o=e.children,n=e.className,r=e.disabled,s=(e.disabledBackgroundColor,e.disabledLabelColor,e.fullWidth,e.icon),d=e.label,u=(e.labelColor,e.labelPosition),p=e.labelStyle,c=e.overlayStyle,m=(e.primary,e.rippleStyle),f=(e.secondary,e.style),h=(0,l.default)(e,["backgroundColor","buttonStyle","children","className","disabled","disabledBackgroundColor","disabledLabelColor","fullWidth","icon","label","labelColor","labelPosition","labelStyle","overlayStyle","primary","rippleStyle","secondary","style"]),b=this.context.muiTheme.prepareStyles,y=a(this.props,this.context,this.state),g=(0,_.default)({},y.ripple,m),v=r?{}:{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onKeyboardFocus:this.handleKeyboardFocus},w=d&&j.default.createElement("span",{style:b((0,_.default)(y.label,p)),key:"labelElement"},d),M=s&&(0,D.cloneElement)(s,{color:s.props.color||y.label.color,style:(0,_.default)(y.icon,s.props.style),key:"iconCloned"}),T="before"===u?[w,M,o]:[o,M,w];return j.default.createElement(E.default,{className:n,style:(0,_.default)(y.root,f),zDepth:this.state.zDepth},j.default.createElement(P.default,(0,i.default)({},h,v,{ref:"container",disabled:r,style:(0,_.default)(y.button,t),focusRippleColor:g.color,touchRippleColor:g.color,focusRippleOpacity:g.opacity,touchRippleOpacity:g.opacity}),j.default.createElement("div",{ref:"overlay",style:b((0,_.default)(y.overlay,c))},T)))}}]),t}(D.Component);O.muiName="RaisedButton",O.defaultProps={disabled:!1,labelPosition:"after",fullWidth:!1,primary:!1,secondary:!1},O.contextTypes={muiTheme:M.default.object.isRequired},O.propTypes={},t.default=O},"./node_modules/material-ui/RaisedButton/index.js":function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o("./node_modules/material-ui/RaisedButton/RaisedButton.js"),r=n(a);t.default=r.default}});