text: module.exports=function(e){function t(n){if(a[n])return a[n].exports;var i=a[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var a={};return t.m=e,t.c=a,t.d=function(e,a,n){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,a){e.exports=a(1)},function(e,t,a){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return v()(e)?e:[e]}function r(e){return"[object Date]"===Object.prototype.toString.call(e)}function o(e){if(null===e||"object"!==n(e)||r(e))return e;if(v()(e))return e.map(o);var t={};return k()(e).forEach(function(a){t[m()(a)]=o(e[a])}),t}function l(e,t){var a=t.camelizeKeys,n=t.camelizeTypeValues,i={};return k()(e).forEach(function(t){var r=e[t],l=a?m()(t):t;i[l]={},void 0!==r.data&&(v()(r.data)?i[l].data=r.data.map(function(e){return{id:e.id,type:n?m()(e.type):e.type}}):z()(r.data)?i[l].data=r.data:i[l].data={id:r.data.id,type:n?m()(r.data.type):r.data.type},void 0!==r.meta&&(i[l].meta=o(r.meta))),r.links&&(i[l].links=a?o(r.links):r.links)}),i}function u(e,t){if(t.camelizeKeys){var a={};return k()(e).forEach(function(t){a[m()(t)]=o(e[t])}),a}return e}function s(e,t){var a=t.camelizeKeys,n=t.camelizeTypeValues,r={};return i(e).forEach(function(e){var t=a?m()(e.type):e.type,i={id:e.id};r[t]=r[t]||[],i.type=n?m()(e.type):e.type,a?(i.attributes={},k()(e.attributes).forEach(function(t){i.attributes[m()(t)]=o(e.attributes[t])})):i.attributes=e.attributes,e.links&&(i.links={},k()(e.links).forEach(function(t){var n=a?m()(t):t;i.links[n]=e.links[t]})),e.relationships&&(i.relationships=l(e.relationships,{camelizeKeys:a,camelizeTypeValues:n})),e.meta&&(i.meta=u(e.meta,{camelizeKeys:a})),r[t].push(i)}),r}function c(e){return e.replace(/\?.*$/,"")}function p(e,t,a){var n=a.camelizeKeys,r=a.camelizeTypeValues,o=a.filterEndpoint,s={};s.meta={};var p;if(o)s.meta[t]={},p=s.meta[t];else{var f=c(t);s.meta[f]={},s.meta[f][t.slice(f.length)]={},p=s.meta[f][t.slice(f.length)]}if(p.data={},e.data){var y=[];i(e.data).forEach(function(e){var t={id:e.id,type:r?m()(e.type):e.type};e.relationships&&(t.relationships=l(e.relationships,{camelizeKeys:n,camelizeTypeValues:r})),y.push(t)}),p.data=y}return e.links&&(p.links=e.links,s.meta[c(t)].links=e.links),e.meta&&(p.meta=u(e.meta,{camelizeKeys:n})),s}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.filterEndpoint,n=void 0===a||a,i=t.camelizeKeys,r=void 0===i||i,o=t.camelizeTypeValues,l=void 0===o||o,f=t.endpoint,y={};if(e.data&&x()(y,s(e.data,{camelizeKeys:r,camelizeTypeValues:l})),e.included&&x()(y,s(e.included,{camelizeKeys:r,camelizeTypeValues:l})),f){var m=n?c(f):f;x()(y,p(e,m,{camelizeKeys:r,camelizeTypeValues:l,filterEndpoint:n}))}else e.meta&&(y.meta=u(e.meta,{camelizeKeys:r}));return y}Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;var y=a(2),m=a.n(y),d=a(3),v=a.n(d),h=a(4),z=a.n(h),b=a(5),k=a.n(b),K=a(6),x=a.n(K)},function(e,t){e.exports=require("lodash/camelCase")},function(e,t){e.exports=require("lodash/isArray")},function(e,t){e.exports=require("lodash/isNull")},function(e,t){e.exports=require("lodash/keys")},function(e,t){e.exports=require("lodash/merge")}]);