_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[36],{TsDr:function(e,r,t){"use strict";t.r(r);var c=t("rePB"),n=t("nKUr"),i=(t("q1tI"),t("yE/o")),o=t("gaPq"),s=t("h4VS"),j=t("wx14"),u=t("UYTu"),O=t("ikXu"),b=t("D1pA"),a=t("YFqc"),l=t.n(a),f=t("YRLc");function d(){var e=Object(s.a)(["\n    query currencies($limit: Int, $offset: Int) {\n      currencies(limit: $limit, offset: $offset, includeInactive: true) {\n        _id\n        isoCode\n        isActive\n      }\n    }\n  "]);return d=function(){return e},e}function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);r&&(c=c.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,c)}return t}function h(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?p(Object(t),!0).forEach((function(r){Object(c.a)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):p(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var y=Object(f.b)({queryName:"currencies",query:Object(u.a)(d())})((function(e){var r=Object(j.a)({},e);return Object(n.jsx)(f.a,h(h({},r),{},{cols:2,createPath:"/currencies/new",rowRenderer:function(e){return Object(n.jsxs)(O.a.Row,{children:[Object(n.jsx)(O.a.Cell,{children:Object(n.jsx)(l.a,{href:"/currencies/edit?_id=".concat(e._id),children:Object(n.jsx)("a",{href:"/currencies/edit?_id=".concat(e._id),children:e.isoCode})})}),Object(n.jsx)(O.a.Cell,{children:e.isActive&&Object(n.jsx)(b.a,{color:"green",name:"checkmark",size:"large"})})]},e._id)},children:Object(n.jsxs)(O.a.Row,{children:[Object(n.jsx)(O.a.HeaderCell,{children:"Code"}),Object(n.jsx)(O.a.HeaderCell,{children:"Active"})]})}))})),w=t("PZVx");function P(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);r&&(c=c.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,c)}return t}function _(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?P(Object(t),!0).forEach((function(r){Object(c.a)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):P(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}r.default=Object(w.a)((function(e){return Object(n.jsx)(o.a,_(_({},e),{},{children:Object(n.jsxs)(i.a,{children:[Object(n.jsx)("h2",{children:"Currencies"}),Object(n.jsx)(y,{limit:50})]})}))}))},dy9b:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/currencies",function(){return t("TsDr")}])}},[["dy9b",0,2,3,1,4,5,9]]]);