forked from avelino/awesome-go
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
3171-cf5ae30be90e470e.js.download
1 lines (1 loc) · 50.7 KB
/
3171-cf5ae30be90e470e.js.download
1
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3171],{73352:function(t,n,e){var r=Object.create?function(t,n,e,r){void 0===r&&(r=e);var i=Object.getOwnPropertyDescriptor(n,e);(!i||("get"in i?!n.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,i)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]},i=Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n},a=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)"default"!==e&&Object.prototype.hasOwnProperty.call(t,e)&&r(n,t,e);return i(n,t),n};Object.defineProperty(n,"__esModule",{value:!0}),n.lefts=n.rights=n.reverse=n.modifyAt=n.deleteAt=n.updateAt=n.insertAt=n.copy=n.findLastIndex=n.findLastMap=n.findLast=n.findFirstMap=n.findFirst=n.findIndex=n.dropLeftWhile=n.dropRight=n.dropLeft=n.spanLeft=n.takeLeftWhile=n.takeRight=n.takeLeft=n.init=n.tail=n.last=n.head=n.lookup=n.isOutOfBound=n.size=n.scanRight=n.scanLeft=n.chainWithIndex=n.foldRight=n.matchRight=n.matchRightW=n.foldLeft=n.matchLeft=n.matchLeftW=n.match=n.matchW=n.fromEither=n.fromOption=n.fromPredicate=n.replicate=n.makeBy=n.appendW=n.append=n.prependW=n.prepend=n.isNonEmpty=n.isEmpty=void 0,n.sequence=n.traverse=n.reduceRightWithIndex=n.reduceRight=n.reduceWithIndex=n.reduce=n.foldMapWithIndex=n.foldMap=n.duplicate=n.extend=n.filterWithIndex=n.alt=n.altW=n.partitionMapWithIndex=n.partitionMap=n.partitionWithIndex=n.partition=n.filter=n.separate=n.compact=n.filterMap=n.filterMapWithIndex=n.mapWithIndex=n.flatten=n.chain=n.flatMap=n.ap=n.map=n.zero=n.of=n.difference=n.intersection=n.union=n.concat=n.concatW=n.comprehension=n.fromOptionK=n.chunksOf=n.splitAt=n.chop=n.sortBy=n.uniq=n.elem=n.rotate=n.intersperse=n.prependAll=n.unzip=n.zip=n.zipWith=n.sort=void 0,n.every=n.unsafeDeleteAt=n.unsafeUpdateAt=n.unsafeInsertAt=n.fromEitherK=n.FromEither=n.filterE=n.ChainRecBreadthFirst=n.chainRecBreadthFirst=n.ChainRecDepthFirst=n.chainRecDepthFirst=n.Witherable=n.TraversableWithIndex=n.Traversable=n.FoldableWithIndex=n.Foldable=n.FilterableWithIndex=n.Filterable=n.Compactable=n.Extend=n.Alternative=n.guard=n.Zero=n.Alt=n.Unfoldable=n.Monad=n.chainFirst=n.Chain=n.Applicative=n.apSecond=n.apFirst=n.Apply=n.FunctorWithIndex=n.Pointed=n.flap=n.Functor=n.getDifferenceMagma=n.getIntersectionSemigroup=n.getUnionMonoid=n.getUnionSemigroup=n.getOrd=n.getEq=n.getMonoid=n.getSemigroup=n.getShow=n.URI=n.unfold=n.wilt=n.wither=n.traverseWithIndex=void 0,n.array=n.prependToAll=n.snoc=n.cons=n.empty=n.range=n.apS=n.bind=n.let=n.bindTo=n.Do=n.intercalate=n.exists=n.some=void 0;var o=e(18415),u=e(12728),c=e(59504),f=e(82884),p=e(73034),l=a(e(81269)),d=a(e(76280)),s=a(e(29115)),h=e(41040),m=e(71932),I=e(32781);n.isEmpty=function(t){return 0===t.length},n.isNonEmpty=d.isNonEmpty,n.prepend=d.prepend,n.prependW=d.prependW,n.append=d.append,n.appendW=d.appendW,n.makeBy=function(t,n){return t<=0?[]:d.makeBy(n)(t)},n.replicate=function(t,e){return(0,n.makeBy)(t,function(){return e})},n.fromPredicate=function(t){return function(n){return t(n)?[n]:[]}},n.fromOption=function(t){return l.isNone(t)?[]:[t.value]},n.fromEither=function(t){return l.isLeft(t)?[]:[t.right]},n.matchW=function(t,e){return function(r){return(0,n.isNonEmpty)(r)?e(r):t()}},n.match=n.matchW,n.matchLeftW=function(t,e){return function(r){return(0,n.isNonEmpty)(r)?e(d.head(r),d.tail(r)):t()}},n.matchLeft=n.matchLeftW,n.foldLeft=n.matchLeft,n.matchRightW=function(t,e){return function(r){return(0,n.isNonEmpty)(r)?e(d.init(r),d.last(r)):t()}},n.matchRight=n.matchRightW,n.foldRight=n.matchRight,n.chainWithIndex=function(t){return function(n){for(var e=[],r=0;r<n.length;r++)e.push.apply(e,t(r,n[r]));return e}},n.scanLeft=function(t,n){return function(e){var r=e.length,i=Array(r+1);i[0]=t;for(var a=0;a<r;a++)i[a+1]=n(i[a],e[a]);return i}},n.scanRight=function(t,n){return function(e){var r=e.length,i=Array(r+1);i[r]=t;for(var a=r-1;a>=0;a--)i[a]=n(e[a],i[a+1]);return i}},n.size=function(t){return t.length},n.isOutOfBound=d.isOutOfBound,n.lookup=s.lookup,n.head=s.head,n.last=s.last,n.tail=function(t){return(0,n.isNonEmpty)(t)?l.some(d.tail(t)):l.none},n.init=function(t){return(0,n.isNonEmpty)(t)?l.some(d.init(t)):l.none},n.takeLeft=function(t){return function(e){return(0,n.isOutOfBound)(t,e)?(0,n.copy)(e):e.slice(0,t)}},n.takeRight=function(t){return function(e){return(0,n.isOutOfBound)(t,e)?(0,n.copy)(e):0===t?[]:e.slice(-t)}},n.takeLeftWhile=function(t){return function(n){for(var e=[],r=0;r<n.length;r++){var i=n[r];if(!t(i))break;e.push(i)}return e}};var y=function(t,n){for(var e=t.length,r=0;r<e&&n(t[r]);r++);return r};function v(t){var e=d.union(t);return function(r,i){if(void 0===i){var a=v(t);return function(t){return a(t,r)}}return(0,n.isNonEmpty)(r)&&(0,n.isNonEmpty)(i)?e(i)(r):(0,n.isNonEmpty)(r)?(0,n.copy)(r):(0,n.copy)(i)}}function g(t){var e=(0,n.elem)(t);return function(n,r){if(void 0===r){var i=g(t);return function(t){return i(t,n)}}return n.filter(function(t){return e(t,r)})}}function R(t){var e=(0,n.elem)(t);return function(n,r){if(void 0===r){var i=R(t);return function(t){return i(t,n)}}return n.filter(function(t){return!e(t,r)})}}n.spanLeft=function(t){return function(e){var r=(0,n.splitAt)(y(e,t))(e);return{init:r[0],rest:r[1]}}},n.dropLeft=function(t){return function(e){return t<=0||(0,n.isEmpty)(e)?(0,n.copy)(e):t>=e.length?[]:e.slice(t,e.length)}},n.dropRight=function(t){return function(e){return t<=0||(0,n.isEmpty)(e)?(0,n.copy)(e):t>=e.length?[]:e.slice(0,e.length-t)}},n.dropLeftWhile=function(t){return function(n){return n.slice(y(n,t))}},n.findIndex=s.findIndex,n.findFirst=function(t){return s.findFirst(t)},n.findFirstMap=s.findFirstMap,n.findLast=function(t){return s.findLast(t)},n.findLastMap=s.findLastMap,n.findLastIndex=s.findLastIndex,n.copy=function(t){return t.slice()},n.insertAt=function(t,e){return function(r){return t<0||t>r.length?l.none:l.some((0,n.unsafeInsertAt)(t,e,r))}},n.updateAt=function(t,e){return(0,n.modifyAt)(t,function(){return e})},n.deleteAt=function(t){return function(e){return(0,n.isOutOfBound)(t,e)?l.none:l.some((0,n.unsafeDeleteAt)(t,e))}},n.modifyAt=function(t,e){return function(r){return(0,n.isOutOfBound)(t,r)?l.none:l.some((0,n.unsafeUpdateAt)(t,e(r[t]),r))}},n.reverse=function(t){return(0,n.isEmpty)(t)?[]:t.slice().reverse()},n.rights=function(t){for(var n=[],e=0;e<t.length;e++){var r=t[e];"Right"===r._tag&&n.push(r.right)}return n},n.lefts=function(t){for(var n=[],e=0;e<t.length;e++){var r=t[e];"Left"===r._tag&&n.push(r.left)}return n},n.sort=function(t){return function(e){return e.length<=1?(0,n.copy)(e):e.slice().sort(t.compare)}},n.zipWith=function(t,n,e){for(var r=[],i=Math.min(t.length,n.length),a=0;a<i;a++)r[a]=e(t[a],n[a]);return r},n.zip=function t(e,r){return void 0===r?function(n){return t(n,e)}:(0,n.zipWith)(e,r,function(t,n){return[t,n]})},n.unzip=function(t){for(var n=[],e=[],r=0;r<t.length;r++)n[r]=t[r][0],e[r]=t[r][1];return[n,e]},n.prependAll=function(t){var e=d.prependAll(t);return function(t){return(0,n.isNonEmpty)(t)?e(t):[]}},n.intersperse=function(t){var e=d.intersperse(t);return function(t){return(0,n.isNonEmpty)(t)?e(t):(0,n.copy)(t)}},n.rotate=function(t){var e=d.rotate(t);return function(t){return(0,n.isNonEmpty)(t)?e(t):(0,n.copy)(t)}},n.elem=s.elem,n.uniq=function(t){var e=d.uniq(t);return function(t){return(0,n.isNonEmpty)(t)?e(t):(0,n.copy)(t)}},n.sortBy=function(t){var e=d.sortBy(t);return function(t){return(0,n.isNonEmpty)(t)?e(t):(0,n.copy)(t)}},n.chop=function(t){var e=d.chop(t);return function(t){return(0,n.isNonEmpty)(t)?e(t):[]}},n.splitAt=function(t){return function(e){return t>=1&&(0,n.isNonEmpty)(e)?d.splitAt(t)(e):(0,n.isEmpty)(e)?[(0,n.copy)(e),[]]:[[],(0,n.copy)(e)]}},n.chunksOf=function(t){var e=d.chunksOf(t);return function(t){return(0,n.isNonEmpty)(t)?e(t):[]}},n.fromOptionK=function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0,n.fromOption)(t.apply(void 0,e))}},n.comprehension=function(t,e,r){void 0===r&&(r=function(){return!0});var i=function(t,a){return(0,n.isNonEmpty)(a)?(0,f.pipe)(d.head(a),(0,n.chain)(function(e){return i((0,f.pipe)(t,(0,n.append)(e)),d.tail(a))})):r.apply(void 0,t)?[e.apply(void 0,t)]:[]};return i([],t)},n.concatW=function(t){return function(e){return(0,n.isEmpty)(e)?(0,n.copy)(t):(0,n.isEmpty)(t)?(0,n.copy)(e):e.concat(t)}},n.concat=n.concatW,n.union=v,n.intersection=g,n.difference=R;var W=function(t,e){return(0,f.pipe)(t,(0,n.map)(e))},O=function(t,e){return(0,f.pipe)(t,(0,n.mapWithIndex)(e))},A=function(t,e){return(0,f.pipe)(t,(0,n.ap)(e))},E=function(t,e){return(0,f.pipe)(t,(0,n.filter)(e))},x=function(t,e){return(0,f.pipe)(t,(0,n.filterMap)(e))},b=function(t,e){return(0,f.pipe)(t,(0,n.partition)(e))},M=function(t,e){return(0,f.pipe)(t,(0,n.partitionMap)(e))},F=function(t,e){return(0,f.pipe)(t,(0,n.partitionWithIndex)(e))},U=function(t,e){return(0,f.pipe)(t,(0,n.partitionMapWithIndex)(e))},k=function(t,e){return(0,f.pipe)(t,(0,n.alt)(e))},T=function(t,e,r){return(0,f.pipe)(t,(0,n.reduce)(e,r))},S=function(t){var e=(0,n.foldMap)(t);return function(t,n){return(0,f.pipe)(t,e(n))}},K=function(t,e,r){return(0,f.pipe)(t,(0,n.reduceRight)(e,r))},P=function(t,e,r){return(0,f.pipe)(t,(0,n.reduceWithIndex)(e,r))},q=function(t){var e=(0,n.foldMapWithIndex)(t);return function(t,n){return(0,f.pipe)(t,e(n))}},w=function(t,e,r){return(0,f.pipe)(t,(0,n.reduceRightWithIndex)(e,r))},N=function(t,e){return(0,f.pipe)(t,(0,n.filterMapWithIndex)(e))},L=function(t,e){return(0,f.pipe)(t,(0,n.filterWithIndex)(e))},_=function(t,e){return(0,f.pipe)(t,(0,n.extend)(e))},C=function(t){var e=(0,n.traverse)(t);return function(t,n){return(0,f.pipe)(t,e(n))}},j=function(t){var e=(0,n.traverseWithIndex)(t);return function(t,n){return(0,f.pipe)(t,e(n))}},B=s._chainRecDepthFirst,D=s._chainRecBreadthFirst;n.of=d.of,n.zero=function(){return[]},n.map=function(t){return function(n){return n.map(function(n){return t(n)})}},n.ap=function(t){return(0,n.chain)(function(e){return(0,f.pipe)(t,(0,n.map)(e))})},n.flatMap=(0,f.dual)(2,function(t,e){return(0,f.pipe)(t,(0,n.chainWithIndex)(function(t,n){return e(n)}))}),n.chain=n.flatMap,n.flatten=(0,n.chain)(f.identity),n.mapWithIndex=function(t){return function(n){return n.map(function(n,e){return t(e,n)})}},n.filterMapWithIndex=function(t){return function(n){for(var e=[],r=0;r<n.length;r++){var i=t(r,n[r]);l.isSome(i)&&e.push(i.value)}return e}},n.filterMap=function(t){return(0,n.filterMapWithIndex)(function(n,e){return t(e)})},n.compact=(0,n.filterMap)(f.identity),n.separate=function(t){for(var n=[],e=[],r=0;r<t.length;r++){var i=t[r];"Left"===i._tag?n.push(i.left):e.push(i.right)}return(0,h.separated)(n,e)},n.filter=function(t){return function(n){return n.filter(t)}},n.partition=function(t){return(0,n.partitionWithIndex)(function(n,e){return t(e)})},n.partitionWithIndex=function(t){return function(n){for(var e=[],r=[],i=0;i<n.length;i++){var a=n[i];t(i,a)?r.push(a):e.push(a)}return(0,h.separated)(e,r)}},n.partitionMap=function(t){return(0,n.partitionMapWithIndex)(function(n,e){return t(e)})},n.partitionMapWithIndex=function(t){return function(n){for(var e=[],r=[],i=0;i<n.length;i++){var a=t(i,n[i]);"Left"===a._tag?e.push(a.left):r.push(a.right)}return(0,h.separated)(e,r)}},n.altW=function(t){return function(n){return n.concat(t())}},n.alt=n.altW,n.filterWithIndex=function(t){return function(n){return n.filter(function(n,e){return t(e,n)})}},n.extend=function(t){return function(n){return n.map(function(e,r){return t(n.slice(r))})}},n.duplicate=(0,n.extend)(f.identity),n.foldMap=s.foldMap,n.foldMapWithIndex=s.foldMapWithIndex,n.reduce=s.reduce,n.reduceWithIndex=s.reduceWithIndex,n.reduceRight=s.reduceRight,n.reduceRightWithIndex=s.reduceRightWithIndex,n.traverse=function(t){var e=(0,n.traverseWithIndex)(t);return function(t){return e(function(n,e){return t(e)})}},n.sequence=function(t){return function(e){return T(e,t.of((0,n.zero)()),function(e,r){return t.ap(t.map(e,function(t){return function(e){return(0,f.pipe)(t,(0,n.append)(e))}}),r)})}},n.traverseWithIndex=function(t){return function(e){return(0,n.reduceWithIndex)(t.of((0,n.zero)()),function(r,i,a){return t.ap(t.map(i,function(t){return function(e){return(0,f.pipe)(t,(0,n.append)(e))}}),e(r,a))})}},n.wither=function(t){var n=z(t);return function(t){return function(e){return n(e,t)}}},n.wilt=function(t){var n=V(t);return function(t){return function(e){return n(e,t)}}},n.unfold=function(t,n){for(var e=[],r=t;;){var i=n(r);if(l.isSome(i)){var a=i.value,o=a[0],u=a[1];e.push(o),r=u}else break}return e},n.URI="Array",n.getShow=s.getShow,n.getSemigroup=function(){return{concat:function(t,n){return t.concat(n)}}},n.getMonoid=function(){return{concat:(0,n.getSemigroup)().concat,empty:[]}},n.getEq=s.getEq,n.getOrd=s.getOrd,n.getUnionSemigroup=function(t){var n=v(t);return{concat:function(t,e){return n(e)(t)}}},n.getUnionMonoid=function(t){return{concat:(0,n.getUnionSemigroup)(t).concat,empty:[]}},n.getIntersectionSemigroup=function(t){var n=g(t);return{concat:function(t,e){return n(e)(t)}}},n.getDifferenceMagma=function(t){var n=R(t);return{concat:function(t,e){return n(e)(t)}}},n.Functor={URI:n.URI,map:W},n.flap=(0,p.flap)(n.Functor),n.Pointed={URI:n.URI,of:n.of},n.FunctorWithIndex={URI:n.URI,map:W,mapWithIndex:O},n.Apply={URI:n.URI,map:W,ap:A},n.apFirst=(0,o.apFirst)(n.Apply),n.apSecond=(0,o.apSecond)(n.Apply),n.Applicative={URI:n.URI,map:W,ap:A,of:n.of},n.Chain={URI:n.URI,map:W,ap:A,chain:n.flatMap},n.chainFirst=(0,u.chainFirst)(n.Chain),n.Monad={URI:n.URI,map:W,ap:A,of:n.of,chain:n.flatMap},n.Unfoldable={URI:n.URI,unfold:n.unfold},n.Alt={URI:n.URI,map:W,alt:k},n.Zero={URI:n.URI,zero:n.zero},n.guard=(0,I.guard)(n.Zero,n.Pointed),n.Alternative={URI:n.URI,map:W,ap:A,of:n.of,alt:k,zero:n.zero},n.Extend={URI:n.URI,map:W,extend:_},n.Compactable={URI:n.URI,compact:n.compact,separate:n.separate},n.Filterable={URI:n.URI,map:W,compact:n.compact,separate:n.separate,filter:E,filterMap:x,partition:b,partitionMap:M},n.FilterableWithIndex={URI:n.URI,map:W,mapWithIndex:O,compact:n.compact,separate:n.separate,filter:E,filterMap:x,partition:b,partitionMap:M,partitionMapWithIndex:U,partitionWithIndex:F,filterMapWithIndex:N,filterWithIndex:L},n.Foldable={URI:n.URI,reduce:T,foldMap:S,reduceRight:K},n.FoldableWithIndex={URI:n.URI,reduce:T,foldMap:S,reduceRight:K,reduceWithIndex:P,foldMapWithIndex:q,reduceRightWithIndex:w},n.Traversable={URI:n.URI,map:W,reduce:T,foldMap:S,reduceRight:K,traverse:C,sequence:n.sequence},n.TraversableWithIndex={URI:n.URI,map:W,mapWithIndex:O,reduce:T,foldMap:S,reduceRight:K,reduceWithIndex:P,foldMapWithIndex:q,reduceRightWithIndex:w,traverse:C,sequence:n.sequence,traverseWithIndex:j};var z=(0,m.witherDefault)(n.Traversable,n.Compactable),V=(0,m.wiltDefault)(n.Traversable,n.Compactable);n.Witherable={URI:n.URI,map:W,compact:n.compact,separate:n.separate,filter:E,filterMap:x,partition:b,partitionMap:M,reduce:T,foldMap:S,reduceRight:K,traverse:C,sequence:n.sequence,wither:z,wilt:V},n.chainRecDepthFirst=s.chainRecDepthFirst,n.ChainRecDepthFirst={URI:n.URI,map:W,ap:A,chain:n.flatMap,chainRec:B},n.chainRecBreadthFirst=s.chainRecBreadthFirst,n.ChainRecBreadthFirst={URI:n.URI,map:W,ap:A,chain:n.flatMap,chainRec:D},n.filterE=(0,m.filterE)(n.Witherable),n.FromEither={URI:n.URI,fromEither:n.fromEither},n.fromEitherK=(0,c.fromEitherK)(n.FromEither),n.unsafeInsertAt=d.unsafeInsertAt,n.unsafeUpdateAt=function(t,e,r){return(0,n.isNonEmpty)(r)?d.unsafeUpdateAt(t,e,r):[]},n.unsafeDeleteAt=function(t,n){var e=n.slice();return e.splice(t,1),e},n.every=s.every,n.some=function(t){return function(n){return n.some(t)}},n.exists=n.some,n.intercalate=s.intercalate,n.Do=(0,n.of)(l.emptyRecord),n.bindTo=(0,p.bindTo)(n.Functor);var H=(0,p.let)(n.Functor);n.let=H,n.bind=(0,u.bind)(n.Chain),n.apS=(0,o.apS)(n.Apply),n.range=d.range,n.empty=[],n.cons=d.cons,n.snoc=d.snoc,n.prependToAll=n.prependAll,n.array={URI:n.URI,compact:n.compact,separate:n.separate,map:W,ap:A,of:n.of,chain:n.flatMap,filter:E,filterMap:x,partition:b,partitionMap:M,mapWithIndex:O,partitionMapWithIndex:U,partitionWithIndex:F,filterMapWithIndex:N,filterWithIndex:L,alt:k,zero:n.zero,unfold:n.unfold,reduce:T,foldMap:S,reduceRight:K,traverse:C,sequence:n.sequence,reduceWithIndex:P,foldMapWithIndex:q,reduceRightWithIndex:w,traverseWithIndex:j,extend:_,wither:z,wilt:V}},28223:function(t,n,e){var r=Object.create?function(t,n,e,r){void 0===r&&(r=e);var i=Object.getOwnPropertyDescriptor(n,e);(!i||("get"in i?!n.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,i)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]},i=Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n};Object.defineProperty(n,"__esModule",{value:!0}),n.getCompactableComposition=n.separate=n.compact=void 0;var a=e(82884),o=e(73034),u=e(73056),c=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)"default"!==e&&Object.prototype.hasOwnProperty.call(t,e)&&r(n,t,e);return i(n,t),n}(e(41040));function f(t,n){return function(e){return t.map(e,n.compact)}}function p(t,n,e){var r=f(t,n),i=(0,o.map)(t,e);return function(t){return c.separated(r((0,a.pipe)(t,i(u.getLeft))),r((0,a.pipe)(t,i(u.getRight))))}}n.compact=f,n.separate=p,n.getCompactableComposition=function(t,n){return{map:(0,o.getFunctorComposition)(t,n).map,compact:f(t,n),separate:p(t,n,n)}}},26061:function(t,n,e){var r=Object.create?function(t,n,e,r){void 0===r&&(r=e);var i=Object.getOwnPropertyDescriptor(n,e);(!i||("get"in i?!n.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,i)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]},i=Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n};Object.defineProperty(n,"__esModule",{value:!0}),n.getEitherM=n.toUnion=n.swap=n.orLeft=n.orElseFirst=n.orElse=n.getOrElse=n.matchE=n.match=n.altValidation=n.mapLeft=n.bimap=n.alt=n.flatMap=n.chain=n.ap=n.map=n.chainNullableK=n.fromNullableK=n.fromNullable=n.leftF=n.rightF=n.left=n.right=void 0;var a=e(18415),o=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)"default"!==e&&Object.prototype.hasOwnProperty.call(t,e)&&r(n,t,e);return i(n,t),n}(e(92827)),u=e(82884),c=e(73034);function f(t){return(0,u.flow)(o.right,t.of)}function p(t){return(0,u.flow)(o.left,t.of)}function l(t){return function(n){return t.map(n,o.right)}}function d(t){return function(n){return t.map(n,o.left)}}function s(t){return function(n){return(0,u.flow)(o.fromNullable(n),t.of)}}function h(t){var n=s(t);return function(t){var e=n(t);return function(t){return(0,u.flow)(t,e)}}}function m(t){return(0,c.map)(t,o.Functor)}function I(t){return(0,a.ap)(t,o.Apply)}function y(t){var n=v(t);return function(t){return function(e){return n(e,t)}}}function v(t){return function(n,e){return t.chain(n,function(n){return o.isLeft(n)?t.of(n):e(n.right)})}}function g(t){return function(n){return function(e){return t.chain(e,function(e){return o.isLeft(e)?n():t.of(e)})}}}function R(t){return function(n,e){return function(r){return t.map(r,o.bimap(n,e))}}}function W(t){return function(n){return function(e){return t.map(e,o.mapLeft(n))}}}function O(t){return function(n,e){return function(r){return t.chain(r,o.match(n,e))}}}function A(t){return function(n){return function(e){return t.chain(e,o.match(n,t.of))}}}function E(t){return function(n){return function(e){return t.chain(e,function(e){return o.isLeft(e)?n(e.left):t.of(e)})}}}function x(t){return function(n){return t.map(n,o.swap)}}n.right=f,n.left=p,n.rightF=l,n.leftF=d,n.fromNullable=s,n.fromNullableK=h,n.chainNullableK=function(t){var n=y(t),e=h(t);return function(t){var r=e(t);return function(t){return n(r(t))}}},n.map=m,n.ap=I,n.chain=y,n.flatMap=v,n.alt=g,n.bimap=R,n.mapLeft=W,n.altValidation=function(t,n){return function(e){return function(r){return t.chain(r,o.match(function(r){return t.map(e(),o.mapLeft(function(t){return n.concat(r,t)}))},f(t)))}}},n.match=function(t){return function(n,e){return function(r){return t.map(r,o.match(n,e))}}},n.matchE=O,n.getOrElse=A,n.orElse=E,n.orElseFirst=function(t){var n=E(t);return function(e){return n(function(n){return t.map(e(n),function(t){return o.isLeft(t)?t:o.left(n)})})}},n.orLeft=function(t){return function(n){return function(e){return t.chain(e,o.match(function(e){return t.map(n(e),o.left)},function(n){return t.of(o.right(n))}))}}},n.swap=x,n.toUnion=function(t){return function(n){return t.map(n,o.toUnion)}},n.getEitherM=function(t){var n=I(t),e=m(t),r=y(t),i=g(t),a=R(t),o=W(t),c=O(t),s=A(t),h=E(t);return{map:function(t,n){return(0,u.pipe)(t,e(n))},ap:function(t,e){return(0,u.pipe)(t,n(e))},of:f(t),chain:function(t,n){return(0,u.pipe)(t,r(n))},alt:function(t,n){return(0,u.pipe)(t,i(n))},bimap:function(t,n,e){return(0,u.pipe)(t,a(n,e))},mapLeft:function(t,n){return(0,u.pipe)(t,o(n))},fold:function(t,n,e){return(0,u.pipe)(t,c(n,e))},getOrElse:function(t,n){return(0,u.pipe)(t,s(n))},orElse:function(t,n){return(0,u.pipe)(t,h(n))},swap:x(t),rightM:l(t),leftM:d(t),left:p(t)}}},49158:function(t,n,e){Object.defineProperty(n,"__esModule",{value:!0}),n.getFilterableComposition=n.partitionMap=n.partition=n.filterMap=n.filter=void 0;var r=e(28223),i=e(82884),a=e(73034),o=e(73056),u=e(55675),c=e(41040);function f(t,n){return function(e){return function(r){return t.map(r,function(t){return n.filter(t,e)})}}}function p(t,n){return function(e){return function(r){return t.map(r,function(t){return n.filterMap(t,e)})}}}function l(t,n){var e=f(t,n);return function(t){var n=e((0,u.not)(t)),r=e(t);return function(t){return(0,c.separated)(n(t),r(t))}}}function d(t,n){var e=p(t,n);return function(t){return function(n){return(0,c.separated)((0,i.pipe)(n,e(function(n){return(0,o.getLeft)(t(n))})),(0,i.pipe)(n,e(function(n){return(0,o.getRight)(t(n))})))}}}n.filter=f,n.filterMap=p,n.partition=l,n.partitionMap=d,n.getFilterableComposition=function(t,n){var e=(0,a.getFunctorComposition)(t,n).map,o=(0,r.compact)(t,n),u=(0,r.separate)(t,n,n),c=f(t,n),s=p(t,n),h=l(t,n),m=d(t,n);return{map:e,compact:o,separate:u,filter:function(t,n){return(0,i.pipe)(t,c(n))},filterMap:function(t,n){return(0,i.pipe)(t,s(n))},partition:function(t,n){return(0,i.pipe)(t,h(n))},partitionMap:function(t,n){return(0,i.pipe)(t,m(n))}}}},19419:function(t,n,e){Object.defineProperty(n,"__esModule",{value:!0}),n.chainFirstIOK=n.chainIOK=n.fromIOK=void 0;var r=e(12728),i=e(82884);n.fromIOK=function(t){return function(n){return(0,i.flow)(n,t.fromIO)}},n.chainIOK=function(t,n){return function(e){var r=(0,i.flow)(e,t.fromIO);return function(t){return n.chain(t,r)}}},n.chainFirstIOK=function(t,n){var e=(0,r.chainFirst)(n);return function(n){return e((0,i.flow)(n,t.fromIO))}}},71401:function(t,n,e){Object.defineProperty(n,"__esModule",{value:!0}),n.chainFirstTaskK=n.chainTaskK=n.fromTaskK=void 0;var r=e(12728),i=e(82884);n.fromTaskK=function(t){return function(n){return(0,i.flow)(n,t.fromTask)}},n.chainTaskK=function(t,n){return function(e){var r=(0,i.flow)(e,t.fromTask);return function(t){return n.chain(t,r)}}},n.chainFirstTaskK=function(t,n){var e=(0,r.chainFirst)(n);return function(n){return e((0,i.flow)(n,t.fromTask))}}},76280:function(t,n,e){var r=Object.create?function(t,n,e,r){void 0===r&&(r=e);var i=Object.getOwnPropertyDescriptor(n,e);(!i||("get"in i?!n.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,i)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]},i=Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n},a=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)"default"!==e&&Object.prototype.hasOwnProperty.call(t,e)&&r(n,t,e);return i(n,t),n},o=function(t,n,e){if(e||2==arguments.length)for(var r,i=0,a=n.length;i<a;i++)!r&&i in n||(r||(r=Array.prototype.slice.call(n,0,i)),r[i]=n[i]);return t.concat(r||Array.prototype.slice.call(n))};Object.defineProperty(n,"__esModule",{value:!0}),n.map=n.flatten=n.duplicate=n.extend=n.chain=n.flatMap=n.ap=n.alt=n.altW=n.chunksOf=n.splitAt=n.chop=n.chainWithIndex=n.foldMap=n.foldMapWithIndex=n.intersperse=n.prependAll=n.unzip=n.zip=n.zipWith=n.of=n.copy=n.modifyAt=n.updateAt=n.insertAt=n.sort=n.groupBy=n.group=n.reverse=n.concat=n.concatW=n.unappend=n.unprepend=n.range=n.replicate=n.makeBy=n.fromArray=n.fromReadonlyNonEmptyArray=n.rotate=n.union=n.sortBy=n.uniq=n.unsafeUpdateAt=n.unsafeInsertAt=n.append=n.appendW=n.prepend=n.prependW=n.isOutOfBound=n.isNonEmpty=void 0,n.intercalate=n.updateLast=n.modifyLast=n.updateHead=n.modifyHead=n.matchRight=n.matchLeft=n.concatAll=n.max=n.min=n.init=n.last=n.tail=n.head=n.apS=n.bind=n.let=n.bindTo=n.Do=n.Comonad=n.Alt=n.TraversableWithIndex=n.Traversable=n.FoldableWithIndex=n.Foldable=n.Monad=n.chainFirst=n.Chain=n.Applicative=n.apSecond=n.apFirst=n.Apply=n.FunctorWithIndex=n.Pointed=n.flap=n.Functor=n.getUnionSemigroup=n.getEq=n.getSemigroup=n.getShow=n.URI=n.extract=n.traverseWithIndex=n.sequence=n.traverse=n.reduceRightWithIndex=n.reduceRight=n.reduceWithIndex=n.reduce=n.mapWithIndex=void 0,n.nonEmptyArray=n.fold=n.prependToAll=n.snoc=n.cons=n.unsnoc=n.uncons=n.filterWithIndex=n.filter=n.groupSort=void 0;var u=e(18415),c=e(12728),f=e(82884),p=e(73034),l=a(e(81269)),d=e(66993),s=a(e(7819));function h(t){return function(n){return n.concat(t)}}function m(t,n){return n?t.concat(n):function(n){return n.concat(t)}}function I(t){return function(n){var e=n.length;if(0===e)return[];for(var r=[],i=n[0],a=[i],o=1;o<e;o++){var u=n[o];t.equals(u,i)?a.push(u):(r.push(a),a=[i=u])}return r.push(a),r}}n.isNonEmpty=function(t){return t.length>0},n.isOutOfBound=function(t,n){return t<0||t>=n.length},n.prependW=function(t){return function(n){return o([t],n,!0)}},n.prepend=n.prependW,n.appendW=function(t){return function(n){return o(o([],n,!0),[t],!1)}},n.append=n.appendW,n.unsafeInsertAt=function(t,e,r){if((0,n.isNonEmpty)(r)){var i=(0,n.fromReadonlyNonEmptyArray)(r);return i.splice(t,0,e),i}return[e]},n.unsafeUpdateAt=function(t,e,r){var i=(0,n.fromReadonlyNonEmptyArray)(r);return i[t]=e,i},n.uniq=function(t){return function(e){if(1===e.length)return(0,n.copy)(e);for(var r=[(0,n.head)(e)],i=(0,n.tail)(e),a=function(n){r.every(function(e){return!t.equals(e,n)})&&r.push(n)},o=0;o<i.length;o++)a(i[o]);return r}},n.sortBy=function(t){if((0,n.isNonEmpty)(t)){var e=(0,d.getMonoid)();return(0,n.sort)(t.reduce(e.concat,e.empty))}return n.copy},n.union=function(t){var e=(0,n.uniq)(t);return function(t){return function(n){return e((0,f.pipe)(n,m(t)))}}},n.rotate=function(t){return function(e){var r=e.length,i=Math.round(t)%r;if((0,n.isOutOfBound)(Math.abs(i),e)||0===i)return(0,n.copy)(e);if(!(i<0))return(0,n.rotate)(i-r)(e);var a=(0,n.splitAt)(-i)(e),o=a[0],u=a[1];return(0,f.pipe)(u,m(o))}},n.fromReadonlyNonEmptyArray=l.fromReadonlyNonEmptyArray,n.fromArray=function(t){return(0,n.isNonEmpty)(t)?l.some(t):l.none},n.makeBy=function(t){return function(n){for(var e=Math.max(0,Math.floor(n)),r=[t(0)],i=1;i<e;i++)r.push(t(i));return r}},n.replicate=function(t){return(0,n.makeBy)(function(){return t})},n.range=function(t,e){return t<=e?(0,n.makeBy)(function(n){return t+n})(e-t+1):[t]},n.unprepend=function(t){return[(0,n.head)(t),(0,n.tail)(t)]},n.unappend=function(t){return[(0,n.init)(t),(0,n.last)(t)]},n.concatW=h,n.concat=m,n.reverse=function(t){return o([(0,n.last)(t)],t.slice(0,-1).reverse(),!0)},n.group=I,n.groupBy=function(t){return function(n){for(var e={},r=0;r<n.length;r++){var i=n[r],a=t(i);l.has.call(e,a)?e[a].push(i):e[a]=[i]}return e}},n.sort=function(t){return function(n){return n.slice().sort(t.compare)}},n.insertAt=function(t,e){return function(r){return t<0||t>r.length?l.none:l.some((0,n.unsafeInsertAt)(t,e,r))}},n.updateAt=function(t,e){return(0,n.modifyAt)(t,function(){return e})},n.modifyAt=function(t,e){return function(r){return(0,n.isOutOfBound)(t,r)?l.none:l.some((0,n.unsafeUpdateAt)(t,e(r[t]),r))}},n.copy=n.fromReadonlyNonEmptyArray,n.of=function(t){return[t]},n.zipWith=function(t,n,e){for(var r=[e(t[0],n[0])],i=Math.min(t.length,n.length),a=1;a<i;a++)r[a]=e(t[a],n[a]);return r},n.zip=function t(e,r){return void 0===r?function(n){return t(n,e)}:(0,n.zipWith)(e,r,function(t,n){return[t,n]})},n.unzip=function(t){for(var n=[t[0][0]],e=[t[0][1]],r=1;r<t.length;r++)n[r]=t[r][0],e[r]=t[r][1];return[n,e]},n.prependAll=function(t){return function(n){for(var e=[t,n[0]],r=1;r<n.length;r++)e.push(t,n[r]);return e}},n.intersperse=function(t){return function(e){var r=(0,n.tail)(e);return(0,n.isNonEmpty)(r)?(0,f.pipe)(r,(0,n.prependAll)(t),(0,n.prepend)((0,n.head)(e))):(0,n.copy)(e)}},n.foldMapWithIndex=s.foldMapWithIndex,n.foldMap=s.foldMap,n.chainWithIndex=function(t){return function(e){for(var r=(0,n.fromReadonlyNonEmptyArray)(t(0,(0,n.head)(e))),i=1;i<e.length;i++)r.push.apply(r,t(i,e[i]));return r}},n.chop=function(t){return function(e){for(var r=t(e),i=r[0],a=r[1],o=[i],u=a;(0,n.isNonEmpty)(u);){var c=t(u),f=c[0],p=c[1];o.push(f),u=p}return o}},n.splitAt=function(t){return function(e){var r=Math.max(1,t);return r>=e.length?[(0,n.copy)(e),[]]:[(0,f.pipe)(e.slice(1,r),(0,n.prepend)((0,n.head)(e))),e.slice(r)]}},n.chunksOf=function(t){return(0,n.chop)((0,n.splitAt)(t))};var y=function(t,e){return(0,f.pipe)(t,(0,n.map)(e))},v=function(t,e){return(0,f.pipe)(t,(0,n.mapWithIndex)(e))},g=function(t,e){return(0,f.pipe)(t,(0,n.ap)(e))},R=function(t,e){return(0,f.pipe)(t,(0,n.extend)(e))},W=function(t,e,r){return(0,f.pipe)(t,(0,n.reduce)(e,r))},O=function(t){var e=(0,n.foldMap)(t);return function(t,n){return(0,f.pipe)(t,e(n))}},A=function(t,e,r){return(0,f.pipe)(t,(0,n.reduceRight)(e,r))},E=function(t){var e=(0,n.traverse)(t);return function(t,n){return(0,f.pipe)(t,e(n))}},x=function(t,e){return(0,f.pipe)(t,(0,n.alt)(e))},b=function(t,e,r){return(0,f.pipe)(t,(0,n.reduceWithIndex)(e,r))},M=function(t){var e=(0,n.foldMapWithIndex)(t);return function(t,n){return(0,f.pipe)(t,e(n))}},F=function(t,e,r){return(0,f.pipe)(t,(0,n.reduceRightWithIndex)(e,r))},U=function(t){var e=(0,n.traverseWithIndex)(t);return function(t,n){return(0,f.pipe)(t,e(n))}};n.altW=function(t){return function(n){return(0,f.pipe)(n,h(t()))}},n.alt=n.altW,n.ap=function(t){return(0,n.chain)(function(e){return(0,f.pipe)(t,(0,n.map)(e))})},n.flatMap=(0,f.dual)(2,function(t,e){return(0,f.pipe)(t,(0,n.chainWithIndex)(function(t,n){return e(n)}))}),n.chain=n.flatMap,n.extend=function(t){return function(e){for(var r=(0,n.tail)(e),i=[t(e)];(0,n.isNonEmpty)(r);)i.push(t(r)),r=(0,n.tail)(r);return i}},n.duplicate=(0,n.extend)(f.identity),n.flatten=(0,n.chain)(f.identity),n.map=function(t){return(0,n.mapWithIndex)(function(n,e){return t(e)})},n.mapWithIndex=function(t){return function(e){for(var r=[t(0,(0,n.head)(e))],i=1;i<e.length;i++)r.push(t(i,e[i]));return r}},n.reduce=s.reduce,n.reduceWithIndex=s.reduceWithIndex,n.reduceRight=s.reduceRight,n.reduceRightWithIndex=s.reduceRightWithIndex,n.traverse=function(t){var e=(0,n.traverseWithIndex)(t);return function(t){return e(function(n,e){return t(e)})}},n.sequence=function(t){return(0,n.traverseWithIndex)(t)(function(t,n){return n})},n.traverseWithIndex=function(t){return function(e){return function(r){for(var i=t.map(e(0,(0,n.head)(r)),n.of),a=1;a<r.length;a++)i=t.ap(t.map(i,function(t){return function(e){return(0,f.pipe)(t,(0,n.append)(e))}}),e(a,r[a]));return i}}},n.extract=s.head,n.URI="NonEmptyArray",n.getShow=s.getShow,n.getSemigroup=function(){return{concat:m}},n.getEq=s.getEq,n.getUnionSemigroup=function(t){var e=(0,n.union)(t);return{concat:function(t,n){return e(n)(t)}}},n.Functor={URI:n.URI,map:y},n.flap=(0,p.flap)(n.Functor),n.Pointed={URI:n.URI,of:n.of},n.FunctorWithIndex={URI:n.URI,map:y,mapWithIndex:v},n.Apply={URI:n.URI,map:y,ap:g},n.apFirst=(0,u.apFirst)(n.Apply),n.apSecond=(0,u.apSecond)(n.Apply),n.Applicative={URI:n.URI,map:y,ap:g,of:n.of},n.Chain={URI:n.URI,map:y,ap:g,chain:n.flatMap},n.chainFirst=(0,c.chainFirst)(n.Chain),n.Monad={URI:n.URI,map:y,ap:g,of:n.of,chain:n.flatMap},n.Foldable={URI:n.URI,reduce:W,foldMap:O,reduceRight:A},n.FoldableWithIndex={URI:n.URI,reduce:W,foldMap:O,reduceRight:A,reduceWithIndex:b,foldMapWithIndex:M,reduceRightWithIndex:F},n.Traversable={URI:n.URI,map:y,reduce:W,foldMap:O,reduceRight:A,traverse:E,sequence:n.sequence},n.TraversableWithIndex={URI:n.URI,map:y,mapWithIndex:v,reduce:W,foldMap:O,reduceRight:A,traverse:E,sequence:n.sequence,reduceWithIndex:b,foldMapWithIndex:M,reduceRightWithIndex:F,traverseWithIndex:U},n.Alt={URI:n.URI,map:y,alt:x},n.Comonad={URI:n.URI,map:y,extend:R,extract:n.extract},n.Do=(0,n.of)(l.emptyRecord),n.bindTo=(0,p.bindTo)(n.Functor);var k=(0,p.let)(n.Functor);n.let=k,n.bind=(0,c.bind)(n.Chain),n.apS=(0,u.apS)(n.Apply),n.head=s.head,n.tail=function(t){return t.slice(1)},n.last=s.last,n.init=function(t){return t.slice(0,-1)},n.min=s.min,n.max=s.max,n.concatAll=function(t){return function(n){return n.reduce(t.concat)}},n.matchLeft=function(t){return function(e){return t((0,n.head)(e),(0,n.tail)(e))}},n.matchRight=function(t){return function(e){return t((0,n.init)(e),(0,n.last)(e))}},n.modifyHead=function(t){return function(e){return o([t((0,n.head)(e))],(0,n.tail)(e),!0)}},n.updateHead=function(t){return(0,n.modifyHead)(function(){return t})},n.modifyLast=function(t){return function(e){return(0,f.pipe)((0,n.init)(e),(0,n.append)(t((0,n.last)(e))))}},n.updateLast=function(t){return(0,n.modifyLast)(function(){return t})},n.intercalate=s.intercalate,n.groupSort=function(t){var e=(0,n.sort)(t),r=I(t);return function(t){return(0,n.isNonEmpty)(t)?r(e(t)):[]}},n.filter=function(t){return(0,n.filterWithIndex)(function(n,e){return t(e)})},n.filterWithIndex=function(t){return function(e){return(0,n.fromArray)(e.filter(function(n,e){return t(e,n)}))}},n.uncons=n.unprepend,n.unsnoc=n.unappend,n.cons=function(t,e){return void 0===e?(0,n.prepend)(t):(0,f.pipe)(e,(0,n.prepend)(t))},n.snoc=function(t,e){return(0,f.pipe)(t,(0,n.append)(e))},n.prependToAll=n.prependAll,n.fold=s.concatAll,n.nonEmptyArray={URI:n.URI,of:n.of,map:y,mapWithIndex:v,ap:g,chain:n.flatMap,extend:R,extract:n.extract,reduce:W,foldMap:O,reduceRight:A,traverse:E,sequence:n.sequence,reduceWithIndex:b,foldMapWithIndex:M,reduceRightWithIndex:F,traverseWithIndex:U,alt:x}},48052:function(t,n,e){var r=Object.create?function(t,n,e,r){void 0===r&&(r=e);var i=Object.getOwnPropertyDescriptor(n,e);(!i||("get"in i?!n.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,i)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]},i=Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n};Object.defineProperty(n,"__esModule",{value:!0}),n.getSemigroup=n.taskSeq=n.task=n.sequenceSeqArray=n.traverseSeqArray=n.traverseSeqArrayWithIndex=n.sequenceArray=n.traverseArray=n.traverseArrayWithIndex=n.traverseReadonlyArrayWithIndexSeq=n.traverseReadonlyNonEmptyArrayWithIndexSeq=n.traverseReadonlyArrayWithIndex=n.traverseReadonlyNonEmptyArrayWithIndex=n.ApT=n.apS=n.bind=n.let=n.bindTo=n.Do=n.never=n.FromTask=n.chainFirstIOK=n.chainIOK=n.fromIOK=n.FromIO=n.chainFirst=n.MonadTask=n.fromTask=n.MonadIO=n.Monad=n.Chain=n.ApplicativeSeq=n.ApplySeq=n.ApplicativePar=n.apSecond=n.apFirst=n.ApplyPar=n.Pointed=n.flap=n.Functor=n.getRaceMonoid=n.URI=n.flatten=n.chain=n.flatMap=n.of=n.ap=n.map=n.delay=n.fromIO=void 0,n.getMonoid=void 0;var a=e(91575),o=e(18415),u=e(12728),c=e(19419),f=e(82884),p=e(73034),l=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)"default"!==e&&Object.prototype.hasOwnProperty.call(t,e)&&r(n,t,e);return i(n,t),n}(e(81269));n.fromIO=function(t){return function(){return Promise.resolve().then(t)}},n.delay=function(t){return function(n){return function(){return new Promise(function(e){setTimeout(function(){Promise.resolve().then(n).then(e)},t)})}}};var d=function(t,e){return(0,f.pipe)(t,(0,n.map)(e))},s=function(t,e){return(0,f.pipe)(t,(0,n.ap)(e))},h=function(t,e){return(0,f.pipe)(t,(0,n.chain)(function(t){return(0,f.pipe)(e,(0,n.map)(t))}))};n.map=function(t){return function(n){return function(){return Promise.resolve().then(n).then(t)}}},n.ap=function(t){return function(n){return function(){return Promise.all([Promise.resolve().then(n),Promise.resolve().then(t)]).then(function(t){return(0,t[0])(t[1])})}}},n.of=function(t){return function(){return Promise.resolve(t)}},n.flatMap=(0,f.dual)(2,function(t,n){return function(){return Promise.resolve().then(t).then(function(t){return n(t)()})}}),n.chain=n.flatMap,n.flatten=(0,n.chain)(f.identity),n.URI="Task",n.getRaceMonoid=function(){return{concat:function(t,n){return function(){return Promise.race([Promise.resolve().then(t),Promise.resolve().then(n)])}},empty:n.never}},n.Functor={URI:n.URI,map:d},n.flap=(0,p.flap)(n.Functor),n.Pointed={URI:n.URI,of:n.of},n.ApplyPar={URI:n.URI,map:d,ap:s},n.apFirst=(0,o.apFirst)(n.ApplyPar),n.apSecond=(0,o.apSecond)(n.ApplyPar),n.ApplicativePar={URI:n.URI,map:d,ap:s,of:n.of},n.ApplySeq={URI:n.URI,map:d,ap:h},n.ApplicativeSeq={URI:n.URI,map:d,ap:h,of:n.of},n.Chain={URI:n.URI,map:d,ap:s,chain:n.flatMap},n.Monad={URI:n.URI,map:d,of:n.of,ap:s,chain:n.flatMap},n.MonadIO={URI:n.URI,map:d,of:n.of,ap:s,chain:n.flatMap,fromIO:n.fromIO},n.fromTask=f.identity,n.MonadTask={URI:n.URI,map:d,of:n.of,ap:s,chain:n.flatMap,fromIO:n.fromIO,fromTask:n.fromTask},n.chainFirst=(0,u.chainFirst)(n.Chain),n.FromIO={URI:n.URI,fromIO:n.fromIO},n.fromIOK=(0,c.fromIOK)(n.FromIO),n.chainIOK=(0,c.chainIOK)(n.FromIO,n.Chain),n.chainFirstIOK=(0,c.chainFirstIOK)(n.FromIO,n.Chain),n.FromTask={URI:n.URI,fromIO:n.fromIO,fromTask:n.fromTask},n.never=function(){return new Promise(function(t){})},n.Do=(0,n.of)(l.emptyRecord),n.bindTo=(0,p.bindTo)(n.Functor);var m=(0,p.let)(n.Functor);n.let=m,n.bind=(0,u.bind)(n.Chain),n.apS=(0,o.apS)(n.ApplyPar),n.ApT=(0,n.of)(l.emptyReadonlyArray),n.traverseReadonlyNonEmptyArrayWithIndex=function(t){return function(n){return function(){return Promise.all(n.map(function(n,e){return Promise.resolve().then(function(){return t(e,n)()})}))}}},n.traverseReadonlyArrayWithIndex=function(t){var e=(0,n.traverseReadonlyNonEmptyArrayWithIndex)(t);return function(t){return l.isNonEmpty(t)?e(t):n.ApT}},n.traverseReadonlyNonEmptyArrayWithIndexSeq=function(t){return function(n){return function(){return l.tail(n).reduce(function(n,e,r){return n.then(function(n){return Promise.resolve().then(t(r+1,e)).then(function(t){return n.push(t),n})})},Promise.resolve().then(t(0,l.head(n))).then(l.singleton))}}},n.traverseReadonlyArrayWithIndexSeq=function(t){var e=(0,n.traverseReadonlyNonEmptyArrayWithIndexSeq)(t);return function(t){return l.isNonEmpty(t)?e(t):n.ApT}},n.traverseArrayWithIndex=n.traverseReadonlyArrayWithIndex,n.traverseArray=function(t){return(0,n.traverseReadonlyArrayWithIndex)(function(n,e){return t(e)})},n.sequenceArray=(0,n.traverseArray)(f.identity),n.traverseSeqArrayWithIndex=n.traverseReadonlyArrayWithIndexSeq,n.traverseSeqArray=function(t){return(0,n.traverseReadonlyArrayWithIndexSeq)(function(n,e){return t(e)})},n.sequenceSeqArray=(0,n.traverseSeqArray)(f.identity),n.task={URI:n.URI,map:d,of:n.of,ap:s,chain:n.flatMap,fromIO:n.fromIO,fromTask:n.fromTask},n.taskSeq={URI:n.URI,map:d,of:n.of,ap:h,chain:n.flatMap,fromIO:n.fromIO,fromTask:n.fromTask},n.getSemigroup=(0,o.getApplySemigroup)(n.ApplySeq),n.getMonoid=(0,a.getApplicativeMonoid)(n.ApplicativeSeq)},28023:function(t,n,e){var r=Object.create?function(t,n,e,r){void 0===r&&(r=e);var i=Object.getOwnPropertyDescriptor(n,e);(!i||("get"in i?!n.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,i)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]},i=Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t.default=n},a=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)"default"!==e&&Object.prototype.hasOwnProperty.call(t,e)&&r(n,t,e);return i(n,t),n},o=function(t,n){var e,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(u){return function(c){return function(u){if(e)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(e=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=n.call(t,o)}catch(t){u=[6,t],r=0}finally{e=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,c])}}};Object.defineProperty(n,"__esModule",{value:!0}),n.alt=n.flatten=n.flattenW=n.chainW=n.chain=n.flatMap=n.apW=n.ap=n.mapLeft=n.bimap=n.map=n.chainIOEitherK=n.chainIOEitherKW=n.fromIOEitherK=n.chainTaskOptionK=n.chainTaskOptionKW=n.fromTaskOptionK=n.swap=n.orLeft=n.orElseFirstTaskK=n.orElseFirstIOK=n.orElseFirstW=n.orElseFirst=n.orElseW=n.orElse=n.chainNullableK=n.fromNullableK=n.fromNullable=n.toUnion=n.tryCatchK=n.tryCatch=n.getOrElseW=n.getOrElse=n.foldW=n.matchEW=n.fold=n.matchE=n.matchW=n.match=n.fromTaskOption=n.fromIOEither=n.fromEither=n.fromTask=n.fromIO=n.leftIO=n.rightIO=n.leftTask=n.rightTask=n.right=n.left=void 0,n.taskify=n.chainFirstTaskK=n.chainTaskK=n.fromTaskK=n.FromTask=n.chainFirstIOK=n.chainIOK=n.fromIOK=n.FromIO=n.fromEitherK=n.filterOrElseW=n.filterOrElse=n.fromPredicate=n.chainFirstEitherKW=n.chainFirstEitherK=n.chainEitherKW=n.chainEitherK=n.chainOptionKW=n.chainOptionK=n.fromOptionK=n.fromOption=n.FromEither=n.Alt=n.Bifunctor=n.chainFirstW=n.chainFirst=n.MonadThrow=n.MonadTask=n.MonadIO=n.Monad=n.Chain=n.ApplicativeSeq=n.ApplySeq=n.ApplicativePar=n.apSecondW=n.apSecond=n.apFirstW=n.apFirst=n.ApplyPar=n.Pointed=n.flap=n.Functor=n.getFilterable=n.getCompactable=n.getAltTaskValidation=n.getApplicativeTaskValidation=n.URI=n.throwError=n.of=n.altW=void 0,n.getTaskValidation=n.getSemigroup=n.getApplyMonoid=n.getApplySemigroup=n.taskEitherSeq=n.taskEither=n.sequenceSeqArray=n.traverseSeqArray=n.traverseSeqArrayWithIndex=n.sequenceArray=n.traverseArray=n.traverseArrayWithIndex=n.traverseReadonlyArrayWithIndexSeq=n.traverseReadonlyNonEmptyArrayWithIndexSeq=n.traverseReadonlyArrayWithIndex=n.traverseReadonlyNonEmptyArrayWithIndex=n.ApT=n.apSW=n.apS=n.bindW=n.bind=n.let=n.bindTo=n.Do=n.bracketW=n.bracket=void 0;var u=e(91575),c=e(18415),f=e(12728),p=e(28223),l=a(e(92827)),d=a(e(26061)),s=e(49158),h=e(59504),m=e(19419),I=e(71401),y=e(82884),v=e(73034),g=a(e(81269)),R=a(e(48052));n.left=d.left(R.Pointed),n.right=d.right(R.Pointed),n.rightTask=d.rightF(R.Functor),n.leftTask=d.leftF(R.Functor),n.rightIO=(0,y.flow)(R.fromIO,n.rightTask),n.leftIO=(0,y.flow)(R.fromIO,n.leftTask),n.fromIO=n.rightIO,n.fromTask=n.rightTask,n.fromEither=R.of,n.fromIOEither=R.fromIO,n.fromTaskOption=function(t){return R.map(l.fromOption(t))},n.match=d.match(R.Functor),n.matchW=n.match,n.matchE=d.matchE(R.Monad),n.fold=n.matchE,n.matchEW=n.matchE,n.foldW=n.matchEW,n.getOrElse=d.getOrElse(R.Monad),n.getOrElseW=n.getOrElse,n.tryCatch=function(t,n){return function(){var e,r,i,a;return e=void 0,r=void 0,i=void 0,a=function(){var e;return o(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,t().then(g.right)];case 1:return[2,r.sent()];case 2:return e=r.sent(),[2,g.left(n(e))];case 3:return[2]}})},new(i||(i=Promise))(function(t,n){function o(t){try{c(a.next(t))}catch(t){n(t)}}function u(t){try{c(a.throw(t))}catch(t){n(t)}}function c(n){var e;n.done?t(n.value):((e=n.value)instanceof i?e:new i(function(t){t(e)})).then(o,u)}c((a=a.apply(e,r||[])).next())})}},n.tryCatchK=function(t,e){return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return(0,n.tryCatch)(function(){return t.apply(void 0,r)},e)}},n.toUnion=d.toUnion(R.Functor),n.fromNullable=d.fromNullable(R.Pointed),n.fromNullableK=d.fromNullableK(R.Pointed),n.chainNullableK=d.chainNullableK(R.Monad),n.orElse=d.orElse(R.Monad),n.orElseW=n.orElse,n.orElseFirst=d.orElseFirst(R.Monad),n.orElseFirstW=n.orElseFirst,n.orElseFirstIOK=function(t){return(0,n.orElseFirst)((0,n.fromIOK)(t))},n.orElseFirstTaskK=function(t){return(0,n.orElseFirst)((0,n.fromTaskK)(t))},n.orLeft=d.orLeft(R.Monad),n.swap=d.swap(R.Functor),n.fromTaskOptionK=function(t){var e=(0,n.fromTaskOption)(t);return function(t){return(0,y.flow)(t,e)}},n.chainTaskOptionKW=function(t){return function(e){return function(r){return(0,y.pipe)(r,(0,n.chain)((0,n.fromTaskOptionK)(t)(e)))}}},n.chainTaskOptionK=n.chainTaskOptionKW,n.fromIOEitherK=function(t){return(0,y.flow)(t,n.fromIOEither)},n.chainIOEitherKW=function(t){return(0,n.chainW)((0,n.fromIOEitherK)(t))},n.chainIOEitherK=n.chainIOEitherKW;var W=function(t,e){return(0,y.pipe)(t,(0,n.map)(e))},O=function(t,e){return(0,y.pipe)(t,(0,n.ap)(e))},A=function(t,e){return(0,y.pipe)(t,(0,n.chain)(function(t){return(0,y.pipe)(e,(0,n.map)(t))}))},E=function(t,e,r){return(0,y.pipe)(t,(0,n.bimap)(e,r))},x=function(t,e){return(0,y.pipe)(t,(0,n.mapLeft)(e))},b=function(t,e){return(0,y.pipe)(t,(0,n.alt)(e))};function M(t,e){var r=(0,c.ap)(t,l.getApplicativeValidation(e));return{URI:n.URI,_E:void 0,map:W,ap:function(t,n){return(0,y.pipe)(t,r(n))},of:n.of}}function F(t){var e=d.altValidation(R.Monad,t);return{URI:n.URI,_E:void 0,map:W,alt:function(t,n){return(0,y.pipe)(t,e(n))}}}n.map=d.map(R.Functor),n.bimap=d.bimap(R.Functor),n.mapLeft=d.mapLeft(R.Functor),n.ap=d.ap(R.ApplyPar),n.apW=n.ap,n.flatMap=(0,y.dual)(2,d.flatMap(R.Monad)),n.chain=n.flatMap,n.chainW=n.flatMap,n.flattenW=(0,n.chainW)(y.identity),n.flatten=n.flattenW,n.alt=d.alt(R.Monad),n.altW=n.alt,n.of=n.right,n.throwError=n.left,n.URI="TaskEither",n.getApplicativeTaskValidation=M,n.getAltTaskValidation=F,n.getCompactable=function(t){var e=l.getCompactable(t);return{URI:n.URI,_E:void 0,compact:(0,p.compact)(R.Functor,e),separate:(0,p.separate)(R.Functor,e,l.Functor)}},n.getFilterable=function(t){var e=l.getFilterable(t),r=(0,n.getCompactable)(t),i=(0,s.filter)(R.Functor,e),a=(0,s.filterMap)(R.Functor,e),o=(0,s.partition)(R.Functor,e),u=(0,s.partitionMap)(R.Functor,e);return{URI:n.URI,_E:void 0,map:W,compact:r.compact,separate:r.separate,filter:function(t,n){return(0,y.pipe)(t,i(n))},filterMap:function(t,n){return(0,y.pipe)(t,a(n))},partition:function(t,n){return(0,y.pipe)(t,o(n))},partitionMap:function(t,n){return(0,y.pipe)(t,u(n))}}},n.Functor={URI:n.URI,map:W},n.flap=(0,v.flap)(n.Functor),n.Pointed={URI:n.URI,of:n.of},n.ApplyPar={URI:n.URI,map:W,ap:O},n.apFirst=(0,c.apFirst)(n.ApplyPar),n.apFirstW=n.apFirst,n.apSecond=(0,c.apSecond)(n.ApplyPar),n.apSecondW=n.apSecond,n.ApplicativePar={URI:n.URI,map:W,ap:O,of:n.of},n.ApplySeq={URI:n.URI,map:W,ap:A},n.ApplicativeSeq={URI:n.URI,map:W,ap:A,of:n.of},n.Chain={URI:n.URI,map:W,ap:O,chain:n.flatMap},n.Monad={URI:n.URI,map:W,ap:O,chain:n.flatMap,of:n.of},n.MonadIO={URI:n.URI,map:W,ap:O,chain:n.flatMap,of:n.of,fromIO:n.fromIO},n.MonadTask={URI:n.URI,map:W,ap:O,chain:n.flatMap,of:n.of,fromIO:n.fromIO,fromTask:n.fromTask},n.MonadThrow={URI:n.URI,map:W,ap:O,chain:n.flatMap,of:n.of,throwError:n.throwError},n.chainFirst=(0,f.chainFirst)(n.Chain),n.chainFirstW=n.chainFirst,n.Bifunctor={URI:n.URI,bimap:E,mapLeft:x},n.Alt={URI:n.URI,map:W,alt:b},n.FromEither={URI:n.URI,fromEither:n.fromEither},n.fromOption=(0,h.fromOption)(n.FromEither),n.fromOptionK=(0,h.fromOptionK)(n.FromEither),n.chainOptionK=(0,h.chainOptionK)(n.FromEither,n.Chain),n.chainOptionKW=n.chainOptionK,n.chainEitherK=(0,h.chainEitherK)(n.FromEither,n.Chain),n.chainEitherKW=n.chainEitherK,n.chainFirstEitherK=(0,h.chainFirstEitherK)(n.FromEither,n.Chain),n.chainFirstEitherKW=n.chainFirstEitherK,n.fromPredicate=(0,h.fromPredicate)(n.FromEither),n.filterOrElse=(0,h.filterOrElse)(n.FromEither,n.Chain),n.filterOrElseW=n.filterOrElse,n.fromEitherK=(0,h.fromEitherK)(n.FromEither),n.FromIO={URI:n.URI,fromIO:n.fromIO},n.fromIOK=(0,m.fromIOK)(n.FromIO),n.chainIOK=(0,m.chainIOK)(n.FromIO,n.Chain),n.chainFirstIOK=(0,m.chainFirstIOK)(n.FromIO,n.Chain),n.FromTask={URI:n.URI,fromIO:n.fromIO,fromTask:n.fromTask},n.fromTaskK=(0,I.fromTaskK)(n.FromTask),n.chainTaskK=(0,I.chainTaskK)(n.FromTask,n.Chain),n.chainFirstTaskK=(0,I.chainFirstTaskK)(n.FromTask,n.Chain),n.taskify=function(t){return function(){var n=Array.prototype.slice.call(arguments);return function(){return new Promise(function(e){t.apply(null,n.concat(function(t,n){return null!=t?e(g.left(t)):e(g.right(n))}))})}}},n.bracket=function(t,e,r){return(0,n.bracketW)(t,e,r)},n.bracketW=function(t,e,r){return(0,y.pipe)(t,(0,n.chainW)(function(t){return(0,y.pipe)(e(t),R.chain(function(e){return(0,y.pipe)(r(t,e),(0,n.chainW)(function(){return R.of(e)}))}))}))},n.Do=(0,n.of)(g.emptyRecord),n.bindTo=(0,v.bindTo)(n.Functor);var U=(0,v.let)(n.Functor);n.let=U,n.bind=(0,f.bind)(n.Chain),n.bindW=n.bind,n.apS=(0,c.apS)(n.ApplyPar),n.apSW=n.apS,n.ApT=(0,n.of)(g.emptyReadonlyArray),n.traverseReadonlyNonEmptyArrayWithIndex=function(t){return(0,y.flow)(R.traverseReadonlyNonEmptyArrayWithIndex(t),R.map(l.traverseReadonlyNonEmptyArrayWithIndex(y.SK)))},n.traverseReadonlyArrayWithIndex=function(t){var e=(0,n.traverseReadonlyNonEmptyArrayWithIndex)(t);return function(t){return g.isNonEmpty(t)?e(t):n.ApT}},n.traverseReadonlyNonEmptyArrayWithIndexSeq=function(t){return function(n){return function(){return g.tail(n).reduce(function(n,e,r){return n.then(function(i){return g.isLeft(i)?n:t(r+1,e)().then(function(t){return g.isLeft(t)?t:(i.right.push(t.right),i)})})},t(0,g.head(n))().then(l.map(g.singleton)))}}},n.traverseReadonlyArrayWithIndexSeq=function(t){var e=(0,n.traverseReadonlyNonEmptyArrayWithIndexSeq)(t);return function(t){return g.isNonEmpty(t)?e(t):n.ApT}},n.traverseArrayWithIndex=n.traverseReadonlyArrayWithIndex,n.traverseArray=function(t){return(0,n.traverseReadonlyArrayWithIndex)(function(n,e){return t(e)})},n.sequenceArray=(0,n.traverseArray)(y.identity),n.traverseSeqArrayWithIndex=n.traverseReadonlyArrayWithIndexSeq,n.traverseSeqArray=function(t){return(0,n.traverseReadonlyArrayWithIndexSeq)(function(n,e){return t(e)})},n.sequenceSeqArray=(0,n.traverseSeqArray)(y.identity),n.taskEither={URI:n.URI,bimap:E,mapLeft:x,map:W,of:n.of,ap:O,chain:n.flatMap,alt:b,fromIO:n.fromIO,fromTask:n.fromTask,throwError:n.throwError},n.taskEitherSeq={URI:n.URI,bimap:E,mapLeft:x,map:W,of:n.of,ap:A,chain:n.flatMap,alt:b,fromIO:n.fromIO,fromTask:n.fromTask,throwError:n.throwError},n.getApplySemigroup=(0,c.getApplySemigroup)(n.ApplySeq),n.getApplyMonoid=(0,u.getApplicativeMonoid)(n.ApplicativeSeq),n.getSemigroup=function(t){return(0,c.getApplySemigroup)(R.ApplySeq)(l.getSemigroup(t))},n.getTaskValidation=function(t){var e=M(R.ApplicativePar,t),r=F(t);return{URI:n.URI,_E:void 0,map:W,ap:e.ap,of:n.of,chain:n.flatMap,bimap:E,mapLeft:x,alt:r.alt,fromIO:n.fromIO,fromTask:n.fromTask,throwError:n.throwError}}},77058:function(t,n,e){var r=e(19958);e.o(r,"notFound")&&e.d(n,{notFound:function(){return r.notFound}}),e.o(r,"useParams")&&e.d(n,{useParams:function(){return r.useParams}}),e.o(r,"usePathname")&&e.d(n,{usePathname:function(){return r.usePathname}}),e.o(r,"useRouter")&&e.d(n,{useRouter:function(){return r.useRouter}}),e.o(r,"useSearchParams")&&e.d(n,{useSearchParams:function(){return r.useSearchParams}})}}]);