(()=>{var ge=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var Gn=ge((vi,jn)=>{jn.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` `,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}});var Dn=ge((di,Kn)=>{"use strict";Kn.exports=Gn()});var rn=ge((pi,Zn)=>{Zn.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/});var Pn=ge((hi,Xn)=>{"use strict";var Yn={};function $a(e){var n,r,a=Yn[e];if(a)return a;for(a=Yn[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n=55296&&o<=57343){if(o>=55296&&o<=56319&&a+1=56320&&i<=57343)){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(e[a])}return c}tn.defaultChars=";/?:@&=+$,-_.!~*'()#";tn.componentChars="-_.!~*'()";Xn.exports=tn});var nr=ge((mi,$n)=>{"use strict";var er={};function eo(e){var n,r,a=er[e];if(a)return a;for(a=er[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),a.push(r);for(n=0;n=55296&&f<=57343?v+="\uFFFD\uFFFD\uFFFD":v+=String.fromCharCode(f),t+=6;continue}if((i&248)==240&&t+91114111?v+="\uFFFD\uFFFD\uFFFD\uFFFD":(f-=65536,v+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),t+=9;continue}v+="\uFFFD"}return v})}an.defaultChars=";/?:@&=+$,#";an.componentChars="";$n.exports=an});var tr=ge((gi,rr)=>{"use strict";rr.exports=function(n){var r="";return r+=n.protocol||"",r+=n.slashes?"//":"",r+=n.auth?n.auth+"@":"",n.hostname&&n.hostname.indexOf(":")!==-1?r+="["+n.hostname+"]":r+=n.hostname||"",r+=n.port?":"+n.port:"",r+=n.pathname||"",r+=n.search||"",r+=n.hash||"",r}});var fr=ge((_i,ar)=>{"use strict";function on(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var no=/^([a-z0-9.+-]+:)/i,ro=/:[0-9]*$/,to=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ao=["<",">",'"',"`"," ","\r",` `," "],oo=["{","}","|","\\","^","`"].concat(ao),uo=["'"].concat(oo),or=["%","/","?",";","#"].concat(uo),ur=["/","?","#"],io=255,ir=/^[+a-z0-9A-Z_-]{0,63}$/,co=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,cr={javascript:!0,"javascript:":!0},lr={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function lo(e,n){if(e&&e instanceof on)return e;var r=new on;return r.parse(e,n),r}on.prototype.parse=function(e,n){var r,a,t,o,i,u=e;if(u=u.trim(),!n&&e.split("#").length===1){var c=to.exec(u);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var l=no.exec(u);if(l&&(l=l[0],t=l.toLowerCase(),this.protocol=l,u=u.substr(l.length)),(n||l||u.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=u.substr(0,2)==="//",i&&!(l&&cr[l])&&(u=u.substr(2),this.slashes=!0)),!cr[l]&&(i||l&&!lr[l])){var f=-1;for(r=0;r127?_+="x":_+=g[b];if(!_.match(ir)){var M=h.slice(0,r),C=h.slice(r+1),D=g.match(co);D&&(M.push(D[1]),C.unshift(D[2])),C.length&&(u=C.join(".")+u),this.hostname=M.join(".");break}}}}this.hostname.length>io&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var E=u.indexOf("#");E!==-1&&(this.hash=u.substr(E),u=u.slice(0,E));var W=u.indexOf("?");return W!==-1&&(this.search=u.substr(W),u=u.slice(0,W)),u&&(this.pathname=u),lr[t]&&this.hostname&&!this.pathname&&(this.pathname=""),this};on.prototype.parseHost=function(e){var n=ro.exec(e);n&&(n=n[0],n!==":"&&(this.port=n.substr(1)),e=e.substr(0,e.length-n.length)),e&&(this.hostname=e)};ar.exports=lo});var bn=ge((Di,Ye)=>{"use strict";Ye.exports.encode=Pn();Ye.exports.decode=nr();Ye.exports.format=tr();Ye.exports.parse=fr()});var wn=ge((bi,sr)=>{sr.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/});var yn=ge((wi,vr)=>{vr.exports=/[\0-\x1F\x7F-\x9F]/});var pr=ge((yi,dr)=>{dr.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/});var Cn=ge((Ci,hr)=>{hr.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/});var mr=ge(je=>{"use strict";je.Any=wn();je.Cc=yn();je.Cf=pr();je.P=rn();je.Z=Cn()});var Fe=ge(ke=>{"use strict";function fo(e){return Object.prototype.toString.call(e)}function so(e){return fo(e)==="[object String]"}var vo=Object.prototype.hasOwnProperty;function gr(e,n){return vo.call(e,n)}function po(e){var n=Array.prototype.slice.call(arguments,1);return n.forEach(function(r){if(!!r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(a){e[a]=r[a]})}}),e}function ho(e,n,r){return[].concat(e.slice(0,n),r,e.slice(n+1))}function _r(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Dr(e){if(e>65535){e-=65536;var n=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(n,r)}return String.fromCharCode(e)}var br=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,mo=/&([a-z#][a-z0-9]{1,31});/gi,go=new RegExp(br.source+"|"+mo.source,"gi"),_o=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,wr=Dn();function Do(e,n){var r=0;return gr(wr,n)?wr[n]:n.charCodeAt(0)===35&&_o.test(n)&&(r=n[1].toLowerCase()==="x"?parseInt(n.slice(2),16):parseInt(n.slice(1),10),_r(r))?Dr(r):e}function bo(e){return e.indexOf("\\")<0?e:e.replace(br,"$1")}function wo(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(go,function(n,r,a){return r||Do(n,a)})}var yo=/[&<>"]/,Co=/[&<>"]/g,Eo={"&":"&","<":"<",">":">",'"':"""};function Ao(e){return Eo[e]}function Fo(e){return yo.test(e)?e.replace(Co,Ao):e}var Mo=/[.?*+^$[\]\\(){}|-]/g;function To(e){return e.replace(Mo,"\\$&")}function Io(e){switch(e){case 9:case 32:return!0}return!1}function ko(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var xo=rn();function Lo(e){return xo.test(e)}function Ro(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function No(e){return e=e.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(e=e.replace(/ẞ/g,"\xDF")),e.toLowerCase().toUpperCase()}ke.lib={};ke.lib.mdurl=bn();ke.lib.ucmicro=mr();ke.assign=po;ke.isString=so;ke.has=gr;ke.unescapeMd=bo;ke.unescapeAll=wo;ke.isValidEntityCode=_r;ke.fromCodePoint=Dr;ke.escapeHtml=Fo;ke.arrayReplaceAt=ho;ke.isSpace=Io;ke.isWhiteSpace=ko;ke.isMdAsciiPunct=Ro;ke.isPunctChar=Lo;ke.escapeRE=To;ke.normalizeReference=No});var Cr=ge((Fi,yr)=>{"use strict";yr.exports=function(n,r,a){var t,o,i,u,c=-1,l=n.posMax,f=n.pos;for(n.pos=r+1,t=1;n.pos{"use strict";var Ar=Fe().unescapeAll;Er.exports=function(n,r,a){var t,o,i=0,u=r,c={ok:!1,pos:0,lines:0,str:""};if(n.charCodeAt(r)===60){for(r++;r32))return c;if(t===41){if(o===0)break;o--}r++}return u===r||o!==0||(c.str=Ar(n.slice(u,r)),c.lines=i,c.pos=r,c.ok=!0),c}});var Tr=ge((Ti,Mr)=>{"use strict";var Ho=Fe().unescapeAll;Mr.exports=function(n,r,a){var t,o,i=0,u=r,c={ok:!1,pos:0,lines:0,str:""};if(r>=a||(o=n.charCodeAt(r),o!==34&&o!==39&&o!==40))return c;for(r++,o===40&&(o=41);r{"use strict";un.parseLinkLabel=Cr();un.parseLinkDestination=Fr();un.parseLinkTitle=Tr()});var xr=ge((ki,kr)=>{"use strict";var qo=Fe().assign,Uo=Fe().unescapeAll,ze=Fe().escapeHtml,qe={};qe.code_inline=function(e,n,r,a,t){var o=e[n];return""+ze(e[n].content)+""};qe.code_block=function(e,n,r,a,t){var o=e[n];return""+ze(e[n].content)+` `};qe.fence=function(e,n,r,a,t){var o=e[n],i=o.info?Uo(o.info).trim():"",u="",c="",l,f,v,d,s;return i&&(v=i.split(/(\s+)/g),u=v[0],c=v.slice(2).join("")),r.highlight?l=r.highlight(o.content,u,c)||ze(o.content):l=ze(o.content),l.indexOf(""+l+` `):"
"+l+`
`};qe.image=function(e,n,r,a,t){var o=e[n];return o.attrs[o.attrIndex("alt")][1]=t.renderInlineAsText(o.children,r,a),t.renderToken(e,n,r)};qe.hardbreak=function(e,n,r){return r.xhtmlOut?`
`:`
`};qe.softbreak=function(e,n,r){return r.breaks?r.xhtmlOut?`
`:`
`:` `};qe.text=function(e,n){return ze(e[n].content)};qe.html_block=function(e,n){return e[n].content};qe.html_inline=function(e,n){return e[n].content};function Ge(){this.rules=qo({},qe)}Ge.prototype.renderAttrs=function(n){var r,a,t;if(!n.attrs)return"";for(t="",r=0,a=n.attrs.length;r `:">",o)};Ge.prototype.renderInline=function(e,n,r){for(var a,t="",o=this.rules,i=0,u=e.length;i{"use strict";function He(){this.__rules__=[],this.__cache__=null}He.prototype.__find__=function(e){for(var n=0;n{"use strict";var Bo=/\r\n?|\n/g,Wo=/\0/g;Rr.exports=function(n){var r;r=n.src.replace(Bo,` `),r=r.replace(Wo,"\uFFFD"),n.src=r}});var qr=ge((Ri,Hr)=>{"use strict";Hr.exports=function(n){var r;n.inlineMode?(r=new n.Token("inline","",0),r.content=n.src,r.map=[0,1],r.children=[],n.tokens.push(r)):n.md.block.parse(n.src,n.md,n.env,n.tokens)}});var Br=ge((Ni,Ur)=>{"use strict";Ur.exports=function(n){var r=n.tokens,a,t,o;for(t=0,o=r.length;t{"use strict";var Oo=Fe().arrayReplaceAt;function Jo(e){return/^\s]/i.test(e)}function So(e){return/^<\/a\s*>/i.test(e)}Wr.exports=function(n){var r,a,t,o,i,u,c,l,f,v,d,s,p,h,g,_,b=n.tokens,w;if(!!n.md.options.linkify){for(a=0,t=b.length;a=0;r--){if(u=o[r],u.type==="link_close"){for(r--;o[r].level!==u.level&&o[r].type!=="link_open";)r--;continue}if(u.type==="html_inline"&&(Jo(u.content)&&p>0&&p--,So(u.content)&&p++),!(p>0)&&u.type==="text"&&n.md.linkify.test(u.content)){for(f=u.content,w=n.md.linkify.match(f),c=[],s=u.level,d=0,l=0;ld&&(i=new n.Token("text","",0),i.content=f.slice(d,v),i.level=s,c.push(i)),i=new n.Token("link_open","a",1),i.attrs=[["href",g]],i.level=s++,i.markup="linkify",i.info="auto",c.push(i),i=new n.Token("text","",0),i.content=_,i.level=s,c.push(i),i=new n.Token("link_close","a",-1),i.level=--s,i.markup="linkify",i.info="auto",c.push(i),d=w[l].lastIndex);d{"use strict";var Sr=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,zo=/\((c|tm|r|p)\)/i,Vo=/\((c|tm|r|p)\)/ig,Qo={c:"\xA9",r:"\xAE",p:"\xA7",tm:"\u2122"};function jo(e,n){return Qo[n.toLowerCase()]}function Go(e){var n,r,a=0;for(n=e.length-1;n>=0;n--)r=e[n],r.type==="text"&&!a&&(r.content=r.content.replace(Vo,jo)),r.type==="link_open"&&r.info==="auto"&&a--,r.type==="link_close"&&r.info==="auto"&&a++}function Ko(e){var n,r,a=0;for(n=e.length-1;n>=0;n--)r=e[n],r.type==="text"&&!a&&Sr.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1\u2014").replace(/(^|\s)--(?=\s|$)/mg,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1\u2013")),r.type==="link_open"&&r.info==="auto"&&a--,r.type==="link_close"&&r.info==="auto"&&a++}Jr.exports=function(n){var r;if(!!n.md.options.typographer)for(r=n.tokens.length-1;r>=0;r--)n.tokens[r].type==="inline"&&(zo.test(n.tokens[r].content)&&Go(n.tokens[r].children),Sr.test(n.tokens[r].content)&&Ko(n.tokens[r].children))}});var Xr=ge((Ui,Vr)=>{"use strict";var Qr=Fe().isWhiteSpace,jr=Fe().isPunctChar,Gr=Fe().isMdAsciiPunct,Zo=/['"]/,Kr=/['"]/g,Zr="\u2019";function ln(e,n,r){return e.substr(0,n)+r+e.substr(n+1)}function Xo(e,n){var r,a,t,o,i,u,c,l,f,v,d,s,p,h,g,_,b,w,M,C,D;for(M=[],r=0;r=0&&!(M[b].level<=c);b--);if(M.length=b+1,a.type!=="text")continue;t=a.content,i=0,u=t.length;e:for(;i=0)f=t.charCodeAt(o.index-1);else for(b=r-1;b>=0&&!(e[b].type==="softbreak"||e[b].type==="hardbreak");b--)if(!!e[b].content){f=e[b].content.charCodeAt(e[b].content.length-1);break}if(v=32,i=48&&f<=57&&(_=g=!1),g&&_&&(g=d,_=s),!g&&!_){w&&(a.content=ln(a.content,o.index,Zr));continue}if(_){for(b=M.length-1;b>=0&&(l=M[b],!(M[b].level=0;r--)n.tokens[r].type!=="inline"||!Zo.test(n.tokens[r].content)||Xo(n.tokens[r].children,n)}});var fn=ge((Bi,Yr)=>{"use strict";function Ke(e,n,r){this.type=e,this.tag=n,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Ke.prototype.attrIndex=function(n){var r,a,t;if(!this.attrs)return-1;for(r=this.attrs,a=0,t=r.length;a=0&&(a=this.attrs[r][1]),a};Ke.prototype.attrJoin=function(n,r){var a=this.attrIndex(n);a<0?this.attrPush([n,r]):this.attrs[a][1]=this.attrs[a][1]+" "+r};Yr.exports=Ke});var et=ge((Wi,Pr)=>{"use strict";var Yo=fn();function $r(e,n,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=n}$r.prototype.Token=Yo;Pr.exports=$r});var rt=ge((Oi,nt)=>{"use strict";var Po=cn(),En=[["normalize",Nr()],["block",qr()],["inline",Br()],["linkify",Or()],["replacements",zr()],["smartquotes",Xr()]];function An(){this.ruler=new Po;for(var e=0;e{"use strict";var Fn=Fe().isSpace;function Mn(e,n){var r=e.bMarks[n]+e.tShift[n],a=e.eMarks[n];return e.src.substr(r,a-r)}function at(e){var n=[],r=0,a=e.length,t,o=!1,i=0,u="";for(t=e.charCodeAt(r);ra||(f=r+1,n.sCount[f]=4||(u=n.bMarks[f]+n.tShift[f],u>=n.eMarks[f])||(C=n.src.charCodeAt(u++),C!==124&&C!==45&&C!==58)||u>=n.eMarks[f]||(D=n.src.charCodeAt(u++),D!==124&&D!==45&&D!==58&&!Fn(D))||C===45&&Fn(D))return!1;for(;u=4||(v=at(i),v.length&&v[0]===""&&v.shift(),v.length&&v[v.length-1]===""&&v.pop(),d=v.length,d===0||d!==p.length))return!1;if(t)return!0;for(b=n.parentType,n.parentType="table",M=n.md.block.ruler.getRules("blockquote"),s=n.push("table_open","table",1),s.map=g=[r,0],s=n.push("thead_open","thead",1),s.map=[r,r+1],s=n.push("tr_open","tr",1),s.map=[r,r+1],c=0;c=4)break;for(v=at(i),v.length&&v[0]===""&&v.shift(),v.length&&v[v.length-1]===""&&v.pop(),f===r+2&&(s=n.push("tbody_open","tbody",1),s.map=_=[r+2,0]),s=n.push("tr_open","tr",1),s.map=[f,f+1],c=0;c{"use strict";ut.exports=function(n,r,a){var t,o,i;if(n.sCount[r]-n.blkIndent<4)return!1;for(o=t=r+1;t=4){t++,o=t;continue}break}return n.line=o,i=n.push("code_block","code",0),i.content=n.getLines(r,o,4+n.blkIndent,!0),i.map=[r,n.line],!0}});var lt=ge((zi,ct)=>{"use strict";ct.exports=function(n,r,a,t){var o,i,u,c,l,f,v,d=!1,s=n.bMarks[r]+n.tShift[r],p=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||s+3>p||(o=n.src.charCodeAt(s),o!==126&&o!==96)||(l=s,s=n.skipChars(s,o),i=s-l,i<3)||(v=n.src.slice(l,s),u=n.src.slice(s,p),o===96&&u.indexOf(String.fromCharCode(o))>=0))return!1;if(t)return!0;for(c=r;c++,!(c>=a||(s=l=n.bMarks[c]+n.tShift[c],p=n.eMarks[c],s=4)&&(s=n.skipChars(s,o),!(s-l{"use strict";var st=Fe().isSpace;ft.exports=function(n,r,a,t){var o,i,u,c,l,f,v,d,s,p,h,g,_,b,w,M,C,D,E,W,m=n.lineMax,O=n.bMarks[r]+n.tShift[r],J=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||n.src.charCodeAt(O++)!==62)return!1;if(t)return!0;for(c=s=n.sCount[r]+1,n.src.charCodeAt(O)===32?(O++,c++,s++,o=!1,M=!0):n.src.charCodeAt(O)===9?(M=!0,(n.bsCount[r]+s)%4==3?(O++,c++,s++,o=!1):o=!0):M=!1,p=[n.bMarks[r]],n.bMarks[r]=O;O=J,b=[n.sCount[r]],n.sCount[r]=s-c,w=[n.tShift[r]],n.tShift[r]=O-n.bMarks[r],D=n.md.block.ruler.getRules("blockquote"),_=n.parentType,n.parentType="blockquote",d=r+1;d=J));d++){if(n.src.charCodeAt(O++)===62&&!W){for(c=s=n.sCount[d]+1,n.src.charCodeAt(O)===32?(O++,c++,s++,o=!1,M=!0):n.src.charCodeAt(O)===9?(M=!0,(n.bsCount[d]+s)%4==3?(O++,c++,s++,o=!1):o=!0):M=!1,p.push(n.bMarks[d]),n.bMarks[d]=O;O=J,h.push(n.bsCount[d]),n.bsCount[d]=n.sCount[d]+1+(M?1:0),b.push(n.sCount[d]),n.sCount[d]=s-c,w.push(n.tShift[d]),n.tShift[d]=O-n.bMarks[d];continue}if(f)break;for(C=!1,u=0,l=D.length;u",E.map=v=[r,0],n.md.block.tokenize(n,r,d),E=n.push("blockquote_close","blockquote",-1),E.markup=">",n.lineMax=m,n.parentType=_,v[1]=n.line,u=0;u{"use strict";var $o=Fe().isSpace;dt.exports=function(n,r,a,t){var o,i,u,c,l=n.bMarks[r]+n.tShift[r],f=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||(o=n.src.charCodeAt(l++),o!==42&&o!==45&&o!==95))return!1;for(i=1;l{"use strict";var mt=Fe().isSpace;function gt(e,n){var r,a,t,o;return a=e.bMarks[n]+e.tShift[n],t=e.eMarks[n],r=e.src.charCodeAt(a++),r!==42&&r!==45&&r!==43||a=o||(r=e.src.charCodeAt(t++),r<48||r>57))return-1;for(;;){if(t>=o)return-1;if(r=e.src.charCodeAt(t++),r>=48&&r<=57){if(t-a>=10)return-1;continue}if(r===41||r===46)break;return-1}return t=4||n.listIndent>=0&&n.sCount[r]-n.listIndent>=4&&n.sCount[r]=n.blkIndent&&(F=!0),(J=_t(n,r))>=0){if(v=!0,z=n.bMarks[r]+n.tShift[r],_=Number(n.src.substr(z,J-z-1)),F&&_!==1)return!1}else if((J=gt(n,r))>=0)v=!1;else return!1;if(F&&n.skipSpaces(J)>=n.eMarks[r])return!1;if(g=n.src.charCodeAt(J-1),t)return!0;for(h=n.tokens.length,v?(Q=n.push("ordered_list_open","ol",1),_!==1&&(Q.attrs=[["start",_]])):Q=n.push("bullet_list_open","ul",1),Q.map=p=[r,0],Q.markup=String.fromCharCode(g),w=r,x=!1,X=n.md.block.ruler.getRules("list"),D=n.parentType,n.parentType="list";w=b?l=1:l=M-f,l>4&&(l=1),c=f+l,Q=n.push("list_item_open","li",1),Q.markup=String.fromCharCode(g),Q.map=d=[r,0],m=n.tight,W=n.tShift[r],E=n.sCount[r],C=n.listIndent,n.listIndent=n.blkIndent,n.blkIndent=c,n.tight=!0,n.tShift[r]=i-n.bMarks[r],n.sCount[r]=M,i>=b&&n.isEmpty(r+1)?n.line=Math.min(n.line+2,a):n.md.block.tokenize(n,r,a,!0),(!n.tight||x)&&(N=!1),x=n.line-r>1&&n.isEmpty(n.line-1),n.blkIndent=n.listIndent,n.listIndent=C,n.tShift[r]=W,n.sCount[r]=E,n.tight=m,Q=n.push("list_item_close","li",-1),Q.markup=String.fromCharCode(g),w=r=n.line,d[1]=w,i=n.bMarks[r],w>=a||n.sCount[w]=4)break;for(G=!1,u=0,s=X.length;u{"use strict";var nu=Fe().normalizeReference,sn=Fe().isSpace;bt.exports=function(n,r,a,t){var o,i,u,c,l,f,v,d,s,p,h,g,_,b,w,M,C=0,D=n.bMarks[r]+n.tShift[r],E=n.eMarks[r],W=r+1;if(n.sCount[r]-n.blkIndent>=4||n.src.charCodeAt(D)!==91)return!1;for(;++D3)&&!(n.sCount[W]<0)){for(b=!1,f=0,v=w.length;f{"use strict";yt.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]});var In=ge((Zi,Tn)=>{"use strict";var ru="[a-zA-Z_:][a-zA-Z0-9:._-]*",tu="[^\"'=<>`\\x00-\\x20]+",au="'[^']*'",ou='"[^"]*"',uu="(?:"+tu+"|"+au+"|"+ou+")",iu="(?:\\s+"+ru+"(?:\\s*=\\s*"+uu+")?)",Et="<[A-Za-z][A-Za-z0-9\\-]*"+iu+"*\\s*\\/?>",At="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",cu="|",lu="<[?][\\s\\S]*?[?]>",fu="]*>",su="",vu=new RegExp("^(?:"+Et+"|"+At+"|"+cu+"|"+lu+"|"+fu+"|"+su+")"),du=new RegExp("^(?:"+Et+"|"+At+")");Tn.exports.HTML_TAG_RE=vu;Tn.exports.HTML_OPEN_CLOSE_TAG_RE=du});var Mt=ge((Xi,Ft)=>{"use strict";var pu=Ct(),hu=In().HTML_OPEN_CLOSE_TAG_RE,Ze=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(hu.source+"\\s*$"),/^$/,!1]];Ft.exports=function(n,r,a,t){var o,i,u,c,l=n.bMarks[r]+n.tShift[r],f=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||!n.md.options.html||n.src.charCodeAt(l)!==60)return!1;for(c=n.src.slice(l,f),o=0;o{"use strict";var It=Fe().isSpace;Tt.exports=function(n,r,a,t){var o,i,u,c,l=n.bMarks[r]+n.tShift[r],f=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||(o=n.src.charCodeAt(l),o!==35||l>=f))return!1;for(i=1,o=n.src.charCodeAt(++l);o===35&&l6||ll&&It(n.src.charCodeAt(u-1))&&(f=u),n.line=r+1,c=n.push("heading_open","h"+String(i),1),c.markup="########".slice(0,i),c.map=[r,n.line],c=n.push("inline","",0),c.content=n.src.slice(l,f).trim(),c.map=[r,n.line],c.children=[],c=n.push("heading_close","h"+String(i),-1),c.markup="########".slice(0,i)),!0)}});var Lt=ge((Pi,xt)=>{"use strict";xt.exports=function(n,r,a){var t,o,i,u,c,l,f,v,d,s=r+1,p,h=n.md.block.ruler.getRules("paragraph");if(n.sCount[r]-n.blkIndent>=4)return!1;for(p=n.parentType,n.parentType="paragraph";s3)){if(n.sCount[s]>=n.blkIndent&&(l=n.bMarks[s]+n.tShift[s],f=n.eMarks[s],l=f)))){v=d===61?1:2;break}if(!(n.sCount[s]<0)){for(o=!1,i=0,u=h.length;i{"use strict";Rt.exports=function(n,r){var a,t,o,i,u,c,l=r+1,f=n.md.block.ruler.getRules("paragraph"),v=n.lineMax;for(c=n.parentType,n.parentType="paragraph";l3)&&!(n.sCount[l]<0)){for(t=!1,o=0,i=f.length;o{"use strict";var qt=fn(),vn=Fe().isSpace;function Ue(e,n,r,a){var t,o,i,u,c,l,f,v;for(this.src=e,this.md=n,this.env=r,this.tokens=a,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",o=this.src,v=!1,i=u=l=f=0,c=o.length;u0&&this.level++,this.tokens.push(a),a};Ue.prototype.isEmpty=function(n){return this.bMarks[n]+this.tShift[n]>=this.eMarks[n]};Ue.prototype.skipEmptyLines=function(n){for(var r=this.lineMax;nr;)if(!vn(this.src.charCodeAt(--n)))return n+1;return n};Ue.prototype.skipChars=function(n,r){for(var a=this.src.length;na;)if(r!==this.src.charCodeAt(--n))return n+1;return n};Ue.prototype.getLines=function(n,r,a,t){var o,i,u,c,l,f,v,d=n;if(n>=r)return"";for(f=new Array(r-n),o=0;da?f[o]=new Array(i-a+1).join(" ")+this.src.slice(c,l):f[o]=this.src.slice(c,l)}return f.join("")};Ue.prototype.Token=qt;Ht.exports=Ue});var Wt=ge((nc,Bt)=>{"use strict";var mu=cn(),dn=[["table",ot(),["paragraph","reference"]],["code",it()],["fence",lt(),["paragraph","reference","blockquote","list"]],["blockquote",vt(),["paragraph","reference","blockquote","list"]],["hr",pt(),["paragraph","reference","blockquote","list"]],["list",Dt(),["paragraph","reference","blockquote"]],["reference",wt()],["html_block",Mt(),["paragraph","reference","blockquote"]],["heading",kt(),["paragraph","reference","blockquote"]],["lheading",Lt()],["paragraph",Nt()]];function pn(){this.ruler=new mu;for(var e=0;e=r||e.sCount[u]=l){e.line=r;break}for(t=0;t{"use strict";function gu(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}Ot.exports=function(n,r){for(var a=n.pos;a{"use strict";var _u=Fe().isSpace;St.exports=function(n,r){var a,t,o=n.pos;if(n.src.charCodeAt(o)!==10)return!1;for(a=n.pending.length-1,t=n.posMax,r||(a>=0&&n.pending.charCodeAt(a)===32?a>=1&&n.pending.charCodeAt(a-1)===32?(n.pending=n.pending.replace(/ +$/,""),n.push("hardbreak","br",0)):(n.pending=n.pending.slice(0,-1),n.push("softbreak","br",0)):n.push("softbreak","br",0)),o++;o{"use strict";var Du=Fe().isSpace,kn=[];for(var Qt=0;Qt<256;Qt++)kn.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){kn[e.charCodeAt(0)]=1});Vt.exports=function(n,r){var a,t=n.pos,o=n.posMax;if(n.src.charCodeAt(t)!==92)return!1;if(t++,t{"use strict";Gt.exports=function(n,r){var a,t,o,i,u,c,l,f,v=n.pos,d=n.src.charCodeAt(v);if(d!==96)return!1;for(a=v,v++,t=n.posMax;v{"use strict";xn.exports.tokenize=function(n,r){var a,t,o,i,u,c=n.pos,l=n.src.charCodeAt(c);if(r||l!==126||(t=n.scanDelims(n.pos,!0),i=t.length,u=String.fromCharCode(l),i<2))return!1;for(i%2&&(o=n.push("text","",0),o.content=u,i--),a=0;a{"use strict";Rn.exports.tokenize=function(n,r){var a,t,o,i=n.pos,u=n.src.charCodeAt(i);if(r||u!==95&&u!==42)return!1;for(t=n.scanDelims(n.pos,u===42),a=0;a=0;r--)a=n[r],!(a.marker!==95&&a.marker!==42)&&a.end!==-1&&(t=n[a.end],u=r>0&&n[r-1].end===a.end+1&&n[r-1].token===a.token-1&&n[a.end+1].token===t.token+1&&n[r-1].marker===a.marker,i=String.fromCharCode(a.marker),o=e.tokens[a.token],o.type=u?"strong_open":"em_open",o.tag=u?"strong":"em",o.nesting=1,o.markup=u?i+i:i,o.content="",o=e.tokens[t.token],o.type=u?"strong_close":"em_close",o.tag=u?"strong":"em",o.nesting=-1,o.markup=u?i+i:i,o.content="",u&&(e.tokens[n[r-1].token].content="",e.tokens[n[a.end+1].token].content="",r--))}Rn.exports.postProcess=function(n){var r,a=n.tokens_meta,t=n.tokens_meta.length;for(Xt(n,n.delimiters),r=0;r{"use strict";var bu=Fe().normalizeReference,Hn=Fe().isSpace;Yt.exports=function(n,r){var a,t,o,i,u,c,l,f,v,d="",s="",p=n.pos,h=n.posMax,g=n.pos,_=!0;if(n.src.charCodeAt(n.pos)!==91||(u=n.pos+1,i=n.md.helpers.parseLinkLabel(n,n.pos,!0),i<0))return!1;if(c=i+1,c=h)return!1;if(g=c,l=n.md.helpers.parseLinkDestination(n.src,c,n.posMax),l.ok){for(d=n.md.normalizeLink(l.str),n.md.validateLink(d)?c=l.pos:d="",g=c;c=h||n.src.charCodeAt(c)!==41)&&(_=!0),c++}if(_){if(typeof n.env.references=="undefined")return!1;if(c=0?o=n.src.slice(g,c++):c=i+1):c=i+1,o||(o=n.src.slice(u,i)),f=n.env.references[bu(o)],!f)return n.pos=p,!1;d=f.href,s=f.title}return r||(n.pos=u,n.posMax=i,v=n.push("link_open","a",1),v.attrs=a=[["href",d]],s&&a.push(["title",s]),n.md.inline.tokenize(n),v=n.push("link_close","a",-1)),n.pos=c,n.posMax=h,!0}});var ea=ge((lc,$t)=>{"use strict";var wu=Fe().normalizeReference,qn=Fe().isSpace;$t.exports=function(n,r){var a,t,o,i,u,c,l,f,v,d,s,p,h,g="",_=n.pos,b=n.posMax;if(n.src.charCodeAt(n.pos)!==33||n.src.charCodeAt(n.pos+1)!==91||(c=n.pos+2,u=n.md.helpers.parseLinkLabel(n,n.pos+1,!1),u<0))return!1;if(l=u+1,l=b)return!1;for(h=l,v=n.md.helpers.parseLinkDestination(n.src,l,n.posMax),v.ok&&(g=n.md.normalizeLink(v.str),n.md.validateLink(g)?l=v.pos:g=""),h=l;l=b||n.src.charCodeAt(l)!==41)return n.pos=_,!1;l++}else{if(typeof n.env.references=="undefined")return!1;if(l=0?i=n.src.slice(h,l++):l=u+1):l=u+1,i||(i=n.src.slice(c,u)),f=n.env.references[wu(i)],!f)return n.pos=_,!1;g=f.href,d=f.title}return r||(o=n.src.slice(c,u),n.md.inline.parse(o,n.md,n.env,p=[]),s=n.push("image","img",0),s.attrs=a=[["src",g],["alt",""]],s.children=p,s.content=o,d&&a.push(["title",d])),n.pos=l,n.posMax=b,!0}});var ra=ge((fc,na)=>{"use strict";var yu=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Cu=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;na.exports=function(n,r){var a,t,o,i,u,c,l=n.pos;if(n.src.charCodeAt(l)!==60)return!1;for(u=n.pos,c=n.posMax;;){if(++l>=c||(i=n.src.charCodeAt(l),i===60))return!1;if(i===62)break}return a=n.src.slice(u+1,l),Cu.test(a)?(t=n.md.normalizeLink(a),n.md.validateLink(t)?(r||(o=n.push("link_open","a",1),o.attrs=[["href",t]],o.markup="autolink",o.info="auto",o=n.push("text","",0),o.content=n.md.normalizeLinkText(a),o=n.push("link_close","a",-1),o.markup="autolink",o.info="auto"),n.pos+=a.length+2,!0):!1):yu.test(a)?(t=n.md.normalizeLink("mailto:"+a),n.md.validateLink(t)?(r||(o=n.push("link_open","a",1),o.attrs=[["href",t]],o.markup="autolink",o.info="auto",o=n.push("text","",0),o.content=n.md.normalizeLinkText(a),o=n.push("link_close","a",-1),o.markup="autolink",o.info="auto"),n.pos+=a.length+2,!0):!1):!1}});var aa=ge((sc,ta)=>{"use strict";var Eu=In().HTML_TAG_RE;function Au(e){var n=e|32;return n>=97&&n<=122}ta.exports=function(n,r){var a,t,o,i,u=n.pos;return!n.md.options.html||(o=n.posMax,n.src.charCodeAt(u)!==60||u+2>=o)||(a=n.src.charCodeAt(u+1),a!==33&&a!==63&&a!==47&&!Au(a))||(t=n.src.slice(u).match(Eu),!t)?!1:(r||(i=n.push("html_inline","",0),i.content=n.src.slice(u,u+t[0].length)),n.pos+=t[0].length,!0)}});var ca=ge((vc,oa)=>{"use strict";var ua=Dn(),Fu=Fe().has,Mu=Fe().isValidEntityCode,ia=Fe().fromCodePoint,Tu=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Iu=/^&([a-z][a-z0-9]{1,31});/i;oa.exports=function(n,r){var a,t,o,i=n.pos,u=n.posMax;if(n.src.charCodeAt(i)!==38)return!1;if(i+1{"use strict";function fa(e,n){var r,a,t,o,i,u,c,l,f={},v=n.length;for(r=0;ri;a-=o.jump+1)if(o=n[a],o.marker===t.marker&&o.open&&o.end<0&&(c=!1,(o.close||t.open)&&(o.length+t.length)%3==0&&(o.length%3!=0||t.length%3!=0)&&(c=!0),!c)){l=a>0&&!n[a-1].open?n[a-1].jump+1:0,t.jump=r-a+l,t.open=!1,o.end=r,o.jump=l,o.close=!1,u=-1;break}u!==-1&&(f[t.marker][(t.length||0)%3]=u)}}la.exports=function(n){var r,a=n.tokens_meta,t=n.tokens_meta.length;for(fa(n,n.delimiters),r=0;r{"use strict";va.exports=function(n){var r,a,t=0,o=n.tokens,i=n.tokens.length;for(r=a=0;r0&&t++,o[r].type==="text"&&r+1{"use strict";var Un=fn(),ha=Fe().isWhiteSpace,ma=Fe().isPunctChar,ga=Fe().isMdAsciiPunct;function Pe(e,n,r,a){this.src=e,this.env=r,this.md=n,this.tokens=a,this.tokens_meta=Array(a.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}Pe.prototype.pushPending=function(){var e=new Un("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};Pe.prototype.push=function(e,n,r){this.pending&&this.pushPending();var a=new Un(e,n,r),t=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),a.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],t={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(a),this.tokens_meta.push(t),a};Pe.prototype.scanDelims=function(e,n){var r=e,a,t,o,i,u,c,l,f,v,d=!0,s=!0,p=this.posMax,h=this.src.charCodeAt(e);for(a=e>0?this.src.charCodeAt(e-1):32;r{"use strict";var ba=cn(),Bn=[["text",Jt()],["newline",zt()],["escape",jt()],["backticks",Kt()],["strikethrough",Ln().tokenize],["emphasis",Nn().tokenize],["link",Pt()],["image",ea()],["autolink",ra()],["html_inline",aa()],["entity",ca()]],Wn=[["balance_pairs",sa()],["strikethrough",Ln().postProcess],["emphasis",Nn().postProcess],["text_collapse",da()]];function $e(){var e;for(this.ruler=new ba,e=0;e=o)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};$e.prototype.parse=function(e,n,r,a){var t,o,i,u=new this.State(e,n,r,a);for(this.tokenize(u),o=this.ruler2.getRules(""),i=o.length,t=0;t{"use strict";ya.exports=function(e){var n={};n.src_Any=wn().source,n.src_Cc=yn().source,n.src_Z=Cn().source,n.src_P=rn().source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|");var r="[><\uFF5C]";return n.src_pseudo_letter="(?:(?!"+r+"|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|"+r+"|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+n.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+n.src_ZCc+").|\\!+(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+n.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+n.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}});var Ia=ge((_c,Ea)=>{"use strict";function On(e){var n=Array.prototype.slice.call(arguments,1);return n.forEach(function(r){!r||Object.keys(r).forEach(function(a){e[a]=r[a]})}),e}function hn(e){return Object.prototype.toString.call(e)}function ku(e){return hn(e)==="[object String]"}function xu(e){return hn(e)==="[object Object]"}function Lu(e){return hn(e)==="[object RegExp]"}function Aa(e){return hn(e)==="[object Function]"}function Ru(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Fa={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Nu(e){return Object.keys(e||{}).reduce(function(n,r){return n||Fa.hasOwnProperty(r)},!1)}var Hu={"http:":{validate:function(e,n,r){var a=e.slice(n);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(a)?a.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,n,r){var a=e.slice(n);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(a)?n>=3&&e[n-3]===":"||n>=3&&e[n-3]==="/"?0:a.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,n,r){var a=e.slice(n);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(a)?a.match(r.re.mailto)[0].length:0}}},qu="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Uu="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function Bu(e){e.__index__=-1,e.__text_cache__=""}function Wu(e){return function(n,r){var a=n.slice(r);return e.test(a)?a.match(e)[0].length:0}}function Ma(){return function(e,n){n.normalize(e)}}function mn(e){var n=e.re=Ca()(e.__opts__),r=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||r.push(qu),r.push(n.src_xn),n.src_tlds=r.join("|");function a(u){return u.replace("%TLDS%",n.src_tlds)}n.email_fuzzy=RegExp(a(n.tpl_email_fuzzy),"i"),n.link_fuzzy=RegExp(a(n.tpl_link_fuzzy),"i"),n.link_no_ip_fuzzy=RegExp(a(n.tpl_link_no_ip_fuzzy),"i"),n.host_fuzzy_test=RegExp(a(n.tpl_host_fuzzy_test),"i");var t=[];e.__compiled__={};function o(u,c){throw new Error('(LinkifyIt) Invalid schema "'+u+'": '+c)}Object.keys(e.__schemas__).forEach(function(u){var c=e.__schemas__[u];if(c!==null){var l={validate:null,link:null};if(e.__compiled__[u]=l,xu(c)){Lu(c.validate)?l.validate=Wu(c.validate):Aa(c.validate)?l.validate=c.validate:o(u,c),Aa(c.normalize)?l.normalize=c.normalize:c.normalize?o(u,c):l.normalize=Ma();return}if(ku(c)){t.push(u);return}o(u,c)}}),t.forEach(function(u){!e.__compiled__[e.__schemas__[u]]||(e.__compiled__[u].validate=e.__compiled__[e.__schemas__[u]].validate,e.__compiled__[u].normalize=e.__compiled__[e.__schemas__[u]].normalize)}),e.__compiled__[""]={validate:null,normalize:Ma()};var i=Object.keys(e.__compiled__).filter(function(u){return u.length>0&&e.__compiled__[u]}).map(Ru).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+n.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+n.src_ZPCc+"))("+i+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Bu(e)}function Ou(e,n){var r=e.__index__,a=e.__last_index__,t=e.__text_cache__.slice(r,a);this.schema=e.__schema__.toLowerCase(),this.index=r+n,this.lastIndex=a+n,this.raw=t,this.text=t,this.url=t}function Ta(e,n){var r=new Ou(e,n);return e.__compiled__[r.schema].normalize(r,e),r}function Re(e,n){if(!(this instanceof Re))return new Re(e,n);n||Nu(e)&&(n=e,e={}),this.__opts__=On({},Fa,n),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=On({},Hu,e),this.__compiled__={},this.__tlds__=Uu,this.__tlds_replaced__=!1,this.re={},mn(this)}Re.prototype.add=function(n,r){return this.__schemas__[n]=r,mn(this),this};Re.prototype.set=function(n){return this.__opts__=On(this.__opts__,n),this};Re.prototype.test=function(n){if(this.__text_cache__=n,this.__index__=-1,!n.length)return!1;var r,a,t,o,i,u,c,l,f;if(this.re.schema_test.test(n)){for(c=this.re.schema_search,c.lastIndex=0;(r=c.exec(n))!==null;)if(o=this.testSchemaAt(n,r[2],c.lastIndex),o){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=n.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&(t=n.match(this.re.email_fuzzy))!==null&&(i=t.index+t[1].length,u=t.index+t[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=u))),this.__index__>=0};Re.prototype.pretest=function(n){return this.re.pretest.test(n)};Re.prototype.testSchemaAt=function(n,r,a){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(n,a,this):0};Re.prototype.match=function(n){var r=0,a=[];this.__index__>=0&&this.__text_cache__===n&&(a.push(Ta(this,r)),r=this.__last_index__);for(var t=r?n.slice(r):n;this.test(t);)a.push(Ta(this,r)),t=t.slice(this.__last_index__),r+=this.__last_index__;return a.length?a:null};Re.prototype.tlds=function(n,r){return n=Array.isArray(n)?n:[n],r?(this.__tlds__=this.__tlds__.concat(n).sort().filter(function(a,t,o){return a!==o[t-1]}).reverse(),mn(this),this):(this.__tlds__=n.slice(),this.__tlds_replaced__=!0,mn(this),this)};Re.prototype.normalize=function(n){n.schema||(n.url="http://"+n.url),n.schema==="mailto:"&&!/^mailto:/i.test(n.url)&&(n.url="mailto:"+n.url)};Re.prototype.onCompile=function(){};Ea.exports=Re});var Oa=ge((Dc,ka)=>{"use strict";var Xe=2147483647,Be=36,Jn=1,en=26,Ju=38,Su=700,xa=72,La=128,Ra="-",zu=/^xn--/,Vu=/[^\0-\x7E]/,Qu=/[\x2E\u3002\uFF0E\uFF61]/g,ju={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Sn=Be-Jn,We=Math.floor,zn=String.fromCharCode;function Ve(e){throw new RangeError(ju[e])}function Gu(e,n){let r=[],a=e.length;for(;a--;)r[a]=n(e[a]);return r}function Na(e,n){let r=e.split("@"),a="";r.length>1&&(a=r[0]+"@",e=r[1]),e=e.replace(Qu,".");let t=e.split("."),o=Gu(t,n).join(".");return a+o}function Ha(e){let n=[],r=0,a=e.length;for(;r=55296&&t<=56319&&rString.fromCodePoint(...e),Zu=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:Be},qa=function(e,n){return e+22+75*(e<26)-((n!=0)<<5)},Ua=function(e,n,r){let a=0;for(e=r?We(e/Su):e>>1,e+=We(e/n);e>Sn*en>>1;a+=Be)e=We(e/Sn);return We(a+(Sn+1)*e/(e+Ju))},Ba=function(e){let n=[],r=e.length,a=0,t=La,o=xa,i=e.lastIndexOf(Ra);i<0&&(i=0);for(let u=0;u=128&&Ve("not-basic"),n.push(e.charCodeAt(u));for(let u=i>0?i+1:0;u=r&&Ve("invalid-input");let d=Zu(e.charCodeAt(u++));(d>=Be||d>We((Xe-a)/f))&&Ve("overflow"),a+=d*f;let s=v<=o?Jn:v>=o+en?en:v-o;if(dWe(Xe/p)&&Ve("overflow"),f*=p}let l=n.length+1;o=Ua(a-c,l,c==0),We(a/l)>Xe-t&&Ve("overflow"),t+=We(a/l),a%=l,n.splice(a++,0,t)}return String.fromCodePoint(...n)},Wa=function(e){let n=[];e=Ha(e);let r=e.length,a=La,t=0,o=xa;for(let c of e)c<128&&n.push(zn(c));let i=n.length,u=i;for(i&&n.push(Ra);u=a&&fWe((Xe-t)/l)&&Ve("overflow"),t+=(c-a)*l,a=c;for(let f of e)if(fXe&&Ve("overflow"),f==a){let v=t;for(let d=Be;;d+=Be){let s=d<=o?Jn:d>=o+en?en:d-o;if(v{"use strict";Ja.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}});var Va=ge((wc,za)=>{"use strict";za.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}});var ja=ge((yc,Qa)=>{"use strict";Qa.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}});var Xa=ge((Cc,Ga)=>{"use strict";var nn=Fe(),$u=Ir(),ei=xr(),ni=rt(),ri=Wt(),ti=wa(),ai=Ia(),Qe=bn(),Ka=Oa(),oi={default:Sa(),zero:Va(),commonmark:ja()},ui=/^(vbscript|javascript|file|data):/,ii=/^data:image\/(gif|png|jpeg|webp);/;function ci(e){var n=e.trim().toLowerCase();return ui.test(n)?!!ii.test(n):!0}var Za=["http:","https:","mailto:"];function li(e){var n=Qe.parse(e,!0);if(n.hostname&&(!n.protocol||Za.indexOf(n.protocol)>=0))try{n.hostname=Ka.toASCII(n.hostname)}catch(r){}return Qe.encode(Qe.format(n))}function fi(e){var n=Qe.parse(e,!0);if(n.hostname&&(!n.protocol||Za.indexOf(n.protocol)>=0))try{n.hostname=Ka.toUnicode(n.hostname)}catch(r){}return Qe.decode(Qe.format(n),Qe.decode.defaultChars+"%")}function Ne(e,n){if(!(this instanceof Ne))return new Ne(e,n);n||nn.isString(e)||(n=e||{},e="default"),this.inline=new ti,this.block=new ri,this.core=new ni,this.renderer=new ei,this.linkify=new ai,this.validateLink=ci,this.normalizeLink=li,this.normalizeLinkText=fi,this.utils=nn,this.helpers=nn.assign({},$u),this.options={},this.configure(e),n&&this.set(n)}Ne.prototype.set=function(e){return nn.assign(this.options,e),this};Ne.prototype.configure=function(e){var n=this,r;if(nn.isString(e)&&(r=e,e=oi[r],!e))throw new Error('Wrong `markdown-it` preset "'+r+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(a){e.components[a].rules&&n[a].ruler.enableOnly(e.components[a].rules),e.components[a].rules2&&n[a].ruler2.enableOnly(e.components[a].rules2)}),this};Ne.prototype.enable=function(e,n){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));var a=e.filter(function(t){return r.indexOf(t)<0});if(a.length&&!n)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+a);return this};Ne.prototype.disable=function(e,n){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){r=r.concat(this[t].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));var a=e.filter(function(t){return r.indexOf(t)<0});if(a.length&&!n)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+a);return this};Ne.prototype.use=function(e){var n=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,n),this};Ne.prototype.parse=function(e,n){if(typeof e!="string")throw new Error("Input data should be a String");var r=new this.core.State(e,this,n);return this.core.process(r),r.tokens};Ne.prototype.render=function(e,n){return n=n||{},this.renderer.render(this.parse(e,n),this.options,n)};Ne.prototype.parseInline=function(e,n){var r=new this.core.State(e,this,n);return r.inlineMode=!0,this.core.process(r),r.tokens};Ne.prototype.renderInline=function(e,n){return n=n||{},this.renderer.render(this.parseInline(e,n),this.options,n)};Ga.exports=Ne});var Pa=ge((Ec,Ya)=>{"use strict";Ya.exports=Xa()});var I={};(function(e){"use strict";e["CSS.String"]=e["CSS.String"]||{};var n=e["CSS.String"],r=function(t){this.fromString=t},a=function(t){return t.fromString};n.fromString=a,n.IsString=r})(I);(function(e){"use strict";e["Data.Boolean"]=e["Data.Boolean"]||{};var n=e["Data.Boolean"],r=!0;n.otherwise=r})(I);(function(e){"use strict";e.fromNumberImpl=function(n){return function(r){return function(a){return(a|0)===a?n(a):r}}},e.toNumber=function(n){return n},e.toStringAs=function(n){return function(r){return r.toString(n)}}})(I["Data.Int"]=I["Data.Int"]||{});(function(e){"use strict";e.topInt=2147483647,e.bottomInt=-2147483648,e.topChar=String.fromCharCode(65535),e.bottomChar=String.fromCharCode(0)})(I["Data.Bounded"]=I["Data.Bounded"]||{});(function(e){"use strict";var n=function(r){return function(a){return function(t){return function(o){return function(i){return o>>16&65535,i=a&65535,u=t>>>16&65535,c=t&65535;return i*c+(o*c+i*u<<16>>>0)|0}}e.remainder=function(a){return function(t){return a%t}},e.round=Math.round})(I.Math=I.Math||{});(function(e){"use strict";e.Math=e.Math||{};var n=e.Math,r=e.Math;n.abs=r.abs,n.round=r.round,n.remainder=r.remainder})(I);(function(e){"use strict";e["Data.Int"]=e["Data.Int"]||{};var n=e["Data.Int"],r=e["Data.Int"],a=e["Data.Boolean"],t=e["Data.Bounded"],o=e["Data.Maybe"],i=e["Data.Number"],u=e.Math,c=16,l=r.fromNumberImpl(o.Just.create)(o.Nothing.value),f=function(d){if(!i.isFinite(d))return 0;if(d>=r.toNumber(t.top(t.boundedInt)))return t.top(t.boundedInt);if(d<=r.toNumber(t.bottom(t.boundedInt)))return t.bottom(t.boundedInt);if(a.otherwise)return o.fromMaybe(0)(l(d));throw new Error("Failed pattern match at Data.Int (line 66, column 1 - line 66, column 29): "+[d.constructor.name])},v=function(d){return f(u.round(d))};n.fromNumber=l,n.round=v,n.hexadecimal=c,n.toNumber=r.toNumber,n.toStringAs=r.toStringAs})(I);(function(e){"use strict";e.showIntImpl=function(n){return n.toString()},e.showNumberImpl=function(n){var r=n.toString();return isNaN(r+".0")?r:r+".0"},e.showCharImpl=function(n){var r=n.charCodeAt(0);if(r<32||r===127){switch(n){case"\x07":return"'\\a'";case"\b":return"'\\b'";case"\f":return"'\\f'";case` `:return"'\\n'";case"\r":return"'\\r'";case" ":return"'\\t'";case"\v":return"'\\v'"}return"'\\"+r.toString(10)+"'"}return n==="'"||n==="\\"?"'\\"+n+"'":"'"+n+"'"},e.showStringImpl=function(n){var r=n.length;return'"'+n.replace(/[\0-\x1F\x7F"\\]/g,function(a,t){switch(a){case'"':case"\\":return"\\"+a;case"\x07":return"\\a";case"\b":return"\\b";case"\f":return"\\f";case` `:return"\\n";case"\r":return"\\r";case" ":return"\\t";case"\v":return"\\v"}var o=t+1,i=o="0"&&n[o]<="9"?"\\&":"";return"\\"+a.charCodeAt(0).toString(10)+i})+'"'},e.cons=function(n){return function(r){return[n].concat(r)}},e.join=function(n){return function(r){return r.join(n)}}})(I["Data.Show"]=I["Data.Show"]||{});(function(e){"use strict";e["Data.Symbol"]=e["Data.Symbol"]||{};var n=e["Data.Symbol"],r=function(){function o(){}return o.value=new o,o}(),a=function(o){this.reflectSymbol=o},t=function(o){return o.reflectSymbol};n.IsSymbol=a,n.reflectSymbol=t,n.SProxy=r})(I);(function(e){"use strict";e.unsafeGet=function(n){return function(r){return r[n]}},e.unsafeSet=function(n){return function(r){return function(a){var t={};for(var o in a)({}).hasOwnProperty.call(a,o)&&(t[o]=a[o]);return t[n]=r,t}}}})(I["Record.Unsafe"]=I["Record.Unsafe"]||{});(function(e){"use strict";e["Record.Unsafe"]=e["Record.Unsafe"]||{};var n=e["Record.Unsafe"],r=e["Record.Unsafe"];n.unsafeGet=r.unsafeGet,n.unsafeSet=r.unsafeSet})(I);(function(e){"use strict";e["Type.Proxy"]=e["Type.Proxy"]||{};var n=e["Type.Proxy"],r=function(){function a(){}return a.value=new a,a}();n.Proxy=r})(I);(function(e){"use strict";e["Data.Show"]=e["Data.Show"]||{};var n=e["Data.Show"],r=e["Data.Show"],a=e["Data.Symbol"],t=e["Record.Unsafe"],o=e["Type.Proxy"],i=function(_){this.showRecordFields=_},u=function(_){this.show=_},c=new u(r.showStringImpl),l=new i(function(_){return function(b){return[]}}),f=function(_){return _.showRecordFields},v=function(_){return function(b){return new u(function(w){var M=f(b)(o.Proxy.value)(w);return M.length===0?"{}":r.join(" ")(["{",r.join(", ")(M),"}"])})}},d=new u(r.showNumberImpl),s=new u(r.showIntImpl),p=new u(r.showCharImpl),h=function(_){return _.show},g=function(_){return function(b){return function(w){return new i(function(M){return function(C){var D=f(b)(o.Proxy.value)(C),E=a.reflectSymbol(_)(o.Proxy.value),W=t.unsafeGet(E)(C);return r.cons(r.join(": ")([E,h(w)(W)]))(D)}})}}};n.Show=u,n.show=h,n.showInt=s,n.showNumber=d,n.showChar=p,n.showString=c,n.showRecord=v,n.showRecordFieldsNil=l,n.showRecordFieldsCons=g})(I);(function(e){"use strict";e.Color=e.Color||{};var n=e.Color,r=e["Data.Boolean"],a=e["Data.Int"],t=e["Data.Ord"],o=e["Data.Show"],i=e.Math,u=function(){function d(s,p,h,g){this.value0=s,this.value1=p,this.value2=h,this.value3=g}return d.create=function(s){return function(p){return function(h){return function(g){return new d(s,p,h,g)}}}},d}(),c=function(d){return function(s){return i.remainder(i.remainder(d)(s)+s)(s)}},l=function(d){return function(s){return function(p){return function(h){var g=t.clamp(t.ordInt)(0)(255)(d),_=a.toNumber(g)/255,b=t.clamp(t.ordInt)(0)(255)(s),w=a.toNumber(b)/255,M=t.clamp(t.ordInt)(0)(255)(p),C=t.max(t.ordInt)(t.max(t.ordInt)(g)(b))(M),D=t.min(t.ordInt)(t.min(t.ordInt)(g)(b))(M),E=C-D|0,W=a.toNumber(E)/255,m=a.toNumber(C+D|0)/(255*2),O=function(){if(E===0)return 0;if(r.otherwise)return W/(1-i.abs(2*m-1));throw new Error("Failed pattern match at Color (line 157, column 5 - line 158, column 75): "+[])}(),J=a.toNumber(M)/255,x=function(G){if(G===0)return 0;if(C===g)return c((w-J)/W)(6);if(C===b)return(J-_)/W+2;if(r.otherwise)return(_-w)/W+4;throw new Error("Failed pattern match at Color (line 148, column 5 - line 148, column 17): "+[G.constructor.name])},z=60*x(E);return new u(z,O,m,h)}}}},f=function(d){return function(s){return function(p){return l(d)(s)(p)(1)}}},v=function(d){var s=function(w){return o.show(o.showNumber)(a.toNumber(a.round(100*w))/100)},p=s(d.value1*100)+"%",h=s(d.value2*100)+"%",g=s(d.value0),_=o.show(o.showNumber)(d.value3),b=d.value3===1;return b?"hsl("+(g+(", "+(p+(", "+(h+")"))))):"hsla("+(g+(", "+(p+(", "+(h+(", "+(_+")")))))))};n.rgb=f,n.cssStringHSLA=v})(I);(function(e){"use strict";e["Data.Profunctor"]=e["Data.Profunctor"]||{};var n=e["Data.Profunctor"],r=function(o){this.dimap=o},a=new r(function(o){return function(i){return function(u){return function(c){return i(u(o(c)))}}}}),t=function(o){return o.dimap};n.dimap=t,n.profunctorFn=a})(I);(function(e){"use strict";e["Data.Tuple"]=e["Data.Tuple"]||{};var n=e["Data.Tuple"],r=e["Data.Functor"],a=function(){function c(l,f){this.value0=l,this.value1=f}return c.create=function(l){return function(f){return new c(l,f)}},c}(),t=function(c){return function(l){return c(l.value0)(l.value1)}},o=function(c){return c.value1},i=new r.Functor(function(c){return function(l){return new a(l.value0,c(l.value1))}}),u=function(c){return c.value0};n.Tuple=a,n.fst=u,n.snd=o,n.uncurry=t,n.functorTuple=i})(I);(function(e){"use strict";e["Data.Profunctor.Strong"]=e["Data.Profunctor.Strong"]||{};var n=e["Data.Profunctor.Strong"],r=e["Data.Functor"],a=e["Data.Profunctor"],t=e["Data.Tuple"],o=function(l,f,v){this.Profunctor0=l,this.first=f,this.second=v},i=new o(function(){return a.profunctorFn},function(l){return function(f){return new t.Tuple(l(f.value0),f.value1)}},r.map(t.functorTuple)),u=function(l){return l.second},c=function(l){return l.first};n.first=c,n.second=u,n.strongFn=i})(I);(function(e){"use strict";e["CSS.Property"]=e["CSS.Property"]||{};var n=e["CSS.Property"],r=e["CSS.String"],a=e.Color,t=e["Data.Functor"],o=e["Data.Profunctor.Strong"],i=e["Data.Semigroup"],u=e["Data.Show"],c=function(){function W(m){this.value0=m}return W.create=function(m){return new W(m)},W}(),l=function(){function W(m){this.value0=m}return W.create=function(m){return new W(m)},W}(),f=function(W){return W},v=function(W){this.value=W},d=function(W){return W},s=function(W){return W.value},p=new i.Semigroup(function(W){return function(m){if(W instanceof l&&m instanceof l)return l.create(W.value0+m.value0);if(W instanceof l&&m instanceof c)return c.create(t.map(t.functorArray)(o.second(o.strongFn)(function(O){return W.value0+O}))(m.value0));if(W instanceof c&&m instanceof l)return c.create(t.map(t.functorArray)(o.second(o.strongFn)(function(O){return m.value0+O}))(W.value0));if(W instanceof c&&m instanceof c)return c.create(i.append(i.semigroupArray)(W.value0)(m.value0));throw new Error("Failed pattern match at CSS.Property (line 23, column 1 - line 27, column 59): "+[W.constructor.name,m.constructor.name])}}),h=new i.Semigroup(function(W){return function(m){return f(i.append(p)(W)(m))}}),g=new r.IsString(l.create),_=new r.IsString(function(){var W=r.fromString(g);return function(m){return f(W(m))}}()),b=new v(function(){var W=r.fromString(_);return function(m){return W(a.cssStringHSLA(m))}}()),w=new v(function(){var W=r.fromString(_),m=u.show(u.showNumber);return function(O){return W(m(O))}}()),M=function(W){return function(m){return new v(function(O){return i.append(h)(s(W)(O.value0))(i.append(h)(r.fromString(_)(" "))(s(m)(O.value1)))})}},C=new v(function(W){return r.fromString(_)("")}),D=new r.IsString(function(){var W=r.fromString(g);return function(m){return d(W(m))}}()),E=function(W){return W};n.value=s,n.Prefixed=c,n.Plain=l,n.cast=E,n.Val=v,n.isStringKey=D,n.isStringValue=_,n.semigroupValue=h,n.valUnit=C,n.valTuple=M,n.valNumber=w,n.valColor=b})(I);(function(e){"use strict";e["CSS.Size"]=e["CSS.Size"]||{};var n=e["CSS.Size"],r=e["CSS.Property"],a=e["CSS.String"],t=e["Data.Semigroup"],o=new r.Val(function(l){return l}),i=function(l){return t.append(r.semigroupValue)(r.value(r.valNumber)(l))(a.fromString(r.isStringValue)("px"))},u=function(l){return t.append(r.semigroupValue)(r.value(r.valNumber)(l))(a.fromString(r.isStringValue)("%"))},c=function(l){return t.append(r.semigroupValue)(r.value(r.valNumber)(l))(a.fromString(r.isStringValue)("em"))};n.px=i,n.em=c,n.pct=u,n.valSize=o})(I);(function(e){"use strict";e["Control.Monad"]=e["Control.Monad"]||{};var n=e["Control.Monad"],r=e["Control.Applicative"],a=e["Control.Bind"],t=function(u,c){this.Applicative0=u,this.Bind1=c},o=function(u){return function(c){return function(l){return a.bind(u.Bind1())(c)(function(f){return r.unless(u.Applicative0())(f)(l)})}}},i=function(u){return function(c){return function(l){return a.bind(u.Bind1())(c)(function(f){return a.bind(u.Bind1())(l)(function(v){return r.pure(u.Applicative0())(f(v))})})}}};n.Monad=t,n.unlessM=o,n.ap=i})(I);(function(e){"use strict";e["Control.Monad.Writer.Class"]=e["Control.Monad.Writer.Class"]||{};var n=e["Control.Monad.Writer.Class"],r=function(t,o,i){this.Monad1=t,this.Semigroup0=o,this.tell=i},a=function(t){return t.tell};n.tell=a,n.MonadTell=r})(I);(function(e){"use strict";e["Data.Monoid"]=e["Data.Monoid"]||{};var n=e["Data.Monoid"],r=e["Data.Semigroup"],a=e["Data.Unit"],t=function(l,f){this.Semigroup0=l,this.mempty=f},o=new t(function(){return r.semigroupUnit},a.unit),i=new t(function(){return r.semigroupString},""),u=new t(function(){return r.semigroupArray},[]),c=function(l){return l.mempty};n.Monoid=t,n.mempty=c,n.monoidUnit=o,n.monoidString=i,n.monoidArray=u})(I);(function(e){"use strict";e["Control.Monad.Writer.Trans"]=e["Control.Monad.Writer.Trans"]||{};var n=e["Control.Monad.Writer.Trans"],r=e["Control.Applicative"],a=e["Control.Apply"],t=e["Control.Bind"],o=e["Control.Monad"],i=e["Control.Monad.Writer.Class"],u=e["Data.Functor"],c=e["Data.Monoid"],l=e["Data.Semigroup"],f=e["Data.Tuple"],v=e["Data.Unit"],d=function(C){return C},s=function(C){return C},p=function(C){return function(D){return C(D)}},h=function(C){return new u.Functor(function(D){return p(u.map(C)(function(E){return new f.Tuple(D(E.value0),E.value1)}))})},g=function(C){return function(D){return new a.Apply(function(){return h(D.Functor0())},function(E){return function(W){var m=function(O){return function(J){return new f.Tuple(O.value0(J.value0),l.append(C)(O.value1)(J.value1))}};return a.apply(D)(u.map(D.Functor0())(m)(E))(W)}})}},_=function(C){return function(D){return new t.Bind(function(){return g(C)(D.Apply0())},function(E){return function(W){return d(t.bind(D)(E)(function(m){var O=W(m.value0);return u.map(D.Apply0().Functor0())(function(J){return new f.Tuple(J.value0,l.append(C)(m.value1)(J.value1))})(O)}))}})}},b=function(C){return function(D){return new r.Applicative(function(){return g(C.Semigroup0())(D.Apply0())},function(E){return d(r.pure(D)(new f.Tuple(E,c.mempty(C))))})}},w=function(C){return function(D){return new o.Monad(function(){return b(C)(D.Applicative0())},function(){return _(C.Semigroup0())(D.Bind1())})}},M=function(C){return function(D){return new i.MonadTell(function(){return w(C)(D)},C.Semigroup0,function(){var E=r.pure(D.Applicative0()),W=f.Tuple.create(v.unit);return function(m){return d(E(W(m)))}}())}};n.runWriterT=s,n.functorWriterT=h,n.applyWriterT=g,n.bindWriterT=_,n.monadTellWriterT=M})(I);(function(e){"use strict";e.unsafeCoerce=function(n){return n}})(I["Unsafe.Coerce"]=I["Unsafe.Coerce"]||{});(function(e){"use strict";e["Unsafe.Coerce"]=e["Unsafe.Coerce"]||{};var n=e["Unsafe.Coerce"],r=e["Unsafe.Coerce"];n.unsafeCoerce=r.unsafeCoerce})(I);(function(e){"use strict";e["Safe.Coerce"]=e["Safe.Coerce"]||{};var n=e["Safe.Coerce"],r=e["Unsafe.Coerce"],a=function(t){return r.unsafeCoerce};n.coerce=a})(I);(function(e){"use strict";e["Data.Newtype"]=e["Data.Newtype"]||{};var n=e["Data.Newtype"],r=e["Safe.Coerce"],a=function(c){return r.coerce()},t=function(c){return r.coerce()},o=function(c){return function(l){return t()}},i=function(c){return function(l){return function(f){return r.coerce()}}},u=function(c){return function(l){return function(f){return function(v){return function(d){return r.coerce()}}}}};n.wrap=a,n.unwrap=t,n.un=o,n.alaF=u,n.over=i})(I);(function(e){"use strict";e["Control.Monad.Writer"]=e["Control.Monad.Writer"]||{};var n=e["Control.Monad.Writer"],r=e["Control.Monad.Writer.Trans"],a=e["Data.Newtype"],t=e["Data.Tuple"],o=function(){var u=a.unwrap();return function(c){return u(r.runWriterT(c))}}(),i=function(u){return t.snd(o(u))};n.execWriter=i})(I);(function(e){"use strict";e.range=function(n){return function(r){for(var a=n>r?-1:1,t=new Array(a*(r-n)+1),o=n,i=0;o!==r;)t[i++]=o,o+=a;return t[i]=o,t}},e.fromFoldableImpl=function(){function n(o,i){this.head=o,this.tail=i}var r={};function a(o){return function(i){return new n(o,i)}}function t(o){for(var i=[],u=0,c=o;c!==r;)i[u++]=c.head,c=c.tail;return i}return function(o){return function(i){return t(o(a)(r)(i))}}}(),e.length=function(n){return n.length},e.unconsImpl=function(n){return function(r){return function(a){return a.length===0?n({}):r(a[0])(a.slice(1))}}},e.indexImpl=function(n){return function(r){return function(a){return function(t){return t<0||t>=a.length?r:n(a[t])}}}},e.findIndexImpl=function(n){return function(r){return function(a){return function(t){for(var o=0,i=t.length;o=t.length)return r;var o=t.slice();return o.splice(a,1),n(o)}}}},e.concat=function(n){if(n.length<=1e4)return Array.prototype.concat.apply([],n);for(var r=[],a=0,t=n.length;a>1),c-i>1&&n(r,a,o,t,i,c),u-c>1&&n(r,a,o,t,c,u),l=i,f=c,v=i;l0?(t[v++]=s,++f):(t[v++]=d,++l);for(;l=0;i--)t=n(a[i])(t);return t}}},e.foldlArray=function(n){return function(r){return function(a){for(var t=r,o=a.length,i=0;i0)&&(k=Q,T=De._3(pe)));break;case _:U=new E(h,new E(w,T,Z),U,A),k=Q,A&&A!==fe&&P===0?T=De._1.killed(B.fromLeft(A))(De._2):Z?T=De._1.failed(B.fromLeft(Z))(De._2):T=De._1.completed(B.fromRight(T))(De._2),Z=null,P++;break;case b:P++,U=new E(h,new E(w,T,Z),U,A),k=Q,T=De._1;break;case w:P--,k=R,T=De._1,Z=De._2;break}break;case q:for(var Ae in y)y.hasOwnProperty(Ae)&&($=$&&y[Ae].rethrow,O(y[Ae].handler(T)));y=null,A&&Z?setTimeout(function(){throw B.fromLeft(Z)},0):B.isLeft(T)&&$&&setTimeout(function(){if($)throw B.fromLeft(T)},0);return;case X:k=Q;break;case L:return}}function ve(le){return function(){if(k===q)return $=$&&le.rethrow,le.handler(T)(),function(){};var fe=ae++;return y=y||{},y[fe]=le,function(){y!==null&&delete y[fe]}}}function ie(le,fe){return function(){if(k===q)return fe(B.right(void 0))(),function(){};var pe=ve({rethrow:!1,handler:function(){return fe(B.right(void 0))}})();switch(k){case X:A=B.left(le),k=q,T=A,ce(S);break;case L:A===null&&(A=B.left(le)),P===0&&(k===L&&(U=new E(h,new E(b,T(le)),U,A)),k=R,T=null,Z=null,ce(++S));break;default:A===null&&(A=B.left(le)),P===0&&(k=R,T=null,Z=null)}return pe}}function oe(le){return function(){var fe=ve({rethrow:!1,handler:le})();return k===X&&ce(S),fe}}return{kill:ie,join:oe,onComplete:ve,isSuspended:function(){return k===X},run:function(){k===X&&(z.isDraining()?ce(S):z.enqueue(function(){ce(S)}))}}}function ue(B,j,V,S){var k=0,T={},Z=0,A={},H=new Error("[ParAff] Early exit"),K=null,U=r;function P(ve,ie,oe){var le=ie,fe=null,pe=null,De=0,Ae={},Te,Le;e:for(;;)switch(Te=null,le.tag){case M:if(le._3===r&&(Te=T[le._1],Ae[De++]=Te.kill(ve,function(Oe){return function(){De--,De===0&&oe(Oe)()}})),fe===null)break e;le=fe._2,pe===null?fe=null:(fe=pe._1,pe=pe._2);break;case d:le=le._2;break;case s:case p:fe&&(pe=new E(h,fe,pe)),fe=le,le=le._1;break}if(De===0)oe(B.right(void 0))();else for(Le=0,Te=De;Led.length)return o;for(var s=v.concat(d).sort(),p=0;p=a.bottom(a.boundedInt)&&g<=a.top(a.boundedInt)?new t.Just(r.fromCharCode(g)):t.Nothing.value},p=new i(function(){return o.ordChar},d(s)(r.toCharCode),v(s)(r.toCharCode)),h=new u(function(){return a.boundedChar},function(){return p},r.toCharCode(a.top(a.boundedChar))-r.toCharCode(a.bottom(a.boundedChar))|0,r.toCharCode,s);n.Enum=i,n.BoundedEnum=u,n.toEnum=c,n.fromEnum=l,n.toEnumWithDefaults=f,n.defaultSucc=v,n.defaultPred=d,n.boundedEnumChar=h})(I);(function(e){"use strict";e["Data.Char"]=e["Data.Char"]||{};var n=e["Data.Char"],r=e["Data.Enum"],a=r.fromEnum(r.boundedEnumChar),t=r.toEnum(r.boundedEnumChar);n.toCharCode=a,n.fromCharCode=t})(I);(function(e){"use strict";e["Data.CommutativeRing"]=e["Data.CommutativeRing"]||{};var n=e["Data.CommutativeRing"],r=e["Data.Ring"],a=function(o){this.Ring0=o},t=new a(function(){return r.ringInt});n.commutativeRingInt=t})(I);(function(e){"use strict";e["Data.Exists"]=e["Data.Exists"]||{};var n=e["Data.Exists"],r=e["Unsafe.Coerce"],a=r.unsafeCoerce,t=r.unsafeCoerce;n.mkExists=t,n.runExists=a})(I);(function(e){"use strict";e["Data.Coyoneda"]=e["Data.Coyoneda"]||{};var n=e["Data.Coyoneda"],r=e["Control.Category"],a=e["Data.Exists"],t=e["Data.Functor"],o=function(){function v(d,s){this.value0=d,this.value1=s}return v.create=function(d){return function(s){return new v(d,s)}},v}(),i=function(v){return v},u=function(v){return function(d){return a.runExists(function(s){return v(s.value0)(s.value1)})(d)}},c=function(v){return function(d){return i(a.mkExists(new o(v,d)))}},l=new t.Functor(function(v){return function(d){return a.runExists(function(s){return c(function(p){return v(s.value0(p))})(s.value1)})(d)}}),f=c(r.identity(r.categoryFn));n.unCoyoneda=u,n.liftCoyoneda=f,n.functorCoyoneda=l})(I);(function(e){"use strict";e.intDegree=function(n){return Math.min(Math.abs(n),2147483647)},e.intDiv=function(n){return function(r){return r===0?0:r>0?Math.floor(n/r):-Math.floor(n/-r)}},e.intMod=function(n){return function(r){if(r===0)return 0;var a=Math.abs(r);return(n%a+a)%a}}})(I["Data.EuclideanRing"]=I["Data.EuclideanRing"]||{});(function(e){"use strict";e["Data.EuclideanRing"]=e["Data.EuclideanRing"]||{};var n=e["Data.EuclideanRing"],r=e["Data.EuclideanRing"],a=e["Data.CommutativeRing"],t=function(c,l,f,v){this.CommutativeRing0=c,this.degree=l,this.div=f,this.mod=v},o=function(c){return c.mod},i=new t(function(){return a.commutativeRingInt},r.intDegree,r.intDiv,r.intMod),u=function(c){return c.div};n.div=u,n.mod=o,n.euclideanRingInt=i})(I);(function(e){"use strict";e["Data.Lens.Lens"]=e["Data.Lens.Lens"]||{};var n=e["Data.Lens.Lens"],r=e["Data.Profunctor"],a=e["Data.Profunctor.Strong"],t=e["Data.Tuple"],o=function(u){return function(c){return function(l){return r.dimap(c.Profunctor0())(u)(function(f){return f.value1(f.value0)})(a.first(c)(l))}}},i=function(u){return function(c){return function(l){return o(function(f){return new t.Tuple(u(f),function(v){return c(f)(v)})})(l)}}};n.lens=i})(I);(function(e){"use strict";e["Data.Lens.Record"]=e["Data.Lens.Record"]||{};var n=e["Data.Lens.Record"],r=e["Data.Function"],a=e["Data.Lens.Lens"],t=e.Record,o=function(i){return function(u){return function(c){return function(l){return function(f){return a.lens(t.get(i)()(l))(r.flip(t.set(i)()()(l)))(f)}}}}};n.prop=o})(I);(function(e){"use strict";e["Data.Lens.Setter"]=e["Data.Lens.Setter"]||{};var n=e["Data.Lens.Setter"],r=e["Data.Function"],a=function(o){return o},t=function(o){return function(i){return a(o)(r.const(i))}};n.over=a,n.set=t})(I);(function(e){"use strict";e.null=null,e.nullable=function(n,r,a){return n==null?r:a(n)},e.notNull=function(n){return n}})(I["Data.Nullable"]=I["Data.Nullable"]||{});(function(e){"use strict";e["Data.Nullable"]=e["Data.Nullable"]||{};var n=e["Data.Nullable"],r=e["Data.Nullable"],a=e["Data.Maybe"],t=a.maybe(r.null)(r.notNull),o=function(i){return r.nullable(i,a.Nothing.value,a.Just.create)};n.toMaybe=o,n.toNullable=t,n.null=r.null})(I);(function(e){"use strict";e["Data.Options"]=e["Data.Options"]||{};var n=e["Data.Options"],r=e["Data.Foldable"],a=e["Data.Monoid"],t=e.Foreign,o=e["Foreign.Object"],i=function(c){return t.unsafeToForeign(o.fromFoldable(r.foldableArray)(c))},u=a.monoidArray;n.options=i,n.monoidOptions=u})(I);(function(e){"use strict";e["Data.Search.Trie.Internal"]=e["Data.Search.Trie.Internal"]||{};var n=e["Data.Search.Trie.Internal"],r=e["Control.Bind"],a=e["Data.Bifunctor"],t=e["Data.Eq"],o=e["Data.Foldable"],i=e["Data.Function"],u=e["Data.Functor"],c=e["Data.List"],l=e["Data.List.Types"],f=e["Data.Map.Internal"],v=e["Data.Maybe"],d=e["Data.Monoid"],s=e["Data.Semigroup"],p=e["Data.Tuple"],h=function(){function j(V,S){this.value0=V,this.value1=S}return j.create=function(V){return function(S){return new j(V,S)}},j}(),g=function(){function j(V,S,k){this.value0=V,this.value1=S,this.value2=k}return j.create=function(V){return function(S){return function(k){return new j(V,S,k)}}},j}(),_=function(){function j(V,S,k){this.value0=V,this.value1=S,this.value2=k}return j.create=function(V){return function(S){return function(k){return new j(V,S,k)}}},j}(),b=function(){function j(V,S){this.value0=V,this.value1=S}return j.create=function(V){return function(S){return new j(V,S)}},j}(),w=function(){function j(V,S){this.value0=V,this.value1=S}return j.create=function(V){return function(S){return new j(V,S)}},j}(),M=function(){var j=function(S){return function(k){var T=S,Z=!1,A;function H(K,U){if(U instanceof l.Nil)return Z=!0,K;if(U instanceof l.Cons&&U.value0 instanceof h){T=function(){if(U.value0.value0 instanceof v.Just)return new l.Cons(U.value0.value0.value0,K);if(U.value0.value0 instanceof v.Nothing)return K;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 522, column 13 - line 524, column 29): "+[U.value0.value0.constructor.name])}(),k=s.append(l.semigroupList)(f.values(U.value0.value1))(U.value1);return}if(U instanceof l.Cons&&U.value0 instanceof g){T=K,k=new l.Cons(U.value0.value2,U.value1);return}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 520, column 5 - line 520, column 21): "+[K.constructor.name,U.constructor.name])}for(;!Z;)A=H(T,k);return A}},V=j(l.Nil.value);return function(S){return c.reverse(V(c.singleton(S)))}}(),C=function(j){return new w(j,l.Nil.value)},D=function(j){return function(V){return j instanceof l.Nil?V:new g(c.length(j),j,V)}},E=function(j){var V=function(S){return function(k){return function(T){var Z=S,A=k,H=!1,K;function U(P,ae,y){var $=c.uncons(y),ce=c.uncons(ae);if(ce instanceof v.Just&&$ instanceof v.Just){var ve=t.eq(j)(ce.value0.head)($.value0.head);if(ve){Z=P+1|0,A=ce.value0.tail,T=$.value0.tail;return}return H=!0,P}return H=!0,P}for(;!H;)K=U(Z,A,T);return K}}};return V(0)},W=function(j){return function(V){return function(S){var k=j,T=V,Z=!1,A;function H(K,U,P){if(U instanceof l.Nil)return Z=!0,new v.Just(P);if(P instanceof g){var ae=E(K.Eq0())(U)(P.value1),y=ae===0;if(y)return Z=!0,v.Nothing.value;k=K,T=c.drop(ae)(U),S=function(){var ce=ae===P.value0;return ce?P.value2:D(c.drop(ae)(P.value1))(P.value2)}();return}if(U instanceof l.Cons&&P instanceof h){var $=f.lookup(K)(U.value0)(P.value1);if($ instanceof v.Just){k=K,T=U.value1,S=$.value0;return}if($ instanceof v.Nothing)return Z=!0,v.Nothing.value;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 364, column 3 - line 366, column 23): "+[$.constructor.name])}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 348, column 1 - line 353, column 22): "+[U.constructor.name,P.constructor.name])}for(;!Z;)A=H(k,T,S);return A}}},m=function(){var j=function(V){var S=!1,k;function T(Z){if(Z instanceof l.Nil)return S=!0,!0;if(Z instanceof l.Cons&&Z.value0 instanceof h&&Z.value0.value0 instanceof v.Just)return S=!0,!1;if(Z instanceof l.Cons&&Z.value0 instanceof h){V=s.append(l.semigroupList)(u.map(l.functorList)(p.snd)(f.toUnfoldableUnordered(l.unfoldableList)(Z.value0.value1)))(Z.value1);return}if(Z instanceof l.Cons&&Z.value0 instanceof g){V=new l.Cons(Z.value0.value2,Z.value1);return}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 122, column 5 - line 122, column 24): "+[Z.constructor.name])}for(;!S;)k=T(V);return k};return function(V){return j(c.singleton(V))}}(),O=function(j){return function(V){var S=j,k=!1,T;function Z(A,H){if(H.value1 instanceof l.Cons){if(H.value1.value0 instanceof _){S=A,V=new w(h.create(H.value1.value0.value0)(f.insert(A)(H.value1.value0.value1)(H.value0)(H.value1.value0.value2)),H.value1.value1);return}if(H.value1.value0 instanceof b&&H.value0 instanceof g){S=A,V=new w(new g(H.value1.value0.value0+H.value0.value0|0,s.append(l.semigroupList)(H.value1.value0.value1)(H.value0.value1),H.value0.value2),H.value1.value1);return}if(H.value1.value0 instanceof b){S=A,V=new w(new g(H.value1.value0.value0,H.value1.value0.value1,H.value0),H.value1.value1);return}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 169, column 3 - line 177, column 51): "+[H.value1.value0.constructor.name,H.value0.constructor.name])}if(H.value1 instanceof l.Nil)return k=!0,H.value0;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 163, column 1 - line 167, column 14): "+[H.constructor.name])}for(;!k;)T=Z(S,V);return T}},J=function(j){return function(V){return function(S){return O(j)(V(C(S)))}}},x=function(j){return function(V){return function(S){var k=j,T=V,Z=!1,A;function H(K,U,P){if(U instanceof l.Nil&&P.value0 instanceof h)return Z=!0,new v.Just({mbValue:P.value0.value0,children:P.value0.value1,ctxs:P.value1});if(U instanceof l.Cons&&P.value0 instanceof h){var ae=f.lookup(K)(U.value0)(P.value0.value1);if(ae instanceof v.Just){k=K,T=U.value1,S=new w(ae.value0,new l.Cons(new _(P.value0.value0,U.value0,P.value0.value1),P.value1));return}if(ae instanceof v.Nothing)return Z=!0,v.Nothing.value;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 283, column 3 - line 287, column 14): "+[ae.constructor.name])}if(P.value0 instanceof g){var y=E(K.Eq0())(U)(P.value0.value1),$=y===P.value0.value0;if($){var ce=c.drop(y)(U);k=K,T=ce,S=new w(P.value0.value2,new l.Cons(new b(P.value0.value0,P.value0.value1),P.value1));return}return Z=!0,v.Nothing.value}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 271, column 1 - line 279, column 13): "+[U.constructor.name,P.constructor.name])}for(;!Z;)A=H(k,T,S);return A}}},z=function(j){return function(V){return function(S){return r.bind(v.bindMaybe)(x(j)(V)(C(S)))(function(k){return k.mbValue})}}},G=function(j){return function(V){var S=function(k){return function(T){var Z=k,A=!1,H;function K(U,P){if(U instanceof l.Cons&&U.value0.value0 instanceof h){var ae=u.mapFlipped(l.functorList)(j(U.value0.value0.value1))(function(y){return new p.Tuple(y.value1,new l.Cons(c.singleton(y.value0),U.value0.value1))});Z=s.append(l.semigroupList)(ae)(U.value1),T=function(){if(U.value0.value0.value0 instanceof v.Just)return new l.Cons(new p.Tuple(U.value0.value1,U.value0.value0.value0.value0),P);if(U.value0.value0.value0 instanceof v.Nothing)return P;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 497, column 11 - line 500, column 28): "+[U.value0.value0.value0.constructor.name])}();return}if(U instanceof l.Cons&&U.value0.value0 instanceof g){Z=new l.Cons(new p.Tuple(U.value0.value0.value2,new l.Cons(U.value0.value0.value1,U.value0.value1)),U.value1),T=P;return}if(U instanceof l.Nil)return A=!0,P;throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 488, column 5 - line 490, column 41): "+[U.constructor.name,P.constructor.name])}for(;!A;)H=K(Z,T);return H}};return c.reverse(u.map(l.functorList)(a.lmap(a.bifunctorTuple)(function(k){return c.concat(c.reverse(k))}))(S(c.singleton(new p.Tuple(V,l.Nil.value)))(l.Nil.value)))}},X=G(f.toUnfoldable(l.unfoldableList)),Q=function(j){return function(V){return function(S){return c.toUnfoldable(j)(u.mapFlipped(l.functorList)(X(S))(a.lmap(a.bifunctorTuple)(c.toUnfoldable(V))))}}},F=function(j){return new h(v.Nothing.value,f.empty)},N=function(j){return function(V){return function(S){var k=j,T=V,Z=!1,A;function H(K,U,P){if(U instanceof l.Nil&&P.value0 instanceof h)return Z=!0,{mbValue:P.value0.value0,children:P.value0.value1,ctxs:P.value1};if(U instanceof l.Cons&&P.value0 instanceof h){var ae=f.lookup(K)(U.value0)(P.value0.value1);if(ae instanceof v.Just){k=K,T=U.value1,S=new w(ae.value0,new l.Cons(new _(P.value0.value0,U.value0,P.value0.value1),P.value1));return}if(ae instanceof v.Nothing){var y=new l.Cons(new _(P.value0.value0,U.value0,P.value0.value1),P.value1),$=function(){var Le=c.null(U.value1);return Le?y:new l.Cons(new b(c.length(U.value1),U.value1),y)}();return Z=!0,{mbValue:v.Nothing.value,children:f.empty,ctxs:$}}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 212, column 3 - line 221, column 62): "+[ae.constructor.name])}if(P.value0 instanceof g){var ce=E(K.Eq0())(U)(P.value0.value1),ve=ce===P.value0.value0;if(ve){var De=c.drop(ce)(U);k=K,T=De,S=new w(P.value0.value2,new l.Cons(new b(P.value0.value0,P.value0.value1),P.value1));return}var ie=ce===0;if(ie){var ae=c.uncons(P.value0.value1);if(ae instanceof v.Just){var oe=P.value0.value0-1|0,le=f.singleton(ae.value0.head)(function(){var Oe=oe>0;return Oe?new g(oe,ae.value0.tail,P.value0.value2):P.value0.value2}());k=K,T=U,S=new w(new h(v.Nothing.value,le),P.value1);return}if(ae instanceof v.Nothing)return Z=!0,{mbValue:v.Nothing.value,children:f.empty,ctxs:P.value1};throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 232, column 7 - line 249, column 12): "+[ae.constructor.name])}var fe=c.take(ce)(U),pe=c.length(fe),De=c.drop(ce)(U),Ae=P.value0.value0-ce|0,Te=c.drop(ce)(P.value0.value1);k=K,T=De,S=new w(new g(Ae,Te,P.value0.value2),function(){var Le=pe===0;return Le?P.value1:new l.Cons(new b(pe,fe),P.value1)}());return}throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 200, column 1 - line 208, column 7): "+[U.constructor.name,P.constructor.name])}for(;!Z;)A=H(k,T,S);return A}}},L=function(j){return function(V){return function(S){return function(k){var T=N(j)(V)(C(k));return O(j)(new w(new h(new v.Just(S),T.children),T.ctxs))}}}},R=function(j){return new s.Semigroup(function(V){return function(S){return o.foldl(l.foldableList)(i.flip(p.uncurry(L(j))))(S)(X(V))}})},q=function(j){return new d.Monoid(function(){return R(j)},F(j))},te=function(j){return function(V){var S=j,k=!1,T;function Z(A,H){if(H instanceof l.Cons&&H.value0 instanceof _){var K=f.delete(A)(H.value0.value1)(H.value0.value2),U=v.isJust(H.value0.value0)||!f.isEmpty(K);if(U)return k=!0,new w(new h(H.value0.value0,K),H.value1);S=A,V=H.value1;return}if(H instanceof l.Cons&&H.value0 instanceof b){S=A,V=H.value1;return}if(H instanceof l.Nil)return k=!0,C(d.mempty(q(A)));throw new Error("Failed pattern match at Data.Search.Trie.Internal (line 187, column 3 - line 195, column 27): "+[H.constructor.name])}for(;!k;)T=Z(S,V);return T}},ue=function(j){return function(V){var S=v.fromMaybe(d.mempty(q(j))),k=W(j)(V);return function(T){return M(S(k(T)))}}},ne=function(j){return function(V){return function(S){return function(k){var T=N(j)(V)(k),Z=S(T.mbValue),A=v.isJust(T.mbValue)&&v.isNothing(Z)&&f.isEmpty(T.children);return A?te(j)(T.ctxs):new w(new h(Z,T.children),T.ctxs)}}}},B=function(j){return function(V){var S=J(j),k=ne(j)(V);return function(T){return S(k(T))}}};n.alter=B,n.insert=L,n.queryValues=ue,n.values=M,n.monoidTrie=q})(I);(function(e){"use strict";var n=typeof Array.from=="function",r=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",a=typeof String.prototype.fromCodePoint=="function",t=typeof String.prototype.codePointAt=="function";e._unsafeCodePointAt0=function(o){return t?function(i){return i.codePointAt(0)}:o},e._codePointAt=function(o){return function(i){return function(u){return function(c){return function(l){return function(f){var v=f.length;if(l<0||l>=v)return u;if(r)for(var d=f[Symbol.iterator](),s=l;;--s){var p=d.next();if(p.done)return u;if(s===0)return i(c(p.value))}return o(l)(f)}}}}}},e._singleton=function(o){return a?String.fromCodePoint:o},e._take=function(o){return function(i){return r?function(u){for(var c="",l=u[Symbol.iterator](),f=0;f=0&&ao.length)return r;var i=o.indexOf(a,t);return i===-1?r:n(i)}}}}},e.take=function(n){return function(r){return r.substr(0,n)}},e.drop=function(n){return function(r){return r.substring(n)}},e._slice=function(n){return function(r){return function(a){return a.slice(n,r)}}},e.splitAt=function(n){return function(r){return{before:r.substring(0,n),after:r.substring(n)}}}})(I["Data.String.CodeUnits"]=I["Data.String.CodeUnits"]||{});(function(e){"use strict";e["Data.String.CodeUnits"]=e["Data.String.CodeUnits"]||{};var n=e["Data.String.CodeUnits"],r=e["Data.String.CodeUnits"],a=e["Data.Boolean"],t=e["Data.Maybe"],o=function(v){return function(d){var s=r.splitAt(r.length(d)-r.length(v)|0)(d),p=s.after===v;return p?new t.Just(s.before):t.Nothing.value}},i=function(v){return function(d){var s=r.splitAt(r.length(v))(d),p=s.before===v;return p?new t.Just(s.after):t.Nothing.value}},u=function(v){return function(d){return function(s){var p=r.length(s),h=function(w){if(w<0)return p+w|0;if(a.otherwise)return w;throw new Error("Failed pattern match at Data.String.CodeUnits (line 319, column 5 - line 320, column 27): "+[w.constructor.name])},g=h(d),_=h(v),b=_<0||_>=p||g<0||g>p||_>g;return b?t.Nothing.value:new t.Just(r._slice(v)(d)(s))}}},c=r._indexOfStartingAt(t.Just.create)(t.Nothing.value),l=r._indexOf(t.Just.create)(t.Nothing.value),f=r._charAt(t.Just.create)(t.Nothing.value);n.stripPrefix=i,n.stripSuffix=o,n.charAt=f,n.indexOf=l,n["indexOf'"]=c,n.slice=u,n.singleton=r.singleton,n.fromCharArray=r.fromCharArray,n.toCharArray=r.toCharArray,n.length=r.length,n.take=r.take,n.drop=r.drop})(I);(function(e){"use strict";e.split=function(n){return function(r){return r.split(n)}},e.toLower=function(n){return n.toLowerCase()},e.toUpper=function(n){return n.toUpperCase()},e.trim=function(n){return n.trim()},e.joinWith=function(n){return function(r){return r.join(n)}}})(I["Data.String.Common"]=I["Data.String.Common"]||{});(function(e){"use strict";e["Data.String.Common"]=e["Data.String.Common"]||{};var n=e["Data.String.Common"],r=e["Data.String.Common"],a=function(t){return t===""};n.null=a,n.split=r.split,n.toLower=r.toLower,n.toUpper=r.toUpper,n.trim=r.trim,n.joinWith=r.joinWith})(I);(function(e){"use strict";e.charAt=function(n){return function(r){if(n>=0&&n1;if(Z){var A=i.fromEnum(i.boundedEnumChar)(g.charAt(1)(k)),H=C(A);return H?w(T)(A):T}return T},J=r._unsafeCodePointAt0(O),x=r._toCodePointArray(m)(J),z=function(k){return a.length(x(k))},G=function(k){return function(T){return l.map(v.functorMaybe)(function(Z){return z(p.take(Z)(T))})(p.indexOf(k)(T))}},X=function(){var k=i.toEnumWithDefaults(i.boundedEnumChar)(o.bottom(o.boundedChar))(o.top(o.boundedChar));return function(T){return p.singleton(k(T))}}(),Q=function(k){if(k<=65535)return X(k);var T=c.div(c.euclideanRingInt)(k-65536|0)(1024)+55296|0,Z=c.mod(c.euclideanRingInt)(k-65536|0)(1024)+56320|0;return X(T)+X(Z)},F=r._singleton(Q),N=function(k){return function(T){if(k<1)return"";var Z=E(T);return Z instanceof v.Just?F(Z.value0.head)+N(k-1|0)(Z.value0.tail):T}},L=r._take(N),R=new u.Eq(function(k){return function(T){return k===T}}),q=new d.Ord(function(){return R},function(k){return function(T){return d.compare(d.ordInt)(k)(T)}}),te=function(k){return function(T){return p.drop(p.length(L(k)(T)))(T)}},ue=function(k){return function(T){return function(Z){var A=te(T)(Z);return l.map(v.functorMaybe)(function(H){return T+z(p.take(H)(A))|0})(p.indexOf(k)(A))}}},ne=function(k){return function(T){var Z=k,A=!1,H;function K(U,P){var ae=E(P);if(ae instanceof v.Just){var y=U===0;if(y)return A=!0,new v.Just(ae.value0.head);Z=U-1|0,T=ae.value0.tail;return}return A=!0,v.Nothing.value}for(;!A;)H=K(Z,T);return H}},B=function(k){return function(T){return k<0||k===0&&T===""?v.Nothing.value:k===0?new v.Just(J(T)):r._codePointAt(ne)(v.Just.create)(v.Nothing.value)(J)(k)(T)}},j=new o.Bounded(function(){return q},0,1114111),V=new i.BoundedEnum(function(){return j},function(){return S},1114111+1|0,function(k){return k},function(k){if(k>=0&&k<=1114111)return new v.Just(k);if(t.otherwise)return v.Nothing.value;throw new Error("Failed pattern match at Data.String.CodePoints (line 63, column 1 - line 68, column 26): "+[k.constructor.name])}),S=new i.Enum(function(){return q},i.defaultPred(i.toEnum(V))(i.fromEnum(V)),i.defaultSucc(i.toEnum(V))(i.fromEnum(V)));n.codePointAt=B,n.length=z,n["indexOf'"]=ue,n.showCodePoint=M,n.boundedEnumCodePoint=V})(I);(function(e){"use strict";e["Data.String.Pattern"]=e["Data.String.Pattern"]||{};var n=e["Data.String.Pattern"],r=function(a){return a};n.Pattern=r})(I);(function(e){"use strict";e.regexImpl=function(n){return function(r){return function(a){return function(t){try{return r(new RegExp(a,t))}catch(o){return n(o.message)}}}}},e._match=function(n){return function(r){return function(a){return function(t){var o=t.match(a);if(o==null||o.length===0)return r;for(var i=0;i");n.version=o,n.mkShapeScriptPath=d,n.numberOfIndexParts=f,n.mkIndexPartLoadPath=s,n.moduleIndexLoadPath=v,n.metaLoadPath=p,n.metaItem=h,n.groupModulesItem=g,n.packageInfoItem=l,n.packageInfoLoadPath=c,n.resultsCount=i,n.penalties=u,n.defaultPackageName=_})(I);(function(e){e.load=function(n){return function(){return new Promise(function(r,a){if(typeof window.DocsSearchModuleIndex=="undefined"){var t=document.createElement("script");t.type="text/javascript",t.src=n,t.addEventListener("load",function(){typeof window.DocsSearchModuleIndex=="undefined"?a(new Error("Couldn't load module index")):r(window.DocsSearchModuleIndex)}),t.addEventListener("error",a),document.body.appendChild(t)}else r(window.DocsSearchModuleIndex)})}}})(I["Docs.Search.ModuleIndex"]=I["Docs.Search.ModuleIndex"]||{});(function(e){"use strict";e["Docs.Search.Extra"]=e["Docs.Search.Extra"]||{};var n=e["Docs.Search.Extra"],r=e["Control.Applicative"],a=e["Data.Foldable"],t=e["Data.Function"],o=e["Data.Functor"],i=e["Data.List"],u=e["Data.List.NonEmpty"],c=e["Data.List.Types"],l=e["Data.Maybe"],f=e["Data.Newtype"],v=e["Data.String.CodeUnits"],d=e["Data.Unit"],s=function(w){return function(M){return function(C){return M instanceof l.Just?C(M.value0):r.pure(w.Applicative0())(d.unit)}}},p=function(){var w=i.fromFoldable(a.foldableArray);return function(M){return w(v.toCharArray(M))}}(),h=function(w){return l.fromMaybe(w)(v.stripSuffix(f.wrap()(".git"))(l.fromMaybe(w)(o.mapFlipped(l.functorMaybe)(v.stripPrefix(f.wrap()("git:"))(w))(function(M){return"https:"+M}))))},g=function(w){var M=function(C){return function(D){var E=C,W=!1,m;function O(J,x){var z=u.uncons(x),G=i.uncons(z.tail);if(G instanceof l.Nothing)return W=!0,a.foldl(c.foldableList)(t.flip(w))(z.head)(J);if(G instanceof l.Just){E=new c.Cons(z.head,J),D=u["cons'"](G.value0.head)(G.value0.tail);return}throw new Error("Failed pattern match at Docs.Search.Extra (line 32, column 25 - line 35, column 46): "+[G.constructor.name])}for(;!W;)m=O(E,D);return m}};return M(c.Nil.value)},_=function(w){return function(M){var C=u.uncons(M);return a.foldl(c.foldableList)(w)(C.head)(C.tail)}},b=function(w){return function(M){return t.flip(a.foldMap(w)(M))}};n.whenJust=s,n.foldMapFlipped=b,n.foldl1=_,n.foldr1=g,n.homePageFromRepository=h,n.stringToList=p})(I);(function(e){"use strict";e["Docs.Search.Score"]=e["Docs.Search.Score"]||{};var n=e["Docs.Search.Score"],r=e["Data.Map.Internal"],a=e["Data.Maybe"],t=e["Data.Semiring"],o=e["Docs.Search.Types"],i=function(c){return function(l){return a.fromMaybe(t.zero(o.semiringPackageScore))(r.lookup(o.ordPackageName)(l)(c))}},u=function(c){return function(l){if(l instanceof o.Package)return i(c)(l.value0);if(l instanceof o.Builtin)return 1e5;if(l instanceof o.LocalPackage)return 2e5;if(l instanceof o.UnknownPackage)return t.zero(o.semiringPackageScore);throw new Error("Failed pattern match at Docs.Search.Score (line 44, column 26 - line 48, column 25): "+[l.constructor.name])}};n.getPackageScore=u})(I);(function(e){"use strict";e["Docs.Search.ModuleIndex"]=e["Docs.Search.ModuleIndex"]||{};var n=e["Docs.Search.ModuleIndex"],r=e["Docs.Search.ModuleIndex"],a=e["Control.Applicative"],t=e["Control.Bind"],o=e["Control.Monad.State"],i=e["Control.Monad.State.Class"],u=e["Control.Monad.State.Trans"],c=e["Control.Promise"],l=e["Data.Argonaut.Decode.Class"],f=e["Data.Array"],v=e["Data.Either"],d=e["Data.Foldable"],s=e["Data.Function"],p=e["Data.Functor"],h=e["Data.Identity"],g=e["Data.Lens.Record"],_=e["Data.Lens.Setter"],b=e["Data.List.Types"],w=e["Data.Map.Internal"],M=e["Data.Maybe"],C=e["Data.Monoid"],D=e["Data.Newtype"],E=e["Data.Ord"],W=e["Data.Profunctor.Strong"],m=e["Data.Search.Trie.Internal"],O=e["Data.Set"],J=e["Data.String.CodeUnits"],x=e["Data.String.Common"],z=e["Data.Symbol"],G=e["Data.Unfoldable"],X=e["Docs.Search.Config"],Q=e["Docs.Search.Extra"],F=e["Docs.Search.Score"],N=e["Docs.Search.Types"],L=e["Effect.Aff"],R=function(j){return function(V){return function(S){var k=Q.stringToList(x.toLower(S));return f.catMaybes(p.mapFlipped(p.functorArray)(f.nub(N.ordModuleName)(f.fromFoldable(b.foldableList)(m.queryValues(E.ordChar)(k)(V.index))))(function(T){return t.bind(M.bindMaybe)(w.lookup(N.ordModuleName)(T)(V.modulePackages))(function(Z){return a.pure(M.applicativeMaybe)({name:T,package:Z,score:F.getPackageScore(j)(Z)})})}))}}},q=t.bind(L.bindAff)(c.toAffE(r.load(X.moduleIndexLoadPath)))(function(j){return a.pure(L.applicativeAff)(M.fromMaybe(w.empty)(v.hush(l.decodeJson(l.decodeMap(N.ordPackageInfo)(N.decodeJsonPackageInfo)(l.decodeSet(N.ordModuleName)(N.decodeJsonModuleName)))(j))))}),te=function(){var j=d.foldl(d.foldableArray)(function(k){return function(T){return new b.Cons(T,p.map(b.functorList)(function(Z){return Z+("."+T)})(k))}})(C.mempty(b.monoidList)),V=x.split("."),S=D.unwrap();return function(k){return j(V(x.toLower(S(k))))}}(),ue=g.prop(new z.IsSymbol(function(){return"modulePackages"}))()()(z.SProxy.value)(W.strongFn),ne=g.prop(new z.IsSymbol(function(){return"index"}))()()(z.SProxy.value)(W.strongFn),B=function(j){return s.flip(o.execState)({packageModules:j,modulePackages:w.empty,index:C.mempty(m.monoidTrie(E.ordChar))})(d.for_(u.applicativeStateT(h.monadIdentity))(d.foldableArray)(w.toUnfoldableUnordered(G.unfoldableArray)(j))(function(V){return d.for_(u.applicativeStateT(h.monadIdentity))(O.foldableSet)(V.value1)(function(S){return t.discard(t.discardUnit)(u.bindStateT(h.monadIdentity))(i.modify_(u.monadStateStateT(h.monadIdentity))(_.over(ue)(w.insert(N.ordModuleName)(S)(V.value0))))(function(){return d.for_(u.applicativeStateT(h.monadIdentity))(b.foldableList)(te(S))(function(k){var T=f.toUnfoldable(b.unfoldableList)(J.toCharArray(k));return i.modify_(u.monadStateStateT(h.monadIdentity))(_.over(ne)(m.insert(E.ordChar)(T)(S)))})})})}))};n.unpackModuleIndex=B,n.queryModuleIndex=R,n.loadModuleIndex=q})(I);(function(e){e.loadFromScript=function(n){return function(r){return function(){return new Promise(function(a,t){if(typeof window[n]=="undefined"){var o=document.createElement("script");o.type="text/javascript",o.src=r,o.addEventListener("load",function(){typeof window[n]=="undefined"?t(new Error("Couldn't load package index.")):a(window[n])}),o.addEventListener("error",t),document.body.appendChild(o)}else a(window[n])})}}}})(I["Docs.Search.Loader"]=I["Docs.Search.Loader"]||{});(function(e){"use strict";e["Docs.Search.Loader"]=e["Docs.Search.Loader"]||{};var n=e["Docs.Search.Loader"],r=e["Docs.Search.Loader"],a=e["Control.Applicative"],t=e["Control.Bind"],o=e["Control.Monad.Error.Class"],i=e["Control.Promise"],u=e["Data.Argonaut.Decode.Class"],c=e["Data.Argonaut.Decode.Error"],l=e["Data.Either"],f=e["Data.Newtype"],v=e["Effect.Aff"],d=e["Effect.Exception"],s=function(p){return function(h){return function(g){var _=function(b){return o.throwError(v.monadThrowAff)(d.error("Couldn't load content from window."+(f.unwrap()(h)+(": "+c.printJsonDecodeError(b)))))};return t.bind(v.bindAff)(i.toAffE(r.loadFromScript(h)(g)))(function(b){return l.either(_)(a.pure(v.applicativeAff))(u.decodeJson(p)(b))})}}};n.load=s})(I);(function(e){"use strict";e["Docs.Search.PackageIndex"]=e["Docs.Search.PackageIndex"]||{};var n=e["Docs.Search.PackageIndex"],r=e["Control.Applicative"],a=e["Data.Argonaut.Decode.Class"],t=e["Data.Array"],o=e["Data.Functor"],i=e["Data.List.Types"],u=e["Data.Map.Internal"],c=e["Data.Monoid"],l=e["Data.Newtype"],f=e["Data.Ord"],v=e["Data.Search.Trie.Internal"],d=e["Data.Symbol"],s=e["Docs.Search.Config"],p=e["Docs.Search.Extra"],h=e["Docs.Search.Loader"],g=e["Docs.Search.Types"],_=e["Effect.Aff"],b=function(D){return function(E){return function(W){return r.pure(D.Applicative0())({index:E,results:t.fromFoldable(i.foldableList)(v.queryValues(f.ordChar)(p.stringToList(W))(E))})}}},w=function(){var D=t.foldr(function(W){return u.insert(g.ordPackageName)(W.name)(W.score)})(u.empty),E=t.fromFoldable(i.foldableList);return function(W){return D(E(v.values(W)))}}(),M=t.foldr(function(D){return v.insert(f.ordChar)(p.stringToList(l.unwrap()(D.name)))(D)})(c.mempty(v.monoidTrie(f.ordChar))),C=o.map(_.functorAff)(M)(h.load(a.decodeArray(a.decodeRecord(a.gDecodeJsonCons(a.decodeFieldId(a.decodeArray(g.decodeJsonPackageName)))(a.gDecodeJsonCons(a.decodeFieldMaybe(a.decodeJsonString))(a.gDecodeJsonCons(a.decodeFieldId(g.decodeJsonPackageName))(a.gDecodeJsonCons(a.decodeFieldMaybe(a.decodeJsonString))(a.gDecodeJsonCons(a.decodeFieldId(g.decodeJsonPackageScore))(a.gDecodeJsonNil)(new d.IsSymbol(function(){return"score"}))()())(new d.IsSymbol(function(){return"repository"}))()())(new d.IsSymbol(function(){return"name"}))()())(new d.IsSymbol(function(){return"description"}))()())(new d.IsSymbol(function(){return"dependencies"}))()())()))(s.packageInfoItem)(s.packageInfoLoadPath));n.mkScoresFromPackageIndex=w,n.loadPackageIndex=C,n.queryPackageIndex=b})(I);(function(e){"use strict";e["Docs.Search.DocsJson"]=e["Docs.Search.DocsJson"]||{};var n=e["Docs.Search.DocsJson"],r=e["Data.Argonaut.Core"],a=e["Data.Argonaut.Decode.Class"],t=e["Data.Argonaut.Decode.Error"],o=e["Data.Either"],i=e["Data.Maybe"],u=function(){function v(){}return v.value=new v,v}(),c=function(){function v(){}return v.value=new v,v}(),l=function(v){return o.Left.create(t.TypeMismatch.create(v))},f=new a.DecodeJson(function(v){var d=r.toString(v);if(d instanceof i.Just)return d.value0==="newtype"?new o.Right(u.value):d.value0==="data"?new o.Right(c.value):l("Couldn't decode DataDeclType: "+d.value0);if(d instanceof i.Nothing)return l("Couldn't decode DataDeclType: "+r.stringify(v));throw new Error("Failed pattern match at Docs.Search.DocsJson (line 214, column 5 - line 220, column 86): "+[d.constructor.name])});n.NewtypeDataDecl=u,n.DataDataDecl=c,n.decodeJsonDataDeclType=f})(I);(function(e){"use strict";e["Docs.Search.TypeDecoder"]=e["Docs.Search.TypeDecoder"]||{};var n=e["Docs.Search.TypeDecoder"],r=e["Control.Alt"],a=e["Control.Applicative"],t=e["Control.Bind"],o=e["Data.Argonaut.Core"],i=e["Data.Argonaut.Decode.Class"],u=e["Data.Argonaut.Decode.Combinators"],c=e["Data.Argonaut.Decode.Error"],l=e["Data.Either"],f=e["Data.Function"],v=e["Data.Functor"],d=e["Data.List"],s=e["Data.List.Types"],p=e["Data.Maybe"],h=e["Data.Symbol"],g=e["Data.Unit"],_=e["Docs.Search.Types"],b=e["Foreign.Object"],w=function(A){return A},M=function(A){return A},C=function(){function A(H){this.value0=H}return A.create=function(H){return new A(H)},A}(),D=function(){function A(H){this.value0=H}return A.create=function(H){return new A(H)},A}(),E=function(){function A(){}return A.value=new A,A}(),W=function(){function A(H){this.value0=H}return A.create=function(H){return new A(H)},A}(),m=function(){function A(H){this.value0=H}return A.create=function(H){return new A(H)},A}(),O=function(){function A(H,K){this.value0=H,this.value1=K}return A.create=function(H){return function(K){return new A(H,K)}},A}(),J=function(){function A(H,K,U){this.value0=H,this.value1=K,this.value2=U}return A.create=function(H){return function(K){return function(U){return new A(H,K,U)}}},A}(),x=function(){function A(H,K){this.value0=H,this.value1=K}return A.create=function(H){return function(K){return new A(H,K)}},A}(),z=function(){function A(){}return A.value=new A,A}(),G=function(){function A(H,K,U){this.value0=H,this.value1=K,this.value2=U}return A.create=function(H){return function(K){return function(U){return new A(H,K,U)}}},A}(),X=function(){function A(H,K,U){this.value0=H,this.value1=K,this.value2=U}return A.create=function(H){return function(K){return function(U){return new A(H,K,U)}}},A}(),Q=function(){function A(H){this.value0=H}return A.create=function(H){return new A(H)},A}(),F=function(A){return function(H){return function(K){return c.TypeMismatch.create("Couldn't parse "+(A+(" from "+o.stringify(H))))}}},N=function(A){return function(H){return F(A)(H)(g.unit)}},L=function(){var A=function(H){return function(K){var U=H,P=!1,ae;function y($,ce){if(ce instanceof G){U=new s.Cons({row:ce.value0,ty:ce.value1},$),K=ce.value2;return}return P=!0,{rows:d.reverse($),ty:function(){return ce instanceof z?p.Nothing.value:new p.Just(ce)}()}}for(;!P;)ae=y(U,K);return ae}};return A(s.Nil.value)}(),R=function(A){var H=function(K){return function(U){var P=K,ae=!1,y;function $(ce,ve){if(ve instanceof J){P=new s.Cons({name:ve.value0,mbKind:ve.value1},ce),U=ve.value2;return}return ae=!0,{binders:ce,ty:ve}}for(;!ae;)y=$(P,U);return y}};return H(s.Nil.value)(A)},q=function(){var A=function(H){return function(K){var U=H,P=!1,ae;function y($,ce){if(ce instanceof x){U=new s.Cons(ce.value0.constraintClass.name,$),K=ce.value1;return}return P=!0,{constraints:d.sort(_.ordIdentifier)($),ty:ce}}for(;!P;)ae=y(U,K);return ae}};return A(s.Nil.value)}(),te=function(A){return function(H){return function(K){return function(U){return function(P){var ae=o.toArray(P);return ae instanceof p.Just&&ae.value0.length===2?t.bind(l.bindEither)(i.decodeJson(A)(ae.value0[0]))(function(y){return t.bind(l.bindEither)(i.decodeJson(H)(ae.value0[1]))(function($){return a.pure(l.applicativeEither)(K(y)($))})}):l.Left.create(U(g.unit))}}}}},ue=function(A){return function(H){return function(K){return function(U){return function(P){return function(ae){var y=o.toArray(ae);return y instanceof p.Just&&y.value0.length===3?t.bind(l.bindEither)(i.decodeJson(A)(y.value0[0]))(function($){return t.bind(l.bindEither)(i.decodeJson(H)(y.value0[1]))(function(ce){return t.bind(l.bindEither)(i.decodeJson(K)(y.value0[2]))(function(ve){return a.pure(l.applicativeEither)(U($)(ce)(ve))})})}):l.Left.create(P(g.unit))}}}}}},ne=function(A){return function(H){return function(K){return function(U){return function(P){return function(ae){return function(y){var $=o.toArray(y);return $ instanceof p.Just&&$.value0.length===4?t.bind(l.bindEither)(i.decodeJson(A)($.value0[0]))(function(ce){return t.bind(l.bindEither)(i.decodeJson(H)($.value0[1]))(function(ve){return t.bind(l.bindEither)(i.decodeJson(K)($.value0[2]))(function(ie){return t.bind(l.bindEither)(i.decodeJson(U)($.value0[3]))(function(oe){return a.pure(l.applicativeEither)(P(ce)(ve)(ie)(oe))})})})}):l.Left.create(ae(g.unit))}}}}}}},B=new i.DecodeJson(function(A){return te(i.decodeArray(i.decodeJsonString))(_.decodeJsonIdentifier)(function(H){return function(K){return{moduleNameParts:H,name:K}}})(F("QualifiedName")(A))(A)}),j=new i.DecodeJson(function(A){return te(i.decodeArray(i.decodeJsonString))(i.decodeArray(i.decodeJsonString))(function(H){return function(K){return{lhs:H,rhs:K}}})(F("FunDep")(A))(A)}),V=new i.DecodeJson(function(A){return v.map(l.functorEither)(w)(i.decodeJson(i.decodeArray(j))(A))}),S=function(A){return function(H){return function(K){return o.caseJsonObject(H)(function(U){var P=b.lookup("contents")(U);if(P instanceof p.Nothing)return H;if(P instanceof p.Just)return A(P.value0);throw new Error("Failed pattern match at Docs.Search.TypeDecoder (line 313, column 7 - line 315, column 45): "+[P.constructor.name])})(K)}}},k=new i.DecodeJson(function(A){return t.bind(l.bindEither)(i.decodeJson(i.decodeForeignObject(i.decodeJsonJson))(A))(function(H){return t.bind(l.bindEither)(u.getField(i.decodeJsonString)(H)("tag"))(function(K){if(K==="TypeVar")return t.bind(l.bindEither)(u.getField(i.decodeJsonString)(H)("contents"))(function(){var P=a.pure(l.applicativeEither);return function(ae){return P(C.create(ae))}}());if(K==="TypeLevelString")return t.bind(l.bindEither)(u.getField(i.decodeJsonString)(H)("contents"))(function(){var P=a.pure(l.applicativeEither);return function(ae){return P(D.create(ae))}}());if(K==="TypeConstructor")return t.bind(l.bindEither)(u.getField(B)(H)("contents"))(function(){var P=a.pure(l.applicativeEither);return function(ae){return P(W.create(ae))}}());if(K==="TypeOp")return t.bind(l.bindEither)(u.getField(B)(H)("contents"))(function(){var P=a.pure(l.applicativeEither);return function(ae){return P(m.create(ae))}}());if(K==="TypeApp"){var U=N("TypeApp")(A);return S(te(k)(k)(O.create)(f.const(U)))(new l.Left(U))(A)}if(K==="ForAll"){var U=F("ForAll")(A);return r.alt(l.altEither)(S(ue(i.decodeJsonString)(k)(i.decodeJsonMaybe(i.decodeJsonInt))(function(ae){return function(y){return function($){return new J(ae,p.Nothing.value,y)}}})(U))(l.Left.create(U(g.unit)))(A))(S(ne(i.decodeJsonString)(k)(k)(i.decodeJsonMaybe(i.decodeJsonInt))(function(ae){return function(y){return function($){return function(ce){return new J(ae,new p.Just(y),$)}}}})(U))(l.Left.create(U(g.unit)))(A))}if(K==="ConstrainedType"){var U=F("ForAll")(A);return S(te(T)(k)(x.create)(U))(l.Left.create(U(g.unit)))(A)}if(K==="REmpty")return new l.Right(z.value);if(K==="RCons"){var U=N("RCons")(A);return S(ue(_.decodeJsonIdentifier)(k)(k)(G.create)(f.const(U)))(new l.Left(U))(A)}if(K==="BinaryNoParensType"){var U=N("BinaryNoParens")(A);return S(ue(k)(k)(k)(X.create)(f.const(U)))(new l.Left(U))(A)}return K==="ParensInType"?S(function(){var P=v.map(l.functorEither)(Q.create),ae=i.decodeJson(k);return function(y){return P(ae(y))}}())(l.Left.create(N("ParensInType")(A)))(A):K==="TypeWildcard"?new l.Right(E.value):l.Left.create(N("Type")(A))})})}),T=new i.DecodeJson(function(A){return v.map(l.functorEither)(M)(i.decodeJson(i.decodeRecord(i.gDecodeJsonCons(i.decodeFieldId(i.decodeArray(k)))(i.gDecodeJsonCons(i.decodeFieldId(B))(i.gDecodeJsonNil)(new h.IsSymbol(function(){return"constraintClass"}))()())(new h.IsSymbol(function(){return"constraintArgs"}))()())())(A))}),Z=new i.DecodeJson(function(A){return te(i.decodeJsonString)(i.decodeJsonMaybe(k))(function(H){return function(K){return{name:H,mbKind:K}}})(F("TypeArgument")(A))(A)});n.TypeVar=C,n.TypeLevelString=D,n.TypeWildcard=E,n.TypeConstructor=W,n.TypeOp=m,n.TypeApp=O,n.ForAll=J,n.ConstrainedType=x,n.REmpty=z,n.RCons=G,n.BinaryNoParensType=X,n.ParensInType=Q,n.joinForAlls=R,n.joinRows=L,n.joinConstraints=q,n.decodeJsonQualifiedName=B,n.decodeJsonConstraint=T,n.decodeJsonType=k,n.decodeJsonFunDeps=V,n.decodeJsonTypeArgument=Z})(I);(function(e){"use strict";e["Docs.Search.SearchResult"]=e["Docs.Search.SearchResult"]||{};var n=e["Docs.Search.SearchResult"],r=e["Data.Argonaut.Decode.Class"],a=e["Data.Argonaut.Decode.Generic"],t=e["Data.Generic.Rep"],o=e["Data.Maybe"],i=e["Data.Newtype"],u=e["Data.Symbol"],c=e["Docs.Search.DocsJson"],l=e["Docs.Search.TypeDecoder"],f=e["Docs.Search.Types"],v=function(){function x(z){this.value0=z}return x.create=function(z){return new x(z)},x}(),d=function(){function x(z){this.value0=z}return x.create=function(z){return new x(z)},x}(),s=function(){function x(z){this.value0=z}return x.create=function(z){return new x(z)},x}(),p=function(){function x(z){this.value0=z}return x.create=function(z){return new x(z)},x}(),h=function(){function x(z){this.value0=z}return x.create=function(z){return new x(z)},x}(),g=function(){function x(z){this.value0=z}return x.create=function(z){return new x(z)},x}(),_=function(){function x(z){this.value0=z}return x.create=function(z){return new x(z)},x}(),b=function(){function x(){}return x.value=new x,x}(),w=function(){function x(){}return x.value=new x,x}(),M=function(){function x(){}return x.value=new x,x}(),C=function(x){return x},D=function(x){return x instanceof s?new o.Just(x.value0.type):x instanceof h?new o.Just(x.value0.type):x instanceof _?new o.Just(x.value0.type):o.Nothing.value},E=function(){var x=i.un()(C);return function(z){return D(function(G){return G.info}(x(z)))}}(),W=new t.Generic(function(x){return x},function(x){return x}),m=new t.Generic(function(x){if(x instanceof v)return new t.Inl(x.value0);if(x instanceof d)return new t.Inr(new t.Inl(x.value0));if(x instanceof s)return new t.Inr(new t.Inr(new t.Inl(x.value0)));if(x instanceof p)return new t.Inr(new t.Inr(new t.Inr(new t.Inl(x.value0))));if(x instanceof h)return new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inl(x.value0)))));if(x instanceof g)return new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inl(x.value0))))));if(x instanceof _)return new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inl(x.value0)))))));if(x instanceof b)return new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inl(t.NoArguments.value))))))));if(x instanceof w)return new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inl(t.NoArguments.value)))))))));if(x instanceof M)return new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(new t.Inr(t.NoArguments.value)))))))));throw new Error("Failed pattern match at Docs.Search.SearchResult (line 37, column 1 - line 37, column 58): "+[x.constructor.name])},function(x){if(x instanceof t.Inl)return new v(x.value0);if(x instanceof t.Inr&&x.value0 instanceof t.Inl)return new d(x.value0.value0);if(x instanceof t.Inr&&x.value0 instanceof t.Inr&&x.value0.value0 instanceof t.Inl)return new s(x.value0.value0.value0);if(x instanceof t.Inr&&x.value0 instanceof t.Inr&&x.value0.value0 instanceof t.Inr&&x.value0.value0.value0 instanceof t.Inl)return new p(x.value0.value0.value0.value0);if(x instanceof t.Inr&&x.value0 instanceof t.Inr&&x.value0.value0 instanceof t.Inr&&x.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0 instanceof t.Inl)return new h(x.value0.value0.value0.value0.value0);if(x instanceof t.Inr&&x.value0 instanceof t.Inr&&x.value0.value0 instanceof t.Inr&&x.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0 instanceof t.Inl)return new g(x.value0.value0.value0.value0.value0.value0);if(x instanceof t.Inr&&x.value0 instanceof t.Inr&&x.value0.value0 instanceof t.Inr&&x.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0.value0 instanceof t.Inl)return new _(x.value0.value0.value0.value0.value0.value0.value0);if(x instanceof t.Inr&&x.value0 instanceof t.Inr&&x.value0.value0 instanceof t.Inr&&x.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0.value0.value0 instanceof t.Inl)return b.value;if(x instanceof t.Inr&&x.value0 instanceof t.Inr&&x.value0.value0 instanceof t.Inr&&x.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0.value0.value0.value0 instanceof t.Inl)return w.value;if(x instanceof t.Inr&&x.value0 instanceof t.Inr&&x.value0.value0 instanceof t.Inr&&x.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0.value0.value0 instanceof t.Inr&&x.value0.value0.value0.value0.value0.value0.value0.value0 instanceof t.Inr)return M.value;throw new Error("Failed pattern match at Docs.Search.SearchResult (line 37, column 1 - line 37, column 58): "+[x.constructor.name])}),O=new r.DecodeJson(a.genericDecodeJson(m)(a.decodeRepSum(a.decodeRepConstructorArg(new u.IsSymbol(function(){return"DataResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeFieldId(c.decodeJsonDataDeclType))(r.gDecodeJsonCons(r.decodeFieldId(r.decodeArray(l.decodeJsonTypeArgument)))(r.gDecodeJsonNil)(new u.IsSymbol(function(){return"typeArguments"}))()())(new u.IsSymbol(function(){return"dataDeclType"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new u.IsSymbol(function(){return"ExternDataResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeFieldId(l.decodeJsonType))(r.gDecodeJsonNil)(new u.IsSymbol(function(){return"kind"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new u.IsSymbol(function(){return"TypeSynonymResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeFieldId(r.decodeArray(l.decodeJsonTypeArgument)))(r.gDecodeJsonCons(r.decodeFieldId(l.decodeJsonType))(r.gDecodeJsonNil)(new u.IsSymbol(function(){return"type"}))()())(new u.IsSymbol(function(){return"arguments"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new u.IsSymbol(function(){return"DataConstructorResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeFieldId(r.decodeArray(l.decodeJsonType)))(r.gDecodeJsonNil)(new u.IsSymbol(function(){return"arguments"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new u.IsSymbol(function(){return"TypeClassMemberResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeFieldId(l.decodeJsonType))(r.gDecodeJsonCons(r.decodeFieldId(l.decodeJsonQualifiedName))(r.gDecodeJsonCons(r.decodeFieldId(r.decodeArray(l.decodeJsonTypeArgument)))(r.gDecodeJsonNil)(new u.IsSymbol(function(){return"typeClassArguments"}))()())(new u.IsSymbol(function(){return"typeClass"}))()())(new u.IsSymbol(function(){return"type"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new u.IsSymbol(function(){return"TypeClassResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeFieldId(r.decodeArray(l.decodeJsonTypeArgument)))(r.gDecodeJsonCons(r.decodeFieldId(l.decodeJsonFunDeps))(r.gDecodeJsonCons(r.decodeFieldId(r.decodeArray(l.decodeJsonConstraint)))(r.gDecodeJsonNil)(new u.IsSymbol(function(){return"superclasses"}))()())(new u.IsSymbol(function(){return"fundeps"}))()())(new u.IsSymbol(function(){return"arguments"}))()())()))(a.decodeRepSum(a.decodeRepConstructorArg(new u.IsSymbol(function(){return"ValueResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeFieldId(l.decodeJsonType))(r.gDecodeJsonNil)(new u.IsSymbol(function(){return"type"}))()())()))(a.decodeRepSum(a.decodeRepConstructorNoArgs(new u.IsSymbol(function(){return"ValueAliasResult"})))(a.decodeRepSum(a.decodeRepConstructorNoArgs(new u.IsSymbol(function(){return"TypeAliasResult"})))(a.decodeRepConstructorNoArgs(new u.IsSymbol(function(){return"ExternKindResult"}))))))))))))),J=new r.DecodeJson(a.genericDecodeJson(W)(a.decodeRepConstructorArg(new u.IsSymbol(function(){return"SearchResult"}))(r.decodeRecord(r.gDecodeJsonCons(r.decodeFieldMaybe(r.decodeJsonString))(r.gDecodeJsonCons(r.decodeFieldId(r.decodeJsonString))(r.gDecodeJsonCons(r.decodeFieldId(O))(r.gDecodeJsonCons(r.decodeFieldId(f.decodeJsonModuleName))(r.gDecodeJsonCons(r.decodeFieldId(f.decodeJsonIdentifier))(r.gDecodeJsonCons(r.decodeFieldId(f.decodeJsonPackageInfo))(r.gDecodeJsonCons(r.decodeFieldId(f.decodeJsonPackageScore))(r.gDecodeJsonCons(r.decodeFieldMaybe(r.decodeRecord(r.gDecodeJsonCons(r.decodeFieldId(r.decodeArray(r.decodeJsonInt)))(r.gDecodeJsonCons(r.decodeFieldId(r.decodeJsonString))(r.gDecodeJsonCons(r.decodeFieldId(r.decodeArray(r.decodeJsonInt)))(r.gDecodeJsonNil)(new u.IsSymbol(function(){return"start"}))()())(new u.IsSymbol(function(){return"name"}))()())(new u.IsSymbol(function(){return"end"}))()())()))(r.gDecodeJsonNil)(new u.IsSymbol(function(){return"sourceSpan"}))()())(new u.IsSymbol(function(){return"score"}))()())(new u.IsSymbol(function(){return"packageInfo"}))()())(new u.IsSymbol(function(){return"name"}))()())(new u.IsSymbol(function(){return"moduleName"}))()())(new u.IsSymbol(function(){return"info"}))()())(new u.IsSymbol(function(){return"hashAnchor"}))()())(new u.IsSymbol(function(){return"comments"}))()())())));n.DataResult=v,n.TypeSynonymResult=s,n.TypeClassMemberResult=h,n.TypeClassResult=g,n.ValueResult=_,n.typeOfResult=E,n.decodeJsonSearchResult=J})(I);(function(e){e.lookup_=function(n){return function(r){return function(){return new Promise(function(a,t){if(typeof window.DocsSearchTypeIndex[n]=="undefined"){var o=document.createElement("script");o.type="text/javascript",o.src=r,o.addEventListener("load",function(){typeof window.DocsSearchTypeIndex[n]=="undefined"?t(new Error("Couldn't load index for type shape "+n)):a(window.DocsSearchTypeIndex[n])}),o.addEventListener("error",t),document.body.appendChild(o)}else a(window.DocsSearchTypeIndex[n])})}}}})(I["Docs.Search.TypeIndex"]=I["Docs.Search.TypeIndex"]||{});(function(e){e.hash=function(n){var r=Math.floor(Number.MAX_SAFE_INTEGER/2);if(n.length==0)return r;for(var a=0;a="0"&&F<="9";return N?a.pure(w.applicativeParser)(F):w.fail("Character "+(h.show(h.showChar)(F)+" is not a digit"))})),m=w.try(t.bind(w.bindParser)(E)(function(F){var N=f.elem(f.foldableArray)(l.eqInt)(i.toCharCode(F))(o.range(97)(122));return N?a.pure(w.applicativeParser)(F):w.fail("Expected a lower case character but found "+h.show(h.showChar)(F))})),O=function(F){return w.try(t.bind(w.bindParser)(E)(function(N){var L=F(N);return L?a.pure(w.applicativeParser)(N):w.fail("Character "+(h.show(h.showChar)(N)+" did not satisfy predicate"))}))},J=function(F){return M.withError(O(function(N){return N===F}))("Could not match character "+h.show(h.showChar)(F))},x=t.bind(w.bindParser)(M.many(O(function(F){return F===` `||F==="\r"||F===" "||F===" "})))(function(F){return a.pure(w.applicativeParser)(f.foldMap(d.foldableList)(p.monoidString)(_.singleton)(F))}),z=v.void(w.functorParser)(x),G=w.try(t.bind(w.bindParser)(E)(function(F){var N=f.elem(f.foldableArray)(l.eqInt)(i.toCharCode(F))(o.range(65)(90));return N?a.pure(w.applicativeParser)(F):w.fail("Expected an upper case character but found "+h.show(h.showChar)(F))})),X=M.withError(r.alt(w.altParser)(m)(G))("Expected a letter"),Q=M.withError(r.alt(w.altParser)(X)(W))("Expected a letter or a number");n.eof=D,n.string=C,n.char=J,n.skipSpaces=z,n.lowerCaseChar=m,n.upperCaseChar=G,n.anyLetter=X,n.alphaNum=Q})(I);(function(e){"use strict";e["Docs.Search.TypeQuery"]=e["Docs.Search.TypeQuery"]||{};var n=e["Docs.Search.TypeQuery"],r=e["Control.Alt"],a=e["Control.Applicative"],t=e["Control.Apply"],o=e["Control.Bind"],i=e["Control.Category"],u=e["Control.Lazy"],c=e["Data.Array"],l=e["Data.Boolean"],f=e["Data.Eq"],v=e["Data.Foldable"],d=e["Data.Function"],s=e["Data.Functor"],p=e["Data.List"],h=e["Data.List.Types"],g=e["Data.Map.Internal"],_=e["Data.Monoid"],b=e["Data.Ord"],w=e["Data.Ring"],M=e["Data.Semigroup"],C=e["Data.Set"],D=e["Data.String.CodeUnits"],E=e["Data.String.Common"],W=e["Data.Tuple"],m=e["Docs.Search.Config"],O=e["Docs.Search.Extra"],J=e["Docs.Search.TypeDecoder"],x=e["Docs.Search.Types"],z=e["Text.Parsing.StringParser"],G=e["Text.Parsing.StringParser.CodePoints"],X=e["Text.Parsing.StringParser.Combinators"],Q=function(){function se(de){this.value0=de}return se.create=function(de){return new se(de)},se}(),F=function(){function se(de){this.value0=de}return se.create=function(de){return new se(de)},se}(),N=function(){function se(de,he){this.value0=de,this.value1=he}return se.create=function(de){return function(he){return new se(de,he)}},se}(),L=function(){function se(de,he){this.value0=de,this.value1=he}return se.create=function(de){return function(he){return new se(de,he)}},se}(),R=function(){function se(de,he){this.value0=de,this.value1=he}return se.create=function(de){return function(he){return new se(de,he)}},se}(),q=function(){function se(de,he,we){this.value0=de,this.value1=he,this.value2=we}return se.create=function(de){return function(he){return function(we){return new se(de,he,we)}}},se}(),te=function(){function se(de){this.value0=de}return se.create=function(de){return new se(de)},se}(),ue=function(){function se(de,he){this.value0=de,this.value1=he}return se.create=function(de){return function(he){return new se(de,he)}},se}(),ne=function(){function se(de,he){this.value0=de,this.value1=he}return se.create=function(de){return function(he){return new se(de,he)}},se}(),B=function(){function se(de,he){this.value0=de,this.value1=he}return se.create=function(de){return function(he){return new se(de,he)}},se}(),j=function(){function se(de,he){this.value0=de,this.value1=he}return se.create=function(de){return function(he){return new se(de,he)}},se}(),V=function(){function se(de,he){this.value0=de,this.value1=he}return se.create=function(de){return function(he){return new se(de,he)}},se}(),S=function(){function se(){}return se.value=new se,se}(),k=function(){function se(){}return se.value=new se,se}(),T=function(){function se(de,he){this.value0=de,this.value1=he}return se.create=function(de){return function(he){return new se(de,he)}},se}(),Z=function(){function se(de,he){this.value0=de,this.value1=he}return se.create=function(de){return function(he){return new se(de,he)}},se}(),A=function(){function se(de){this.value0=de}return se.create=function(de){return new se(de)},se}(),H=function(){function se(de){this.value0=de}return se.create=function(de){return new se(de)},se}(),K=function(){function se(de){this.value0=de}return se.create=function(de){return new se(de)},se}(),U=function(){function se(de){this.value0=de}return se.create=function(de){return new se(de)},se}(),P=o.bind(z.bindParser)(G.upperCaseChar)(function(se){return o.bind(z.bindParser)(c.many(z.alternativeParser)(z.lazyParser)(r.alt(z.altParser)(G.alphaNum)(G.char("'"))))(function(de){return a.pure(z.applicativeParser)(x.Identifier(D.fromCharArray(M.append(M.semigroupArray)(a.pure(a.applicativeArray)(se))(de))))})}),ae=function(se){var de=function(me){return v.foldr(h.foldableList)(function(be){return be instanceof j?me(be.value0)(be.value1):i.identity(i.categoryFn)})(g.empty)(se)},he=function(me){return b.abs(b.ordInt)(w.ringInt)(p.length(v.foldMap(g.foldableMap)(h.monoidList)(p.fromFoldable(C.foldableSet))(me))-g.size(me)|0)},we=function(me){return function(be){return g.insertWith(x.ordIdentifier)(M.append(C.semigroupSet(x.ordIdentifier)))(me)(C.singleton(be))}};return he(de(d.flip(we)))+he(de(we))|0},y=function(){var se=function(he){return function(we){var me=he,be=!1,Me;function Ee(Y,ee){if(ee instanceof h.Nil)return be=!0,Y;if(ee instanceof h.Cons&&ee.value0 instanceof J.TypeVar){me=Y+1|0,we=ee.value1;return}if(ee instanceof h.Cons&&ee.value0 instanceof J.TypeLevelString){me=Y+1|0,we=ee.value1;return}if(ee instanceof h.Cons&&ee.value0 instanceof J.TypeWildcard){me=Y+1|0,we=ee.value1;return}if(ee instanceof h.Cons&&ee.value0 instanceof J.TypeConstructor){me=Y+1|0,we=ee.value1;return}if(ee instanceof h.Cons&&ee.value0 instanceof J.TypeOp){me=Y+1|0,we=ee.value1;return}if(ee instanceof h.Cons&&ee.value0 instanceof J.TypeApp&&ee.value0.value0 instanceof J.TypeApp&&ee.value0.value0.value0 instanceof J.TypeConstructor&&ee.value0.value0.value0.value0.moduleNameParts.length===1&&ee.value0.value0.value0.value0.moduleNameParts[0]==="Prim"&&ee.value0.value0.value0.value0.name==="Function"){me=Y+1|0,we=new h.Cons(ee.value0.value0.value1,new h.Cons(ee.value0.value1,ee.value1));return}if(ee instanceof h.Cons&&ee.value0 instanceof J.TypeApp){me=Y+1|0,we=new h.Cons(ee.value0.value0,new h.Cons(ee.value0.value1,ee.value1));return}if(ee instanceof h.Cons&&ee.value0 instanceof J.ForAll){me=Y+1|0,we=new h.Cons(ee.value0.value2,ee.value1);return}if(ee instanceof h.Cons&&ee.value0 instanceof J.ConstrainedType){me=Y+1|0,we=new h.Cons(ee.value0.value1,ee.value1);return}if(ee instanceof h.Cons&&ee.value0 instanceof J.RCons){me=Y+1|0,we=new h.Cons(ee.value0.value1,new h.Cons(ee.value0.value2,ee.value1));return}if(ee instanceof h.Cons&&ee.value0 instanceof J.REmpty){me=Y+1|0,we=ee.value1;return}if(ee instanceof h.Cons&&ee.value0 instanceof J.BinaryNoParensType){me=Y+1|0,we=new h.Cons(ee.value0.value1,new h.Cons(ee.value0.value2,ee.value1));return}if(ee instanceof h.Cons&&ee.value0 instanceof J.ParensInType){me=Y,we=new h.Cons(ee.value0.value0,ee.value1);return}throw new Error("Failed pattern match at Docs.Search.TypeQuery (line 403, column 5 - line 403, column 17): "+[Y.constructor.name,ee.constructor.name])}for(;!be;)Me=Ee(me,we);return Me}},de=se(0);return function(he){return de(p.singleton(he))}}(),$=function(){var se=function(he){return function(we){var me=he,be=!1,Me;function Ee(Y,ee){if(ee instanceof h.Nil)return be=!0,Y;if(ee instanceof h.Cons&&ee.value0 instanceof Q){me=Y+1|0,we=ee.value1;return}if(ee instanceof h.Cons&&ee.value0 instanceof F){me=Y+1|0,we=ee.value1;return}if(ee instanceof h.Cons&&ee.value0 instanceof N){me=Y+1|0,we=new h.Cons(ee.value0.value0,new h.Cons(ee.value0.value1,ee.value1));return}if(ee instanceof h.Cons&&ee.value0 instanceof L){me=Y+1|0,we=new h.Cons(ee.value0.value0,new h.Cons(ee.value0.value1,ee.value1));return}if(ee instanceof h.Cons&&ee.value0 instanceof R){me=Y+1|0,we=new h.Cons(ee.value0.value1,ee.value1);return}if(ee instanceof h.Cons&&ee.value0 instanceof q){me=Y+1|0,we=new h.Cons(ee.value0.value2,ee.value1);return}if(ee instanceof h.Cons&&ee.value0 instanceof te){me=Y,we=M.append(h.semigroupList)(s.mapFlipped(h.functorList)(ee.value0.value0)(W.snd))(ee.value1);return}throw new Error("Failed pattern match at Docs.Search.TypeQuery (line 383, column 5 - line 383, column 17): "+[Y.constructor.name,ee.constructor.name])}for(;!be;)Me=Ee(me,we);return Me}},de=se(0);return function(he){return de(p.singleton(he))}}(),ce=G.char(" "),ve=function(){var se=function(de){return function(he){var we=de,me=!1,be;function Me(Ee,Y){if(Y instanceof h.Nil)return me=!0,Ee;if(Y instanceof h.Cons&&Y.value0 instanceof ne){if(f.eq(x.eqIdentifier)(Y.value0.value0)(Y.value0.value1)){we=Ee,he=Y.value1;return}if(l.otherwise){we=Ee+m.penalties.match|0,he=Y.value1;return}}if(Y instanceof h.Cons&&Y.value0 instanceof V){var ee=C.size(C.union(x.ordIdentifier)(Y.value0.value0)(Y.value0.value1))-C.size(C.intersection(x.ordIdentifier)(Y.value0.value0)(Y.value0.value1))|0;we=Ee+(m.penalties.matchConstraint*ee|0)|0,he=Y.value1;return}if(Y instanceof h.Cons&&Y.value0 instanceof T){we=m.penalties.rowsMismatch*b.abs(b.ordInt)(w.ringInt)(Y.value0.value0-Y.value0.value1|0)|0,he=Y.value1;return}if(Y instanceof h.Cons){we=Ee,he=Y.value1;return}throw new Error("Failed pattern match at Docs.Search.TypeQuery (line 341, column 5 - line 341, column 17): "+[Ee.constructor.name,Y.constructor.name])}for(;!me;)be=Me(we,he);return be}};return se(0)}(),ie=function(){var se=function(de){return function(he){var we=de,me=!1,be;function Me(Ee,Y){if(Y instanceof h.Nil)return me=!0,Ee;if(Y instanceof h.Cons&&Y.value0 instanceof ue){we=Ee+(y(Y.value0.value1)*m.penalties.instantiate|0)|0,he=Y.value1;return}if(Y instanceof h.Cons&&Y.value0 instanceof B){we=Ee+($(Y.value0.value0)*m.penalties.generalize|0)|0,he=Y.value1;return}if(Y instanceof h.Cons&&Y.value0 instanceof k){we=Ee+m.penalties.excessiveConstraint|0,he=Y.value1;return}if(Y instanceof h.Cons&&Y.value0 instanceof S){we=Ee+m.penalties.missingConstraint|0,he=Y.value1;return}if(Y instanceof h.Cons&&Y.value0 instanceof Z){we=(Ee+$(Y.value0.value0)|0)+y(Y.value0.value1)|0,he=Y.value1;return}if(Y instanceof h.Cons&&Y.value0 instanceof A){we=Ee+y(Y.value0.value0)|0,he=Y.value1;return}if(Y instanceof h.Cons&&Y.value0 instanceof H){we=Ee+$(Y.value0.value0)|0,he=Y.value1;return}if(Y instanceof h.Cons){we=Ee,he=Y.value1;return}throw new Error("Failed pattern match at Docs.Search.TypeQuery (line 357, column 5 - line 357, column 17): "+[Ee.constructor.name,Y.constructor.name])}for(;!me;)be=Me(we,he);return be}};return se(0)}(),oe=o.bind(z.bindParser)(G.lowerCaseChar)(function(se){return o.bind(z.bindParser)(c.many(z.alternativeParser)(z.lazyParser)(r.alt(z.altParser)(G.alphaNum)(G.char("'"))))(function(de){return a.pure(z.applicativeParser)(x.Identifier(D.fromCharArray(M.append(M.semigroupArray)(a.pure(a.applicativeArray)(se))(de))))})}),le=function(){var se=function(de){return function(he){var we=de,me=!1,be;function Me(Ee,Y){if(Y instanceof q){we=new h.Cons(Y.value0,Ee),he=Y.value2;return}return me=!0,{constraints:p.sort(x.ordIdentifier)(Ee),ty:Y}}for(;!me;)be=Me(we,he);return be}};return se(h.Nil.value)}(),fe=function(se){return function(de){var he=function(we){return function(me){var be=we,Me=!1,Ee;function Y(ee,re){if(re instanceof h.Nil)return Me=!0,ee;if(re instanceof h.Cons&&re.value0.t instanceof J.ParensInType){be=ee,me=new h.Cons({q:re.value0.q,t:re.value0.t.value0},re.value1);return}if(re instanceof h.Cons&&re.value0.t instanceof J.ForAll){be=ee,me=new h.Cons({q:re.value0.q,t:re.value0.t.value2},re.value1);return}if(re instanceof h.Cons&&re.value0.q instanceof R){be=ee,me=new h.Cons({q:re.value0.q.value1,t:re.value0.t},re.value1);return}if(re instanceof h.Cons&&re.value0.q instanceof q&&re.value0.t instanceof J.ConstrainedType){var ye=C.fromFoldable(h.foldableList)(x.ordIdentifier)(J.joinConstraints(re.value0.t).constraints),Ce=C.fromFoldable(h.foldableList)(x.ordIdentifier)(le(re.value0.q).constraints);be=new h.Cons(new V(Ce,ye),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.q instanceof q){be=new h.Cons(k.value,ee),me=new h.Cons({q:re.value0.q.value2,t:re.value0.t},re.value1);return}if(re instanceof h.Cons&&re.value0.t instanceof J.ConstrainedType){be=new h.Cons(S.value,ee),me=new h.Cons({q:re.value0.q,t:re.value0.t.value1},re.value1);return}if(re instanceof h.Cons&&re.value0.q instanceof Q&&re.value0.t instanceof J.TypeVar){be=new h.Cons(new j(re.value0.q.value0,re.value0.t.value0),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.t instanceof J.TypeVar){be=new h.Cons(new B(re.value0.q,re.value0.t.value0),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.q instanceof Q){be=new h.Cons(new ue(re.value0.q.value0,re.value0.t),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.q instanceof F&&re.value0.t instanceof J.TypeConstructor){be=new h.Cons(new ne(re.value0.q.value0,re.value0.t.value0.name),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.q instanceof F){be=new h.Cons(new A(re.value0.t),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.t instanceof J.TypeConstructor){be=new h.Cons(new H(re.value0.q),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.t instanceof J.TypeOp){be=new h.Cons(new H(re.value0.q),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.t instanceof J.BinaryNoParensType){be=new h.Cons(new Z(re.value0.q,re.value0.t),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.q instanceof N&&re.value0.t instanceof J.TypeApp&&re.value0.t.value0 instanceof J.TypeApp&&re.value0.t.value0.value0 instanceof J.TypeConstructor&&re.value0.t.value0.value0.value0.moduleNameParts.length===1&&re.value0.t.value0.value0.value0.moduleNameParts[0]==="Prim"&&re.value0.t.value0.value0.value0.name==="Function"){be=ee,me=new h.Cons({q:re.value0.q.value0,t:re.value0.t.value0.value1},new h.Cons({q:re.value0.q.value1,t:re.value0.t.value1},re.value1));return}if(re instanceof h.Cons&&re.value0.q instanceof N){be=new h.Cons(new Z(re.value0.q,re.value0.t),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.q instanceof L&&re.value0.q.value0 instanceof F&&re.value0.q.value0.value0==="Record"&&re.value0.q.value1 instanceof te&&re.value0.t instanceof J.TypeApp&&re.value0.t.value0 instanceof J.TypeConstructor&&re.value0.t.value0.value0.moduleNameParts.length===1&&re.value0.t.value0.value0.moduleNameParts[0]==="Prim"&&re.value0.t.value0.value0.name==="Record"){var _e=J.joinRows(re.value0.t.value1),Ie=p.length(_e.rows),xe=p.length(re.value0.q.value1.value0),_n=Ie===xe;if(_n){var Vn=p.sortBy(function(Je){return function(Se){return b.compare(x.ordIdentifier)(Je.row)(Se.row)}})(_e.rows),Qn=p.sortBy(function(Je){return function(Se){return b.compare(x.ordIdentifier)(W.fst(Je))(W.fst(Se))}})(re.value0.q.value1.value0);be=M.append(h.semigroupList)(p.zipWith(function(Je){return function(Se){return new ne(Je.value0,Se.row)}})(Qn)(Vn))(ee),me=M.append(h.semigroupList)(p.zipWith(function(Je){return function(Se){return{q:Je.value1,t:Se.ty}}})(Qn)(Vn))(re.value1);return}be=new h.Cons(new T(xe,Ie),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.q instanceof te){be=new h.Cons(new Z(re.value0.q,re.value0.t),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.q instanceof L&&re.value0.t instanceof J.TypeApp){be=ee,me=new h.Cons({q:re.value0.q.value0,t:re.value0.t.value0},new h.Cons({q:re.value0.q.value1,t:re.value0.t.value1},re.value1));return}if(re instanceof h.Cons&&re.value0.t instanceof J.TypeLevelString){be=new h.Cons(new H(re.value0.q),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.t instanceof J.TypeWildcard){be=new h.Cons(new H(re.value0.q),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.t instanceof J.RCons){be=new h.Cons(new Z(re.value0.q,re.value0.t),ee),me=re.value1;return}if(re instanceof h.Cons&&re.value0.t instanceof J.REmpty){be=new h.Cons(new H(re.value0.q),ee),me=re.value1;return}throw new Error("Failed pattern match at Docs.Search.TypeQuery (line 204, column 5 - line 204, column 87): "+[ee.constructor.name,re.constructor.name])}for(;!Me;)Ee=Y(be,me);return Ee}};return he(h.Nil.value)(p.singleton({q:se,t:de}))}},pe=function(se){return function(de){var he=fe(se)(de);return((ae(he)*m.penalties.typeVars|0)+ve(he)|0)+ie(he)|0}},De=o.bind(z.bindParser)(G.anyLetter)(function(se){return o.bind(z.bindParser)(c.many(z.alternativeParser)(z.lazyParser)(r.alt(z.altParser)(G.alphaNum)(G.char("'"))))(function(de){return a.pure(z.applicativeParser)(s.map(s.functorFn)(x.Identifier)(D.fromCharArray)(M.append(M.semigroupArray)(a.pure(a.applicativeArray)(se))(de)))})}),Ae=function(se){var de=function(we){return function(me){return function(be){var Me=C.member(x.ordIdentifier)(me)(we);return Me?be:C.insert(x.ordIdentifier)(me)(be)}}},he=function(we){return function(me){return function(be){var Me=we,Ee=me,Y=!1,ee;function re(ye,Ce,_e){if(_e instanceof h.Nil)return Y=!0,Ce;if(_e instanceof h.Cons&&_e.value0 instanceof K){Me=C.difference(x.ordIdentifier)(ye)(_e.value0.value0),Ee=Ce,be=_e.value1;return}if(_e instanceof h.Cons&&_e.value0 instanceof U&&_e.value0.value0 instanceof Q){Me=ye,Ee=de(ye)(_e.value0.value0.value0)(Ce),be=_e.value1;return}if(_e instanceof h.Cons&&_e.value0 instanceof U&&_e.value0.value0 instanceof F){Me=ye,Ee=Ce,be=_e.value1;return}if(_e instanceof h.Cons&&_e.value0 instanceof U&&_e.value0.value0 instanceof N){Me=ye,Ee=Ce,be=new h.Cons(new U(_e.value0.value0.value0),new h.Cons(new U(_e.value0.value0.value1),_e.value1));return}if(_e instanceof h.Cons&&_e.value0 instanceof U&&_e.value0.value0 instanceof L){Me=ye,Ee=Ce,be=new h.Cons(new U(_e.value0.value0.value0),new h.Cons(new U(_e.value0.value0.value1),_e.value1));return}if(_e instanceof h.Cons&&_e.value0 instanceof U&&_e.value0.value0 instanceof R){var Ie=v.foldr(h.foldableNonEmptyList)(C.insert(x.ordIdentifier))(_.mempty(C.monoidSet(x.ordIdentifier)))(_e.value0.value0.value0),xe=new h.Cons(new U(_e.value0.value0.value1),new h.Cons(new K(C.difference(x.ordIdentifier)(Ie)(ye)),_e.value1));Me=C.union(x.ordIdentifier)(ye)(Ie),Ee=Ce,be=xe;return}if(_e instanceof h.Cons&&_e.value0 instanceof U&&_e.value0.value0 instanceof q){Me=ye,Ee=Ce,be=M.append(h.semigroupList)(s.map(h.functorList)(U.create)(_e.value0.value0.value1))(new h.Cons(new U(_e.value0.value0.value2),_e.value1));return}if(_e instanceof h.Cons&&_e.value0 instanceof U&&_e.value0.value0 instanceof te){Me=ye,Ee=Ce,be=M.append(h.semigroupList)(s.mapFlipped(h.functorList)(_e.value0.value0.value0)(function(_n){return U.create(W.snd(_n))}))(_e.value1);return}throw new Error("Failed pattern match at Docs.Search.TypeQuery (line 149, column 5 - line 149, column 29): "+[ye.constructor.name,Ce.constructor.name,_e.constructor.name])}for(;!Y;)ee=re(Me,Ee,be);return ee}}};return he(C.empty)(C.empty)(p.singleton(new U(se)))},Te=s.map(z.functorParser)(F.create)(P),Le=s.map(z.functorParser)(Q.create)(oe),Oe=u.fix(z.lazyParser)(function(se){var de=s.map(z.functorParser)(te.create)(X.sepBy(t.apply(z.applyParser)(s.map(z.functorParser)(W.Tuple.create)(t.applyFirst(z.applyParser)(t.applyFirst(z.applyParser)(t.applySecond(z.applyParser)(G.skipSpaces)(De))(G.skipSpaces))(G.string("::"))))(t.applyFirst(z.applyParser)(t.applySecond(z.applyParser)(G.skipSpaces)(se))(G.skipSpaces)))(t.applySecond(z.applyParser)(G.string(","))(G.skipSpaces))),he=t.applyFirst(z.applyParser)(t.applySecond(z.applyParser)(G.string("("))(de))(G.string(")")),we=s.map(z.functorParser)(L.create(F.create("Record")))(t.applyFirst(z.applyParser)(t.applySecond(z.applyParser)(G.string("{"))(de))(G.string("}"))),me=t.applyFirst(z.applyParser)(t.applyFirst(z.applyParser)(t.applySecond(z.applyParser)(t.applySecond(z.applyParser)(G.string("("))(G.skipSpaces))(se))(G.skipSpaces))(G.string(")")),be=t.apply(z.applyParser)(t.apply(z.applyParser)(s.map(z.functorParser)(q.create)(t.applyFirst(z.applyParser)(P)(G.skipSpaces)))(t.applyFirst(z.applyParser)(t.applyFirst(z.applyParser)(X.sepEndBy(r.alt(z.altParser)(s.map(z.functorParser)(Q.create)(De))(me))(p.many(z.alternativeParser)(z.lazyParser)(ce)))(G.string("=>")))(G.skipSpaces)))(se),Me=t.applyFirst(z.applyParser)(t.applyFirst(z.applyParser)(t.applySecond(z.applyParser)(t.applySecond(z.applyParser)(G.string("forall"))(p.some(z.alternativeParser)(z.lazyParser)(ce)))(X.sepEndBy1(De)(G.skipSpaces)))(G.string(".")))(G.skipSpaces),Ee=t.apply(z.applyParser)(s.map(z.functorParser)(R.create)(Me))(se),Y=t.applySecond(z.applyParser)(G.skipSpaces)(r.alt(z.altParser)(r.alt(z.altParser)(r.alt(z.altParser)(r.alt(z.altParser)(r.alt(z.altParser)(Ee)(z.try(me)))(he))(we))(Te))(Le)),ee=s.map(z.functorParser)(O.foldl1(L.create))(X.sepEndBy1(Y)(p.some(z.alternativeParser)(z.lazyParser)(ce))),re=s.map(z.functorParser)(O.foldr1(N.create))(X.sepBy1(ee)(t.applySecond(z.applyParser)(G.string("->"))(G.skipSpaces)));return r.alt(z.altParser)(z.try(be))(re)}),gn=function(){var se=z.runParser(t.applyFirst(z.applyParser)(Oe)(G.eof));return function(de){return se(E.trim(de))}}();n.QVar=Q,n.QConst=F,n.QFun=N,n.QApp=L,n.QForAll=R,n.QConstraint=q,n.QRow=te,n.parseTypeQuery=gn,n.getFreeVariables=Ae,n.penalty=pe})(I);(function(e){"use strict";e["Docs.Search.TypeShape"]=e["Docs.Search.TypeShape"]||{};var n=e["Docs.Search.TypeShape"],r=e["Docs.Search.TypeShape"],a=e["Control.Applicative"],t=e["Data.Foldable"],o=e["Data.Functor"],i=e["Data.List"],u=e["Data.List.NonEmpty"],c=e["Data.List.Types"],l=e["Data.Monoid"],f=e["Data.Ord"],v=e["Data.Ring"],d=e["Data.Semigroup"],s=e["Data.Set"],p=e["Data.Show"],h=e["Data.Tuple"],g=e["Docs.Search.TypeQuery"],_=e["Docs.Search.Types"],b=function(){function m(){}return m.value=new m,m}(),w=function(){function m(){}return m.value=new m,m}(),M=function(){function m(){}return m.value=new m,m}(),C=function(){function m(O){this.value0=O}return m.create=function(O){return new m(O)},m}(),D=function(){function m(O){this.value0=O}return m.create=function(O){return new m(O)},m}(),E=function(m){var O=function(x){if(x instanceof b)return"v";if(x instanceof w)return"f";if(x instanceof M)return"a";if(x instanceof C)return"b"+p.show(p.showInt)(x.value0);if(x instanceof D)return"r"+p.show(p.showInt)(x.value0);throw new Error("Failed pattern match at Docs.Search.TypeShape (line 47, column 7 - line 52, column 35): "+[x.constructor.name])},J=t.foldMap(c.foldableList)(l.monoidString)(O)(m);return p.show(p.showInt)(f.abs(f.ordInt)(v.ringInt)(r.hash(function(){var x=J==="";return x?"0":J}())))},W=function(m){var O=function(z){return function(G){var X=z,Q=!1,F;function N(L,R){if(L instanceof c.Nil)return Q=!0,R;if(L instanceof c.Cons){if(L.value0 instanceof g.QVar){X=L.value1,G=new c.Cons(b.value,R);return}if(L.value0 instanceof g.QConst){X=L.value1,G=new c.Cons(b.value,R);return}if(L.value0 instanceof g.QFun){X=new c.Cons(L.value0.value0,new c.Cons(L.value0.value1,L.value1)),G=new c.Cons(w.value,R);return}if(L.value0 instanceof g.QApp){X=new c.Cons(L.value0.value0,new c.Cons(L.value0.value1,L.value1)),G=new c.Cons(M.value,R);return}if(L.value0 instanceof g.QForAll){X=new c.Cons(L.value0.value1,L.value1),G=new c.Cons(new C(u.length(L.value0.value0)),R);return}if(L.value0 instanceof g.QConstraint){X=new c.Cons(L.value0.value2,L.value1),G=R;return}if(L.value0 instanceof g.QRow){var q=i.sortBy(function(te){return function(ue){return f.compare(_.ordIdentifier)(te.value0)(ue.value0)}})(L.value0.value0);X=d.append(c.semigroupList)(o.map(c.functorList)(h.snd)(q))(L.value1),G=new c.Cons(new D(i.length(L.value0.value0)),R);return}throw new Error("Failed pattern match at Docs.Search.TypeShape (line 71, column 7 - line 86, column 67): "+[L.value0.constructor.name])}throw new Error("Failed pattern match at Docs.Search.TypeShape (line 69, column 5 - line 69, column 32): "+[L.constructor.name,R.constructor.name])}for(;!Q;)F=N(X,G);return F}},J=s.size(g.getFreeVariables(m)),x=function(z){if(z instanceof c.Cons&&z.value0 instanceof C)return new c.Cons(new C(J+z.value0.value0|0),z.value1);var G=J===0;return G?z:new c.Cons(new C(J),z)};return x(i.reverse(O(a.pure(c.applicativeList)(m))(c.Nil.value)))};n.stringifyShape=E,n.shapeOfTypeQuery=W})(I);(function(e){"use strict";e["Docs.Search.TypeIndex"]=e["Docs.Search.TypeIndex"]||{};var n=e["Docs.Search.TypeIndex"],r=e["Docs.Search.TypeIndex"],a=e["Control.Applicative"],t=e["Control.Bind"],o=e["Control.Monad.Error.Class"],i=e["Control.Promise"],u=e["Data.Argonaut.Decode.Class"],c=e["Data.Either"],l=e["Data.Foldable"],f=e["Data.Map.Internal"],v=e["Data.Maybe"],d=e["Data.Monoid"],s=e["Data.Newtype"],p=e["Data.Ord"],h=e["Docs.Search.Config"],g=e["Docs.Search.SearchResult"],_=e["Docs.Search.TypeShape"],b=e["Effect.Aff"],w=function(D){return D},M=function(D){return function(E){var W=function(O){return function(J){return s.over()()(w)(f.insert(p.ordString)(O)(J))}},m=f.lookup(p.ordString)(D)(E);if(m instanceof v.Just)return a.pure(b.applicativeAff)({index:E,results:l.fold(l.foldableMaybe)(d.monoidArray)(m.value0)});if(m instanceof v.Nothing)return t.bind(b.bindAff)(o.try(b.monadErrorAff)(i.toAffE(r.lookup_(D)(h.mkShapeScriptPath(D)))))(function(O){return a.pure(b.applicativeAff)(v["fromMaybe'"](function(J){return{index:W(D)(v.Nothing.value)(E),results:[]}})(t.bind(v.bindMaybe)(c.hush(O))(function(J){return t.bind(v.bindMaybe)(c.hush(u.decodeJson(u.decodeArray(g.decodeJsonSearchResult))(J)))(function(x){return a.pure(v.applicativeMaybe)({index:W(D)(new v.Just(x))(E),results:x})})})))});throw new Error("Failed pattern match at Docs.Search.TypeIndex (line 79, column 3 - line 88, column 67): "+[m.constructor.name])}},C=function(D){return function(E){return t.bind(b.bindAff)(M(_.stringifyShape(_.shapeOfTypeQuery(E)))(D))(function(W){return a.pure(b.applicativeAff)({results:W.results,index:W.index})})}};n.query=C})(I);(function(e){"use strict";e["Docs.Search.BrowserEngine"]=e["Docs.Search.BrowserEngine"]||{};var n=e["Docs.Search.BrowserEngine"],r=e["Docs.Search.BrowserEngine"],a=e["Control.Applicative"],t=e["Control.Bind"],o=e["Control.Monad.Error.Class"],i=e["Control.Promise"],u=e["Data.Argonaut.Decode.Class"],c=e["Data.Array"],l=e["Data.Char"],f=e["Data.Either"],v=e["Data.EuclideanRing"],d=e["Data.Foldable"],s=e["Data.Functor"],p=e["Data.List"],h=e["Data.List.Types"],g=e["Data.Map.Internal"],_=e["Data.Maybe"],b=e["Data.Monoid"],w=e["Data.Ord"],M=e["Data.Search.Trie.Internal"],C=e["Data.Semigroup"],D=e["Data.String.CodeUnits"],E=e["Docs.Search.Config"],W=e["Docs.Search.ModuleIndex"],m=e["Docs.Search.PackageIndex"],O=e["Docs.Search.SearchResult"],J=e["Docs.Search.TypeIndex"],x=e["Docs.Search.Types"],z=e["Effect.Aff"],G=function(L){return L},X=function(L){var R=p.fromFoldable(d.foldableArray)(D.toCharArray(L.value0)),q=function(te){if(te instanceof _.Nothing)return _.Just.create(p.fromFoldable(d.foldableArray)(L.value1));if(te instanceof _.Just)return _.Just.create(C.append(h.semigroupList)(p.fromFoldable(d.foldableArray)(L.value1))(te.value0));throw new Error("Failed pattern match at Docs.Search.BrowserEngine (line 101, column 7 - line 103, column 63): "+[te.constructor.name])};return M.alter(w.ordChar)(R)(q)},Q=function(L){return L instanceof h.Cons&&L.value1 instanceof h.Cons?x.PartId(v.mod(v.euclideanRingInt)(l.toCharCode(L.value0)+l.toCharCode(L.value1.value0)|0)(E.numberOfIndexParts)):L instanceof h.Cons?x.PartId(v.mod(v.euclideanRingInt)(l.toCharCode(L.value0))(E.numberOfIndexParts)):0},F=function(L){return function(R){var q=function(){var B=c.fromFoldable(h.foldableList),j=s.map(h.functorList)(c.fromFoldable(h.foldableList));return function(V){return c.concat(B(j(V)))}}(),te=p.fromFoldable(d.foldableArray)(D.toCharArray(R)),ue=Q(te),ne=g.lookup(x.ordPartId)(ue)(L);if(ne instanceof _.Just)return a.pure(z.applicativeAff)({index:L,results:q(M.queryValues(w.ordChar)(te)(ne.value0))});if(ne instanceof _.Nothing)return t.bind(z.bindAff)(o.try(z.monadErrorAff)(i.toAffE(r.loadIndex_(ue)(E.mkIndexPartLoadPath(ue)))))(function(B){var j=t.bind(_.bindMaybe)(f.hush(B))(function(V){return t.bind(_.bindMaybe)(f.hush(u.decodeJson(u.decodeArray(u.decodeJsonTuple(u.decodeJsonString)(u.decodeArray(O.decodeJsonSearchResult))))(V)))(function(S){return a.pure(_.applicativeMaybe)(c.foldr(X)(b.mempty(M.monoidTrie(w.ordChar)))(S))})});if(j instanceof _.Just)return a.pure(z.applicativeAff)({index:G(g.insert(x.ordPartId)(ue)(j.value0)(L)),results:q(M.queryValues(w.ordChar)(te)(j.value0))});if(j instanceof _.Nothing)return a.pure(z.applicativeAff)({index:L,results:b.mempty(b.monoidArray)});throw new Error("Failed pattern match at Docs.Search.BrowserEngine (line 76, column 7 - line 82, column 42): "+[j.constructor.name])});throw new Error("Failed pattern match at Docs.Search.BrowserEngine (line 60, column 3 - line 82, column 42): "+[ne.constructor.name])}},N={queryIndex:F,queryTypeIndex:J.query,queryPackageIndex:m.queryPackageIndex(z.monadAff),queryModuleIndex:W.queryModuleIndex};n.browserSearchEngine=N})(I);(function(e){"use strict";e["Docs.Search.Declarations"]=e["Docs.Search.Declarations"]||{};var n=e["Docs.Search.Declarations"],r=function(){function i(){}return i.value=new i,i}(),a=function(){function i(){}return i.value=new i,i}(),t=function(){function i(){}return i.value=new i,i}(),o=function(i){if(i instanceof r)return"v";if(i instanceof a)return"t";if(i instanceof t)return"k";throw new Error("Failed pattern match at Docs.Search.Declarations (line 159, column 25 - line 162, column 20): "+[i.constructor.name])};n.ValueLevel=r,n.TypeLevel=a,n.declLevelToHashAnchor=o})(I);(function(e){"use strict";e["Docs.Search.Engine"]=e["Docs.Search.Engine"]||{};var n=e["Docs.Search.Engine"],r=e["Control.Applicative"],a=e["Control.Bind"],t=e["Data.Array"],o=e["Data.Either"],i=e["Data.Function"],u=e["Data.Functor"],c=e["Data.Maybe"],l=e["Data.Newtype"],f=e["Data.Ord"],v=e["Data.Ordering"],d=e["Data.Ring"],s=e["Data.Semigroup"],p=e["Data.String.Common"],h=e["Docs.Search.SearchResult"],g=e["Docs.Search.TypeQuery"],_=e["Docs.Search.Types"],b=function(){function X(Q){this.value0=Q}return X.create=function(Q){return new X(Q)},X}(),w=function(){function X(Q){this.value0=Q}return X.create=function(Q){return new X(Q)},X}(),M=function(){function X(Q){this.value0=Q}return X.create=function(Q){return new X(Q)},X}(),C=function(){function X(Q){this.value0=Q}return X.create=function(Q){return new X(Q)},X}(),D=function(X){return t.sortWith(c.ordMaybe(f.ordInt))(function(){var Q=u.map(c.functorMaybe)(g.penalty(X));return function(F){return Q(h.typeOfResult(F))}}())},E=function(X){return function(Q){if(Q instanceof _.Package)return Q.value0;if(Q instanceof _.Builtin)return"";if(Q instanceof _.LocalPackage)return l.unwrap()(X);if(Q instanceof _.UnknownPackage)return"";throw new Error("Failed pattern match at Docs.Search.Engine (line 163, column 1 - line 163, column 60): "+[X.constructor.name,Q.constructor.name])}},W=function(X){return X instanceof g.QVar||X instanceof g.QConst?c.Nothing.value:new c.Just(X)},m=function(X){if(X instanceof b||X instanceof w)return l.unwrap()(X.value0).score;if(X instanceof M||X instanceof C)return X.value0.score;throw new Error("Failed pattern match at Docs.Search.Engine (line 69, column 1 - line 69, column 41): "+[X.constructor.name])},O=function(X){if(X instanceof b||X instanceof w)return l.unwrap()(X.value0).packageInfo;if(X instanceof M)return new _.Package(X.value0.name);if(X instanceof C)return X.value0.package;throw new Error("Failed pattern match at Docs.Search.Engine (line 76, column 1 - line 76, column 46): "+[X.constructor.name])},J=function(X){if(X instanceof b||X instanceof w)return l.unwrap()(l.unwrap()(X.value0).name);if(X instanceof M||X instanceof C)return l.unwrap()(X.value0.name);throw new Error("Failed pattern match at Docs.Search.Engine (line 90, column 1 - line 90, column 34): "+[X.constructor.name])},x=function(X){if(X instanceof b||X instanceof w)return l.unwrap()(X.value0).moduleName;if(X instanceof M)return"";if(X instanceof C)return X.value0.name;throw new Error("Failed pattern match at Docs.Search.Engine (line 83, column 1 - line 83, column 44): "+[X.constructor.name])},z=function(X){return t.sortBy(s.append(s.semigroupFn(s.semigroupFn(v.semigroupOrdering)))(i.on(f.compare(_.ordPackageScore))(function(){var Q=d.negate(_.ringPackageScore);return function(F){return Q(m(F))}}()))(s.append(s.semigroupFn(s.semigroupFn(v.semigroupOrdering)))(i.on(f.compare(_.ordPackageInfo))(O))(s.append(s.semigroupFn(s.semigroupFn(v.semigroupOrdering)))(i.on(f.compare(_.ordModuleName))(x))(i.on(f.compare(f.ordString))(J)))))},G=function(X){return function(Q){return function(F){return function(N){var L=a.bind(c.bindMaybe)(o.hush(g.parseTypeQuery(N)))(W);if(L instanceof c.Nothing){var R=p.toLower(N);return a.bind(X.Bind1())(Q.queryIndex(F.index)(R))(function(q){return a.bind(X.Bind1())(Q.queryPackageIndex(F.packageIndex)(R))(function(te){var ue=Q.queryModuleIndex(F.scores)(F.moduleIndex)(R);return r.pure(X.Applicative0())({results:z(F)(s.append(s.semigroupArray)(u.mapFlipped(u.functorArray)(te.results)(M.create))(s.append(s.semigroupArray)(u.mapFlipped(u.functorArray)(ue)(C.create))(u.mapFlipped(u.functorArray)(q.results)(b.create)))),index:{index:q.index,moduleIndex:F.moduleIndex,packageIndex:F.packageIndex,scores:F.scores,typeIndex:F.typeIndex}})})})}if(L instanceof c.Just)return a.bind(X.Bind1())(Q.queryTypeIndex(F.typeIndex)(L.value0))(function(q){return r.pure(X.Applicative0())({results:u.mapFlipped(u.functorArray)(D(L.value0)(q.results))(w.create),index:{typeIndex:q.index,index:F.index,moduleIndex:F.moduleIndex,packageIndex:F.packageIndex,scores:F.scores}})});throw new Error("Failed pattern match at Docs.Search.Engine (line 119, column 3 - line 146, column 13): "+[L.constructor.name])}}}};n.DeclResult=b,n.TypeResult=w,n.PackResult=M,n.MdlResult=C,n.query=G,n.packageInfoToString=E})(I);(function(e){e.decodeHtmlEntity=function(n){if(typeof DOMParser=="undefined")return n;var r=/^\s+/.exec(n),a="";r&&(a=r[0]);var t=new DOMParser().parseFromString(n.slice(a.length),"text/html");return a+t.documentElement.textContent}})(I["Html.Parser"]=I["Html.Parser"]||{});(function(e){"use strict";e["Text.Parsing.StringParser.CodeUnits"]=e["Text.Parsing.StringParser.CodeUnits"]||{};var n=e["Text.Parsing.StringParser.CodeUnits"],r=e["Control.Applicative"],a=e["Control.Bind"],t=e["Data.Array.NonEmpty"],o=e["Data.Either"],i=e["Data.Eq"],u=e["Data.Foldable"],c=e["Data.Functor"],l=e["Data.List.Types"],f=e["Data.Maybe"],v=e["Data.Monoid"],d=e["Data.Show"],s=e["Data.String.CodeUnits"],p=e["Data.String.Regex"],h=e["Data.String.Regex.Flags"],g=e["Text.Parsing.StringParser"],_=e["Text.Parsing.StringParser.Combinators"],b=function(W){return function(m){return i.eq(f.eqMaybe(i.eqInt))(s["indexOf'"](W)(m.pos)(m.str))(new f.Just(m.pos))?new o.Right({result:W,suffix:{str:m.str,pos:m.pos+s.length(W)|0}}):new o.Left({pos:m.pos,error:"Expected '"+(W+"'.")})}},w=function(W){var m=function(){var x=s.stripPrefix("^")(W);return x instanceof f.Nothing?"^"+W:W}(),O=function(x){return function(z){var G=s.drop(z.pos)(z.str),X=c.map(f.functorMaybe)(t.head)(p.match(x)(G));return X instanceof f.Just&&X.value0 instanceof f.Just?new o.Right({result:X.value0.value0,suffix:{str:z.str,pos:z.pos+s.length(X.value0.value0)|0}}):new o.Left({pos:z.pos,error:"no match"})}},J=p.regex(m)(h.noFlags);if(J instanceof o.Left)return g.fail("Text.Parsing.StringParser.String.regex': illegal regex "+W);if(J instanceof o.Right)return O(J.value0);throw new Error("Failed pattern match at Text.Parsing.StringParser.CodeUnits (line 127, column 3 - line 131, column 19): "+[J.constructor.name])},M=function(W){var m=s.charAt(W.pos)(W.str);if(m instanceof f.Just)return new o.Right({result:m.value0,suffix:{str:W.str,pos:W.pos+1|0}});if(m instanceof f.Nothing)return new o.Left({pos:W.pos,error:"Unexpected EOF"});throw new Error("Failed pattern match at Text.Parsing.StringParser.CodeUnits (line 51, column 3 - line 53, column 53): "+[m.constructor.name])},C=function(W){return g.try(a.bind(g.bindParser)(M)(function(m){var O=W(m);return O?r.pure(g.applicativeParser)(m):g.fail("Character "+(d.show(d.showChar)(m)+" did not satisfy predicate"))}))},D=a.bind(g.bindParser)(_.many(C(function(W){return W===` `||W==="\r"||W===" "||W===" "})))(function(W){return r.pure(g.applicativeParser)(u.foldMap(l.foldableList)(v.monoidString)(s.singleton)(W))}),E=c.void(g.functorParser)(D);n.anyChar=M,n.string=b,n.whiteSpace=D,n.skipSpaces=E,n.regex=w})(I);(function(e){"use strict";e["Html.Parser"]=e["Html.Parser"]||{};var n=e["Html.Parser"],r=e["Html.Parser"],a=e["Control.Alt"],t=e["Control.Applicative"],o=e["Control.Apply"],i=e["Control.Bind"],u=e["Control.Lazy"],c=e["Data.Array"],l=e["Data.Eq"],f=e["Data.Functor"],v=e["Data.List.Types"],d=e["Data.String.CodeUnits"],s=e["Text.Parsing.StringParser"],p=e["Text.Parsing.StringParser.CodeUnits"],h=e["Text.Parsing.StringParser.Combinators"],g=function(){function R(q,te){this.value0=q,this.value1=te}return R.create=function(q){return function(te){return new R(q,te)}},R}(),_=function(){function R(q){this.value0=q}return R.create=function(q){return new R(q)},R}(),b=function(){function R(q){this.value0=q}return R.create=function(q){return new R(q)},R}(),w=function(){function R(q){this.value0=q}return R.create=function(q){return new R(q)},R}(),M=f.map(s.functorParser)(function(R){return b.create(r.decodeHtmlEntity(R))})(p.regex("[^<]+")),C=["br","img","hr","meta","input","embed","area","base","col","keygen","link","param","source","command","link","track","wbr"],D=o.applyFirst(s.applyParser)(o.applySecond(s.applyParser)(p.string('"'))(p.regex('[^"]*')))(p.string('"')),E=o.applyFirst(s.applyParser)(o.applySecond(s.applyParser)(p.string("'"))(p.regex("[^']*")))(p.string("'")),W=a.alt(s.altParser)(E)(D),m=function(R){return function(q){return function(te){return{name:R,attributes:q,children:te}}}},O=function(R){return c.elem(l.eqString)(R.name)(C)},J=o.applyFirst(s.applyParser)(p.string("="))(p.whiteSpace),x=function(){var R=c.fromFoldable(v.foldableList);return function(q){return d.fromCharArray(R(q))}}(),z=i.discard(i.discardUnit)(s.bindParser)(p.skipSpaces)(function(){return i.bind(s.bindParser)(o.applySecond(s.applyParser)(p.string(""))))(function(R){return t.pure(s.applicativeParser)(w.create(x(R)))})}),G=i.bind(s.bindParser)(p.regex("[^=>/ ]+"))(function(R){return i.discard(i.discardUnit)(s.bindParser)(f.void(s.functorParser)(p.whiteSpace))(function(){return i.bind(s.bindParser)(h.option("")(o.applySecond(s.applyParser)(J)(W)))(function(q){return t.pure(s.applicativeParser)(new g(R,q))})})}),X=i.bind(s.bindParser)(p.string("<"))(function(){return i.bind(s.bindParser)(p.regex(`[^/> ]+`))(function(R){return i.bind(s.bindParser)(o.applySecond(s.applyParser)(p.whiteSpace)(h.sepEndBy(G)(p.whiteSpace)))(function(q){return t.pure(s.applicativeParser)(m(R)(q)(v.Nil.value))})})}),Q=u.defer(s.lazyParser)(function(R){return a.alt(s.altParser)(a.alt(s.altParser)(s.try(M))(s.try(z)))(F)}),F=u.defer(s.lazyParser)(function(R){return i.discard(i.discardUnit)(s.bindParser)(p.skipSpaces)(function(){return i.bind(s.bindParser)(i.bind(s.bindParser)(X)(N))(function(){var q=t.pure(s.applicativeParser);return function(te){return q(_.create(te))}}())})}),N=function(R){var q=i.bind(s.bindParser)(o.applySecond(s.applyParser)(p.whiteSpace)(p.string(">")))(function(){return i.bind(s.bindParser)(h.manyTill(Q)(p.string(""))))(function(te){return t.pure(s.applicativeParser)({children:te,attributes:R.attributes,name:R.name})})});return u.defer(s.lazyParser)(function(te){var ue=O(R);return ue?o.applySecond(s.applyParser)(o.applySecond(s.applyParser)(o.applySecond(s.applyParser)(p.whiteSpace)(h.optional(p.string("/"))))(p.string(">")))(t.pure(s.applicativeParser)(R)):q})},L=function(R){return s.runParser(h.many(Q))(R)};n.HtmlElement=_,n.HtmlText=b,n.HtmlComment=w,n.parse=L})(I);(function(e){"use strict";e["Html.Renderer.Halogen"]=e["Html.Renderer.Halogen"]||{};var n=e["Html.Renderer.Halogen"],r=e["Control.Category"],a=e["Data.Array"],t=e["Data.Bifunctor"],o=e["Data.Either"],i=e["Data.Functor"],u=e["Data.List.Types"],c=e["Data.Show"],l=e["Data.Symbol"],f=e["Halogen.HTML.Core"],v=e["Halogen.HTML.Elements"],d=e["Halogen.HTML.Properties"],s=e["Html.Parser"],p=function(M){return d.attr(M.value0)(M.value1)},h=function(M){if(M instanceof s.HtmlElement)return g(M.value0);if(M instanceof s.HtmlText)return f.text(M.value0);if(M instanceof s.HtmlComment)return f.text("");throw new Error("Failed pattern match at Html.Renderer.Halogen (line 34, column 1 - line 34, column 50): "+[M.constructor.name])},g=function(M){var C=a.fromFoldable(u.foldableList)(i.map(u.functorList)(h)(M.children));return v.element(M.name)(a.fromFoldable(u.foldableList)(i.map(u.functorList)(p)(M.attributes)))(C)},_=function(M){return t.lmap(t.bifunctorEither)(c.show(c.showRecord()(c.showRecordFieldsCons(new l.IsSymbol(function(){return"error"}))(c.showRecordFieldsCons(new l.IsSymbol(function(){return"pos"}))(c.showRecordFieldsNil)(c.showInt))(c.showString))))(i.map(o.functorEither)(function(){var C=a.fromFoldable(u.foldableList),D=i.map(u.functorList)(h);return function(E){return C(D(E))}}())(s.parse(M)))},b=function(M){return o.either(function(C){return[f.text(C)]})(r.identity(r.categoryFn))(_(M))},w=function(M){var C=v.div(M);return function(D){return C(b(D))}};n.render=w})(I);(function(e){var n=Pa();e.newMarkdownIt_=function(r,a){return new n(r,a)},e.render_=function(r,a){return r.render(a)}})(I.MarkdownIt=I.MarkdownIt||{});(function(e){"use strict";e.runEffectFn2=function(r){return function(a){return function(t){return function(){return r(a,t)}}}}})(I["Effect.Uncurried"]=I["Effect.Uncurried"]||{});(function(e){"use strict";e["Effect.Uncurried"]=e["Effect.Uncurried"]||{};var n=e["Effect.Uncurried"],r=e["Effect.Uncurried"];n.runEffectFn2=r.runEffectFn2})(I);(function(e){"use strict";e.MarkdownIt=e.MarkdownIt||{};var n=e.MarkdownIt,r=e.MarkdownIt,a=e["Data.Options"],t=e["Data.Show"],o=e["Effect.Uncurried"],i=function(){function d(){}return d.value=new d,d}(),u=function(){function d(){}return d.value=new d,d}(),c=function(){function d(){}return d.value=new d,d}(),l=new t.Show(function(d){if(d instanceof i)return"commonmark";if(d instanceof u)return"default";if(d instanceof c)return"zero";throw new Error("Failed pattern match at MarkdownIt (line 40, column 10 - line 43, column 19): "+[d.constructor.name])}),f=o.runEffectFn2(r.render_),v=function(d){return function(s){return function(){return r.newMarkdownIt_(t.show(l)(d),a.options(s))}}};n.Default=u,n.newMarkdownIt=v,n.render=f})(I);(function(e){"use strict";e["MarkdownIt.Renderer.Halogen"]=e["MarkdownIt.Renderer.Halogen"]||{};var n=e["MarkdownIt.Renderer.Halogen"],r=e["Effect.Unsafe"],a=e["Html.Renderer.Halogen"],t=e.MarkdownIt,o=function(u){return function(c){return function(l){return a.render(c)(r.unsafePerformEffect(t.render(u)(l)))}}},i=function(u){return function(c){return o(u)([])(c)}};n.render_=i})(I);(function(e){"use strict";e.setAttribute=function(n){return function(r){return function(a){return function(){a.setAttribute(n,r)}}}},e.removeAttribute=function(n){return function(r){return function(){r.removeAttribute(n)}}}})(I["Web.DOM.Element"]=I["Web.DOM.Element"]||{});(function(e){"use strict";e["Web.DOM.Element"]=e["Web.DOM.Element"]||{};var n=e["Web.DOM.Element"],r=e["Web.DOM.Element"],a=e["Unsafe.Coerce"],t=a.unsafeCoerce,o=a.unsafeCoerce;n.toNode=t,n.toChildNode=o,n.setAttribute=r.setAttribute,n.removeAttribute=r.removeAttribute})(I);(function(e){"use strict";e["Docs.Search.App.SearchResults"]=e["Docs.Search.App.SearchResults"]||{};var n=e["Docs.Search.App.SearchResults"],r=e["Control.Applicative"],a=e["Control.Bind"],t=e["Control.Monad.State.Class"],o=e["Data.Array"],i=e["Data.Eq"],u=e["Data.Foldable"],c=e["Data.Function"],l=e["Data.Functor"],f=e["Data.List"],v=e["Data.List.Types"],d=e["Data.Maybe"],s=e["Data.Monoid"],p=e["Data.Newtype"],h=e["Data.Semigroup"],g=e["Data.String.CodeUnits"],_=e["Data.String.Common"],b=e["Data.String.Pattern"],w=e["Docs.Search.App.SearchField"],M=e["Docs.Search.BrowserEngine"],C=e["Docs.Search.Config"],D=e["Docs.Search.Declarations"],E=e["Docs.Search.DocsJson"],W=e["Docs.Search.Engine"],m=e["Docs.Search.Extra"],O=e["Docs.Search.SearchResult"],J=e["Docs.Search.TypeDecoder"],x=e["Docs.Search.Types"],z=e["Effect.Aff"],G=e["Effect.Aff.Class"],X=e["Effect.Class"],Q=e["Halogen.Component"],F=e["Halogen.HTML.Core"],N=e["Halogen.HTML.Elements"],L=e["Halogen.HTML.Events"],R=e["Halogen.HTML.Properties"],q=e["Halogen.Query.HalogenM"],te=e["MarkdownIt.Renderer.Halogen"],ue=e["Web.DOM.Element"],ne=e["Web.HTML"],B=e["Web.HTML.Location"],j=e["Web.HTML.Window"],V=function(){function Y(ee,re){this.value0=ee,this.value1=re}return Y.create=function(ee){return function(re){return new Y(ee,re)}},Y}(),S=function(){function Y(){}return Y.value=new Y,Y}(),k=function(){function Y(){}return Y.value=new Y,Y}(),T=function(){function Y(){}return Y.value=new Y,Y}(),Z=function(){function Y(ee){this.value0=ee}return Y.create=function(ee){return new Y(ee)},Y}(),A=function(){function Y(){}return Y.value=new Y,Y}(),H=function(Y){return N.span([R.class_(p.wrap()("syntax"))])([F.text(Y)])},K=F.text(" "),U=a.bind(q.bindHalogenM)(t.get(q.monadStateHalogenM))(function(Y){return X.liftEffect(q.monadEffectHalogenM(z.monadEffectAff))(ue.removeAttribute("style")(Y.contents))}),P=function(Y){return h.append(h.semigroupArray)([N.div([R.class_(p.wrap()("result"))])([N.h3([R.class_(p.wrap()("result__title"))])([N.span([R.classes([p.wrap()("result__badge"),p.wrap()("badge"),p.wrap()("badge--package")]),R.title("Package")])([F.text("P")]),N.a([R.class_(p.wrap()("result__link")),R.href(m.homePageFromRepository(d.fromMaybe("")(Y.repository)))])([F.text(p.unwrap()(Y.name))])])])])(m.foldMapFlipped(u.foldableMaybe)(s.monoidArray)(Y.description)(function(ee){return[N.div([R.class_(p.wrap()("result__body"))])([F.text(ee)])]}))},ae=function(Y){return[N.div([R.class_(p.wrap()("result"))])([N.h3([R.class_(p.wrap()("result__title"))])([N.span([R.classes([p.wrap()("result__badge"),p.wrap()("badge"),p.wrap()("badge--module")]),R.title("Module")])([F.text("M")]),N.a([R.class_(p.wrap()("result__link")),R.href(p.unwrap()(Y.name)+".html")])([F.text(p.unwrap()(Y.name))])])])]},y=function(Y){if(Y.length===0)return[];var ee=function(re){return h.append(h.semigroupArray)(o.intercalate(s.monoidArray)([K])(l.map(l.functorArray)(function(){var ye=r.pure(r.applicativeArray);return function(Ce){return ye(F.text(Ce))}}())(re.lhs)))(h.append(h.semigroupArray)([H(" -> ")])(o.intercalate(s.monoidArray)([K])(l.map(l.functorArray)(function(){var ye=r.pure(r.applicativeArray);return function(Ce){return ye(F.text(Ce))}}())(re.rhs))))};return h.append(h.semigroupArray)([H(" | ")])(o.intercalate(s.monoidArray)([H(", ")])(l.mapFlipped(l.functorArray)(Y)(ee)))},$=function(){var Y=N.div([R.classes([p.wrap()("container"),p.wrap()("clearfix")])]),ee=r.pure(r.applicativeArray),re=N.div([R.classes([p.wrap()("col"),p.wrap()("col--main")])]);return function(ye){return Y(ee(re(ye)))}}(),ce=function(Y){return function(ee){return function(re){return function(ye){return R.href(p.unwrap()(re)+(".html#"+(D.declLevelToHashAnchor(Y)+(":"+function(){return ee?"type ("+(p.unwrap()(ye)+")"):p.unwrap()(ye)}()))))}}}},ve=function(Y){return function(ee){return function(re){var ye=x.ModuleName(o.intercalate(s.monoidString)(".")(re.moduleNameParts)),Ce=i.eq(d.eqMaybe(i.eqString))(o.index(re.moduleNameParts)(0))(new d.Just("Prim"));return Ce?F.text(p.unwrap()(re.name)):N.a([L.onClick(c.const(Z.create(ye))),ce(ee)(Y)(ye)(re.name)])([F.text(p.unwrap()(re.name))])}}},ie=function(Y){return N.span([R.class_(p.wrap()("keyword"))])([F.text(Y)])},oe=function(Y){if(Y instanceof J.TypeVar)return F.text(Y.value0);if(Y instanceof J.TypeLevelString)return F.text('"'+(Y.value0+'"'));if(Y instanceof J.TypeWildcard)return F.text("_");if(Y instanceof J.TypeConstructor)return ve(!1)(D.TypeLevel.value)(Y.value0);if(Y instanceof J.TypeOp)return ve(!0)(D.TypeLevel.value)(Y.value0);if(Y instanceof J.TypeApp&&Y.value0 instanceof J.TypeApp&&Y.value0.value0 instanceof J.TypeConstructor&&Y.value0.value0.value0.moduleNameParts.length===1&&Y.value0.value0.value0.moduleNameParts[0]==="Prim"&&Y.value0.value0.value0.name==="Function")return N.span_([oe(Y.value0.value1),H(" -> "),oe(Y.value1)]);if(Y instanceof J.TypeApp&&Y.value0 instanceof J.TypeConstructor&&Y.value0.value0.moduleNameParts.length===1&&Y.value0.value0.moduleNameParts[0]==="Prim"&&Y.value0.value0.name==="Record")return le(!1)(Y.value1);if(Y instanceof J.TypeApp)return N.span_([oe(Y.value0),K,oe(Y.value1)]);if(Y instanceof J.ForAll)return fe(Y);if(Y instanceof J.ConstrainedType)return N.span_([pe(Y.value0),F.text(" => "),oe(Y.value1)]);if(Y instanceof J.REmpty||Y instanceof J.RCons)return le(!0)(Y);if(Y instanceof J.BinaryNoParensType)return N.span_([oe(Y.value1),K,oe(Y.value0),K,oe(Y.value2)]);if(Y instanceof J.ParensInType)return N.span_([F.text("("),oe(Y.value0),F.text(")")]);throw new Error("Failed pattern match at Docs.Search.App.SearchResults (line 522, column 14 - line 575, column 6): "+[Y.constructor.name])},le=function(Y){var ee={moduleNameParts:["Prim"],name:"Record"},re=function(){return Y?"( ":"{ "}(),ye=function(){return Y?" )":" }"}();return function(Ce){return function(_e){return N.span_(function(){var Ie=f.null(_e.rows);return Ie?[function(){return Y?F.text("()"):d.fromMaybe(F.text("{}"))(l.mapFlipped(d.functorMaybe)(_e.ty)(function(xe){return N.span_([ve(!1)(D.TypeLevel.value)(ee),F.text(" "),oe(xe)])}))}()]:h.append(h.semigroupArray)([F.text(re)])(h.append(h.semigroupArray)(o.intercalate(s.monoidArray)([F.text(", ")])(o.fromFoldable(v.foldableList)(l.mapFlipped(v.functorList)(_e.rows)(function(xe){return[N.span_([F.text(p.unwrap()(xe.row)+" :: "),oe(xe.ty)])]}))))(h.append(h.semigroupArray)(m.foldMapFlipped(u.foldableMaybe)(s.monoidArray)(_e.ty)(function(xe){return[F.text(" | "),oe(xe)]}))([F.text(ye)])))}())}(J.joinRows(Ce))}},fe=function(Y){var ee=J.joinForAlls(Y);return N.span_(h.append(h.semigroupArray)([ie("forall")])(h.append(h.semigroupArray)(l.mapFlipped(l.functorArray)(o.fromFoldable(v.foldableList)(ee.binders))(function(re){if(re.mbKind instanceof d.Nothing)return F.text(" "+re.name);if(re.mbKind instanceof d.Just)return N.span_([F.text(" ("+(re.name+" ")),H("::"),K,oe(re.mbKind.value0),F.text(")")]);throw new Error("Failed pattern match at Docs.Search.App.SearchResults (line 589, column 5 - line 596, column 33): "+[re.mbKind.constructor.name])}))([H(". "),oe(ee.ty)])))},pe=function(Y){return N.span_(h.append(h.semigroupArray)([ve(!1)(D.TypeLevel.value)(Y.constraintClass),K])(o.intercalate(s.monoidArray)([K])(l.mapFlipped(l.functorArray)(Y.constraintArgs)(function(ee){return[oe(ee)]}))))},De=function(Y){if(Y.mbKind instanceof d.Nothing)return[F.text(Y.name)];if(Y.mbKind instanceof d.Just)return[F.text("("),F.text(Y.name),F.text(" :: "),oe(Y.mbKind.value0),F.text(")")];throw new Error("Failed pattern match at Docs.Search.App.SearchResults (line 506, column 3 - line 515, column 8): "+[Y.mbKind.constructor.name])},Ae=function(Y){return function(ee){return[ie(function(){if(Y.dataDeclType instanceof E.NewtypeDataDecl)return"newtype";if(Y.dataDeclType instanceof E.DataDataDecl)return"data";throw new Error("Failed pattern match at Docs.Search.App.SearchResults (line 470, column 5 - line 472, column 32): "+[Y.dataDeclType.constructor.name])}()),K,F.text(p.unwrap()(ee.name)),K,N.span_(o.intercalate(s.monoidArray)([K])(l.mapFlipped(l.functorArray)(Y.typeArguments)(De)))]}},Te=function(Y){return function(ee){return[F.text(p.unwrap()(ee.name)),F.text(" :: "),oe(Y.type)]}},Le=function(Y){return function(ee){return[N.a([ce(D.ValueLevel.value)(!1)(Y.moduleName)(Y.name),L.onClick(c.const(new Z(Y.moduleName)))])([F.text(p.unwrap()(Y.name))]),F.text(" :: "),oe(ee)]}},Oe=function(Y){return function(ee){return h.append(h.semigroupArray)([ie("class"),function(){var re=o.null(Y.superclasses);return re?F.text(""):N.span_([H(" ("),N.span_(o.intercalate(s.monoidArray)([F.text(", ")])(l.mapFlipped(l.functorArray)(Y.superclasses)(function(ye){return o.singleton(pe(ye))}))),H(")"),K,H("<=")])}(),K,N.a([ce(D.TypeLevel.value)(!1)(ee.moduleName)(ee.name),L.onClick(c.const(new Z(ee.moduleName)))])([F.text(p.unwrap()(ee.name))]),K])(h.append(h.semigroupArray)(o.intercalate(s.monoidArray)([K])(l.mapFlipped(l.functorArray)(Y.arguments)(De)))(y(Y.fundeps)))}},gn=function(Y){return function(ee){return[ie("type"),K,F.text(p.unwrap()(ee.name)),K,N.span_(o.intercalate(s.monoidArray)([K])(l.mapFlipped(l.functorArray)(Y.arguments)(De))),K,H("="),K,oe(Y.type)]}},se=function(Y){var ee=function(re){return[N.pre([R.class_(p.wrap()("result__signature"))])([N.code_(re)])]};return Y.info instanceof O.ValueResult?ee(Le(Y)(Y.info.value0.type)):Y.info instanceof O.TypeClassResult?ee(Oe(Y.info.value0)(Y)):Y.info instanceof O.TypeClassMemberResult?ee(Te(Y.info.value0)(Y)):Y.info instanceof O.DataResult?ee(Ae(Y.info.value0)(Y)):Y.info instanceof O.TypeSynonymResult?ee(gn(Y.info.value0)(Y)):[]},de=function(Y){return function(ee){return[N.div([R.class_(p.wrap()("result"))])([N.h3([R.class_(p.wrap()("result__title"))])([N.a([R.class_(p.wrap()("result__link")),L.onClick(c.const(new Z(ee.moduleName))),R.href(p.unwrap()(ee.moduleName)+(".html#"+(ee.hashAnchor+(":"+p.unwrap()(ee.name)))))])([F.text(p.unwrap()(ee.name))])])]),N.div([R.class_(p.wrap()("result__body"))])(h.append(h.semigroupArray)(se(ee))(m.foldMapFlipped(u.foldableMaybe)(s.monoidArray)(ee.comments)(function(){var re=r.pure(r.applicativeArray),ye=te.render_(Y.markdownIt);return function(Ce){return re(ye(Ce))}}()))),N.div([R.class_(p.wrap()("result__actions"))])([N.span([R.class_(p.wrap()("result__actions__item"))])([N.span([R.classes([p.wrap()("badge"),p.wrap()("badge--package")]),R.title("Package")])([F.text("P")]),F.text(W.packageInfoToString(Y.localPackageName)(ee.packageInfo))]),N.span([R.class_(p.wrap()("result__actions__item"))])([N.span([R.classes([p.wrap()("badge"),p.wrap()("badge--module")]),R.title("Module")])([F.text("M")]),F.text(p.unwrap()(ee.moduleName))])])]}},he=function(Y){return function(ee){if(ee instanceof W.DeclResult||ee instanceof W.TypeResult)return de(Y)(ee.value0);if(ee instanceof W.PackResult)return P(ee.value0);if(ee instanceof W.MdlResult)return ae(ee.value0);throw new Error("Failed pattern match at Docs.Search.App.SearchResults (line 232, column 1 - line 236, column 30): "+[Y.constructor.name,ee.constructor.name])}},we=function(Y){if(Y.mode instanceof S)return N.div_([]);if(Y.mode instanceof k)return $([N.h1_([F.text("Loading...")])]);if(Y.mode instanceof T&&Y.results.length===0)return $([N.h1_([F.text("Search results")]),N.div([R.classes([p.wrap()("result"),p.wrap()("result--empty")])])([F.text("Your search for "),N.strong_([F.text(Y.input)]),F.text(" did not yield any results.")])]);if(Y.mode instanceof T){var ee=o.take(Y.resultsCount)(Y.results);return $([N.h1_([F.text("Search results")]),N.div_(o.concat(l.mapFlipped(l.functorArray)(ee)(he(Y)))),N.div([R.class_(p.wrap()("load_more")),R.id_()("load-more")])([function(){var re=o.length(ee)";if(pe.value0 instanceof E.UnknownPackage)return"";throw new Error("Failed pattern match at Docs.Search.App.Sidebar (line 158, column 13 - line 162, column 44): "+[pe.value0.constructor.name])}())]),z.ul_(f.mapFlipped(f.functorArray)(b.toUnfoldable(C.unfoldableArray)(pe.value1))(oe))])])},fe=s.toUnfoldable(C.unfoldableArray)(ie.packageModules);return z.div([X.classes([g.wrap()("col"),g.wrap()(function(){var pe=u.eq(A)(ie.isIndexHTML)(j.value);return pe?"col--main":"col--aside"}())])])([z.h3_([x.text(function(){var pe=u.eq(K)(ie.groupingMode)(k.value);return pe?"Modules":"Packages"}())]),z.input([X.id_()("group-modules__input"),X.type_(x.isPropInputType)(o.InputCheckbox.value),X.checked(u.eq(K)(ie.groupingMode)(S.value)),G.onChecked(function(pe){return T.create(H(pe))})]),x.text(" "),z.label([X.for("group-modules__input"),X.id_()("group-modules__label")])([x.text(" GROUP BY PACKAGE")]),z.ul_(function(){var pe=u.eq(K)(ie.groupingMode)(S.value);return pe?f.map(f.functorArray)(le)(fe):f.map(f.functorArray)(oe)(ie.moduleNames)}())])},P=function(ie){return function(oe){if(oe instanceof p.Just)return p.fromMaybe(E.UnknownPackage.value)(s.lookup(E.ordModuleName)(oe.value0)(ie.modulePackages));if(oe instanceof p.Nothing)return E.UnknownPackage.value;throw new Error("Failed pattern match at Docs.Search.App.Sidebar (line 204, column 1 - line 204, column 68): "+[ie.constructor.name,oe.constructor.name])}},ae=function(){var oe=q.window(),le=f.map(W.functorEffect)(f.map(f.functorFn)(F.toParentNode)(te.toDocument))(ue.document(oe))(),fe=R.querySelector(g.wrap()(".page-title__title"))(le)();return f.map(W.functorEffect)(f.map(p.functorMaybe)(E.ModuleName))(M.traverse(M.traversableMaybe)(W.applicativeEffect)(function(pe){return L.textContent(N.toNode(pe))})(fe))()},y=v.prop(new w.IsSymbol(function(){return"groupingMode"}))()()(w.SProxy.value)(_.strongFn),$=function(ie){return a.discard(a.discardUnit)(Q.bindHalogenM)(t.modify_(Q.monadStateHalogenM)(d.set(y)(ie.value0)))(function(){return O.liftEffect(Q.monadEffectHalogenM(m.monadEffectAff))(function(){var le=q.window(),fe=ue.localStorage(le)(),pe=u.eq(K)(ie.value0)(k.value);return pe?ne.setItem(D.groupModulesItem)("false")(fe)():ne.removeItem(D.groupModulesItem)(fe)()})})},ce=function(ie){return a.bind(Q.bindHalogenM)(f.mapFlipped(Q.functorHalogenM)(t.get(Q.monadStateHalogenM))(function(oe){return oe.groupingMode}))(function(oe){return a.bind(Q.bindHalogenM)(O.liftEffect(Q.monadEffectHalogenM(m.monadEffectAff))(Z))(function(le){return a.discard(a.discardUnit)(Q.bindHalogenM)(r.when(Q.applicativeHalogenM)(u.notEq(K)(oe)(le))(t.modify_(Q.monadStateHalogenM)(d.set(y)(le))))(function(){return r.pure(Q.applicativeHalogenM)(p.Nothing.value)})})})},ve=function(ie){return function(oe){return function(le){var fe=i.sort(E.ordModuleName)(i.fromFoldable(b.foldableSet)(c.foldr(s.foldableMap)(b.union(E.ordModuleName))(h.mempty(b.monoidSet(E.ordModuleName)))(ie.packageModules)));return a.bind(m.bindAff)(O.liftEffect(m.monadEffectAff)(Z))(function(pe){return a.bind(m.bindAff)(O.liftEffect(m.monadEffectAff)(ae))(function(De){var Ae=P(ie)(De);return r.pure(m.applicativeAff)(J.mkComponent({initialState:l.const({packageModules:ie.packageModules,groupingMode:pe,moduleNames:fe,isIndexHTML:oe,localPackageName:le.localPackageName,currentPackage:Ae}),render:U,eval:J.mkEval({handleAction:$,handleQuery:ce,receive:J.defaultEval.receive,initialize:J.defaultEval.initialize,finalize:J.defaultEval.finalize})}))})})}}};n.UpdateModuleGrouping=B,n.IsIndexHTML=j,n.NotIndexHTML=V,n.mkComponent=ve})(I);(function(e){"use strict";e["Docs.Search.Meta"]=e["Docs.Search.Meta"]||{};var n=e["Docs.Search.Meta"],r=e["Control.Applicative"],a=e["Control.Monad.Error.Class"],t=e["Data.Argonaut.Decode.Class"],o=e["Data.Function"],i=e["Data.Symbol"],u=e["Docs.Search.Config"],c=e["Docs.Search.Loader"],l=e["Docs.Search.Types"],f=e["Effect.Aff"],v=function(){var d={localPackageName:u.defaultPackageName};return a.catchError(f.monadErrorAff)(c.load(t.decodeRecord(t.gDecodeJsonCons(t.decodeFieldId(l.decodeJsonPackageName))(t.gDecodeJsonNil)(new i.IsSymbol(function(){return"localPackageName"}))()())())(u.metaItem)(u.metaLoadPath))(o.const(r.pure(f.applicativeAff)(d)))}();n.load=v})(I);(function(e){"use strict";e["Halogen.Aff.Util"]=e["Halogen.Aff.Util"]||{};var n=e["Halogen.Aff.Util"],r=e["Control.Applicative"],a=e["Data.Either"],t=e["Data.Function"],o=e["Data.Unit"],i=e.Effect,u=e["Effect.Aff"],c=e["Effect.Exception"],l=u.runAff_(a.either(c.throwException)(t.const(r.pure(i.applicativeEffect)(o.unit))));n.runHalogenAff=l})(I);(function(e){"use strict";e.warn=function(n){return function(){console.warn(n)}}})(I["Effect.Console"]=I["Effect.Console"]||{});(function(e){"use strict";e["Effect.Console"]=e["Effect.Console"]||{};var n=e["Effect.Console"],r=e["Effect.Console"];n.warn=r.warn})(I);(function(e){"use strict";e["Halogen.Data.Slot"]=e["Halogen.Data.Slot"]||{};var n=e["Halogen.Data.Slot"],r=e["Data.Foldable"],a=e["Data.Map.Internal"],t=function(i){return function(u){return function(c){return r.traverse_(i)(a.foldableMap)(function(l){return c(l)})(u)}}},o=a.empty;n.empty=o,n.foreachSlot=t})(I);(function(e){"use strict";e["Halogen.Aff.Driver.State"]=e["Halogen.Aff.Driver.State"]||{};var n=e["Halogen.Aff.Driver.State"],r=e["Data.Foldable"],a=e["Data.List.Types"],t=e["Data.Map.Internal"],o=e["Data.Maybe"],i=e["Effect.Ref"],u=e["Halogen.Data.Slot"],c=e["Unsafe.Coerce"],l=c.unsafeCoerce,f=c.unsafeCoerce,v=function(_){return function(b){return f(function(w){return r.traverse_(_)(r.foldableMaybe)(b)(w.rendering)})}},d=c.unsafeCoerce,s=function(_){return function(b){return f(function(w){return d(b(w.rendering))})}},p=c.unsafeCoerce,h=function(_){return function(b){return _(b)}},g=function(_){return function(b){return function(w){return function(M){return function(){var D=i.new({})(),E=i.new(u.empty)(),W=i.new(u.empty)(),m=i.new(w)(),O=i.new(new o.Just(a.Nil.value))(),J=i.new(new o.Just(a.Nil.value))(),x=i.new(o.Nothing.value)(),z=i.new(1)(),G=i.new(new o.Just(t.empty))(),X=i.new(t.empty)(),Q={component:_,state:_.initialState(b),refs:t.empty,children:u.empty,childrenIn:E,childrenOut:W,selfRef:D,handlerRef:m,pendingQueries:O,pendingOuts:J,pendingHandlers:x,rendering:o.Nothing.value,fresh:z,subscriptions:G,forks:X,lifecycleHandlers:M};return i.write(Q)(D)(),p(D)}}}}};n.mapDriverState=h,n.unDriverStateX=f,n.renderStateX=s,n.renderStateX_=v,n.unRenderStateX=l,n.initDriverState=g})(I);(function(e){"use strict";e["Halogen.Query.ChildQuery"]=e["Halogen.Query.ChildQuery"]||{};var n=e["Halogen.Query.ChildQuery"],r=e["Unsafe.Coerce"],a=r.unsafeCoerce;n.unChildQueryBox=a})(I);(function(e){"use strict";e["Halogen.Aff.Driver.Eval"]=e["Halogen.Aff.Driver.Eval"]||{};var n=e["Halogen.Aff.Driver.Eval"],r=e["Control.Applicative"],a=e["Control.Applicative.Free"],t=e["Control.Bind"],o=e["Control.Monad"],i=e["Control.Monad.Fork.Class"],u=e["Control.Monad.Free"],c=e["Control.Parallel"],l=e["Control.Parallel.Class"],f=e["Data.Boolean"],v=e["Data.Coyoneda"],d=e["Data.Either"],s=e["Data.Foldable"],p=e["Data.Function"],h=e["Data.Functor"],g=e["Data.List.Types"],_=e["Data.Map.Internal"],b=e["Data.Maybe"],w=e["Data.Ord"],M=e["Data.Unit"],C=e.Effect,D=e["Effect.Aff"],E=e["Effect.Class"],W=e["Effect.Exception"],m=e["Effect.Ref"],O=e["Halogen.Aff.Driver.State"],J=e["Halogen.Query.ChildQuery"],x=e["Halogen.Query.HalogenM"],z=e["Halogen.Query.HalogenQ"],G=e["Halogen.Query.Input"],X=e["Halogen.Subscription"],Q=e["Unsafe.Reference"],F=function(B){return function(j){return function(){var S=m.read(j)(),k=m.read(S.subscriptions)();return s.traverse_(C.applicativeEffect)(s.foldableMaybe)(X.unsubscribe)(t.bindFlipped(b.bindMaybe)(_.lookup(x.ordSubscriptionId)(B))(k))()}}},N=function(B){return function(j){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(B)))(function(V){if(V instanceof b.Nothing)return j;if(V instanceof b.Just)return E.liftEffect(D.monadEffectAff)(m.write(new b.Just(new g.Cons(j,V.value0)))(B));throw new Error("Failed pattern match at Halogen.Aff.Driver.Eval (line 182, column 33 - line 184, column 57): "+[V.constructor.name])})}},L=function(B){return function(j){return t.discard(t.discardUnit)(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.write({initializers:g.Nil.value,finalizers:g.Nil.value})(B)))(function(){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(j))(function(V){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(B)))(function(S){return t.discard(t.discardUnit)(D.bindAff)(s.traverse_(D.applicativeAff)(g.foldableList)(i.fork(i.monadForkAff))(S.finalizers))(function(){return t.discard(t.discardUnit)(D.bindAff)(c.parSequence_(D.parallelAff)(g.foldableList)(S.initializers))(function(){return r.pure(D.applicativeAff)(V)})})})})})}},R=D.runAff_(d.either(W.throwException)(p.const(r.pure(C.applicativeEffect)(M.unit)))),q=function(B){return function(j){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(j)))(function(V){return E.liftEffect(D.monadEffectAff)(m["modify'"](function(S){return{state:S+1|0,value:B(S)}})(V.fresh))})}},te=function(B){return function(j){return function(V){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(j)))(function(S){return ue(B)(j)(S.component.eval(new z.Query(h.map(v.functorCoyoneda)(b.Just.create)(v.liftCoyoneda(V)),p.const(b.Nothing.value))))})}}},ue=function(B){return function(j){return function(V){var S=function(T){return function(Z){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(T)))(function(A){return J.unChildQueryBox(function(H){var K=function(U){return l.parallel(D.parallelAff)(t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(U)))(function(P){return O.unDriverStateX(function(ae){return te(B)(ae.selfRef)(H.value1)})(P)}))};return h.map(D.functorAff)(H.value2)(l.sequential(D.parallelAff)(H.value0(D.applicativeParAff)(K)(A.children)))})(Z)})}},k=function(T){return function(Z){if(Z instanceof x.State)return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(T)))(function(A){var H=Z.value0(A.state);if(Q.unsafeRefEq(A.state)(H.value1))return r.pure(D.applicativeAff)(H.value0);if(f.otherwise)return t.discard(t.discardUnit)(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.write({component:A.component,state:H.value1,refs:A.refs,children:A.children,childrenIn:A.childrenIn,childrenOut:A.childrenOut,selfRef:A.selfRef,handlerRef:A.handlerRef,pendingQueries:A.pendingQueries,pendingOuts:A.pendingOuts,pendingHandlers:A.pendingHandlers,rendering:A.rendering,fresh:A.fresh,subscriptions:A.subscriptions,forks:A.forks,lifecycleHandlers:A.lifecycleHandlers})(T)))(function(){return t.discard(t.discardUnit)(D.bindAff)(L(A.lifecycleHandlers)(B(A.lifecycleHandlers)(T)))(function(){return r.pure(D.applicativeAff)(H.value0)})});throw new Error("Failed pattern match at Halogen.Aff.Driver.Eval (line 86, column 7 - line 92, column 21): "+[H.constructor.name])});if(Z instanceof x.Subscribe)return t.bind(D.bindAff)(q(x.SubscriptionId)(T))(function(A){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(X.subscribe(Z.value0(A))(function(H){return R(ne(B)(T)(new G.Action(H)))})))(function(H){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(T)))(function(K){return t.discard(t.discardUnit)(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.modify_(h.map(b.functorMaybe)(_.insert(x.ordSubscriptionId)(A)(H)))(K.subscriptions)))(function(){return r.pure(D.applicativeAff)(Z.value1(A))})})})});if(Z instanceof x.Unsubscribe)return t.discard(t.discardUnit)(D.bindAff)(E.liftEffect(D.monadEffectAff)(F(Z.value0)(T)))(function(){return r.pure(D.applicativeAff)(Z.value1)});if(Z instanceof x.Lift)return Z.value0;if(Z instanceof x.ChildQuery)return S(T)(Z.value0);if(Z instanceof x.Raise)return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(T)))(function(A){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(A.handlerRef)))(function(H){return t.discard(t.discardUnit)(D.bindAff)(N(A.pendingOuts)(H(Z.value0)))(function(){return r.pure(D.applicativeAff)(Z.value1)})})});if(Z instanceof x.Par)return l.sequential(D.parallelAff)(a.retractFreeAp(D.applicativeParAff)(a.hoistFreeAp(function(){var A=l.parallel(D.parallelAff),H=ue(B)(T);return function(K){return A(H(K))}}())(Z.value0)));if(Z instanceof x.Fork)return t.bind(D.bindAff)(q(x.ForkId)(T))(function(A){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(T)))(function(H){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.new(!1)))(function(K){return t.bind(D.bindAff)(i.fork(i.monadForkAff)(D.finally(E.liftEffect(D.monadEffectAff)(function(){return m.modify_(_.delete(x.ordForkId)(A))(H.forks)(),m.write(!0)(K)()}))(ue(B)(T)(Z.value0))))(function(U){return t.discard(t.discardUnit)(D.bindAff)(E.liftEffect(D.monadEffectAff)(o.unlessM(C.monadEffect)(m.read(K))(m.modify_(_.insert(x.ordForkId)(A)(U))(H.forks))))(function(){return r.pure(D.applicativeAff)(Z.value1(A))})})})})});if(Z instanceof x.Kill)return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(T)))(function(A){return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(A.forks)))(function(H){return t.discard(t.discardUnit)(D.bindAff)(s.traverse_(D.applicativeAff)(s.foldableMaybe)(D.killFiber(W.error("Cancelled")))(_.lookup(x.ordForkId)(Z.value0)(H)))(function(){return r.pure(D.applicativeAff)(Z.value1)})})});if(Z instanceof x.GetRef)return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(T)))(function(A){return r.pure(D.applicativeAff)(Z.value1(_.lookup(w.ordString)(Z.value0)(A.refs)))});throw new Error("Failed pattern match at Halogen.Aff.Driver.Eval (line 83, column 12 - line 133, column 33): "+[Z.constructor.name])}};return u.foldFree(D.monadRecAff)(k(j))(V)}}},ne=function(B){return function(j){return function(V){if(V instanceof G.RefUpdate)return E.liftEffect(D.monadEffectAff)(p.flip(m.modify_)(j)(O.mapDriverState(function(S){return{component:S.component,state:S.state,refs:_.alter(w.ordString)(p.const(V.value1))(V.value0)(S.refs),children:S.children,childrenIn:S.childrenIn,childrenOut:S.childrenOut,selfRef:S.selfRef,handlerRef:S.handlerRef,pendingQueries:S.pendingQueries,pendingOuts:S.pendingOuts,pendingHandlers:S.pendingHandlers,rendering:S.rendering,fresh:S.fresh,subscriptions:S.subscriptions,forks:S.forks,lifecycleHandlers:S.lifecycleHandlers}})));if(V instanceof G.Action)return t.bind(D.bindAff)(E.liftEffect(D.monadEffectAff)(m.read(j)))(function(S){return ue(B)(j)(S.component.eval(new z.Action(V.value0,M.unit)))});throw new Error("Failed pattern match at Halogen.Aff.Driver.Eval (line 52, column 20 - line 58, column 62): "+[V.constructor.name])}}};n.evalF=ne,n.evalQ=te,n.evalM=ue,n.handleLifecycle=L,n.queueOrRun=N,n.handleAff=R})(I);(function(e){"use strict";e["Halogen.Aff.Driver"]=e["Halogen.Aff.Driver"]||{};var n=e["Halogen.Aff.Driver"],r=e["Control.Applicative"],a=e["Control.Bind"],t=e["Control.Category"],o=e["Control.Monad.Fork.Class"],i=e["Control.Monad.Rec.Class"],u=e["Control.Parallel"],c=e["Data.Foldable"],l=e["Data.Function"],f=e["Data.Functor"],v=e["Data.List"],d=e["Data.List.Types"],s=e["Data.Map.Internal"],p=e["Data.Maybe"],h=e["Data.Unit"],g=e.Effect,_=e["Effect.Aff"],b=e["Effect.Class"],w=e["Effect.Console"],M=e["Effect.Exception"],C=e["Effect.Ref"],D=e["Halogen.Aff.Driver.Eval"],E=e["Halogen.Aff.Driver.State"],W=e["Halogen.Component"],m=e["Halogen.Data.Slot"],O=e["Halogen.Query.HalogenQ"],J=e["Halogen.Query.Input"],x=e["Halogen.Subscription"],z=C.new({initializers:d.Nil.value,finalizers:d.Nil.value}),G=function(F){return function(){var L=C.read(F)();return C.write(p.Nothing.value)(F)(),c.for_(g.applicativeEffect)(c.foldableMaybe)(L)(function(){var R=c.traverse_(_.applicativeAff)(d.foldableList)(o.fork(o.monadForkAff));return function(q){return D.handleAff(R(v.reverse(q)))}}())()}},X=function(F){return function(){return a.bindFlipped(g.bindEffect)(c.traverse_(g.applicativeEffect)(c.foldableMaybe)(c.traverse_(g.applicativeEffect)(s.foldableMap)(x.unsubscribe)))(C.read(F.subscriptions))(),C.write(p.Nothing.value)(F.subscriptions)(),a.bindFlipped(g.bindEffect)(c.traverse_(g.applicativeEffect)(s.foldableMap)(function(){var L=_.killFiber(M.error("finalized"));return function(R){return D.handleAff(L(R))}}()))(C.read(F.forks))(),C.write(s.empty)(F.forks)()}},Q=function(F){return function(N){return function(L){var R=function(V){return function(S){return E.unDriverStateX(function(k){var T=D.evalM(ue)(k.selfRef)(k.component.eval(new O.Initialize(h.unit)));return C.modify_(function(Z){return{initializers:new d.Cons(a.discard(a.discardUnit)(_.bindAff)(u.parSequence_(_.parallelAff)(d.foldableList)(v.reverse(Z.initializers)))(function(){return a.discard(a.discardUnit)(_.bindAff)(T)(function(){return b.liftEffect(_.monadEffectAff)(function(){return G(k.pendingQueries)(),G(k.pendingOuts)()})})}),S),finalizers:Z.finalizers}})(V)})}},q=function(V){return function(S){return function(k){return W.unComponent(function(T){return function(){var A=z(),H=E.initDriverState(T)(k)(S)(A)(),K=C.read(V)();return C.write({initializers:d.Nil.value,finalizers:K.finalizers})(V)(),a.bindFlipped(g.bindEffect)(E.unDriverStateX(function(){var U=ue(V);return function(P){return U(function(ae){return ae.selfRef}(P))}}()))(C.read(H))(),a.bindFlipped(g.bindEffect)(R(V)(K.initializers))(C.read(H))(),H}})}}},te=function(V){return function(S){return function(k){return function(T){return W.unComponentSlot(function(Z){return function(){var H=f.map(g.functorEffect)(Z.pop)(C.read(k))(),K=function(){if(H instanceof p.Just){C.write(H.value0.value1)(k)();var P=C.read(H.value0.value0)();return E.unDriverStateX(function(ae){return function(){return l.flip(C.write)(ae.handlerRef)(function(){var $=p.maybe(r.pure(_.applicativeAff)(h.unit))(S);return function(ce){return $(Z.output(ce))}}())(),D.handleAff(D.evalM(ue)(ae.selfRef)(ae.component.eval(new O.Receive(Z.input,h.unit))))()}})(P)(),H.value0.value0}if(H instanceof p.Nothing)return q(V)(function(){var ae=p.maybe(r.pure(_.applicativeAff)(h.unit))(S);return function(y){return ae(Z.output(y))}}())(Z.input)(Z.component)();throw new Error("Failed pattern match at Halogen.Aff.Driver (line 211, column 14 - line 220, column 98): "+[H.constructor.name])}(),U=f.map(g.functorEffect)(function(P){return p.isJust(Z.get(P))})(C.read(T))();return r.when(g.applicativeEffect)(U)(w.warn("Halogen: Duplicate slot address was detected during rendering, unexpected results may occur"))(),C.modify_(Z.set(K))(T)(),a.bind(g.bindEffect)(C.read(K))(E.renderStateX(g.functorEffect)(function(P){if(P instanceof p.Nothing)return M.throw("Halogen internal error: child was not initialized in renderChild");if(P instanceof p.Just)return r.pure(g.applicativeEffect)(F.renderChild(P.value0));throw new Error("Failed pattern match at Halogen.Aff.Driver (line 225, column 37 - line 227, column 50): "+[P.constructor.name])}))()}})}}}},ue=function(V){return function(S){return function(){var T=C.read(S)(),Z=f.map(g.functorEffect)(p.isNothing)(C.read(T.pendingHandlers))();r.when(g.applicativeEffect)(Z)(C.write(new p.Just(d.Nil.value))(T.pendingHandlers))(),C.write(m.empty)(T.childrenOut)(),C.write(T.children)(T.childrenIn)();var A=t.identity(t.categoryFn)(T.selfRef),H=t.identity(t.categoryFn)(T.pendingQueries),K=t.identity(t.categoryFn)(T.pendingHandlers),U=function(){var ce=D.queueOrRun(K),ve=f.void(_.functorAff),ie=D.evalF(ue)(A);return function(oe){return ce(ve(ie(oe)))}}(),P=function(){var ce=D.queueOrRun(H);return function(ve){return ce(U(J.Action.create(ve)))}}(),ae=F.render(function(ce){return D.handleAff(U(ce))})(te(V)(P)(T.childrenIn)(T.childrenOut))(T.component.render(T.state))(T.rendering)(),y=C.read(T.childrenOut)(),$=C.read(T.childrenIn)();return m.foreachSlot(g.applicativeEffect)($)(function(ce){return function(){var ie=C.read(ce)();return E.renderStateX_(g.applicativeEffect)(F.removeChild)(ie)(),ne(V)(ie)()}})(),l.flip(C.modify_)(T.selfRef)(E.mapDriverState(function(ce){return{component:ce.component,state:ce.state,refs:ce.refs,children:y,childrenIn:ce.childrenIn,childrenOut:ce.childrenOut,selfRef:ce.selfRef,handlerRef:ce.handlerRef,pendingQueries:ce.pendingQueries,pendingOuts:ce.pendingOuts,pendingHandlers:ce.pendingHandlers,rendering:new p.Just(ae),fresh:ce.fresh,subscriptions:ce.subscriptions,forks:ce.forks,lifecycleHandlers:ce.lifecycleHandlers}}))(),r.when(g.applicativeEffect)(Z)(l.flip(i.tailRecM(i.monadRecEffect))(h.unit)(function(ce){return function(){var ie=C.read(K)();C.write(new p.Just(d.Nil.value))(K)(),c.traverse_(g.applicativeEffect)(c.foldableMaybe)(function(){var fe=c.traverse_(_.applicativeAff)(d.foldableList)(o.fork(o.monadForkAff));return function(pe){return D.handleAff(fe(v.reverse(pe)))}}())(ie)();var oe=C.read(K)(),le=p.maybe(!1)(v.null)(oe);return le?f.voidLeft(g.functorEffect)(C.write(p.Nothing.value)(K))(new i.Done(h.unit))():new i.Loop(h.unit)}}))()}}},ne=function(V){return E.unDriverStateX(function(S){return function(){X(S)();var T=D.evalM(ue)(S.selfRef)(S.component.eval(new O.Finalize(h.unit)));return C.modify_(function(Z){return{initializers:Z.initializers,finalizers:new d.Cons(T,Z.finalizers)}})(V)(),m.foreachSlot(g.applicativeEffect)(S.children)(function(Z){return function(){var H=C.read(Z)();return ne(V)(H)()}})()}})},B=function(V){return function(S){return function(k){return a.bind(_.bindAff)(b.liftEffect(_.monadEffectAff)(C.read(V)))(function(T){return T?r.pure(_.applicativeAff)(p.Nothing.value):D.evalQ(ue)(S)(k)})}}},j=function(V){return function(S){return function(k){return D.handleLifecycle(S)(function(){var Z=C.read(V)();return Z?h.unit:(C.write(!0)(V)(),ne(S)(k)(),E.unDriverStateX(function(A){return function(){var K=b.liftEffect(b.monadEffectEffect)(C.read(A.selfRef))();return c.for_(g.applicativeEffect)(c.foldableMaybe)(K.rendering)(F.dispose)()}})(k)())})}}};return a.bind(_.bindAff)(b.liftEffect(_.monadEffectAff)(z))(function(V){return a.bind(_.bindAff)(b.liftEffect(_.monadEffectAff)(C.new(0)))(function(S){return a.bind(_.bindAff)(b.liftEffect(_.monadEffectAff)(C.new(!1)))(function(k){return D.handleLifecycle(V)(function(){var Z=x.create(),A=a.bindFlipped(g.bindEffect)(C.read)(q(V)(function(){var H=b.liftEffect(_.monadEffectAff),K=x.notify(Z.listener);return function(U){return H(K(U))}}())(L)(N))();return E.unDriverStateX(function(H){return r.pure(g.applicativeEffect)({query:B(k)(H.selfRef),messages:Z.emitter,dispose:j(k)(V)(A)})})(A)()})})})})}}};n.runUI=Q})(I);(function(e){"use strict";e["Halogen.VDom.DOM"]=e["Halogen.VDom.DOM"]||{};var n=e["Halogen.VDom.DOM"],r=e["Data.Array"],a=e["Data.Boolean"],t=e["Data.Maybe"],o=e["Data.Nullable"],i=e["Data.Tuple"],u=e["Halogen.VDom.Machine"],c=e["Halogen.VDom.Types"],l=e["Halogen.VDom.Util"],f=e["Web.DOM.Element"],v=function(m){return u.halt(m.widget)},d=function(m,O){if(O instanceof c.Grafted)return d(m,c.runGraft(O.value0));if(O instanceof c.Widget){var J=u.step(m.widget,O.value0),x=u.unStep(function(z){return u.mkStep(new u.Step(z.value0,{build:m.build,widget:J},d,v))})(J);return x}return v(m),m.build(O)},s=function(m){var O=l.parentNode(m.node);return l.removeChild(m.node,O)},p=function(m,O){if(O instanceof c.Grafted)return p(m,c.runGraft(O.value0));if(O instanceof c.Text){if(m.value===O.value0)return u.mkStep(new u.Step(m.node,m,p,s));if(a.otherwise){var J={build:m.build,node:m.node,value:O.value0};return l.setTextContent(O.value0,m.node),u.mkStep(new u.Step(m.node,J,p,s))}}return s(m),m.build(O)},h=function(m){var O=l.parentNode(m.node);return l.removeChild(m.node,O),l.forInE(m.children,function(J,x){return u.halt(x)}),u.halt(m.attrs)},g=function(m){var O=l.parentNode(m.node);return l.removeChild(m.node,O),l.forEachE(m.children,u.halt),u.halt(m.attrs)},_=function(m,O,J,x){var z=O===x;return z?m instanceof t.Just&&J instanceof t.Just&&m.value0===J.value0||m instanceof t.Nothing&&J instanceof t.Nothing:!1},b=function(m,O){if(O instanceof c.Grafted)return b(m,c.runGraft(O.value0));if(O instanceof c.Elem&&_(m.ns,m.name,O.value0,O.value1)){var J=r.length(O.value3),x=r.length(m.children);if(x===0&&J===0){var F=u.step(m.attrs,O.value2),N={build:m.build,node:m.node,attrs:F,ns:O.value0,name:O.value1,children:m.children};return u.mkStep(new u.Step(m.node,N,b,g))}var z=function(L,R){return u.halt(R)},G=function(L,R,q){var te=u.step(R,q);return l.insertChildIx(L,u.extract(te),m.node),te},X=function(L,R){var q=m.build(R);return l.insertChildIx(L,u.extract(q),m.node),q},Q=l.diffWithIxE(m.children,O.value3,G,z,X),F=u.step(m.attrs,O.value2),N={build:m.build,node:m.node,attrs:F,ns:O.value0,name:O.value1,children:Q};return u.mkStep(new u.Step(m.node,N,b,g))}return g(m),m.build(O)},w=function(m,O){if(O instanceof c.Grafted)return w(m,c.runGraft(O.value0));if(O instanceof c.Keyed&&_(m.ns,m.name,O.value0,O.value1)){var J=r.length(O.value3);if(m.length===0&&J===0){var Q=u.step(m.attrs,O.value2),F={build:m.build,node:m.node,attrs:Q,ns:O.value0,name:O.value1,children:m.children,length:0};return u.mkStep(new u.Step(m.node,F,w,h))}var x=function(N,L){return u.halt(L)},z=function(N,L,R,q){var te=u.step(R,q.value1);return l.insertChildIx(L,u.extract(te),m.node),te},G=function(N,L,R){var q=m.build(R.value1);return l.insertChildIx(L,u.extract(q),m.node),q},X=l.diffWithKeyAndIxE(m.children,O.value3,i.fst,z,x,G),Q=u.step(m.attrs,O.value2),F={build:m.build,node:m.node,attrs:Q,ns:O.value0,name:O.value1,children:X,length:J};return u.mkStep(new u.Step(m.node,F,w,h))}return h(m),m.build(O)},M=function(m,O,J){var x=m.buildWidget(m)(J),z=u.unStep(function(G){return u.mkStep(new u.Step(G.value0,{build:O,widget:x},d,v))})(x);return z},C=function(m,O,J){var x=l.createTextNode(J,m.document),z={build:O,node:x,value:J};return u.mkStep(new u.Step(x,z,p,s))},D=function(m,O,J,x,z,G){var X=l.createElement(o.toNullable(J),x,m.document),Q=f.toNode(X),F=function(q,te,ue){var ne=O(ue.value1);return l.insertChildIx(te,u.extract(ne),Q),ne},N=l.strMapWithIxE(G,i.fst,F),L=m.buildAttributes(X)(z),R={build:O,node:Q,attrs:L,ns:J,name:x,children:N,length:r.length(G)};return u.mkStep(new u.Step(Q,R,w,h))},E=function(m,O,J,x,z,G){var X=l.createElement(o.toNullable(J),x,m.document),Q=f.toNode(X),F=function(q,te){var ue=O(te);return l.insertChildIx(q,u.extract(ue),Q),ue},N=l.forE(G,F),L=m.buildAttributes(X)(z),R={build:O,node:Q,attrs:L,ns:J,name:x,children:N};return u.mkStep(new u.Step(Q,R,b,g))},W=function(m){var O=function(J){if(J instanceof c.Text)return C(m,O,J.value0);if(J instanceof c.Elem)return E(m,O,J.value0,J.value1,J.value2,J.value3);if(J instanceof c.Keyed)return D(m,O,J.value0,J.value1,J.value2,J.value3);if(J instanceof c.Widget)return M(m,O,J.value0);if(J instanceof c.Grafted)return O(c.runGraft(J.value0));throw new Error("Failed pattern match at Halogen.VDom.DOM (line 58, column 27 - line 63, column 52): "+[J.constructor.name])};return O};n.buildVDom=W})(I);(function(e){"use strict";e["Halogen.VDom.Thunk"]=e["Halogen.VDom.Thunk"]||{};var n=e["Halogen.VDom.Thunk"],r=e["Halogen.VDom.DOM"],a=e["Halogen.VDom.Machine"],t=e["Halogen.VDom.Util"],o=function(){function f(v,d,s,p){this.value0=v,this.value1=d,this.value2=s,this.value3=p}return f.create=function(v){return function(d){return function(s){return function(p){return new f(v,d,s,p)}}}},f}(),i=function(f,v){return t.refEq(f.value0,v.value0)&&t.refEq(f.value1,v.value1)&&f.value1(f.value3,v.value3)},u=function(f,v,d,s){return new o(f,v,d,s)},c=function(f){return f.value2(f.value3)},l=function(f){var v=function(p){return a.halt(p.vdom)},d=function(p,h){var g=i(p.thunk,h);if(g)return a.mkStep(new a.Step(a.extract(p.vdom),p,d,v));var _=a.step(p.vdom,f(c(h)));return a.mkStep(new a.Step(a.extract(_),{vdom:_,thunk:h},d,v))},s=function(p){return function(h){var g=r.buildVDom(p)(f(c(h)));return a.mkStep(new a.Step(a.extract(g),{thunk:h,vdom:g},d,v))}};return s};n.buildThunk=l})(I);(function(e){"use strict";e["Halogen.VDom.Driver"]=e["Halogen.VDom.Driver"]||{};var n=e["Halogen.VDom.Driver"],r=e["Control.Applicative"],a=e["Control.Bind"],t=e["Control.Category"],o=e["Data.Foldable"],i=e["Data.Functor"],u=e["Data.HeytingAlgebra"],c=e["Data.Maybe"],l=e["Data.Newtype"],f=e["Data.Unit"],v=e.Effect,d=e["Effect.Aff"],s=e["Effect.Class"],p=e["Effect.Ref"],h=e["Halogen.Aff.Driver"],g=e["Halogen.Aff.Driver.State"],_=e["Halogen.Component"],b=e["Halogen.VDom.DOM"],w=e["Halogen.VDom.DOM.Prop"],M=e["Halogen.VDom.Machine"],C=e["Halogen.VDom.Thunk"],D=e["Unsafe.Reference"],E=e["Web.DOM.Node"],W=e["Web.HTML"],m=e["Web.HTML.HTMLDocument"],O=e["Web.HTML.HTMLElement"],J=e["Web.HTML.Window"],x=function(F){return function(N){return function(L){return N instanceof c.Just&&L instanceof c.Just?i.void(v.functorEffect)(E.insertBefore(F)(N.value0)(L.value0)):N instanceof c.Nothing&&L instanceof c.Just?i.void(v.functorEffect)(E.appendChild(F)(L.value0)):r.pure(v.applicativeEffect)(f.unit)}}},z=function(F){return function(){var L=E.parentNode(F.node)();return o.traverse_(v.applicativeEffect)(o.foldableMaybe)(function(R){return E.removeChild(F.node)(R)})(L)()}},G=function(F){return function(N){return function(L){var R=g.unRenderStateX(function(ne){return ne.node}),q=function(ne){return ne instanceof c.Just?M.halt(ne.value0):f.unit},te=function(ne){var B=C.buildThunk(l.unwrap())(ne),j=function(k){var T=p.read(N)(),Z=T(k)(),A=R(Z);return M.mkStep(new M.Step(A,c.Nothing.value,S,q))},V=function(k){if(k instanceof _.ComponentSlot)return j(k.value0);if(k instanceof _.ThunkSlot){var T=B(k.value0);return M.mkStep(new M.Step(M.extract(T),new c.Just(T),S,q))}throw new Error("Failed pattern match at Halogen.VDom.Driver (line 85, column 7 - line 90, column 75): "+[k.constructor.name])},S=function(k,T){if(k instanceof c.Just){if(T instanceof _.ComponentSlot)return M.halt(k.value0),j(T.value0);if(T instanceof _.ThunkSlot){var Z=M.step(k.value0,T.value0);return M.mkStep(new M.Step(M.extract(Z),new c.Just(Z),S,q))}throw new Error("Failed pattern match at Halogen.VDom.Driver (line 98, column 22 - line 104, column 79): "+[T.constructor.name])}return V(T)};return V},ue=w.buildProp(F);return{buildWidget:te,buildAttributes:ue,document:L}}}},X=function(F){return function(N){var L=function(R){return function(q){return function(te){return function(ue){if(ue instanceof c.Nothing)return function(){var B=p.new(q)(),j=G(R)(B)(F),V=b.buildVDom(j)(te),S=M.extract(V);return i.void(v.functorEffect)(E.appendChild(S)(O.toNode(N)))(),{machine:V,node:S,renderChildRef:B}};if(ue instanceof c.Just)return function(){p.write(q)(ue.value0.renderChildRef)();var B=E.parentNode(ue.value0.node)(),j=E.nextSibling(ue.value0.node)(),V=M.step(ue.value0.machine,te),S=M.extract(V);return r.when(v.applicativeEffect)(u.not(u.heytingAlgebraFunction(u.heytingAlgebraFunction(u.heytingAlgebraBoolean)))(D.unsafeRefEq)(ue.value0.node)(S))(x(S)(j)(B))(),{machine:V,node:S,renderChildRef:ue.value0.renderChildRef}};throw new Error("Failed pattern match at Halogen.VDom.Driver (line 159, column 5 - line 175, column 80): "+[ue.constructor.name])}}}};return{render:L,renderChild:t.identity(t.categoryFn),removeChild:z,dispose:z}}},Q=function(F){return function(N){return function(L){return a.bind(d.bindAff)(s.liftEffect(d.monadEffectAff)(i.map(v.functorEffect)(m.toDocument)(a.bindFlipped(v.bindEffect)(J.document)(W.window))))(function(R){return h.runUI(X(R)(L))(F)(N)})}}};n.runUI=Q})(I);(function(e){"use strict";e.remove=function(n){return function(){return n.remove()}}})(I["Web.DOM.ChildNode"]=I["Web.DOM.ChildNode"]||{});(function(e){"use strict";e["Web.DOM.ChildNode"]=e["Web.DOM.ChildNode"]||{};var n=e["Web.DOM.ChildNode"],r=e["Web.DOM.ChildNode"];n.remove=r.remove})(I);(function(e){"use strict";e["Web.DOM.Text"]=e["Web.DOM.Text"]||{};var n=e["Web.DOM.Text"],r=e["Unsafe.Coerce"],a=r.unsafeCoerce;n.toNode=a})(I);(function(e){"use strict";e["Web.HTML.Event.HashChangeEvent.EventTypes"]=e["Web.HTML.Event.HashChangeEvent.EventTypes"]||{};var n=e["Web.HTML.Event.HashChangeEvent.EventTypes"],r="hashchange";n.hashchange=r})(I);(function(e){"use strict";e["Docs.Search.App"]=e["Docs.Search.App"]||{};var n=e["Docs.Search.App"],r=e["Control.Alt"],a=e["Control.Applicative"],t=e["Control.Apply"],o=e["Control.Bind"],i=e["Data.Boolean"],u=e["Data.Functor"],c=e["Data.Map.Internal"],l=e["Data.Maybe"],f=e["Data.Monoid"],v=e["Data.Newtype"],d=e["Data.Options"],s=e["Data.Tuple"],p=e["Data.Unit"],h=e["Docs.Search.App.SearchField"],g=e["Docs.Search.App.SearchResults"],_=e["Docs.Search.App.Sidebar"],b=e["Docs.Search.Config"],w=e["Docs.Search.Extra"],M=e["Docs.Search.Meta"],C=e["Docs.Search.ModuleIndex"],D=e["Docs.Search.PackageIndex"],E=e.Effect,W=e["Effect.Aff"],m=e["Effect.Class"],O=e["Halogen.Aff.Util"],J=e["Halogen.Subscription"],x=e["Halogen.VDom.Driver"],z=e.MarkdownIt,G=e["Web.DOM.ChildNode"],X=e["Web.DOM.Document"],Q=e["Web.DOM.Element"],F=e["Web.DOM.Node"],N=e["Web.DOM.ParentNode"],L=e["Web.DOM.Text"],R=e["Web.Event.EventTarget"],q=e["Web.HTML"],te=e["Web.HTML.Event.EventTypes"],ue=e["Web.HTML.Event.HashChangeEvent.EventTypes"],ne=e["Web.HTML.HTMLDocument"],B=e["Web.HTML.HTMLElement"],j=e["Web.HTML.Window"],V=o.bind(E.bindEffect)(q.window)(function(){var A=u.map(E.functorEffect)(ne.toDocument);return function(H){return A(j.document(H))}}()),S=function(){var H=V(),K=N.querySelector(v.wrap()("head"))(X.toParentNode(H))();return w.whenJust(E.monadEffect)(K)(function(U){return function(){var ae=X.createTextNode(` .top-banner__actions { width: 10%; } .load_more { margin-top:2em; } .load_more p { font-style:italic } .load_more a { background:#eee; padding:0.4em } #load-more-link { cursor: pointer; } .result { font-size: 1.25em; } .result__body .keyword, .result__body .syntax { color: #0B71B4; } .badge { /* Add a margin between badge icons and package/module names. */ margin-right: 0.25em; } .li-package > details > summary { font-weight: bold; cursor: pointer; color: #c4953a; } .li-package > details > summary:hover { color: #7b5904; } /* Make spaces narrower in the sidebar */ .li-package > details > ul { margin-top: auto; margin-bottom: auto; } #group-modules__label, #group-modules__input { display: inline-block; vertical-align: middle; color: #666666; font-size: 0.8rem; font-weight: 300; letter-spacing: 1px; margin-bottom: -0.8em; } summary:focus { outline: none; } `)(H)(),y=X.createElement("style")(H)();return u.void(E.functorEffect)(F.appendChild(L.toNode(ae))(Q.toNode(y)))(),u.void(E.functorEffect)(F.appendChild(Q.toNode(y))(Q.toNode(U)))()}})()},k=function(){var H=V(),K=X.toParentNode(H),U=N.querySelector(v.wrap()(".footer > p"))(K)();return w.whenJust(E.monadEffect)(u.mapFlipped(l.functorMaybe)(U)(Q.toNode))(function(P){return function(){var y=u.mapFlipped(E.functorEffect)(X.createTextNode(" - patched by ")(H))(L.toNode)(),$=X.createElement("a")(H)(),ce=Q.toNode($);Q.setAttribute("href")("https://github.com/spacchetti/purescript-docs-search")($)(),Q.setAttribute("target")("_blank")($)();var ve=u.mapFlipped(E.functorEffect)(X.createTextNode("docs-search")(H))(L.toNode)(),ie=u.mapFlipped(E.functorEffect)(X.createTextNode(" "+b.version)(H))(L.toNode)();return u.void(E.functorEffect)(F.appendChild(y)(P))(),u.void(E.functorEffect)(F.appendChild(ce)(P))(),u.void(E.functorEffect)(F.appendChild(ve)(ce))(),u.void(E.functorEffect)(F.appendChild(ie)(P))()}})()},T=function(){var H=V(),K=X.toParentNode(H),U=N.querySelector(v.wrap()(".top-banner > .container"))(K)(),P=N.querySelector(v.wrap()(".everything-except-footer"))(K)(),ae=N.querySelector(v.wrap()(".everything-except-footer > .container"))(K)(),y=N.querySelector(v.wrap()(".everything-except-footer > main"))(K)(),$=t.apply(E.applyEffect)(u.map(E.functorEffect)(r.alt(l.altMaybe))(u.map(E.functorEffect)(u.map(l.functorMaybe)(s.Tuple.create(_.NotIndexHTML.value)))(N.querySelector(v.wrap()(".col--aside"))(K))))(u.map(E.functorEffect)(u.map(l.functorMaybe)(s.Tuple.create(_.IsIndexHTML.value)))(N.querySelector(v.wrap()(".col--main"))(K)))(),ce=function(ie){if(i.otherwise)return a.pure(E.applicativeEffect)(l.Nothing.value);throw new Error("Failed pattern match at Docs.Search.App (line 212, column 1 - line 219, column 22): "+[p.unit.constructor.name])};if(U instanceof l.Just){if(P instanceof l.Just){if(ae instanceof l.Just){if(y instanceof l.Just){if($ instanceof l.Just){var ve=X.createElement("div")(H)();return u.void(E.functorEffect)(F.appendChild(Q.toNode(ve))(Q.toNode(U.value0)))(),o.bind(l.bindMaybe)(B.fromElement(ve))(function(ie){return o.bind(l.bindMaybe)(B.fromElement(P.value0))(function(oe){return o.bind(l.bindMaybe)(B.fromElement(y.value0))(function(le){return a.pure(l.applicativeMaybe)({searchField:ie,searchResults:oe,pageContents:ae.value0,realSidebar:$.value0.value1,sidebarContainer:le,isIndexHTML:$.value0.value0})})})})}return ce(!0)()}return ce(!0)()}return ce(!0)()}return ce(!0)()}return ce(!0)()},Z=function(){var H=q.window();S(),k();var K=T(),U=z.newMarkdownIt(z.Default.value)(f.mempty(d.monoidOptions))();return w.whenJust(E.monadEffect)(K)(function(P){return function(){return G.remove(Q.toChildNode(P.realSidebar))(),O.runHalogenAff(o.bind(W.bindAff)(D.loadPackageIndex)(function(y){return o.bind(W.bindAff)(u.map(W.functorAff)(C.unpackModuleIndex)(C.loadModuleIndex))(function($){return o.bind(W.bindAff)(M.load)(function(ce){var ve=D.mkScoresFromPackageIndex(y),ie={packageIndex:y,moduleIndex:$,index:v.wrap()(c.empty),typeIndex:v.wrap()(c.empty),scores:ve},oe=g.mkComponent(ie)(P.pageContents)(U)(ce);return o.bind(W.bindAff)(x.runUI(h.component)(p.unit)(P.searchField))(function(le){return o.bind(W.bindAff)(x.runUI(oe)(p.unit)(P.searchResults))(function(fe){return o.discard(o.discardUnit)(W.bindAff)(u.void(W.functorAff)(m.liftEffect(W.monadEffectAff)(J.subscribe(le.messages)(function(pe){return W.launchAff_(fe.query(new g.MessageFromSearchField(pe,p.unit)))}))))(function(){return o.discard(o.discardUnit)(W.bindAff)(u.void(W.functorAff)(le.query(new h.ReadURIHash(p.unit))))(function(){return o.discard(o.discardUnit)(W.bindAff)(m.liftEffect(W.monadEffectAff)(function(){var De=R.eventListener(function(Ae){return W.launchAff_(le.query(new h.ReadURIHash(p.unit)))})();return R.addEventListener(ue.hashchange)(De)(!0)(j.toEventTarget(H))()}))(function(){return o.bind(W.bindAff)(o.bind(W.bindAff)(_.mkComponent($)(P.isIndexHTML)(ce))(function(pe){return x.runUI(pe)(p.unit)(P.sidebarContainer)}))(function(pe){return m.liftEffect(W.monadEffectAff)(function(){var Ae=R.eventListener(function(Te){return W.launchAff_(pe.query(new _.UpdateModuleGrouping(p.unit)))})();return R.addEventListener(te.focus)(Ae)(!0)(j.toEventTarget(H))()})})})})})})})})})}))()}})()};n.main=Z,n.insertStyle=S,n.insertVersionInfo=k,n.getContainers=T,n.getDocument=V})(I);I["Docs.Search.App"].main();})();