#!/usr/bin/env node parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c=t.length)return o&&(o[v]=t),s(null,t);c.lastIndex=l;var e=c.exec(t);return p=f,f+=e[0],u=p+e[1],l=c.lastIndex,h[u]||o&&o[u]===u?process.nextTick(x):o&&Object.prototype.hasOwnProperty.call(o,u)?k(o[u]):n.lstat(u,O)}function O(e,t){if(e)return s(e);if(!t.isSymbolicLink())return h[u]=!0,o&&(o[u]=u),process.nextTick(x);if(!r){var i=t.dev.toString(32)+":"+t.ino.toString(32);if(y.hasOwnProperty(i))return S(null,y[i],u)}n.stat(u,function(e){if(e)return s(e);n.readlink(u,function(e,n){r||(y[i]=n),S(e,n)})})}function S(r,n,t){if(r)return s(r);var i=e.resolve(p,n);o&&(o[t]=i),k(i)}function k(r){t=e.resolve(r,t.slice(l)),g()}g()}; },{}],"yIgM":[function(require,module,exports) { module.exports=l,l.realpath=l,l.sync=u,l.realpathSync=u,l.monkeypatch=p,l.unmonkeypatch=h;var t=require("fs"),e=t.realpath,r=t.realpathSync,n=process.version,a=/^v[0-5]\./.test(n),c=require("./old.js");function o(t){return t&&"realpath"===t.syscall&&("ELOOP"===t.code||"ENOMEM"===t.code||"ENAMETOOLONG"===t.code)}function l(t,r,n){if(a)return e(t,r,n);"function"==typeof r&&(n=r,r=null),e(t,r,function(e,a){o(e)?c.realpath(t,r,n):n(e,a)})}function u(t,e){if(a)return r(t,e);try{return r(t,e)}catch(n){if(o(n))return c.realpathSync(t,e);throw n}}function p(){t.realpath=l,t.realpathSync=u}function h(){t.realpath=e,t.realpathSync=r} },{"./old.js":"blO6"}],"bQx9":[function(require,module,exports) { module.exports=function(t,o){for(var a=[],e=0;e=0&&c>0){for(r=[],o=t.length;p>=0&&!l;)p==s?(r.push(p),s=t.indexOf(e,p+1)):1==r.length?l=[r.pop(),c]:((i=r.pop())=0?s:c;r.length&&(l=[o,f])}return l}module.exports=e,e.range=t; },{}],"dwXQ":[function(require,module,exports) { var t=require("concat-map"),r=require("balanced-match");module.exports=f;var n="\0SLASH"+Math.random()+"\0",e="\0OPEN"+Math.random()+"\0",i="\0CLOSE"+Math.random()+"\0",o="\0COMMA"+Math.random()+"\0",a="\0PERIOD"+Math.random()+"\0";function s(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function p(t){return t.split("\\\\").join(n).split("\\{").join(e).split("\\}").join(i).split("\\,").join(o).split("\\.").join(a)}function u(t){return t.split(n).join("\\").split(e).join("{").split(i).join("}").split(o).join(",").split(a).join(".")}function l(t){if(!t)return[""];var n=[],e=r("{","}",t);if(!e)return t.split(",");var i=e.pre,o=e.body,a=e.post,s=i.split(",");s[s.length-1]+="{"+o+"}";var p=l(a);return a.length&&(s[s.length-1]+=p.shift(),s.push.apply(s,p)),n.push.apply(n,s),n}function f(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),m(p(t),!0).map(u)):[]}function h(t){return t}function d(t){return"{"+t+"}"}function c(t){return/^-?0\d/.test(t)}function v(t,r){return t<=r}function g(t,r){return t>=r}function m(n,e){var o=[],a=r("{","}",n);if(!a||/\$$/.test(a.pre))return[n];var p,u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(a.body),f=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(a.body),h=u||f,b=a.body.indexOf(",")>=0;if(!h&&!b)return a.post.match(/,.*\}/)?m(n=a.pre+"{"+a.body+i+a.post):[n];if(h)p=a.body.split(/\.\./);else if(1===(p=l(a.body)).length&&1===(p=m(p[0],!1).map(d)).length)return(M=a.post.length?m(a.post,!1):[""]).map(function(t){return a.pre+p[0]+t});var j,y=a.pre,M=a.post.length?m(a.post,!1):[""];if(h){var A=s(p[0]),C=s(p[1]),O=Math.max(p[0].length,p[1].length),S=3==p.length?Math.abs(s(p[2])):1,$=v;C0){var z=new Array(q+1).join("0");I=E<0?"-"+z+I.slice(1):z+I}}j.push(I)}}else j=t(p,function(t){return m(t,!1)});for(var L=0;L65536)throw new TypeError("pattern is too long");var a=this.options;if(!a.noglobstar&&"**"===t)return e;if(""===t)return"";var o,c="",u=!!a.nocase,p=!1,f=[],g=[],l=!1,d=-1,b=-1,m="."===t.charAt(0)?"":a.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",y=this;function w(){if(o){switch(o){case"*":c+=s,u=!0;break;case"?":c+=i,u=!0;break;default:c+="\\"+o}y.debug("clearStateChar %j %j",o,c),o=!1}}for(var x,j=0,k=t.length;j-1;L--){var q=g[L],B=c.slice(0,q.reStart),M=c.slice(q.reStart,q.reEnd-8),N=c.slice(q.reEnd-8,q.reEnd),_=c.slice(q.reEnd);N+=_;var G=B.split("(").length-1,P=_;for(j=0;j=0&&!(i=e[s]);s--);for(s=0;s>> no match, partial?",t,f,n,g),f!==o))}if("string"==typeof u?(c=i.nocase?p.toLowerCase()===u.toLowerCase():p===u,this.debug("string match",u,p,c)):(c=p.match(u),this.debug("pattern match",u,p,c)),!c)return!1}if(s===o&&a===h)return!0;if(s===o)return r;if(a===h)return s===o-1&&""===t[s];throw new Error("wtf?")}; },{"brace-expansion":"dwXQ"}],"Bm0n":[function(require,module,exports) { "function"==typeof Object.create?module.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function(t,e){if(e){t.super_=e;var o=function(){};o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t}}; },{}],"ZRWM":[function(require,module,exports) { try{var r=require("util");if("function"!=typeof r.inherits)throw"";module.exports=r.inherits}catch(e){module.exports=require("./inherits_browser.js")} },{"./inherits_browser.js":"Bm0n"}],"EZ8j":[function(require,module,exports) { "use strict";function o(o){return"/"===o.charAt(0)}function e(o){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(o),r=e[1]||"",t=Boolean(r&&":"!==r.charAt(1));return Boolean(e[2]||t)}module.exports="win32"===process.platform?e:o,module.exports.posix=o,module.exports.win32=e; },{}],"Ugrp":[function(require,module,exports) { function e(e,r){return Object.prototype.hasOwnProperty.call(e,r)}exports.alphasort=c,exports.alphasorti=a,exports.setopts=l,exports.ownProp=e,exports.makeAbs=m,exports.finish=h,exports.mark=u,exports.isIgnored=p,exports.childrenIgnored=g;var r=require("path"),t=require("minimatch"),o=require("path-is-absolute"),n=t.Minimatch;function a(e,r){return e.toLowerCase().localeCompare(r.toLowerCase())}function c(e,r){return e.localeCompare(r)}function s(e,r){e.ignore=r.ignore||[],Array.isArray(e.ignore)||(e.ignore=[e.ignore]),e.ignore.length&&(e.ignore=e.ignore.map(i))}function i(e){var r=null;if("/**"===e.slice(-3)){var t=e.replace(/(\/\*\*)+$/,"");r=new n(t,{dot:!0})}return{matcher:new n(e,{dot:!0}),gmatcher:r}}function l(t,a,c){if(c||(c={}),c.matchBase&&-1===a.indexOf("/")){if(c.noglobstar)throw new Error("base matching requires globstar");a="**/"+a}t.silent=!!c.silent,t.pattern=a,t.strict=!1!==c.strict,t.realpath=!!c.realpath,t.realpathCache=c.realpathCache||Object.create(null),t.follow=!!c.follow,t.dot=!!c.dot,t.mark=!!c.mark,t.nodir=!!c.nodir,t.nodir&&(t.mark=!0),t.sync=!!c.sync,t.nounique=!!c.nounique,t.nonull=!!c.nonull,t.nosort=!!c.nosort,t.nocase=!!c.nocase,t.stat=!!c.stat,t.noprocess=!!c.noprocess,t.absolute=!!c.absolute,t.maxLength=c.maxLength||1/0,t.cache=c.cache||Object.create(null),t.statCache=c.statCache||Object.create(null),t.symlinks=c.symlinks||Object.create(null),s(t,c),t.changedCwd=!1;var i=process.cwd();e(c,"cwd")?(t.cwd=r.resolve(c.cwd),t.changedCwd=t.cwd!==i):t.cwd=i,t.root=c.root||r.resolve(t.cwd,"/"),t.root=r.resolve(t.root),"win32"===process.platform&&(t.root=t.root.replace(/\\/g,"/")),t.cwdAbs=o(t.cwd)?t.cwd:m(t,t.cwd),"win32"===process.platform&&(t.cwdAbs=t.cwdAbs.replace(/\\/g,"/")),t.nomount=!!c.nomount,c.nonegate=!0,c.nocomment=!0,t.minimatch=new n(a,c),t.options=t.minimatch.options}function h(e){for(var r=e.nounique,t=r?[]:Object.create(null),o=0,n=e.matches.length;othis.maxLength)return!1;if(!this.stat&&p(this.cache,i)){var e=this.cache[i];if(Array.isArray(e)&&(e="DIR"),!s||"DIR"===e)return e;if(s&&"FILE"===e)return!1}var a=this.statCache[i];if(!a){var h;try{h=t.lstatSync(i)}catch(c){if(c&&("ENOENT"===c.code||"ENOTDIR"===c.code))return this.statCache[i]=!1,!1}if(h&&h.isSymbolicLink())try{a=t.statSync(i)}catch(c){a=h}else a=h}this.statCache[i]=a;e=!0;return a&&(e=a.isDirectory()?"DIR":"FILE"),this.cache[i]=this.cache[i]||e,(!s||"FILE"!==e)&&e},_.prototype._mark=function(t){return n.mark(this,t)},_.prototype._makeAbs=function(t){return n.makeAbs(this,t)}; },{"fs.realpath":"yIgM","minimatch":"NtKi","./glob.js":"EkKO","path-is-absolute":"EZ8j","./common.js":"Ugrp"}],"l1Gb":[function(require,module,exports) { function n(e,r){if(e&&r)return n(e)(r);if("function"!=typeof e)throw new TypeError("need wrapper function");return Object.keys(e).forEach(function(n){t[n]=e[n]}),t;function t(){for(var n=new Array(arguments.length),r=0;rt?(l.splice(0,t),process.nextTick(function(){r.apply(null,c)})):delete e[n]}})}function u(n){for(var e=n.length,r=[],l=0;l1)return!0;for(var s=0;sthis.maxLength)return r();if(!this.stat&&d(this.cache,e)){var n=this.cache[e];if(Array.isArray(n)&&(n="DIR"),!s||"DIR"===n)return r(null,n);if(s&&"FILE"===n)return r()}var a=this.statCache[e];if(void 0!==a){if(!1===a)return r(null,a);var h=a.isDirectory()?"DIR":"FILE";return s&&"FILE"===h?r():r(null,h,a)}var o=this,c=_("stat\0"+e,function(s,n){if(n&&n.isSymbolicLink())return t.stat(e,function(t,s){t?o._stat2(i,e,null,n,r):o._stat2(i,e,t,s,r)});o._stat2(i,e,s,n,r)});c&&t.lstat(e,c)},A.prototype._stat2=function(t,i,r,e,s){if(r&&("ENOENT"===r.code||"ENOTDIR"===r.code))return this.statCache[i]=!1,s();var n="/"===t.slice(-1);if(this.statCache[i]=e,"/"===i.slice(-1)&&e&&!e.isDirectory())return s(null,!1,e);var a=!0;return e&&(a=e.isDirectory()?"DIR":"FILE"),this.cache[i]=this.cache[i]||a,n&&"FILE"===a?s():s(null,a,e)}; },{"fs.realpath":"yIgM","minimatch":"NtKi","inherits":"ZRWM","path-is-absolute":"EZ8j","./sync.js":"pKwN","./common.js":"Ugrp","inflight":"Xj0R","once":"t8WW"}],"epB2":[function(require,module,exports) { var n={};!function(n){"use strict";n["Control.Alt"]=n["Control.Alt"]||{};var e=n["Control.Alt"];e.Alt=function(n,e){this.Functor0=n,this.alt=e},e.alt=function(n){return n.alt}}(n),function(n){"use strict";n["Control.Alternative"]=n["Control.Alternative"]||{};n["Control.Alternative"].Alternative=function(n,e){this.Applicative0=n,this.Plus1=e}}(n),function(e){"use strict";(n["Control.Apply"]=n["Control.Apply"]||{}).arrayApply=function(n){return function(e){for(var t=n.length,r=e.length,a=new Array(t*r),o=0,u=0;u=0;a--)r=n(t[a])(r);return r}}},n.foldlArray=function(n){return function(e){return function(t){for(var r=e,a=t.length,o=0;oe?-1:1,r=new Array(t*(e-n)+1),a=n,o=0;a!==e;)r[o++]=a,a+=t;return r[o]=a,r}};n.replicate="function"==typeof Array.prototype.fill?function(n){return function(e){return n<1?[]:new Array(n).fill(e)}}:function(n){return function(e){for(var t=[],r=0,a=0;a=t.length?e:n(t[r])}}}},n.findIndexImpl=function(n){return function(e){return function(t){return function(r){for(var a=0,o=r.length;a="0"&&n[a]<="9"?"\\&":"";return"\\"+t.charCodeAt(0).toString(10)+o})+'"'},n.showArrayImpl=function(n){return function(e){for(var t=[],r=0,a=e.length;r=t.toNumber(a.top(a.boundedInt)))return a.top(a.boundedInt);if(n<=t.toNumber(a.bottom(a.boundedInt)))return a.bottom(a.boundedInt);if(r.otherwise)return o.fromMaybe(0)(l(n));throw new Error("Failed pattern match at Data.Int (line 66, column 1 - line 66, column 29): "+[n.constructor.name])}(i.round(n))},e.fromString=c,e.hexadecimal=16,e.toNumber=t.toNumber,e.toStringAs=t.toStringAs}(n),function(n){"use strict";n["Data.Argonaut.Decode.Decoders"]=n["Data.Argonaut.Decode.Decoders"]||{};var e,t,r,a=n["Data.Argonaut.Decode.Decoders"],o=n["Control.Applicative"],u=n["Control.Bind"],i=n["Data.Argonaut.Core"],c=n["Data.Argonaut.Decode.Error"],l=n["Data.Bifunctor"],f=n["Data.Boolean"],s=n["Data.Either"],p=n["Data.Functor"],d=n["Data.Int"],v=n["Data.Maybe"],m=n["Data.Traversable"],w=n["Data.TraversableWithIndex"],h=n["Foreign.Object"],y=i.caseJsonString(s.Left.create(new c.TypeMismatch("String")))(s.Right.create),g=i.caseJsonNumber(s.Left.create(new c.TypeMismatch("Number")))(s.Right.create),D=(e=s.note(new c.TypeMismatch("Object")),function(n){return e(i.toObject(n))}),b=(t=s.note(new c.TypeMismatch("Array")),function(n){return t(i.toArray(n))}),C=u.composeKleisliFlipped(s.bindEither)((r=s.note(new c.TypeMismatch("Integer")),function(n){return r(d.fromNumber(n))}))(g),S=i.caseJsonBoolean(s.Left.create(new c.TypeMismatch("Boolean")))(s.Right.create);a.decodeMaybe=function(n){return function(e){if(i.isNull(e))return o.pure(s.applicativeEither)(v.Nothing.value);if(f.otherwise)return p.map(s.functorEither)(v.Just.create)(n(e));throw new Error("Failed pattern match at Data.Argonaut.Decode.Decoders (line 35, column 1 - line 39, column 38): "+[n.constructor.name,e.constructor.name])}},a.decodeBoolean=S,a.decodeInt=C,a.decodeString=y,a.decodeForeignObject=function(n){return u.composeKleisliFlipped(s.bindEither)((e=l.lmap(s.bifunctorEither)(c.Named.create("ForeignObject")),t=m.traverse(h.traversableObject)(s.applicativeEither)(n),function(n){return e(t(n))}))(D);var e,t},a.decodeArray=function(n){return u.composeKleisliFlipped(s.bindEither)((e=l.lmap(s.bifunctorEither)(c.Named.create("Array")),t=w.traverseWithIndex(w.traversableWithIndexArray)(s.applicativeEither)(function(e){var t=l.lmap(s.bifunctorEither)(c.AtIndex.create(e));return function(e){return t(n(e))}}),function(n){return e(t(n))}))(b);var e,t},a.getField=function(n){return function(e){return function(t){return v.maybe(s.Left.create(new c.AtKey(t,c.MissingValue.value)))((r=l.lmap(s.bifunctorEither)(c.AtKey.create(t)),function(e){return r(n(e))}))(h.lookup(t)(e));var r}}},a["getFieldOptional'"]=function(n){return function(e){return function(t){return v.maybe(o.pure(s.applicativeEither)(v.Nothing.value))(function(e){return i.isNull(e)?o.pure(s.applicativeEither)(v.Nothing.value):p.map(s.functorEither)(v.Just.create)(l.lmap(s.bifunctorEither)(c.AtKey.create(t))(n(e)))})(h.lookup(t)(e))}}}}(n),function(n){"use strict";n.Record=n.Record||{};var e=n.Record,t=n["Data.Symbol"],r=n["Record.Unsafe"];e.get=function(n){return function(e){return function(e){return function(a){return r.unsafeGet(t.reflectSymbol(n)(e))(a)}}}},e.set=function(n){return function(e){return function(e){return function(e){return function(a){return function(o){return r.unsafeSet(t.reflectSymbol(n)(e))(a)(o)}}}}}},e.insert=function(n){return function(e){return function(e){return function(e){return function(a){return function(o){return r.unsafeSet(t.reflectSymbol(n)(e))(a)(o)}}}}}}}(n),function(n){"use strict";n["Data.Argonaut.Decode.Class"]=n["Data.Argonaut.Decode.Class"]||{};var e=n["Data.Argonaut.Decode.Class"],t=n["Control.Bind"],r=n["Data.Argonaut.Core"],a=n["Data.Argonaut.Decode.Decoders"],o=n["Data.Argonaut.Decode.Error"],u=n["Data.Bifunctor"],i=n["Data.Either"],c=n["Data.Maybe"],l=n["Data.Symbol"],f=n["Foreign.Object"],s=n.Record,p=n["Type.Data.RowList"],d=function(n){this.gDecodeJson=n},v=function(n){this.decodeJson=n},m=new d(function(n){return function(n){return new i.Right({})}}),w=function(n){return n.gDecodeJson},h=new v(a.decodeString),y=new v(i.Right.create),g=new v(a.decodeInt),D=new v(a.decodeBoolean),b=function(n){return n.decodeJson};e.decodeJson=b,e.DecodeJson=v,e.decodeJsonMaybe=function(n){return new v(a.decodeMaybe(b(n)))},e.decodeJsonBoolean=D,e.decodeJsonInt=g,e.decodeJsonString=h,e.decodeJsonJson=y,e.decodeForeignObject=function(n){return new v(a.decodeForeignObject(b(n)))},e.decodeArray=function(n){return new v(a.decodeArray(b(n)))},e.decodeRecord=function(n){return function(e){return new v(function(e){var t=r.toObject(e);if(t instanceof c.Just)return w(n)(t.value0)(p.RLProxy.value);if(t instanceof c.Nothing)return i.Left.create(new o.TypeMismatch("Object"));throw new Error("Failed pattern match at Data.Argonaut.Decode.Class (line 99, column 5 - line 101, column 46): "+[t.constructor.name])})}},e.gDecodeJsonNil=m,e.gDecodeJsonCons=function(n){return function(e){return function(r){return function(a){return function(a){return new d(function(a){return function(d){var v=l.reflectSymbol(r)(l.SProxy.value),m=f.lookup(v)(a);if(m instanceof c.Just)return t.bind(i.bindEither)(u.lmap(i.bifunctorEither)(o.AtKey.create(v))(b(n)(m.value0)))(function(n){return t.bind(i.bindEither)(w(e)(a)(p.RLProxy.value))(function(e){return i.Right.create(s.insert(r)()()(l.SProxy.value)(n)(e))})});if(m instanceof c.Nothing)return i.Left.create(new o.AtKey(v,o.MissingValue.value));throw new Error("Failed pattern match at Data.Argonaut.Decode.Class (line 122, column 5 - line 129, column 44): "+[m.constructor.name])}})}}}}}}(n),function(n){"use strict";n["Data.Argonaut.Decode.Combinators"]=n["Data.Argonaut.Decode.Combinators"]||{};var e=n["Data.Argonaut.Decode.Combinators"],t=n["Data.Argonaut.Decode.Class"],r=n["Data.Argonaut.Decode.Decoders"];e.getField=function(n){return r.getField(t.decodeJson(n))},e["getFieldOptional'"]=function(n){return r["getFieldOptional'"](t.decodeJson(n))}}(n),function(n){"use strict";n["Data.Map.Internal"]=n["Data.Map.Internal"]||{};var e=n["Data.Map.Internal"],t=n["Control.Applicative"],r=n["Data.Foldable"],a=n["Data.Function"],o=n["Data.Functor"],u=n["Data.List.Types"],i=n["Data.Maybe"],c=n["Data.Monoid"],l=n["Data.Ord"],f=n["Data.Ordering"],s=n["Data.Semigroup"],p=n["Data.Tuple"],d=n["Data.Unfoldable"],v=function(){function n(){}return n.value=new n,n}(),m=function(){function n(n,e,t,r){this.value0=n,this.value1=e,this.value2=t,this.value3=r}return n.create=function(e){return function(t){return function(r){return function(a){return new n(e,t,r,a)}}}},n}(),w=function(){function n(n,e,t,r,a,o,u){this.value0=n,this.value1=e,this.value2=t,this.value3=r,this.value4=a,this.value5=o,this.value6=u}return n.create=function(e){return function(t){return function(r){return function(a){return function(o){return function(u){return function(i){return new n(e,t,r,a,o,u,i)}}}}}}},n}(),h=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),y=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),g=function(){function n(n,e,t,r,a,o){this.value0=n,this.value1=e,this.value2=t,this.value3=r,this.value4=a,this.value5=o}return n.create=function(e){return function(t){return function(r){return function(a){return function(o){return function(u){return new n(e,t,r,a,o,u)}}}}}},n}(),D=function(){function n(n,e,t,r,a,o){this.value0=n,this.value1=e,this.value2=t,this.value3=r,this.value4=a,this.value5=o}return n.create=function(e){return function(t){return function(r){return function(a){return function(o){return function(u){return new n(e,t,r,a,o,u)}}}}}},n}(),b=function(){function n(n,e,t,r,a,o){this.value0=n,this.value1=e,this.value2=t,this.value3=r,this.value4=a,this.value5=o}return n.create=function(e){return function(t){return function(r){return function(a){return function(o){return function(u){return new n(e,t,r,a,o,u)}}}}}},n}(),C=function(){function n(n,e,t,r){this.value0=n,this.value1=e,this.value2=t,this.value3=r}return n.create=function(e){return function(t){return function(r){return function(a){return new n(e,t,r,a)}}}},n}(),S=function(n){if(n instanceof v)return u.Nil.value;if(n instanceof m)return s.append(u.semigroupList)(S(n.value0))(s.append(u.semigroupList)(t.pure(u.applicativeList)(n.value2))(S(n.value3)));if(n instanceof w)return s.append(u.semigroupList)(S(n.value0))(s.append(u.semigroupList)(t.pure(u.applicativeList)(n.value2))(s.append(u.semigroupList)(S(n.value3))(s.append(u.semigroupList)(t.pure(u.applicativeList)(n.value5))(S(n.value6)))));throw new Error("Failed pattern match at Data.Map.Internal (line 612, column 1 - line 612, column 40): "+[n.constructor.name])},A=function(n){if(n instanceof v)return 0;if(n instanceof m)return(1+A(n.value0)|0)+A(n.value3)|0;if(n instanceof w)return((2+A(n.value0)|0)+A(n.value3)|0)+A(n.value6)|0;throw new Error("Failed pattern match at Data.Map.Internal (line 662, column 1 - line 662, column 35): "+[n.constructor.name])},E=function(n){return function(e){return new m(v.value,n,e,v.value)}},F=function(n){return function(e){return d.unfoldr(n)(function(n){var e,t=!1;function r(e){if(e instanceof u.Nil)return t=!0,i.Nothing.value;if(e instanceof u.Cons){if(e.value0 instanceof v)return void(n=e.value1);if(e.value0 instanceof m&&e.value0.value0 instanceof v&&e.value0.value3 instanceof v)return t=!0,i.Just.create(new p.Tuple(new p.Tuple(e.value0.value1,e.value0.value2),e.value1));if(e.value0 instanceof m&&e.value0.value0 instanceof v)return t=!0,i.Just.create(new p.Tuple(new p.Tuple(e.value0.value1,e.value0.value2),new u.Cons(e.value0.value3,e.value1)));if(e.value0 instanceof m)return void(n=new u.Cons(e.value0.value0,new u.Cons(E(e.value0.value1)(e.value0.value2),new u.Cons(e.value0.value3,e.value1))));if(e.value0 instanceof w)return void(n=new u.Cons(e.value0.value0,new u.Cons(E(e.value0.value1)(e.value0.value2),new u.Cons(e.value0.value3,new u.Cons(E(e.value0.value4)(e.value0.value5),new u.Cons(e.value0.value6,e.value1))))));throw new Error("Failed pattern match at Data.Map.Internal (line 577, column 18 - line 586, column 71): "+[e.value0.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 576, column 3 - line 576, column 19): "+[e.constructor.name])}for(;!t;)e=r(n);return e})(new u.Cons(e,u.Nil.value))}},T=function(n){return function(e){var t=l.compare(n);return function(n){var r,a=!1;function o(r){if(r instanceof v)return a=!0,i.Nothing.value;if(r instanceof m){var o=t(e)(r.value1);return o instanceof f.EQ?(a=!0,new i.Just(r.value2)):o instanceof f.LT?void(n=r.value0):void(n=r.value3)}if(r instanceof w){var u=t(e)(r.value1);if(u instanceof f.EQ)return a=!0,new i.Just(r.value2);var c=t(e)(r.value4);return c instanceof f.EQ?(a=!0,new i.Just(r.value5)):u instanceof f.LT?void(n=r.value0):c instanceof f.GT?void(n=r.value6):void(n=r.value3)}throw new Error("Failed pattern match at Data.Map.Internal (line 200, column 5 - line 200, column 22): "+[r.constructor.name])}for(;!a;)r=o(n);return r}}},M=function(n){if(n instanceof v)return u.Nil.value;if(n instanceof m)return s.append(u.semigroupList)(M(n.value0))(s.append(u.semigroupList)(t.pure(u.applicativeList)(n.value1))(M(n.value3)));if(n instanceof w)return s.append(u.semigroupList)(M(n.value0))(s.append(u.semigroupList)(t.pure(u.applicativeList)(n.value1))(s.append(u.semigroupList)(M(n.value3))(s.append(u.semigroupList)(t.pure(u.applicativeList)(n.value4))(M(n.value6)))));throw new Error("Failed pattern match at Data.Map.Internal (line 606, column 1 - line 606, column 38): "+[n.constructor.name])},P=new o.Functor(function(n){return function(e){if(e instanceof v)return v.value;if(e instanceof m)return new m(o.map(P)(n)(e.value0),e.value1,n(e.value2),o.map(P)(n)(e.value3));if(e instanceof w)return new w(o.map(P)(n)(e.value0),e.value1,n(e.value2),o.map(P)(n)(e.value3),e.value4,n(e.value5),o.map(P)(n)(e.value6));throw new Error("Failed pattern match at Data.Map.Internal (line 96, column 1 - line 99, column 110): "+[n.constructor.name,e.constructor.name])}}),I=function(n){return function(e){return function(t){var r,a=n,o=e,i=!1;function c(n,e,r){if(e instanceof u.Nil)return i=!0,r;if(e instanceof u.Cons){if(e.value0 instanceof h)return a=n,o=e.value1,void(t=new m(r,e.value0.value0,e.value0.value1,e.value0.value2));if(e.value0 instanceof y)return a=n,o=e.value1,void(t=new m(e.value0.value0,e.value0.value1,e.value0.value2,r));if(e.value0 instanceof g)return a=n,o=e.value1,void(t=new w(r,e.value0.value0,e.value0.value1,e.value0.value2,e.value0.value3,e.value0.value4,e.value0.value5));if(e.value0 instanceof D)return a=n,o=e.value1,void(t=new w(e.value0.value0,e.value0.value1,e.value0.value2,r,e.value0.value3,e.value0.value4,e.value0.value5));if(e.value0 instanceof b)return a=n,o=e.value1,void(t=new w(e.value0.value0,e.value0.value1,e.value0.value2,e.value0.value3,e.value0.value4,e.value0.value5,r));throw new Error("Failed pattern match at Data.Map.Internal (line 418, column 3 - line 423, column 88): "+[e.value0.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 415, column 1 - line 415, column 80): "+[e.constructor.name,r.constructor.name])}for(;!i;)r=c(a,o,t);return r}}},N=function(n){return function(e){return function(t){var r,a=function(e){return function(t){var r,a=e,o=!1;function i(e,r){if(e instanceof u.Nil)return o=!0,new m(r.value0,r.value1,r.value2,r.value3);if(e instanceof u.Cons){if(e.value0 instanceof h)return o=!0,I(n)(e.value1)(new w(r.value0,r.value1,r.value2,r.value3,e.value0.value0,e.value0.value1,e.value0.value2));if(e.value0 instanceof y)return o=!0,I(n)(e.value1)(new w(e.value0.value0,e.value0.value1,e.value0.value2,r.value0,r.value1,r.value2,r.value3));if(e.value0 instanceof g)return a=e.value1,void(t=new C(new m(r.value0,r.value1,r.value2,r.value3),e.value0.value0,e.value0.value1,new m(e.value0.value2,e.value0.value3,e.value0.value4,e.value0.value5)));if(e.value0 instanceof D)return a=e.value1,void(t=new C(new m(e.value0.value0,e.value0.value1,e.value0.value2,r.value0),r.value1,r.value2,new m(r.value3,e.value0.value3,e.value0.value4,e.value0.value5)));if(e.value0 instanceof b)return a=e.value1,void(t=new C(new m(e.value0.value0,e.value0.value1,e.value0.value2,e.value0.value3),e.value0.value4,e.value0.value5,new m(r.value0,r.value1,r.value2,r.value3)));throw new Error("Failed pattern match at Data.Map.Internal (line 454, column 5 - line 459, column 108): "+[e.value0.constructor.name,r.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 451, column 3 - line 451, column 56): "+[e.constructor.name,r.constructor.name])}for(;!o;)r=i(a,t);return r}},o=l.compare(n);return r=u.Nil.value,function(i){var c,l=r,s=!1;function p(r,c){if(c instanceof v)return s=!0,a(r)(new C(v.value,e,t,v.value));if(c instanceof m){var p=o(e)(c.value1);return p instanceof f.EQ?(s=!0,I(n)(r)(new m(c.value0,e,t,c.value3))):p instanceof f.LT?(l=new u.Cons(new h(c.value1,c.value2,c.value3),r),void(i=c.value0)):(l=new u.Cons(new y(c.value0,c.value1,c.value2),r),void(i=c.value3))}if(c instanceof w){var d=o(e)(c.value1);if(d instanceof f.EQ)return s=!0,I(n)(r)(new w(c.value0,e,t,c.value3,c.value4,c.value5,c.value6));var S=o(e)(c.value4);return S instanceof f.EQ?(s=!0,I(n)(r)(new w(c.value0,c.value1,c.value2,c.value3,e,t,c.value6))):d instanceof f.LT?(l=new u.Cons(new g(c.value1,c.value2,c.value3,c.value4,c.value5,c.value6),r),void(i=c.value0)):d instanceof f.GT&&S instanceof f.LT?(l=new u.Cons(new D(c.value0,c.value1,c.value2,c.value4,c.value5,c.value6),r),void(i=c.value3)):(l=new u.Cons(new b(c.value0,c.value1,c.value2,c.value3,c.value4,c.value5),r),void(i=c.value6))}throw new Error("Failed pattern match at Data.Map.Internal (line 434, column 3 - line 434, column 55): "+[r.constructor.name,c.constructor.name])}for(;!s;)c=p(l,i);return c}}}},J=new r.Foldable(function(n){return function(e){return function(t){return r.foldMap(u.foldableList)(n)(e)(S(t))}}},function(n){return function(e){return function(t){return r.foldl(u.foldableList)(n)(e)(S(t))}}},function(n){return function(e){return function(t){return r.foldr(u.foldableList)(n)(e)(S(t))}}}),x=v.value,R=function(n){return function(e){return function(t){return i.maybe(t)(p.snd)(function(n){return function(e){var t,r=function(e){return function(t){var r,a=e,o=!1;function i(e,r){if(e instanceof u.Nil)return o=!0,r;if(e instanceof u.Cons){if(e.value0 instanceof h&&e.value0.value2 instanceof v&&r instanceof v)return o=!0,I(n)(e.value1)(new m(v.value,e.value0.value0,e.value0.value1,v.value));if(e.value0 instanceof y&&e.value0.value0 instanceof v&&r instanceof v)return o=!0,I(n)(e.value1)(new m(v.value,e.value0.value1,e.value0.value2,v.value));if(e.value0 instanceof h&&e.value0.value2 instanceof m)return a=e.value1,void(t=new w(r,e.value0.value0,e.value0.value1,e.value0.value2.value0,e.value0.value2.value1,e.value0.value2.value2,e.value0.value2.value3));if(e.value0 instanceof y&&e.value0.value0 instanceof m)return a=e.value1,void(t=new w(e.value0.value0.value0,e.value0.value0.value1,e.value0.value0.value2,e.value0.value0.value3,e.value0.value1,e.value0.value2,r));if(e.value0 instanceof h&&e.value0.value2 instanceof w)return o=!0,I(n)(e.value1)(new m(new m(r,e.value0.value0,e.value0.value1,e.value0.value2.value0),e.value0.value2.value1,e.value0.value2.value2,new m(e.value0.value2.value3,e.value0.value2.value4,e.value0.value2.value5,e.value0.value2.value6)));if(e.value0 instanceof y&&e.value0.value0 instanceof w)return o=!0,I(n)(e.value1)(new m(new m(e.value0.value0.value0,e.value0.value0.value1,e.value0.value0.value2,e.value0.value0.value3),e.value0.value0.value4,e.value0.value0.value5,new m(e.value0.value0.value6,e.value0.value1,e.value0.value2,r)));if(e.value0 instanceof g&&e.value0.value2 instanceof v&&e.value0.value5 instanceof v&&r instanceof v)return o=!0,I(n)(e.value1)(new w(v.value,e.value0.value0,e.value0.value1,v.value,e.value0.value3,e.value0.value4,v.value));if(e.value0 instanceof D&&e.value0.value0 instanceof v&&e.value0.value5 instanceof v&&r instanceof v)return o=!0,I(n)(e.value1)(new w(v.value,e.value0.value1,e.value0.value2,v.value,e.value0.value3,e.value0.value4,v.value));if(e.value0 instanceof b&&e.value0.value0 instanceof v&&e.value0.value3 instanceof v&&r instanceof v)return o=!0,I(n)(e.value1)(new w(v.value,e.value0.value1,e.value0.value2,v.value,e.value0.value4,e.value0.value5,v.value));if(e.value0 instanceof g&&e.value0.value2 instanceof m)return o=!0,I(n)(e.value1)(new m(new w(r,e.value0.value0,e.value0.value1,e.value0.value2.value0,e.value0.value2.value1,e.value0.value2.value2,e.value0.value2.value3),e.value0.value3,e.value0.value4,e.value0.value5));if(e.value0 instanceof D&&e.value0.value0 instanceof m)return o=!0,I(n)(e.value1)(new m(new w(e.value0.value0.value0,e.value0.value0.value1,e.value0.value0.value2,e.value0.value0.value3,e.value0.value1,e.value0.value2,r),e.value0.value3,e.value0.value4,e.value0.value5));if(e.value0 instanceof D&&e.value0.value5 instanceof m)return o=!0,I(n)(e.value1)(new m(e.value0.value0,e.value0.value1,e.value0.value2,new w(r,e.value0.value3,e.value0.value4,e.value0.value5.value0,e.value0.value5.value1,e.value0.value5.value2,e.value0.value5.value3)));if(e.value0 instanceof b&&e.value0.value3 instanceof m)return o=!0,I(n)(e.value1)(new m(e.value0.value0,e.value0.value1,e.value0.value2,new w(e.value0.value3.value0,e.value0.value3.value1,e.value0.value3.value2,e.value0.value3.value3,e.value0.value4,e.value0.value5,r)));if(e.value0 instanceof g&&e.value0.value2 instanceof w)return o=!0,I(n)(e.value1)(new w(new m(r,e.value0.value0,e.value0.value1,e.value0.value2.value0),e.value0.value2.value1,e.value0.value2.value2,new m(e.value0.value2.value3,e.value0.value2.value4,e.value0.value2.value5,e.value0.value2.value6),e.value0.value3,e.value0.value4,e.value0.value5));if(e.value0 instanceof D&&e.value0.value0 instanceof w)return o=!0,I(n)(e.value1)(new w(new m(e.value0.value0.value0,e.value0.value0.value1,e.value0.value0.value2,e.value0.value0.value3),e.value0.value0.value4,e.value0.value0.value5,new m(e.value0.value0.value6,e.value0.value1,e.value0.value2,r),e.value0.value3,e.value0.value4,e.value0.value5));if(e.value0 instanceof D&&e.value0.value5 instanceof w)return o=!0,I(n)(e.value1)(new w(e.value0.value0,e.value0.value1,e.value0.value2,new m(r,e.value0.value3,e.value0.value4,e.value0.value5.value0),e.value0.value5.value1,e.value0.value5.value2,new m(e.value0.value5.value3,e.value0.value5.value4,e.value0.value5.value5,e.value0.value5.value6)));if(e.value0 instanceof b&&e.value0.value3 instanceof w)return o=!0,I(n)(e.value1)(new w(e.value0.value0,e.value0.value1,e.value0.value2,new m(e.value0.value3.value0,e.value0.value3.value1,e.value0.value3.value2,e.value0.value3.value3),e.value0.value3.value4,e.value0.value3.value5,new m(e.value0.value3.value6,e.value0.value4,e.value0.value5,r)));throw new Error("Failed pattern match at Data.Map.Internal (line 511, column 9 - line 528, column 136): "+[e.value0.constructor.name,r.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 508, column 5 - line 528, column 136): "+[e.constructor.name])}for(;!o;)r=i(a,t);return r}},a=function(n){return function(e){var t,a=n,o=!1;function i(n,t){if(t instanceof m&&t.value0 instanceof v&&t.value3 instanceof v)return o=!0,r(n)(v.value);if(t instanceof m)return a=new u.Cons(new y(t.value0,t.value1,t.value2),n),void(e=t.value3);if(t instanceof w&&t.value0 instanceof v&&t.value3 instanceof v&&t.value6 instanceof v)return o=!0,r(new u.Cons(new y(v.value,t.value1,t.value2),n))(v.value);if(t instanceof w)return a=new u.Cons(new b(t.value0,t.value1,t.value2,t.value3,t.value4,t.value5),n),void(e=t.value6);throw new Error("Failed pattern match at Data.Map.Internal (line 540, column 5 - line 544, column 107): "+[t.constructor.name])}for(;!o;)t=i(a,e);return t}},o=function(n){var e,t=!1;function r(e){if(e instanceof m&&e.value3 instanceof v)return t=!0,{key:e.value1,value:e.value2};if(e instanceof m)n=e.value3;else{if(e instanceof w&&e.value6 instanceof v)return t=!0,{key:e.value4,value:e.value5};if(!(e instanceof w))throw new Error("Failed pattern match at Data.Map.Internal (line 531, column 33 - line 535, column 45): "+[e.constructor.name]);n=e.value6}}for(;!t;)e=r(n);return e},c=l.compare(n);return t=u.Nil.value,function(l){var s,d=t,C=!1;function S(t,s){if(s instanceof v)return C=!0,i.Nothing.value;if(s instanceof m){var S=c(e)(s.value1);if(s.value3 instanceof v&&S instanceof f.EQ)return C=!0,new i.Just(new p.Tuple(s.value2,r(t)(v.value)));if(S instanceof f.EQ){var A=o(s.value0);return C=!0,new i.Just(new p.Tuple(s.value2,a(new u.Cons(new h(A.key,A.value,s.value3),t))(s.value0)))}return S instanceof f.LT?(d=new u.Cons(new h(s.value1,s.value2,s.value3),t),void(l=s.value0)):(d=new u.Cons(new y(s.value0,s.value1,s.value2),t),void(l=s.value3))}if(s instanceof w){var E=s.value0 instanceof v&&s.value3 instanceof v&&s.value6 instanceof v,F=(S=c(e)(s.value4),c(e)(s.value1));return E&&F instanceof f.EQ?(C=!0,new i.Just(new p.Tuple(s.value2,I(n)(t)(new m(v.value,s.value4,s.value5,v.value))))):E&&S instanceof f.EQ?(C=!0,new i.Just(new p.Tuple(s.value5,I(n)(t)(new m(v.value,s.value1,s.value2,v.value))))):F instanceof f.EQ?(A=o(s.value0),C=!0,new i.Just(new p.Tuple(s.value2,a(new u.Cons(new g(A.key,A.value,s.value3,s.value4,s.value5,s.value6),t))(s.value0)))):S instanceof f.EQ?(A=o(s.value3),C=!0,new i.Just(new p.Tuple(s.value5,a(new u.Cons(new D(s.value0,s.value1,s.value2,A.key,A.value,s.value6),t))(s.value3)))):F instanceof f.LT?(d=new u.Cons(new g(s.value1,s.value2,s.value3,s.value4,s.value5,s.value6),t),void(l=s.value0)):F instanceof f.GT&&S instanceof f.LT?(d=new u.Cons(new D(s.value0,s.value1,s.value2,s.value4,s.value5,s.value6),t),void(l=s.value3)):(d=new u.Cons(new b(s.value0,s.value1,s.value2,s.value3,s.value4,s.value5),t),void(l=s.value6))}throw new Error("Failed pattern match at Data.Map.Internal (line 481, column 34 - line 504, column 80): "+[s.constructor.name])}for(;!C;)s=S(d,l);return s}}}(n)(e)(t))}}},L=function(n){return function(e){return function(t){return function(r){var a=e(T(n)(t)(r));if(a instanceof i.Nothing)return R(n)(t)(r);if(a instanceof i.Just)return N(n)(t)(a.value0)(r);throw new Error("Failed pattern match at Data.Map.Internal (line 549, column 15 - line 551, column 25): "+[a.constructor.name])}}}},k=function(n){return function(e){return function(t){return function(a){return r.foldl(u.foldableList)(function(t){return function(r){return L(n)((a=i.maybe(r.value1)(e(r.value1)),function(n){return i.Just.create(a(n))}))(r.value0)(t);var a}})(a)(F(u.unfoldableList)(t))}}}},O=function(n){return k(n)(a.const)};e.empty=x,e.isEmpty=function(n){return n instanceof v},e.singleton=E,e.insert=N,e.insertWith=function(n){return function(e){return function(t){return function(r){return L(n)((o=i.maybe(r)(a.flip(e)(r)),function(n){return i.Just.create(o(n))}))(t);var o}}}},e.lookup=T,e.toUnfoldable=F,e.toUnfoldableUnordered=function(n){return function(e){return d.unfoldr(n)(function(n){var e,t=!1;function r(e){if(e instanceof u.Nil)return t=!0,i.Nothing.value;if(e instanceof u.Cons){if(e.value0 instanceof v)return void(n=e.value1);if(e.value0 instanceof m)return t=!0,i.Just.create(new p.Tuple(new p.Tuple(e.value0.value1,e.value0.value2),new u.Cons(e.value0.value0,new u.Cons(e.value0.value3,e.value1))));if(e.value0 instanceof w)return t=!0,i.Just.create(new p.Tuple(new p.Tuple(e.value0.value1,e.value0.value2),new u.Cons(E(e.value0.value4)(e.value0.value5),new u.Cons(e.value0.value0,new u.Cons(e.value0.value3,new u.Cons(e.value0.value6,e.value1))))));throw new Error("Failed pattern match at Data.Map.Internal (line 598, column 18 - line 603, column 77): "+[e.value0.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 597, column 3 - line 597, column 19): "+[e.constructor.name])}for(;!t;)e=r(n);return e})(new u.Cons(e,u.Nil.value))}},e.delete=R,e.keys=M,e.values=S,e.union=O,e.unionWith=k,e.size=A,e.monoidMap=function(n){return new c.Monoid(function(){return function(n){return new s.Semigroup(O(n))}(n)},x)},e.functorMap=P,e.foldableMap=J}(n),function(n){"use strict";n["Data.Set"]=n["Data.Set"]||{};var e=n["Data.Set"],t=n["Control.Applicative"],r=n["Control.Bind"],a=n["Control.Monad.Rec.Class"],o=n["Control.Monad.ST.Internal"],u=n["Data.Array"],i=n["Data.Array.ST"],c=n["Data.Foldable"],l=n["Data.List"],f=n["Data.List.Types"],s=n["Data.Map.Internal"],p=n["Data.Monoid"],d=n["Data.Ord"],v=n["Data.Ordering"],m=n["Data.Semigroup"],w=n["Data.Unit"],h=function(n){return function(e){return function(t){return s.union(n)(e)(t)}}},y=function(n){return s.keys(n)},g=function(n){return new m.Semigroup(h(n))},D=function(n){return function(e){return function(t){return s.insert(n)(e)(w.unit)(t)}}},b=new c.Foldable(function(n){return function(e){var t=c.foldMap(f.foldableList)(n)(e);return function(n){return t(y(n))}}},function(n){return function(e){var t=c.foldl(f.foldableList)(n)(e);return function(n){return t(y(n))}}},function(n){return function(e){var t=c.foldr(f.foldableList)(n)(e);return function(n){return t(y(n))}}}),C=s.empty,S=function(n){return function(e){return c.foldl(n)(function(n){return function(t){return D(e)(t)(n)}})(C)}};e.fromFoldable=S,e.toUnfoldable=function(n){var e=l.toUnfoldable(n);return function(n){return e(y(n))}},e.singleton=function(n){return s.singleton(n)(w.unit)},e.insert=D,e.size=function(n){return s.size(n)},e.union=h,e.intersection=function(n){return function(e){return function(l){var s,p=(s=u.fromFoldable(f.foldableList),function(n){return s(y(n))}),m=p(l),w=u.length(m),h=p(e),g=u.length(h);return S(c.foldableArray)(n)(r.bind(o.bindST)(r.bind(o.bindST)(i.empty)(function(e){return a.tailRecM2(o.monadRecST)(function(r){return function(u){if(r0)return new u.Just(c(n));if(o.otherwise)return u.Nothing.value;throw new Error("Failed pattern match at Data.Array.NonEmpty (line 134, column 1 - line 134, column 58): "+[n.constructor.name])},r.uncons=f}(n),function(n){"use strict";n.toCharCode=function(n){return n.charCodeAt(0)},n.fromCharCode=function(n){return String.fromCharCode(n)}}(n["Data.Enum"]=n["Data.Enum"]||{}),function(n){"use strict";n["Data.Enum"]=n["Data.Enum"]||{};var e=n["Data.Enum"],t=n["Data.Enum"],r=n["Data.Bounded"],a=n["Data.Maybe"],o=n["Data.Ord"],u=function(n,e,t){this.Ord0=n,this.pred=e,this.succ=t},i=function(n,e,t,r,a){this.Bounded0=n,this.Enum1=e,this.cardinality=t,this.fromEnum=r,this.toEnum=a},c=function(n){return n.toEnum},l=function(n){return n.fromEnum},f=function(n){return function(e){return function(t){return n(e(t)+1|0)}}},s=function(n){return function(e){return function(t){return n(e(t)-1|0)}}},p=function(n){return n>=r.bottom(r.boundedInt)&&n<=r.top(r.boundedInt)?new a.Just(t.fromCharCode(n)):a.Nothing.value},d=new u(function(){return o.ordChar},s(p)(t.toCharCode),f(p)(t.toCharCode)),v=new i(function(){return r.boundedChar},function(){return d},t.toCharCode(r.top(r.boundedChar))-t.toCharCode(r.bottom(r.boundedChar))|0,t.toCharCode,p);e.Enum=u,e.BoundedEnum=i,e.toEnum=c,e.fromEnum=l,e.toEnumWithDefaults=function(n){return function(e){return function(t){return function(o){var u=c(n)(o);if(u instanceof a.Just)return u.value0;if(u instanceof a.Nothing)return o0?Math.floor(n/e):-Math.floor(n/-e)}},n.intMod=function(n){return function(e){if(0===e)return 0;var t=Math.abs(e);return(n%t+t)%t}}}(n["Data.EuclideanRing"]=n["Data.EuclideanRing"]||{}),function(n){"use strict";n["Data.EuclideanRing"]=n["Data.EuclideanRing"]||{};var e=n["Data.EuclideanRing"],t=n["Data.EuclideanRing"],r=n["Data.CommutativeRing"],a=new function(n,e,t,r){this.CommutativeRing0=n,this.degree=e,this.div=t,this.mod=r}(function(){return r.commutativeRingInt},t.intDegree,t.intDiv,t.intMod);e.div=function(n){return n.div},e.mod=function(n){return n.mod},e.euclideanRingInt=a}(n),function(n){"use strict";n["Data.Exists"]=n["Data.Exists"]||{};var e=n["Data.Exists"],t=n["Unsafe.Coerce"],r=t.unsafeCoerce,a=t.unsafeCoerce;e.mkExists=a,e.runExists=r}(n),function(n){"use strict";n.defer=function(n){var e=null;return function(){return void 0===n?e:(e=n(),n=void 0,e)}},n.force=function(n){return n()}}(n["Data.Lazy"]=n["Data.Lazy"]||{}),function(n){"use strict";n["Data.Lazy"]=n["Data.Lazy"]||{};var e=n["Data.Lazy"],t=n["Data.Lazy"],r=n["Control.Apply"],a=n["Control.Bind"],o=new n["Data.Functor"].Functor(function(n){return function(e){return t.defer(function(r){return n(t.force(e))})}}),u=new r.Apply(function(){return o},function(n){return function(e){return t.defer(function(r){return t.force(n)(t.force(e))})}}),i=new a.Bind(function(){return u},function(n){return function(e){return t.defer(function(r){return t.force(e(t.force(n)))})}});e.bindLazy=i,e.defer=t.defer,e.force=t.force}(n),function(n){"use strict";n["Data.Function.Memoize"]=n["Data.Function.Memoize"]||{};var e=n["Data.Function.Memoize"],t=n["Control.Bind"],r=n["Data.Lazy"],a=n["Data.List.Types"],o=n["Data.Tuple"],u=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),i=function(n){this.tabulate=n},c=new i(function(n){var e,o=function(n){return function(e){if(n instanceof a.Nil)return e.value0;if(n instanceof a.Cons&&!n.value0)return t.bind(r.bindLazy)(e.value1)(o(n.value1));if(n instanceof a.Cons&&n.value0)return t.bind(r.bindLazy)(e.value2)(o(n.value1));throw new Error("Failed pattern match at Data.Function.Memoize (line 137, column 11 - line 137, column 64): "+[n.constructor.name,e.constructor.name])}},i=function(e){return new u(r.defer(function(t){return n(e)}),r.defer(function(n){return i(2*e|0)}),r.defer(function(n){return i(1+(2*e|0)|0)}))},c=i(0),l=(e=a.Nil.value,function(n){var t,r=e,o=!1;function u(e,t){if(0===t)return o=!0,e;r=new a.Cons(0!=(1&t),e),n=t>>>1}for(;!o;)t=u(r,n);return t});return function(n){return o(l(n))(c)}}),l=function(n){return n.tabulate};e.memoize2=function(n){return function(e){return function(a){var u=function(n){return function(e){var t=l(n)(e);return function(n){return r.force(t(n))}}}(function(n){return function(e){return new i(function(a){var u=l(n)(function(n){return l(e)(function(e){return a(new o.Tuple(n,e))})});return function(n){return t.bind(r.bindLazy)(u(n.value0))(function(e){return e(n.value1)})}})}}(n)(e))(o.uncurry(a));return o.curry(u)}}},e.tabulateNat=c}(n),function(n){"use strict";n["Data.Generic.Rep.Show"]=n["Data.Generic.Rep.Show"]||{};var e=n["Data.Generic.Rep.Show"],t=n["Data.Foldable"],r=n["Data.Generic.Rep"],a=n["Data.Monoid"],o=n["Data.Semigroup"],u=n["Data.Show"],i=n["Data.Symbol"],c=function(n){this.genericShowArgs=n},l=function(n){this["genericShow'"]=n},f=new c(function(n){return[]}),s=function(n){return n["genericShow'"]};e.genericShow=function(n){return function(e){return function(t){return s(e)(r.from(n)(t))}}},e.genericShowArgsNoArguments=f,e.genericShowSum=function(n){return function(e){return new l(function(t){if(t instanceof r.Inl)return s(n)(t.value0);if(t instanceof r.Inr)return s(e)(t.value0);throw new Error("Failed pattern match at Data.Generic.Rep.Show (line 26, column 1 - line 28, column 40): "+[t.constructor.name])})}},e.genericShowConstructor=function(n){return function(e){return new l(function(r){var u=i.reflectSymbol(e)(i.SProxy.value),c=n.genericShowArgs(r);return 0===c.length?u:"("+t.intercalate(t.foldableArray)(a.monoidString)(" ")(o.append(o.semigroupArray)([u])(c))+")"})}},e.genericShowArgsArgument=function(n){return new c(function(e){return[u.show(n)(e)]})}}(n),function(n){"use strict";n["Data.Profunctor"]=n["Data.Profunctor"]||{};var e=n["Data.Profunctor"],t=new function(n){this.dimap=n}(function(n){return function(e){return function(t){return function(r){return e(t(n(r)))}}}});e.dimap=function(n){return n.dimap},e.profunctorFn=t}(n),function(n){"use strict";n["Data.Profunctor.Strong"]=n["Data.Profunctor.Strong"]||{};var e=n["Data.Profunctor.Strong"],t=n["Data.Functor"],r=n["Data.Profunctor"],a=n["Data.Tuple"],o=new function(n,e,t){this.Profunctor0=n,this.first=e,this.second=t}(function(){return r.profunctorFn},function(n){return function(e){return new a.Tuple(n(e.value0),e.value1)}},t.map(a.functorTuple));e.first=function(n){return n.first},e.strongFn=o}(n),function(n){"use strict";n["Data.Lens.Lens"]=n["Data.Lens.Lens"]||{};var e=n["Data.Lens.Lens"],t=n["Data.Profunctor"],r=n["Data.Profunctor.Strong"],a=n["Data.Tuple"];e.lens=function(n){return function(e){return function(o){return(u=function(t){return new a.Tuple(n(t),function(n){return e(t)(n)})},function(n){return function(e){return t.dimap(n.Profunctor0())(u)(function(n){return n.value1(n.value0)})(r.first(n)(e))}})(o);var u}}}}(n),function(n){"use strict";n["Data.Lens.Record"]=n["Data.Lens.Record"]||{};var e=n["Data.Lens.Record"],t=n["Data.Function"],r=n["Data.Lens.Lens"],a=n.Record;e.prop=function(n){return function(e){return function(e){return function(e){return function(o){return r.lens(a.get(n)()(e))(t.flip(a.set(n)()()(e)))(o)}}}}}}(n),function(n){"use strict";n["Data.Lens.Setter"]=n["Data.Lens.Setter"]||{};n["Data.Lens.Setter"].over=function(n){return n}}(n),function(n){"use strict";n["Data.Ord.Min"]=n["Data.Ord.Min"]||{};var e=n["Data.Ord.Min"],t=n["Data.Newtype"],r=n["Data.Ord"],a=n["Data.Semigroup"],o=function(n){return n},u=new t.Newtype(function(n){return n},o);e.Min=o,e.newtypeMin=u,e.semigroupMin=function(n){return new a.Semigroup(function(e){return function(t){return r.min(n)(e)(t)}})}}(n),function(n){"use strict";n["Data.Semigroup.Foldable"]=n["Data.Semigroup.Foldable"]||{};var e=n["Data.Semigroup.Foldable"],t=n["Data.Functor"],r=n["Data.Newtype"],a=n["Data.Ord.Min"],o=function(n){return n.foldMap1};e.Foldable1=function(n,e,t){this.Foldable0=n,this.fold1=e,this.foldMap1=t},e.foldMap1=o,e.minimum=function(n){return function(e){return r.ala(t.functorFn)(a.newtypeMin)(a.newtypeMin)(a.Min)(o(e)(a.semigroupMin(n)))}}}(n),function(n){"use strict";n["Data.NonEmpty"]=n["Data.NonEmpty"]||{};var e=n["Data.NonEmpty"],t=n["Control.Category"],r=n["Control.Plus"],a=n["Data.Foldable"],o=n["Data.Semigroup"],u=n["Data.Semigroup.Foldable"],i=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),c=function(n){return new u.Foldable1(function(){return function(n){return new a.Foldable(function(e){return function(t){return function(r){return o.append(e.Semigroup0())(t(r.value0))(a.foldMap(n)(e)(t)(r.value1))}}},function(e){return function(t){return function(r){return a.foldl(n)(e)(e(t)(r.value0))(r.value1)}}},function(e){return function(t){return function(r){return e(r.value0)(a.foldr(n)(e)(t)(r.value1))}}})}(n)},function(e){return u.foldMap1(c(n))(e)(t.identity(t.categoryFn))},function(e){return function(t){return function(r){return a.foldl(n)(function(n){return function(r){return o.append(e)(n)(t(r))}})(t(r.value0))(r.value1)}}})};e.NonEmpty=i,e.singleton=function(n){return function(e){return new i(e,r.empty(n))}},e.foldable1NonEmpty=c}(n),function(n){"use strict";n["Data.List.NonEmpty"]=n["Data.List.NonEmpty"]||{};var e,t=n["Data.List.NonEmpty"],r=n["Data.Functor"],a=n["Data.List"],o=n["Data.List.Types"],u=n["Data.Maybe"],i=n["Data.NonEmpty"],c=n["Data.Tuple"],l=n["Data.Unfoldable"],f=function(n){return new o.Cons(n.value0,n.value1)},s=(e=i.singleton(o.plusList),function(n){return o.NonEmptyList(e(n))});t.toUnfoldable=function(n){var e=l.unfoldr(n)(function(n){return r.map(u.functorMaybe)(function(n){return new c.Tuple(n.head,n.tail)})(a.uncons(n))});return function(n){return e(f(n))}},t.toList=f,t.singleton=s,t["cons'"]=function(n){return function(e){return new i.NonEmpty(n,e)}},t.uncons=function(n){return{head:n.value0,tail:n.value1}}}(n),function(n){"use strict";n["Data.Op"]=n["Data.Op"]||{};var e=n["Data.Op"],t=function(n){return n},r=new n["Data.Newtype"].Newtype(function(n){return n},t);e.Op=t,e.newtypeOp=r}(n),function(e){"use strict";(n["Foreign"]=n["Foreign"]||{}).unsafeToForeign=function(n){return n}}(),function(n){"use strict";n.Foreign=n.Foreign||{};var e=n.Foreign,t=n.Foreign;e.unsafeToForeign=t.unsafeToForeign}(n),function(n){"use strict";n["Data.Options"]=n["Data.Options"]||{};var e=n["Data.Options"],t=n["Data.Foldable"],r=n["Data.Newtype"],a=n["Data.Op"],o=n["Data.Semigroup"],u=n["Data.Tuple"],i=n.Foreign,c=n["Foreign.Object"],l=o.semigroupArray,f=r.unwrap(a.newtypeOp);e.options=function(n){return i.unsafeToForeign(c.fromFoldable(t.foldableArray)(n))},e.assoc=f,e.opt=function(n){return a.Op((e=n,function(n){return[new u.Tuple(e,i.unsafeToForeign(n))]}));var e},e.semigroupOptions=l}(n),function(n){"use strict";n["Data.Profunctor.Choice"]=n["Data.Profunctor.Choice"]||{};var e=n["Data.Profunctor.Choice"],t=n["Data.Either"],r=n["Data.Functor"],a=n["Data.Profunctor"],o=new function(n,e,t){this.Profunctor0=n,this.left=e,this.right=t}(function(){return a.profunctorFn},function(n){return function(e){if(e instanceof t.Left)return t.Left.create(n(e.value0));if(e instanceof t.Right)return new t.Right(e.value0);throw new Error("Failed pattern match at Data.Profunctor.Choice (line 32, column 1 - line 35, column 16): "+[n.constructor.name,e.constructor.name])}},r.map(t.functorEither));e.left=function(n){return n.left},e.choiceFn=o}(n),function(n){"use strict";n["Data.Search.Trie.Internal"]=n["Data.Search.Trie.Internal"]||{};var e,t,r,a,o=n["Data.Search.Trie.Internal"],u=(n["Control.Bind"],n["Data.Bifunctor"]),i=n["Data.Eq"],c=n["Data.Foldable"],l=n["Data.Function"],f=n["Data.Functor"],s=n["Data.List"],p=n["Data.List.Types"],d=n["Data.Map.Internal"],v=n["Data.Maybe"],m=n["Data.Monoid"],w=n["Data.Semigroup"],h=n["Data.Tuple"],y=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),g=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),D=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),b=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),C=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),S=(e=p.Nil.value,t=function(n){var t,r=e,a=!1;function o(e,t){if(t instanceof p.Nil)return a=!0,e;if(t instanceof p.Cons&&t.value0 instanceof y)return r=function(){if(t.value0.value0 instanceof v.Just)return new p.Cons(t.value0.value0.value0,e);if(t.value0.value0 instanceof v.Nothing)return e;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 522, column 13 - line 524, column 29): "+[t.value0.value0.constructor.name])}(),void(n=w.append(p.semigroupList)(d.values(t.value0.value1))(t.value1));if(t instanceof p.Cons&&t.value0 instanceof g)return r=e,void(n=new p.Cons(t.value0.value2,t.value1));throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 520, column 5 - line 520, column 21): "+[e.constructor.name,t.constructor.name])}for(;!a;)t=o(r,n);return t},function(n){return s.reverse(t(s.singleton(n)))}),A=(r=0,a=function(n){var e,t=r,a=!1;function o(e,r){if(r instanceof p.Nil)return a=!0,e;if(r instanceof p.Cons&&r.value0 instanceof y)return t=v.maybe(e)(l.const(e+1|0))(r.value0.value0),void(n=w.append(p.semigroupList)(f.map(p.functorList)(h.snd)(d.toUnfoldableUnordered(p.unfoldableList)(r.value0.value1)))(r.value1));if(r instanceof p.Cons&&r.value0 instanceof g)return t=e,void(n=new p.Cons(r.value0.value2,r.value1));throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 137, column 5 - line 137, column 21): "+[e.constructor.name,r.constructor.name])}for(;!a;)e=o(t,n);return e},function(n){return a(s.singleton(n))}),E=function(n){return new C(n,p.Nil.value)},F=function(n){return function(e){return n instanceof p.Nil?e:new g(s.length(n),n,e)}},T=function(n){var e;return e=0,function(t){return function(r){for(var a,o,u,c,l,f,p=e,d=t,m=!1;!m;)o=p,u=d,c=r,l=void 0,f=void 0,l=s.uncons(c),a=(f=s.uncons(u))instanceof v.Just&&l instanceof v.Just&&i.eq(n)(f.value0.head)(l.value0.head)?(p=o+1|0,d=f.value0.tail,void(r=l.value0.tail)):(m=!0,o);return a}}},M=function(n){return function(e){return function(t){var r,a=n,o=e,u=!1;function i(n,e,r){if(e instanceof p.Nil)return u=!0,new v.Just(r);if(r instanceof g){var i=T(n.Eq0())(e)(r.value1);return 0===i?(u=!0,v.Nothing.value):(a=n,o=s.drop(i)(e),void(t=i===r.value0?r.value2:F(s.drop(i)(r.value1))(r.value2)))}if(e instanceof p.Cons&&r instanceof y){var c=d.lookup(n)(e.value0)(r.value1);if(c instanceof v.Just)return a=n,o=e.value1,void(t=c.value0);if(c instanceof v.Nothing)return u=!0,v.Nothing.value;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 364, column 3 - line 366, column 23): "+[c.constructor.name])}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 348, column 1 - line 353, column 22): "+[e.constructor.name,r.constructor.name])}for(;!u;)r=i(a,o,t);return r}}},P=function(n){return function(e){var t,r=n,a=!1;function o(n,t){if(t.value1 instanceof p.Cons){if(t.value1.value0 instanceof D)return r=n,void(e=new C(y.create(t.value1.value0.value0)(d.insert(n)(t.value1.value0.value1)(t.value0)(t.value1.value0.value2)),t.value1.value1));if(t.value1.value0 instanceof b&&t.value0 instanceof g)return r=n,void(e=new C(new g(t.value1.value0.value0+t.value0.value0|0,w.append(p.semigroupList)(t.value1.value0.value1)(t.value0.value1),t.value0.value2),t.value1.value1));if(t.value1.value0 instanceof b)return r=n,void(e=new C(new g(t.value1.value0.value0,t.value1.value0.value1,t.value0),t.value1.value1));throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 169, column 3 - line 177, column 51): "+[t.value1.value0.constructor.name,t.value0.constructor.name])}if(t.value1 instanceof p.Nil)return a=!0,t.value0;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 163, column 1 - line 167, column 14): "+[t.constructor.name])}for(;!a;)t=o(r,e);return t}},I=function(n){return function(e){var t;return s.reverse(f.map(p.functorList)(u.lmap(h.bifunctorTuple)(function(n){return s.concat(s.reverse(n))}))((t=s.singleton(new h.Tuple(e,p.Nil.value)),function(e){var r,a=t,o=!1;function u(t,r){if(t instanceof p.Cons&&t.value0.value0 instanceof y){var u=f.mapFlipped(p.functorList)(n(t.value0.value0.value1))(function(n){return new h.Tuple(n.value1,new p.Cons(s.singleton(n.value0),t.value0.value1))});return a=w.append(p.semigroupList)(u)(t.value1),void(e=function(){if(t.value0.value0.value0 instanceof v.Just)return new p.Cons(new h.Tuple(t.value0.value1,t.value0.value0.value0.value0),r);if(t.value0.value0.value0 instanceof v.Nothing)return r;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 497, column 11 - line 500, column 28): "+[t.value0.value0.value0.constructor.name])}())}if(t instanceof p.Cons&&t.value0.value0 instanceof g)return a=new p.Cons(new h.Tuple(t.value0.value0.value2,new p.Cons(t.value0.value0.value1,t.value0.value1)),t.value1),void(e=r);if(t instanceof p.Nil)return o=!0,r;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 488, column 5 - line 490, column 41): "+[t.constructor.name,r.constructor.name])}for(;!o;)r=u(a,e);return r})(p.Nil.value)))}},N=I(d.toUnfoldableUnordered(p.unfoldableList)),J=I(d.toUnfoldable(p.unfoldableList)),x=function(n){return new y(v.Nothing.value,m.mempty(d.monoidMap(n)))},R=function(n){return function(e){return function(t){var r,a=n,o=e,u=!1;function i(n,e,r){if(e instanceof p.Nil&&r.value0 instanceof y)return u=!0,{mbValue:r.value0.value0,children:r.value0.value1,ctxs:r.value1};if(e instanceof p.Cons&&r.value0 instanceof y){if((w=d.lookup(n)(e.value0)(r.value0.value1))instanceof v.Just)return a=n,o=e.value1,void(t=new C(w.value0,new p.Cons(new D(r.value0.value0,e.value0,r.value0.value1),r.value1)));if(w instanceof v.Nothing){var i=new p.Cons(new D(r.value0.value0,e.value0,r.value0.value1),r.value1),c=s.null(e.value1)?i:new p.Cons(new b(s.length(e.value1),e.value1),i);return u=!0,{mbValue:v.Nothing.value,children:m.mempty(d.monoidMap(n)),ctxs:c}}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 212, column 3 - line 221, column 62): "+[w.constructor.name])}if(r.value0 instanceof g){var l=T(n.Eq0())(e)(r.value0.value1);if(l===r.value0.value0){var f=s.drop(l)(e);return a=n,o=f,void(t=new C(r.value0.value2,new p.Cons(new b(r.value0.value0,r.value0.value1),r.value1)))}if(0===l){var w;if((w=s.uncons(r.value0.value1))instanceof v.Just){var h=r.value0.value0-1|0,S=d.singleton(w.value0.head)(h>0?new g(h,w.value0.tail,r.value0.value2):r.value0.value2);return a=n,o=e,void(t=new C(new y(v.Nothing.value,S),r.value1))}if(w instanceof v.Nothing)return u=!0,{mbValue:v.Nothing.value,children:m.mempty(d.monoidMap(n)),ctxs:r.value1};throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 232, column 7 - line 249, column 12): "+[w.constructor.name])}var A=s.take(l)(e),E=s.length(A),F=(f=s.drop(l)(e),r.value0.value0-l|0),M=s.drop(l)(r.value0.value1);return a=n,o=f,void(t=new C(new g(F,M,r.value0.value2),0===E?r.value1:new p.Cons(new b(E,A),r.value1)))}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 200, column 1 - line 208, column 7): "+[e.constructor.name,r.constructor.name])}for(;!u;)r=i(a,o,t);return r}}},L=function(n){return function(e){return function(t){return function(r){var a=R(n)(e)(E(r));return P(n)(new C(new y(new v.Just(t),a.children),a.ctxs))}}}},k=function(n){return function(e){return function(t){return f.map(v.functorMaybe)((r=function(n){return function(e){return function(t){return c.foldl(e)(l.flip((r=h.uncurry(L(n)),a=u.lmap(h.bifunctorTuple)(s.fromFoldable(t)),function(n){return r(a(n))})))(x(n));var r,a}}}(n)(p.foldableList)(p.foldableList),a=f.map(p.functorList)(u.lmap(h.bifunctorTuple)(function(n){return w.append(p.semigroupList)(e)(n)})),function(n){return r(a(N(n)))}))(M(n)(e)(t));var r,a}}},O=function(n){return new m.Monoid(function(){return function(n){return new w.Semigroup(function(e){return function(t){return c.foldl(p.foldableList)(l.flip(h.uncurry(L(n))))(t)(J(e))}})}(n)},x(n))},B=function(n){return function(e){return function(t){return function(r){var a,o=R(n)(e)(r),u=t(o.mbValue);return v.isJust(o.mbValue)&&v.isNothing(u)&&d.isEmpty(o.children)?(a=n,function(n){var e,t=a,r=!1;function o(e,a){if(a instanceof p.Cons&&a.value0 instanceof D){var o=d.delete(e)(a.value0.value1)(a.value0.value2);return v.isJust(a.value0.value0)||!d.isEmpty(o)?(r=!0,new C(new y(a.value0.value0,o),a.value1)):(t=e,void(n=a.value1))}if(a instanceof p.Cons&&a.value0 instanceof b)return t=e,void(n=a.value1);if(a instanceof p.Nil)return r=!0,E(m.mempty(O(e)));throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 187, column 3 - line 195, column 27): "+[a.constructor.name])}for(;!r;)e=o(t,n);return e})(o.ctxs):new C(new y(u,o.children),o.ctxs)}}}};o.alter=function(n){return function(e){var t=function(n){return function(e){return function(t){return P(n)(e(E(t)))}}}(n),r=B(n)(e);return function(n){return t(r(n))}}},o.entriesUnordered=N,o.insert=L,o.query=function(n){return function(e){var t=v.fromMaybe(x(n)),r=k(n)(e);return function(n){return J(t(r(n)))}}},o.queryValues=function(n){return function(e){var t=v.fromMaybe(m.mempty(O(n))),r=M(n)(e);return function(n){return S(t(r(n)))}}},o.size=A,o.values=S,o.monoidTrie=O}(n),function(n){"use strict";var e="function"==typeof Array.from,t="undefined"!=typeof Symbol&&null!=Symbol&&void 0!==Symbol.iterator&&"function"==typeof String.prototype[Symbol.iterator],r="function"==typeof String.prototype.fromCodePoint,a="function"==typeof String.prototype.codePointAt;n._unsafeCodePointAt0=function(n){return a?function(n){return n.codePointAt(0)}:n},n._codePointAt=function(n){return function(e){return function(r){return function(a){return function(o){return function(u){var i=u.length;if(o<0||o>=i)return r;if(t)for(var c=u[Symbol.iterator](),l=o;;--l){var f=c.next();if(f.done)return r;if(0===l)return e(a(f.value))}return n(o)(u)}}}}}},n._singleton=function(n){return r?String.fromCodePoint:n},n._take=function(n){return function(e){return t?function(n){for(var t="",r=n[Symbol.iterator](),a=0;a=0&&n1){var t=i.fromEnum(i.boundedEnumChar)(h.charAt(1)(n));return C(t)?D(e)(t):e}return e}),T=r._toCodePointArray(function(n){return g.unfoldr(g.unfoldableArray)(E)(n)})(F),M=function(n){return a.length(T(n))},P=(e=i.toEnumWithDefaults(i.boundedEnumChar)(u.bottom(u.boundedChar))(u.top(u.boundedChar)),function(n){return m.singleton(e(n))}),I=r._singleton(function(n){if(n<=65535)return P(n);var e=l.div(l.euclideanRingInt)(n-65536|0)(1024)+55296|0,t=l.mod(l.euclideanRingInt)(n-65536|0)(1024)+56320|0;return P(e)+P(t)}),N=function(n){return function(e){if(n<1)return"";var t=A(e);return t instanceof p.Just?I(t.value0.head)+N(n-1|0)(t.value0.tail):e}},J=r._take(N),x=new c.Eq(function(n){return function(e){return n===e}}),R=new d.Ord(function(){return x},function(n){return function(e){return d.compare(d.ordInt)(n)(e)}}),L=function(n){return function(e){var t,r,a,o=n,u=!1;for(;!u;)r=o,a=void 0,t=(a=A(e))instanceof p.Just?0===r?(u=!0,new p.Just(a.value0.head)):(o=r-1|0,void(e=a.value0.tail)):(u=!0,p.Nothing.value);return t}},k=new u.Bounded(function(){return R},0,1114111),O=new i.BoundedEnum(function(){return k},function(){return B},1114112,function(n){return n},function(n){if(n>=0&&n<=1114111)return new p.Just(n);if(o.otherwise)return p.Nothing.value;throw new Error("Failed pattern match at Data.String.CodePoints (line 63, column 1 - line 68, column 26): "+[n.constructor.name])}),B=new i.Enum(function(){return R},i.defaultPred(i.toEnum(O))(i.fromEnum(O)),i.defaultSucc(i.toEnum(O))(i.fromEnum(O)));t.codePointAt=function(n){return function(e){return n<0?p.Nothing.value:0===n&&""===e?p.Nothing.value:0===n?new p.Just(F(e)):r._codePointAt(L)(p.Just.create)(p.Nothing.value)(F)(n)(e)}},t.length=M,t.indexOf=function(n){return function(e){return f.map(p.functorMaybe)(function(n){return M(m.take(n)(e))})(m.indexOf(n)(e))}},t["indexOf'"]=function(n){return function(e){return function(t){var r,a=(r=e,function(n){return m.drop(m.length(J(r)(n)))(n)})(t);return f.map(p.functorMaybe)(function(n){return e+M(m.take(n)(a))|0})(m.indexOf(n)(a))}}},t.showCodePoint=b,t.boundedEnumCodePoint=O}(n),function(n){"use strict";n["Data.String.Pattern"]=n["Data.String.Pattern"]||{};var e=n["Data.String.Pattern"],t=new n["Data.Newtype"].Newtype(function(n){return n},function(n){return n});e.newtypePattern=t}(n),function(n){"use strict";n.regexImpl=function(n){return function(e){return function(t){return function(r){try{return e(new RegExp(t,r))}catch(a){return n(a.message)}}}}},n.split=function(n){return function(e){return e.split(n)}}}(n["Data.String.Regex"]=n["Data.String.Regex"]||{}),function(n){"use strict";n["Data.String.Regex"]=n["Data.String.Regex"]||{};var e=n["Data.String.Regex"],t=n["Data.String.Regex"],r=n["Data.Either"];e.regex=function(n){return function(e){return t.regexImpl(r.Left.create)(r.Right.create)(n)(((a=e).value0.global?"g":"")+(a.value0.ignoreCase?"i":"")+(a.value0.multiline?"m":"")+(a.value0.sticky?"y":"")+(a.value0.unicode?"u":""));var a}},e.split=t.split}(n),function(n){"use strict";n["Data.String.Regex.Flags"]=n["Data.String.Regex.Flags"]||{};var e=n["Data.String.Regex.Flags"],t=new(function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}())({global:!1,ignoreCase:!1,multiline:!1,sticky:!1,unicode:!1});e.noFlags=t}(n),function(n){"use strict";n["Docs.Search.Types"]=n["Docs.Search.Types"]||{};var e=n["Docs.Search.Types"],t=n["Data.Argonaut.Decode.Class"],r=n["Data.Argonaut.Encode.Class"],a=n["Data.Argonaut.Encode.Generic.Rep"],o=n["Data.Eq"],u=n["Data.Generic.Rep"],i=n["Data.Newtype"],c=n["Data.Ord"],l=n["Data.Ordering"],f=n["Data.Ring"],s=n["Data.Semiring"],p=n["Data.Show"],d=n["Data.Symbol"],v=function(n){return n},m=function(){function n(){}return n.value=new n,n}(),w=function(){function n(){}return n.value=new n,n}(),h=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),y=function(){function n(){}return n.value=new n,n}(),g=function(n){return n},D=p.showInt,b=p.showString,C=s.semiringInt,S=f.ringInt,A=c.ordInt,E=c.ordInt,F=c.ordString,T=c.ordString,M=c.ordString,P=new i.Newtype(function(n){return n},v),I=new i.Newtype(function(n){return n},function(n){return n}),N=new i.Newtype(function(n){return n},g),J=new i.Newtype(function(n){return n},function(n){return n}),x=new i.Newtype(function(n){return n},function(n){return n}),R=new u.Generic(function(n){if(n instanceof m)return new u.Inl(u.NoArguments.value);if(n instanceof w)return new u.Inr(new u.Inl(u.NoArguments.value));if(n instanceof h)return new u.Inr(new u.Inr(new u.Inl(n.value0)));if(n instanceof y)return new u.Inr(new u.Inr(new u.Inr(u.NoArguments.value)));throw new Error("Failed pattern match at Docs.Search.Types (line 57, column 1 - line 57, column 60): "+[n.constructor.name])},function(n){if(n instanceof u.Inl)return m.value;if(n instanceof u.Inr&&n.value0 instanceof u.Inl)return w.value;if(n instanceof u.Inr&&n.value0 instanceof u.Inr&&n.value0.value0 instanceof u.Inl)return new h(n.value0.value0.value0);if(n instanceof u.Inr&&n.value0 instanceof u.Inr&&n.value0.value0 instanceof u.Inr)return y.value;throw new Error("Failed pattern match at Docs.Search.Types (line 57, column 1 - line 57, column 60): "+[n.constructor.name])}),L=o.eqString,k=new o.Eq(function(n){return function(e){return n instanceof m&&e instanceof m||(n instanceof w&&e instanceof w||(n instanceof h&&e instanceof h?o.eq(L)(n.value0)(e.value0):n instanceof y&&e instanceof y))}}),O=new c.Ord(function(){return k},function(n){return function(e){if(n instanceof m&&e instanceof m)return l.EQ.value;if(n instanceof m)return l.LT.value;if(e instanceof m)return l.GT.value;if(n instanceof w&&e instanceof w)return l.EQ.value;if(n instanceof w)return l.LT.value;if(e instanceof w)return l.GT.value;if(n instanceof h&&e instanceof h)return c.compare(F)(n.value0)(e.value0);if(n instanceof h)return l.LT.value;if(e instanceof h)return l.GT.value;if(n instanceof y&&e instanceof y)return l.EQ.value;throw new Error("Failed pattern match at Docs.Search.Types (line 56, column 1 - line 56, column 50): "+[n.constructor.name,e.constructor.name])}}),B=o.eqString,U=r.encodeJsonInt,q=r.encodeJsonJString,H=new r.EncodeJson(a.genericEncodeJson(R)(a.encodeRepSum(a.encodeRepConstructor(new d.IsSymbol(function(){return"LocalPackage"}))(a.encodeRepArgsNoArguments))(a.encodeRepSum(a.encodeRepConstructor(new d.IsSymbol(function(){return"Builtin"}))(a.encodeRepArgsNoArguments))(a.encodeRepSum(a.encodeRepConstructor(new d.IsSymbol(function(){return"Package"}))(a.encodeRepArgsArgument(q)))(a.encodeRepConstructor(new d.IsSymbol(function(){return"UnknownPackage"}))(a.encodeRepArgsNoArguments)))))),_=r.encodeJsonJString,j=r.encodeJsonJString,W=t.decodeJsonString;e.Identifier=g,e.RawPackageName=function(n){return n},e.PackageName=v,e.LocalPackage=m,e.Builtin=w,e.Package=h,e.UnknownPackage=y,e.PartId=function(n){return n},e.newtypeIdentifier=N,e.eqIdentifier=B,e.ordIdentifier=M,e.decodeJsonIdentifier=W,e.encodeJsonIdentifier=j,e.newtypeModuleName=I,e.ordModuleName=T,e.encodeJsonModuleName=_,e.newtypePackageName=P,e.ordPackageName=F,e.showPackageName=b,e.encodeJsonPackageName=q,e.ordPackageInfo=O,e.encodeJsonPackageInfo=H,e.ordPackageScore=E,e.semiringPackageScore=C,e.ringPackageScore=S,e.encodeJsonPackageScore=U,e.newtypeFilePath=x,e.newtypeGlobalIdentifier=J,e.ordPartId=A,e.showPartId=D}(n),function(n){"use strict";n["Docs.Search.Config"]=n["Docs.Search.Config"]||{};var e=n["Docs.Search.Config"],t=n["Data.Newtype"],r=n["Data.Show"],a=n["Docs.Search.Types"],o=t.wrap(a.newtypeFilePath)("generated-docs/html/index/types"),u=t.wrap(a.newtypeFilePath)("generated-docs/html/index/packages.js"),i=t.wrap(a.newtypeFilePath)("generated-docs/html/index/modules.js"),c=t.wrap(a.newtypeFilePath)("generated-docs/html/index/meta.js"),l=t.wrap(a.newtypeGlobalIdentifier)("DocsSearchMeta"),f=t.wrap(a.newtypePackageName)("");e.version="0.0.10",e.numberOfIndexParts=50,e.mkIndexPartPath=function(n){return"html/index/declarations/"+r.show(a.showPartId)(n)+".js"},e.moduleIndexPath=i,e.typeIndexDirectory=o,e.metaPath=c,e.metaItem=l,e.packageInfoPath=u,e.penalties={typeVars:2,match:2,matchConstraint:1,instantiate:2,generalize:2,rowsMismatch:3,missingConstraint:1,excessiveConstraint:1},e.defaultPackageName=f}(n),function(n){"use strict";n["Docs.Search.BrowserEngine"]=n["Docs.Search.BrowserEngine"]||{};var e=n["Docs.Search.BrowserEngine"],t=n["Data.Char"],r=n["Data.EuclideanRing"],a=n["Data.List.Types"],o=n["Docs.Search.Config"],u=n["Docs.Search.Types"];e.getPartId=function(n){return n instanceof a.Cons&&n.value1 instanceof a.Cons?u.PartId(r.mod(r.euclideanRingInt)(t.toCharCode(n.value0)+t.toCharCode(n.value1.value0)|0)(o.numberOfIndexParts)):n instanceof a.Cons?u.PartId(r.mod(r.euclideanRingInt)(t.toCharCode(n.value0))(o.numberOfIndexParts)):0}}(n),function(n){"use strict";n["Docs.Search.TypeDecoder"]=n["Docs.Search.TypeDecoder"]||{};var e,t=n["Docs.Search.TypeDecoder"],r=n["Control.Alt"],a=n["Control.Applicative"],o=n["Control.Bind"],u=n["Data.Argonaut.Core"],i=n["Data.Argonaut.Decode.Class"],c=n["Data.Argonaut.Decode.Combinators"],l=n["Data.Argonaut.Decode.Error"],f=n["Data.Argonaut.Encode.Class"],s=n["Data.Either"],p=n["Data.Foldable"],d=n["Data.Function"],v=n["Data.Functor"],m=n["Data.List"],w=n["Data.List.Types"],h=n["Data.Maybe"],y=n["Data.Newtype"],g=n["Data.Symbol"],D=n["Data.Tuple"],b=n["Data.Unit"],C=n["Docs.Search.Types"],S=n["Foreign.Object"],A=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),E=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),F=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),T=function(n){return n},M=function(n){return n},P=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),I=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),N=function(){function n(){}return n.value=new n,n}(),J=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),x=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),R=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),L=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),k=function(){function n(n,e){this.value0=n,this.value1=e}return n.create=function(e){return function(t){return new n(e,t)}},n}(),O=function(){function n(){}return n.value=new n,n}(),B=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),U=function(){function n(n,e,t){this.value0=n,this.value1=e,this.value2=t}return n.create=function(e){return function(t){return function(r){return new n(e,t,r)}}},n}(),q=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),H=function(n){return function(e){return u.fromObject(S.fromFoldable(p.foldableArray)([new D.Tuple("tag",f.encodeJson(f.encodeJsonJString)(n)),new D.Tuple("contents",e)]))}},_=new y.Newtype(function(n){return n},function(n){return n}),j=function(n){return function(e){return function(t){return l.TypeMismatch.create("Couldn't parse "+n+" from "+u.stringify(e))}}},W=function(n){return function(e){return j(n)(e)(b.unit)}},G=(e=w.Nil.value,function(n){for(var t,r,a,o=e,u=!1;!u;)r=o,t=(a=n)instanceof B?(o=new w.Cons({row:a.value0,ty:a.value1},r),void(n=a.value2)):(u=!0,{rows:m.reverse(r),ty:a instanceof O?h.Nothing.value:new h.Just(a)});return t}),V=function(){var n;return n=w.Nil.value,function(e){for(var t,r,a,o=n,u=!1;!u;)r=o,t=(a=e)instanceof k?(o=new w.Cons(a.value0.constraintClass.name,r),void(e=a.value1)):(u=!0,{constraints:m.sort(C.ordIdentifier)(r),ty:a});return t}}(),Q=function(n){return function(e){return function(t){return function(r){return u.fromArray([f.encodeJson(n)(t),f.encodeJson(e)(r)])}}}},z=function(n){return function(e){return function(t){return function(r){return function(a){return function(o){return u.fromArray([f.encodeJson(n)(r),f.encodeJson(e)(a),f.encodeJson(t)(o)])}}}}}},Z=new f.EncodeJson(function(n){return Q(f.encodeJsonArray(f.encodeJsonJString))(C.encodeJsonIdentifier)(n.moduleNameParts)(n.name)}),K=new f.EncodeJson(function(n){if(n instanceof A)return H("Row")(f.encodeJson(K)(n.value0));if(n instanceof E)return H("FunKind")(Q(K)(K)(n.value0)(n.value1));if(n instanceof F)return H("NamedKind")(f.encodeJson(Z)(n.value0));throw new Error("Failed pattern match at Docs.Search.TypeDecoder (line 87, column 16 - line 93, column 44): "+[n.constructor.name])}),$=new f.EncodeJson(function(n){return u.fromArray([f.encodeJson(f.encodeJsonJString)(n.name),f.encodeJson(f.encodeJsonMaybe(K))(n.mbKind)])}),Y=new f.EncodeJson(function(n){return u.fromArray([f.encodeJson(f.encodeJsonArray(f.encodeJsonJString))(n.lhs),f.encodeJson(f.encodeJsonArray(f.encodeJsonJString))(n.rhs)])}),X=new f.EncodeJson(function(n){return f.encodeJson(f.encodeJsonArray(Y))(n)}),nn=h.Nothing.value,en=new f.EncodeJson(function(n){if(n instanceof P)return H("TypeVar")(f.encodeJson(f.encodeJsonJString)(n.value0));if(n instanceof I)return H("TypeLevelString")(f.encodeJson(f.encodeJsonJString)(n.value0));if(n instanceof J)return H("TypeConstructor")(f.encodeJson(Z)(n.value0));if(n instanceof x)return H("TypeOp")(f.encodeJson(Z)(n.value0));if(n instanceof R)return H("TypeApp")(Q(en)(en)(n.value0)(n.value1));if(n instanceof L&&n.value1 instanceof h.Nothing)return H("ForAll")(z(f.encodeJsonJString)(en)(f.encodeJsonMaybe(f.encodeJsonInt))(n.value0)(n.value2)(nn));if(n instanceof L&&n.value1 instanceof h.Just)return H("ForAll")((e=f.encodeJsonJString,function(n){return function(t){return function(r){return function(a){return function(o){return function(i){return function(c){return u.fromArray([f.encodeJson(e)(a),f.encodeJson(n)(o),f.encodeJson(t)(i),f.encodeJson(r)(c)])}}}}}}})(K)(en)(f.encodeJsonMaybe(f.encodeJsonInt))(n.value0)(n.value1.value0)(n.value2)(nn));var e;if(n instanceof k)return H("ConstrainedType")(Q(tn)(en)(n.value0)(n.value1));if(n instanceof O)return H("REmpty")(u.jsonEmptyObject);if(n instanceof B)return H("RCons")(z(C.encodeJsonIdentifier)(en)(en)(n.value0)(n.value1)(n.value2));if(n instanceof q)return H("ParensInType")(f.encodeJson(en)(n.value0));if(n instanceof N)return H("TypeWildcard")(u.jsonEmptyObject);if(n instanceof U)return H("BinaryNoParensType")(z(en)(en)(en)(n.value0)(n.value1)(n.value2));throw new Error("Failed pattern match at Docs.Search.TypeDecoder (line 218, column 16 - line 232, column 82): "+[n.constructor.name])}),tn=new f.EncodeJson(function(n){return u.fromObject(S.fromFoldable(p.foldableArray)([new D.Tuple("constraintClass",f.encodeJson(Z)(n.constraintClass)),new D.Tuple("constraintArgs",f.encodeJson(f.encodeJsonArray(en))(n.constraintArgs))]))}),rn=function(n){return function(e){return function(t){return function(r){return function(c){var l=u.toArray(c);return l instanceof h.Just&&2===l.value0.length?o.bind(s.bindEither)(i.decodeJson(n)(l.value0[0]))(function(n){return o.bind(s.bindEither)(i.decodeJson(e)(l.value0[1]))(function(e){return a.pure(s.applicativeEither)(t(n)(e))})}):s.Left.create(r(b.unit))}}}}},an=function(n){return function(e){return function(t){return function(r){return function(c){return function(l){var f=u.toArray(l);return f instanceof h.Just&&3===f.value0.length?o.bind(s.bindEither)(i.decodeJson(n)(f.value0[0]))(function(n){return o.bind(s.bindEither)(i.decodeJson(e)(f.value0[1]))(function(e){return o.bind(s.bindEither)(i.decodeJson(t)(f.value0[2]))(function(t){return a.pure(s.applicativeEither)(r(n)(e)(t))})})}):s.Left.create(c(b.unit))}}}}}},on=new i.DecodeJson(function(n){return rn(i.decodeArray(i.decodeJsonString))(C.decodeJsonIdentifier)(function(n){return function(e){return{moduleNameParts:n,name:e}}})(j("QualifiedName")(n))(n)}),un=new i.DecodeJson(function(n){return o.bind(s.bindEither)(i.decodeJson(i.decodeForeignObject(i.decodeJsonJson))(n))(function(e){return o.bind(s.bindEither)(c.getField(i.decodeJsonString)(e)("tag"))(function(t){return"NamedKind"===t?o.bind(s.bindEither)(c.getField(on)(e)("contents"))(function(n){return a.pure(s.applicativeEither)(new F(n))}):"Row"===t?o.bind(s.bindEither)(c.getField(un)(e)("contents"))(function(n){return a.pure(s.applicativeEither)(new A(n))}):"FunKind"===t?o.bind(s.bindEither)(c.getField(i.decodeArray(un))(e)("contents"))(function(e){return 2===e.length?s.Right.create(new E(e[0],e[1])):s.Left.create(W("FunKind")(n))}):s.Left.create(W("Kind")(n))})})}),cn=new i.DecodeJson(function(n){return rn(i.decodeJsonString)(i.decodeJsonMaybe(un))(function(n){return function(e){return{name:n,mbKind:e}}})(j("TypeArgument")(n))(n)}),ln=new i.DecodeJson(function(n){return rn(i.decodeArray(i.decodeJsonString))(i.decodeArray(i.decodeJsonString))(function(n){return function(e){return{lhs:n,rhs:e}}})(j("FunDep")(n))(n)}),fn=new i.DecodeJson(function(n){return v.map(s.functorEither)(T)(i.decodeJson(i.decodeArray(ln))(n))}),sn=function(n){return function(e){return function(t){return u.caseJsonObject(e)(function(t){var r=S.lookup("contents")(t);if(r instanceof h.Nothing)return e;if(r instanceof h.Just)return n(r.value0);throw new Error("Failed pattern match at Docs.Search.TypeDecoder (line 354, column 7 - line 356, column 45): "+[r.constructor.name])})(t)}}},pn=new i.DecodeJson(function(n){return o.bind(s.bindEither)(i.decodeJson(i.decodeForeignObject(i.decodeJsonJson))(n))(function(e){return o.bind(s.bindEither)(c.getField(i.decodeJsonString)(e)("tag"))(function(t){if("TypeVar"===t)return o.bind(s.bindEither)(c.getField(i.decodeJsonString)(e)("contents"))((l=a.pure(s.applicativeEither),function(n){return l(P.create(n))}));var l,f,p,m,w,y,g;if("TypeLevelString"===t)return o.bind(s.bindEither)(c.getField(i.decodeJsonString)(e)("contents"))((f=a.pure(s.applicativeEither),function(n){return f(I.create(n))}));if("TypeConstructor"===t)return o.bind(s.bindEither)(c.getField(on)(e)("contents"))((p=a.pure(s.applicativeEither),function(n){return p(J.create(n))}));if("TypeOp"===t)return o.bind(s.bindEither)(c.getField(on)(e)("contents"))((m=a.pure(s.applicativeEither),function(n){return m(x.create(n))}));if("TypeApp"===t){var D=W("TypeApp")(n);return sn(rn(pn)(pn)(R.create)(d.const(D)))(new s.Left(D))(n)}if("ForAll"===t){D=j("ForAll")(n);return r.alt(s.altEither)(sn(an(i.decodeJsonString)(pn)(i.decodeJsonMaybe(i.decodeJsonInt))(function(n){return function(e){return function(t){return new L(n,h.Nothing.value,e)}}})(D))(s.Left.create(D(b.unit)))(n))(sn((w=i.decodeJsonString,function(n){return function(e){return function(t){return function(r){return function(c){return function(l){var f=u.toArray(l);return f instanceof h.Just&&4===f.value0.length?o.bind(s.bindEither)(i.decodeJson(w)(f.value0[0]))(function(u){return o.bind(s.bindEither)(i.decodeJson(n)(f.value0[1]))(function(n){return o.bind(s.bindEither)(i.decodeJson(e)(f.value0[2]))(function(e){return o.bind(s.bindEither)(i.decodeJson(t)(f.value0[3]))(function(t){return a.pure(s.applicativeEither)(r(u)(n)(e)(t))})})})}):s.Left.create(c(b.unit))}}}}}})(un)(pn)(i.decodeJsonMaybe(i.decodeJsonInt))(function(n){return function(e){return function(t){return function(r){return new L(n,new h.Just(e),t)}}}})(D))(s.Left.create(D(b.unit)))(n))}if("ConstrainedType"===t){D=j("ForAll")(n);return sn(rn(dn)(pn)(k.create)(D))(s.Left.create(D(b.unit)))(n)}if("REmpty"===t)return new s.Right(O.value);if("RCons"===t){D=W("RCons")(n);return sn(an(C.decodeJsonIdentifier)(pn)(pn)(B.create)(d.const(D)))(new s.Left(D))(n)}if("BinaryNoParensType"===t){D=W("BinaryNoParens")(n);return sn(an(pn)(pn)(pn)(U.create)(d.const(D)))(new s.Left(D))(n)}return"ParensInType"===t?sn((y=v.map(s.functorEither)(q.create),g=i.decodeJson(pn),function(n){return y(g(n))}))(s.Left.create(W("ParensInType")(n)))(n):"TypeWildcard"===t?new s.Right(N.value):s.Left.create(W("Type")(n))})})}),dn=new i.DecodeJson(function(n){return v.map(s.functorEither)(M)(i.decodeJson(i.decodeRecord(i.gDecodeJsonCons(i.decodeArray(pn))(i.gDecodeJsonCons(on)(i.gDecodeJsonNil)(new g.IsSymbol(function(){return"constraintClass"}))()())(new g.IsSymbol(function(){return"constraintArgs"}))()())())(n))});t.Row=A,t.FunKind=E,t.NamedKind=F,t.TypeVar=P,t.TypeLevelString=I,t.TypeWildcard=N,t.TypeConstructor=J,t.TypeOp=x,t.TypeApp=R,t.ForAll=L,t.ConstrainedType=k,t.REmpty=O,t.RCons=B,t.BinaryNoParensType=U,t.ParensInType=q,t.joinForAlls=function(n){var e;return(e=w.Nil.value,function(n){for(var t,r,a,o=e,u=!1;!u;)r=o,t=(a=n)instanceof L?(o=new w.Cons({name:a.value0,mbKind:a.value1},r),void(n=a.value2)):(u=!0,{binders:r,ty:a});return t})(n)},t.joinRows=G,t.joinConstraints=V,t.encodeJsonQualifiedName=Z,t.decodeJsonKind=un,t.encodeJsonKind=K,t.decodeJsonConstraint=dn,t.encodeJsonConstraint=tn,t.decodeJsonType=pn,t.encodeJsonType=en,t.decodeJsonFunDeps=fn,t.encodeJsonFunDeps=X,t.newtypeTypeArgument=_,t.decodeJsonTypeArgument=cn,t.encodeJsonTypeArgument=$}(n),function(n){"use strict";n["Docs.Search.DocsJson"]=n["Docs.Search.DocsJson"]||{};var e=n["Docs.Search.DocsJson"],t=n["Control.Applicative"],r=n["Control.Bind"],a=n["Data.Argonaut.Core"],o=n["Data.Argonaut.Decode.Class"],u=n["Data.Argonaut.Decode.Combinators"],i=n["Data.Argonaut.Decode.Error"],c=n["Data.Argonaut.Encode.Class"],l=n["Data.Either"],f=n["Data.Functor"],s=n["Data.Maybe"],p=n["Data.Symbol"],d=n["Docs.Search.TypeDecoder"],v=function(){function n(){}return n.value=new n,n}(),m=function(){function n(){}return n.value=new n,n}(),w=function(){function n(){}return n.value=new n,n}(),h=function(){function n(){}return n.value=new n,n}(),y=function(){function n(){}return n.value=new n,n}(),g=function(){function n(){}return n.value=new n,n}(),D=function(){function n(){}return n.value=new n,n}(),b=function(){function n(){}return n.value=new n,n}(),C=function(){function n(){}return n.value=new n,n}(),S=function(){function n(){}return n.value=new n,n}(),A=function(){function n(){}return n.value=new n,n}(),E=function(){function n(){}return n.value=new n,n}(),F=function(n){return n},T=function(n){return n},M=function(n){return n},P=function(n){return l.Left.create(i.TypeMismatch.create(n))},I=new c.EncodeJson(function(n){return a.fromString(function(e){if(n instanceof b)return"newtype";if(n instanceof C)return"data";throw new Error("Failed pattern match at Docs.Search.DocsJson (line 208, column 31 - line 210, column 30): "+[n.constructor.name])}())}),N=new o.DecodeJson(function(n){var e=a.toString(n);if(e instanceof s.Nothing)return P("Couldn't decode DeclType: "+a.stringify(n));if(e instanceof s.Just)return"value"===e.value0?new l.Right(v.value):"data"===e.value0?new l.Right(m.value):"externData"===e.value0?new l.Right(w.value):"typeSynonym"===e.value0?new l.Right(h.value):"typeClass"===e.value0?new l.Right(y.value):"alias"===e.value0?new l.Right(g.value):"kind"===e.value0?new l.Right(D.value):P("Couldn't decode DeclType: "+e.value0);throw new Error("Failed pattern match at Docs.Search.DocsJson (line 154, column 5 - line 165, column 78): "+[e.constructor.name])}),J=new o.DecodeJson(function(n){var e=a.toString(n);if(e instanceof s.Just)return"newtype"===e.value0?new l.Right(b.value):"data"===e.value0?new l.Right(C.value):P("Couldn't decode DataDeclType: "+e.value0);if(e instanceof s.Nothing)return P("Couldn't decode DataDeclType: "+a.stringify(n));throw new Error("Failed pattern match at Docs.Search.DocsJson (line 214, column 5 - line 220, column 86): "+[e.constructor.name])}),x=new o.DecodeJson(function(n){var e=a.toString(n);if(e instanceof s.Nothing)return P("Couldn't decode ChildDeclType: "+a.stringify(n));if(e instanceof s.Just)return"instance"===e.value0?new l.Right(S.value):"dataConstructor"===e.value0?new l.Right(A.value):"typeClassMember"===e.value0?new l.Right(E.value):P("Couldn't decode ChildDeclType: "+e.value0);throw new Error("Failed pattern match at Docs.Search.DocsJson (line 187, column 5 - line 194, column 84): "+[e.constructor.name])}),R=new o.DecodeJson(function(n){return f.map(l.functorEither)(F)(r.bind(l.bindEither)(o.decodeJson(o.decodeForeignObject(o.decodeJsonJson))(n))(function(n){return r.bind(l.bindEither)(u.getField(o.decodeJsonString)(n)("title"))(function(e){return r.bind(l.bindEither)(u["getFieldOptional'"](o.decodeJsonString)(n)("comments"))(function(a){return r.bind(l.bindEither)(r.bind(l.bindEither)(u.getField(o.decodeForeignObject(o.decodeJsonJson))(n)("info"))(function(n){return r.bind(l.bindEither)(u["getFieldOptional'"](o.decodeArray(d.decodeJsonType))(n)("arguments"))(function(e){return r.bind(l.bindEither)(u["getFieldOptional'"](d.decodeJsonType)(n)("type"))(function(a){return r.bind(l.bindEither)(u.getField(x)(n)("declType"))(function(n){return t.pure(l.applicativeEither)({arguments:e,declType:n,type:a})})})})}))(function(i){return r.bind(l.bindEither)(u["getFieldOptional'"](o.decodeRecord(o.gDecodeJsonCons(o.decodeArray(o.decodeJsonInt))(o.gDecodeJsonCons(o.decodeJsonString)(o.gDecodeJsonCons(o.decodeArray(o.decodeJsonInt))(o.gDecodeJsonNil)(new p.IsSymbol(function(){return"start"}))()())(new p.IsSymbol(function(){return"name"}))()())(new p.IsSymbol(function(){return"end"}))()())())(n)("sourceSpan"))(function(n){return t.pure(l.applicativeEither)({title:e,comments:a,info:i,mbSourceSpan:n})})})})})}))}),L=new o.DecodeJson(function(n){return f.map(l.functorEither)(T)(r.bind(l.bindEither)(o.decodeJson(o.decodeForeignObject(o.decodeJsonJson))(n))(function(n){return r.bind(l.bindEither)(u.getField(o.decodeJsonString)(n)("title"))(function(e){return r.bind(l.bindEither)(u["getFieldOptional'"](o.decodeJsonString)(n)("comments"))(function(a){return r.bind(l.bindEither)(u.getField(o.decodeArray(R))(n)("children"))(function(i){return r.bind(l.bindEither)(r.bind(l.bindEither)(u.getField(o.decodeForeignObject(o.decodeJsonJson))(n)("info"))(function(n){return r.bind(l.bindEither)(u["getFieldOptional'"](d.decodeJsonType)(n)("type"))(function(e){return r.bind(l.bindEither)(u["getFieldOptional'"](d.decodeJsonKind)(n)("kind"))(function(a){return r.bind(l.bindEither)(u["getFieldOptional'"](o.decodeArray(d.decodeJsonTypeArgument))(n)("typeArguments"))(function(i){return r.bind(l.bindEither)(u["getFieldOptional'"](o.decodeArray(d.decodeJsonTypeArgument))(n)("arguments"))(function(c){return r.bind(l.bindEither)(u["getFieldOptional'"](o.decodeArray(d.decodeJsonConstraint))(n)("superclasses"))(function(o){return r.bind(l.bindEither)(u["getFieldOptional'"](d.decodeJsonFunDeps)(n)("fundeps"))(function(f){return r.bind(l.bindEither)(u.getField(N)(n)("declType"))(function(s){return r.bind(l.bindEither)(u["getFieldOptional'"](J)(n)("dataDeclType"))(function(n){return t.pure(l.applicativeEither)({type:e,kind:a,declType:s,typeArguments:i,superclasses:o,fundeps:f,arguments:c,dataDeclType:n})})})})})})})})})}))(function(c){return r.bind(l.bindEither)(u.getField(o.decodeJsonMaybe(o.decodeRecord(o.gDecodeJsonCons(o.decodeArray(o.decodeJsonInt))(o.gDecodeJsonCons(o.decodeJsonString)(o.gDecodeJsonCons(o.decodeArray(o.decodeJsonInt))(o.gDecodeJsonNil)(new p.IsSymbol(function(){return"start"}))()())(new p.IsSymbol(function(){return"name"}))()())(new p.IsSymbol(function(){return"end"}))()())()))(n)("sourceSpan"))(function(n){return t.pure(l.applicativeEither)({title:e,comments:a,info:c,sourceSpan:n,children:i})})})})})})}))}),k=new o.DecodeJson(function(n){return f.map(l.functorEither)(M)(o.decodeJson(o.decodeRecord(o.gDecodeJsonCons(o.decodeArray(L))(o.gDecodeJsonCons(o.decodeJsonString)(o.gDecodeJsonNil)(new p.IsSymbol(function(){return"name"}))()())(new p.IsSymbol(function(){return"declarations"}))()())())(n))});e.DeclValue=v,e.DeclData=m,e.DeclExternData=w,e.DeclTypeSynonym=h,e.DeclTypeClass=y,e.DeclAlias=g,e.DeclExternKind=D,e.ChildDeclDataConstructor=A,e.ChildDeclTypeClassMember=E,e.NewtypeDataDecl=b,e.DataDataDecl=C,e.decodeJsonDocsJson=k,e.encodeJsonDataDeclType=I}(n),function(n){"use strict";n["Web.Bower.PackageMeta"]=n["Web.Bower.PackageMeta"]||{};var e,t,r=n["Web.Bower.PackageMeta"],a=n["Control.Alt"],o=n["Control.Applicative"],u=n["Control.Bind"],i=n["Data.Argonaut.Core"],c=n["Data.Argonaut.Decode.Class"],l=n["Data.Argonaut.Decode.Combinators"],f=n["Data.Argonaut.Decode.Error"],s=n["Data.Either"],p=n["Data.Foldable"],d=n["Data.Functor"],v=n["Data.Maybe"],m=n["Data.Monoid"],w=n["Data.Newtype"],h=n["Data.Symbol"],y=n["Data.Unfoldable"],g=n["Foreign.Object"],D=function(n){return n},b=function(){function n(){}return n.value=new n,n}(),C=function(){function n(){}return n.value=new n,n}(),S=function(){function n(){}return n.value=new n,n}(),A=function(){function n(){}return n.value=new n,n}(),E=function(){function n(){}return n.value=new n,n}(),F=function(n){return n},T=new w.Newtype(function(n){return n},function(n){return n}),M=new w.Newtype(function(n){return n},F),P=m.monoidArray,I=m.monoidArray,N=function(n){return{name:n.name,description:n.description,main:p.fold(p.foldableMaybe)(m.monoidArray)(n.main),moduleType:p.fold(p.foldableMaybe)(m.monoidArray)(n.moduleType),license:p.fold(p.foldableMaybe)(m.monoidArray)(n.license),ignore:p.fold(p.foldableMaybe)(m.monoidArray)(n.ignore),keywords:p.fold(p.foldableMaybe)(m.monoidArray)(n.keywords),resolutions:p.fold(p.foldableMaybe)(P)(n.resolutions),private:v.fromMaybe(!1)(n.private),dependencies:p.fold(p.foldableMaybe)(I)(n.dependencies),devDependencies:p.fold(p.foldableMaybe)(I)(n.devDependencies),repository:n.repository,authors:p.fold(p.foldableMaybe)(m.monoidArray)(n.authors),homepage:n.homepage}},J=function(n){return function(e){if(e instanceof v.Just)return d.map(s.functorEither)(v.Just.create)(function(n){return function(e){return a.alt(s.altEither)(d.map(s.functorEither)(o.pure(o.applicativeArray))(c.decodeJson(n)(e)))(c.decodeJson(c.decodeArray(n))(e))}}(n)(e.value0));if(e instanceof v.Nothing)return new s.Right(v.Nothing.value);throw new Error("Failed pattern match at Web.Bower.PackageMeta (line 377, column 19 - line 379, column 41): "+[e.constructor.name])}},x=new c.DecodeJson(function(n){return d.map(s.functorEither)(d.map(d.functorFn)(D)(function(n){return d.mapFlipped(d.functorArray)(g.toUnfoldable(y.unfoldableArray)(n))(function(n){return{packageName:n.value0,version:n.value1}})}))(c.decodeJson(c.decodeForeignObject(c.decodeJsonString))(n))}),R=new c.DecodeJson(function(n){return i.caseJsonString(new s.Left(new f.Named("Incorrect module format: ",new f.TypeMismatch("String"))))(function(n){return"globals"===n?new s.Right(b.value):"amd"===n?new s.Right(C.value):"node"===n?new s.Right(S.value):"es6"===n?new s.Right(A.value):"yui"===n?new s.Right(E.value):new s.Left(new f.Named("Incorrect module format: ",new f.UnexpectedValue(i.fromString(n))))})(n)}),L=new c.DecodeJson(function(n){return d.map(s.functorEither)(d.map(d.functorFn)(F)(function(n){return d.mapFlipped(d.functorArray)(g.toUnfoldable(y.unfoldableArray)(n))(function(n){return{packageName:n.value0,versionRange:n.value1}})}))(c.decodeJson(c.decodeForeignObject(c.decodeJsonString))(n))}),k=new c.DecodeJson(function(n){return i.caseJsonString(u.bind(s.bindEither)(c.decodeJson(c.decodeForeignObject(c.decodeJsonJson))(n))(function(n){return u.bind(s.bindEither)(l["getFieldOptional'"](c.decodeJsonString)(n)("name"))(function(e){return u.bind(s.bindEither)(l["getFieldOptional'"](c.decodeJsonString)(n)("email"))(function(t){return u.bind(s.bindEither)(l["getFieldOptional'"](c.decodeJsonString)(n)("homepage"))(function(n){return o.pure(s.applicativeEither)({name:e,email:t,homepage:n})})})})}))(function(n){return o.pure(s.applicativeEither)({name:new v.Just(n),email:v.Nothing.value,homepage:v.Nothing.value})})(n)}),O=new c.DecodeJson(function(n){return u.bind(s.bindEither)(c.decodeJson(c.decodeForeignObject(c.decodeJsonJson))(n))(function(n){return u.bind(s.bindEither)(l.getField(c.decodeJsonString)(n)("name"))(function(e){return u.bind(s.bindEither)(l["getFieldOptional'"](c.decodeJsonString)(n)("description"))(function(t){return u.bind(s.bindEither)(u.bindFlipped(s.bindEither)(J(c.decodeJsonString))(l["getFieldOptional'"](c.decodeJsonJson)(n)("main")))(function(r){return u.bind(s.bindEither)(u.bindFlipped(s.bindEither)(J(R))(l["getFieldOptional'"](c.decodeJsonJson)(n)("moduleType")))(function(a){return u.bind(s.bindEither)(u.bindFlipped(s.bindEither)(J(c.decodeJsonString))(l["getFieldOptional'"](c.decodeJsonJson)(n)("license")))(function(i){return u.bind(s.bindEither)(l["getFieldOptional'"](c.decodeArray(c.decodeJsonString))(n)("ignore"))(function(f){return u.bind(s.bindEither)(l["getFieldOptional'"](c.decodeArray(c.decodeJsonString))(n)("keywords"))(function(p){return u.bind(s.bindEither)(l["getFieldOptional'"](L)(n)("dependencies"))(function(d){return u.bind(s.bindEither)(l["getFieldOptional'"](L)(n)("devDependencies"))(function(v){return u.bind(s.bindEither)(l["getFieldOptional'"](x)(n)("resolutions"))(function(m){return u.bind(s.bindEither)(l["getFieldOptional'"](c.decodeJsonBoolean)(n)("private"))(function(w){return u.bind(s.bindEither)(l["getFieldOptional'"](c.decodeRecord(c.gDecodeJsonCons(c.decodeJsonString)(c.gDecodeJsonCons(c.decodeJsonString)(c.gDecodeJsonNil)(new h.IsSymbol(function(){return"url"}))()())(new h.IsSymbol(function(){return"type"}))()())())(n)("repository"))(function(h){return u.bind(s.bindEither)(l["getFieldOptional'"](c.decodeArray(k))(n)("authors"))(function(y){return u.bind(s.bindEither)(l["getFieldOptional'"](c.decodeJsonString)(n)("homepage"))(function(n){return o.pure(s.applicativeEither)({name:e,description:t,main:r,moduleType:a,license:i,ignore:f,keywords:p,resolutions:m,private:w,dependencies:d,devDependencies:v,repository:h,authors:y,homepage:n})})})})})})})})})})})})})})})})}),B=new c.DecodeJson((e=d.map(s.functorEither)(N),t=c.decodeJson(O),function(n){return e(t(n))}));r.newtypePackageMeta=T,r.decodeJsonPackageMeta=B,r.newtypeDependencies=M}(n),function(n){"use strict";n["Docs.Search.Score"]=n["Docs.Search.Score"]||{};var e,t=n["Docs.Search.Score"],r=n["Data.Foldable"],a=n["Data.Functor"],o=n["Data.Map.Internal"],u=n["Data.Maybe"],i=n["Data.Monoid"],c=n["Data.Newtype"],l=n["Data.Semiring"],f=n["Data.String.CodeUnits"],s=n["Data.String.Pattern"],p=n["Docs.Search.Types"],d=n["Web.Bower.PackageMeta"],v=function(n){return u.fromMaybe(n)(a.map(u.functorMaybe)(c.wrap(p.newtypePackageName))(f.stripPrefix(c.wrap(s.newtypePattern)("purescript-"))(n)))},m=(e=function(n){return function(e){return r.foldr(r.foldableArray)(function(n){return o.insertWith(p.ordPackageName)(l.add(p.semiringPackageScore))(n)(l.one(p.semiringPackageScore))})(e)(a.map(a.functorArray)(function(n){return v(p.RawPackageName(n.packageName))})(c.unwrap(d.newtypeDependencies)(n)))}},r.foldr(r.foldableArray)(function(n){var t=e(c.unwrap(d.newtypePackageMeta)(n).devDependencies),r=e(c.unwrap(d.newtypePackageMeta)(n).dependencies);return function(n){return t(r(n))}})(i.mempty(o.monoidMap(p.ordPackageName)))),w=function(n){return function(e){return u.fromMaybe(l.zero(p.semiringPackageScore))(o.lookup(p.ordPackageName)(e)(n))}};t.normalizePackageName=v,t.mkScores=m,t.getPackageScore=function(n){return function(e){if(e instanceof p.Package)return w(n)(e.value0);if(e instanceof p.Builtin)return 1e5;if(e instanceof p.LocalPackage)return 2e5;if(e instanceof p.UnknownPackage)return l.zero(p.semiringPackageScore);throw new Error("Failed pattern match at Docs.Search.Score (line 44, column 26 - line 48, column 25): "+[e.constructor.name])}},t.getPackageScoreForPackageName=w}(n),function(n){"use strict";n["Docs.Search.SearchResult"]=n["Docs.Search.SearchResult"]||{};var e,t=n["Docs.Search.SearchResult"],r=n["Data.Argonaut.Encode.Class"],a=n["Data.Argonaut.Encode.Generic.Rep"],o=n["Data.Generic.Rep"],u=n["Data.Maybe"],i=n["Data.Newtype"],c=n["Data.Symbol"],l=n["Docs.Search.DocsJson"],f=n["Docs.Search.TypeDecoder"],s=n["Docs.Search.Types"],p=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),d=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),v=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),m=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),w=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),h=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),y=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),g=function(){function n(){}return n.value=new n,n}(),D=function(){function n(){}return n.value=new n,n}(),b=function(){function n(){}return n.value=new n,n}(),C=function(n){return n},S=new i.Newtype(function(n){return n},C),A=(e=i.un(S)(C),function(n){return(t=e(n).info)instanceof v?new u.Just(t.value0.type):t instanceof w?new u.Just(t.value0.type):t instanceof y?new u.Just(t.value0.type):u.Nothing.value;var t}),E=new o.Generic(function(n){return n},function(n){return n}),F=new o.Generic(function(n){if(n instanceof p)return new o.Inl(n.value0);if(n instanceof d)return new o.Inr(new o.Inl(n.value0));if(n instanceof v)return new o.Inr(new o.Inr(new o.Inl(n.value0)));if(n instanceof m)return new o.Inr(new o.Inr(new o.Inr(new o.Inl(n.value0))));if(n instanceof w)return new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inl(n.value0)))));if(n instanceof h)return new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inl(n.value0))))));if(n instanceof y)return new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inl(n.value0)))))));if(n instanceof g)return new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inl(o.NoArguments.value))))))));if(n instanceof D)return new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inl(o.NoArguments.value)))))))));if(n instanceof b)return new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(new o.Inr(o.NoArguments.value)))))))));throw new Error("Failed pattern match at Docs.Search.SearchResult (line 37, column 1 - line 37, column 58): "+[n.constructor.name])},function(n){if(n instanceof o.Inl)return new p(n.value0);if(n instanceof o.Inr&&n.value0 instanceof o.Inl)return new d(n.value0.value0);if(n instanceof o.Inr&&n.value0 instanceof o.Inr&&n.value0.value0 instanceof o.Inl)return new v(n.value0.value0.value0);if(n instanceof o.Inr&&n.value0 instanceof o.Inr&&n.value0.value0 instanceof o.Inr&&n.value0.value0.value0 instanceof o.Inl)return new m(n.value0.value0.value0.value0);if(n instanceof o.Inr&&n.value0 instanceof o.Inr&&n.value0.value0 instanceof o.Inr&&n.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0 instanceof o.Inl)return new w(n.value0.value0.value0.value0.value0);if(n instanceof o.Inr&&n.value0 instanceof o.Inr&&n.value0.value0 instanceof o.Inr&&n.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0 instanceof o.Inl)return new h(n.value0.value0.value0.value0.value0.value0);if(n instanceof o.Inr&&n.value0 instanceof o.Inr&&n.value0.value0 instanceof o.Inr&&n.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0.value0 instanceof o.Inl)return new y(n.value0.value0.value0.value0.value0.value0.value0);if(n instanceof o.Inr&&n.value0 instanceof o.Inr&&n.value0.value0 instanceof o.Inr&&n.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0.value0.value0 instanceof o.Inl)return g.value;if(n instanceof o.Inr&&n.value0 instanceof o.Inr&&n.value0.value0 instanceof o.Inr&&n.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0.value0.value0.value0 instanceof o.Inl)return D.value;if(n instanceof o.Inr&&n.value0 instanceof o.Inr&&n.value0.value0 instanceof o.Inr&&n.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0.value0.value0 instanceof o.Inr&&n.value0.value0.value0.value0.value0.value0.value0.value0 instanceof o.Inr)return b.value;throw new Error("Failed pattern match at Docs.Search.SearchResult (line 37, column 1 - line 37, column 58): "+[n.constructor.name])}),T=new r.EncodeJson(a.genericEncodeJson(F)(a.encodeRepSum(a.encodeRepConstructor(new c.IsSymbol(function(){return"DataResult"}))(a.encodeRepArgsArgument(r.encodeRecord(r.gEncodeJsonCons(l.encodeJsonDataDeclType)(r.gEncodeJsonCons(r.encodeJsonArray(f.encodeJsonTypeArgument))(r.gEncodeJsonNil)(new c.IsSymbol(function(){return"typeArguments"}))())(new c.IsSymbol(function(){return"dataDeclType"}))())())))(a.encodeRepSum(a.encodeRepConstructor(new c.IsSymbol(function(){return"ExternDataResult"}))(a.encodeRepArgsArgument(r.encodeRecord(r.gEncodeJsonCons(f.encodeJsonKind)(r.gEncodeJsonNil)(new c.IsSymbol(function(){return"kind"}))())())))(a.encodeRepSum(a.encodeRepConstructor(new c.IsSymbol(function(){return"TypeSynonymResult"}))(a.encodeRepArgsArgument(r.encodeRecord(r.gEncodeJsonCons(r.encodeJsonArray(f.encodeJsonTypeArgument))(r.gEncodeJsonCons(f.encodeJsonType)(r.gEncodeJsonNil)(new c.IsSymbol(function(){return"type"}))())(new c.IsSymbol(function(){return"arguments"}))())())))(a.encodeRepSum(a.encodeRepConstructor(new c.IsSymbol(function(){return"DataConstructorResult"}))(a.encodeRepArgsArgument(r.encodeRecord(r.gEncodeJsonCons(r.encodeJsonArray(f.encodeJsonType))(r.gEncodeJsonNil)(new c.IsSymbol(function(){return"arguments"}))())())))(a.encodeRepSum(a.encodeRepConstructor(new c.IsSymbol(function(){return"TypeClassMemberResult"}))(a.encodeRepArgsArgument(r.encodeRecord(r.gEncodeJsonCons(f.encodeJsonType)(r.gEncodeJsonCons(f.encodeJsonQualifiedName)(r.gEncodeJsonCons(r.encodeJsonArray(f.encodeJsonTypeArgument))(r.gEncodeJsonNil)(new c.IsSymbol(function(){return"typeClassArguments"}))())(new c.IsSymbol(function(){return"typeClass"}))())(new c.IsSymbol(function(){return"type"}))())())))(a.encodeRepSum(a.encodeRepConstructor(new c.IsSymbol(function(){return"TypeClassResult"}))(a.encodeRepArgsArgument(r.encodeRecord(r.gEncodeJsonCons(r.encodeJsonArray(f.encodeJsonTypeArgument))(r.gEncodeJsonCons(f.encodeJsonFunDeps)(r.gEncodeJsonCons(r.encodeJsonArray(f.encodeJsonConstraint))(r.gEncodeJsonNil)(new c.IsSymbol(function(){return"superclasses"}))())(new c.IsSymbol(function(){return"fundeps"}))())(new c.IsSymbol(function(){return"arguments"}))())())))(a.encodeRepSum(a.encodeRepConstructor(new c.IsSymbol(function(){return"ValueResult"}))(a.encodeRepArgsArgument(r.encodeRecord(r.gEncodeJsonCons(f.encodeJsonType)(r.gEncodeJsonNil)(new c.IsSymbol(function(){return"type"}))())())))(a.encodeRepSum(a.encodeRepConstructor(new c.IsSymbol(function(){return"ValueAliasResult"}))(a.encodeRepArgsNoArguments))(a.encodeRepSum(a.encodeRepConstructor(new c.IsSymbol(function(){return"TypeAliasResult"}))(a.encodeRepArgsNoArguments))(a.encodeRepConstructor(new c.IsSymbol(function(){return"ExternKindResult"}))(a.encodeRepArgsNoArguments)))))))))))),M=new r.EncodeJson(a.genericEncodeJson(E)(a.encodeRepConstructor(new c.IsSymbol(function(){return"SearchResult"}))(a.encodeRepArgsArgument(r.encodeRecord(r.gEncodeJsonCons(r.encodeJsonMaybe(r.encodeJsonJString))(r.gEncodeJsonCons(r.encodeJsonJString)(r.gEncodeJsonCons(T)(r.gEncodeJsonCons(s.encodeJsonModuleName)(r.gEncodeJsonCons(s.encodeJsonIdentifier)(r.gEncodeJsonCons(s.encodeJsonPackageInfo)(r.gEncodeJsonCons(s.encodeJsonPackageScore)(r.gEncodeJsonCons(r.encodeJsonMaybe(r.encodeRecord(r.gEncodeJsonCons(r.encodeJsonArray(r.encodeJsonInt))(r.gEncodeJsonCons(r.encodeJsonJString)(r.gEncodeJsonCons(r.encodeJsonArray(r.encodeJsonInt))(r.gEncodeJsonNil)(new c.IsSymbol(function(){return"start"}))())(new c.IsSymbol(function(){return"name"}))())(new c.IsSymbol(function(){return"end"}))())()))(r.gEncodeJsonNil)(new c.IsSymbol(function(){return"sourceSpan"}))())(new c.IsSymbol(function(){return"score"}))())(new c.IsSymbol(function(){return"packageInfo"}))())(new c.IsSymbol(function(){return"name"}))())(new c.IsSymbol(function(){return"moduleName"}))())(new c.IsSymbol(function(){return"info"}))())(new c.IsSymbol(function(){return"hashAnchor"}))())(new c.IsSymbol(function(){return"comments"}))())()))));t.DataResult=p,t.ExternDataResult=d,t.TypeSynonymResult=v,t.DataConstructorResult=m,t.TypeClassMemberResult=w,t.TypeClassResult=h,t.ValueResult=y,t.ValueAliasResult=g,t.TypeAliasResult=D,t.ExternKindResult=b,t.typeOfResult=A,t.newtypeSearchResult=S,t.encodeJsonSearchResult=M}(n),function(n){"use strict";n["Docs.Search.Declarations"]=n["Docs.Search.Declarations"]||{};var e=n["Docs.Search.Declarations"],t=n["Control.Alt"],r=n["Control.Apply"],a=n["Control.Bind"],o=n["Control.Category"],u=n["Control.Semigroupoid"],i=n["Data.Array"],c=n["Data.Boolean"],l=n["Data.Eq"],f=n["Data.Foldable"],s=n["Data.Functor"],p=n["Data.List"],d=n["Data.List.Types"],v=n["Data.Maybe"],m=n["Data.Monoid"],w=n["Data.Newtype"],h=n["Data.Ord"],y=n["Data.Search.Trie.Internal"],g=n["Data.Semigroup"],D=n["Data.Semiring"],b=n["Data.String.CodeUnits"],C=n["Data.String.Common"],S=n["Data.String.Pattern"],A=n["Data.Unfoldable"],E=n["Docs.Search.DocsJson"],F=n["Docs.Search.Score"],T=n["Docs.Search.SearchResult"],M=n["Docs.Search.TypeDecoder"],P=n["Docs.Search.Types"],I=function(n){return n},N=function(){function n(){}return n.value=new n,n}(),J=function(){function n(){}return n.value=new n,n}(),x=function(){function n(){}return n.value=new n,n}(),R=new w.Newtype(function(n){return n},I),L=function(n){return function(e){return function(t){return function(r){return function(a){var i=function(n){return function(e){var t;return e.info.declType instanceof E.ChildDeclDataConstructor?s.mapFlipped(v.functorMaybe)(e.info.arguments)(function(n){return new T.DataConstructorResult({arguments:n})}):(t=function(t){if(c.otherwise)return v.Nothing.value;throw new Error("Failed pattern match at Docs.Search.Declarations (line 239, column 1 - line 242, column 22): "+[n.constructor.name,e.constructor.name])},e.info.declType instanceof E.ChildDeclTypeClassMember&&n.info instanceof T.TypeClassResult?s.mapFlipped(v.functorMaybe)(e.info.type)(function(e){var t,r=M.joinForAlls(e),a={moduleNameParts:C.split(w.wrap(S.newtypePattern)("."))(w.unwrap(P.newtypeModuleName)(n.moduleName)),name:n.name},i=g.append(g.semigroupArray)(s.mapFlipped(s.functorArray)(n.info.value0.arguments)(w.unwrap(M.newtypeTypeArgument)))(p.toUnfoldable(A.unfoldableArray)(r.binders)),c=f.foldr(f.foldableArray)(function(n){return u.compose(u.semigroupoidFn)(function(e){return new M.ForAll(n.name,n.mbKind,e)})})(o.identity(o.categoryFn))(i)(new M.ConstrainedType({constraintClass:a,constraintArgs:s.mapFlipped(s.functorArray)(n.info.value0.arguments)((t=w.unwrap(M.newtypeTypeArgument),function(n){return M.TypeVar.create(t(n).name)}))},r.ty));return new T.TypeClassMemberResult({type:c,typeClass:a,typeClassArguments:n.info.value0.arguments})}):t())}}(r)(a);return i instanceof v.Just?p.singleton({path:a.title,result:{name:a.title,comments:a.comments,hashAnchor:"v",moduleName:t,sourceSpan:a.mbSourceSpan,packageInfo:e,score:F.getPackageScore(n)(e),info:i.value0}}):function(o){if(c.otherwise)return m.mempty(d.monoidList);throw new Error("Failed pattern match at Docs.Search.Declarations (line 211, column 1 - line 217, column 53): "+[n.constructor.name,e.constructor.name,t.constructor.name,r.constructor.name,a.constructor.name])}()}}}}},k=function(n){return function(e){var t=p.fromFoldable(f.foldableArray)(b.toCharArray(C.toLower(n.path)));return y.alter(h.ordChar)(t)(function(e){return v.Just.create((t=e)instanceof v.Just?new d.Cons(n.result,t.value0):function(e){if(c.otherwise)return p.singleton(n.result);throw new Error("Failed pattern match at Docs.Search.Declarations (line 56, column 1 - line 61, column 35): "+[t.constructor.name])}());var t})(e)}},O=function(n){if(n instanceof N)return"v";if(n instanceof J)return"t";if(n instanceof x)return"k";throw new Error("Failed pattern match at Docs.Search.Declarations (line 159, column 25 - line 162, column 20): "+[n.constructor.name])},B=function(n){return function(e){return function(o){var u,w=function(n){return function(e){if(n instanceof E.DeclValue)return{name:e,declLevel:N.value};if(n instanceof E.DeclData)return{name:e,declLevel:J.value};if(n instanceof E.DeclTypeSynonym)return{name:e,declLevel:J.value};if(n instanceof E.DeclTypeClass)return{name:e,declLevel:J.value};if(n instanceof E.DeclAlias){var r=function(n){return function(e){return{declLevel:n,name:e}}};return v.fromMaybe(r(N.value)(e))(t.alt(v.altMaybe)(s.map(v.functorMaybe)(r(N.value))(a.composeKleisli(v.bindMaybe)(b.stripPrefix("("))(b.stripSuffix(")"))(e)))(s.map(v.functorMaybe)(r(J.value))(a.composeKleisli(v.bindMaybe)(b.stripPrefix("type ("))(b.stripSuffix(")"))(e))))}if(n instanceof E.DeclExternData)return{name:e,declLevel:J.value};if(n instanceof E.DeclExternKind)return{name:e,declLevel:x.value};throw new Error("Failed pattern match at Docs.Search.Declarations (line 165, column 1 - line 170, column 7): "+[n.constructor.name,e.constructor.name])}}(o.info.declType)(o.title),h=function(n){return function(e){if(l.eq(v.eqMaybe(l.eqString))(i.index(C.split(".")(n))(0))(new v.Just("Prim")))return P.Builtin.value;if(e instanceof v.Nothing)return P.UnknownPackage.value;if(e instanceof v.Just){var t=C.split("/")(e.value0.name);return v.fromMaybe(P.LocalPackage.value)(a.bind(v.bindMaybe)(i.index(t)(0))(function(n){return".spago"===n?s.map(v.functorMaybe)(function(n){return P.Package.create(P.PackageName(n))})(i.index(t)(1)):a.bind(v.bindMaybe)(i.findIndex(function(n){return"bower_components"===n})(t))(function(n){return s.map(v.functorMaybe)(function(n){return P.Package.create(P.PackageName(n))})(i.index(t)(n+1|0))})}))}throw new Error("Failed pattern match at Docs.Search.Declarations (line 195, column 1 - line 195, column 68): "+[n.constructor.name,e.constructor.name])}}(e)(o.sourceSpan),y=h instanceof P.Package?new v.Just(h.value0):v.Nothing.value,S=(u=w.declLevel,function(n){if(n.info.declType instanceof E.DeclValue)return s.mapFlipped(v.functorMaybe)(n.info.type)(function(n){return new T.ValueResult({type:n})});if(n.info.declType instanceof E.DeclData){var e=function(n){return function(e){return new T.DataResult({typeArguments:n,dataDeclType:e})}};return r.apply(v.applyMaybe)(s.map(v.functorMaybe)(e)(n.info.typeArguments))(n.info.dataDeclType)}if(n.info.declType instanceof E.DeclExternData)return s.mapFlipped(v.functorMaybe)(n.info.kind)(function(n){return new T.ExternDataResult({kind:n})});if(n.info.declType instanceof E.DeclTypeSynonym)return e=function(n){return function(e){return new T.TypeSynonymResult({type:n,arguments:e})}},r.apply(v.applyMaybe)(s.map(v.functorMaybe)(e)(n.info.type))(n.info.arguments);var t=function(e){if(n.info.declType instanceof E.DeclTypeClass&&c.otherwise)return v.Nothing.value;if(n.info.declType instanceof E.DeclAlias)return u instanceof J?new v.Just(T.TypeAliasResult.value):u instanceof N?new v.Just(T.ValueAliasResult.value):v.Nothing.value;if(n.info.declType instanceof E.DeclExternKind)return new v.Just(T.ExternKindResult.value);throw new Error("Failed pattern match at Docs.Search.Declarations (line 115, column 1 - line 115, column 55): "+[n.info.declType.constructor.name])};return n.info.declType instanceof E.DeclTypeClass&&n.info.fundeps instanceof v.Just&&n.info.arguments instanceof v.Just&&n.info.superclasses instanceof v.Just?v.Just.create(new T.TypeClassResult({fundeps:n.info.fundeps.value0,arguments:n.info.arguments.value0,superclasses:n.info.superclasses.value0})):t()})(o);if(S instanceof v.Nothing)return m.mempty(d.monoidList);if(S instanceof v.Just){var A={name:o.title,comments:o.comments,hashAnchor:O(w.declLevel),moduleName:e,sourceSpan:o.sourceSpan,packageInfo:h,score:v.fromMaybe(D.zero(P.semiringPackageScore))(s.map(v.functorMaybe)(F.getPackageScoreForPackageName(n))(y)),info:S.value0};return g.append(d.semigroupList)(p.singleton({path:w.name,result:A}))(a.bind(d.bindList)(p.fromFoldable(f.foldableArray)(o.children))(L(n)(h)(e)(A)))}throw new Error("Failed pattern match at Docs.Search.Declarations (line 83, column 3 - line 104, column 13): "+[S.constructor.name])}}},U=function(n){return function(e){return function(t){return f.foldr(f.foldableArray)(function(n){return function(e){return function(t){return function(r){return f.foldr(d.foldableList)(k)(r)(B(n)(e)(t))}}}}(n)(e.name))(t)(e.declarations)}}};e.mkDeclarations=function(n){var e=f.foldr(f.foldableArray)(U(n))(m.mempty(y.monoidTrie(h.ordChar)));return function(n){return I(e(n))}},e.resultsForDeclaration=B,e.newtypeDeclarations=R}(n),function(n){"use strict";n["Docs.Search.Extra"]=n["Docs.Search.Extra"]||{};var e,t=n["Docs.Search.Extra"],r=n["Data.Foldable"],a=n["Data.Function"],o=n["Data.List"],u=n["Data.List.NonEmpty"],i=n["Data.List.Types"],c=n["Data.Maybe"],l=n["Data.String.CodeUnits"],f=(e=o.fromFoldable(r.foldableArray),function(n){return e(l.toCharArray(n))});t.foldMapFlipped=function(n){return function(e){return a.flip(r.foldMap(n)(e))}},t.foldl1=function(n){return function(e){var t=u.uncons(e);return r.foldl(i.foldableList)(n)(t.head)(t.tail)}},t.foldr1=function(n){var e;return e=i.Nil.value,function(t){var l,f=e,s=!1;function p(e,l){var p=u.uncons(l),d=o.uncons(p.tail);if(d instanceof c.Nothing)return s=!0,r.foldl(i.foldableList)(a.flip(n))(p.head)(e);if(d instanceof c.Just)return f=new i.Cons(p.head,e),void(t=u["cons'"](d.value0.head)(d.value0.tail));throw new Error("Failed pattern match at Docs.Search.Extra (line 32, column 25 - line 35, column 46): "+[d.constructor.name])}for(;!s;)l=p(f,t);return l}},t.stringToList=f}(n),function(n){"use strict";n["Text.Parsing.StringParser"]=n["Text.Parsing.StringParser"]||{};var e=n["Text.Parsing.StringParser"],t=n["Control.Alt"],r=n["Control.Alternative"],a=n["Control.Applicative"],o=n["Control.Apply"],u=n["Control.Bind"],i=n["Control.Lazy"],c=n["Control.Monad"],l=n["Control.Monad.Rec.Class"],f=n["Control.Plus"],s=n["Data.Bifunctor"],p=n["Data.Boolean"],d=n["Data.Either"],v=n["Data.Functor"],m=n["Data.Unit"],w=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),h=function(n){return n},y=new i.Lazy(function(n){return function(e){return h(n(m.unit))(e)}}),g=new v.Functor(function(n){return function(e){var t=v.map(d.functorEither)(function(e){return{result:n(e.result),suffix:e.suffix}});return function(n){return t(e(n))}}}),D=function(n){return function(e){return new d.Left({pos:e.pos,error:new w(n)})}},b=new o.Apply(function(){return g},function(n){return function(e){return function(t){return u.bind(d.bindEither)(n(t))(function(n){return u.bind(d.bindEither)(e(n.suffix))(function(e){return a.pure(d.applicativeEither)({result:n.result(e.result),suffix:e.suffix})})})}}}),C=new u.Bind(function(){return b},function(n){return function(e){return function(t){return u.bind(d.bindEither)(n(t))(function(n){return h(e(n.result))(n.suffix)})}}}),S=new a.Applicative(function(){return b},function(n){return function(e){return new d.Right({result:n,suffix:e})}}),A=new c.Monad(function(){return S},function(){return C}),E=new l.MonadRec(function(){return A},function(n){return function(e){var t=function(n){if(n.result instanceof l.Loop)return new l.Loop({state:n.result.value0,str:n.suffix});if(n.result instanceof l.Done)return new l.Done({result:n.result.value0,suffix:n.suffix});throw new Error("Failed pattern match at Text.Parsing.StringParser (line 88, column 7 - line 88, column 70): "+[n.constructor.name])};return function(r){return l.tailRecM(l.monadRecEither)(function(e){return v.map(d.functorEither)(t)(h(n(e.state))(e.str))})({state:e,str:r})}}}),F=new t.Alt(function(){return g},function(n){return function(e){return function(t){var r=n(t);if(r instanceof d.Left){if(t.pos===r.value0.pos)return e(t);if(p.otherwise)return new d.Left({error:r.value0.error,pos:r.value0.pos})}return r}}}),T=new f.Plus(function(){return F},D("No alternative")),M=new r.Alternative(function(){return S},function(){return T});e.ParseError=w,e.runParser=function(n){return function(e){return s.bimap(d.bifunctorEither)(function(n){return n.error})(function(n){return n.result})(n({str:e,pos:0}))}},e.fail=D,e.try=function(n){return function(e){return s.lmap(d.bifunctorEither)(function(n){return{pos:e.pos,error:n.error}})(n(e))}},e.functorParser=g,e.applyParser=b,e.applicativeParser=S,e.altParser=F,e.alternativeParser=M,e.bindParser=C,e.monadRecParser=E,e.lazyParser=y}(n),function(n){"use strict";n["Text.Parsing.StringParser.Combinators"]=n["Text.Parsing.StringParser.Combinators"]||{};var e=n["Text.Parsing.StringParser.Combinators"],t=n["Control.Alt"],r=n["Control.Applicative"],a=n["Control.Apply"],o=n["Control.Bind"],u=n["Data.Functor"],i=n["Data.List"],c=n["Data.List.NonEmpty"],l=n["Data.List.Types"],f=n["Data.NonEmpty"],s=n["Text.Parsing.StringParser"],p=i.manyRec(s.monadRecParser)(s.alternativeParser),d=function(n){return function(e){return new f.NonEmpty(n,e)}},v=function(n){return function(e){return o.bind(s.bindParser)(n)(function(t){return o.bind(s.bindParser)(p(a.applySecond(s.applyParser)(e)(n)))(function(n){return r.pure(s.applicativeParser)(d(t)(n))})})}},m=function(n){return function(e){return o.bind(s.bindParser)(n)(function(a){return t.alt(s.altParser)(o.bind(s.bindParser)(e)(function(){return o.bind(s.bindParser)(w(n)(e))(function(n){return r.pure(s.applicativeParser)(d(a)(n))})}))(r.pure(s.applicativeParser)(c.singleton(a)))})}},w=function(n){return function(e){return t.alt(s.altParser)(u.map(s.functorParser)(c.toList)(m(n)(e)))(r.pure(s.applicativeParser)(l.Nil.value))}};e.many=p,e.withError=function(n){return function(e){return t.alt(s.altParser)(n)(s.fail(e))}},e.sepBy=function(n){return function(e){return t.alt(s.altParser)(u.map(s.functorParser)(c.toList)(v(n)(e)))(r.pure(s.applicativeParser)(l.Nil.value))}},e.sepBy1=v,e.sepEndBy=w,e.sepEndBy1=m}(n),function(n){"use strict";n["Text.Parsing.StringParser.CodePoints"]=n["Text.Parsing.StringParser.CodePoints"]||{};var e,t,r=n["Text.Parsing.StringParser.CodePoints"],a=n["Control.Alt"],o=n["Control.Applicative"],u=n["Control.Bind"],i=n["Data.Array"],c=n["Data.Char"],l=n["Data.Either"],f=n["Data.Enum"],s=n["Data.Eq"],p=n["Data.Foldable"],d=n["Data.Functor"],v=n["Data.List.Types"],m=n["Data.Maybe"],w=n["Data.Monoid"],h=n["Data.Show"],y=n["Data.String.CodePoints"],g=n["Data.String.CodeUnits"],D=n["Data.Unit"],b=n["Text.Parsing.StringParser"],C=n["Text.Parsing.StringParser.Combinators"],S=(e=f.fromEnum(y.boundedEnumCodePoint),t=function(n){return c.fromCharCode(e(n))},function(n){var e=y.codePointAt(n.pos)(n.str);if(e instanceof m.Just){var r=t(e.value0);if(r instanceof m.Just)return new l.Right({result:r.value0,suffix:{str:n.str,pos:n.pos+1|0}});if(r instanceof m.Nothing)return new l.Left({pos:n.pos,error:b.ParseError.create("CodePoint "+h.show(y.showCodePoint)(e.value0)+" is not a character")});throw new Error("Failed pattern match at Text.Parsing.StringParser.CodePoints (line 53, column 16 - line 55, column 100): "+[r.constructor.name])}if(e instanceof m.Nothing)return new l.Left({pos:n.pos,error:new b.ParseError("Unexpected EOF")});throw new Error("Failed pattern match at Text.Parsing.StringParser.CodePoints (line 52, column 3 - line 56, column 64): "+[e.constructor.name])}),A=b.try(u.bind(b.bindParser)(S)(function(n){return n>="0"&&n<="9"?o.pure(b.applicativeParser)(n):b.fail("Character "+h.show(h.showChar)(n)+" is not a digit")})),E=b.try(u.bind(b.bindParser)(S)(function(n){return p.elem(p.foldableArray)(s.eqInt)(c.toCharCode(n))(i.range(97)(122))?o.pure(b.applicativeParser)(n):b.fail("Expected a lower case character but found "+h.show(h.showChar)(n))})),F=function(n){return b.try(u.bind(b.bindParser)(S)(function(e){return n(e)?o.pure(b.applicativeParser)(e):b.fail("Character "+h.show(h.showChar)(e)+" did not satisfy predicate")}))},T=u.bind(b.bindParser)(C.many(F(function(n){return"\n"===n||"\r"===n||" "===n||"\t"===n})))(function(n){return o.pure(b.applicativeParser)(p.foldMap(v.foldableList)(w.monoidString)(g.singleton)(n))}),M=d.void(b.functorParser)(T),P=b.try(u.bind(b.bindParser)(S)(function(n){return p.elem(p.foldableArray)(s.eqInt)(c.toCharCode(n))(i.range(65)(90))?o.pure(b.applicativeParser)(n):b.fail("Expected an upper case character but found "+h.show(h.showChar)(n))})),I=C.withError(a.alt(b.altParser)(E)(P))("Expected a letter"),N=C.withError(a.alt(b.altParser)(I)(A))("Expected a letter or a number");r.eof=function(n){return n.pos")))(L.skipSpaces)))(n),u=l.applyFirst(R.applyParser)(l.applyFirst(R.applyParser)(l.applySecond(R.applyParser)(l.applySecond(R.applyParser)(L.string("forall"))(g.some(R.alternativeParser)(R.lazyParser)(an)))(k.sepEndBy1(fn)(L.skipSpaces)))(L.string(".")))(L.skipSpaces),c=l.apply(R.applyParser)(y.map(R.functorParser)(H.create)(u))(n),f=l.applySecond(R.applyParser)(L.skipSpaces)(i.alt(R.altParser)(i.alt(R.altParser)(i.alt(R.altParser)(i.alt(R.altParser)(i.alt(R.altParser)(c)(R.try(a)))(t))(r))(sn))(pn)),s=y.map(R.functorParser)(N.foldl1(q.create))(k.sepEndBy1(f)(g.some(R.alternativeParser)(R.lazyParser)(an))),p=y.map(R.functorParser)(N.foldr1(U.create))(k.sepBy1(s)(l.applySecond(R.applyParser)(L.string("->"))(L.skipSpaces)));return i.alt(R.altParser)(R.try(o))(p)}),vn=(o=R.runParser(l.applyFirst(R.applyParser)(dn)(L.eof)),function(n){return o(M.trim(n))});u.QVar=O,u.QConst=B,u.parseTypeQuery=vn,u.penalty=function(n){return function(e){var t,r=(t=n,function(n){var e;return(e=D.Nil.value,function(n){var t,r=e,a=!1;function o(e,t){if(t instanceof D.Nil)return a=!0,e;if(t instanceof D.Cons&&t.value0.t instanceof J.ParensInType)return r=e,void(n=new D.Cons({q:t.value0.q,t:t.value0.t.value0},t.value1));if(t instanceof D.Cons&&t.value0.t instanceof J.ForAll)return r=e,void(n=new D.Cons({q:t.value0.q,t:t.value0.t.value2},t.value1));if(t instanceof D.Cons&&t.value0.q instanceof H)return r=e,void(n=new D.Cons({q:t.value0.q.value1,t:t.value0.t},t.value1));if(t instanceof D.Cons&&t.value0.q instanceof _&&t.value0.t instanceof J.ConstrainedType){var o=F.fromFoldable(D.foldableList)(x.ordIdentifier)(J.joinConstraints(t.value0.t).constraints),u=F.fromFoldable(D.foldableList)(x.ordIdentifier)(ln(t.value0.q).constraints);return r=new D.Cons(new z(u,o),e),void(n=t.value1)}if(t instanceof D.Cons&&t.value0.q instanceof _)return r=new D.Cons(K.value,e),void(n=new D.Cons({q:t.value0.q.value2,t:t.value0.t},t.value1));if(t instanceof D.Cons&&t.value0.t instanceof J.ConstrainedType)return r=new D.Cons(Z.value,e),void(n=new D.Cons({q:t.value0.q,t:t.value0.t.value1},t.value1));if(t instanceof D.Cons&&t.value0.q instanceof O&&t.value0.t instanceof J.TypeVar)return r=new D.Cons(new Q(t.value0.q.value0,t.value0.t.value0),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.t instanceof J.TypeVar)return r=new D.Cons(new V(t.value0.q,t.value0.t.value0),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.q instanceof O)return r=new D.Cons(new W(t.value0.q.value0,t.value0.t),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.q instanceof B&&t.value0.t instanceof J.TypeConstructor)return r=new D.Cons(new G(t.value0.q.value0,t.value0.t.value0.name),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.q instanceof B)return r=new D.Cons(new X(t.value0.t),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.t instanceof J.TypeConstructor)return r=new D.Cons(new nn(t.value0.q),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.t instanceof J.TypeOp)return r=new D.Cons(new nn(t.value0.q),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.t instanceof J.BinaryNoParensType)return r=new D.Cons(new Y(t.value0.q,t.value0.t),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.q instanceof U&&t.value0.t instanceof J.TypeApp&&t.value0.t.value0 instanceof J.TypeApp&&t.value0.t.value0.value0 instanceof J.TypeConstructor&&1===t.value0.t.value0.value0.value0.moduleNameParts.length&&"Prim"===t.value0.t.value0.value0.value0.moduleNameParts[0]&&"Function"===t.value0.t.value0.value0.value0.name)return r=e,void(n=new D.Cons({q:t.value0.q.value0,t:t.value0.t.value0.value1},new D.Cons({q:t.value0.q.value1,t:t.value0.t.value1},t.value1)));if(t instanceof D.Cons&&t.value0.q instanceof U)return r=new D.Cons(new Y(t.value0.q,t.value0.t),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.q instanceof q&&t.value0.q.value0 instanceof B&&"Record"===t.value0.q.value0.value0&&t.value0.q.value1 instanceof j&&t.value0.t instanceof J.TypeApp&&t.value0.t.value0 instanceof J.TypeConstructor&&1===t.value0.t.value0.value0.moduleNameParts.length&&"Prim"===t.value0.t.value0.value0.moduleNameParts[0]&&"Record"===t.value0.t.value0.value0.name){var i=J.joinRows(t.value0.t.value1),c=g.length(i.rows),l=g.length(t.value0.q.value1.value0);if(c===l){var f=g.sortBy(function(n){return function(e){return S.compare(x.ordIdentifier)(n.row)(e.row)}})(i.rows),s=g.sortBy(function(n){return function(e){return S.compare(x.ordIdentifier)(P.fst(n))(P.fst(e))}})(t.value0.q.value1.value0);return r=E.append(D.semigroupList)(g.zipWith(function(n){return function(e){return new G(n.value0,e.row)}})(s)(f))(e),void(n=E.append(D.semigroupList)(g.zipWith(function(n){return function(e){return{q:n.value1,t:e.ty}}})(s)(f))(t.value1))}return r=new D.Cons(new $(l,c),e),void(n=t.value1)}if(t instanceof D.Cons&&t.value0.q instanceof j)return r=new D.Cons(new Y(t.value0.q,t.value0.t),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.q instanceof q&&t.value0.t instanceof J.TypeApp)return r=e,void(n=new D.Cons({q:t.value0.q.value0,t:t.value0.t.value0},new D.Cons({q:t.value0.q.value1,t:t.value0.t.value1},t.value1)));if(t instanceof D.Cons&&t.value0.t instanceof J.TypeLevelString)return r=new D.Cons(new nn(t.value0.q),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.t instanceof J.TypeWildcard)return r=new D.Cons(new nn(t.value0.q),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.t instanceof J.RCons)return r=new D.Cons(new Y(t.value0.q,t.value0.t),e),void(n=t.value1);if(t instanceof D.Cons&&t.value0.t instanceof J.REmpty)return r=new D.Cons(new nn(t.value0.q),e),void(n=t.value1);throw new Error("Failed pattern match at Docs.Search.TypeQuery (line 204, column 5 - line 204, column 87): "+[e.constructor.name,t.constructor.name])}for(;!a;)t=o(r,n);return t})(g.singleton({q:t,t:n}))})(e);return((function(n){var e=function(e){return w.foldr(D.foldableList)(function(n){return n instanceof Q?e(n.value0)(n.value1):s.identity(s.categoryFn)})(C.mempty(b.monoidMap(x.ordIdentifier)))(n)},t=function(n){return S.abs(S.ordInt)(A.ringInt)(g.length(w.foldMap(b.foldableMap)(D.monoidList)(g.fromFoldable(F.foldableSet))(n))-b.size(n)|0)},r=function(n){return function(e){return b.insertWith(x.ordIdentifier)(E.append(F.semigroupSet(x.ordIdentifier)))(n)(F.singleton(e))}};return t(e(h.flip(r)))+t(e(r))|0}(r)*I.penalties.typeVars|0)+on(r)|0)+un(r)|0}}}(n),function(n){"use strict";n["Docs.Search.Engine"]=n["Docs.Search.Engine"]||{};var e=n["Docs.Search.Engine"],t=n["Control.Applicative"],r=n["Control.Bind"],a=n["Data.Array"],o=n["Data.Either"],u=n["Data.Function"],i=n["Data.Functor"],c=n["Data.Maybe"],l=n["Data.Newtype"],f=n["Data.Ord"],s=n["Data.Ordering"],p=n["Data.Ring"],d=n["Data.Semigroup"],v=n["Data.String.Common"],m=n["Docs.Search.SearchResult"],w=n["Docs.Search.TypeQuery"],h=n["Docs.Search.Types"],y=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),g=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),D=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),b=function(){function n(n){this.value0=n}return n.create=function(e){return new n(e)},n}(),C=function(n){return a.sortWith(c.ordMaybe(f.ordInt))((e=i.map(c.functorMaybe)(w.penalty(n)),function(n){return e(m.typeOfResult(n))}));var e},S=function(n){return n instanceof w.QVar?c.Nothing.value:n instanceof w.QConst?c.Nothing.value:new c.Just(n)},A=function(n){if(n instanceof y)return l.unwrap(m.newtypeSearchResult)(n.value0).packageInfo;if(n instanceof g)return l.unwrap(m.newtypeSearchResult)(n.value0).packageInfo;if(n instanceof D)return new h.Package(n.value0.name);if(n instanceof b)return n.value0.package;throw new Error("Failed pattern match at Docs.Search.Engine (line 76, column 1 - line 76, column 46): "+[n.constructor.name])},E=function(n){if(n instanceof y)return l.unwrap(h.newtypeIdentifier)(l.unwrap(m.newtypeSearchResult)(n.value0).name);if(n instanceof g)return l.unwrap(h.newtypeIdentifier)(l.unwrap(m.newtypeSearchResult)(n.value0).name);if(n instanceof D)return l.unwrap(h.newtypePackageName)(n.value0.name);if(n instanceof b)return l.unwrap(h.newtypeModuleName)(n.value0.name);throw new Error("Failed pattern match at Docs.Search.Engine (line 90, column 1 - line 90, column 34): "+[n.constructor.name])},F=function(n){if(n instanceof y)return l.unwrap(m.newtypeSearchResult)(n.value0).moduleName;if(n instanceof g)return l.unwrap(m.newtypeSearchResult)(n.value0).moduleName;if(n instanceof D)return"";if(n instanceof b)return n.value0.name;throw new Error("Failed pattern match at Docs.Search.Engine (line 83, column 1 - line 83, column 44): "+[n.constructor.name])},T=function(n){return a.sortBy(d.append(d.semigroupFn(d.semigroupFn(s.semigroupOrdering)))(u.on(f.compare(h.ordPackageScore))((e=p.negate(h.ringPackageScore),function(n){return e(function(n){if(n instanceof y)return l.unwrap(m.newtypeSearchResult)(n.value0).score;if(n instanceof g)return l.unwrap(m.newtypeSearchResult)(n.value0).score;if(n instanceof D)return n.value0.score;if(n instanceof b)return n.value0.score;throw new Error("Failed pattern match at Docs.Search.Engine (line 69, column 1 - line 69, column 41): "+[n.constructor.name])}(n))})))(d.append(d.semigroupFn(d.semigroupFn(s.semigroupOrdering)))(u.on(f.compare(h.ordPackageInfo))(A))(d.append(d.semigroupFn(d.semigroupFn(s.semigroupOrdering)))(u.on(f.compare(h.ordModuleName))(F))(u.on(f.compare(f.ordString))(E)))));var e};e.mkEngineState=function(n){return function(e){return function(t){return function(r){return function(a){return{index:n,typeIndex:e,packageIndex:t,moduleIndex:r,scores:a}}}}}},e.DeclResult=y,e.TypeResult=g,e.PackResult=D,e.MdlResult=b,e.query=function(n){return function(e){return function(a){return function(u){var l=r.bind(c.bindMaybe)(o.hush(w.parseTypeQuery(u)))(S);if(l instanceof c.Nothing){var f=v.toLower(u);return r.bind(n.Bind1())(e.queryIndex(a.index)(f))(function(o){return r.bind(n.Bind1())(e.queryPackageIndex(a.packageIndex)(f))(function(r){var u=e.queryModuleIndex(a.scores)(a.moduleIndex)(f);return t.pure(n.Applicative0())({results:T()(d.append(d.semigroupArray)(i.mapFlipped(i.functorArray)(r.results)(D.create))(d.append(d.semigroupArray)(i.mapFlipped(i.functorArray)(u)(b.create))(i.mapFlipped(i.functorArray)(o.results)(y.create)))),index:{index:o.index,moduleIndex:a.moduleIndex,packageIndex:a.packageIndex,scores:a.scores,typeIndex:a.typeIndex}})})})}if(l instanceof c.Just)return r.bind(n.Bind1())(e.queryTypeIndex(a.typeIndex)(l.value0))(function(e){return t.pure(n.Applicative0())({results:i.mapFlipped(i.functorArray)(C(l.value0)(e.results))(g.create),index:{typeIndex:e.index,index:a.index,moduleIndex:a.moduleIndex,packageIndex:a.packageIndex,scores:a.scores}})});throw new Error("Failed pattern match at Docs.Search.Engine (line 119, column 3 - line 146, column 13): "+[l.constructor.name])}}}},e.sortByDistance=C,e.packageInfoToString=function(n){return function(e){if(e instanceof h.Package)return e.value0;if(e instanceof h.Builtin)return"";if(e instanceof h.LocalPackage)return l.unwrap(h.newtypePackageName)(n);if(e instanceof h.UnknownPackage)return"";throw new Error("Failed pattern match at Docs.Search.Engine (line 163, column 1 - line 163, column 60): "+[n.constructor.name,e.constructor.name])}}}(n),function(n){require("path");var e=require("glob");n.getDirname=function(){return __dirname},n.glob=function(n){return function(){return e.sync(n)}}}(n["Docs.Search.IndexBuilder"]=n["Docs.Search.IndexBuilder"]||{}),function(n){"use strict";n["Docs.Search.ModuleIndex"]=n["Docs.Search.ModuleIndex"]||{};var e,t,r,a=n["Docs.Search.ModuleIndex"],o=n["Control.Applicative"],u=n["Control.Bind"],i=n["Control.Monad.State"],c=n["Control.Monad.State.Class"],l=n["Control.Monad.State.Trans"],f=n["Data.Array"],s=n["Data.Foldable"],p=n["Data.Function"],d=n["Data.Functor"],v=n["Data.Identity"],m=n["Data.Lens.Record"],w=n["Data.Lens.Setter"],h=n["Data.List.Types"],y=n["Data.Map.Internal"],g=n["Data.Maybe"],D=n["Data.Monoid"],b=n["Data.Newtype"],C=n["Data.Ord"],S=n["Data.Profunctor.Strong"],A=n["Data.Search.Trie.Internal"],E=n["Data.Set"],F=n["Data.String.CodeUnits"],T=n["Data.String.Common"],M=n["Data.Symbol"],P=n["Data.Unfoldable"],I=n["Docs.Search.Extra"],N=n["Docs.Search.Score"],J=n["Docs.Search.Types"],x=(e=s.foldl(s.foldableArray)(function(n){return function(e){return new h.Cons(e,d.map(h.functorList)(function(n){return n+"."+e})(n))}})(D.mempty(h.monoidList)),t=T.split("."),r=b.unwrap(J.newtypeModuleName),function(n){return e(t(T.toLower(r(n))))}),R=m.prop(new M.IsSymbol(function(){return"modulePackages"}))()()(M.SProxy.value)(S.strongFn),L=m.prop(new M.IsSymbol(function(){return"index"}))()()(M.SProxy.value)(S.strongFn);a.unpackModuleIndex=function(n){return p.flip(i.execState)({packageModules:n,modulePackages:D.mempty(y.monoidMap(J.ordModuleName)),index:D.mempty(A.monoidTrie(C.ordChar))})(s.for_(l.applicativeStateT(v.monadIdentity))(s.foldableArray)(y.toUnfoldableUnordered(P.unfoldableArray)(n))(function(n){return s.for_(l.applicativeStateT(v.monadIdentity))(E.foldableSet)(n.value1)(function(e){return u.discard(u.discardUnit)(l.bindStateT(v.monadIdentity))(c.modify_(l.monadStateStateT(v.monadIdentity))(w.over(R)(y.insert(J.ordModuleName)(e)(n.value0))))(function(){return s.for_(l.applicativeStateT(v.monadIdentity))(h.foldableList)(x(e))(function(n){var t=f.toUnfoldable(h.unfoldableList)(F.toCharArray(n));return c.modify_(l.monadStateStateT(v.monadIdentity))(w.over(L)(A.insert(C.ordChar)(t)(e)))})})})}))},a.queryModuleIndex=function(n){return function(e){return function(t){var r=I.stringToList(T.toLower(t));return f.catMaybes(d.mapFlipped(d.functorArray)(f.nub(J.ordModuleName)(f.fromFoldable(h.foldableList)(A.queryValues(C.ordChar)(r)(e.index))))(function(t){return u.bind(g.bindMaybe)(y.lookup(J.ordModuleName)(t)(e.modulePackages))(function(e){return o.pure(g.applicativeMaybe)({name:t,package:e,score:N.getPackageScore(n)(e)})})}))}}},a.mkPackedModuleIndex=function(n){var e,t,r=(e=s.foldr(h.foldableList)(y.unionWith(J.ordPackageInfo)(E.union(J.ordModuleName)))(D.mempty(y.monoidMap(J.ordPackageInfo))),t=d.map(h.functorList)(function(n){return y.singleton(n.packageInfo)(E.singleton(n.moduleName))}),function(n){return e(t(n))});return s.foldr(h.foldableList)(y.unionWith(J.ordPackageInfo)(E.union(J.ordModuleName)))(D.mempty(y.monoidMap(J.ordPackageInfo)))(d.map(h.functorList)(r)(A.values(n)))}}(n),function(n){"use strict";n["Docs.Search.PackageIndex"]=n["Docs.Search.PackageIndex"]||{};var e=n["Docs.Search.PackageIndex"],t=n["Control.Applicative"],r=n["Data.Array"],a=n["Data.Foldable"],o=n["Data.Functor"],u=n["Data.List.Types"],i=n["Data.Map.Internal"],c=n["Data.Maybe"],l=n["Data.Monoid"],f=n["Data.Newtype"],s=n["Data.Ord"],p=n["Data.Search.Trie.Internal"],d=n["Docs.Search.Extra"],v=n["Docs.Search.Score"],m=n["Docs.Search.Types"],w=n["Web.Bower.PackageMeta"],h=a.foldr(a.foldableArray)(function(n){return p.insert(s.ordChar)(d.stringToList(f.unwrap(m.newtypePackageName)(n.name)))(n)})(l.mempty(p.monoidTrie(s.ordChar)));e.mkPackageInfo=function(n){return function(e){return r.fromFoldable(u.foldableList)(i.values(a.foldr(a.foldableArray)(function(e){var t=v.normalizePackageName(e.name);return i.insert(m.ordPackageName)(t)({name:t,description:e.description,score:v.getPackageScoreForPackageName(n)(t),dependencies:o.mapFlipped(o.functorArray)(f.unwrap(w.newtypeDependencies)(e.dependencies))(function(n){return v.normalizePackageName(m.RawPackageName(n.packageName))}),repository:o.mapFlipped(c.functorMaybe)(e.repository)(function(n){return n.url})})})(l.mempty(i.monoidMap(m.ordPackageName)))(e)))}},e.mkPackageIndex=h,e.queryPackageIndex=function(n){return function(e){return function(a){return t.pure(n.Applicative0())({index:e,results:r.fromFoldable(u.foldableList)(p.queryValues(s.ordChar)(d.stringToList(a))(e))})}}}}(n),(n["Docs.Search.TypeShape"]=n["Docs.Search.TypeShape"]||{}).hash=function(n){var e=Math.floor(Number.MAX_SAFE_INTEGER/2);if(0==n.length)return e;for(var t=0;t0)&&(y=T,D=G._3(W)));break;case m:B=new g(d,new g(h,D,b),B,R),y=T,D=R&&R!==q&&0===U?G._1.killed(n.fromLeft(R))(G._2):b?G._1.failed(n.fromLeft(b))(G._2):G._1.completed(n.fromRight(D))(G._2),b=null,U++;break;case w:U++,B=new g(d,new g(h,D,b),B,R),y=T,D=G._1;break;case h:U--,y=N,D=G._1,b=G._2}break;case J:for(var V in H)H.hasOwnProperty(V)&&(_=_&&H[V].rethrow,C(H[V].handler(D)));return H=null,void(R&&b?setTimeout(function(){throw n.fromLeft(b)},0):n.isLeft(D)&&_&&setTimeout(function(){if(_)throw n.fromLeft(D)},0));case F:y=T;break;case I:return}}function W(n){return function(){if(y===J)return _=_&&n.rethrow,n.handler(D)(),function(){};var e=q++;return(H=H||{})[e]=n,function(){null!==H&&delete H[e]}}}return{kill:function(e,t){return function(){if(y===J)return t(n.right(void 0))(),function(){};var r=W({rethrow:!1,handler:function(){return t(n.right(void 0))}})();switch(y){case F:R=n.left(e),y=J,D=R,j(p);break;case I:null===R&&(R=n.left(e)),0===U&&(y===I&&(B=new g(d,new g(w,D(e)),B,R)),y=N,D=null,b=null,j(++p));break;default:null===R&&(R=n.left(e)),0===U&&(y=N,D=null,b=null)}return r}},join:function(n){return function(){var e=W({rethrow:!1,handler:n})();return y===F&&j(p),e}},onComplete:W,isSuspended:function(){return y===F},run:function(){y===F&&(E.isDraining()?j(p):E.enqueue(function(){j(p)}))}}}function R(e,t,r,a){var u=0,i={},c=0,l={},v=new Error("[ParAff] Early exit"),m=null,w=n;function h(t,r,a){var o,u,c=r,l=null,v=null,m=0,w={};n:for(;;)switch(o=null,c.tag){case y:if(c._3===n&&(o=i[c._1],w[m++]=o.kill(t,function(n){return function(){0===--m&&a(n)()}})),null===l)break n;c=l._2,null===v?l=null:(l=v._1,v=v._2);break;case f:c=c._2;break;case s:case p:l&&(v=new g(d,l,v)),l=c,c=c._1}if(0===m)a(e.right(void 0))();else for(u=0,o=m;u<\/script>