forked from avelino/awesome-go
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path2765-146535ddd065ff54.js.download
1 lines (1 loc) · 32.7 KB
/
2765-146535ddd065ff54.js.download
1
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2765],{29115:function(n,t,e){var r=Object.create?function(n,t,e,r){void 0===r&&(r=e);var i=Object.getOwnPropertyDescriptor(t,e);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(n,r,i)}:function(n,t,e,r){void 0===r&&(r=e),n[r]=t[e]},i=Object.create?function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}:function(n,t){n.default=t},u=function(n){if(n&&n.__esModule)return n;var t={};if(null!=n)for(var e in n)"default"!==e&&Object.prototype.hasOwnProperty.call(n,e)&&r(t,n,e);return i(t,n),t},o=function(n,t,e){if(e||2==arguments.length)for(var r,i=0,u=t.length;i<u;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return n.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.sort=t.lefts=t.rights=t.reverse=t.modifyAt=t.deleteAt=t.updateAt=t.insertAt=t.findLastIndex=t.findLastMap=t.findLast=t.findFirstMap=t.findFirst=t.findIndex=t.dropLeftWhile=t.dropRight=t.dropLeft=t.spanLeft=t.takeLeftWhile=t.takeRight=t.takeLeft=t.init=t.tail=t.last=t.head=t.lookup=t.isOutOfBound=t.size=t.scanRight=t.scanLeft=t.chainWithIndex=t.foldRight=t.matchRight=t.matchRightW=t.foldLeft=t.matchLeft=t.matchLeftW=t.match=t.matchW=t.fromEither=t.fromOption=t.fromPredicate=t.replicate=t.makeBy=t.appendW=t.append=t.prependW=t.prepend=t.isNonEmpty=t.isEmpty=void 0,t.traverse=t.reduceRightWithIndex=t.reduceRight=t.reduceWithIndex=t.foldMap=t.reduce=t.foldMapWithIndex=t.duplicate=t.extend=t.filterWithIndex=t.partitionMapWithIndex=t.partitionMap=t.partitionWithIndex=t.partition=t.compact=t.filterMap=t.filterMapWithIndex=t.filter=t.separate=t.mapWithIndex=t.map=t.flatten=t.chain=t.flatMap=t.ap=t.alt=t.altW=t.zero=t.of=t._chainRecBreadthFirst=t._chainRecDepthFirst=t.difference=t.intersection=t.union=t.concat=t.concatW=t.comprehension=t.fromOptionK=t.chunksOf=t.splitAt=t.chop=t.sortBy=t.uniq=t.elem=t.rotate=t.intersperse=t.prependAll=t.unzip=t.zip=t.zipWith=void 0,t.unsafeDeleteAt=t.unsafeUpdateAt=t.unsafeInsertAt=t.fromEitherK=t.FromEither=t.filterE=t.Witherable=t.ChainRecBreadthFirst=t.chainRecBreadthFirst=t.ChainRecDepthFirst=t.chainRecDepthFirst=t.TraversableWithIndex=t.Traversable=t.FoldableWithIndex=t.Foldable=t.FilterableWithIndex=t.Filterable=t.Compactable=t.Extend=t.Alternative=t.guard=t.Zero=t.Alt=t.Unfoldable=t.chainFirst=t.Monad=t.Chain=t.Applicative=t.apSecond=t.apFirst=t.Apply=t.FunctorWithIndex=t.Pointed=t.flap=t.Functor=t.getDifferenceMagma=t.getIntersectionSemigroup=t.getUnionMonoid=t.getUnionSemigroup=t.getOrd=t.getEq=t.getMonoid=t.getSemigroup=t.getShow=t.URI=t.unfold=t.wilt=t.wither=t.traverseWithIndex=t.sequence=void 0,t.readonlyArray=t.prependToAll=t.snoc=t.cons=t.range=t.apS=t.bind=t.let=t.bindTo=t.Do=t.intercalate=t.exists=t.some=t.every=t.empty=t.fromArray=t.toArray=void 0;var a=e(18415),c=e(12728),f=e(38355),p=e(59504),d=e(82884),l=e(73034),h=u(e(81269)),s=u(e(22111)),m=e(66993),g=u(e(7819)),v=e(41040),y=e(71932),I=e(32781);t.isEmpty=function(n){return 0===n.length},t.isNonEmpty=g.isNonEmpty,t.prepend=g.prepend,t.prependW=g.prependW,t.append=g.append,t.appendW=g.appendW,t.makeBy=function(n,e){return n<=0?t.empty:g.makeBy(e)(n)},t.replicate=function(n,e){return(0,t.makeBy)(n,function(){return e})},t.fromPredicate=function(n){return function(e){return n(e)?[e]:t.empty}},t.fromOption=function(n){return h.isNone(n)?t.empty:[n.value]},t.fromEither=function(n){return h.isLeft(n)?t.empty:[n.right]},t.matchW=function(n,e){return function(r){return(0,t.isNonEmpty)(r)?e(r):n()}},t.match=t.matchW,t.matchLeftW=function(n,e){return function(r){return(0,t.isNonEmpty)(r)?e(g.head(r),g.tail(r)):n()}},t.matchLeft=t.matchLeftW,t.foldLeft=t.matchLeft,t.matchRightW=function(n,e){return function(r){return(0,t.isNonEmpty)(r)?e(g.init(r),g.last(r)):n()}},t.matchRight=t.matchRightW,t.foldRight=t.matchRight,t.chainWithIndex=function(n){return function(e){if((0,t.isEmpty)(e))return t.empty;for(var r=[],i=0;i<e.length;i++)r.push.apply(r,n(i,e[i]));return r}},t.scanLeft=function(n,t){return function(e){var r=e.length,i=Array(r+1);i[0]=n;for(var u=0;u<r;u++)i[u+1]=t(i[u],e[u]);return i}},t.scanRight=function(n,t){return function(e){var r=e.length,i=Array(r+1);i[r]=n;for(var u=r-1;u>=0;u--)i[u]=t(e[u],i[u+1]);return i}},t.size=function(n){return n.length},t.isOutOfBound=g.isOutOfBound,t.lookup=function n(e,r){return void 0===r?function(t){return n(e,t)}:(0,t.isOutOfBound)(e,r)?h.none:h.some(r[e])},t.head=function(n){return(0,t.isNonEmpty)(n)?h.some(g.head(n)):h.none},t.last=function(n){return(0,t.isNonEmpty)(n)?h.some(g.last(n)):h.none},t.tail=function(n){return(0,t.isNonEmpty)(n)?h.some(g.tail(n)):h.none},t.init=function(n){return(0,t.isNonEmpty)(n)?h.some(g.init(n)):h.none},t.takeLeft=function(n){return function(e){return(0,t.isOutOfBound)(n,e)?e:0===n?t.empty:e.slice(0,n)}},t.takeRight=function(n){return function(e){return(0,t.isOutOfBound)(n,e)?e:0===n?t.empty:e.slice(-n)}},t.takeLeftWhile=function(n){return function(e){for(var r=[],i=0;i<e.length;i++){var u=e[i];if(!n(u))break;r.push(u)}var o=r.length;return o===e.length?e:0===o?t.empty:r}};var W=function(n,t){for(var e=n.length,r=0;r<e&&t(n[r]);r++);return r};function R(n){return function(t,e){if(void 0===e){var r,i=R(n);return function(n){return i(t,n)}}for(var u=0;u<e.length;u++)if(r=e[u],n.equals(r,t))return!0;return!1}}function x(n){var e=g.union(n);return function(r,i){if(void 0===i){var u=x(n);return function(n){return u(n,r)}}return(0,t.isNonEmpty)(r)&&(0,t.isNonEmpty)(i)?e(i)(r):(0,t.isNonEmpty)(r)?r:i}}function M(n){var t=R(n);return function(e,r){if(void 0===r){var i=M(n);return function(n){return i(n,e)}}return e.filter(function(n){return t(n,r)})}}function A(n){var t=R(n);return function(e,r){if(void 0===r){var i=A(n);return function(n){return i(n,e)}}return e.filter(function(n){return!t(n,r)})}}t.spanLeft=function(n){return function(e){var r=(0,t.splitAt)(W(e,n))(e);return{init:r[0],rest:r[1]}}},t.dropLeft=function(n){return function(e){return n<=0||(0,t.isEmpty)(e)?e:n>=e.length?t.empty:e.slice(n,e.length)}},t.dropRight=function(n){return function(e){return n<=0||(0,t.isEmpty)(e)?e:n>=e.length?t.empty:e.slice(0,e.length-n)}},t.dropLeftWhile=function(n){return function(e){var r=W(e,n);return 0===r?e:r===e.length?t.empty:e.slice(r)}},t.findIndex=function(n){return function(t){for(var e=0;e<t.length;e++)if(n(t[e]))return h.some(e);return h.none}},t.findFirst=function(n){return function(t){for(var e=0;e<t.length;e++)if(n(t[e]))return h.some(t[e]);return h.none}},t.findFirstMap=function(n){return function(t){for(var e=0;e<t.length;e++){var r=n(t[e]);if(h.isSome(r))return r}return h.none}},t.findLast=function(n){return function(t){for(var e=t.length-1;e>=0;e--)if(n(t[e]))return h.some(t[e]);return h.none}},t.findLastMap=function(n){return function(t){for(var e=t.length-1;e>=0;e--){var r=n(t[e]);if(h.isSome(r))return r}return h.none}},t.findLastIndex=function(n){return function(t){for(var e=t.length-1;e>=0;e--)if(n(t[e]))return h.some(e);return h.none}},t.insertAt=function(n,t){return function(e){return n<0||n>e.length?h.none:h.some(g.unsafeInsertAt(n,t,e))}},t.updateAt=function(n,e){return(0,t.modifyAt)(n,function(){return e})},t.deleteAt=function(n){return function(e){return(0,t.isOutOfBound)(n,e)?h.none:h.some((0,t.unsafeDeleteAt)(n,e))}},t.modifyAt=function(n,e){return function(r){return(0,t.isOutOfBound)(n,r)?h.none:h.some((0,t.unsafeUpdateAt)(n,e(r[n]),r))}},t.reverse=function(n){return n.length<=1?n:n.slice().reverse()},t.rights=function(n){for(var t=[],e=0;e<n.length;e++){var r=n[e];"Right"===r._tag&&t.push(r.right)}return t},t.lefts=function(n){for(var t=[],e=0;e<n.length;e++){var r=n[e];"Left"===r._tag&&t.push(r.left)}return t},t.sort=function(n){return function(t){return t.length<=1?t:t.slice().sort(n.compare)}},t.zipWith=function(n,t,e){for(var r=[],i=Math.min(n.length,t.length),u=0;u<i;u++)r[u]=e(n[u],t[u]);return r},t.zip=function n(e,r){return void 0===r?function(t){return n(t,e)}:(0,t.zipWith)(e,r,function(n,t){return[n,t]})},t.unzip=function(n){for(var t=[],e=[],r=0;r<n.length;r++)t[r]=n[r][0],e[r]=n[r][1];return[t,e]},t.prependAll=function(n){var e=g.prependAll(n);return function(n){return(0,t.isNonEmpty)(n)?e(n):n}},t.intersperse=function(n){var e=g.intersperse(n);return function(n){return(0,t.isNonEmpty)(n)?e(n):n}},t.rotate=function(n){var e=g.rotate(n);return function(n){return(0,t.isNonEmpty)(n)?e(n):n}},t.elem=R,t.uniq=function(n){var e=g.uniq(n);return function(n){return(0,t.isNonEmpty)(n)?e(n):n}},t.sortBy=function(n){var e=g.sortBy(n);return function(n){return(0,t.isNonEmpty)(n)?e(n):n}},t.chop=function(n){var e=g.chop(n);return function(n){return(0,t.isNonEmpty)(n)?e(n):t.empty}},t.splitAt=function(n){return function(e){return n>=1&&(0,t.isNonEmpty)(e)?g.splitAt(n)(e):(0,t.isEmpty)(e)?[e,t.empty]:[t.empty,e]}},t.chunksOf=function(n){var e=g.chunksOf(n);return function(n){return(0,t.isNonEmpty)(n)?e(n):t.empty}},t.fromOptionK=function(n){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0,t.fromOption)(n.apply(void 0,e))}},t.comprehension=function(n,e,r){void 0===r&&(r=function(){return!0});var i=function(n,u){return(0,t.isNonEmpty)(u)?(0,d.pipe)(g.head(u),(0,t.chain)(function(e){return i((0,d.pipe)(n,(0,t.append)(e)),g.tail(u))})):r.apply(void 0,n)?[e.apply(void 0,n)]:t.empty};return i(t.empty,n)},t.concatW=function(n){return function(e){return(0,t.isEmpty)(e)?n:(0,t.isEmpty)(n)?e:e.concat(n)}},t.concat=t.concatW,t.union=x,t.intersection=M,t.difference=A;var U=function(n,e){return(0,d.pipe)(n,(0,t.map)(e))},E=function(n,e){return(0,d.pipe)(n,(0,t.mapWithIndex)(e))},b=function(n,e){return(0,d.pipe)(n,(0,t.ap)(e))},O=function(n,e){return(0,d.pipe)(n,(0,t.filter)(e))},F=function(n,e){return(0,d.pipe)(n,(0,t.filterMap)(e))},S=function(n,e){return(0,d.pipe)(n,(0,t.partition)(e))},q=function(n,e){return(0,d.pipe)(n,(0,t.partitionMap)(e))},N=function(n,e){return(0,d.pipe)(n,(0,t.partitionWithIndex)(e))},L=function(n,e){return(0,d.pipe)(n,(0,t.partitionMapWithIndex)(e))},B=function(n,e){return(0,d.pipe)(n,(0,t.alt)(e))},w=function(n,e,r){return(0,d.pipe)(n,(0,t.reduce)(e,r))},_=function(n){var e=(0,t.foldMap)(n);return function(n,t){return(0,d.pipe)(n,e(t))}},z=function(n,e,r){return(0,d.pipe)(n,(0,t.reduceRight)(e,r))},k=function(n,e,r){return(0,d.pipe)(n,(0,t.reduceWithIndex)(e,r))},C=function(n){var e=(0,t.foldMapWithIndex)(n);return function(n,t){return(0,d.pipe)(n,e(t))}},P=function(n,e,r){return(0,d.pipe)(n,(0,t.reduceRightWithIndex)(e,r))},D=function(n,e){return(0,d.pipe)(n,(0,t.filterMapWithIndex)(e))},T=function(n,e){return(0,d.pipe)(n,(0,t.filterWithIndex)(e))},j=function(n,e){return(0,d.pipe)(n,(0,t.extend)(e))},K=function(n){var e=(0,t.traverse)(n);return function(n,t){return(0,d.pipe)(n,e(t))}},H=function(n){var e=(0,t.traverseWithIndex)(n);return function(n,t){return(0,d.pipe)(n,e(t))}};t._chainRecDepthFirst=function(n,e){return(0,d.pipe)(n,(0,t.chainRecDepthFirst)(e))},t._chainRecBreadthFirst=function(n,e){return(0,d.pipe)(n,(0,t.chainRecBreadthFirst)(e))},t.of=g.of,t.zero=function(){return t.empty},t.altW=function(n){return function(t){return t.concat(n())}},t.alt=t.altW,t.ap=function(n){return(0,t.chain)(function(e){return(0,d.pipe)(n,(0,t.map)(e))})},t.flatMap=(0,d.dual)(2,function(n,e){return(0,d.pipe)(n,(0,t.chainWithIndex)(function(n,t){return e(t)}))}),t.chain=t.flatMap,t.flatten=(0,t.chain)(d.identity),t.map=function(n){return function(t){return t.map(function(t){return n(t)})}},t.mapWithIndex=function(n){return function(t){return t.map(function(t,e){return n(e,t)})}},t.separate=function(n){for(var t=[],e=[],r=0;r<n.length;r++){var i=n[r];"Left"===i._tag?t.push(i.left):e.push(i.right)}return(0,v.separated)(t,e)},t.filter=function(n){return function(t){return t.filter(n)}},t.filterMapWithIndex=function(n){return function(t){for(var e=[],r=0;r<t.length;r++){var i=n(r,t[r]);h.isSome(i)&&e.push(i.value)}return e}},t.filterMap=function(n){return(0,t.filterMapWithIndex)(function(t,e){return n(e)})},t.compact=(0,t.filterMap)(d.identity),t.partition=function(n){return(0,t.partitionWithIndex)(function(t,e){return n(e)})},t.partitionWithIndex=function(n){return function(t){for(var e=[],r=[],i=0;i<t.length;i++){var u=t[i];n(i,u)?r.push(u):e.push(u)}return(0,v.separated)(e,r)}},t.partitionMap=function(n){return(0,t.partitionMapWithIndex)(function(t,e){return n(e)})},t.partitionMapWithIndex=function(n){return function(t){for(var e=[],r=[],i=0;i<t.length;i++){var u=n(i,t[i]);"Left"===u._tag?e.push(u.left):r.push(u.right)}return(0,v.separated)(e,r)}},t.filterWithIndex=function(n){return function(t){return t.filter(function(t,e){return n(e,t)})}},t.extend=function(n){return function(t){return t.map(function(e,r){return n(t.slice(r))})}},t.duplicate=(0,t.extend)(d.identity),t.foldMapWithIndex=function(n){return function(t){return function(e){return e.reduce(function(e,r,i){return n.concat(e,t(i,r))},n.empty)}}},t.reduce=function(n,e){return(0,t.reduceWithIndex)(n,function(n,t,r){return e(t,r)})},t.foldMap=function(n){var e=(0,t.foldMapWithIndex)(n);return function(n){return e(function(t,e){return n(e)})}},t.reduceWithIndex=function(n,t){return function(e){for(var r=e.length,i=n,u=0;u<r;u++)i=t(u,i,e[u]);return i}},t.reduceRight=function(n,e){return(0,t.reduceRightWithIndex)(n,function(n,t,r){return e(t,r)})},t.reduceRightWithIndex=function(n,t){return function(e){return e.reduceRight(function(n,e,r){return t(r,e,n)},n)}},t.traverse=function(n){var e=(0,t.traverseWithIndex)(n);return function(n){return e(function(t,e){return n(e)})}},t.sequence=function(n){return function(e){return w(e,n.of((0,t.zero)()),function(e,r){return n.ap(n.map(e,function(n){return function(e){return(0,d.pipe)(n,(0,t.append)(e))}}),r)})}},t.traverseWithIndex=function(n){return function(e){return(0,t.reduceWithIndex)(n.of((0,t.zero)()),function(r,i,u){return n.ap(n.map(i,function(n){return function(e){return(0,d.pipe)(n,(0,t.append)(e))}}),e(r,u))})}},t.wither=function(n){var t=Z(n);return function(n){return function(e){return t(e,n)}}},t.wilt=function(n){var t=J(n);return function(n){return function(e){return t(e,n)}}},t.unfold=function(n,t){for(var e=[],r=n;;){var i=t(r);if(h.isSome(i)){var u=i.value,o=u[0],a=u[1];e.push(o),r=a}else break}return e},t.URI="ReadonlyArray",t.getShow=function(n){return{show:function(t){return"[".concat(t.map(n.show).join(", "),"]")}}},t.getSemigroup=function(){return{concat:function(n,e){return(0,t.isEmpty)(n)?e:(0,t.isEmpty)(e)?n:n.concat(e)}}},t.getMonoid=function(){return{concat:(0,t.getSemigroup)().concat,empty:t.empty}},t.getEq=function(n){return(0,f.fromEquals)(function(t,e){return t.length===e.length&&t.every(function(t,r){return n.equals(t,e[r])})})},t.getOrd=function(n){return(0,m.fromCompare)(function(t,e){for(var r=t.length,i=e.length,u=Math.min(r,i),o=0;o<u;o++){var a=n.compare(t[o],e[o]);if(0!==a)return a}return s.Ord.compare(r,i)})},t.getUnionSemigroup=function(n){var t=x(n);return{concat:function(n,e){return t(e)(n)}}},t.getUnionMonoid=function(n){return{concat:(0,t.getUnionSemigroup)(n).concat,empty:t.empty}},t.getIntersectionSemigroup=function(n){var t=M(n);return{concat:function(n,e){return t(e)(n)}}},t.getDifferenceMagma=function(n){var t=A(n);return{concat:function(n,e){return t(e)(n)}}},t.Functor={URI:t.URI,map:U},t.flap=(0,l.flap)(t.Functor),t.Pointed={URI:t.URI,of:t.of},t.FunctorWithIndex={URI:t.URI,map:U,mapWithIndex:E},t.Apply={URI:t.URI,map:U,ap:b},t.apFirst=(0,a.apFirst)(t.Apply),t.apSecond=(0,a.apSecond)(t.Apply),t.Applicative={URI:t.URI,map:U,ap:b,of:t.of},t.Chain={URI:t.URI,map:U,ap:b,chain:t.flatMap},t.Monad={URI:t.URI,map:U,ap:b,of:t.of,chain:t.flatMap},t.chainFirst=(0,c.chainFirst)(t.Chain),t.Unfoldable={URI:t.URI,unfold:t.unfold},t.Alt={URI:t.URI,map:U,alt:B},t.Zero={URI:t.URI,zero:t.zero},t.guard=(0,I.guard)(t.Zero,t.Pointed),t.Alternative={URI:t.URI,map:U,ap:b,of:t.of,alt:B,zero:t.zero},t.Extend={URI:t.URI,map:U,extend:j},t.Compactable={URI:t.URI,compact:t.compact,separate:t.separate},t.Filterable={URI:t.URI,map:U,compact:t.compact,separate:t.separate,filter:O,filterMap:F,partition:S,partitionMap:q},t.FilterableWithIndex={URI:t.URI,map:U,mapWithIndex:E,compact:t.compact,separate:t.separate,filter:O,filterMap:F,partition:S,partitionMap:q,partitionMapWithIndex:L,partitionWithIndex:N,filterMapWithIndex:D,filterWithIndex:T},t.Foldable={URI:t.URI,reduce:w,foldMap:_,reduceRight:z},t.FoldableWithIndex={URI:t.URI,reduce:w,foldMap:_,reduceRight:z,reduceWithIndex:k,foldMapWithIndex:C,reduceRightWithIndex:P},t.Traversable={URI:t.URI,map:U,reduce:w,foldMap:_,reduceRight:z,traverse:K,sequence:t.sequence},t.TraversableWithIndex={URI:t.URI,map:U,mapWithIndex:E,reduce:w,foldMap:_,reduceRight:z,reduceWithIndex:k,foldMapWithIndex:C,reduceRightWithIndex:P,traverse:K,sequence:t.sequence,traverseWithIndex:H},t.chainRecDepthFirst=function(n){return function(t){for(var e=o([],n(t),!0),r=[];e.length>0;){var i=e.shift();h.isLeft(i)?e.unshift.apply(e,n(i.left)):r.push(i.right)}return r}},t.ChainRecDepthFirst={URI:t.URI,map:U,ap:b,chain:t.flatMap,chainRec:t._chainRecDepthFirst},t.chainRecBreadthFirst=function(n){return function(t){var e=n(t),r=[],i=[];function u(t){h.isLeft(t)?n(t.left).forEach(function(n){return r.push(n)}):i.push(t.right)}for(var o=0;o<e.length;o++)u(e[o]);for(;r.length>0;)u(r.shift());return i}},t.ChainRecBreadthFirst={URI:t.URI,map:U,ap:b,chain:t.flatMap,chainRec:t._chainRecBreadthFirst};var Z=(0,y.witherDefault)(t.Traversable,t.Compactable),J=(0,y.wiltDefault)(t.Traversable,t.Compactable);t.Witherable={URI:t.URI,map:U,compact:t.compact,separate:t.separate,filter:O,filterMap:F,partition:S,partitionMap:q,reduce:w,foldMap:_,reduceRight:z,traverse:K,sequence:t.sequence,wither:Z,wilt:J},t.filterE=(0,y.filterE)(t.Witherable),t.FromEither={URI:t.URI,fromEither:t.fromEither},t.fromEitherK=(0,p.fromEitherK)(t.FromEither),t.unsafeInsertAt=g.unsafeInsertAt,t.unsafeUpdateAt=function(n,e,r){return(0,t.isNonEmpty)(r)?g.unsafeUpdateAt(n,e,r):r},t.unsafeDeleteAt=function(n,t){var e=t.slice();return e.splice(n,1),e},t.toArray=function(n){return n.slice()},t.fromArray=function(n){return(0,t.isEmpty)(n)?t.empty:n.slice()},t.empty=g.empty,t.every=function(n){return function(t){return t.every(n)}},t.some=function(n){return function(t){return t.some(n)}},t.exists=t.some,t.intercalate=function(n){var e=g.intercalate(n);return function(r){return(0,t.match)(function(){return n.empty},e(r))}},t.Do=(0,t.of)(h.emptyRecord),t.bindTo=(0,l.bindTo)(t.Functor);var G=(0,l.let)(t.Functor);t.let=G,t.bind=(0,c.bind)(t.Chain),t.apS=(0,a.apS)(t.Apply),t.range=g.range,t.cons=g.cons,t.snoc=g.snoc,t.prependToAll=t.prependAll,t.readonlyArray={URI:t.URI,compact:t.compact,separate:t.separate,map:U,ap:b,of:t.of,chain:t.flatMap,filter:O,filterMap:F,partition:S,partitionMap:q,mapWithIndex:E,partitionMapWithIndex:L,partitionWithIndex:N,filterMapWithIndex:D,filterWithIndex:T,alt:B,zero:t.zero,unfold:t.unfold,reduce:w,foldMap:_,reduceRight:z,traverse:K,sequence:t.sequence,reduceWithIndex:k,foldMapWithIndex:C,reduceRightWithIndex:P,traverseWithIndex:H,extend:j,wither:Z,wilt:J}},7819:function(n,t,e){var r=Object.create?function(n,t,e,r){void 0===r&&(r=e);var i=Object.getOwnPropertyDescriptor(t,e);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(n,r,i)}:function(n,t,e,r){void 0===r&&(r=e),n[r]=t[e]},i=Object.create?function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}:function(n,t){n.default=t},u=function(n){if(n&&n.__esModule)return n;var t={};if(null!=n)for(var e in n)"default"!==e&&Object.prototype.hasOwnProperty.call(n,e)&&r(t,n,e);return i(t,n),t},o=function(n,t,e){if(e||2==arguments.length)for(var r,i=0,u=t.length;i<u;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return n.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.foldMap=t.reduce=t.mapWithIndex=t.map=t.flatten=t.duplicate=t.extend=t.chain=t.flatMap=t.ap=t.alt=t.altW=t.of=t.chunksOf=t.splitAt=t.chop=t.chainWithIndex=t.intersperse=t.prependAll=t.unzip=t.zip=t.zipWith=t.modifyAt=t.updateAt=t.sort=t.groupBy=t.group=t.reverse=t.concat=t.concatW=t.fromArray=t.unappend=t.unprepend=t.range=t.replicate=t.makeBy=t.fromReadonlyArray=t.rotate=t.union=t.sortBy=t.uniq=t.unsafeUpdateAt=t.unsafeInsertAt=t.append=t.appendW=t.prepend=t.prependW=t.isOutOfBound=t.isNonEmpty=t.empty=void 0,t.groupSort=t.intercalate=t.updateLast=t.modifyLast=t.updateHead=t.modifyHead=t.matchRight=t.matchLeft=t.concatAll=t.max=t.min=t.init=t.last=t.tail=t.head=t.apS=t.bind=t.let=t.bindTo=t.Do=t.Comonad=t.Alt=t.TraversableWithIndex=t.Traversable=t.FoldableWithIndex=t.Foldable=t.Monad=t.chainFirst=t.Chain=t.Applicative=t.apSecond=t.apFirst=t.Apply=t.FunctorWithIndex=t.Pointed=t.flap=t.Functor=t.getUnionSemigroup=t.getEq=t.getSemigroup=t.getShow=t.URI=t.extract=t.traverseWithIndex=t.sequence=t.traverse=t.reduceRightWithIndex=t.foldMapWithIndex=t.reduceWithIndex=t.reduceRight=void 0,t.readonlyNonEmptyArray=t.fold=t.prependToAll=t.insertAt=t.snoc=t.cons=t.unsnoc=t.uncons=t.filterWithIndex=t.filter=void 0;var a=e(18415),c=e(12728),f=e(38355),p=e(82884),d=e(73034),l=u(e(81269)),h=e(66993),s=u(e(22627));function m(n){return function(t){return t.concat(n)}}function g(n,t){return t?n.concat(t):function(t){return t.concat(n)}}function v(n){return function(e){var r=e.length;if(0===r)return t.empty;for(var i=[],u=e[0],o=[u],a=1;a<r;a++){var c=e[a];n.equals(c,u)?o.push(c):(i.push(o),o=[u=c])}return i.push(o),i}}t.empty=l.emptyReadonlyArray,t.isNonEmpty=l.isNonEmpty,t.isOutOfBound=function(n,t){return n<0||n>=t.length},t.prependW=function(n){return function(t){return o([n],t,!0)}},t.prepend=t.prependW,t.appendW=function(n){return function(t){return o(o([],t,!0),[n],!1)}},t.append=t.appendW,t.unsafeInsertAt=function(n,e,r){if((0,t.isNonEmpty)(r)){var i=l.fromReadonlyNonEmptyArray(r);return i.splice(n,0,e),i}return[e]},t.unsafeUpdateAt=function(n,t,e){if(e[n]===t)return e;var r=l.fromReadonlyNonEmptyArray(e);return r[n]=t,r},t.uniq=function(n){return function(e){if(1===e.length)return e;for(var r=[(0,t.head)(e)],i=(0,t.tail)(e),u=function(t){r.every(function(e){return!n.equals(e,t)})&&r.push(t)},o=0;o<i.length;o++)u(i[o]);return r}},t.sortBy=function(n){if((0,t.isNonEmpty)(n)){var e=(0,h.getMonoid)();return(0,t.sort)(n.reduce(e.concat,e.empty))}return p.identity},t.union=function(n){var e=(0,t.uniq)(n);return function(n){return function(t){return e((0,p.pipe)(t,g(n)))}}},t.rotate=function(n){return function(e){var r=e.length,i=Math.round(n)%r;if((0,t.isOutOfBound)(Math.abs(i),e)||0===i)return e;if(!(i<0))return(0,t.rotate)(i-r)(e);var u=(0,t.splitAt)(-i)(e),o=u[0],a=u[1];return(0,p.pipe)(a,g(o))}},t.fromReadonlyArray=function(n){return(0,t.isNonEmpty)(n)?l.some(n):l.none},t.makeBy=function(n){return function(t){for(var e=Math.max(0,Math.floor(t)),r=[n(0)],i=1;i<e;i++)r.push(n(i));return r}},t.replicate=function(n){return(0,t.makeBy)(function(){return n})},t.range=function(n,e){return n<=e?(0,t.makeBy)(function(t){return n+t})(e-n+1):[n]},t.unprepend=function(n){return[(0,t.head)(n),(0,t.tail)(n)]},t.unappend=function(n){return[(0,t.init)(n),(0,t.last)(n)]},t.fromArray=function(n){return(0,t.fromReadonlyArray)(n.slice())},t.concatW=m,t.concat=g,t.reverse=function(n){return 1===n.length?n:o([(0,t.last)(n)],n.slice(0,-1).reverse(),!0)},t.group=v,t.groupBy=function(n){return function(t){for(var e={},r=0;r<t.length;r++){var i=t[r],u=n(i);l.has.call(e,u)?e[u].push(i):e[u]=[i]}return e}},t.sort=function(n){return function(t){return 1===t.length?t:t.slice().sort(n.compare)}},t.updateAt=function(n,e){return(0,t.modifyAt)(n,function(){return e})},t.modifyAt=function(n,e){return function(r){return(0,t.isOutOfBound)(n,r)?l.none:l.some((0,t.unsafeUpdateAt)(n,e(r[n]),r))}},t.zipWith=function(n,t,e){for(var r=[e(n[0],t[0])],i=Math.min(n.length,t.length),u=1;u<i;u++)r[u]=e(n[u],t[u]);return r},t.zip=function n(e,r){return void 0===r?function(t){return n(t,e)}:(0,t.zipWith)(e,r,function(n,t){return[n,t]})},t.unzip=function(n){for(var t=[n[0][0]],e=[n[0][1]],r=1;r<n.length;r++)t[r]=n[r][0],e[r]=n[r][1];return[t,e]},t.prependAll=function(n){return function(t){for(var e=[n,t[0]],r=1;r<t.length;r++)e.push(n,t[r]);return e}},t.intersperse=function(n){return function(e){var r=(0,t.tail)(e);return(0,t.isNonEmpty)(r)?(0,p.pipe)(r,(0,t.prependAll)(n),(0,t.prepend)((0,t.head)(e))):e}},t.chainWithIndex=function(n){return function(e){for(var r=l.fromReadonlyNonEmptyArray(n(0,(0,t.head)(e))),i=1;i<e.length;i++)r.push.apply(r,n(i,e[i]));return r}},t.chop=function(n){return function(e){for(var r=n(e),i=r[0],u=r[1],o=[i],a=u;(0,t.isNonEmpty)(a);){var c=n(a),f=c[0],p=c[1];o.push(f),a=p}return o}},t.splitAt=function(n){return function(e){var r=Math.max(1,n);return r>=e.length?[e,t.empty]:[(0,p.pipe)(e.slice(1,r),(0,t.prepend)((0,t.head)(e))),e.slice(r)]}},t.chunksOf=function(n){return(0,t.chop)((0,t.splitAt)(n))};var y=function(n,e){return(0,p.pipe)(n,(0,t.map)(e))},I=function(n,e){return(0,p.pipe)(n,(0,t.mapWithIndex)(e))},W=function(n,e){return(0,p.pipe)(n,(0,t.ap)(e))},R=function(n,e){return(0,p.pipe)(n,(0,t.extend)(e))},x=function(n,e,r){return(0,p.pipe)(n,(0,t.reduce)(e,r))},M=function(n){var e=(0,t.foldMap)(n);return function(n,t){return(0,p.pipe)(n,e(t))}},A=function(n,e,r){return(0,p.pipe)(n,(0,t.reduceRight)(e,r))},U=function(n){var e=(0,t.traverse)(n);return function(n,t){return(0,p.pipe)(n,e(t))}},E=function(n,e){return(0,p.pipe)(n,(0,t.alt)(e))},b=function(n,e,r){return(0,p.pipe)(n,(0,t.reduceWithIndex)(e,r))},O=function(n){var e=(0,t.foldMapWithIndex)(n);return function(n,t){return(0,p.pipe)(n,e(t))}},F=function(n,e,r){return(0,p.pipe)(n,(0,t.reduceRightWithIndex)(e,r))},S=function(n){var e=(0,t.traverseWithIndex)(n);return function(n,t){return(0,p.pipe)(n,e(t))}};t.of=l.singleton,t.altW=function(n){return function(t){return(0,p.pipe)(t,m(n()))}},t.alt=t.altW,t.ap=function(n){return(0,t.chain)(function(e){return(0,p.pipe)(n,(0,t.map)(e))})},t.flatMap=(0,p.dual)(2,function(n,e){return(0,p.pipe)(n,(0,t.chainWithIndex)(function(n,t){return e(t)}))}),t.chain=t.flatMap,t.extend=function(n){return function(e){for(var r=(0,t.tail)(e),i=[n(e)];(0,t.isNonEmpty)(r);)i.push(n(r)),r=(0,t.tail)(r);return i}},t.duplicate=(0,t.extend)(p.identity),t.flatten=(0,t.chain)(p.identity),t.map=function(n){return(0,t.mapWithIndex)(function(t,e){return n(e)})},t.mapWithIndex=function(n){return function(e){for(var r=[n(0,(0,t.head)(e))],i=1;i<e.length;i++)r.push(n(i,e[i]));return r}},t.reduce=function(n,e){return(0,t.reduceWithIndex)(n,function(n,t,r){return e(t,r)})},t.foldMap=function(n){return function(t){return function(e){return e.slice(1).reduce(function(e,r){return n.concat(e,t(r))},t(e[0]))}}},t.reduceRight=function(n,e){return(0,t.reduceRightWithIndex)(n,function(n,t,r){return e(t,r)})},t.reduceWithIndex=function(n,t){return function(e){return e.reduce(function(n,e,r){return t(r,n,e)},n)}},t.foldMapWithIndex=function(n){return function(t){return function(e){return e.slice(1).reduce(function(e,r,i){return n.concat(e,t(i+1,r))},t(0,e[0]))}}},t.reduceRightWithIndex=function(n,t){return function(e){return e.reduceRight(function(n,e,r){return t(r,e,n)},n)}},t.traverse=function(n){var e=(0,t.traverseWithIndex)(n);return function(n){return e(function(t,e){return n(e)})}},t.sequence=function(n){return(0,t.traverseWithIndex)(n)(p.SK)},t.traverseWithIndex=function(n){return function(e){return function(r){for(var i=n.map(e(0,(0,t.head)(r)),t.of),u=1;u<r.length;u++)i=n.ap(n.map(i,function(n){return function(e){return(0,p.pipe)(n,(0,t.append)(e))}}),e(u,r[u]));return i}}},t.extract=l.head,t.URI="ReadonlyNonEmptyArray",t.getShow=function(n){return{show:function(t){return"[".concat(t.map(n.show).join(", "),"]")}}},t.getSemigroup=function(){return{concat:g}},t.getEq=function(n){return(0,f.fromEquals)(function(t,e){return t.length===e.length&&t.every(function(t,r){return n.equals(t,e[r])})})},t.getUnionSemigroup=function(n){var e=(0,t.union)(n);return{concat:function(n,t){return e(t)(n)}}},t.Functor={URI:t.URI,map:y},t.flap=(0,d.flap)(t.Functor),t.Pointed={URI:t.URI,of:t.of},t.FunctorWithIndex={URI:t.URI,map:y,mapWithIndex:I},t.Apply={URI:t.URI,map:y,ap:W},t.apFirst=(0,a.apFirst)(t.Apply),t.apSecond=(0,a.apSecond)(t.Apply),t.Applicative={URI:t.URI,map:y,ap:W,of:t.of},t.Chain={URI:t.URI,map:y,ap:W,chain:t.flatMap},t.chainFirst=(0,c.chainFirst)(t.Chain),t.Monad={URI:t.URI,map:y,ap:W,of:t.of,chain:t.flatMap},t.Foldable={URI:t.URI,reduce:x,foldMap:M,reduceRight:A},t.FoldableWithIndex={URI:t.URI,reduce:x,foldMap:M,reduceRight:A,reduceWithIndex:b,foldMapWithIndex:O,reduceRightWithIndex:F},t.Traversable={URI:t.URI,map:y,reduce:x,foldMap:M,reduceRight:A,traverse:U,sequence:t.sequence},t.TraversableWithIndex={URI:t.URI,map:y,mapWithIndex:I,reduce:x,foldMap:M,reduceRight:A,traverse:U,sequence:t.sequence,reduceWithIndex:b,foldMapWithIndex:O,reduceRightWithIndex:F,traverseWithIndex:S},t.Alt={URI:t.URI,map:y,alt:E},t.Comonad={URI:t.URI,map:y,extend:R,extract:t.extract},t.Do=(0,t.of)(l.emptyRecord),t.bindTo=(0,d.bindTo)(t.Functor);var q=(0,d.let)(t.Functor);t.let=q,t.bind=(0,c.bind)(t.Chain),t.apS=(0,a.apS)(t.Apply),t.head=t.extract,t.tail=l.tail,t.last=function(n){return n[n.length-1]},t.init=function(n){return n.slice(0,-1)},t.min=function(n){var t=s.min(n);return function(n){return n.reduce(t.concat)}},t.max=function(n){var t=s.max(n);return function(n){return n.reduce(t.concat)}},t.concatAll=function(n){return function(t){return t.reduce(n.concat)}},t.matchLeft=function(n){return function(e){return n((0,t.head)(e),(0,t.tail)(e))}},t.matchRight=function(n){return function(e){return n((0,t.init)(e),(0,t.last)(e))}},t.modifyHead=function(n){return function(e){return o([n((0,t.head)(e))],(0,t.tail)(e),!0)}},t.updateHead=function(n){return(0,t.modifyHead)(function(){return n})},t.modifyLast=function(n){return function(e){return(0,p.pipe)((0,t.init)(e),(0,t.append)(n((0,t.last)(e))))}},t.updateLast=function(n){return(0,t.modifyLast)(function(){return n})},t.intercalate=function(n){var e=(0,t.concatAll)(n);return function(n){return(0,p.flow)((0,t.intersperse)(n),e)}},t.groupSort=function(n){var e=(0,t.sort)(n),r=v(n);return function(n){return(0,t.isNonEmpty)(n)?r(e(n)):t.empty}},t.filter=function(n){return(0,t.filterWithIndex)(function(t,e){return n(e)})},t.filterWithIndex=function(n){return function(e){return(0,t.fromReadonlyArray)(e.filter(function(t,e){return n(e,t)}))}},t.uncons=t.unprepend,t.unsnoc=t.unappend,t.cons=function(n,e){return void 0===e?(0,t.prepend)(n):(0,p.pipe)(e,(0,t.prepend)(n))},t.snoc=function(n,t){return(0,p.pipe)(n,g([t]))},t.insertAt=function(n,e){return function(r){return n<0||n>r.length?l.none:l.some((0,t.unsafeInsertAt)(n,e,r))}},t.prependToAll=t.prependAll,t.fold=t.concatAll,t.readonlyNonEmptyArray={URI:t.URI,of:t.of,map:y,mapWithIndex:I,ap:W,chain:t.flatMap,extend:R,extract:t.extract,reduce:x,foldMap:M,reduceRight:A,traverse:U,sequence:t.sequence,reduceWithIndex:b,foldMapWithIndex:O,reduceRightWithIndex:F,traverseWithIndex:S,alt:E}},22111:function(n,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Field=t.MonoidProduct=t.MonoidSum=t.SemigroupProduct=t.SemigroupSum=t.MagmaSub=t.Show=t.Bounded=t.Ord=t.Eq=t.isNumber=void 0,t.isNumber=function(n){return"number"==typeof n},t.Eq={equals:function(n,t){return n===t}},t.Ord={equals:t.Eq.equals,compare:function(n,t){return n<t?-1:n>t?1:0}},t.Bounded={equals:t.Eq.equals,compare:t.Ord.compare,top:1/0,bottom:-1/0},t.Show={show:function(n){return JSON.stringify(n)}},t.MagmaSub={concat:function(n,t){return n-t}},t.SemigroupSum={concat:function(n,t){return n+t}},t.SemigroupProduct={concat:function(n,t){return n*t}},t.MonoidSum={concat:t.SemigroupSum.concat,empty:0},t.MonoidProduct={concat:t.SemigroupProduct.concat,empty:1},t.Field={add:t.SemigroupSum.concat,zero:0,mul:t.SemigroupProduct.concat,one:1,sub:t.MagmaSub.concat,degree:function(n){return 1},div:function(n,t){return n/t},mod:function(n,t){return n%t}}},23191:function(n,t,e){Object.defineProperty(t,"__esModule",{value:!0}),t.endsWith=t.startsWith=t.includes=t.split=t.size=t.isEmpty=t.slice=t.trimRight=t.trimLeft=t.trim=t.replace=t.toLowerCase=t.toUpperCase=t.isString=t.Show=t.Ord=t.Monoid=t.empty=t.Semigroup=t.Eq=void 0;var r=e(7819);t.Eq={equals:function(n,t){return n===t}},t.Semigroup={concat:function(n,t){return n+t}},t.empty="",t.Monoid={concat:t.Semigroup.concat,empty:t.empty},t.Ord={equals:t.Eq.equals,compare:function(n,t){return n<t?-1:n>t?1:0}},t.Show={show:function(n){return JSON.stringify(n)}},t.isString=function(n){return"string"==typeof n},t.toUpperCase=function(n){return n.toUpperCase()},t.toLowerCase=function(n){return n.toLowerCase()},t.replace=function(n,t){return function(e){return e.replace(n,t)}},t.trim=function(n){return n.trim()},t.trimLeft=function(n){return n.trimLeft()},t.trimRight=function(n){return n.trimRight()},t.slice=function(n,t){return function(e){return e.slice(n,t)}},t.isEmpty=function(n){return 0===n.length},t.size=function(n){return n.length},t.split=function(n){return function(t){var e=t.split(n);return(0,r.isNonEmpty)(e)?e:[t]}},t.includes=function(n,t){return function(e){return e.includes(n,t)}},t.startsWith=function(n,t){return function(e){return e.startsWith(n,t)}},t.endsWith=function(n,t){return function(e){return e.endsWith(n,t)}}}}]);